
/*
  CLIENT: Ashik Aseem — Travel Photographer & The Postcard Photographer
  TYPE: Personal Brand / Creator Portfolio with bespoke postcard motif
  ART DIRECTION: Editorial magazine + vintage postcard. Deep monsoon-emerald canvas with
                 warm terracotta sunset accent and cream parchment highlights. Hand-set
                 typography, asymmetric layouts, postcard stamp & postmark motifs.
                 Built around his unique brand: he sends physical postcards to fans.
  PALETTE: Deep monsoon-ink (almost black, hint of emerald), warm terracotta sunset accent,
           cream parchment for postcard moments, muted moss for secondary text.
  TYPOGRAPHY: Boska (editorial serif headlines) + General Sans (premium body) +
              Caveat (handwritten postcard accents — used sparingly for personality).
  MOOD: Hand-made, soulful, lived-in, editorial, postcard-from-the-road, distinctly his.
*/

/* ======== TOKENS — bespoke palette ======== */
:root {
  /* deep ink with subtle emerald-teal undertone — distinctly NOT generic dark+gold */
  --color-bg: oklch(0.10 0.014 175);
  --color-bg-deeper: oklch(0.07 0.014 175);
  --color-surface: oklch(0.14 0.018 175);
  --color-surface-2: oklch(0.18 0.020 175);
  --color-line: oklch(0.26 0.020 175);

  /* cream/parchment text (not pure white — feels like aged paper on dark) */
  --color-text: oklch(0.96 0.018 85);
  --color-text-muted: oklch(0.72 0.018 80);
  --color-text-soft: oklch(0.55 0.014 80);

  /* terracotta sunset — matches his red puffer jacket and Kerala rice fields */
  --color-accent: oklch(0.68 0.17 45);
  --color-accent-hover: oklch(0.75 0.18 48);
  --color-accent-deep: oklch(0.52 0.15 40);

  /* aged-paper cream-yellow — for postcard moments */
  --color-cream: oklch(0.86 0.10 78);

  /* moss undertone — for subtle accents */
  --color-moss: oklch(0.50 0.06 165);

  --font-display: "Boska", Georgia, serif;
  --font-body: "General Sans", -apple-system, system-ui, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.6);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --container: 1400px;
}

[data-theme="light"] {
  --color-bg: oklch(0.98 0.005 80);
  --color-bg-deeper: oklch(0.95 0.006 80);
  --color-surface: oklch(0.99 0.003 80);
  --color-surface-2: oklch(0.96 0.005 80);
  --color-line: oklch(0.88 0.008 70);
  --color-text: oklch(0.18 0.012 60);
  --color-text-muted: oklch(0.40 0.014 60);
  --color-text-soft: oklch(0.55 0.012 60);
  --color-accent: oklch(0.55 0.14 55);
  --color-accent-hover: oklch(0.45 0.15 50);
  --color-accent-deep: oklch(0.40 0.12 50);
}

