/* GS Builders — premium editorial landing page (v2)
   Palette: paper / linen alternation, clay accent, ink text
   Typography: Fraunces (display, modern serif w/ optical sizing) + Inter (body)
   Vibe: contemporary architecture firm — Norm Architects / Aesop / Vincent Van Duysen
*/

:root {
  --paper:        #FAF8F4;   /* off-white, base */
  --paper-pure:   #FFFFFF;   /* card surface */
  --linen:        #EBE3D2;   /* warm beige, alt section */
  --linen-soft:   #F2EBDC;   /* between paper & linen */
  --linen-deep:   #DDD2BB;   /* deeper beige, accents */
  --ink:          #1A1A1A;   /* primary text */
  --ink-soft:     #3A3A36;   /* body / muted text — strong enough to read at 15-17px */
  --ink-mute:     #5A5A55;   /* tertiary, e.g. small labels on light bg */
  --ink-faint:    rgba(26,26,26,0.72);
  --line:         rgba(26,26,26,0.12);
  --line-strong:  rgba(26,26,26,0.22);
  --clay:         #9D6630;   /* warm tan accent — darker for AA on light bg */
  --clay-bright:  #B57E3F;   /* brighter clay for use on dark/ink bg */
  --clay-deep:    #774B22;
  --maroon:       #7B1F2E;   /* brand — used sparingly for primary CTA */

  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1360px;
  --gutter:    clamp(20px, 4vw, 64px);
  --section-pad: clamp(80px, 12vw, 180px);

  --radius: 0px;          /* sharp / editorial */
  --ease:   cubic-bezier(.7,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis controls scroll */
}

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* Lenis smooth scroll setup */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   Reusable type
   ============================================================ */

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 400;        /* Fraunces is gorgeous at 400 */
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
}

h1 {
  font-size: clamp(48px, 8.5vw, 132px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
h2 {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.96;
}
h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}
h4 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  font-family: var(--body);
  letter-spacing: 0;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--ink);
}

p { color: var(--ink-soft); }

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Char-split helpers (set by JS) */
.split-line { display: block; overflow: hidden; }
.split-char { display: inline-block; will-change: transform; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  background: transparent;
  border: none;
}
.btn .label {
  position: relative;
  padding: 18px 0;
}
.btn .label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.btn:hover .label::after {
  transform-origin: left center;
  transform: scaleX(0);
  animation: btnUnderline .8s var(--ease) .15s forwards;
}
@keyframes btnUnderline {
  0%   { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}
.btn .arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  transition: transform .5s var(--ease), background .25s var(--ease);
}
.btn:hover .arrow { transform: rotate(-45deg); }
.btn .arrow svg { width: 14px; height: 14px; }

.btn-light { color: var(--paper); }
.btn-light .arrow { background: var(--paper); color: var(--ink); }

