/* ==========================================================================
   Griffin Team  ×  Jacobs Construction
   Brian Head & Duck Creek — Land + Build Partnership
   Shared stylesheet for all pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — Jacobs Construction. Sampled from the badge: the petrol shell
     (#003142) and the sage roof mark (#CBE4DB). */
  --jc-900: #001b25;
  --jc-800: #002733;
  --jc-700: #003142;
  --jc-600: #0a4557;
  --jc-500: #125a6d;
  --jc-300: #cbe4db;
  --jc-100: #e9f4f0;

  /* Brand — Griffin Team. The griffin is drawn in pure line, so the team's
     side of the palette is ink and paper, faintly cooled to sit with petrol. */
  --gt-900: #0a0e10;
  --gt-700: #1b2326;
  --gt-500: #465154;
  --gt-300: #a4b0b2;
  --gt-100: #edf1f1;

  /* Neutrals — cooled toward the petrol so nothing reads warm by accident */
  --ink:      #0d1214;
  --ink-soft: #3b4548;
  --slate:    #6a7679;
  --line:     #dde3e3;
  --line-soft:#ecefef;
  --paper:    #ffffff;
  --shell:    #f5f8f8;
  --shell-2:  #e9eeee;

  /* Typography */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 30, 40, 0.06), 0 2px 8px rgba(0, 30, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 30, 40, 0.08), 0 12px 32px rgba(0, 30, 40, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 30, 40, 0.10), 0 24px 64px rgba(0, 30, 40, 0.10);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.35; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gt-700); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--jc-700); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--jc-300); color: var(--jc-900); }