/* ======== RESET ======== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: var(--color-accent); color: var(--color-bg-deeper); }

/* ======== TYPOGRAPHY ======== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.h-display {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.h-section {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.h-sub {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}

p { color: var(--color-text-muted); }
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ======== LAYOUT ======== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}
.section {
  padding: clamp(80px, 10vw, 160px) 0;
  position: relative;
}
.section--tight { padding: clamp(60px, 7vw, 120px) 0; }

/* ======== BUTTONS ======== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg-deeper);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px oklch(0.68 0.17 45 / .35);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-line);
}
.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--lg { padding: 22px 40px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

/* ======== NAV ======== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  background: oklch(0.10 0.014 175 / .75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
}
[data-theme="light"] .nav.scrolled {
  background: oklch(0.98 0.005 80 / .82);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 36px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.nav__logo-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color .3s var(--ease);
  position: relative;
}
.nav__links a:hover { color: var(--color-text); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin: left;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
  color: var(--color-text-muted);
}
.theme-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* Mobile menu overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg-deeper);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep Ashik's face (left ~25% of source image) anchored to left-third on desktop;
     on mobile (portrait), pull the focal point inward so his face stays visible */
  object-position: 30% center;
  transform: scale(1.05);
  filter: brightness(.7) saturate(1.05);
}
@media (max-width: 768px) {
  .hero__bg img {
    object-position: 35% center;
    transform: scale(1.02);
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Strong right-side dark wash for hero text legibility (Ashik on the left stays bright) */
    linear-gradient(270deg, oklch(0.05 0.014 175 / .92) 0%, oklch(0.05 0.014 175 / .65) 30%, oklch(0.05 0.014 175 / .15) 65%, transparent 85%),
    /* bottom darkening for scroll indicator */
    linear-gradient(180deg, transparent 0%, transparent 50%, oklch(0.05 0.014 175 / .65) 100%),
    /* warm rim at top */
    radial-gradient(ellipse at 90% 20%, oklch(0.68 0.17 45 / .10) 0%, transparent 50%);
  z-index: -1;
}
@media (max-width: 1024px) {
  /* On tablets / mobile, the layout stacks: image fills, text goes bottom — uniform bottom dark wash */
  .hero__overlay {
    background:
      linear-gradient(180deg, oklch(0.10 0.014 175 / .25) 0%, oklch(0.10 0.014 175 / .12) 25%, oklch(0.06 0.014 175 / .96) 100%),
      radial-gradient(ellipse at 80% 18%, oklch(0.68 0.17 45 / .10) 0%, transparent 55%);
  }
}
.hero__content {
  /* Generous top padding so the title sits well below the nav (no crowding near "Work With Me") */
  padding: clamp(110px, 13vw, 150px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  z-index: 2;
  /* Push the text block hard to the right so it sits in the lake/sky area, not on Ashik's face */
  margin-left: auto;
  max-width: 620px;
  text-align: left;
}
/* On wide screens (which is where the issue happens), even more right-aligned */
@media (min-width: 1280px) {
  .hero__content {
    max-width: 580px;
    margin-right: clamp(20px, 4vw, 80px);
  }
}
@media (max-width: 1024px) {
  .hero__content { margin-left: 0; margin-right: 0; max-width: 100%; padding-left: 0; padding-right: 0; }
}
/* Tablets / mobile — give the hero text + CTAs proper breathing room from screen edges */
@media (max-width: 768px) {
  .hero__content {
    padding-top: clamp(120px, 22vw, 160px);
    padding-bottom: clamp(40px, 8vw, 70px);
  }
  /* The container's horizontal padding handles edge-spacing; bump it on small screens */
  .hero .container { padding-left: 24px; padding-right: 24px; }
  .hero__sub { font-size: 16px; line-height: 1.55; }
  .hero__meta { gap: 12px 18px; font-size: 11px; }
  .hero__meta span { font-size: 11px; }
  .hero__cta-row { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero__cta-row .btn { width: 100%; padding: 16px 20px; justify-content: center; }
  /* Hide the 'Scroll' indicator on small phones — saves vertical space */
  .hero__scroll { display: none; }
}

/* Hero title — line-height 1.04 so descenders (g, p, y) don't clip,
   plus visible overflow on the wrapper so nothing gets cut. */
.hero__title.h-display {
  font-size: clamp(48px, 7.2vw, 116px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
  padding-bottom: 0.14em !important;
  overflow: visible !important;
}
/* The .word containers had overflow:hidden for the entry animation —
   bump padding-bottom so the descender of g/y/p doesn't get clipped. */
.hero__title .word {
  padding-bottom: 0.14em !important;
  line-height: 1.04 !important;
}
@media (max-width: 1024px) {
  .hero__title.h-display {
    font-size: clamp(40px, 8.6vw, 64px) !important;
  }
}
@media (max-width: 768px) {
  .hero__title.h-display {
    font-size: clamp(36px, 11vw, 52px) !important;
    line-height: 1.02 !important;
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 16px;
  background: oklch(0.96 0.018 85 / .08);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(0.96 0.018 85 / .15);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero__title {
  color: oklch(0.98 0.018 85);
  margin-bottom: var(--space-5);
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
}
.hero__title .word > span {
  display: inline-block;
}
.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: oklch(0.92 0.018 82 / .85);
  max-width: 56ch;
  line-height: 1.5;
  margin-bottom: var(--space-7);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.92 0.018 82 / .75);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__meta svg { width: 14px; height: 14px; color: var(--color-accent); }
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 4vw, 60px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.92 0.018 82 / .7);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, oklch(0.68 0.17 45));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--color-accent);
  animation: scrollDot 2.4s var(--ease-out) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); }
  100% { transform: translateY(90px); }
}

