/* Broker-web agency site — Linear/Vercel/Resend-direction.
   Dark premium, Instrument Serif + Inter Tight, GSAP-ready.
   No gold. No decorative chrome that does not serve content. */

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --bg-3: #15151a;
  --bg-4: #1a1a21;
  --surface: #ffffff;
  --border: rgba(255,255,255,0.08);
  --border-h: rgba(255,255,255,0.16);
  --border-heavy: rgba(255,255,255,0.28);
  --text: #ffffff;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --ink: #0a0a0b;
  --ink-2: rgba(10,10,11,0.68);
  --accent: #a5b4fc;
  --accent-2: #818cf8;
  --accent-glow: rgba(129,140,248,0.28);
  --serif: 'Newsreader', 'Tiempos Headline', Georgia, serif;
  --sans: 'Geist', 'Inter', system-ui, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --container: 1440px;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: auto; /* Lenis handles this */
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 17px;
  font-feature-settings: 'ss01', 'ss02';
  cursor: none;
  letter-spacing: -0.005em;
}
/* Newsreader display tuning: stable editorial serif, Metalab/Tiempos direction */
.hero-headline,
.section h2,
.hero h1,
h1, h2, h3,
.nav-brand,
.work-row-title,
.feature-item h3,
.bento-card h3,
.process-body h3,
.closing h2,
.approach-hero h1,
.contact-hero h1,
.work-page-hero h1,
.contact-option-title,
.menu-overlay nav a,
.prose h2,
.pillar-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 72;
  font-weight: 400;
}
.hero-headline em,
.section h2 em,
h1 em, h2 em, h3 em,
.closing h2 em,
.approach-hero h1 em,
.contact-hero h1 em,
.work-row-title em,
.feature-item h3 em,
.bento-card h3 em,
.process-body h3 em {
  font-style: italic;
  font-variation-settings: 'opsz' 72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
::selection { background: var(--text); color: var(--bg); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* MOBILE: re-enable real cursor */
@media (hover: none), (pointer: coarse) {
  body, button, a { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }
}

/* =====================================================
   NOISE + BG TEXTURE
   ===================================================== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px;
}

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--text);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
}
.cursor.hover { width: 0; height: 0; }
.cursor-follower.hover { width: 72px; height: 72px; background: rgba(255,255,255,0.08); }

/* =====================================================
   NAV — sticky, frosted glass on scroll
   ===================================================== */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Subtle always-on gradient so links are readable over photography at top of hero */
  background: linear-gradient(to bottom, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 100%);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
nav.site-nav.scrolled {
  background: rgba(10,10,11,0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: var(--border);
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
}
.nav-brand em { font-style: italic; color: var(--accent); }
.nav-brand img { display: block; height: 56px; width: auto; }
@media (max-width: 720px) {
  .nav-brand img { height: 44px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.92);
  transition: color 0.15s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.nav-links a:hover { color: #fff; }
.nav-links a.nav-cta {
  padding: 0.6rem 1.1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-links a.nav-cta:hover { background: rgba(255,255,255,0.88); color: var(--bg); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  color: var(--text);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--text); position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* Hamburger → X when menu is open */
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 780px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.site-nav .nav-cta { display: none; }
  nav.site-nav { padding: 1rem 1.25rem; }
}

.menu-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  padding: 6rem 1.25rem 2rem;
  display: none;
  flex-direction: column;
}
.menu-overlay.open { display: flex; }
.menu-overlay nav {
  display: flex; flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  justify-content: center;
}
.menu-overlay nav a {
  font-family: var(--serif);
  font-size: clamp(48px, 10vw, 112px);
  line-height: 1;
  letter-spacing: -0.025em;
  padding: 0.25rem 0;
}
.menu-overlay nav a em { font-style: italic; color: var(--accent); }

/* =====================================================
   HERO — gradient mesh + staggered headline
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url('/assets/hero-twilight.jpg') center center / cover no-repeat,
    var(--bg);
}
.hero-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Strong on the left where the headline lives, light on the right so the twilight home reads behind the chrome */
    linear-gradient(to right,
      rgba(10,10,11,0.92) 0%,
      rgba(10,10,11,0.85) 35%,
      rgba(10,10,11,0.45) 60%,
      rgba(10,10,11,0.3) 100%),
    linear-gradient(to bottom,
      rgba(10,10,11,0.45) 0%,
      rgba(10,10,11,0.15) 30%,
      rgba(10,10,11,0.55) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-right: 1rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-mockup {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

/* Browser chrome */
.browser {
  width: 100%;
  height: 100%;
  background: #f1efeb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 80px -20px rgba(0,0,0,0.65),
    0 8px 24px -8px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}
.browser-bar {
  height: 36px;
  background: linear-gradient(to bottom, #f3f1ec 0%, #e8e5df 100%);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #d6d3cb;
}
.browser-dots span:nth-child(1) { background: #ed6a5e; }
.browser-dots span:nth-child(2) { background: #f5bf3f; }
.browser-dots span:nth-child(3) { background: #61c454; }
.browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.5);
  padding: 5px 14px;
  border-radius: 6px;
  margin: 0 60px 0 4px;
}
.browser-window {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.browser-scroll {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  animation: browser-scroll 36s linear infinite;
}
@keyframes browser-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.browser:hover .browser-scroll { animation-play-state: paused; }

/* Fake realtor site inside the browser */
.fake-site {
  font-family: var(--sans);
  color: #1a1a1a;
  background: #ffffff;
}
.fs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.fs-brand {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.fs-links {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.55);
}
.fs-eyebrow,
.fs-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  display: inline-block;
}
.fs-hero {
  padding: 48px 28px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}
.fs-portrait {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(1) contrast(1.05);
}
.fs-hero-meta { display: flex; flex-direction: column; gap: 12px; }
.fs-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: #0b0b0c;
}
.fs-lead {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,0.65);
  margin: 0;
  max-width: 380px;
}
.fs-section {
  padding: 48px 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.fs-section .fs-label { margin-bottom: 18px; }
.fs-listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fs-card {
  background: #fafaf9;
  border-radius: 4px;
  overflow: hidden;
}
.fs-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #d6d3cb;
}
.fs-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fs-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  margin: 0;
  letter-spacing: -0.005em;
}
.fs-card span {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.55);
}
.fs-card strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  margin-top: 6px;
}
.fs-bio {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 56px 28px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.fs-bio-portrait {
  width: 240px;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(1);
}
.fs-bio-meta { display: flex; flex-direction: column; gap: 12px; }
.fs-dark {
  background: #0b0b0c;
  color: #f1efeb;
  border-top: none;
}
.fs-dark .fs-label { color: rgba(255,255,255,0.55); }
.fs-sold {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fs-sold-card { display: flex; flex-direction: column; gap: 8px; }
.fs-sold-card span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.fs-cta {
  padding: 64px 28px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.fs-button {
  display: inline-block;
  background: #0b0b0c;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 100px;
}

@media (max-width: 900px) {
  .hero {
    padding: 6rem 1.25rem 4rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-text {
    position: relative;
    z-index: 2;
    gap: 1.75rem;
  }
  .hero-mockup {
    margin-top: 2.25rem;
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 480px;
    align-self: center;
  }
  .browser-url { margin: 0 30px 0 4px; font-size: 10px; }
  .fs-hero, .fs-bio { grid-template-columns: 100px 1fr; gap: 18px; padding: 28px 18px; }
  .fs-portrait, .fs-bio-portrait { width: 100px; height: 130px; }
  .fs-h2 { font-size: 20px; }
  .fs-lead { font-size: 12px; }
  .fs-section { padding: 28px 18px; }
  .fs-listings, .fs-sold { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fs-cta { padding: 36px 18px; }
  .hero-mesh::after {
    background:
      linear-gradient(to bottom,
        rgba(10,10,11,0.85) 0%,
        rgba(10,10,11,0.55) 25%,
        rgba(10,10,11,0.55) 60%,
        rgba(10,10,11,0.92) 100%);
  }
}

.hero-meta-top {
  margin-bottom: 2.25rem;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero-headline {
  text-shadow: 0 2px 24px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.5);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  max-width: 1360px;
  padding-top: 0.12em;
  text-wrap: balance;
}
.hero-headline em { font-style: italic; }
.hero-headline .split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-headline .split-inner { display: inline-block; transform: translateY(105%); }

.hl-photo {
  display: inline-flex;
  width: 0.94em;
  height: 0.78em;
  border-radius: 12px;
  overflow: hidden;
  vertical-align: baseline;
  margin: 0 0.08em 0 0.04em;
  background: var(--bg-4);
  transform: translateY(0.04em);
  position: relative;
  flex-shrink: 0;
}
.hl-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-foot {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.hero-ctas {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 780px) {
  .hero-ctas { width: 100%; gap: 0.75rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
.hero-sub {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
}
@media (max-width: 780px) {
  .hero-foot { gap: 1.25rem; }
}

/* SENSIBILITY MOODBOARD =============================== */
.sensibility {
  padding: 8rem 0;
  background: var(--bg);
}
.sensibility-head {
  max-width: 880px;
  margin-bottom: 4rem;
}
.sensibility-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 1rem;
}
.sensibility-head h2 em { font-style: italic; }
.sensibility-head p.lead {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  margin-top: 1.75rem;
  max-width: 720px;
}

.sensibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 1rem;
}
.mood {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.mood:hover { border-color: var(--border-heavy); }
.mood-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  display: inline-block;
}
.mood-image {
  position: relative;
}
.mood-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.03);
}
.mood-wide {
  grid-column: span 2;
}
.mood-type {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mood-type .mood-label {
  position: static;
  background: transparent;
  padding: 0;
  color: var(--text-3);
  backdrop-filter: none;
}
.mood-specimen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spec-big {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 170px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 72;
  margin-bottom: 1.5rem;
}
.spec-big em { font-style: italic; color: var(--accent); }
.spec-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mood-palette {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mood-palette .mood-label {
  position: static;
  background: transparent;
  padding: 0;
  color: var(--text-3);
  backdrop-filter: none;
  margin-bottom: 1.25rem;
}
.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  flex: 1;
}
.swatch {
  position: relative;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
  .sensibility-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .mood-wide { grid-column: auto; }
}

/* =====================================================
   UI TILES GRID — asymmetric portfolio of design directions
   ===================================================== */
.ui-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr;
  grid-template-areas:
    "hero hero  phone"
    "bio  bio   typespec"
    "bio  bio   palette"
    "type type  type";
  gap: 1rem;
}
.ui-tile {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.ui-tile:hover {
  border-color: var(--border-heavy);
  transform: translateY(-3px);
}
.ui-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ui-tile-hero     { grid-area: hero;     aspect-ratio: 3 / 2; }
.ui-tile-phone    { grid-area: phone;    aspect-ratio: 2 / 3; background: #e7dfce; }
.ui-tile-phone img { object-fit: cover; }
.ui-tile-bio      { grid-area: bio; }
.ui-tile-typespec { grid-area: typespec; aspect-ratio: 3 / 2; background: var(--bg); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.ui-tile-palette  { grid-area: palette; aspect-ratio: 1 / 1; }
.ui-tile-type     { grid-area: type;     aspect-ratio: 3 / 2; }

.typespec-big {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: 'opsz' 72;
  font-weight: 400;
}
.typespec-big em { font-style: italic; color: var(--accent); margin-left: 0.2em; }
.typespec-specimen {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.35;
  color: var(--text-2);
  max-width: 22ch;
  margin: 0;
  font-weight: 400;
}
.typespec-specimen em { font-style: italic; color: var(--text); }
.typespec-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ui-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(165,180,252,0.05) 0%, transparent 100%);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
}
.placeholder-label {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.placeholder-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Palette tile: ChatGPT-generated image of rainbow wash + paint-dab palette card */
@media (max-width: 900px) {
  .ui-tile-palette { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .ui-tile-palette { aspect-ratio: 5 / 3; }
}

/* BEFORE / AFTER SLIDER */
.ba {
  padding: 7rem 0 9rem;
}
.ba-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}
.ba-head h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 18ch;
}
.ba-head h2 em { font-style: italic; color: var(--accent); }
.ba-head .ba-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  padding-bottom: 0.9em;
}
.ba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #1a1a1c;
  user-select: none;
  touch-action: pan-y;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after { z-index: 1; }
.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-label {
  position: absolute;
  top: 1.25rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(11,11,12,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.ba-label-before { left: 1.25rem; }
.ba-label-after { right: 1.25rem; }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(255,255,255,0.85);
  z-index: 4;
  will-change: left;
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
  left: 50%;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0b0b0c;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: ew-resize;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: left, transform;
}
.ba-handle:hover,
.ba-frame.is-dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.08);
}
.ba-handle svg { width: 18px; height: 18px; }
.ba-frame.is-dragging { cursor: ew-resize; }

@media (max-width: 720px) {
  .ba { padding: 5rem 0; }
  .ba-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
  .ba-head .ba-hint { padding-bottom: 0; }
  .ba-label { font-size: 9.5px; top: 0.85rem; padding: 0.4rem 0.7rem; letter-spacing: 0.16em; }
  .ba-label-before { left: 0.85rem; }
  .ba-label-after { right: 0.85rem; }
  .ba-handle { width: 48px; height: 48px; }
}

@media (max-width: 900px) {
  .ui-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "phone"
      "bio"
      "typespec"
      "palette"
      "type";
  }
  .ui-tile-phone {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .ui-tile-bio { aspect-ratio: 3 / 2; }
}

/* TEMPLATE PREVIEW (honest) =========================== */
.template-preview {
  padding: 6rem 0 10rem;
  background: var(--bg);
}
.template-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.template-caveat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.template-headline {
  max-width: 820px;
  margin-bottom: 3rem;
}
.template-headline h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.template-headline h2 em { font-style: italic; }
.template-headline p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-top: 1.5rem;
  max-width: 680px;
}
.template-frame {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.template-frame:hover {
  transform: translateY(-3px);
  border-color: var(--border-heavy);
}
.template-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.template-frame-hint {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 0.6rem 1rem;
  background: rgba(10,10,11,0.82);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.template-frame:hover .template-frame-hint { opacity: 1; }

.btn {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.88rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary::before { background: var(--accent); }
.btn-primary:hover { color: var(--bg); border-color: var(--accent); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-h); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); border-color: var(--text); }
.btn-ghost:hover::before { transform: translateX(0); }
/* Hero ghost button needs more visibility against the photographic backdrop */
.hero .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-ghost:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-dark { color: var(--ink); border-color: rgba(10,10,11,0.25); }
.btn-dark::before { background: var(--ink); }
.btn-dark:hover { color: var(--surface); border-color: var(--ink); }
.btn-dark:hover::before { transform: translateX(0); }

/* Magnetic — JS will translate() on mouse move */
.magnetic { display: inline-block; will-change: transform; }

/* =====================================================
   MARQUEE — what we do (infinite loop)
   ===================================================== */
.marquee {
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll-x 38s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   SECTION HEADERS / UTILITIES
   ===================================================== */
section { padding: 9rem 0; position: relative; }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--text-3);
  display: inline-block;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.section h2 em { font-style: italic; }
.section p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 580px;
  margin-top: 2rem;
}

/* =====================================================
   PILLARS — "why a personal brand matters"
   bento + glassmorphism cards
   ===================================================== */
.pillars {
  background: var(--surface);
  color: var(--ink);
  padding: 10rem 0 10rem;
}
.pillars .section-label { color: rgba(10,10,11,0.5); }
.pillars .section-label::before { background: rgba(10,10,11,0.5); }
.pillars h2 {
  color: var(--ink);
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
}
.pillars .bento-card h3 {
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
}
.pillars-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5rem;
}
.pillars-intro-left { max-width: 640px; }
.pillars-intro p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 460px;
}
@media (max-width: 900px) { .pillars-intro { grid-template-columns: 1fr; } }

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(10,10,11,0.1);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}
.bento-card:hover {
  border-color: rgba(10,10,11,0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10,10,11,0.08);
}
.bento-card .card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(10,10,11,0.45);
  margin-bottom: 2.25rem;
  display: block;
}
.bento-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.bento-card h3 em { font-style: italic; }
.bento-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.bento-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.bento-tall .bento-visual {
  margin-top: 2rem;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-3);
}
.bento-tall .bento-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1) contrast(1.05); }
.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.bento-wide .bento-visual {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-3);
}
.bento-wide .bento-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1) contrast(1.05); }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-tall { grid-row: auto; }
  .bento-wide { grid-column: auto; grid-template-columns: 1fr; }
}