:focus-visible {
  outline: 2px solid var(--gt-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--gt-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus {
  width: auto; height: auto;
  clip: auto;
  clip-path: none;
  left: 8px; top: 8px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--shell { background: var(--shell); }
.section--dark { background: var(--jc-800); color: rgba(255,255,255,0.78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack > * + * { margin-top: 1.15em; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-700);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--jc-500);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--green { color: var(--gt-500); }
.eyebrow--green::before { background: var(--gt-300); }
.eyebrow--light { color: var(--jc-300); }
.eyebrow--light::before { background: var(--jc-500); }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.section--dark .lede { color: rgba(255,255,255,0.72); }

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.muted { color: var(--slate); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
  line-height: 1.2;
}

.btn--primary { background: var(--jc-700); color: #fff; }
.btn--primary:hover { background: var(--jc-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--green { background: var(--gt-700); color: #fff; }
.btn--green:hover { background: var(--gt-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--light:hover { background: #fff; color: var(--jc-700); border-color: #fff; }

.btn--solid-light { background: #fff; color: var(--jc-700); }
.btn--solid-light:hover { background: var(--jc-300); color: var(--jc-900); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jc-700);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--jc-700);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  flex-wrap: nowrap;
  transition: min-height 0.3s var(--ease);
}

/* Dual-brand lockup — equal billing, real marks */
.lockup {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  flex: 0 1 auto;
  min-width: 0;
}
.lockup .logo { transition: height 0.3s var(--ease); }
.lockup .logo--gt { height: 60px; }
.lockup .logo--jc { height: 48px; }
.lockup__x {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--line);
  flex: none;
}

/* The header carries two near-square marks, so it starts tall and compacts
   once you scroll — the logos get their moment without eating the fold. */
.site-header.is-stuck .lockup .logo--gt { height: 46px; }
.site-header.is-stuck .lockup .logo--jc { height: 37px; }
.site-header.is-stuck .site-header__inner { min-height: 74px; }

.nav { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; }
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 10px 11px;
  border-radius: var(--radius);
  position: relative;
}
.nav a:hover { color: var(--ink); background: var(--shell); }
.nav a.is-active { color: var(--gt-700); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--jc-500);
  border-radius: 2px;
}

.header-cta { flex: none; padding: 13px 20px; font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: all 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: all 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Media placeholders  (swap these for real photography)
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--shell-2);
  border-radius: var(--radius-lg);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 4 / 5; }

/* Photo placeholder: a layered alpine gradient + slot label.
   Delete .ph-* rules once real images are dropped in. */
.ph {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(46,107,88,0.14), rgba(169,112,47,0.16)),
    linear-gradient(#e8e6e0, #d8d5cd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.55) 40%, rgba(255,255,255,0.55) 44%, transparent 44%),
    linear-gradient(200deg, transparent 55%, rgba(20,23,26,0.06) 55%);
  pointer-events: none;
}
.ph__icon { width: 30px; height: 30px; opacity: 0.4; position: relative; }
.ph__label {
  position: relative;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(20,23,26,0.5);
  max-width: 90%;
}

/* --------------------------------------------------------------------------
   8. Hero — the alpenglow scene
   --------------------------------------------------------------------------
   Layer order, back to front:
     .hero__sky     animated alpenglow gradient
     .hero__stars   faint starfield, fades out toward the horizon
     .hero__sun     low warm glow sitting just behind the ridgeline
     .hero__photo   the photograph, softly blended into the sky
     .hero__range   four parallax ridgelines + a conifer treeline
     .hero__snow    canvas flurries
     .hero__scrim   final contrast pass so type always reads
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  /* --chrome-h is measured by main.js so the facts bar always lands on the
     fold, whatever height the top bar and header end up being. */
  min-height: calc(100vh - var(--chrome-h, 124px));
  min-height: calc(100svh - var(--chrome-h, 124px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #00131c;
  color: #fff;
}

/* --- Sky ------------------------------------------------------------------ */
.hero__sky {
  position: absolute;
  inset: -10% -10% 0;
  background:
    linear-gradient(
      to bottom,
      #000a12 0%,
      #001824 16%,
      #003142 34%,
      #0b5063 52%,
      #3c7f8b 66%,
      #8fb6b2 78%,
      #cbe4db 88%,
      #e2d8c4 100%
    );
  z-index: 0;
}
.hero__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 68% 88%, rgba(233,214,178,0.5), transparent 62%);
  mix-blend-mode: screen;
  animation: alpenglow 18s ease-in-out infinite alternate;
}
@keyframes alpenglow {
  from { opacity: 0.65; transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { opacity: 1;    transform: translate3d(2%, -1%, 0) scale(1.06); }
}

/* --- Stars ---------------------------------------------------------------- */
.hero__stars {
  position: absolute;
  inset: 0 0 42% 0;
  z-index: 1;
  opacity: 0.85;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 12%,  rgba(255,255,255,0.95), transparent),
    radial-gradient(1.2px 1.2px at 17% 30%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.8px 1.8px at 26% 8%,  rgba(255,255,255,0.85), transparent),
    radial-gradient(1.1px 1.1px at 34% 22%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 43% 6%,  rgba(255,255,255,0.9),  transparent),
    radial-gradient(1.2px 1.2px at 52% 26%, rgba(255,255,255,0.5),  transparent),
    radial-gradient(1.9px 1.9px at 61% 14%, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.1px 1.1px at 69% 33%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.6px 1.6px at 77% 9%,  rgba(255,255,255,0.8),  transparent),
    radial-gradient(1.3px 1.3px at 84% 24%, rgba(255,255,255,0.6),  transparent),
    radial-gradient(1.7px 1.7px at 92% 16%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.1px 1.1px at 97% 34%, rgba(255,255,255,0.4),  transparent),
    radial-gradient(1.4px 1.4px at 13% 40%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.2px 1.2px at 57% 43%, rgba(255,255,255,0.3),  transparent),
    radial-gradient(1.5px 1.5px at 88% 45%, rgba(255,255,255,0.28), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 0.95; } }

/* --- Low sun glow --------------------------------------------------------- */
.hero__sun {
  position: absolute;
  left: 62%;
  bottom: 26%;
  width: 46vmax;
  height: 46vmax;
  transform: translate(-50%, 50%);
  z-index: 2;
  background: radial-gradient(circle, rgba(248,238,214,0.82) 0%, rgba(203,228,219,0.34) 34%, transparent 66%);
  filter: blur(6px);
  animation: sunrise 20s ease-in-out infinite alternate;
}
@keyframes sunrise {
  from { transform: translate(-50%, 54%) scale(0.96); opacity: 0.85; }
  to   { transform: translate(-50%, 46%) scale(1.05); opacity: 1; }
}

/* --- Photograph ----------------------------------------------------------- */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 22%, #000 48%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 22%, #000 48%, #000 100%);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0.88;
  filter: saturate(0.86) contrast(1.06) brightness(0.82);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(-1%, 0.6%, 0); }
  to   { transform: scale(1.15) translate3d(1.4%, -1%, 0); }
}

/* --- Ridgelines ----------------------------------------------------------- */
.hero__range {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0;
  height: 72%;
  z-index: 4;
  pointer-events: none;
}
.ridge {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  display: block;
  will-change: transform;
}
.ridge--far   { height: 62%; bottom: 26%; opacity: 0.38; filter: blur(0.6px); }
.ridge--mid   { height: 58%; bottom: 16%; opacity: 0.68; filter: blur(0.2px); }
.ridge--near  { height: 54%; bottom: 6%;  opacity: 0.9; }
.ridge--front { height: 46%; bottom: 0; }

.hero__trees {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: 22%;
  min-height: 90px;
  z-index: 5;
  background: url("../img/treeline.svg") repeat-x bottom center / auto 100%;
  pointer-events: none;
  will-change: transform;
}

/* --- Snow ----------------------------------------------------------------- */
.hero__snow {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.7;
}

/* --- Final contrast pass -------------------------------------------------- */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 7;
  background:
    linear-gradient(to right, rgba(0,12,18,0.84) 0%, rgba(0,12,18,0.44) 46%, rgba(0,12,18,0.06) 78%),
    linear-gradient(to top, rgba(0,12,18,0.92) 0%, rgba(0,12,18,0.18) 34%, transparent 62%);
  pointer-events: none;
}

/* --- Content -------------------------------------------------------------- */
.hero__content {
  position: relative;
  z-index: 8;
  width: 100%;
  padding-block: clamp(32px, 4.6vh, 64px) clamp(24px, 3.4vh, 44px);
  margin-top: auto;
}

.hero__brands {
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.hero__brands-place {
  margin: 14px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero--page .hero__brands { margin-bottom: clamp(18px, 2.4vh, 28px); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: clamp(22px, 3vh, 34px);
}
.hero__badge b { font-weight: 600; color: #fff; }
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--jc-300);
  box-shadow: 0 0 0 4px rgba(211,164,104,0.22);
  flex: none;
}
.hero__badge-tag {
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(211,164,104,0.9);
  color: #2b1a08;
  letter-spacing: 0.1em;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.9rem, min(8.4vw, 10vh), 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 0 0 clamp(16px, 2.4vh, 26px);
  max-width: 14ch;
  text-shadow: 0 4px 40px rgba(0,0,0,0.42);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, #f2fbf7 6%, #cbe4db 46%, #96bfb5 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .l {
  display: block;
  overflow: hidden;
}
.hero__title .l > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.15s var(--ease) forwards;
}
.hero__title .l:nth-child(1) > span { animation-delay: 0.12s; }
.hero__title .l:nth-child(2) > span { animation-delay: 0.26s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero__rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--jc-300), rgba(255,255,255,0.05));
  margin-bottom: clamp(16px, 2.4vh, 24px);
  animation: ruleIn 1.4s var(--ease) 0.55s forwards;
}
@keyframes ruleIn { to { width: min(420px, 60%); } }