/* ======== MARQUEE ======== */
.marquee {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
  padding: 24px 0;
}
.marquee__track {
  display: flex;
  gap: var(--space-9);
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
  font-style: italic;
}
.marquee__item .dot {
  color: var(--color-accent);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ======== STATS ======== */
.stats {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--color-line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-7);
}
.stat {
  border-left: 1px solid var(--color-line);
  padding-left: var(--space-5);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.stat__num .accent { color: var(--color-accent); }
.stat__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ======== ABOUT ======== */
.about {
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0.07 0.014 175 / .5) 100%);
}
.about__visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 12px 18px;
  background: oklch(0.07 0.014 175 / .8);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid oklch(0.68 0.17 45 / .4);
}
.about__content .h-section {
  margin-bottom: var(--space-6);
}
.about__content p {
  margin-bottom: var(--space-5);
  font-size: 17px;
  line-height: 1.65;
}
.about__content p:first-of-type {
  font-size: 19px;
  color: var(--color-text);
  font-weight: 500;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.about__sig {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

/* ======== WORK / GALLERY ======== */
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.work__head .h-section { max-width: 14ch; }
.work__head p { max-width: 42ch; font-size: 16px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-5) 0;
}
.filter {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--color-text); }
.filter.active {
  color: var(--color-bg-deeper);
  background: var(--color-accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: var(--space-3);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--color-surface);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, oklch(0.07 0.014 175 / .85) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s var(--ease);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__caption-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: oklch(0.98 0.018 85);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.gallery__caption-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
/* gallery layout (cinematic) */
.g-1 { grid-column: span 7; grid-row: span 5; }
.g-2 { grid-column: span 5; grid-row: span 5; }
.g-3 { grid-column: span 4; grid-row: span 4; }
.g-4 { grid-column: span 4; grid-row: span 4; }
.g-5 { grid-column: span 4; grid-row: span 4; }
.g-6 { grid-column: span 6; grid-row: span 5; }
.g-7 { grid-column: span 6; grid-row: span 5; }
.g-8 { grid-column: span 5; grid-row: span 4; }
.g-9 { grid-column: span 7; grid-row: span 4; }

/* ======== SERIES (editorial) ======== */
.series {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.series__head {
  text-align: center;
  margin-bottom: var(--space-9);
}
.series__head .eyebrow { justify-content: center; margin-bottom: var(--space-4); }
.series__head .eyebrow::before, .series__head .eyebrow::after {
  content: ''; width: 32px; height: 1px; background: var(--color-accent);
}
.series__head .eyebrow::before { display: inline-block; }
.series__list { display: grid; gap: clamp(80px, 10vw, 140px); }
.series__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.series__item:nth-child(even) .series__visual { order: 2; }
.series__visual {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.series__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.series__visual:hover img { transform: scale(1.04); }
.series__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-5);
  font-weight: 400;
  font-style: italic;
}
.series__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.series__location {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.series__location svg { width: 14px; height: 14px; }
.series__desc {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 50ch;
}
.series__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.series__tag {
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ======== BRANDS / PRESS ======== */
.brands__head {
  text-align: center;
  margin-bottom: var(--space-8);
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.brand {
  padding: var(--space-7) var(--space-5);
  background: var(--color-bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
  transition: all .35s var(--ease);
  text-align: center;
}
.brand:hover {
  color: var(--color-accent);
  background: var(--color-surface);
  transform: scale(1.02);
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--color-text-soft);
  font-weight: 500;
}

/* ======== AWARDS ======== */
.awards {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
}
.awards__list { display: grid; gap: 1px; background: var(--color-line); }
.award {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6) 0;
  background: var(--color-bg-deeper);
  transition: background .35s var(--ease);
}
.award:hover { background: var(--color-surface); }
.award__year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-accent);
  font-style: italic;
}
.award__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.015em;
  color: var(--color-text);
}
.award__from {
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.award__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-accent);
  transition: all .3s var(--ease);
}
.award:hover .award__icon { border-color: var(--color-accent); transform: rotate(45deg); }
.award__icon svg { width: 16px; height: 16px; }

/* ======== SERVICES ======== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-7);
}
.service {
  background: var(--color-bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, oklch(0.68 0.17 45 / .04));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.service:hover { background: var(--color-surface); }
.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 500;
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.05;
}
.service__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.service__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.service__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--color-text-muted);
}
.service__list svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.service__cta {
  margin-top: auto;
  padding-top: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap .3s var(--ease);
}
.service:hover .service__cta { gap: var(--space-4); }
.service__cta svg { width: 14px; height: 14px; }

/* ======== TESTIMONIAL ======== */
.testimonials {
  position: relative;
  overflow: hidden;
}
.testimonials__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
}
.testimonials__bg img { width: 100%; height: 100%; object-fit: cover; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.t-card {
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: all .4s var(--ease);
}
.t-card:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.t-card__quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-text);
  font-style: italic;
}
.t-card__quote::before {
  content: '"';
  font-size: 48px;
  line-height: 0;
  color: var(--color-accent);
  margin-right: 6px;
  vertical-align: -12px;
}
.t-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}
.t-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep));
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-bg-deeper);
}
.t-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}
.t-card__role {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* ======== INSTAGRAM FEED ======== */
.feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
.feed__head a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.feed__head a:hover { text-decoration: underline; }
.feed__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.feed__item {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
}
.feed__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.feed__item:hover img { transform: scale(1.08); }
.feed__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.68 0.17 45 / 0);
  transition: background .4s var(--ease);
}
.feed__item:hover::after { background: oklch(0.68 0.17 45 / .15); }

/* ======== CTA ======== */
.cta-block {
  position: relative;
  padding: clamp(80px, 12vw, 200px) 0;
  overflow: hidden;
}
.cta-block__bg {
  position: absolute; inset: 0; z-index: -1;
}
.cta-block__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.cta-block__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, transparent 0%, oklch(0.07 0.014 175 / .7) 70%);
}
.cta-block__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-block__title {
  font-size: clamp(40px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: oklch(0.98 0.018 85);
}
.cta-block__title em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}
.cta-block__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: oklch(0.92 0.018 82 / .85);
  margin-bottom: var(--space-7);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ======== CONTACT FORM ======== */
.contact {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;     /* prevent the form column from stretching the submit button */
}
.contact__info p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text);
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid;
  place-items: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact__detail-icon svg { width: 16px; height: 16px; }
.contact__detail-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.form {
  display: grid;
  gap: var(--space-5);
  grid-auto-rows: min-content;    /* don't stretch rows to fill column height */
  align-content: start;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form__field { display: flex; flex-direction: column; gap: var(--space-2); }
.form__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.form__input, .form__textarea, .form__select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-4) 0;
  font-size: 16px;
  color: var(--color-text);
  transition: border-color .3s var(--ease);
  outline: none;
  font-family: var(--font-body);
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--color-accent);
}
.form__textarea { resize: vertical; min-height: 100px; }
.form__select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8a86b'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .5rem center;
  background-size: 16px;
  padding-right: 28px;
}
.form__select option { background: var(--color-bg); color: var(--color-text); }
.form__submit {
  margin-top: var(--space-3);
  justify-self: start;
  align-self: start;
  width: auto;
  min-height: auto;
  height: auto;
}

