/* =====================================================================
   VAMIKA — About page (generational story)
   Standalone design system, scoped to `.gh-page` so it does not collide
   with the global vamika.css. Sourced from D:/vamika/v3-wp-theme/
   vamika-about-us.html. Selectors are namespaced with `.gh-` prefix
   for the same reason — e.g. .hero -> .gh-hero, .today -> .gh-today.
   ===================================================================== */

.gh-page {
  /* All local tokens delegate to the site's brand tokens (brand.css).
     No hex literals here — keep one source of truth for palette. */
  --gh-ink:            var(--brand-text-light);        /* #1A1A1A — body text on cream */
  --gh-mute:           var(--brand-text-light-muted);  /* rgba(26,26,26,.74) */
  --gh-rule:           var(--brand-rule-light);        /* rgba(26,26,26,.14) */
  --gh-cream:          var(--brand-cream-bone);        /* #FBF6E7 — banded cream surface */
  --gh-evergreen:      var(--brand-ink);               /* #0E0E0E — dark surface */
  --gh-evergreen-deep: var(--brand-ink);               /* #0E0E0E */
  --gh-brass:          var(--brand-accent-deep);       /* #7A6309 — accent text on cream */
  --gh-brass-lt:       var(--brand-accent);            /* #FACB3F — accent on dark surfaces */
  --gh-maxw:           1480px;

  background: var(--gh-cream);
  color: var(--gh-ink);
  /* Font family + scale come from brand.css (Hanken Grotesk, body
     weight 300, body 17px / line 1.7). We don't redefine them. */
}

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

.gh-page ::selection { background: var(--brand-accent); color: var(--brand-ink); }

.gh-page .gh-wrap {
  max-width: var(--gh-maxw);
  margin: 0 auto;
  /* Use the site-wide horizontal inset (vamika.css: --pad-x).
     Same gutter as every other v3 page. */
  padding: 0 var(--pad-x);
}

.gh-page .gh-mono {
  font-family: var(--brand-font);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--gh-mute);
}