.hero__sub {
  max-width: 56ch;
  font-size: clamp(0.98rem, min(1.35vw, 2vh), 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.84);
  margin: 0 0 clamp(22px, 3.2vh, 34px);
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

.hero__fade { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.hero__fade--1 { animation-delay: 0.05s; }
.hero__fade--2 { animation-delay: 0.62s; }
.hero__fade--3 { animation-delay: 0.78s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* --- Scroll cue ----------------------------------------------------------- */
.hero__cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  bottom: calc(clamp(40px, 6vh, 76px) + 96px);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: cueSlide 2.4s ease-in-out infinite;
}
@keyframes cueSlide {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.35; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}
.hero__cue:hover { color: #fff; }

/* --- Facts bar ------------------------------------------------------------ */
.hero__facts {
  position: relative;
  z-index: 9;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(to bottom, rgba(0,18,26,0.34), rgba(0,18,26,0.66));
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.95s forwards;
}
.hero__facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.hero__fact {
  padding: clamp(18px, 2.4vh, 28px) 26px clamp(18px, 2.4vh, 28px) 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  margin: 0;
  transition: background 0.4s var(--ease);
}
.hero__fact:last-child { border-right: 0; }
.hero__fact:not(:first-child) { padding-left: 26px; }
.hero__fact:hover { background: rgba(255,255,255,0.04); }
.hero__fact dt {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 7px;
}
.hero__fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero__fact dd b { color: var(--jc-300); font-weight: 400; }

/* --- Interior page heroes ------------------------------------------------- */
.hero--page {
  min-height: min(64vh, 560px);
  justify-content: flex-end;
}
.hero--page .hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  max-width: 20ch;
  line-height: 1.0;
}
.hero--page .hero__content { padding-block: clamp(80px, 10vh, 120px) clamp(44px, 6vh, 72px); }
.hero--page .hero__sun { bottom: 14%; width: 40vmax; height: 40vmax; }
.hero--page .hero__trees { height: 18%; min-height: 64px; }

/* --- Motion & size guards ------------------------------------------------- */
@media (max-width: 880px) {
  .hero { min-height: calc(100svh - var(--chrome-h, 100px)); }
  .hero__content { padding-block: clamp(40px, 6vh, 80px) clamp(28px, 4vh, 48px); }
  .hero__cue { display: none; }
  .hero__title { max-width: 12ch; }
  .hero__scrim {
    background:
      linear-gradient(to right, rgba(0,12,18,0.82) 0%, rgba(0,12,18,0.56) 60%, rgba(0,12,18,0.3) 100%),
      linear-gradient(to top, rgba(0,12,18,0.95) 0%, rgba(0,12,18,0.3) 40%, transparent 70%);
  }
}
@media (max-width: 720px) {
  /* On a phone the stat bar earns its place only if it stays one line — keep
     the two elevations, which are the facts that actually set the scene. */
  .hero__facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fact:nth-child(n+3) { display: none; }
  .hero__fact:nth-child(2) { border-right: 0; }
  .hero__fact { padding-block: 14px; }
  .hero__fact dt { font-size: 0.58rem; letter-spacing: 0.12em; }
  .hero__brands {
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.hero__brands-place {
  margin: 14px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero--page .hero__brands { margin-bottom: clamp(18px, 2.4vh, 28px); }

.hero__badge { font-size: 0.62rem; gap: 10px; padding-left: 14px; flex-wrap: wrap; }
  .hero__title { font-size: clamp(2.8rem, 12vw, 4.2rem); }
}
@media (max-width: 480px) {
  .hero__badge-tag { display: none; }
  .hero__facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fact { padding-block: 12px; padding-right: 12px; }
  .hero__fact:not(:first-child) { padding-left: 12px; }
  .hero__fact dd { font-size: 0.98rem; }
}

/* Short viewports — laptops at 768px tall and most phones. Compress the
   hero rather than let it push the stat bar past the fold. */
@media (max-height: 880px) {
  .hero__content { padding-block: clamp(22px, 3.2vh, 40px) clamp(18px, 2.6vh, 32px); }
  .hero__brands { margin-bottom: 14px; }
  .hero__brands-place { display: none; }
  .colockup--lg .logo--gt { height: clamp(46px, 7.6vh, 66px); }
  .colockup--lg .logo--jc { height: clamp(37px, 6vh, 53px); }
  .hero__title { font-size: clamp(2.3rem, min(7vw, 8.8vh), 4.6rem); margin-bottom: 14px; }
  .hero__rule { margin-bottom: 14px; }
  .hero__sub { font-size: 0.96rem; margin-bottom: 20px; max-width: 62ch; }
  .hero__fact { padding-block: 12px; }
  .hero__fact dd { font-size: 1.05rem; }
}

@media (max-height: 700px) {
  .hero__sub { display: none; }
  .hero__cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sky::after, .hero__sun, .hero__stars,
  .hero__photo img, .hero__cue::after { animation: none; }
  .hero__title .l > span { transform: none; animation: none; }
  .hero__rule { width: min(420px, 60%); animation: none; }
  .hero__fade, .hero__facts, .hero__cue { opacity: 1; animation: none; }
  .hero__snow { display: none; }
}

/* --------------------------------------------------------------------------
   9. Partnership blocks
   -------------------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.partner-card {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
}
.partner-card--gt { border-top: 4px solid var(--gt-500); }
.partner-card--jc { border-top: 4px solid var(--jc-500); }
.partner-card__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.partner-card--gt .partner-card__role { color: var(--gt-500); }
.partner-card--jc .partner-card__role { color: var(--jc-700); }
.partner-card h3 { margin-bottom: 0.4em; }
.partner-card ul {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 0;
  font-size: 0.95rem;
}
.partner-card li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.6em;
}
.partner-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 1px;
}
.partner-card--gt li::before { background: var(--gt-300); }
.partner-card--jc li::before { background: var(--jc-300); }
.partner-card__foot { margin-top: auto; padding-top: 28px; }

.partner-join {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  background: var(--shell);
  border-inline: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   10. Cards & feature grids
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.card__body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.card__meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jc-700);
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: 0.95rem; }
.card__foot { margin-top: auto; padding-top: 18px; }

.card-link { color: inherit; }
.card-link:hover { color: inherit; }

/* Location cards */
.place {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--jc-800);
}
.place__media { position: absolute; inset: 0; }
.place__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.place:hover .place__media img { transform: scale(1.04); }
.place__media .ph { border-radius: 0; }
.place__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,16,0.93) 8%, rgba(9,20,16,0.35) 55%, rgba(9,20,16,0.12) 100%);
}
.place__body { position: relative; padding: clamp(26px, 3vw, 40px); width: 100%; }
.place h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.3em; }
.place p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.place__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.place__stats li {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  color: rgba(255,255,255,0.88);
}

