/* =====================================================================
   OMAR RAHIMAN  ·  monochrome / gradient / motion
   ===================================================================== */

/* Self-hosted variable fonts (no external request, no late swap) */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #050505;
  --ink-2: #0d0d0d;
  --paper: #f5f1e6;
  --paper-2: #ece6d6;
  --gold: #d4af37;
  --gold-deep: #8a6a12;
  --gold-pale: #f8e7a0;
  --white: #ffffff;
  --mute: rgba(255,255,255,.55);
  --mute-dark: rgba(5,5,5,.55);
  --hair: rgba(212,175,55,.22);
  --hair-dark: rgba(138,106,18,.28);

  /* metallic gold foils */
  --grad-light: linear-gradient(110deg, #7a5a10 0%, #c9a227 18%, #f3dc8a 36%, #fff4cc 50%, #f3dc8a 64%, #c9a227 82%, #7a5a10 100%);
  --grad-dark: linear-gradient(110deg, #5a4109 0%, #a8841c 25%, #e2c565 50%, #a8841c 75%, #5a4109 100%);
  --grad-shine: linear-gradient(110deg, #8a6a12 0%, #d4af37 30%, #fff1b8 48%, #fff8dc 52%, #d4af37 70%, #8a6a12 100%);
  --grad-btn: linear-gradient(135deg, #8a6a12 0%, #d4af37 35%, #fff1b8 50%, #d4af37 65%, #8a6a12 100%);

  --display: "Archivo", "Inter Display", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-stretch: 125%; }
/* Archivo carries a width axis; everything in the display face renders expanded. Inter has no width axis and is unaffected. */
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.js body { cursor: none; }
.js a, .js button, .js summary { cursor: none; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--gold); color: #000; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Sections / theme ---------- */
.sec { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.sec--dark { background: var(--ink); color: var(--white); }
.sec--light { background: var(--paper); color: var(--ink); }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .9;
  margin-bottom: 26px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--grad-light); }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  margin-bottom: 28px;
  max-width: 14ch;
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  max-width: 60ch;
  opacity: .72;
}
.sec__head { margin-bottom: clamp(56px, 7vw, 100px); }
.sec__head--center { text-align: center; }
.sec__head--center .h2, .sec__head--center .lede { margin-left: auto; margin-right: auto; }

.grad-text {
  background: var(--grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 6s ease-in-out infinite alternate;
}
.grad-text--dark { background-image: var(--grad-dark); }
.grad-text { background-size: 220% 100%; }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Preloader (split-panel reveal) ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s var(--ease-io); }
.preloader__panel--top { top: 0; transform-origin: top; }
.preloader__panel--bottom { bottom: 0; transform-origin: bottom; }
.preloader__panel::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .4s; }
.preloader__panel--top::after { bottom: 0; } .preloader__panel--bottom::after { top: 0; }
.preloader.is-done .preloader__panel--top { transform: translateY(-100%); }
.preloader.is-done .preloader__panel--bottom { transform: translateY(100%); }
.preloader.is-done .preloader__panel::after { opacity: 1; }
.preloader__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: opacity .5s, transform .6s var(--ease-io); }
.preloader.is-done .preloader__content { opacity: 0; transform: scale(.96); }
.preloader__mark { width: clamp(96px, 12vw, 180px); }
.preloader .monogram { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 24px rgba(212,175,55,.35)); animation: markIn 1.4s var(--ease-out) both; }
.monogram { overflow: visible; }
@keyframes markIn { from { opacity: 0; transform: scale(.7) rotate(-8deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 24px rgba(212,175,55,.35)); } }
.preloader__meta { display: flex; align-items: baseline; gap: 22px; }
.preloader__name { font-family: var(--display); font-weight: 700; letter-spacing: .32em; font-size: 12px; color: var(--gold); white-space: nowrap; animation: fadeUp .9s var(--ease-out) .3s both; }
.preloader__count { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; animation: fadeUp .9s var(--ease-out) .4s both; }
.preloader__count em { font-style: normal; font-size: .5em; }
.preloader__bar { width: min(60vw, 360px); height: 1px; background: var(--hair); overflow: hidden; animation: fadeUp .9s var(--ease-out) .5s both; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad-light); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.no-js .preloader { display: none; }