/* =====================================================
   FEATURES — pinned scroll section ("what we build")
   ===================================================== */
.features {
  background: var(--bg);
  padding: 9rem 0;
  position: relative;
}
.features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 6rem;
}
.features-intro-left { max-width: 800px; }
.features-intro p { max-width: 420px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
@media (max-width: 900px) { .features-intro { grid-template-columns: 1fr; } }

.features-stage {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1.4fr;
  gap: 5rem;
  align-items: start;
}
.features-sticky {
  position: sticky;
  top: 12vh;
  padding-right: 2rem;
}
.feature-item {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}
.feature-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 1.5rem;
  display: block;
}
.feature-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.feature-item h3 em { font-style: italic; }
.feature-item p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 580px;
}
.feature-visual {
  margin-top: 3rem;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.feature-visual .feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}
.feature-visual .feature-img.active { opacity: 1; }

/* Inline per-feature image — mobile only, hidden on desktop where sticky visual handles it */
.feature-item-img { display: none; }

.features-track-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 3rem;
}
.features-progress {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}
.features-progress-item {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  padding: 0.35rem 0;
  border-left: 2px solid var(--border);
  padding-left: 0.85rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.features-progress-item.active {
  color: var(--text);
  border-color: var(--accent);
}

@media (max-width: 980px) {
  .features-stage { grid-template-columns: 1fr; gap: 0; }
  /* Hide the scrollytelling sticky block on mobile — inline images per feature instead */
  .features-sticky { display: none; }
  .feature-item { min-height: auto; padding: 2.5rem 0; }
  .feature-item-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.75rem;
    background: var(--bg-2);
  }
}