/* ---------- IMAGE ZONES (the page is built around these) ---------- */
.gh-page .gh-img {
  position: relative;
  overflow: hidden;
  background: #dcdad3;
  display: flex;
  align-items: flex-end;
}
.gh-page .gh-img .gh-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-page .gh-img .gh-art svg { width: min(46%, 360px); opacity: 0.34; }
.gh-page .gh-img .gh-meta {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.gh-page .gh-img .gh-meta .gh-want { max-width: 60%; }
.gh-page .gh-img .gh-ref {
  font-family: var(--brand-font);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gh-page .gh-img .gh-want .gh-lbl {
  font-family: var(--brand-font);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Duotone development */
.gh-page .gh-bw { background: linear-gradient(150deg, #d9d7d1, #a4a199 60%, #7c7972); }
.gh-page .gh-bw .gh-art svg { color: #3b3933; }
.gh-page .gh-bw .gh-meta { color: #2c2a25; }

.gh-page .gh-sepia { background: linear-gradient(150deg, #e3d7bf, #bda878 70%, #8d7a4d); }
.gh-page .gh-sepia .gh-art svg { color: #4a3f23; }
.gh-page .gh-sepia .gh-meta { color: #3a3119; }

/* Brand-warm duotone — cream-to-accent-deep, replaces the green tints. */
.gh-page .gh-full { background: linear-gradient(150deg, var(--brand-cream-warm), var(--brand-accent-warm) 60%, var(--brand-accent-deep)); }
.gh-page .gh-full .gh-art svg { color: var(--brand-ink); }
.gh-page .gh-full .gh-meta { color: var(--brand-ink); }

/* Dark surface — ink gradient, no green. */
.gh-page .gh-dark { background: linear-gradient(160deg, #1c1c1c, var(--brand-ink)); }
.gh-page .gh-dark .gh-art svg { color: var(--brand-accent-deep); opacity: 0.5; }
.gh-page .gh-dark .gh-meta { color: rgba(255, 255, 255, 0.55); }

/* Real photograph variant — overrides the duotone placeholder. Used by
   adding `.gh-img--photo` and `style="background-image: url(...)"` to
   any `.gh-img` slot that has a real asset. The abstract SVG icon is
   hidden, and a soft ink wash from 55% down keeps the caption legible. */
.gh-page .gh-img--photo {
  background-color: var(--brand-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gh-page .gh-img--photo .gh-art { display: none; }
.gh-page .gh-img--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 14, 14, 0.62));
  pointer-events: none;
  z-index: 1;
}
.gh-page .gh-img--photo .gh-meta { color: var(--brand-cream); }
.gh-page .gh-img--photo .gh-meta .gh-want .gh-lbl,
.gh-page .gh-img--photo .gh-meta .gh-ref { opacity: 0.92; }

/* Logo variant — for brand marks, archival logos, and milestone
   artwork where .gh-img--photo's cover-cropping cuts off the design.
   Uses an <img> child with `object-fit: contain` so the WHOLE
   artwork is always visible. White surface keeps logos clean. */
.gh-page .gh-img--logo {
  background-color: #ffffff;
}
.gh-page .gh-img--logo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  z-index: 0;
}
.gh-page .gh-img--logo .gh-art { display: none; }
.gh-page .gh-img--logo .gh-meta { color: var(--gh-mute); }
.gh-page .gh-img--logo .gh-meta .gh-ref { opacity: 0.7; }

/* ---------- HERO (matches v3 .page-hero rhythm) ----------
   Replaces the original 100svh flex-column "editorial" composition
   with the same simple stacked layout other v3 page heroes use:
   one section, top + bottom padding, content flows naturally — top
   mono labels → h1 → body → bottom mono. Same scale and margins as
   .page-hero / .page-hero-inner in vamika.css. */
.gh-page .gh-hero {
  position: relative;
  background-color: #08190E;
  background-size: cover;
  background-position: center;
  padding: clamp(96px, 12vw, 140px) 0 clamp(56px, 7vw, 80px);
  color: var(--brand-cream);
  overflow: hidden;
}
.gh-page .gh-hero .gh-bg { position: absolute; inset: 0; z-index: 0; }
.gh-page .gh-hero .gh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 14, 0.55), rgba(8, 25, 14, 0.78));
}
/* The hero inner — the single shared wrap holding every text element.
   `.wrap` (from vamika.css) gives it the site-wide max-width + --pad-x
   gutter. `position: relative; z-index: 2` lifts it above the image. */
.gh-page .gh-hero__inner {
  position: relative;
  z-index: 2;
}

/* Top mono labels — left-aligned single row on desktop, stacked on
   mobile. Margin-bottom is the only gap between the masthead and the
   headline (no flex distribution fighting for space). */
.gh-page .gh-hero .gh-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: clamp(28px, 4vw, 44px);
}
@media (min-width: 881px) {
  .gh-page .gh-hero .gh-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
}

/* Headline + body — same scale / margins as .page-hero h1 / p in
   vamika.css. `max-width` on the headline alone controls line-length
   without altering its left anchor. */
.gh-page .gh-hero h1 {
  font-weight: var(--type-display-weight);
  font-size: clamp(54px, 7.5vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 32px;
  color: #fff;
  max-width: 920px;
}
.gh-page .gh-hero h1 em {
  color: var(--gh-brass-lt);
  display: block;
  font-style: normal;
}
.gh-page .gh-hero .gh-pos {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(244, 236, 217, 0.82);
  font-weight: 300;
  max-width: 720px;
  margin: 0;
}

/* Bottom mono line — small bookmark just under the body. */
.gh-page .gh-hero .gh-bot {
  color: rgba(255, 255, 255, 0.55);
  margin-top: clamp(40px, 5vw, 60px);
}

/* ---------- TODAY / TERRAIN ---------- */
.gh-page .gh-today { padding: clamp(64px, 9vw, 110px) 0 0; }
.gh-page .gh-today .gh-head { max-width: 680px; margin-bottom: 48px; }
.gh-page .gh-today h2 {
  font-weight: var(--type-display-weight);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: var(--type-h2-tracking);
  margin: 14px 0 12px;
}
.gh-page .gh-today .gh-sub { color: var(--brand-text-light-muted); margin: 0; }
.gh-page .gh-terr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gh-page .gh-terr .gh-img { height: min(64vh, 560px); }
.gh-page .gh-terr .gh-cap { padding: 18px 4px 0; }
.gh-page .gh-terr .gh-cap h3 {
  font-weight: var(--type-card-weight);
  font-size: 22px;
  letter-spacing: var(--type-h3-tracking);
  margin: 0 0 4px;
}
.gh-page .gh-terr .gh-cap p { margin: 0; color: var(--gh-mute); font-size: 15px; }
.gh-page .gh-terr .gh-cap .gh-fmt { color: var(--gh-brass); }

/* ---------- BRIDGE ---------- */
.gh-page .gh-bridge {
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
  background: linear-gradient(180deg, var(--gh-cream), var(--brand-cream-warm));
}
.gh-page .gh-bridge p {
  font-weight: var(--type-display-weight);
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.16;
  letter-spacing: var(--type-h2-tracking);
  margin: 0 auto;
  max-width: 18ch;
}
.gh-page .gh-bridge .gh-n { margin-top: 26px; }

/* ---------- GENERATIONS (photo-led) ---------- */
.gh-page .gh-gen { position: relative; }
/* Longhand vertical padding so the .gh-wrap horizontal inset on the
   same element is preserved (the label uses both classes). */
.gh-page .gh-gen .gh-label {
  padding-top: clamp(50px, 7vw, 90px);
  padding-bottom: 30px;
}
.gh-page .gh-gen .gh-label .gh-kick {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--gh-brass);
  margin-bottom: 16px;
}
.gh-page .gh-gen .gh-label .gh-kick .gh-ln {
  width: 34px;
  height: 1px;
  background: var(--gh-brass);
}
.gh-page .gh-gen h2 {
  font-weight: var(--type-display-weight);
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: var(--type-h2-tracking);
  margin: 0;
  max-width: 16ch;
}

/* Big portrait split */
.gh-page .gh-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.gh-page .gh-split .gh-portrait { min-height: min(96vh, 820px); }
.gh-page .gh-split .gh-copy {
  padding: clamp(40px, 6vw, 84px) clamp(22px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gh-page .gh-split .gh-copy .gh-pname { margin-bottom: 30px; }
.gh-page .gh-split .gh-copy .gh-pname .gh-nm {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--type-card-weight);
  letter-spacing: var(--type-h4-tracking);
  display: block;
}
.gh-page .gh-split .gh-copy .gh-dek {
  /* Brand voice: no italic. Use weight + colour for editorial lift. */
  color: var(--brand-text-light-muted);
  font-weight: var(--type-display-weight);
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.4;
  letter-spacing: var(--type-h3-tracking);
  margin: 0 0 26px;
  max-width: 26ch;
}
.gh-page .gh-split .gh-copy .gh-body p { margin: 0 0 18px; max-width: 46ch; }
.gh-page .gh-split .gh-copy .gh-body p:first-of-type::first-letter {
  font-size: 72px;
  line-height: 0.72;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--gh-brass);
}
.gh-page .gh-pull {
  margin: 30px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--brand-accent);
  /* No italic — brand voice carries through weight + colour. */
  font-weight: var(--type-card-weight);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.32;
  letter-spacing: var(--type-h3-tracking);
  color: var(--gh-ink);
  max-width: 24ch;
}

/* Full-bleed documentary band */
.gh-page .gh-band { width: 100%; height: min(86vh, 760px); }
.gh-page .gh-band.gh-tall { height: min(96vh, 860px); }

/* Milestone gallery */
/* Longhand vertical padding so the .gh-wrap horizontal inset on the
   same element is preserved (the gallery wrapper uses both classes). */
.gh-page .gh-miles {
  padding-top: clamp(54px, 8vw, 100px);
  padding-bottom: clamp(54px, 8vw, 100px);
}
.gh-page .gh-miles .gh-lh { color: var(--gh-brass); margin-bottom: 30px; }
.gh-page .gh-mgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 56px);
}
.gh-page .gh-milestone {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
}
.gh-page .gh-milestone .gh-img { height: 160px; }
.gh-page .gh-milestone .gh-img .gh-art svg { width: 54%; }
.gh-page .gh-milestone .gh-t .gh-yr {
  font-family: var(--brand-font);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gh-brass);
}
.gh-page .gh-milestone .gh-t h4 {
  font-weight: var(--type-card-weight);
  font-size: 19px;
  letter-spacing: var(--type-h4-tracking);
  margin: 6px 0 4px;
}
.gh-page .gh-milestone .gh-t p {
  margin: 0;
  color: var(--gh-mute);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- HELD / CLOSE ---------- */
.gh-page .gh-held {
  text-align: center;
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--brand-cream-warm);
}
.gh-page .gh-held .gh-mono { color: var(--gh-mute); }
.gh-page .gh-held h2 {
  font-weight: var(--type-display-weight);
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: var(--type-h2-tracking);
  margin: 16px 0 14px;
}
.gh-page .gh-held p {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--brand-text-light-muted);
}
.gh-page .gh-close {
  position: relative;
  color: var(--brand-cream);
  text-align: center;
  padding: clamp(90px, 12vw, 150px) 0;
}
.gh-page .gh-close .gh-bg { position: absolute; inset: 0; }
.gh-page .gh-close .gh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.92));
}
.gh-page .gh-close .gh-in { position: relative; z-index: 2; }
.gh-page .gh-close h2 {
  font-weight: var(--type-display-weight);
  font-size: clamp(34px, 6vw, 76px);
  line-height: var(--type-h1-lh);
  letter-spacing: var(--type-h1-tracking);
  margin: 0 0 8px;
}
.gh-page .gh-close h2 em {
  color: var(--gh-brass-lt);
}
.gh-page .gh-close .gh-div {
  width: 48px;
  height: 2px;
  background: var(--gh-brass-lt);
  margin: 22px auto 30px;
}
.gh-page .gh-close p {
  max-width: 50ch;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.72);
}
.gh-page .gh-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--brand-font);
  font-weight: var(--brand-weight-sub);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cream);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 14px 26px;
  transition: gap 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.gh-page .gh-cta:hover {
  gap: 20px;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--brand-ink);
}
.gh-page a:focus-visible,
.gh-page .gh-cta:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

