/* ═══════════════════════════════════════════════════════════
   VANFORD DEVELOPMENT — Architecture Monograph Design System
   Image-forward · motion-driven · monochrome
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --ink:      #0A0A0A;
  --ink-2:    #141414;
  --graphite: #2A2A2A;
  --concrete: #8A8681;
  --mist:     #B8B4AE;
  --paper:    #F5F3EF;
  --paper-2:  #EBE8E2;
  --white:    #FFFFFF;
  --line:     #DAD6CE;
  --line-d:   #2A2A2A;
  --accent:   #B4532A;

  --display: 'Space Grotesk', sans-serif;
  --body:    'Inter', sans-serif;
  --mono:    'Space Mono', monospace;

  --nav-h: 84px;
  --nav-h-sm: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

/* IMAGE TREATMENT (signature) */
.img-frame { position: relative; overflow: hidden; background: var(--paper-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.7s var(--ease), transform 1.1s var(--ease); }
.img-frame:hover img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.img-tag { position: absolute; left: 16px; bottom: 14px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); mix-blend-mode: difference; pointer-events: none; }

/* SCROLL REVEAL */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
nav.solid { height: var(--nav-h-sm); background: rgba(245,243,239,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav.on-dark:not(.solid) .nav-wordmark, nav.on-dark:not(.solid) .nav-links a { color: var(--paper); }
nav.on-dark:not(.solid) .nav-logo-dark { opacity: 0; }
nav.on-dark:not(.solid) .nav-logo-light { opacity: 1; }
nav.on-dark:not(.solid) .nav-cta { border-color: rgba(255,255,255,0.4); color: var(--paper); }
nav.on-dark:not(.solid) .nav-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.nav-brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.nav-mark { position: relative; width: 26px; height: 26px; display: inline-block; }
.nav-logo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s var(--ease); }
.nav-logo-light { opacity: 0; }
.nav-logo-dark { opacity: 1; }
.nav-wordmark { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); transition: color 0.4s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); position: relative; padding: 4px 0; transition: color 0.3s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width 0.35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 22px; border: 1px solid var(--ink); color: var(--ink); transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-burger { display: none; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 30px; cursor: pointer; border: 1px solid var(--ink); transition: background 0.35s var(--ease), color 0.35s var(--ease), gap 0.35s var(--ease); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: var(--graphite); }
.btn-out { background: transparent; color: var(--ink); }
.btn-out:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* LAYOUT */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.wrap-tight { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 130px 0; }
.sec-sm { padding: 90px 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--concrete); }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--concrete); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

.h-xl { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 9vw, 148px); line-height: 0.92; letter-spacing: -0.04em; }
.h-lg { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.5vw, 82px); line-height: 0.98; letter-spacing: -0.03em; }
.h-md { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
.h-sm { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.1; letter-spacing: -0.01em; }
.lede { font-size: clamp(16px, 1.5vw, 20px); font-weight: 300; line-height: 1.55; color: var(--graphite); max-width: 46ch; }
.dark .lede { color: var(--mist); }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.62); transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.75) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
.hero h1 { color: var(--paper); max-width: 16ch; }
.hero-eyebrow { color: var(--paper); opacity: 0.85; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-sub { color: var(--mist); font-size: clamp(15px,1.4vw,18px); font-weight: 300; max-width: 40ch; line-height: 1.55; }
.hero-scroll { position: absolute; right: 40px; bottom: 72px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; opacity: 0.7; }
.hero-scroll::after { content: ''; width: 1px; height: 46px; background: var(--paper); animation: scrollPulse 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100%{ transform: scaleY(0.4); opacity:0.4; } 50%{ transform: scaleY(1); opacity:1; } }

/* Page hero */
.phero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; background: var(--ink); color: var(--paper); }
.phero-media { position: absolute; inset: 0; z-index: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.42); }
.phero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.7)); }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: var(--paper); max-width: 18ch; }
.phero .lede { color: var(--mist); margin-top: 26px; }
.phero .eyebrow { color: var(--mist); }

