/* =============================================================
   UPPAL — Ultra-premium luxury real estate experience
   Design system & base styles
   ============================================================= */

/* ---------- Fonts ---------- */
/* Cormorant Garamond (editorial serif) + Manrope (modern sans) via <link> in HTML */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg:            #050505;
  --bg-2:          #0b0b0c;
  --panel:         #111111;
  --panel-2:       #151517;
  --line:          rgba(212, 175, 55, 0.16);
  --line-soft:     rgba(255, 255, 255, 0.08);
  --gold:          #d4af37;
  --gold-2:        #f4e4a6;
  --gold-deep:     #a8842a;
  --ink:           #f5f3ee;
  --ink-2:         #b8b4ab;
  --ink-3:         #6f6b63;

  /* Typography */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(3.4rem, 11vw, 12rem);
  --fs-h1:      clamp(2.6rem, 7vw, 7rem);
  --fs-h2:      clamp(2.1rem, 4.6vw, 4.6rem);
  --fs-h3:      clamp(1.5rem, 2.4vw, 2.4rem);
  --fs-lead:    clamp(1.05rem, 1.4vw, 1.4rem);
  --fs-body:    clamp(0.98rem, 1.05vw, 1.1rem);
  --fs-eyebrow: clamp(0.68rem, 0.8vw, 0.78rem);

  /* Spacing */
  --gutter: clamp(1.4rem, 5vw, 7rem);
  --section: clamp(6rem, 14vh, 14rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --radius: 18px;
  --max: 1680px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

img, svg, video { display: block; max-width: 100%; }
img { -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
ul { list-style: none; }
::selection { background: rgba(212,175,55,0.28); color: #fff; }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); font-weight: 300; }
.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: clamp(1.6rem, 3vw, 3.4rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: "";
  width: clamp(1.6rem, 3vw, 3.4rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.gold-text {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-2) 45%, var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Word / line reveal masks (JS driven) */
.reveal-line { display: block; overflow: hidden; }
.reveal-word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-word > span { display: inline-block; will-change: transform; }
.reveal-mask { overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }

/* =============================================================
   GRAIN / NOISE + VIGNETTE OVERLAYS
   ============================================================= */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.7s steps(4) infinite;
}
@keyframes grainShift {
  0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)}
  50%{transform:translate(2%,-2%)} 75%{transform:translate(-1%,1%)} 100%{transform:translate(1%,-1%)}
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 8000;
  background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* =============================================================
   CUSTOM CURSOR + GLOW
   ============================================================= */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 40vw; height: 40vw;
  max-width: 620px; max-height: 620px;
  border-radius: 50%;
  pointer-events: none; z-index: 20;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.04) 30%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 0.6s ease;
  will-change: transform;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 10000;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .4s var(--ease), height .4s var(--ease), border-color .4s, opacity .4s, background .4s;
  will-change: transform;
}
body.cursor-hover .cursor-ring { width: 74px; height: 74px; border-color: rgba(212,175,55,0.9); background: rgba(212,175,55,0.06); }
body.cursor-hover .cursor-dot { width: 0; height: 0; }
.cursor-ring .cursor-label {
  position:absolute; inset:0; display:grid; place-items:center;
  font-size:0.5rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold);
  opacity:0; transition:opacity .3s;
}
body.cursor-drag .cursor-ring { width: 96px; height: 96px; }
body.cursor-drag .cursor-ring .cursor-label { opacity: 1; }
body.cursor-drag .cursor-dot { width: 0; height: 0; }
@media (hover: none), (max-width: 860px) {
  .cursor-glow, .cursor-dot, .cursor-ring { display: none; }
}