/* Numbered steps */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(30px, 3.5vw, 46px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--jc-300);
  line-height: 1;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__owner {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.step__owner--gt { background: var(--gt-100); color: var(--gt-700); }
.step__owner--jc { background: var(--jc-100); color: var(--jc-700); }
.step__owner--both {
  background: linear-gradient(90deg, var(--gt-100), var(--jc-100));
  color: var(--ink);
}
.step h3 { margin-bottom: 0.35em; }
.step p { font-size: 0.98rem; }

/* Stat band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--gt-900);
  padding: clamp(26px, 3vw, 38px) clamp(18px, 2vw, 28px);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--jc-300);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
}

/* Feature list with rule */
.features { display: grid; gap: 0; }
.feature {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: baseline;
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature h4 { margin: 0; color: var(--ink); }
.feature p { font-size: 0.95rem; margin: 0; }

/* Quote */
.quote {
  border-left: 3px solid var(--jc-500);
  padding-left: clamp(22px, 3vw, 36px);
}
.quote blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.section--dark .quote blockquote { color: #fff; }
.quote__cite { font-size: 0.85rem; color: var(--slate); font-style: normal; }
.section--dark .quote__cite { color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   11. Portfolio
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--jc-700); border-color: var(--jc-700); color: #fff; }

.project { }
.project__media { margin-bottom: 18px; }
.project__title { font-size: 1.25rem; margin-bottom: 0.25em; }
.project__meta {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.project__specs {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.project__specs li {
  margin: 0;
  font-size: 0.72rem;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   12. Split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }
.split__media { position: relative; }
.split__badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--jc-700);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  max-width: 220px;
  box-shadow: var(--shadow-lg);
}
.split__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 6px;
}
.split__badge span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  line-height: 1.35;
  display: block;
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.field .req { color: var(--jc-700); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gt-500);
  box-shadow: 0 0 0 3px rgba(47,107,88,0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a8afb4; }
.field__hint { font-size: 0.78rem; color: var(--slate); }
.field--error input, .field--error select, .field--error textarea { border-color: #b4442f; }
.field__error { font-size: 0.78rem; color: #b4442f; display: none; }
.field--error .field__error { display: block; }

.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--slate); }
.checkline input { width: auto; margin-top: 4px; flex: none; }

.form__note { font-size: 0.8rem; color: var(--slate); }

.form-success {
  display: none;
  background: var(--jc-100);
  border: 1px solid var(--jc-300);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--jc-900); margin-bottom: 0.3em; }
.form-success p { color: var(--jc-700); margin: 0; font-size: 0.95rem; }

/* Contact cards */
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper);
}
.contact-card--gt { border-top: 4px solid var(--gt-500); }
.contact-card--jc { border-top: 4px solid var(--jc-500); }
.contact-card dl { margin: 18px 0 0; display: grid; gap: 14px; }
.contact-card dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.contact-card dd { margin: 0; font-size: 0.96rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   13b. Team & credential logos
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.member { min-width: 0; }
.member__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--shell-2);
  margin-bottom: 14px;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.member__role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 4px 0 8px; }
