@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #101216;
  --paper: #efeee8;
  --acid: #d7ff39;
  --petrol: #00727a;
  --muted: #9fa39d;
  --line: rgba(16, 18, 22, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.eyebrow, .mono { font: 500 11px/1.2 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.page-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px clamp(22px, 4vw, 64px); border-bottom: 1px solid rgba(255,255,255,.23); position: absolute; z-index: 4; width: 100%; color: white; }
.wordmark { font: 500 15px/1 "DM Mono", monospace; letter-spacing: .01em; }
.wordmark b { color: var(--acid); font-weight: 500; }
.back-link { display: inline-flex; gap: 9px; align-items: center; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.back-link::before { content: "←"; font-size: 14px; }
.page-hero { position: relative; min-height: min(780px, 100svh); padding: 135px clamp(22px, 7vw, 120px) 54px; display: grid; align-content: space-between; overflow: hidden; isolation: isolate; background: var(--ink); color: #f6f6ef; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.08) calc(25% - 1px), rgba(255,255,255,.08) 25%); }
.page-hero::after { content: ""; position: absolute; width: min(62vw, 850px); height: min(62vw, 850px); right: -16vw; bottom: -45vw; z-index: -1; border-radius: 50%; background: var(--acid); opacity: .96; }
.program-page .page-hero::after { border-radius: 0; rotate: 18deg; background: var(--petrol); width: min(62vw, 890px); height: min(62vw, 890px); }
.hero-label { display: flex; justify-content: space-between; gap: 20px; color: #c3c7bd; }
.page-hero h1 { max-width: 10ch; margin: 55px 0 32px; font-size: clamp(4.3rem, 11vw, 12rem); line-height: .86; letter-spacing: -.075em; }
.page-hero h1 em { color: var(--acid); font-style: normal; }
.program-title { letter-spacing: -.067em; line-height: .91; }
.program-comma { display: inline-block; margin-right: .06em; }
.program-word { display: inline-block; letter-spacing: -.055em; }
.program-air { display: inline-block; margin-left: .035em; }
.type-word-gap { display: inline-block; margin-right: .045em; }
.design-page .page-hero h1 em { color: var(--acid); }
.hero-lead { max-width: 39ch; margin: 0; font-size: clamp(1rem, 1.6vw, 1.28rem); line-height: 1.55; }
.hero-number { align-self: end; justify-self: end; font: 500 clamp(3rem, 9vw, 9rem)/.8 "DM Mono", monospace; letter-spacing: -.1em; color: rgba(255,255,255,.22); }
.ticker { overflow: hidden; padding: 18px 0; background: var(--acid); color: var(--ink); white-space: nowrap; }
.ticker > div { display: inline-block; padding-left: 100%; font: 700 clamp(1.1rem, 2vw, 2.1rem)/1 Manrope, sans-serif; letter-spacing: -.045em; animation: ticker 75s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }
.section { padding: clamp(76px, 11vw, 150px) clamp(22px, 7vw, 120px); }
.section-dark { background: var(--ink); color: #f5f6ee; }
.two-col { display: grid; grid-template-columns: minmax(140px, .6fr) 2fr; gap: 40px; }
.two-col h2, .section-heading h2 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 6.3vw, 7rem); line-height: .97; letter-spacing: -.06em; }
.section-copy { max-width: 52ch; align-self: end; font-size: 1.05rem; line-height: 1.7; }
.section-copy p:first-child { margin-top: 0; }
.statement-rule { height: 8px; width: min(100%, 610px); margin-top: 46px; background: var(--petrol); }
.section-dark .statement-rule { background: var(--acid); }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 58px; }
.section-heading > p { max-width: 30ch; margin: 7px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.capability { min-height: 236px; padding: 22px clamp(18px, 2.6vw, 42px) 28px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.capability:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.25); padding-left: 0; }
.capability:nth-child(3n+2), .capability:nth-child(3n+3) { padding-left: clamp(18px, 2.6vw, 42px); }
.capability .mono { color: var(--acid); }
.capability h3 { margin: 39px 0 9px; font-size: clamp(1.45rem, 2.35vw, 2.45rem); line-height: 1; letter-spacing: -.06em; }
.capability p { max-width: 29ch; margin: 0; color: #bec2b8; font-size: .9rem; line-height: 1.55; }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(16,18,22,.22); border: 1px solid var(--line); }
.scope-card { min-height: 330px; padding: 27px; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }
.scope-card span { color: var(--petrol); }
.scope-card h3 { max-width: 9ch; margin: 44px 0 0; font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: .9; letter-spacing: -.075em; }
.scope-card p { max-width: 31ch; margin: 0; font-size: .9rem; line-height: 1.6; }
.stack { border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: minmax(130px, .7fr) 1.45fr 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stack-row h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2.2rem); line-height: 1; letter-spacing: -.05em; }
.stack-row p { margin: 0; color: #454a48; font-size: .91rem; line-height: 1.55; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.tech-pills span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 100px; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .04em; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 38px); }
.work-card { min-height: 590px; overflow: hidden; background: #e0e0dc; display: grid; grid-template-rows: 1fr auto; transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-7px); box-shadow: 0 17px 0 rgba(215,255,57,.72); }
.work-card .visual { position: relative; overflow: hidden; min-height: 400px; background: #13181a; }
.work-card .visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.45)); pointer-events: none; }
.work-card .visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .visual img { transform: scale(1.055); }
.work-index { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 8px 9px; background: rgba(16,18,22,.82); color: var(--acid); backdrop-filter: blur(10px); }
.work-card .caption { padding: 22px 25px 25px; display: flex; justify-content: space-between; align-items: end; gap: 14px; background: #f8f7f2; color: var(--ink); }
.work-card h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.7vw, 2.8rem); line-height: 1; letter-spacing: -.05em; }
.work-card p { max-width: 33ch; margin: 0; font-size: .84rem; line-height: 1.5; }
.work-card .tag { white-space: nowrap; color: var(--petrol); }
.integrated { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1px; background: rgba(255,255,255,.2); }
.integrated > div { min-height: 310px; padding: 30px; background: var(--ink); }
.integrated h3 { margin: 50px 0 10px; font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: .98; letter-spacing: -.055em; }
.integrated p { max-width: 31ch; margin: 0; color: #c0c3bb; font-size: .9rem; line-height: 1.6; }
.integrated .number { color: var(--acid); }
.cta { position: relative; overflow: hidden; padding: clamp(90px, 13vw, 175px) clamp(22px, 7vw, 120px) 43px; background: var(--acid); }
.cta::after { content: "K"; position: absolute; right: -3vw; bottom: -19vw; color: var(--petrol); font: 800 clamp(22rem, 54vw, 58rem)/.7 Manrope, sans-serif; letter-spacing: -.15em; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 11ch; margin: 20px 0 33px; font-size: clamp(3rem, 7.8vw, 8.5rem); line-height: .9; letter-spacing: -.065em; }
.cta p { max-width: 35ch; margin: 0 0 30px; font-size: 1.05rem; line-height: 1.6; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 17px; border: 2px solid var(--ink); border-radius: 100px; font: 500 11px/1 "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button::after { content: "↗"; font-size: 16px; }
.button:hover { background: var(--petrol); border-color: var(--petrol); color: white; transform: translateY(-3px); }
footer { display: flex; justify-content: space-between; gap: 22px; margin-top: 110px; padding-top: 22px; border-top: 1px solid rgba(16,18,22,.26); font: 500 10px/1.4 "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
footer a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 780px) {
  .page-nav { padding: 20px 22px; }
  .page-hero { min-height: 690px; padding: 112px 22px 31px; }
  .page-hero::before { background: repeating-linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255,255,255,.08) calc(50% - 1px), rgba(255,255,255,.08) 50%); }
  .page-hero::after { width: 110vw; height: 110vw; right: -43vw; bottom: -45vw; }
  .page-hero h1 { margin-top: 45px; font-size: clamp(4rem, 18vw, 7.5rem); }
  .hero-number { font-size: 4rem; }
  .two-col, .integrated { grid-template-columns: 1fr; gap: 27px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .capability-grid, .scope { grid-template-columns: 1fr; }
  .capability, .capability:not(:nth-child(3n)), .capability:nth-child(3n+2), .capability:nth-child(3n+3) { min-height: 190px; padding: 21px 0 26px; border-right: 0; }
  .scope-card { min-height: 240px; }
  .stack-row { grid-template-columns: 1fr; gap: 15px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 510px; }
  .work-card .visual { min-height: 350px; }
  footer { margin-top: 80px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker > div { animation: none; padding-left: 0; } }