/* ---------- Cursor / grain / progress ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 1500; pointer-events: none; }
.cursor__dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.9);
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .3s, border-color .3s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: rgba(212,175,55,.18); }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } .js body, .js a, .js button, .js summary { cursor: auto; } }

.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1300;
  background: var(--grad-light); transform-origin: left; transform: scaleX(0);
}

/* ---------- Navigation ---------- */
.js .nav { transform: translateY(-16px); opacity: 0; transition: transform 1s var(--ease-out) 1.2s, opacity .8s ease 1.2s, padding .5s var(--ease-out), color .4s; }
body.is-ready .nav { transform: none; opacity: 1; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  color: #fff;
  transition: padding .5s var(--ease-out), color .4s;
}
.nav.is-light { color: var(--ink); }
.nav.is-light .monogram { filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: linear-gradient(180deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.75) 60%, rgba(5,5,5,0) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.nav.is-light::before { background: linear-gradient(180deg, rgba(245,241,230,.94) 0%, rgba(245,241,230,.8) 60%, rgba(245,241,230,0) 100%); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { padding: 14px var(--gutter); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.nav__logo-mark { display: inline-flex; width: 38px; height: 34px; transition: transform .5s var(--ease-out); }
.nav__logo:hover .nav__logo-mark { transform: scale(1.08) rotate(-4deg); }
.monogram { width: 100%; height: 100%; filter: drop-shadow(0 2px 6px rgba(212,175,55,.25)); }
@keyframes spin { to { transform: rotate(360deg); } }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu a {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__menu a:hover, .nav__menu a.is-active { opacity: 1; }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu .nav__cta { border: 1px solid var(--gold); color: var(--gold); padding: 9px 18px; border-radius: 999px; transition: background .4s, color .4s; }
.nav__menu .nav__cta::after { display: none; }
.nav__menu .nav__cta:hover { background: var(--gold); color: #000; }
.nav__burger {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav__burger { position: relative; z-index: 1250; border-radius: 50%; transition: background .3s, transform .3s var(--ease-out); }
.nav__burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-io), background .3s, width .3s; }
.nav.is-light .nav__burger span { background: var(--ink); }
.nav__burger.is-open { background: #e63946; box-shadow: 0 6px 20px rgba(230,57,70,.45); }
.nav__burger.is-open span { background: #fff; width: 20px; height: 2.5px; }
.nav__burger.is-open span:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
.nav__burger.is-open:active { transform: scale(.92); }

.overlay-menu { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; }
.overlay-menu__bg { position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); transition: transform .8s var(--ease-io); }
.overlay-menu.is-open { visibility: visible; pointer-events: auto; }
.overlay-menu.is-open .overlay-menu__bg { transform: translateY(0); }
.overlay-menu__links { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); gap: 6px; }
.overlay-menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 8vw, 3.6rem); letter-spacing: -.02em; line-height: 1.1;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.overlay-menu__links a span { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.overlay-menu.is-open .overlay-menu__links a { opacity: 1; transform: translateY(0); }
.overlay-menu.is-open .overlay-menu__links a:nth-child(1) { transition-delay: .25s; }
.overlay-menu.is-open .overlay-menu__links a:nth-child(2) { transition-delay: .3s; }
.overlay-menu.is-open .overlay-menu__links a:nth-child(3) { transition-delay: .35s; }
.overlay-menu.is-open .overlay-menu__links a:nth-child(4) { transition-delay: .4s; }
.overlay-menu.is-open .overlay-menu__links a:nth-child(5) { transition-delay: .45s; }
.overlay-menu.is-open .overlay-menu__links a:nth-child(6) { transition-delay: .5s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 999px; overflow: hidden;
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: color .4s var(--ease-out), border-color .4s, transform .3s var(--ease-out);
  isolation: isolate; will-change: transform;
}
.btn span { position: relative; z-index: 2; display: inline-block; transition: transform .3s var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-io);
}
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--grad-btn); background-size: 220% 100%; color: #000; border: 1px solid rgba(255,244,204,.5); animation: gradShift 5s ease-in-out infinite alternate; box-shadow: 0 10px 40px -12px rgba(212,175,55,.55); }
.btn--solid::before { background: #fff; }
.btn--solid:hover { color: #000; }
.btn--line { color: #fff; border: 1px solid rgba(212,175,55,.6); }
.btn--line::before { background: var(--grad-btn); }
.btn--line:hover { color: #000; border-color: var(--gold); }
.btn--lg { padding: 20px 38px; font-size: 14px; }
.sec--light .btn--line { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.hero__mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 2s ease .2s; }
body.is-ready .hero__mesh, .no-js .hero__mesh { opacity: 1; }
.blob {
  position: absolute; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 40% 40%, rgba(255,228,150,.42), rgba(212,175,55,.12) 45%, rgba(212,175,55,0) 70%);
  animation: blobDrift 20s ease-in-out infinite alternate;
}
.blob--1 { width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; top: -30%; right: -18%; opacity: .55; }
.blob--2 { width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; bottom: -14%; left: -18%; opacity: .3; animation-delay: -8s; animation-duration: 26s; }
@keyframes blobDrift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-4%, 5%, 0) scale(1.08); } }
.hero__lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(212,175,55,.12) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0; pointer-events: none; transition: opacity 1.8s ease .6s;
}
body.is-ready .hero__lines, .no-js .hero__lines { opacity: .5; }
.hero__grid {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(12px, 2vw, 32px); align-items: end;
  padding-top: clamp(110px, 14vh, 150px); padding-bottom: clamp(40px, 5vh, 64px);
}
.hero__text { min-width: 0; align-self: center; padding-bottom: 2vh; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-bottom: 30px; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.dot-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 10rem);
  line-height: .94; letter-spacing: -.02em;
  display: flex; flex-direction: column;
  white-space: nowrap; max-width: 100%;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero__line.is-open { overflow: visible; }
.hero__line--grad {
  background: var(--grad-shine); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 110% 0; } 50% { background-position: -10% 0; } 100% { background-position: 110% 0; } }