.member__contact {
  font-size: 0.85rem;
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.member__contact a { color: var(--ink-soft); }
.member__contact a:hover { color: var(--jc-700); }

.logo-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: 8px;
}
.logo-band img {
  height: 58px;
  width: auto;
  opacity: 0.62;
  filter: grayscale(100%);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
  mix-blend-mode: multiply;
}
.logo-band img:hover { opacity: 1; filter: none; }

/* --------------------------------------------------------------------------
   Brand logos
   --------------------------------------------------------------------------
   Both marks are near-square rather than horizontal wordmarks, so they are
   sized by height and paired optically: the Griffin lion runs taller because
   its stacked wordmark needs the room, the Jacobs badge shorter because its
   petrol shell already reads as a solid block. Griffin ships in two files —
   line art for light surfaces, reversed for dark. The Jacobs badge carries its
   own shell and works on either.
   -------------------------------------------------------------------------- */
.logo { width: auto; display: block; flex: none; }

/* On dark surfaces the petrol shell sits close to the background, so trace the
   badge silhouette in sage. Non-destructive — the mark itself is untouched. */
.logo--jc-dark {
  filter:
    drop-shadow(0 0 1px rgba(203,228,219,0.5))
    drop-shadow(0 0 7px rgba(0,0,0,0.35));
}
.logo--gt-dark { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }

/* --- The paired lockup, used in the hero, the footer and the sign-off ------ */
.colockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
}
.colockup__x {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1;
  color: currentColor;
  opacity: 0.35;
  flex: none;
}
.colockup .logo--gt { height: 62px; }
.colockup .logo--jc { height: 50px; }
.colockup--lg .logo--gt { height: clamp(58px, min(5.6vw, 8.6vh), 88px); }
.colockup--lg .logo--jc { height: clamp(46px, min(4.4vw, 6.8vh), 70px); }
.colockup--xl .logo--gt { height: clamp(86px, 9vw, 132px); }
.colockup--xl .logo--jc { height: clamp(68px, 7.2vw, 106px); }

/* --- Sign-off band: the two marks, big, on their own ----------------------- */
.signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.signoff__rule {
  width: min(560px, 80%);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.signoff__caption {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* --- Logo plates inside cards --------------------------------------------- */
.partner-card__logo {
  display: flex;
  align-items: flex-end;
  min-height: 80px;
  margin-bottom: 22px;
}
.partner-card__logo .logo--gt { height: 76px; }
.partner-card__logo .logo--jc { height: 60px; }

.contact-card .partner-card__logo { min-height: 62px; margin-bottom: 16px; }
.contact-card .partner-card__logo .logo--gt { height: 58px; }
.contact-card .partner-card__logo .logo--jc { height: 46px; }

@media (max-width: 720px) {
  .colockup { gap: 16px; }
  .colockup--lg .logo--gt, .colockup--xl .logo--gt { height: 70px; }
  .colockup--lg .logo--jc, .colockup--xl .logo--jc { height: 56px; }
}
@media (max-width: 420px) {
  .colockup { gap: 12px; }
  .colockup .logo--gt, .colockup--lg .logo--gt, .colockup--xl .logo--gt { height: 54px; }
  .colockup .logo--jc, .colockup--lg .logo--jc, .colockup--xl .logo--jc { height: 43px; }
}

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--jc-800);
  color: rgba(255,255,255,0.78);
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 85% 10%, rgba(203,228,219,0.16), transparent 60%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.cta__actions { display: flex; flex-direction: column; gap: 14px; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--jc-900);
  color: rgba(255,255,255,0.6);
  padding-block: clamp(52px, 6vw, 80px) 0;
  font-size: 0.9rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--jc-300); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 9px; overflow-wrap: anywhere; }