/* =====================================================
   WORK — Metalab-style list with hover preview
   ===================================================== */
.work { background: var(--bg); padding: 9rem 0; }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.work-head p { max-width: 380px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) { .work-head { grid-template-columns: 1fr; } }

.work-list { border-top: 1px solid var(--border); }
.work-row {
  display: grid;
  grid-template-columns: 80px minmax(280px, 2fr) minmax(180px, 1fr) 90px 130px;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  position: relative;
  transition: background 0.25s ease;
  cursor: none;
}
.work-row:hover { background: rgba(255,255,255,0.02); }
.work-row:hover .work-row-title { transform: translateX(6px); }
.work-row:hover .work-preview { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-row:hover .work-arrow { background: var(--text); color: var(--bg); border-color: var(--text); }
.work-row-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}
.work-row-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work-row-title em { font-style: italic; }
.work-row-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.work-row-year { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.work-arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  color: var(--text-2);
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.work-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 520px;
  max-width: 42vw;
  aspect-ratio: 4 / 3;
  opacity: 0;
  pointer-events: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.work-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 900px) {
  .work-row { grid-template-columns: 36px 1fr auto; gap: 1rem; padding: 1.5rem 0; }
  .work-row-meta, .work-row-year { display: none; }
  .work-preview { display: none; }
}