/* =============================================================
   PRELOADER
   ============================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 12000;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
}
.preloader__inner { text-align: center; position: relative; z-index: 2; }
.preloader__logo {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: 0.3em;
  font-weight: 300;
  line-height: 1;
  padding-left: 0.3em;
  color: var(--ink);
  display: flex; justify-content: center;
}
.preloader__logo span { display: inline-block; transform: translateY(110%); opacity: 0; }
.preloader__sub {
  margin-top: 1.4rem;
  font-size: 0.7rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--ink-3); opacity: 0;
}
.preloader__count {
  position: absolute; bottom: clamp(1.5rem,5vh,3rem); right: var(--gutter);
  font-family: var(--serif); font-size: clamp(3rem, 12vw, 9rem);
  line-height: 1; color: rgba(255,255,255,0.06);
}
.preloader__bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
}
.preloader__curtain {
  position: fixed; inset: 0; z-index: 11999; background: var(--bg);
  transform: translateY(0);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem,2.4vw,1.8rem) var(--gutter);
  transition: background .6s var(--ease), backdrop-filter .6s var(--ease), padding .6s var(--ease), border-color .6s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(5,5,5,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  padding-top: clamp(0.7rem,1.6vw,1.1rem);
  padding-bottom: clamp(0.7rem,1.6vw,1.1rem);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.7rem; letter-spacing: 0.34em; font-weight: 400;
  padding-left: 0.34em;
  position: relative;
}
.nav__logo b { font-weight: 400; }
.nav__logo em { font-style: normal; color: var(--gold); }
.nav__menu { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.8rem); }
.nav__link {
  position: relative; font-size: 0.74rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-2); font-weight: 500;
  padding: 0.4rem 0;
  transition: color .4s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.75rem 1.5rem; border: 1px solid var(--line);
  border-radius: 100px; color: var(--ink);
  transition: background .5s var(--ease), border-color .5s, color .5s;
}
.nav__cta:hover { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }

.nav__toggle { display: none; width: 34px; height: 20px; position: relative; }
.nav__toggle span { position:absolute; left:0; width:100%; height:1px; background:var(--ink); transition: .4s var(--ease); }
.nav__toggle span:nth-child(1){ top: 3px; }
.nav__toggle span:nth-child(2){ bottom: 3px; }
body.menu-open .nav__toggle span:nth-child(1){ top:9px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2){ bottom:10px; transform: rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,6,7,0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  pointer-events: none;
}
body.menu-open .nav__mobile { clip-path: inset(0 0 0 0); pointer-events: auto; }
.nav__mobile a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 4rem);
  color: var(--ink-2); padding: 0.4rem 0;
  display:flex; align-items:baseline; gap:1rem;
  transition: color .4s;
}
.nav__mobile a span { font-family: var(--sans); font-size: 0.7rem; color: var(--gold); letter-spacing:0.2em; }
.nav__mobile a:hover { color: var(--ink); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 2.2rem; border-radius: 100px;
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  overflow: hidden; isolation: isolate;
  will-change: transform;
}
.btn__label { position: relative; z-index: 2; display:inline-block; }
.btn__fill { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.btn--gold { color: #0a0a0a; background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-2)); box-shadow: 0 12px 40px -12px rgba(212,175,55,0.6); }
.btn--gold::after {
  content:""; position:absolute; inset:0; z-index:1; border-radius:inherit;
  background: radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.5), transparent 60%);
  opacity:0; transition: opacity .4s;
}
.btn--gold:hover::after { opacity: 0.6; }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); }
.btn--ghost .btn__fill { background: var(--gold); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn--ghost:hover { color: #0a0a0a; border-color: var(--gold); }
.btn--ghost:hover .btn__fill { transform: translateY(0); }
.btn .arrow { position: relative; z-index: 2; width: 18px; height: 12px; overflow: hidden; }
.btn .arrow::before, .btn .arrow::after {
  content:""; position:absolute; top:50%; left:0;
}
.btn .arrow svg { transition: transform .5s var(--ease); }
.btn:hover .arrow svg { transform: translateX(4px); }

/* Ripple */
.ripple { position:absolute; border-radius:50%; transform: translate(-50%,-50%) scale(0); background: rgba(255,255,255,0.35); pointer-events:none; z-index:1; }

/* =============================================================
   HERO
   ============================================================= */