.footer-brands { display: grid; gap: 20px; margin-top: 20px; }
.footer-brand__name { color: #fff; font-family: var(--font-display); font-size: 1.02rem; }
.footer-brand__line { font-size: 0.85rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }

/* --------------------------------------------------------------------------
   16. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .lockup .logo--gt { height: 56px; }
  .lockup .logo--jc { height: 44px; }
  .site-header__inner { min-height: 92px; }
  .header-cta { padding: 12px 16px; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero__facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__fact:nth-child(2) { border-right: 0; }
  .hero__fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .header-cta { display: none; }
}

@media (max-width: 880px) {
  .lockup { gap: 10px; }
  .lockup .logo--gt { height: 46px; }
  .lockup .logo--jc { height: 37px; }
  .lockup__x { font-size: 0.85rem; }
  .site-header__inner { min-height: 78px; }
  .site-header.is-stuck .lockup .logo--gt { height: 38px; }
  .site-header.is-stuck .lockup .logo--jc { height: 31px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin-top: 14px; }
  .site-header__inner { position: relative; min-height: 72px; }

  .partner-grid { grid-template-columns: 1fr; }
  .partner-join {
    width: auto;
    padding: 14px;
    border-inline: 0;
    border-block: 1px solid var(--line);
  }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__badge { right: 12px; bottom: -18px; }
  .feature { grid-template-columns: 1fr; gap: 8px; }
  .lockup__sub { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__num { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 78vh; }
  .split__badge { position: static; margin-top: 16px; max-width: none; }
  .topbar__inner { justify-content: center; }
  .topbar__group--secondary { display: none; }
}

@media (max-width: 520px) {
  .lockup { gap: 8px; }
  .lockup .logo--gt { height: 38px; }
  .lockup .logo--jc { height: 30px; }
  .hero__facts .wrap { grid-template-columns: 1fr; }
  .hero__fact { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.12); padding-left: 0 !important; }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   19. Cabin plans — the five priced models
   -------------------------------------------------------------------------- */
.plan {
  padding-block: clamp(44px, 5vw, 76px);
  border-top: 1px solid var(--line);
}
.plan:first-of-type { border-top: 0; }

.plan__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
/* Alternate sides, but keep the rendering in the wider column either way. */
.plan:nth-child(even) .plan__top { grid-template-columns: 1fr 1.15fr; }
.plan:nth-child(even) .plan__media { order: 2; }

.plan__media { min-width: 0; }
.plan__elev {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef2f3;
  box-shadow: var(--shadow-sm);
}
.plan__elev img { width: 100%; height: auto; display: block; }

/* --- Floor plan thumbnails ------------------------------------------------- */
/* --- Floor plans, shown full width beneath each cabin ---------------------- */
.plan__plans { margin-top: clamp(30px, 3.6vw, 48px); }
.plan__plans-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-700);
  margin: 0 0 16px;
}
.plan__plans-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.plan__plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
/* A cabin with one drawing shouldn't strand it in the middle of a full-width
   card — narrow the container and let the plan grow into it. */
.plan__plans-grid--one { max-width: 780px; }
.plan__plans-grid--one .fp__btn img { height: auto; max-height: 620px; padding: 20px 20px 8px; }
.fp {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fp:hover { border-color: var(--jc-500); box-shadow: var(--shadow-md); }
.fp__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.fp__btn img {
  width: 100%;
  height: clamp(260px, 26vw, 380px);
  object-fit: contain;
  display: block;
  padding: 16px 16px 6px;
  background: #fff;
}
.fp__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.fp__cap span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.fp__cap span::after { content: " \2197"; color: var(--jc-500); }

/* --- Property features ----------------------------------------------------- */
.plan__features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 0;
}
.plan__features li {
  margin: 0;
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.plan__features li:last-child { border-bottom: 0; }
.plan__features li::before {
  content: "";
  position: absolute;
  left: 4px; top: 1.05em;
  width: 10px; height: 1px;
  background: var(--jc-500);
}
.plan__features-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-700);
  margin: 26px 0 0;
}

/* --- Interactive plan viewer ----------------------------------------------- */
.pv { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column;
      background: rgba(0,18,26,0.985); backdrop-filter: blur(8px); color: #fff; }
.pv.is-open { display: flex; }
.pv__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px;
           padding: 14px clamp(14px,2.5vw,28px); border-bottom: 1px solid rgba(255,255,255,0.12); flex: none; }
.pv__title { margin: 0; font-family: var(--font-display); font-size: clamp(0.95rem,1.6vw,1.2rem);
             color: #fff; letter-spacing: -0.01em; min-width: 0; overflow: hidden;
             text-overflow: ellipsis; white-space: nowrap; }
.pv__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.pv__btn { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius);
           border: 1px solid rgba(255,255,255,0.26); background: transparent; color: #fff;
           font-family: var(--font-body); font-size: 1rem; line-height: 1; cursor: pointer;
           transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.pv__btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.45); }
.pv__btn--wide { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.pv__btn--close { font-size: 1.5rem; border-radius: 50%; width: 40px; padding: 0; }
.pv__zoom { min-width: 56px; text-align: center; font-size: 0.78rem;
            font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.72); }
.pv__stage { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center;
             justify-content: center; padding: clamp(12px,2vw,28px); touch-action: none; cursor: zoom-in; }