/* =====================================================
   PROCESS — long-form editorial (light surface)
   ===================================================== */
.process { background: var(--surface); color: var(--ink); padding: 10rem 0 11rem; }
.process .section-label { color: rgba(10,10,11,0.5); }
.process .section-label::before { background: rgba(10,10,11,0.5); }
.process h2 { color: var(--ink); }

.process-head { max-width: 980px; margin-bottom: 5rem; }
.process-head p.lead { color: var(--ink-2); }
.process-list { border-top: 1px solid rgba(10,10,11,0.1); }
.process-row {
  display: grid;
  grid-template-columns: 100px 1fr 240px;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(10,10,11,0.1);
  align-items: start;
}
.process-row:hover .process-body h3 { color: var(--ink); }
.process-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(10,10,11,0.45);
  padding-top: 0.5rem;
}
.process-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  transition: color 0.25s ease;
}
.process-body h3 em { font-style: italic; }
.process-body p { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 640px; }
.process-side {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10,10,11,0.55);
  padding-top: 0.7rem;
  text-align: right;
}
@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.5rem 0; }
  .process-side { text-align: left; padding-top: 0; }
}

/* =====================================================
   STATS bar (counters)
   ===================================================== */
.stats-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  border-left: 1px solid var(--border);
  padding: 0 2rem;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}