/* Filled CTA — used for primary "Contact Us" */
.btn-fill {
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn-fill {
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.btn-fill:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.btn-fill .arrow {
  width: auto; height: auto; background: transparent; border-radius: 0;
}
.btn-fill .arrow svg { width: 14px; height: 14px; }

.btn-outline-light {
  padding: 16px 28px;
  background: transparent;
  border: 1px solid rgba(250,248,244,0.4);
  color: var(--paper);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s var(--ease);
}
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), color .4s var(--ease);
  color: var(--paper);
}
.site-header.scrolled {
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
  color: inherit;
}
.brand-mark img {
  height: 104px;
  width: auto;
  display: block;
  transition: height .3s var(--ease), filter .3s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.site-header.scrolled .brand-mark img {
  height: 88px;
  filter: none;
}
.brand-mark .brand-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  font-style: italic;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 30, 'SOFT' 100;
  line-height: 1;
  color: #FFFFFF;
  text-shadow:
    0 1px 8px rgba(0,0,0,0.7),
    0 3px 20px rgba(0,0,0,0.45);
}
.site-header.scrolled .brand-mark .brand-text {
  color: var(--ink);
  text-shadow: none;
}
.brand-mark .brand-sub {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 4px;
  color: #F2C172;
  opacity: 1;
  text-shadow:
    0 1px 6px rgba(0,0,0,0.65),
    0 2px 14px rgba(0,0,0,0.4);
}
.site-header.scrolled .brand-mark .brand-sub {
  color: var(--clay);
  opacity: 1;
  text-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  overflow: hidden;
  height: 20px;
  display: inline-block;
}
.site-nav a span {
  display: block;
  transition: transform .5s var(--ease);
}
.site-nav a span::after {
  content: attr(data-text);
  display: block;
}
.site-nav a:hover span { transform: translateY(-100%); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  padding: 120px 0 60px;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    /* keep middle bright so the villa stays visible; darken top + bottom for text */
    linear-gradient(180deg,
      rgba(15,18,28,0.55) 0%,
      rgba(15,18,28,0.18) 30%,
      rgba(15,18,28,0.18) 55%,
      rgba(10,10,14,0.92) 100%),
    url('../img/elevation_new.png');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
/* Vignettes target the two text zones: headline (lower-left) and side copy (right). */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* lower-left under the headline */
    radial-gradient(ellipse 70% 55% at 22% 88%, rgba(8,10,16,0.78) 0%, transparent 65%),
    /* right side under the hero-side copy — handles the bright warm villa lights */
    radial-gradient(ellipse 60% 80% at 92% 78%, rgba(8,10,16,0.65) 0%, transparent 60%),
    /* soft left-edge fade to cool down the palm silhouettes */
    linear-gradient(90deg, rgba(10,12,20,0.45) 0%, transparent 28%);
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-meta {
  position: absolute;
  top: 160px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow:
    0 1px 6px rgba(0,0,0,0.7),
    0 3px 18px rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: 2;
}
.hero-meta .dot { background: #F2C172; }
.hero-meta .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.hero-meta .left,
.hero-meta .right { display: flex; gap: 28px; align-items: center; }
.hero-meta .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--clay);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  color: #FFFFFF;
  text-wrap: balance;
  margin-bottom: 0;
  max-width: 1100px;
  text-shadow:
    0 2px 14px rgba(0,0,0,0.55),
    0 8px 40px rgba(0,0,0,0.45);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 em {
  /* Bright honey-gold — brighter than the villa lights so it doesn't melt into them */
  color: #F2C172;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  text-shadow:
    0 2px 14px rgba(60,30,8,0.6),
    0 8px 40px rgba(0,0,0,0.4);
}
.hero-side {
  max-width: 300px;
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow:
    0 1px 8px rgba(0,0,0,0.65),
    0 4px 24px rgba(0,0,0,0.5);
}
.hero-side p { color: inherit; opacity: 0.96; }
.hero-side .arrow-down {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero-side .arrow-down::after {
  content: "";
  width: 28px; height: 28px;
  background: var(--clay);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FAF8F4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><polyline points='5 12 12 19 19 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   Section frame
   ============================================================ */

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}
.section.paper { background: var(--paper); }
.section.linen { background: var(--linen); }
.section.linen-soft { background: var(--linen-soft); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark p, .section.dark .lead { color: rgba(250,248,244,0.88); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper); }
.section.dark h1 em, .section.dark h2 em, .section.dark h3 em,
.listen h2 em, .page-hero h1 em {
  color: var(--clay-bright);
}
.section.dark .eyebrow { color: var(--clay-bright); }
.section.dark .eyebrow::before { background: var(--clay-bright); }

/* Section dividers — thin clay rule */
.section + .section { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: clamp(60px, 8vw, 96px);
  align-items: end;
}
.section-head .eyebrow { margin-bottom: 28px; }
.section-head h2 { text-wrap: balance; }
.section-head .lead {
  max-width: 460px;
}

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Manifesto / Trust intro
   ============================================================ */

.manifesto-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.manifesto-grid .left { position: sticky; top: 120px; }
.manifesto-grid .left h2 {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.manifesto-grid .left .eyebrow { margin-bottom: 28px; }
.manifesto-grid .left .lead { margin-top: 28px; max-width: 380px; }

.pillars { display: flex; flex-direction: column; }
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar .num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 18px;
  color: var(--clay);
  letter-spacing: 0.04em;
  font-style: italic;
  font-variation-settings: 'opsz' 30, 'SOFT' 100;
}
.pillar h3 {
  margin-bottom: 12px;
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 80;
}
.pillar p { font-size: 15.5px; line-height: 1.65; max-width: 520px; }

@media (max-width: 820px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-grid .left { position: static; }
}

/* ============================================================
   Stats band — counter animation
   ============================================================ */

.stats {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--linen);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}
.stat .num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat .num .suffix {
  font-size: 0.4em;
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'WONK' 1;
  color: var(--clay);
  font-weight: 400;
}
.stat .label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}

/* ============================================================
   8 Stages — sticky number rail + alternating
   ============================================================ */