.hero { height: 100svh; min-height: 640px; position: relative; overflow: hidden; display: grid; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 120%; object-fit: cover;
  transform: scale(1.15); will-change: transform;
  filter: brightness(0.62) contrast(1.05) saturate(0.9);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.65) 0%, transparent 22%, transparent 55%, rgba(5,5,5,0.85) 100%),
    radial-gradient(80% 60% at 50% 40%, transparent 40%, rgba(5,5,5,0.6) 100%);
}
.hero__particles { position:absolute; inset:0; z-index:2; pointer-events:none; }
.hero__inner {
  position: relative; z-index: 3;
  align-self: center;
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: var(--gutter);
  padding-top: 6vh;
}
.hero__eyebrow { opacity: 0; }
.hero__title {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 1.8rem;
  max-width: 16ch;
}
.hero__title .reveal-word > span { transform: translateY(110%); }
.hero__lead {
  max-width: 46ch; color: var(--ink-2); font-size: var(--fs-lead); font-weight: 300;
  opacity: 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; opacity: 0; }

.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem); z-index: 4;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0;
}
.hero__scroll .line { width: 1px; height: 60px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.hero__scroll .line::after {
  content:""; position:absolute; top:-40%; left:0; width:100%; height:40%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollLine 2.2s var(--ease-io) infinite;
}
@keyframes scrollLine { 0%{top:-45%} 60%,100%{top:105%} }
.hero__side {
  position: absolute; z-index: 3; bottom: clamp(1.4rem,5vh,3rem); right: var(--gutter);
  text-align: right; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0;
}

/* =============================================================
   MARQUEE / QUOTE BANDS
   ============================================================= */
.marquee { padding: clamp(2.4rem,6vh,5rem) 0; border-block: 1px solid var(--line-soft); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__track span {
  font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 6rem); font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,0.4);
  padding: 0 2.5rem; line-height: 1;
}
.marquee__track .dot { -webkit-text-stroke: 0; color: var(--gold); }
.marquee__track .fill { color: var(--ink); -webkit-text-stroke: 0; }

/* Big quote section */
.quote { padding: var(--section) 0; text-align: center; position: relative; overflow: hidden; }
.quote__mark { font-family: var(--serif); font-size: clamp(8rem,26vw,26rem); line-height: 0.6; color: rgba(212,175,55,0.10); position:absolute; top: 8%; left: 50%; transform: translateX(-50%); pointer-events:none; }
.quote__text {
  font-family: var(--serif); font-weight: 300; position: relative; z-index: 2;
  font-size: clamp(1.9rem, 5vw, 5rem); line-height: 1.12; max-width: 22ch; margin-inline: auto;
}
.quote__by { margin-top: 2.4rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* Section heading block */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.6rem, 6vh, 6rem); }
.sec-head__title { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.02; max-width: 18ch; }
.sec-head__meta { max-width: 34ch; color: var(--ink-2); font-size: var(--fs-body); }
.sec-index { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: 0.2em; }

/* =============================================================
   ABOUT — split
   ============================================================= */
.about { padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.about__copy .eyebrow { margin-bottom: 1.8rem; }
.about__h { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.02; margin-bottom: 2rem; }
.about__p { color: var(--ink-2); margin-bottom: 1.4rem; max-width: 52ch; }
.about__p strong { color: var(--ink); font-weight: 500; }
.gold-divider { height: 1px; width: 100%; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; margin: 2.2rem 0; }
.about__stats { display: flex; gap: clamp(1.5rem,4vw,3.5rem); margin: 2.4rem 0; flex-wrap: wrap; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.6rem); line-height: 1; }
.stat__num .gold-text { display:inline; }
.stat__label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.5rem; }