.stat-value em { font-style: italic; color: var(--accent); }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .stat { border-left: none; padding: 0; }
}

/* =====================================================
   CLOSING CTA
   ===================================================== */
.closing {
  padding: 14rem 0 15rem;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(129,140,248,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.closing > * { position: relative; }
.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.93;
  letter-spacing: -0.038em;
  max-width: 1280px;
  margin: 1.5rem auto 3.5rem;
}
.closing h2 em { font-style: italic; }
.closing-sub {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 3rem;
}
.closing-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand-block .nav-brand { display: inline-block; font-size: 34px; margin-bottom: 1rem; }
.footer-brand-block p { color: var(--text-2); font-size: 14px; line-height: 1.7; max-width: 380px; }
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 0.4rem 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}

/* =====================================================
   APPROACH PAGE
   ===================================================== */
.approach-hero { padding: 12rem 0 7rem; border-bottom: 1px solid var(--border); }
.approach-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 148px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 1340px;
  margin-top: 1.25rem;
}
.approach-hero h1 em { font-style: italic; }
.approach-hero p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 680px;
  margin-top: 2.5rem;
}
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 0 10rem;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 4rem 0 1.5rem;
}
.prose h2 em { font-style: italic; }
.prose p { font-size: 19.5px; line-height: 1.75; color: var(--text-2); margin-bottom: 1.5rem; }
.prose p.lead { font-size: 24px; line-height: 1.55; color: var(--text); }
.prose ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--text-3);
}
.prose ul li strong { color: var(--text); font-weight: 500; }
.prose h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--text); }

