@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #0b0910;
  --ink-2: #121018;
  --surface: #18151f;
  --text: #f4f0f8;
  --muted: #aaa2b2;
  --purple: #9b5cff;
  --purple-bright: #bc8cff;
  --eye: #cdefff;
  --line: rgba(244, 240, 248, .14);
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--ink); font-family: var(--sans); line-height: 1.55; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--eye); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--eye); outline-offset: 4px; }

.site-header { min-height: 78px; width: var(--shell); margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--mono); letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span span { color: var(--purple-bright); font-weight: 400; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a:not(.nav-cta) { color: var(--muted); }
.site-header nav a:hover { color: var(--eye); }
.nav-cta { padding: 11px 16px; border: 1px solid var(--purple); }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr auto; align-items: center; gap: 32px 64px; padding-block: 80px 28px; }
.eyebrow { margin-bottom: 24px; color: var(--purple-bright); font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 24px; height: 1px; margin: 0 10px 3px 0; background: var(--purple); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 820px; margin-bottom: 32px; font-size: clamp(58px, 8vw, 112px); }
h1 em { color: var(--purple-bright); font-style: normal; }
.hero-lede { max-width: 650px; margin-bottom: 36px; color: #cdc6d2; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid transparent; font: 700 12px var(--mono); letter-spacing: .03em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--purple-bright); }
.button-primary:hover { background: var(--eye); }
.button-secondary { border-color: var(--line); color: var(--muted); }
.button-secondary:hover { border-color: var(--eye); color: var(--eye); }
.hero-mark { align-self: stretch; min-height: 430px; position: relative; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); overflow: hidden; }
.hero-mark::before { content: ''; position: absolute; width: 310px; aspect-ratio: 1; border: 1px solid rgba(155,92,255,.35); border-radius: 50%; box-shadow: 0 0 100px rgba(155,92,255,.1), inset 0 0 80px rgba(155,92,255,.08); }
.hero-mark img { position: relative; z-index: 1; width: min(92%, 440px); height: auto; filter: saturate(.86) drop-shadow(0 26px 70px rgba(0,0,0,.55)); }
.signal-label { position: absolute; top: 8px; right: 0; color: var(--muted); font: 10px var(--mono); letter-spacing: .16em; }
.signal-line { position: absolute; bottom: 8px; inset-inline: 30px 0; display: flex; align-items: center; gap: 12px; color: var(--eye); font: 10px var(--mono); }
.signal-line b { height: 1px; flex: 1; background: linear-gradient(90deg, var(--purple), var(--eye)); }
.hero-proof { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-proof span { padding: 18px 0 0; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.hero-proof span + span { padding-left: 24px; border-left: 1px solid var(--line); }

.section { padding-block: clamp(90px, 11vw, 150px); border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-intro .eyebrow { align-self: start; }
h2 { margin-bottom: 0; font-size: clamp(44px, 6vw, 76px); }
.section-intro > p:last-child { margin-bottom: 5px; color: var(--muted); }

.case { display: grid; grid-template-columns: 1.15fr .85fr; height: 700px; min-height: 0; background: var(--ink-2); border: 1px solid var(--line); }
.case + .case { margin-top: 40px; }
.case-visual { min-width: 0; min-height: 0; height: 700px; position: relative; overflow: hidden; background: #e8e5df; }
.desktop-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mobile-shot { position: absolute; right: 30px; bottom: 30px; width: 25%; max-height: 72%; object-fit: cover; object-position: top; border: 6px solid #17141c; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.visual-note { position: absolute; left: 18px; bottom: 18px; padding: 7px 10px; color: var(--ink); background: rgba(244,240,248,.92); font: 700 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.case-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.case-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; margin-bottom: 34px; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.case-meta span:nth-child(2) { padding-left: 14px; border-left: 1px solid var(--line); }
.case h3 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 68px); }
.case-lede { color: #d8d1de; font-size: 19px; line-height: 1.45; }
.case-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 22px; padding-block: 22px; border-block: 1px solid var(--line); }
.case-details span { color: var(--purple-bright); font: 700 9px var(--mono); text-transform: uppercase; letter-spacing: .13em; }
.case-details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags li { padding: 6px 9px; color: var(--muted); border: 1px solid var(--line); font: 9px var(--mono); text-transform: uppercase; }
.disclosure { color: #837c89; font-size: 12px; }
.text-link { align-self: flex-start; margin-top: 16px; padding-bottom: 5px; color: var(--eye); border-bottom: 1px solid rgba(205,239,255,.4); font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.text-link:hover { color: var(--purple-bright); border-color: var(--purple-bright); }
.persona-visual { background: #1b222a; }
.persona-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 70px .7fr 1fr; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--purple-bright); font: 10px var(--mono); }
.service-list h3 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.service-list p { max-width: 560px; margin: 0; color: var(--muted); }
.service-list article:hover h3 { color: var(--eye); }

.approach { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px, 9vw, 130px); }
.approach-copy h2 { margin-bottom: 34px; }
.approach-copy > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 17px; }
.process { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process li > span { color: var(--purple-bright); font: 10px var(--mono); }
.process h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
.process p { margin: 0; color: var(--muted); font-size: 14px; }

.contact { min-height: 420px; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 40px; padding: clamp(40px, 7vw, 80px); overflow: hidden; color: var(--ink); background: var(--purple-bright); }
.contact img { position: absolute; right: 17%; bottom: -54%; width: 420px; height: auto; opacity: .12; filter: grayscale(1) contrast(1.7); }
.contact h2 { position: relative; margin-bottom: 24px; font-size: clamp(46px, 6vw, 78px); }
.contact p { position: relative; max-width: 590px; margin-bottom: 0; }
.contact .eyebrow { color: #3a174d; }
.button-light { position: relative; align-self: end; background: var(--text); border-color: var(--text); white-space: nowrap; }
.button-light:hover { color: var(--text); background: var(--ink); border-color: var(--ink); }

.site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); border-top: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--eye); }
.footer-mark { justify-self: end; color: #69626f; }

.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .site-header { align-items: flex-start; padding-block: 18px; }
  .site-header nav { justify-content: flex-end; flex-wrap: wrap; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-mark { min-height: 360px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-mark img { width: min(72%, 400px); }
  .section-intro { grid-template-columns: 1fr; gap: 12px; }
  .case { grid-template-columns: 1fr; height: auto; }
  .case-visual { height: 520px; min-height: 520px; }
  .approach { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; align-items: end; }
  .button-light { justify-self: start; }
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-mark { display: none; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .site-header { min-height: 70px; }
  .nav-cta { padding: 9px 10px; font-size: 9px; }
  h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero { padding-top: 56px; }
  .hero-mark { min-height: 310px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof span, .hero-proof span + span { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 78px; }
  .section-intro { margin-bottom: 42px; }
  .case-visual { height: 370px; min-height: 370px; }
  .mobile-shot { right: 16px; bottom: 16px; width: 28%; border-width: 4px; }
  .case-copy { padding: 28px 22px 36px; }
  .case-details { grid-template-columns: 1fr; }
  .service-list article { grid-template-columns: 40px 1fr; gap: 15px; }
  .service-list article p { grid-column: 2; }
  .contact { width: 100%; margin-bottom: 0; padding: 56px 22px; }
  .button-light { width: 100%; white-space: normal; font-size: 10px; }
  .site-footer { width: calc(100% - 24px); grid-template-columns: 1fr; align-content: center; gap: 14px; padding-block: 28px; }
  .site-footer nav { justify-content: space-between; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