.split { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; }
.js .split .ch { opacity: 0; transform: translateY(110%) rotate(6deg); filter: blur(6px); }
.js .split.is-in .ch { animation: chIn 1.25s var(--ease-out) forwards; }
@keyframes chIn { 60% { filter: blur(0); } to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
.hero__line--grad .ch, .contact__title .grad-text .ch { color: var(--gold); transition: color .6s ease; }
.js .split.is-done .ch { animation: none; opacity: 1; transform: none; filter: none; }
.hero__line--grad .split.is-done .ch, .contact__title .grad-text.is-done .ch { color: transparent; }
.no-js .hero__line--grad .ch, .no-js .contact__title .grad-text .ch { color: transparent; }
.hero__rule { width: 100%; height: 1px; margin: 30px 0 26px; background: linear-gradient(90deg, var(--gold) 0%, rgba(212,175,55,.35) 40%, transparent 100%); transform-origin: left; }
.js .hero__rule.reveal { transform: scaleX(0); opacity: 1; transition: transform 1.2s var(--ease-out) .9s; }
.js .hero__rule.reveal.is-visible { transform: scaleX(1); }
.hero__lede { font-size: clamp(1.05rem, 1.45vw, 1.35rem); max-width: 34ch; opacity: .88; line-height: 1.5; font-weight: 500; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Portrait */
.hero__portrait { position: relative; margin: 0 calc(var(--gutter) * -1) 0 0; min-width: 0; justify-self: end; width: calc(100% + var(--gutter)); max-width: 1040px; height: min(90vh, 940px); min-height: 540px; }
.hero__portrait picture { display: block; position: absolute; inset: 0 -3% 0 -3%; }
.hero__portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; transform-origin: bottom center; }
.hero__portrait img {
  position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.6));
  opacity: 0; transform: translateX(6%) translateY(3%) scale(1.04);
  transition: opacity 1.4s var(--ease-out) .55s, transform 1.6s var(--ease-out) .55s;
}
body.is-ready .hero__portrait img, .no-js .hero__portrait img { opacity: 1; transform: none; }
body.is-ready .hero__portrait-glow, .no-js .hero__portrait-glow { opacity: 1; transform: none; }
/* gold light sweep that passes across the portrait once it lands */
.hero__sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; -webkit-mask: linear-gradient(180deg, #000 84%, transparent); mask: linear-gradient(180deg, #000 84%, transparent); }
.hero__sweep::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,244,204,.22) 45%, rgba(255,244,204,.38) 50%, rgba(255,244,204,.22) 55%, transparent); transform: skewX(-12deg); opacity: 0; }
body.is-ready .hero__sweep::before { animation: sweep 1.6s var(--ease-io) 1.5s both; }
@keyframes sweep { 0% { left: -40%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.hero__portrait-glow {
  /* layered material backdrop behind the subject; absorbs any residual edge fringe */
  position: absolute; inset: -12% -16% -4% -16%; z-index: 0; pointer-events: none;
  opacity: 0; transform: scale(.85); transition: opacity 1.6s var(--ease-out) .4s, transform 1.8s var(--ease-out) .4s;
  background:
    radial-gradient(60% 58% at 52% 46%, rgba(212,175,55,.30) 0%, rgba(212,175,55,.14) 35%, rgba(212,175,55,.05) 58%, transparent 72%),
    radial-gradient(42% 40% at 52% 58%, rgba(60,46,10,.9) 0%, rgba(30,24,8,.6) 50%, transparent 80%),
    radial-gradient(80% 60% at 50% 100%, rgba(212,175,55,.22), transparent 60%);
}
.hero__portrait-glow::after {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0 55%, rgba(255,244,204,.10) 65%, transparent 75% 100%);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%); mask: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
}