.stages-section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.stages-list { display: flex; flex-direction: column; }

.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.stage:first-child { border-top: 0; padding-top: 0; }
.stage:last-child { padding-bottom: 0; }
.stage.flip .stage-media { order: 2; }
.stage.flip .stage-text { order: 1; }

.stage-text {
  position: relative;
}
.stage-text .stage-num {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.9;
  color: var(--linen);
  letter-spacing: -0.05em;
  position: absolute;
  top: -30px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.stage.flip .stage-text .stage-num { left: auto; right: -20px; }
.section.linen .stage-text .stage-num { color: var(--linen-deep); }

.stage-text .stage-inner {
  position: relative;
  z-index: 1;
}
.stage-text .label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.stage-text .label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--clay);
}
.stage-text h3 {
  margin-bottom: 24px;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 0;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.stage-text p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}
.stage-text .stage-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stage-text .stage-meta span {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.stage-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--linen);
}
.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.stage-media:hover img { transform: scale(1.04); }
.stage-media .frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(250,248,244,0.35);
  margin: 22px;
  pointer-events: none;
  z-index: 1;
}
.stage-media .badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(26,26,26,0.6);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
}

/* ============================================================
   Listen / dark CTA
   ============================================================ */

.listen {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(120px, 16vw, 220px) 0;
  text-align: center;
  overflow: hidden;
}
.listen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(168,112,58,0.18) 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.listen .container { position: relative; z-index: 2; max-width: 980px; }
.listen .eyebrow { color: var(--clay-bright); margin-bottom: 32px; }
.listen .eyebrow::before { background: var(--clay-bright); }
.listen h2 {
  color: var(--paper);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-weight: 300;
  margin-bottom: 36px;
}
.listen p {
  color: rgba(250,248,244,0.92);
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.55;
}

/* ============================================================
   Pricing
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pricing-card {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background .35s var(--ease);
  cursor: default;
}
.section.linen .pricing-card { background: var(--linen); }
.pricing-card:hover { background: var(--linen-soft); }
.section.linen .pricing-card:hover { background: var(--paper); }

.pricing-card .num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 14px;
  color: var(--clay);
  letter-spacing: 0.04em;
  font-style: italic;
  font-variation-settings: 'opsz' 30, 'SOFT' 100;
}
.pricing-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 80, 'WONK' 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.pricing-card p {
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}
.pricing-cta {
  text-align: left;
  margin-top: 60px;
}

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  background: var(--clay);
  color: var(--paper);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 60px;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot {
  width: 12px; height: 12px;
  background: var(--paper);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Gallery carousel
   ============================================================ */

.gallery-section { overflow: hidden; }
.gallery-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 64px;
}
.gallery-head .left .eyebrow { margin-bottom: 24px; }
.gallery-head .right { display: flex; align-items: center; gap: 16px; }

.carousel-controls {
  display: flex;
  gap: 6px;
}
.carousel-controls button {
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all .25s var(--ease);
  border-radius: 50%;
  background: transparent;
}
.carousel-controls button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.carousel-controls button:disabled { opacity: 0.3; cursor: not-allowed; }

.carousel {
  position: relative;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 12px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.gallery-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 280px;
  scroll-snap-align: start;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.gallery-card .media {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--linen);
}
.gallery-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s var(--ease);
  filter: grayscale(0.15);
}
.gallery-card:hover .media img { transform: scale(1.05); filter: none; }