/* ======== FOOTER ======== */
.footer {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
  padding: clamp(60px, 8vw, 100px) 0 var(--space-6);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-9);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-line);
}
.footer__brand .nav__logo { margin-bottom: var(--space-4); }
.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: var(--space-5);
}
.footer__col-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  font-weight: 600;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  font-size: 14px;
  color: var(--color-text);
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--color-accent); }

.socials { display: flex; gap: var(--space-3); }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
  color: var(--color-text-muted);
}
.socials a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 12px;
  color: var(--color-text-soft);
  letter-spacing: 0.04em;
}
.footer__bigname {
  font-family: var(--font-display);
  /* Sized to fit the container exactly — no horizontal cutoff at any viewport width */
  font-size: clamp(48px, 11.6vw, 180px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
  margin: var(--space-7) 0;
  font-weight: 500;
  width: 100%;
  display: block;
  background: linear-gradient(180deg, var(--color-text) 30%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

/* ======== POSTCARD MOTIF — bespoke handmade elements ======== */
.handwritten {
  font-family: var(--font-hand);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--color-cream);
  font-style: normal;
}
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 86px;
  height: 96px;
  border: 2px dashed var(--color-accent);
  background: linear-gradient(135deg, oklch(0.68 0.17 45 / .12), transparent);
  padding: 6px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  position: relative;
  transform: rotate(-4deg);
}
.stamp__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1;
  margin: 4px 0 2px;
  letter-spacing: 0;
  text-transform: none;
}
.stamp__line {
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.postmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-align: center;
  line-height: 1.15;
  position: relative;
  transform: rotate(-8deg);
}
.postmark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--color-accent);
  border-radius: 50%;
  opacity: .4;
}

/* ===== POSTCARD ribbon (between hero and stats) ===== */
.postcard-ribbon {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.postcard-ribbon::before, .postcard-ribbon::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 50%, transparent);
  opacity: .25;
}
.postcard-ribbon::before { left: 0; }
.postcard-ribbon::after { right: 0; }
.postcard-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}
.postcard-ribbon__quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.35;
  max-width: 56ch;
}
.postcard-ribbon__quote em {
  font-style: italic;
  color: var(--color-accent);
}
.postcard-ribbon__sig {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--color-cream);
  margin-top: 12px;
  display: block;
}

/* ===== BEHIND THE CAMERA section ===== */
.behind {
  background: var(--color-bg-deeper);
  border-top: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
}
.behind::before {
  content: '';
  position: absolute;
  top: 8%;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, oklch(0.68 0.17 45 / .07), transparent 60%);
  pointer-events: none;
}
.behind__head {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 90px);
  position: relative;
}
.behind__head .eyebrow { justify-content: center; }
.behind__hand {
  font-family: var(--font-hand);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-cream);
  line-height: 1.2;
  margin-top: 12px;
  display: block;
  transform: rotate(-1.5deg);
}
.behind__hand em { color: var(--color-accent); font-style: normal; font-weight: 700; }

.behind__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.behind__card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-surface);
}
.behind__card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.behind__card:hover img { transform: scale(1.04); }
.behind__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, oklch(0.07 0.014 175 / .85) 100%);
  pointer-events: none;
}
.behind__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--color-cream);
  line-height: 1.2;
  transform: rotate(-1deg);
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.behind__caption .place {
  font-family: var(--font-body);
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 6px;
}
.behind__card--lg { grid-column: span 6; grid-row: span 2; aspect-ratio: 4/5; }
.behind__card--md { grid-column: span 3; }
.behind__card--wide { grid-column: span 6; aspect-ratio: 4/3; }

.behind__quote {
  margin-top: clamp(40px, 6vw, 80px);
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.behind__quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  line-height: 1.45;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.behind__quote-text::before, .behind__quote-text::after {
  content: '"';
  color: var(--color-accent);
  font-size: 1.3em;
  line-height: 0;
  vertical-align: -0.1em;
  margin: 0 .15em;
}

/* ===== POSTCARD PROJECT section ===== */
.postcards {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 160px) 0;
}
.postcards::before {
  content: 'POSTCARD';
  position: absolute;
  top: -10px;
  right: -2vw;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 600;
  font-style: italic;
  color: var(--color-surface);
  z-index: 0;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.postcards__inner { position: relative; z-index: 1; }
.postcards__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.postcards__visual {
  position: relative;
  padding: clamp(20px, 3vw, 40px);
}
.postcard-mock {
  position: relative;
  background: var(--color-cream);
  color: oklch(0.20 0.012 80);
  padding: 28px;
  aspect-ratio: 7/5;
  border-radius: 4px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    inset 0 0 0 1px oklch(0.78 0.06 75 / .25);
  transform: rotate(-3deg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  font-family: var(--font-body);
}
.postcard-mock::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed oklch(0.20 0.012 80 / .25);
  pointer-events: none;
}
.postcard-mock__photo {
  background-image: url('assets/images/g2_backwater_aerial.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  position: relative;
}
.postcard-mock__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  border-radius: 2px;
}
.postcard-mock__write {
  display: flex;
  flex-direction: column;
  position: relative;
}
.postcard-mock__from {
  font-family: var(--font-hand);
  font-size: 20px;
  color: oklch(0.30 0.05 50);
  line-height: 1.25;
  flex: 1;
  padding-right: 60px;
}
.postcard-mock__to {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.40 0.012 80);
  border-top: 1px solid oklch(0.40 0.012 80 / .3);
  padding-top: 6px;
  margin-top: 8px;
}
.postcard-mock__stamp {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 56px;
  height: 64px;
  border: 1.5px dashed oklch(0.55 0.18 35);
  background: oklch(0.78 0.10 70 / .25);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.40 0.10 35);
  font-weight: 700;
  line-height: 1.2;
}
.postcard-mock__postmark {
  position: absolute;
  bottom: 36px;
  right: 30px;
  width: 70px; height: 70px;
  border: 1.5px solid oklch(0.40 0.10 35 / .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: oklch(0.40 0.10 35 / .65);
  text-align: center;
  line-height: 1.1;
  transform: rotate(-12deg);
}
.postcard-mock__postmark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dashed oklch(0.40 0.10 35 / .35);
  border-radius: 50%;
}