.js .marquee { transform: translateY(100%); opacity: 0; transition: transform 1.2s var(--ease-out) 1.1s, opacity 1s ease 1.1s; }
body.is-ready .marquee { transform: none; opacity: 1; }
.marquee { position: relative; z-index: 3; margin-top: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; padding: 20px 0; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-weight: 600; font-size: clamp(.9rem, 1.3vw, 1.15rem); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: .85; }
.marquee__track span:nth-child(4n+1) { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 1; }
.marquee__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-light); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(120px, 16vw, 240px) 0; }
.statement__text {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 3.1rem);
  line-height: 1.2; letter-spacing: -.02em; max-width: 26ch;
}
.statement__text .w { display: inline-block; opacity: .14; transition: opacity .25s linear; will-change: opacity; }
.no-js .statement__text .w { opacity: 1; }

/* ---------- Stats ---------- */
.stats { padding: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 28px 44px; border-right: 1px solid var(--hair); position: relative; overflow: hidden; min-width: 0; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(212,175,55,.22), transparent 60%); opacity: 0; transition: opacity .6s; }
.stat:hover::before { opacity: 1; }
.stat__num { display: flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap;
  background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num em { font-style: normal; font-size: .5em; }
.stat__label { display: block; margin-top: 14px; font-size: 13px; letter-spacing: .04em; opacity: .6; max-width: 24ch; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__sticky { position: sticky; top: 120px; }
.about__copy { opacity: .75; margin-bottom: 20px; max-width: 52ch; }
.about__quote { margin-top: 36px; padding-left: 28px; border-left: 2px solid; border-image: var(--grad-light) 1; }
.about__quote p { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__quote p { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.3; letter-spacing: -.01em; }
.about__cards { display: grid; gap: 22px; padding-top: 60px; }

.card { position: relative; border-radius: 22px; padding: 1px; background: var(--hair); transition: transform .25s ease-out; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, #d4af37 70%, #fff4cc 78%, #d4af37 86%, transparent 95% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.card:hover::before { opacity: 1; animation: angle 3s linear infinite; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes angle { to { --angle: 360deg; } }
.card__inner {
  position: relative; border-radius: 21px; padding: 40px 36px;
  background: linear-gradient(160deg, #141414, #080808);
}
.card__inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(212,175,55,.14), transparent 40%); pointer-events: none; }
.card__index { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 12px; overflow-wrap: anywhere; }
.card p { opacity: .7; font-size: 1rem; }

/* ---------- Leadership ---------- */
.leadership__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.dossier { margin: 44px 0 0; display: grid; }
.dossier div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair-dark); }
.dossier div:last-child { border-bottom: 1px solid var(--hair-dark); }
.dossier dt { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.dossier dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.pillars { display: grid; gap: 18px; padding-top: 10px; }
.pillar { position: relative; padding: 30px 32px 30px 96px; border: 1px solid var(--hair-dark); border-radius: 18px; background: rgba(255,255,255,.45); transition: transform .5s var(--ease-out), border-color .4s, background .4s; }
.pillar:hover { transform: translateX(10px); border-color: var(--gold); background: #fff; }
.pillar__num { position: absolute; left: 30px; top: 26px; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -.04em; background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.pillar p { font-size: .97rem; opacity: .72; }

/* ---------- Builds / bento ---------- */
.builds { overflow: hidden; }
.builds__glow { position: absolute; right: -20%; top: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.14), transparent 60%); pointer-events: none; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bento__card { position: relative; border-radius: 22px; padding: 1px; background: var(--hair); transition: transform .25s ease-out; }
.bento__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, #d4af37 70%, #fff4cc 78%, #d4af37 86%, transparent 95% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.bento__card:hover::before { opacity: 1; animation: angle 3s linear infinite; }
.bento__card .card__inner { height: 100%; }
.bento__card h3 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.03em; margin: 16px 0 12px; }
.bento__card p { opacity: .72; }
.bento__card--hero { grid-row: span 2; }
.bento__card--hero .card__inner { background: linear-gradient(160deg, #1a1608, #080808); display: flex; flex-direction: column; }
.bento__card--hero h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); overflow-wrap: anywhere; }
.bento__tag { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 8px 14px 8px 10px; border: 1px solid var(--hair); border-radius: 999px; }
.bento__vis { margin: -10px -10px 20px; }
.bento__list { margin-top: 22px; display: grid; gap: 10px; }
.bento__list li { position: relative; padding-left: 22px; font-size: .95rem; opacity: .8; }
.bento__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--grad-light); }
.bento__card--wide { grid-column: span 2; }
.bento__strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 36px; }
.bento__strip span { font-family: var(--display); font-weight: 700; font-size: clamp(.95rem, 1.6vw, 1.3rem); letter-spacing: .06em; text-transform: uppercase; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__strip i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; overflow: hidden; }
.bento__strip i::after { content: ""; position: absolute; top: -2px; left: -30%; width: 30%; height: 5px; background: radial-gradient(ellipse, #fff4cc, transparent 70%); animation: stripPulse 2.4s linear infinite; }
.bento__strip i:nth-child(4)::after { animation-delay: .6s; } .bento__strip i:nth-child(6)::after { animation-delay: 1.2s; } .bento__strip i:nth-child(8)::after { animation-delay: 1.8s; }
@keyframes stripPulse { to { left: 130%; } }
.nodes { width: 100%; height: auto; }
.nodes__links line { stroke: rgba(212,175,55,.35); stroke-width: 1; stroke-dasharray: 6 6; animation: dashMove 3s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -24; } }
.nodes__dots circle { fill: #0a0a0a; stroke: var(--gold); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: nodeBreathe 3s ease-in-out infinite; }
.nodes__dots circle:nth-child(2) { animation-delay: .4s; fill: #d4af37; } .nodes__dots circle:nth-child(3) { animation-delay: .8s; fill: #fff4cc; stroke: #fff4cc; } .nodes__dots circle:nth-child(4) { animation-delay: 1.2s; } .nodes__dots circle:nth-child(5) { animation-delay: 1.6s; fill: #d4af37; } .nodes__dots circle:nth-child(6) { animation-delay: 2s; }
@keyframes nodeBreathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.25); opacity: 1; } }