.about__visual { position: relative; }
.about__frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; }
.about__frame img { width: 100%; height: 108%; object-fit: cover; transform: scale(1.12); will-change: transform; filter: brightness(0.9) contrast(1.02); }
.about__frame::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 120px rgba(0,0,0,0.6); }
.about__float {
  position: absolute; bottom: -1.5rem; left: -1.5rem; z-index: 3;
  padding: 1.4rem 1.8rem; border-radius: 14px;
  background: rgba(17,17,19,0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
  will-change: transform;
}
.about__float .k { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.about__float .v { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.4rem; }
.about__tag {
  position:absolute; top:-1.2rem; right:-0.8rem; z-index:3;
  writing-mode: vertical-rl; font-size:0.6rem; letter-spacing:0.4em; text-transform:uppercase; color: var(--gold);
}

/* =============================================================
   LEGACY TIMELINE
   ============================================================= */
.legacy { padding: var(--section) 0; background:
  radial-gradient(120% 80% at 100% 0%, rgba(212,175,55,0.05), transparent 45%),
  var(--bg-2); position: relative; }
.legacy__top { display:grid; grid-template-columns: 1fr auto; gap: 2rem; align-items:end; margin-bottom: clamp(3rem,8vh,7rem); }
.legacy__big { font-family: var(--serif); font-weight:300; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.9; }
.legacy__timeline { position: relative; }
.legacy__spine { position:absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.legacy__spine::after { content:""; position:absolute; left:0; top:0; width:100%; height:var(--progress,0%); background: linear-gradient(180deg, var(--gold-2), var(--gold), var(--gold-deep)); box-shadow: 0 0 24px rgba(212,175,55,0.6); }
.legacy__steps { display: grid; gap: clamp(2.5rem, 7vh, 6rem); padding-left: clamp(2rem, 6vw, 5rem); }
.legacy__step { position: relative; display: grid; grid-template-columns: minmax(0,auto) 1fr; gap: clamp(1.5rem,4vw,4rem); align-items: baseline; }
.legacy__node { position:absolute; left: calc(-1 * clamp(2rem,6vw,5rem)); top: 0.6rem; width: 13px; height: 13px; transform: translateX(-6px); border-radius:50%; background: var(--bg); border: 1px solid var(--gold); }
.legacy__node::after { content:""; position:absolute; inset:3px; border-radius:50%; background: var(--gold); transform: scale(0); transition: transform .6s var(--ease); box-shadow: 0 0 16px var(--gold); }
.legacy__step.in .legacy__node::after { transform: scale(1); }
.legacy__year { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; color: var(--gold); min-width: 4ch; }
.legacy__year[data-count]::after { content: attr(data-suffix); }
.legacy__c h4 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.legacy__c p { color: var(--ink-2); max-width: 48ch; font-size: var(--fs-body); }

/* =============================================================
   WHAT WE DO — glass cards
   ============================================================= */
.expertise { padding: var(--section) 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(340px, 42vh, 460px);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(21,21,23,0.9), rgba(11,11,12,0.9));
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .6s;
}
.card:hover { border-color: var(--line); }
.card__img { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) saturate(0.9); }
.card:hover .card__img { opacity: 1; transform: scale(1.06); }
.card__glow {
  position:absolute; inset:0; z-index:1; opacity:0; transition:opacity .5s;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(212,175,55,0.14), transparent 60%);
}
.card:hover .card__glow { opacity: 1; }
.card__scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.85)); opacity:0; transition:opacity .8s; }
.card:hover .card__scrim { opacity: 1; }
.card__body { position: relative; z-index: 2; transform: translateZ(40px); }
.card__idx { font-family: var(--serif); font-size: 0.85rem; color: var(--gold); letter-spacing:0.2em; }
.card__icon { width: 46px; height: 46px; margin-bottom: 1.6rem; color: var(--gold); }
.card__icon svg { width: 100%; height: 100%; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin: 0.5rem 0 0.9rem; line-height: 1.05; }
.card__desc { color: var(--ink-2); font-size: 0.98rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .6s var(--ease), margin .6s; max-width: 42ch; }
.card:hover .card__desc { max-height: 140px; opacity: 1; }
.card__more { display:inline-flex; align-items:center; gap:0.6rem; margin-top:1.2rem; font-size:0.66rem; letter-spacing:0.24em; text-transform:uppercase; color: var(--gold); opacity:0.85; }

/* =============================================================
   3D EXPERIENCE
   ============================================================= */
