:root {
  --bg: #0e0e0e;
  --bg-elevated: #161616;
  --text: #f2f2f2;
  --muted: #a0a0a0;
  --accent: #e3a857;
  --accent-soft: rgba(227, 168, 87, 0.2);
  --border-subtle: #262626;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #181818 0, #050505 55%, #000 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  min-height: 100vh;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.main-nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-photo-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 0, rgba(79, 179, 255, 0.35), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(227, 168, 87, 0.35), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 0 0 0.4rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 0.6rem;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 26rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  color: #111;
}

.btn.primary:hover {
  background: #f0b96a;
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn.secondary:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.8;
}

.scroll-indicator .arrow {
  font-size: 1rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.6rem;
  margin: 0 0 2rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Posts */

.post-list {
  display: grid;
  gap: 1.6rem;
}

.post-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.post-card.large {
  grid-template-columns: 260px minmax(0, 1fr);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.post-content h2,
.post-content h3 {
  margin: 0 0 0.3rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.post-content p {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.post-link {
  font-size: 0.85rem;
  color: var(--accent);
}

/* About */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.about-photo img {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.about-content h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.about-content p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Page hero */

.page-hero {
  padding: 3.2rem 0 2.2rem;
}

.page-hero h1 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

/* Gallery */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  background: var(--bg-elevated);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item figcaption {
  padding: 0.7rem 0.9rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.4rem 0 1.8rem;
  margin-top: 2rem;
  background: radial-gradient(circle at bottom, #151515 0, #050505 55%, #000 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links a {
  margin-left: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 420px;
    margin: 0 auto 1.8rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .post-card,
  .post-card.large {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav a {
    margin-left: 0.9rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .gallery-grid {
    column-count: 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