.gallery-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  gap: 16px;
}
.gallery-card .meta .info { min-width: 0; }
.gallery-card .label {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.gallery-card .title {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'WONK' 1;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.gallery-card .loc {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-soft);
}
.gallery-card .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.gallery-card:hover .arrow {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

/* ============================================================
   Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.contact-intro h2 {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-weight: 300;
  margin-bottom: 28px;
}
.contact-intro .lead { margin-bottom: 48px; }
.contact-info {
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.contact-row .ic svg { width: 14px; height: 14px; }
.contact-row .body { line-height: 1.55; }
.contact-row .lbl {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.contact-row .val {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
}

.contact-form {
  background: var(--paper);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
}
.section.paper .contact-form { background: var(--linen-soft); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: border-color .25s var(--ease);
  font-family: var(--body);
  width: 100%;
  border-radius: 0;
}
.field textarea { min-height: 80px; resize: vertical; padding-top: 10px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-actions {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.form-note {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 24px;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: rgba(250,248,244,0.82);
  padding: clamp(80px, 10vw, 120px) 0 32px;
  position: relative;
}
.footer-mark {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper);
  margin-bottom: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(250,248,244,0.12);
}
.footer-brand p {
  color: rgba(250,248,244,0.78);
  font-size: 15px;
  line-height: 1.65;
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay-bright);
  margin-bottom: 26px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(250,248,244,0.85);
  font-size: 14.5px;
  position: relative;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer-col a:hover { color: var(--paper); padding-left: 14px; }
.footer-col a:hover::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--clay-bright);
}
.footer-col p {
  color: rgba(250,248,244,0.78);
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(250,248,244,0.18);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(250,248,244,0.7);
  letter-spacing: 0.04em;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250,248,244,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,244,0.7);
  transition: all .25s var(--ease);
}
.socials a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: rotate(-15deg);
}
.socials svg { width: 15px; height: 15px; }

/* ============================================================
   WhatsApp FAB
   ============================================================ */

.whatsapp-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform .3s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08) rotate(-8deg); }
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============================================================
   Reveal defaults (used by GSAP)
   Only hide BEFORE animation if GSAP has booted (sets html.gsap-ready).
   Without JS, or if GSAP fails / hasn't loaded yet, content stays visible.
   ============================================================ */

html.gsap-ready .reveal { opacity: 0; transform: translateY(40px); }
html.gsap-ready .reveal-img { opacity: 0; }

/* ============================================================
   Gallery page
   ============================================================ */

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 220px 0 120px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  color: var(--paper);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-weight: 300;
  margin-bottom: 28px;
}
.page-hero h1 em { color: var(--clay); }
.page-hero .eyebrow { color: var(--clay); margin-bottom: 24px; }
.page-hero .eyebrow::before { background: var(--clay); }
.page-hero p {
  color: rgba(250,248,244,0.75);
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 560px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 72px;
}
.gallery-filters button {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: transparent;
  transition: all .25s var(--ease);
  border-radius: 999px;
}
.gallery-filters button:hover { color: var(--ink); border-color: var(--ink); }
.gallery-filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.gallery-masonry {
  columns: 3;
  column-gap: 18px;
}
.gallery-masonry .item {
  break-inside: avoid;
  margin-bottom: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery-masonry .item img {
  width: 100%;
  display: block;
  transition: transform .9s var(--ease), filter .5s var(--ease);
  filter: grayscale(0.15);
}
.gallery-masonry .item:hover img { transform: scale(1.05); filter: none; }
.gallery-masonry .item .caption {
  position: absolute;
  left: 22px; bottom: 22px;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'WONK' 1;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  background: rgba(26,26,26,0.65);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}
.gallery-masonry .item:hover .caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 60px 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lightbox .close,
.lightbox .nav {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(250,248,244,0.1);
  color: var(--paper);
  border: 1px solid rgba(250,248,244,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.lightbox .close:hover,
.lightbox .nav:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.lightbox .close { top: 24px; right: 24px; }
.lightbox .nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stage { grid-template-columns: 1fr; gap: 36px; }
  .stage.flip .stage-media { order: 0; }
  .stage.flip .stage-text { order: 0; }
  .stage-text .stage-num { font-size: clamp(72px, 16vw, 130px); top: -20px; left: -8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-masonry { columns: 2; }
  .gallery-card { flex: 0 0 calc((100% - 24px) / 2); }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-side { text-align: left; max-width: 100%; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .header-actions .btn-fill { display: none; }
  .hamburger { display: flex; }
  .site-nav.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    z-index: 105;
    padding: 100px var(--gutter);
  }
  .site-nav.mobile-open a {
    font-size: clamp(28px, 7vw, 40px);
    font-family: var(--display);
    font-style: italic;
    color: var(--ink);
    height: auto;
    overflow: visible;
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
    font-weight: 300;
  }
  .site-nav.mobile-open a span::after { display: none; }
  .site-header.scrolled.menu-open {
    background: var(--paper);
    color: var(--ink);
  }
  .hero { padding-top: 120px; min-height: 90vh; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .gallery-card { flex: 0 0 88%; min-width: unset; }
  .hero-meta { font-size: 10px; }
  .hero-meta .left .item:nth-child(2) { display: none; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-head .right .btn { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
  .stats-grid { gap: 32px 18px; }
  .form-actions { gap: 16px; }
  .marquee-track { font-size: 32px; gap: 40px; }
  .marquee-track span { gap: 40px; }
}

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