.experience { position: relative; height: 130vh; }
.experience__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#three-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.experience__overlay {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(5,5,5,0.4));
}
.experience__overlay .eyebrow { justify-content: center; margin-bottom: 1.4rem; }
.experience__h { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 6rem); line-height: 1.02; max-width: 20ch; }
.experience__sub { margin-top: 1.4rem; color: var(--ink-2); max-width: 42ch; margin-inline:auto; }
.experience__hint { position:absolute; bottom: 2rem; left:50%; transform:translateX(-50%); z-index:2; font-size:0.6rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--ink-3); }

/* =============================================================
   PROJECTS — horizontal
   ============================================================= */
.projects { position: relative; background: var(--bg); }
.projects__head { padding-block: var(--section) 0; }
.projects__pin { height: 100vh; overflow: hidden; position: relative; }
.projects__track { display: flex; height: 100%; will-change: transform; }
.panel {
  position: relative; height: 100%; flex: 0 0 100vw;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(1rem,4vw,4rem);
  padding: 0 var(--gutter);
}
.panel__media { position: relative; height: 68vh; border-radius: var(--radius); overflow: hidden; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; filter: brightness(0.85); }
.panel__media::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 140px rgba(0,0,0,0.7); }
.panel__idx { position:absolute; top:1.4rem; left:1.4rem; z-index:2; font-family:var(--serif); font-size:1rem; color:#fff; letter-spacing:0.2em; padding:0.4rem 0.9rem; border:1px solid rgba(255,255,255,0.25); border-radius:100px; backdrop-filter: blur(6px); }
.panel__float { position:absolute; bottom:1.4rem; right:1.4rem; z-index:2; font-size:0.6rem; letter-spacing:0.28em; text-transform:uppercase; color:var(--ink); background: rgba(17,17,19,0.6); backdrop-filter: blur(12px); padding:0.6rem 1rem; border-radius:100px; border:1px solid var(--line-soft); }
.panel__body { max-width: 34rem; }
.panel__loc { display:inline-flex; align-items:center; gap:0.6rem; font-size:0.66rem; letter-spacing:0.28em; text-transform:uppercase; color:var(--gold); margin-bottom:1.6rem; }
.panel__title { font-family: var(--serif); font-weight:300; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1.0; margin-bottom: 1.4rem; }
.panel__over { color: var(--ink-2); margin-bottom: 1.4rem; max-width: 44ch; }
.panel__meta { display:flex; gap: 2.4rem; margin: 2rem 0; flex-wrap:wrap; }
.panel__meta .m span { display:block; }
.panel__meta .m .l { font-size:0.6rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--ink-3); margin-bottom:0.4rem; }
.panel__meta .m .d { font-family: var(--serif); font-size:1.3rem; }
.projects__progress { position:absolute; bottom: 2.2rem; left: var(--gutter); right: var(--gutter); z-index:5; display:flex; align-items:center; gap:1.4rem; }
.projects__progress .bar { flex:1; height:1px; background: var(--line-soft); position:relative; }
.projects__progress .bar i { position:absolute; left:0; top:0; height:100%; width: var(--p, 0%); background: var(--gold); box-shadow:0 0 12px var(--gold); }
.projects__progress .cur { font-family:var(--serif); font-size:0.9rem; color:var(--gold); letter-spacing:0.2em; }