/* ---------- Expertise / stack diagram ---------- */
.stack-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.stack { position: relative; height: 560px; perspective: 1400px; --size: 260px; --cx: 38%; --step: 56px; }
.layer {
  position: absolute; left: var(--cx); top: 54%; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 14px; border: 1px solid rgba(138,106,18,.45);
  background: linear-gradient(135deg, rgba(255,253,246,.97), rgba(236,228,205,.92));
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.4);
  transform: rotateX(58deg) rotateZ(-45deg) translateZ(var(--z, 0px));
  transition: transform .7s var(--ease-out), background .4s, box-shadow .4s, opacity .8s var(--ease-out);
  --z: calc(var(--step) * var(--i));
}
.layer[data-layer="dev"], .stack__label[data-layer="dev"]   { --i: 0; }
.layer[data-layer="perf"], .stack__label[data-layer="perf"] { --i: 1; }
.layer[data-layer="ux"], .stack__label[data-layer="ux"]     { --i: 2; }
.layer[data-layer="cro"], .stack__label[data-layer="cro"]   { --i: 3; }
.layer[data-layer="seo"], .stack__label[data-layer="seo"]   { --i: 4; }
.layer[data-layer="ai"], .stack__label[data-layer="ai"]     { --i: 5; }
.stack__labels { position: absolute; inset: 0; pointer-events: none; }
.stack__label {
  position: absolute; left: calc(var(--cx) + var(--size) * 0.72); top: calc(54% - var(--step) * var(--i) * 0.85);
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  opacity: .45; transition: opacity .4s, transform .4s var(--ease-out);
}
.stack__label i { width: 34px; height: 1px; background: currentColor; transition: width .4s var(--ease-out); }
.stack__label.is-active { opacity: 1; color: var(--gold-deep); transform: translateY(-50%) translateX(6px); }
.stack__label.is-active i { width: 54px; }
.js .stack .stack__labels { opacity: 0; transform: translateX(-12px); transition: opacity .8s 1s, transform .8s var(--ease-out) 1s; }
.js .stack.is-visible .stack__labels { opacity: 1; transform: none; }
.js .stack .layer { opacity: 0; transform: rotateX(58deg) rotateZ(-45deg) translateZ(calc(var(--z) + 220px)); }
.js .stack.is-visible .layer { opacity: 1; transform: rotateX(58deg) rotateZ(-45deg) translateZ(var(--z)); transition-delay: calc(var(--i) * .12s); }
.stack.is-visible .layer.is-active, .stack.is-visible .layer:hover {
  transform: rotateX(58deg) rotateZ(-45deg) translateZ(calc(var(--z) + 40px));
  background: var(--grad-btn); color: #000; border-color: #fff4cc;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transition-delay: 0s;
}
.disciplines { display: grid; gap: 0; }
.disc { padding: 24px 0 24px 26px; border-top: 1px solid var(--hair-dark); position: relative; transition: padding-left .4s var(--ease-out); }
.disc:last-child { border-bottom: 1px solid var(--hair-dark); }
.disc::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--grad-dark); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.disc.is-active::before, .disc:hover::before { transform: scaleY(1); }
.disc.is-active, .disc:hover { padding-left: 34px; }
.disc h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 6px; }
.disc p { font-size: .98rem; opacity: .7; max-width: 50ch; }