.pv__stage.is-zoomed { cursor: grab; }
.pv__stage.is-zoomed:active { cursor: grabbing; }
.pv__img { width: min(1080px, 92vw); max-width: 100%; max-height: calc(100vh - 160px);
           height: auto; object-fit: contain; background: #fff; border-radius: var(--radius);
           padding: 10px; transform-origin: center center; transition: transform 0.12s ease-out;
           user-select: none; -webkit-user-drag: none; }
.pv--photo .pv__img { background: transparent; padding: 0; width: auto; max-width: 100%; }
.pv__foot { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px; flex: none; }
.pv__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.26);
           background: transparent; color: #fff; font-size: 1.05rem; cursor: pointer;
           transition: background 0.2s var(--ease); }
.pv__nav:hover { background: rgba(255,255,255,0.14); }
.pv__count { margin: 0; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
             color: rgba(255,255,255,0.7); min-width: 76px; text-align: center; }
.pv__hint { margin: 0; padding: 0 12px 16px; text-align: center; font-size: 0.68rem;
            letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); flex: none; }
@media (max-width: 640px) { .pv__hint, .pv__btn--wide { display: none; } .pv__title { font-size: 0.85rem; } }

/* --- Cabin explorer (home page) -------------------------------------------- */
.explorer { margin-top: clamp(28px, 3vw, 40px); }
.explorer__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px,2.4vw,30px); }
.explorer__tab { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
                 letter-spacing: 0.04em; padding: 11px 20px; border: 1px solid var(--line);
                 background: var(--paper); border-radius: 100px; cursor: pointer;
                 color: var(--ink-soft); transition: all 0.22s var(--ease); white-space: nowrap; }