/* Renders strip */
.renders { padding: var(--section) 0; overflow: hidden; }
.renders__track { display:flex; gap: clamp(1rem,2vw,1.8rem); will-change: transform; }
.renders__item { position:relative; flex:0 0 auto; width: clamp(260px, 34vw, 520px); aspect-ratio: 4/3; border-radius: 14px; overflow:hidden; }
.renders__item img { width:100%; height:100%; object-fit:cover; transform: scale(1.08); transition: transform 1s var(--ease); filter: brightness(0.8); }
.renders__item:hover img { transform: scale(1.16); }
.renders__item figcaption { position:absolute; left:1rem; bottom:0.9rem; z-index:2; font-size:0.62rem; letter-spacing:0.24em; text-transform:uppercase; color:#fff; }

/* =============================================================
   VISION & MISSION
   ============================================================= */
.vision { position: relative; padding: var(--section) 0; overflow: hidden; }
.vision__bg { position:absolute; inset:0; z-index:0; opacity:0.22; }
.vision__bg img { width:100%; height:120%; object-fit:cover; transform: scale(1.2); filter: grayscale(0.3) brightness(0.6); will-change: transform; }
.vision__bg::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 60% at 50% 50%, transparent, var(--bg) 85%); }
.vision__grid { position:relative; z-index:2; display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.glass {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: clamp(2.2rem, 4vw, 4rem);
  background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.14);
  min-height: clamp(320px, 42vh, 460px);
  display:flex; flex-direction:column;
  will-change: transform;
}
.glass::before { content:""; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent); transform: scaleX(0); transform-origin:center; transition: transform 1.4s var(--ease); }
.glass.in::before { transform: scaleX(1); }
.glass__num { font-family:var(--serif); font-size:1rem; color:var(--gold); letter-spacing:0.2em; margin-bottom:auto; }
.glass__eyebrow { font-size:0.66rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; }
.glass__title { font-family:var(--serif); font-weight:300; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height:1.02; margin-bottom:1.4rem; }
.glass__text { color: var(--ink-2); font-size: var(--fs-lead); max-width: 40ch; }
.glass__line { height:1px; width:100%; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin:left; margin-top:2rem; }

/* =============================================================
   CTA band
   ============================================================= */
.cta-band { padding: var(--section) 0; text-align:center; position:relative; }
.cta-band__h { font-family:var(--serif); font-weight:300; font-size: clamp(2.6rem, 8vw, 8rem); line-height:0.98; margin-bottom:2.4rem; }
.cta-band__actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* =============================================================
   CAPABILITIES  (grid of six)
   ============================================================= */
.caps { display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.cap {
  position: relative; overflow: hidden;
  padding: clamp(1.6rem, 2.4vw, 2.6rem);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21,21,23,0.7), rgba(11,11,12,0.7));
  transition: border-color .55s var(--ease), transform .6s var(--ease), background .55s;
}
.cap::after { content:""; position:absolute; inset:0; opacity:0; transition:opacity .5s;
  background: radial-gradient(340px circle at 50% 0%, rgba(212,175,55,0.10), transparent 60%); }
.cap:hover { border-color: var(--line); transform: translateY(-6px); }
.cap:hover::after { opacity: 1; }
.cap__n { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); letter-spacing: .1em; line-height: 1; }
.cap__line { height:1px; background: var(--line-soft); margin: 1.1rem 0 1.2rem; transition: background .5s; }
.cap:hover .cap__line { background: linear-gradient(90deg, var(--gold), transparent); }
.cap h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.06; margin-bottom: .7rem; position:relative; z-index:1; }
.cap p { color: var(--ink-2); font-size: 0.96rem; position:relative; z-index:1; }

/* =============================================================
   LEADERSHIP
   ============================================================= */
.lead { padding: var(--section) 0; }
.lead__grid { display:grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items:center; }
.lead__mono {
  position:relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow:hidden;
  display:grid; place-items:center;
  background: linear-gradient(160deg, rgba(212,175,55,0.10), rgba(17,17,19,0.65));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.08);
}
.lead__mono > span[aria-hidden] { font-family: var(--serif); font-size: clamp(5rem, 13vw, 11rem); letter-spacing: .05em;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,0.6); }
.lead__mono .badge { position:absolute; bottom:1.3rem; left:1.4rem; -webkit-text-stroke:0;
  font-family: var(--sans); font-size:0.6rem; letter-spacing:0.26em; text-transform:uppercase; color: var(--gold); }
.lead__name { font-family: var(--serif); font-weight:300; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height:1; margin: 0 0 .6rem; }
.lead__role { font-size:0.72rem; letter-spacing:0.24em; text-transform:uppercase; color:var(--gold); margin-bottom:1.8rem; }
.lead__bio { color: var(--ink-2); font-size: var(--fs-lead); max-width: 54ch; font-weight:300; }