/* MARQUEE */
.marquee { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: var(--ink); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: slide 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--paper); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '\2726'; color: var(--concrete); font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* SERVICE TILES */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.tile { position: relative; display: block; overflow: hidden; background: var(--ink); aspect-ratio: 3/2.1; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.72); transition: filter 0.7s var(--ease), transform 1.1s var(--ease); }
.tile:hover img { filter: grayscale(0) brightness(0.85); transform: scale(1.05); }
.tile-body { position: absolute; inset: 0; z-index: 2; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); }
.tile-idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; }
.tile-arrow { align-self: flex-end; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; display: grid; place-items: center; transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease); }
.tile:hover .tile-arrow { background: var(--paper); color: var(--ink); transform: rotate(-45deg) scale(1.05); }
.tile-title { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; margin-bottom: 8px; }
.tile-desc { font-size: 14px; color: var(--mist); max-width: 34ch; line-height: 1.5; }
.tile-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* FOUNDER ID (small portrait + name) */
.founder-id { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.founder-photo { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; }
.founder-photo img { object-position: top center; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split-3-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.split-media { position: relative; aspect-ratio: 4/5; }
.split-media.wide { aspect-ratio: 3/2; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 52px 34px; border-left: 1px solid var(--line-d); }
.stat:first-child { border-left: none; }
.dark .stat { border-color: var(--graphite); }
.stat-n { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 68px); letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 16px; }
.stat-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--concrete); line-height: 1.5; }

/* PROCESS */
.pstep { display: grid; grid-template-columns: 120px 1fr; gap: 48px; padding: 46px 0; border-top: 1px solid var(--line); align-items: baseline; }
.dark .pstep { border-color: var(--graphite); }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.dark .pstep:last-child { border-color: var(--graphite); }
.pstep-n { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--concrete); }
.pstep-t { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; margin-bottom: 14px; transition: transform 0.5s var(--ease); }
.pstep:hover .pstep-t { transform: translateX(10px); }
.pstep-d { font-size: 15px; color: var(--graphite); line-height: 1.6; max-width: 60ch; }
.dark .pstep-d { color: var(--mist); }

/* FEATURE */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.feat-card { padding: 44px 34px 52px; background: var(--white); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.feat-n { font-family: var(--mono); font-size: 12px; color: var(--concrete); letter-spacing: 0.14em; margin-bottom: 30px; }
.feat-t { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 12px; }
.feat-d { font-size: 14.5px; color: var(--graphite); line-height: 1.65; }

/* SERVICE DETAIL */
.sdetail { border-top: 1px solid var(--line); padding: 90px 0; }
.sdetail:first-of-type { border-top: none; }
.sdetail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sdetail:nth-child(even) .sdetail-media { order: 2; }
.sdetail-media { position: relative; aspect-ratio: 4/3; }
.sdetail-idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--concrete); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--graphite); border: 1px solid var(--line); padding: 8px 14px; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* PROJECTS */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pcard { position: relative; display: block; overflow: hidden; aspect-ratio: 4/5; background: var(--ink); }
.pcard img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.78); transition: filter 0.7s var(--ease), transform 1.1s var(--ease); }
.pcard:hover img { filter: grayscale(0) brightness(0.9); transform: scale(1.05); }
.pcard-body { position: absolute; inset: 0; z-index: 2; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); }
.pcard-type { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.pcard-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 12px; }
.pcard-status { align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); border: 1px solid rgba(255,255,255,0.5); padding: 5px 12px; }

/* ARTICLES */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.acard { position: relative; display: block; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease); }
.acard:hover { transform: translateY(-6px); }
.acard-media { aspect-ratio: 16/10; }
.acard-b { padding: 30px 28px 36px; }
.acard-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--concrete); margin-bottom: 16px; }
.acard-t { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 20px; }
.acard-r { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 8px; }
.acard-r .arw { transition: transform 0.35s var(--ease); }
.acard:hover .acard-r .arw { transform: translateX(5px); }