.explorer__tab:hover { border-color: var(--jc-500); color: var(--ink); }
.explorer__tab.is-active { background: var(--jc-700); border-color: var(--jc-700); color: #fff; }
.explorer__tab small { display: block; font-size: 0.66rem; font-weight: 500;
                       letter-spacing: 0.06em; opacity: 0.7; margin-top: 2px; }
.explorer__panel[hidden] { display: none; }
.explorer__panel { display: grid; grid-template-columns: 1.35fr 1fr;
                   gap: clamp(24px,3vw,44px); align-items: start; }
.explorer__stage { border: 1px solid var(--line); border-radius: var(--radius-lg);
                   overflow: hidden; background: #fff; }
.explorer__frame { width: 100%; height: clamp(280px,34vw,460px); object-fit: contain;
                   display: block; background: #eef2f3; }
.explorer__stagebar { display: flex; align-items: center; justify-content: space-between;
                      gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line-soft); }
.explorer__stagelabel { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.explorer__open { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
                  letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-700);
                  background: transparent; border: 1px solid var(--line); border-radius: 100px;
                  padding: 8px 16px; cursor: pointer; white-space: nowrap; transition: all 0.2s var(--ease); }
.explorer__open:hover { background: var(--jc-700); border-color: var(--jc-700); color: #fff; }
.explorer__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.explorer__thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
                   background: #fff; cursor: pointer; overflow: hidden; width: 96px;
                   transition: all 0.2s var(--ease); }
.explorer__thumb img { width: 100%; height: 58px; object-fit: contain; background: #f4f7f8; display: block; }
.explorer__thumb span { display: block; font-family: var(--font-body); font-size: 0.6rem;
                        font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
                        color: var(--slate); padding: 6px 4px; border-top: 1px solid var(--line-soft); }
.explorer__thumb:hover { border-color: var(--jc-500); }
.explorer__thumb.is-active { border-color: var(--jc-700); box-shadow: 0 0 0 1px var(--jc-700); }
.explorer__thumb.is-active span { color: var(--jc-700); }
.explorer__facts { min-width: 0; }
.explorer__facts h3 { font-size: clamp(1.6rem,2.6vw,2.1rem); margin-bottom: 0.2em; }
@media (max-width: 880px) {
  .explorer__panel { grid-template-columns: minmax(0,1fr); }
  .explorer__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

@media (max-width: 880px) {
  .plan__top, .plan:nth-child(even) .plan__top { grid-template-columns: minmax(0, 1fr); }
  .plan:nth-child(even) .plan__media { order: 0; }
  .plan__media { order: -1; }
  .fp__btn img { height: 300px; }
}
@media (max-width: 480px) {
  .str__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* --------------------------------------------------------------------------
   20. Plan detail — rank, price, specs, rental breakdown, comparison table
   -------------------------------------------------------------------------- */
.plans { display: block; }

.plan__detail { min-width: 0; }
.plan__detail h3 {
  margin: 0.15em 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.plan__rank {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jc-500);
}

/* The price line. A range needs to wrap gracefully on narrow screens, so the
   label sits on its own row and the figure is allowed to break at the dash. */
.plan__price {
  margin: 0.5em 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.plan__price small {
  display: block;
  margin-bottom: 0.35em;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 1.25em 0 0;
}
.specs li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--shell);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* --- Short-term rental projection ------------------------------------------ */
.str {
  margin-top: 1.75em;
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--jc-500);
  border-radius: var(--radius-lg);
  background: var(--shell);
}
.str__head {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-700);
}

.breakdown { margin: 0; display: grid; gap: 0; }
.breakdown > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.breakdown > div:last-of-type { border-bottom: 0; }
.breakdown dt {
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-width: 0;
}
.breakdown dt span {
  display: block;
  font-size: 0.7rem;
  color: var(--slate);
}
.breakdown dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.breakdown__total {
  margin-top: 2px;
  padding-top: 10px !important;
  border-top: 1px solid var(--line);
}
.breakdown__total dt { font-weight: 700; color: var(--ink); }
.breakdown__total dd { font-size: 1.1rem; color: var(--jc-700); }

.breakdown__note {
  margin: 12px 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--slate);
}
.breakdown__note a { color: var(--jc-600); }

/* --- Disclaimers ----------------------------------------------------------- */
.disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate);
}
.disclaimer strong { color: var(--ink-soft); }
.section--dark .disclaimer { color: var(--gt-300); }
.section--dark .disclaimer strong { color: #fff; }

/* --- Comparison table ------------------------------------------------------ */
.ptable-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.ptable {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.ptable th, .ptable td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.ptable thead th {
  position: sticky;
  top: 0;
  background: var(--jc-700);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 0;
}
.ptable tbody tr:last-child th,
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover { background: var(--shell); }
.ptable tbody th[scope="row"] {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.ptable tbody th[scope="row"] a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--jc-300); }
.ptable tbody th[scope="row"] a:hover { border-bottom-color: var(--jc-500); }
.ptable .num { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.ptable .price { font-weight: 700; color: var(--ink); }
.ptable .best { font-weight: 700; color: var(--jc-600); }

.ptable-hint {
  margin: 10px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (min-width: 1040px) { .ptable-hint { display: none; } }

/* --- Home-page plan cards --------------------------------------------------- */
.plan-card {
  display: block;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.plan-card:hover {
  border-color: var(--jc-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.plan-card__name {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}
.plan-card__spec {
  margin: 0.4em 0 0;
  font-size: 0.8rem;
  color: var(--slate);
}
.plan-card__price {
  margin: 0.9em 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.plan-card__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.3em;
}
.plan-card__rental {
  margin: 0.9em 0 0;
  padding-top: 0.9em;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jc-600);
}
.plan-card__rental span {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--slate);
}

@media (max-width: 860px) {
  .plan__top { grid-template-columns: minmax(0, 1fr) !important; }
  .plan:nth-child(even) .plan__media { order: 0; }
  .str { padding: 16px 16px 14px; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .cta, .nav-toggle, .hero__facts { display: none; }
  body { color: #000; font-size: 12pt; }
  .hero { min-height: auto; background: #fff; color: #000; }
  .hero__scrim, .hero__bg { display: none; }
  .hero__title, .hero__sub { color: #000; text-shadow: none; }
}

/* --------------------------------------------------------------------------
   21. Photography — galleries, the tour band, and photo-led headers
   -------------------------------------------------------------------------- */
.gal { margin-top: clamp(26px, 3vw, 40px); }
.gal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 16px;
}
.gal__title {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-700);
}
.gal__meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.gal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 10px;
}
.gal__item {
  position: relative;
  padding: 0;
  border: 0;
  margin: 0;
  background: var(--shell-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 2;
  display: block;
}
.gal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.35s var(--ease);
}
.gal__item:hover img { transform: scale(1.045); filter: brightness(1.04); }
.gal__item:focus-visible { outline: 2px solid var(--jc-500); outline-offset: 2px; }
.gal__item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 27, 37, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.gal__item:hover::after { opacity: 1; }
.gal__cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.gal__item:hover .gal__cap { opacity: 1; transform: none; }
/* The first frame of a build gallery runs the full width and sets the scene. */
.gal__grid--lead .gal__item:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 640px) {
  .gal__grid--lead .gal__item:first-child { aspect-ratio: 3 / 2; }
}

.gal__credit {
  margin: 14px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* --- Video tour ------------------------------------------------------------ */
.tour {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jc-900);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
}
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.tour__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 27, 37, 0.62), rgba(0, 27, 37, 0.12) 55%);
  transition: background 0.3s var(--ease);
}
.tour__btn:hover::before { background: linear-gradient(to top, rgba(0, 27, 37, 0.5), rgba(0, 27, 37, 0.05) 55%); }
.tour__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 20, 30, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.tour__btn:hover .tour__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.tour__play::after {
  content: "";
  margin-left: 5px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--jc-700);
}
.tour__label {
  position: absolute;
  left: clamp(18px, 2.4vw, 32px);
  bottom: clamp(16px, 2.2vw, 28px);
  right: clamp(18px, 2.4vw, 32px);
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 20, 30, 0.5);
}
.tour__label small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.45em;
}

/* --- Build header (portfolio) ---------------------------------------------- */
.build { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.build:first-of-type { border-top: 0; padding-top: 0; }
.build__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.build__head h3 { margin: 0.1em 0 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.build__head p { margin: 0; }
@media (max-width: 780px) {
  .build__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