.postcards__text .eyebrow { color: var(--color-accent); }
.postcards__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.postcards__title em {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--color-accent);
  font-size: 1.05em;
  font-weight: 600;
}
.postcards__body p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.postcards__body p strong { color: var(--color-text); font-weight: 500; }
.postcards__count {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
}
.postcards__count-item .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}
.postcards__count-item .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ======== SCROLL ANIMATION HELPERS ========
   Important: we DO NOT set opacity:0 in CSS by default. If JS doesn't run for
   any reason, content stays visible. JS sets opacity:0 only when it confirms
   it will animate the element in. */
.fade-up { will-change: opacity, transform; }
.fade-in { will-change: opacity; }
/* Class added by JS when it's safe to hide; removed when revealed. */
.fade-up.is-hidden { opacity: 0; transform: translateY(28px); }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 540px; aspect-ratio: 4/5; }
  .series__item { grid-template-columns: 1fr; }
  .series__item:nth-child(even) .series__visual { order: 0; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .feed__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .postcards__grid { grid-template-columns: 1fr; gap: 50px; }
  .behind__grid { grid-template-columns: repeat(6, 1fr); }
  .behind__card--lg { grid-column: span 6; aspect-ratio: 4/3; grid-row: auto; }
  .behind__card--md { grid-column: span 3; }
  .behind__card--wide { grid-column: span 6; }
}

/* Tighter nav on mid-widths so the logo never collides with links */
@media (max-width: 1100px) {
  .nav__cta .btn { display: none; }    /* drop the "Work With Me" pill earlier */
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--color-line); padding-left: 0; padding-top: var(--space-5); }
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 70px;
  }
  .g-1 { grid-column: span 6; grid-row: span 4; }
  .g-2 { grid-column: span 6; grid-row: span 4; }
  .g-3 { grid-column: span 3; grid-row: span 3; }
  .g-4 { grid-column: span 3; grid-row: span 3; }
  .g-5 { grid-column: span 6; grid-row: span 3; }
  .g-6 { grid-column: span 6; grid-row: span 4; }
  .g-7 { grid-column: span 6; grid-row: span 4; }
  .g-8 { grid-column: span 3; grid-row: span 3; }
  .g-9 { grid-column: span 3; grid-row: span 3; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .award { grid-template-columns: auto 1fr auto; gap: var(--space-4); padding: var(--space-5) 0; }
  .award__from { display: none; }
  .feed__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta-row { width: 100%; }
  .hero__cta-row .btn { flex: 1; padding: 18px 24px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding: var(--space-4) 0; }
  .postcard-ribbon__inner { gap: 28px; }
  .postcard-ribbon__quote { font-size: 17px; line-height: 1.5; }
  .stamp, .postmark { transform: rotate(-3deg) scale(0.85); }
  .behind__grid { grid-template-columns: repeat(2, 1fr); }
  .behind__card--lg, .behind__card--md, .behind__card--wide { grid-column: span 2; aspect-ratio: 4/5; }
  .postcard-mock { aspect-ratio: 7/5; padding: 18px; gap: 10px; }
  .postcard-mock__from { font-size: 16px; padding-right: 50px; }
  .postcard-mock__stamp { width: 46px; height: 54px; font-size: 6px; }
  .postcard-mock__postmark { width: 56px; height: 56px; font-size: 8px; bottom: 28px; right: 22px; }
  .postcards__count { gap: 32px; flex-wrap: wrap; }
  .postcards__count-item .num { font-size: 32px; }
}



/* ============================================================
   INTERNAL PAGES — shared additions
   ============================================================ */

.page-hero {
  position: relative;
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-top: 80px;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: brightness(.65); }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, oklch(0.10 0.014 175 / .35) 0%, oklch(0.10 0.014 175 / .1) 30%, oklch(0.07 0.014 175 / .92) 100%),
    radial-gradient(ellipse at 80% 20%, oklch(0.68 0.17 45 / .12) 0%, transparent 55%);
}
.page-hero__content {
  padding: 60px 0 clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 2;
}
.page-hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: oklch(0.92 0.018 82 / .9);
  max-width: 60ch;
  margin-top: var(--space-6);
  line-height: 1.55;
}

.nav__links a.active { color: var(--color-accent); }
.nav__links a.active::after { transform: scaleX(1); }