/* Compliance table */
.compliance-table {
  margin: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}
.compliance-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 3.5fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
}
.compliance-row strong { color: var(--text); font-weight: 500; }
.compliance-row.compliance-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 1rem 0 0.75rem;
}
@media (max-width: 720px) {
  .compliance-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }
  .compliance-row.compliance-head { display: none; }
  .compliance-row strong { display: block; margin-bottom: 0.15rem; }
}

/* Onboarding timeline */
.timeline-list {
  margin: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-day {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 0.5rem;
}
.timeline-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(22px, 2.2vw, 28px);
}
.timeline-item p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
  .timeline-day { padding-top: 0; }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero { padding: 12rem 0 2rem; }
.contact-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 170px);
  line-height: 0.93;
  letter-spacing: -0.035em;
  margin-top: 1.25rem;
  max-width: 1340px;
}
.contact-hero h1 em { font-style: italic; }
.contact-layout {
  padding: 4rem 0 10rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.contact-info-block { border-top: 1px solid var(--border); }
.contact-option {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.contact-option-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.15;
  max-width: 400px;
}
.contact-option-title em { font-style: italic; }
.contact-option-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 0.4rem;
}
.contact-form-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}
.contact-form-wrap h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.field { margin-bottom: 1.75rem; position: relative; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.55rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-h);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-message {
  min-height: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  color: var(--accent);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}

/* =====================================================
   DELIVERABLES MARQUEE
   ===================================================== */
.marquee-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.marquee-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 2.25rem;
}
.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 1rem;
  white-space: nowrap;
  animation: marqueeSlide 60s linear infinite;
  padding-left: 1rem;
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border-h);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}
.marquee-pill:nth-child(3n) { color: var(--accent); }

/* =====================================================
   PRICING — light card over vibrant gradient backdrop
   ===================================================== */
.pricing {
  background: var(--bg);
  padding: 10rem 0 10rem;
  border-top: 1px solid var(--border);
}
.pricing-head {
  max-width: 880px;
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
  text-align: center;
}
.pricing-head .section-label { justify-content: center; }
.pricing-head h2 {
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 500;
}
.pricing-head h2 em { font-style: italic; font-weight: 400; color: var(--accent); }

.pricing-panel {
  background: url('/assets/pricing-bg.jpg') center center / cover no-repeat;
  border-radius: 28px;
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .pricing-panel { padding: 2.25rem 1.25rem; border-radius: 18px; }
}

.pricing-card {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(10,10,11,0.35), 0 10px 30px rgba(10,10,11,0.15);
}
.pricing-card-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  flex-wrap: wrap;
}
.pricing-title {
  font-family: var(--serif);
  font-size: 2rem;
  color: #0a0a0b;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.pricing-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e40af;
}