/* ---------- Process / pipeline ---------- */
.pipeline { margin-bottom: clamp(40px, 6vw, 80px); }
.pipeline__svg { width: 100%; overflow: visible; }
.pipe__base { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.pipe__pulse { fill: none; stroke: url(#pulseGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 160 2400; stroke-dashoffset: 0; opacity: 0; }
.is-visible .pipe__pulse { opacity: 1; animation: pipeFlow 7s linear infinite; }
@keyframes pipeFlow { to { stroke-dashoffset: -2560; } }
.pipe__node circle { fill: #0b0b0b; stroke: rgba(212,175,55,.75); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; opacity: 0; transform: scale(.4); }
.is-visible .pipe__node circle { animation: nodePop .8s var(--ease-out) forwards; }
.is-visible .pipe__node:nth-of-type(2) circle { animation-delay: .25s; }
.is-visible .pipe__node:nth-of-type(3) circle { animation-delay: .5s; }
.is-visible .pipe__node:nth-of-type(4) circle { animation-delay: .75s; }
@keyframes nodePop { to { opacity: 1; transform: scale(1); } }
.pipe__node text { font-family: var(--display); font-weight: 700; font-size: 18px; fill: #fff; letter-spacing: -.02em; opacity: 0; transition: opacity .6s 1s; }
.is-visible .pipe__node text { opacity: 1; }
.pipe__loop-label { font-family: var(--body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; fill: rgba(212,175,55,.7); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 36px 30px; border-radius: 18px; background: linear-gradient(160deg, #121212, #070707); border: 1px solid var(--hair); overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s; }
.step::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%; background: radial-gradient(ellipse, rgba(212,175,55,.22), transparent 65%); opacity: 0; transition: opacity .5s; }
.step:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.6); }
.step:hover::after { opacity: 1; }
.step__num { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 26px; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { font-size: .97rem; opacity: .68; }

/* ---------- Journey (horizontal scroll) ---------- */
.journey { padding: 0; }
.journey__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.journey__head { padding-top: 80px; margin-bottom: 36px; }
.journey__head .h2 { margin-bottom: 10px; }
.journey__hint { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .45; }
.journey__track { display: flex; gap: 28px; padding: 0 var(--gutter); will-change: transform; width: max-content; }
.jcard {
  width: min(78vw, 520px); flex: none; padding: 40px 36px 36px;
  border-radius: 24px; border: 1px solid var(--hair);
  background: linear-gradient(160deg, #141414, #060606);
  position: relative; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.jcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(212,175,55,.2), transparent 55%); opacity: 0; transition: opacity .5s; }
.jcard:hover { border-color: rgba(212,175,55,.6); transform: translateY(-10px); }
.jcard:hover::before { opacity: 1; }
.jcard__year {
  display: block; font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.7);
  transition: color .5s, -webkit-text-stroke-color .5s;
  margin-bottom: 30px;
}
.jcard:hover .jcard__year, .jcard--now .jcard__year { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px transparent; }
.jcard__role { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 14px; overflow-wrap: anywhere; }
.jcard__copy { opacity: .7; font-size: 1rem; }
.jcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jcard__tags li { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); opacity: .7; }

/* ---------- Education ---------- */
.education__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.creds { display: grid; }
.cred { display: grid; grid-template-columns: 110px 1fr; gap: 6px 26px; align-items: center; padding: 26px 0; border-top: 1px solid var(--hair-dark); transition: padding-left .4s var(--ease-out); }
.cred:last-child { border-bottom: 1px solid var(--hair-dark); }
.cred:hover { padding-left: 14px; }
.cred span { grid-row: span 2; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold-deep); text-align: center; }
.cred strong { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.cred small { font-size: .9rem; opacity: .6; }

/* ---------- Principles ---------- */
.plist { margin-top: 50px; }
.prow {
  display: grid; grid-template-columns: 80px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--hair); position: relative;
}
.prow:last-child { border-bottom: 1px solid var(--hair); }
.prow__num { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .1em; color: var(--gold); }
.prow__title {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.9rem); letter-spacing: -.02em; line-height: 1.08; overflow-wrap: anywhere;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.7);
  transition: color .5s, -webkit-text-stroke-color .5s, transform .5s var(--ease-out);
}
.prow:hover .prow__title { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke-color: transparent; transform: translateX(12px); }
.prow__desc { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .5s, padding .5s; font-size: 1rem; max-width: 60ch; }
.prow:hover .prow__desc { max-height: 120px; opacity: .72; padding-top: 10px; }
@media (hover: none), (max-width: 900px) { .prow__desc { max-height: none; opacity: .72; padding-top: 10px; } .prow__title { color: #fff; -webkit-text-stroke: 0; transform: none; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.qa { border-top: 1px solid var(--hair-dark); }
.qa:last-child { border-bottom: 1px solid var(--hair-dark); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.qa__icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold-deep); transition: background .3s, transform .5s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease-out); }
.qa__icon::before { width: 14px; height: 1.5px; }
.qa__icon::after { width: 1.5px; height: 14px; }
.qa[open] .qa__icon { background: var(--grad-btn); color: #000; border-color: transparent; transform: rotate(135deg); }
.qa__body { padding: 0 0 26px; max-width: 60ch; opacity: .75; }
.qa[open] .qa__body { animation: qaIn .5s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: .75; transform: translateY(0); } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; text-align: center; }
.contact__glow { position: absolute; left: 50%; top: 40%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.26), transparent 60%); animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: translate(-50%, -50%) scale(.9); opacity: .7; } to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.contact__wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 10vw, 9.5rem); line-height: .95; letter-spacing: -.02em; white-space: nowrap; width: 100%; display: flex; gap: .22em; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.contact__title .split { display: inline-block; overflow: hidden; padding-bottom: .08em; }
.contact__title .split.is-done { overflow: visible; }
.contact .lede { text-align: center; margin-bottom: 44px; }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair); padding: 48px 0; }
.footer__wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer .monogram { width: 40px; height: 36px; }
.footer__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__role, .footer__loc, .footer__copy { font-size: 13px; opacity: .55; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }
.reveal[data-delay="6"] { transition-delay: .48s; }
.reveal[data-delay="7"] { transition-delay: .56s; }
.hero .reveal[data-delay="6"] { transition-delay: 1.15s; }
.hero .reveal[data-delay="7"] { transition-delay: 1.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
  .hero__portrait { max-width: 660px; height: min(74vh, 700px); min-height: 440px; margin-right: calc(var(--gutter) * -0.5); width: calc(100% + var(--gutter) * 0.5); }
  .hero__portrait picture { inset: 0 0 0 4%; }
  .about__grid, .stack-wrap, .education__grid, .faq__grid, .leadership__grid { grid-template-columns: 1fr; }
  .about__sticky { position: static; }
  .about__cards { padding-top: 0; }
  .stack { height: 480px; --size: 230px; --cx: 34%; --step: 50px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--hero { grid-row: auto; }
  .bento__card--wide { grid-column: auto; }
  .bento__strip { flex-wrap: wrap; justify-content: center; } .bento__strip i { display: none; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 1100px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; padding-top: 96px; gap: 20px; }
  .hero__portrait { justify-self: center; width: 100%; max-width: min(100vw, 560px); height: auto; min-height: 0; margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); aspect-ratio: 1454 / 1368; order: -1; }
  .hero__text { padding-bottom: 0; align-self: start; }
  body { font-size: 16px; }
  .steps, .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hair); padding: 40px 24px; }
  .stat:last-child { border-bottom: 0; }
  .prow { grid-template-columns: 1fr; }
  .prow__num { grid-row: auto; margin-bottom: 6px; }
  .prow__desc { grid-column: 1; }
  .cred { grid-template-columns: 1fr; }
  .dossier div { grid-template-columns: 1fr; gap: 4px; }
  .pillar { padding: 26px 24px 26px 24px; }
  .pillar__num { position: static; display: block; margin-bottom: 10px; }
  .cred span { grid-row: auto; width: max-content; }
  .journey__head { padding-top: 90px; }
  .jcard { padding: 30px 24px; }
  .stack { height: 400px; --size: 160px; --cx: 30%; --step: 40px; }
  .stack__label { font-size: 11px; }
  .stack__label i { width: 22px; }
  }