.story__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 100px);
}
.story__sticky { position: sticky; top: 110px; }
.story__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.story__facts li strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  font-weight: 600;
  margin-bottom: 2px;
}
.story__main { max-width: 64ch; }
.story__main p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: var(--space-5);
  color: var(--color-text-muted);
}
.story__main p em { color: var(--color-text); font-style: italic; }
.story__main .lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-8);
  letter-spacing: -0.005em;
}
.story__h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.story__figure {
  margin: var(--space-8) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story__figure figcaption {
  padding: 16px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-soft);
  background: var(--color-surface);
  font-style: italic;
}
.story__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--color-text);
  padding: var(--space-7) 0 var(--space-7) var(--space-7);
  border-left: 3px solid var(--color-accent);
  margin: var(--space-8) 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.work-grid__item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}
.work-grid__item.is-wide { aspect-ratio: 4/3; grid-column: span 2; }
.work-grid__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.work-grid__item:hover img { transform: scale(1.05); }
.work-grid__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, oklch(0.07 0.014 175 / .9) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.work-grid__item:hover::after { opacity: 1; }
.work-grid__caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  z-index: 2; opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
}
.work-grid__item:hover .work-grid__caption { opacity: 1; transform: translateY(0); }
.work-grid__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: oklch(0.98 0.018 85);
  letter-spacing: -0.01em;
}
.work-grid__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 4px;
}

.series-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.series-detail:nth-child(even) .series-detail__visual { order: 2; }
.series-detail__visual {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.series-detail__visual img { width: 100%; height: 100%; object-fit: cover; }
.series-detail__num {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 140px);
  color: var(--color-accent);
  font-style: italic;
  line-height: 1;
  margin-bottom: var(--space-4);
}
.series-detail__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: var(--space-5);
}
.series-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.series-detail__desc {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: var(--space-5);
  color: var(--color-text-muted);
}
.series-detail__frames {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: var(--space-4);
}
.series-detail__frames img {
  aspect-ratio: 1;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
}

.postcard-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 50px);
  margin-top: clamp(40px, 5vw, 80px);
}
.pwall-card {
  background: var(--color-cream);
  color: oklch(0.20 0.012 80);
  padding: 22px;
  aspect-ratio: 7/5;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  position: relative;
  font-family: var(--font-body);
  transform: rotate(-2deg);
  transition: transform .4s var(--ease);
}
.pwall-card:nth-child(2n) { transform: rotate(1.5deg); }
.pwall-card:nth-child(3n) { transform: rotate(-3deg); }
.pwall-card:hover { transform: rotate(0) translateY(-6px); z-index: 2; }
.pwall-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px dashed oklch(0.20 0.012 80 / .25);
  pointer-events: none;
}
.pwall-card__photo {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  position: relative;
}
.pwall-card__write {
  font-family: var(--font-hand);
  font-size: 17px;
  color: oklch(0.30 0.05 50);
  line-height: 1.3;
  position: relative;
  padding-right: 50px;
}
.pwall-card__stamp {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 52px;
  border: 1.5px dashed oklch(0.55 0.18 35);
  background: oklch(0.78 0.10 70 / .25);
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-size: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.40 0.10 35);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.pwall-card__to {
  position: absolute;
  bottom: 0; left: 0; right: 50px;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.40 0.012 80);
  font-family: var(--font-body);
  border-top: 1px solid oklch(0.40 0.012 80 / .3);
  padding-top: 4px;
}

.press-list { display: grid; gap: 1px; background: var(--color-line); border-block: 1px solid var(--color-line); }
.press-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px auto;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5) 0;
  background: var(--color-bg);
  transition: background .3s var(--ease);
}
.press-row:hover { background: var(--color-surface); }
.press-row__year {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  font-size: 22px;
}
.press-row__title { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); color: var(--color-text); }
.press-row__pub { font-size: 13px; color: var(--color-text-muted); letter-spacing: 0.04em; }
.press-row__link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid; place-items: center;
  color: var(--color-accent);
  transition: all .3s var(--ease);
}
.press-row__link:hover { border-color: var(--color-accent); transform: rotate(45deg); }
.press-row__link svg { width: 14px; height: 14px; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-7);
}
.pkg {
  background: var(--color-bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: background .4s var(--ease);
}
.pkg:hover { background: var(--color-surface); }
.pkg--featured { background: linear-gradient(180deg, oklch(0.68 0.17 45 / .04), transparent); }
.pkg__num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
}
.pkg__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.pkg__price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-accent);
  letter-spacing: -0.015em;
}
.pkg__price small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.pkg__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-3) 0;
}
.pkg__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pkg__list svg {
  width: 14px; height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
}
.pkg__cta { margin-top: auto; padding-top: var(--space-5); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}
.process__step {
  border-top: 1px solid var(--color-accent);
  padding-top: var(--space-5);
}
.process__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.process__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}
.process__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}
.faq__item {
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-5) 0;
  cursor: pointer;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.01em;
  color: var(--color-text);
  gap: var(--space-4);
}
.faq__q::after {
  content: '+';
  color: var(--color-accent);
  font-size: 24px;
  transition: transform .3s var(--ease);
}
.faq__item.open .faq__q::after { content: '\2212'; }
.faq__a {
  margin-top: var(--space-4);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 70ch;
  display: none;
}
.faq__item.open .faq__a { display: block; }