.pricing-numbers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.pricing-number { text-align: left; }
.pricing-number:last-child { text-align: left; }
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.pricing-now {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: #0a0a0b;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.pricing-per {
  font-family: var(--sans);
  font-size: 0.45em;
  color: rgba(10,10,11,0.55);
  margin-left: 0.15em;
}
.pricing-was {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: rgba(10,10,11,0.4);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.pricing-unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,11,0.55);
  margin-top: 0.5rem;
}
.pricing-divider {
  width: 1px;
  height: 80px;
  background: rgba(10,10,11,0.1);
}

.pricing-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(10,10,11,0.08);
  margin-bottom: 2rem;
  position: relative;
}
.pricing-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,11,0.5);
  margin-bottom: 1.25rem;
}
.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-list li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(10,10,11,0.78);
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 2rem;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #0a0a0b;
  color: #ffffff;
  width: 100%;
  position: relative;
}
.btn-pricing svg { width: 14px; height: 14px; }
.btn-pricing:hover { transform: translateY(-1px); }

.pricing-assurances {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
}
.assurance {
  padding: 1.75rem 2rem;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 60px -20px rgba(10,10,11,0.25);
}
.assurance-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #0a0a0b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.assurance p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(10,10,11,0.7);
}

@media (max-width: 960px) {
  .pricing-assurances { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-card-top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .pricing-numbers { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-divider { width: 100%; height: 1px; }
  .pricing-columns { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  padding: 10rem 0 11rem;
  background: var(--surface);
  color: var(--ink);
}
.faq .section-label { color: rgba(10,10,11,0.5); }
.faq .section-label::before { background: rgba(10,10,11,0.5); }
.faq-head {
  max-width: 880px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  text-align: center;
}
.faq-head .section-label { justify-content: center; }
.faq-head h2 {
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
}
.faq-item summary {
  font-weight: 500;
  font-variation-settings: 'opsz' 24;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid rgba(10,10,11,0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(10,10,11,0.1);
  padding: 1.75rem 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-right: 2rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: rgba(10,10,11,0.5);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  content: '\2013';
  transform: rotate(0deg);
  color: var(--accent-2);
}
.faq-item[open] summary { color: var(--accent-2); }
.faq-body {
  margin-top: 1.1rem;
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
@media (hover: none), (pointer: coarse) {
  .faq-item summary { cursor: pointer; }
}

/* =====================================================
   SCROLL REVEAL (CSS fallback when GSAP not available)
   ===================================================== */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rv.show { opacity: 1; transform: translateY(0); }

/* =====================================================
   MOBILE PADDING + LAYOUT NORMALIZATION
   Reduces excessive vertical whitespace on small screens
   ===================================================== */
@media (max-width: 720px) {
  section { padding: 5rem 0; }
  .sensibility { padding: 5rem 0; }
  .pillars.section { padding: 5rem 0; }
  .features { padding: 5rem 0; }
  .features-intro { margin-bottom: 2.5rem; }
  .features-sticky { margin-bottom: 1.5rem; }
  .feature-item { padding: 2rem 0; }
  .process { padding: 5rem 0 5rem; }
  .process-head { margin-bottom: 2.5rem; }
  .pricing { padding: 5rem 0 5rem; }
  .pricing-head { margin-bottom: 2.5rem; }
  .faq { padding: 5rem 0; }
  .faq-head { margin-bottom: 2.5rem; }
  .closing { padding: 5rem 0 6rem; }
  .marquee-section { padding: 3rem 0; }
  .sensibility-head { margin-bottom: 2.5rem; }
  .pillars-intro { margin-bottom: 3rem; }
  .ui-grid { gap: 0.75rem; }
  .container { padding: 0 1.5rem; }

  /* Body type: scale leads down slightly so they don't overpower narrow mobile widths */
  .section p.lead { font-size: 17px; line-height: 1.6; }
  .sensibility-head p.lead { font-size: 17px; line-height: 1.6; }
  .pillars-intro p { font-size: 17px; line-height: 1.6; }
  .process-body p { font-size: 17px; line-height: 1.65; }
  .feature-item p { font-size: 17px; line-height: 1.6; }
  .bento-card p { font-size: 15.5px; line-height: 1.6; }
  .faq-body { font-size: 16.5px; line-height: 1.65; }
  .approach-hero p { font-size: 17px; line-height: 1.6; }
  .prose p { font-size: 18px; line-height: 1.7; }
  .prose p.lead { font-size: 20px; line-height: 1.55; }
  .hero-sub { font-size: 16px; line-height: 1.55; }
}