/* ---------- Large and ultrawide displays: scale the whole interface up in tiers ---------- */
@media (min-width: 1800px) {
  html { font-size: 18px; }
  :root { --wrap: 1680px; --gutter: 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__portrait { max-width: 1200px; height: min(90vh, 1150px); }
  .nav { padding-left: 48px; padding-right: 48px; }
  .nav__menu { gap: 40px; } .nav__menu a { font-size: 14px; }
  .nav__logo { font-size: 20px; } .nav__logo-mark { width: 44px; height: 40px; }
  .marquee__track { padding: 26px 0; }
}
@media (min-width: 2400px) {
  html { font-size: 20px; }
  :root { --wrap: 2000px; --gutter: 80px; }
  .hero__portrait { max-width: 1400px; height: min(90vh, 1350px); }
  .nav__menu a { font-size: 15px; } .nav__logo { font-size: 22px; }
  .steps, .bento { gap: 28px; }
}
@media (min-width: 3000px) {
  html { font-size: 22px; }
  :root { --wrap: 2320px; --gutter: 96px; }
  .hero__portrait { max-width: 1600px; height: min(90vh, 1500px); }
  .nav__menu a { font-size: 16px; }
}

/* ---------- Performance: skip offscreen layout work ---------- */
.about, .leadership, .builds, .expertise, .process, .education, .principles, .faq, .contact { content-visibility: auto; contain-intrinsic-size: auto 900px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .split .ch, .js .stack .layer { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1 !important; }
  .preloader { display: none; }
  .nav, .marquee, .hero__mesh, .hero__lines, .hero__portrait-glow, .hero__rule { opacity: 1 !important; transform: none !important; }
}