/* article body */
.art-hero { padding: calc(var(--nav-h) + 80px) 0 60px; border-bottom: 1px solid var(--line); }
.art-back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--concrete); display: inline-block; margin-bottom: 34px; transition: color 0.3s; }
.art-back:hover { color: var(--ink); }
.art-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--concrete); margin-bottom: 22px; }
.prose { max-width: 68ch; margin: 0 auto; padding: 80px 40px 110px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin: 52px 0 18px; }
.prose p { font-size: 17px; font-weight: 300; color: var(--graphite); line-height: 1.85; margin-bottom: 20px; }
.prose ul { list-style: none; margin: 20px 0 28px; }
.prose ul li { font-size: 16px; color: var(--graphite); line-height: 1.7; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.prose ul li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 9px; }
.prose blockquote { border-left: 2px solid var(--ink); margin: 40px 0; padding: 14px 28px; }
.prose blockquote p { font-family: var(--display); font-size: 21px; font-weight: 500; font-style: italic; color: var(--ink); margin: 0; line-height: 1.4; }

/* CTA */
.cta { position: relative; padding: 140px 0; overflow: hidden; background: var(--ink); color: var(--paper); text-align: center; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.35); }
.cta::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,0.55); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { color: var(--paper); margin: 0 auto 22px; max-width: 18ch; }
.cta-sub { color: var(--mist); font-size: 17px; max-width: 48ch; margin: 0 auto 42px; line-height: 1.55; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mist); }
.cta-contact a { color: var(--paper); border-bottom: 1px solid var(--concrete); padding-bottom: 2px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; padding: calc(var(--nav-h) + 80px) 0 120px; }
.contact-info h1 { margin-bottom: 20px; }
.cmeth { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.cmeth:last-of-type { border-bottom: 1px solid var(--line); }
.cmeth-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--concrete); }
.cmeth-v { font-size: 16px; color: var(--ink); text-align: right; }
.cmeth-v a:hover { color: var(--accent); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.socials a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 15px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.form { background: var(--white); border: 1px solid var(--line); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fld { display: flex; flex-direction: column; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--concrete); margin-bottom: 9px; }
.fld input, .fld select, .fld textarea { background: var(--paper); border: 1px solid var(--line); padding: 14px 15px; font-family: var(--body); font-size: 15px; font-weight: 300; color: var(--ink); outline: none; transition: border-color 0.3s; -webkit-appearance: none; border-radius: 0; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink); }
.fld textarea { min-height: 130px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--mist); }
.form-submit { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--concrete); }
.form button { border: none; }

/* FOOTER */
footer { background: var(--ink); color: var(--paper); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 90px 0 60px; border-bottom: 1px solid var(--graphite); }
.foot-brand .nav-mark { width: 30px; height: 30px; margin-bottom: 20px; }
.foot-brand .nav-logo-dark { opacity: 0; }
.foot-brand .nav-logo-light { opacity: 1; }
.foot-tag { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.1; max-width: 20ch; }
.foot-ct { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--concrete); margin-bottom: 22px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.foot-links a { font-size: 14px; color: var(--mist); transition: color 0.3s; }
.foot-links a:hover { color: var(--paper); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--concrete); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .split, .split-3-2, .sdetail-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .sdetail:nth-child(even) .sdetail-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-d); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .feat, .pgrid, .agrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  nav { padding: 0 22px; }
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 30px; transform: translateX(100%); transition: transform 0.5s var(--ease); z-index: 90; }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--paper); font-size: 15px; }
  .nav-cta { display: none; }
  nav.on-dark:not(.solid) .nav-links a { color: var(--paper); }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; z-index: 100; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
  nav.on-dark:not(.solid) .nav-burger span { background: var(--paper); }
  .nav-burger.open span { background: var(--paper); }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wrap, .wrap-tight { padding: 0 22px; }
  .sec { padding: 84px 0; }
  .sec-sm { padding: 60px 0; }
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 26px; }
  .pstep { grid-template-columns: 60px 1fr; gap: 22px; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .hero-scroll { display: none; }
  .hero-foot { gap: 24px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line-d); }
  .stat:first-child { border-top: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: none; }
}