/* =============================================================
   COMPLIANCE  (trust strip)
   ============================================================= */
.compliance { padding: clamp(3rem, 8vh, 6rem) 0; }
.compliance__grid { display:grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.compliance__item { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.compliance__item .l { font-size:0.62rem; letter-spacing:0.22em; text-transform:uppercase; color:var(--ink-3); margin-bottom:0.8rem; }
.compliance__item .v { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.7rem); color: var(--ink); line-height:1.1; }

/* =============================================================
   ENQUIRY FORM
   ============================================================= */
.enquiry { padding: 0 0 var(--section); position: relative; }
.enquiry__grid { display:grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.enquiry__intro { position: sticky; top: clamp(6rem, 12vh, 9rem); }
.enquiry__intro .eyebrow { margin-bottom: 1.4rem; }
.enquiry__h { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.0; margin-bottom: 1.6rem; }
.enquiry__meta { color: var(--ink-2); max-width: 40ch; margin-bottom: 2rem; }
.enquiry__meta a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .4s; }
.enquiry__meta a:hover { border-color: var(--gold); }
.enquiry__points { display:flex; flex-direction:column; gap: 0.9rem; }
.enquiry__points li { position:relative; padding-left: 1.4rem; color: var(--ink-2); font-size: 0.95rem; }
.enquiry__points li::before { content:""; position:absolute; left:0; top:0.55em; width:6px; height:6px; background: var(--gold); transform: rotate(45deg); }

/* Frosted form panel */
.form {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background: linear-gradient(150deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.12);
}
.form__grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.field { display:flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.field .req { color: var(--gold); }
.field .opt { color: var(--ink-3); text-transform: none; letter-spacing: 0; font-size: 0.85em; }

.field input, .field textarea, .select select {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: rgba(5,5,5,0.35); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 0.85rem 1rem; transition: border-color .4s var(--ease), background .4s, box-shadow .4s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover, .select select:hover { border-color: rgba(255,255,255,0.16); }
.field input:focus, .field textarea:focus, .select select:focus {
  outline: none; border-color: var(--gold);
  background: rgba(5,5,5,0.55); box-shadow: 0 0 0 3px rgba(212,175,55,0.14);
}
/* Custom select */
.select { position: relative; }
.select::after {
  content:""; position:absolute; right: 1rem; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select option { background: #0c0c0d; color: var(--ink); }

/* Checkbox */
.field--check { flex-direction: row; align-items: flex-start; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.field--check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid var(--line); border-radius: 6px; background: rgba(5,5,5,0.4); cursor: pointer; position: relative; transition: background .3s, border-color .3s; }
.field--check input:checked { background: var(--gold); border-color: var(--gold); }
.field--check input:checked::after { content:""; position:absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid #0a0a0a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.field--check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; flex: 1; min-width: 12rem; }

/* Error state */
.field.invalid input, .field.invalid textarea, .field.invalid .select select { border-color: #e0645a; box-shadow: 0 0 0 3px rgba(224,100,90,0.12); }
.field__err { font-size: 0.74rem; color: #eb7a70; min-height: 0; display: none; }
.field.invalid .field__err { display: block; }
.field.invalid .field__err::before { content: "▲ "; font-size: 0.7em; vertical-align: middle; }

/* Honeypot — visually hidden but present for bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Footer of form: submit + status */
.form__foot { display:flex; align-items:center; gap: 1.4rem; margin-top: 1.8rem; flex-wrap: wrap; }
.form__submit[disabled] { opacity: 0.65; pointer-events: none; }
.form__submit.is-sending .btn__label::after { content: "…"; }
.form__status { font-size: 0.9rem; color: var(--ink-2); flex: 1; min-width: 12rem; }
.form__status.ok { color: var(--gold-2); }
.form__status.err { color: #eb7a70; }
.form.sent .form__grid, .form.sent .field--check, .form.sent .form__submit { opacity: 0.45; pointer-events: none; filter: grayscale(0.2); transition: opacity .5s; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { position: relative; padding: clamp(4rem,10vh,8rem) 0 2.4rem; border-top: 1px solid var(--line-soft); overflow:hidden; }
.footer__glow { position:absolute; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,20%), rgba(212,175,55,0.08), transparent 55%); }
.footer__top { position:relative; z-index:2; display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.footer__brand .logo { font-family:var(--serif); font-size: clamp(3rem,7vw,6rem); letter-spacing:0.2em; padding-left:0.2em; line-height:1; }
.footer__brand p { color:var(--ink-2); max-width:34ch; margin-top:1.4rem; }
.footer__col h5 { font-size:0.66rem; letter-spacing:0.28em; text-transform:uppercase; color:var(--ink-3); margin-bottom:1.4rem; }
.footer__col a, .footer__col p { color: var(--ink-2); display:block; margin-bottom:0.8rem; transition: color .4s; font-size:0.98rem; }
.footer__col a:hover { color: var(--gold); }
.footer__social { display:flex; gap:0.8rem; margin-top:0.6rem; }
.footer__social a { width:42px; height:42px; border:1px solid var(--line-soft); border-radius:50%; display:grid; place-items:center; color:var(--ink-2); transition: all .4s var(--ease); }
.footer__social a:hover { color:#0a0a0a; background:var(--gold); border-color:var(--gold); transform: translateY(-3px); }
.footer__social svg { width:16px; height:16px; }
.footer__sep { height:1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: clamp(3rem,7vh,5rem) 0 2rem; transform: scaleX(0); }
.footer__bottom { position:relative; z-index:2; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:0.72rem; letter-spacing:0.1em; color:var(--ink-3); }
.footer__bottom a:hover { color: var(--gold); }
.footer__giant { position:relative; z-index:1; font-family:var(--serif); font-weight:300; text-align:center; font-size: clamp(4rem, 22vw, 20rem); line-height:0.8; letter-spacing:0.06em; color: transparent; -webkit-text-stroke:1px rgba(255,255,255,0.05); margin-top: clamp(2rem,6vh,4rem); pointer-events:none; user-select:none; }

/* =============================================================
   REVEAL utility (JS toggles .in)
   ============================================================= */
.fx { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fx.in { opacity: 1; transform: none; }
.fx-blur { opacity: 0; filter: blur(14px); transform: scale(1.04); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); }
.fx-blur.in { opacity: 1; filter: blur(0); transform: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual { order: -1; }
  .legacy__top { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; align-content: center; gap: 1.6rem; }
  .panel__media { height: 38vh; }
  .panel__body { order: 2; }
  .vision__grid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .lead__grid { grid-template-columns: 1fr; }
  .lead__visual { order: -1; }
  .lead__mono { aspect-ratio: 16/10; }
  .compliance__grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry__grid { grid-template-columns: 1fr; }
  .enquiry__intro { position: static; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .caps { grid-template-columns: 1fr; }
  .compliance__grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { cursor: auto; }
  .nav__menu > .nav__link, .nav__menu > .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__side { display: none; }
  .hero__inner { align-self: end; padding-bottom: 16vh; padding-top: 0; }
  .hero__title { font-size: clamp(2.3rem, 8.5vw, 3.2rem); margin: 1.1rem 0 1.2rem; }
  .hero__lead { font-size: 1rem; max-width: 40ch; }
  .hero__actions { margin-top: 1.8rem; }
  .hero__actions .btn { padding: 0.95rem 1.6rem; }
  .quote__text { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .panel { grid-template-columns: 1fr; }
  /* On small screens, projects become vertical stack rather than pinned-horizontal */
  .projects__pin { height: auto; }
  .projects__track { flex-direction: column; }
  .panel { flex: none; height: auto; padding-block: 4rem; min-height: 100svh; }
  .projects__progress { display: none; }
  .experience { height: 100vh; }
  .experience__pin { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__media img { transform: none; }
}