@media (max-width: 1024px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__sticky { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid__item.is-wide { grid-column: span 2; }
  .series-detail { grid-template-columns: 1fr; }
  .series-detail:nth-child(even) .series-detail__visual { order: 0; }
  .postcard-wall { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .press-row { grid-template-columns: 60px 1fr auto; }
  .press-row__pub { display: none; }
}
@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid__item.is-wide { grid-column: span 1; }
  .postcard-wall { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .pwall-card__write { font-size: 15px; padding-right: 40px; }
}

/* ===== Footer credit ===== */
.footer__credit a {
  color: var(--color-accent);
  font-weight: 500;
  position: relative;
  transition: color .2s var(--ease);
}
.footer__credit a:hover {
  color: var(--color-accent-hover);
}
.footer__credit a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-accent);
  opacity: .35;
  transition: opacity .25s var(--ease);
}
.footer__credit a:hover::after { opacity: 1; }

/* ===== Hero entry animations — CSS-only, never depends on JS =====
   The original GSAP timeline got stranded in some preview environments;
   CSS keyframes are bulletproof. */
@keyframes hero-word-rise {
  from { transform: translate3d(0, 110%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title .word > span {
  display: inline-block;
  animation: hero-word-rise 1s cubic-bezier(.16,1,.3,1) both;
}
.hero__title .word:nth-child(1) > span { animation-delay: 0.10s; }
.hero__title .word:nth-child(2) > span { animation-delay: 0.18s; }
.hero__title .word:nth-child(3) > span { animation-delay: 0.26s; }
.hero__title .word:nth-child(4) > span { animation-delay: 0.34s; }

.hero__sub        { animation: hero-fade-up 0.8s ease-out 0.6s both; }
.hero__meta       { animation: hero-fade-up 0.7s ease-out 0.85s both; }
.hero__cta-row    { animation: hero-fade-up 0.7s ease-out 1.05s both; }
.hero__scroll     { animation: hero-fade-up 0.8s ease-out 1.3s both; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__title .word > span,
  .hero__sub, .hero__meta, .hero__cta-row, .hero__scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   LIGHT THEME OVERRIDES — fix visibility issues on hero + buttons
   The hero (and most page-heroes) have dark photographic backgrounds
   that don't change with theme. So text/buttons over them must stay light.
   ============================================================ */

/* Primary buttons everywhere: explicit dark ink text on terracotta — works in both themes */
.btn--primary {
  color: oklch(0.10 0.014 175) !important;
}
.btn--primary:hover {
  color: oklch(0.10 0.014 175) !important;
}

/* Hero (home) — text always cream regardless of theme, since the hero image is dark */
[data-theme="light"] .hero__title,
[data-theme="light"] .hero__sub,
[data-theme="light"] .hero__meta span,
[data-theme="light"] .hero__scroll {
  color: oklch(0.98 0.018 85) !important;
}
[data-theme="light"] .hero__meta svg {
  color: var(--color-accent) !important;
}

/* Ghost button on hero — keep visible with cream border + cream text in light theme */
[data-theme="light"] .hero .btn--ghost,
[data-theme="light"] .page-hero .btn--ghost,
[data-theme="light"] .cta-block .btn--ghost {
  color: oklch(0.98 0.018 85) !important;
  border-color: oklch(0.98 0.018 85 / .35) !important;
}
[data-theme="light"] .hero .btn--ghost:hover,
[data-theme="light"] .page-hero .btn--ghost:hover,
[data-theme="light"] .cta-block .btn--ghost:hover {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

/* Page heroes on internal pages — same treatment, dark image bg */
[data-theme="light"] .page-hero h1,
[data-theme="light"] .page-hero__sub,
[data-theme="light"] .page-hero .eyebrow {
  color: oklch(0.98 0.018 85) !important;
}
[data-theme="light"] .page-hero .eyebrow {
  color: oklch(0.85 0.10 78) !important;
}

/* CTA-block sections (full-bleed dark bg) — text stays light */
[data-theme="light"] .cta-block__title,
[data-theme="light"] .cta-block__sub {
  color: oklch(0.98 0.018 85) !important;
}

/* Theme toggle: needs dark icon when in light mode (icon was light cream — invisible on light bg) */
[data-theme="light"] .theme-toggle {
  color: var(--color-text);
  border-color: var(--color-line);
}
[data-theme="light"] .theme-toggle:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Nav scrolled bg — make sure it works in light mode too */
[data-theme="light"] .nav.scrolled {
  background: oklch(0.98 0.018 85 / .85);
  border-bottom-color: var(--color-line);
}

/* Magnetic / hover shadow on primary buttons — adjust for light mode visibility */
[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 12px 32px oklch(0.55 0.14 55 / .35);
}

/* ============================================================
   MOBILE HERO REDESIGN
   On phones the image and text were colliding on his face.
   Solution: layout becomes "image on top, dark text panel on bottom"
   without changing the desktop experience.
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    /* allow content to grow naturally, not stuck to dvh */
    min-height: auto;
    height: auto;
  }
  .hero__bg {
    /* image fills only the upper part of the hero on mobile */
    position: relative;
    height: 56vh;
    height: 56dvh;
    inset: auto;
    z-index: 0;
  }
  .hero__bg img {
    object-position: 35% 30%;   /* keep face roughly center-top */
    transform: scale(1.0);
    filter: brightness(0.85);
  }
  .hero__overlay {
    /* gradient fades the bottom of the image into the solid dark text panel */
    background:
      linear-gradient(180deg, transparent 0%, transparent 55%, oklch(0.06 0.014 175 / .55) 78%, oklch(0.06 0.014 175 / 1) 100%);
    height: 56vh;
    height: 56dvh;
    inset: auto;
    position: absolute;
    top: 0; left: 0; right: 0;
  }
  .hero__content {
    /* solid dark panel below the image */
    background: oklch(0.06 0.014 175);
    padding: 32px 24px clamp(48px, 8vw, 72px) !important;
    margin: 0 !important;
    max-width: 100% !important;
    position: relative;
    z-index: 2;
  }
  .hero .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero__sub {
    margin-bottom: 24px;
    color: oklch(0.92 0.018 82 / 0.95);
  }
  .hero__meta {
    margin-bottom: 28px;
  }
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero__cta-row .btn {
    width: 100%;
    padding: 18px 24px !important;
    justify-content: center;
    font-size: 14px;
  }
  .hero__scroll { display: none !important; }
}

/* ============================================================
   GHOST BUTTON VISIBILITY — strengthened so it's clearly a button
   "Brand Collaborations" was disappearing into the background.
   ============================================================ */
.btn--ghost {
  background: oklch(0.96 0.018 85 / 0.06) !important;
  border: 1.5px solid oklch(0.96 0.018 85 / 0.45) !important;
  color: oklch(0.96 0.018 85) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: oklch(0.10 0.014 175) !important;
}
@media (max-width: 768px) {
  .btn--ghost {
    /* on the dark text panel, full-strength border for clarity */
    background: transparent !important;
    border-width: 1.5px !important;
    border-color: oklch(0.96 0.018 85 / 0.55) !important;
  }
}

/* ============================================================
   PREMIUM POLISH PASS — bespoke, editorial, anti-template
   ============================================================ */

/* ---- 1. Film grain overlay (analog/editorial texture) ---- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(2) infinite;
  will-change: transform;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(2%, 3%); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ---- 2. Clip-path image reveal (wipe-up) ----
   Animates ONLY clip-path so it never fights the existing hover-zoom transforms. */
.reveal-mask > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s cubic-bezier(.16,1,.3,1);
}
.reveal-mask.is-revealed > img {
  clip-path: inset(0 0 0% 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-mask > img { clip-path: none !important; }
}

/* ---- 3. Custom "View" cursor for gallery (desktop only) ---- */
.view-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--color-accent);
  color: oklch(0.10 0.014 175);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: normal;
}
.view-cursor.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
@media (hover: none) { .view-cursor { display: none; } }

/* ---- 4. Heading accent line draw ---- */
.eyebrow::before {
  transition: width 0.6s cubic-bezier(.16,1,.3,1);
}

/* ---- 5. Marquee — pause on hover, smoother ---- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---- 6. Link underline sweep on footer/nav text links ---- */
.footer__col a {
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
  padding-bottom: 2px;
}
.footer__col a:hover {
  background-size: 100% 1px;
}

/* ---- 7. Gallery item: subtle ring on hover for tactility ---- */
.gallery__item, .work-grid__item {
  transition: box-shadow .4s var(--ease);
}
.gallery__item:hover, .work-grid__item:hover {
  box-shadow: 0 18px 50px oklch(0.05 0.014 175 / .55);
}

/* ---- 8. Section number tags (editorial) ---- */
.sec-index {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  opacity: 0.8;
}

/* ---- 9. First-load curtain (premium reveal) ---- */
.curtain {
  position: fixed; inset: 0;
  background: var(--color-bg-deeper);
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.curtain.is-gone { opacity: 0; visibility: hidden; }
.curtain__mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  overflow: hidden;
  display: flex;
}
.curtain__mark span {
  display: inline-block;
  transform: translateY(110%);
  animation: curtain-rise 0.8s cubic-bezier(.16,1,.3,1) forwards;
}
.curtain__mark span:nth-child(2) { animation-delay: 0.06s; }
.curtain__mark span:nth-child(3) { animation-delay: 0.12s; }
.curtain__mark span:nth-child(4) { animation-delay: 0.18s; }
.curtain__mark span:nth-child(5) { animation-delay: 0.24s; }
@keyframes curtain-rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
}

/* ============================================================
   LIGHT THEME — handwritten / cream elements that sit on LIGHT
   backgrounds were too faint. Force them to deep terracotta.
   (Cream elements over dark photos, e.g. .behind__caption, stay cream.)
   ============================================================ */
[data-theme="light"] .behind__hand,
[data-theme="light"] .postcard-ribbon__sig,
[data-theme="light"] .postcard-ribbon__quote,
[data-theme="light"] .about__sig {
  color: oklch(0.42 0.11 52) !important;
}
[data-theme="light"] .behind__hand em { color: oklch(0.52 0.16 45) !important; }
/* Postcard-ribbon stamp/postmark sit on the light section bg in light theme */
[data-theme="light"] .stamp__num { color: oklch(0.30 0.03 60) !important; }
[data-theme="light"] .stamp,
[data-theme="light"] .postmark { color: oklch(0.45 0.13 50) !important; }
[data-theme="light"] .behind__quote-text { color: oklch(0.22 0.012 60) !important; }