/* Reveal — works with the global v3 site.js IntersectionObserver. */
.gh-page .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.gh-page .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .gh-page .reveal { opacity: 1; transform: none; transition: none; }
  .gh-page { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE — tablet & narrow desktop ----------
   .gh-top now uses mobile-first stacking (see hero rule above) so it
   does not need a tablet override here. */
@media (max-width: 880px) {
  .gh-page .gh-terr { grid-template-columns: 1fr; }
  .gh-page .gh-terr .gh-img { height: 48vh; }

  /* Split: stack the portrait + copy AND give the wrapper the same
     horizontal inset every other section uses, so the portrait does
     not bleed edge-to-edge on mobile. .gh-copy drops its own side
     padding since the parent now owns it. */
  .gh-page .gh-split {
    grid-template-columns: 1fr;
    padding: 0 var(--pad-x);
  }
  .gh-page .gh-split .gh-portrait { min-height: 78vh; }
  .gh-page .gh-split .gh-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .gh-page .gh-mgrid { grid-template-columns: 1fr; }
  .gh-page .gh-milestone { grid-template-columns: 1fr; }
  .gh-page .gh-milestone .gh-img { height: 200px; }
}

/* ---------- RESPONSIVE — phones (≤600px) ---------- */
@media (max-width: 600px) {
  /* Hero — phone-size headline (the v3 page-hero h1 ramp starts at
     54px which is too big for narrow phones). Mono + body inherit
     from the base hero rules above. */
  .gh-page .gh-hero { padding-top: 84px; padding-bottom: 48px; }
  .gh-page .gh-hero h1 {
    font-size: clamp(40px, 11vw, 60px);
    margin-bottom: 24px;
  }
  .gh-page .gh-hero .gh-pos { font-size: 15.5px; line-height: 1.6; }
  .gh-page .gh-hero .gh-top { margin-bottom: 22px; }
  .gh-page .gh-hero .gh-bot { margin-top: 30px; font-size: 10px; }

  /* Today — tighter section + heading. */
  .gh-page .gh-today { padding-top: 48px; }
  .gh-page .gh-today .gh-head { margin-bottom: 28px; }
  .gh-page .gh-today h2 { font-size: clamp(24px, 7vw, 32px); }
  .gh-page .gh-terr .gh-img { height: 56vw; min-height: 240px; }

  /* Bridge — half the desktop padding, smaller display type. */
  .gh-page .gh-bridge { padding: 60px 0; }
  .gh-page .gh-bridge p { font-size: clamp(24px, 7vw, 34px); }

  /* Generations — shorter portrait, tighter label + body padding.
     Longhand vertical only, so .gh-wrap horizontal inset survives. */
  .gh-page .gh-gen .gh-label {
    padding-top: 48px;
    padding-bottom: 24px;
  }
  .gh-page .gh-gen h2 { font-size: clamp(28px, 8vw, 38px); max-width: none; }
  .gh-page .gh-split .gh-portrait { min-height: 56vh; }
  /* Horizontal padding handled by .gh-split above — copy keeps only
     the top + bottom inset on phones. */
  .gh-page .gh-split .gh-copy {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .gh-page .gh-split .gh-copy .gh-pname { margin-bottom: 22px; }
  .gh-page .gh-split .gh-copy .gh-dek { font-size: 17px; line-height: 1.45; }
  .gh-page .gh-split .gh-copy .gh-body p:first-of-type::first-letter {
    font-size: 52px;
    padding: 6px 10px 0 0;
  }
  .gh-page .gh-pull {
    margin-top: 24px;
    padding-left: 16px;
    font-size: 18px;
    line-height: 1.36;
  }

  /* Documentary band — shorter so it doesn't dominate the scroll. */
  .gh-page .gh-band { height: 52vh; }
  .gh-page .gh-band.gh-tall { height: 62vh; }

  /* Milestones — tighter section padding + gap.
     Longhand vertical only, so .gh-wrap horizontal inset survives. */
  .gh-page .gh-miles {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .gh-page .gh-mgrid { gap: 20px; }
  .gh-page .gh-milestone .gh-img { height: 180px; }

  /* Held + Close — much tighter on phones. */
  .gh-page .gh-held { padding: 64px 0; }
  .gh-page .gh-held h2 { font-size: clamp(24px, 6.5vw, 32px); }
  .gh-page .gh-close { padding: 72px 0; }
  .gh-page .gh-close h2 { font-size: clamp(30px, 9vw, 48px); }
  .gh-page .gh-close .gh-div { margin: 18px auto 24px; }
  .gh-page .gh-close p { margin-bottom: 28px; }
  .gh-page .gh-cta { font-size: 11px; padding: 12px 22px; }
}
