:root {
  --paper: #f6f3ee;
  --ink: #111218;
  --muted: #666a77;
  --line: rgba(17, 18, 24, .16);
  --cobalt: #355cff;
  --violet: #9b8cff;
  --blue-wash: #dce3ff;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.kicker, .eyebrow, .caps { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.topbar { height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; letter-spacing: -.055em; font-size: 22px; }
.brand span, nav a:hover { color: var(--cobalt); }
nav { display: flex; gap: 25px; color: var(--muted); font-size: 14px; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.availability i { width: 9px; height: 9px; display: block; border-radius: 50%; background: var(--violet); }

.hero { min-height: 720px; position: relative; display: grid; align-items: end; padding: 74px 0 86px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 980px; }
.hero h1 { font-size: clamp(44px, 6vw, 86px); line-height: 1.08; letter-spacing: -.025em; margin: 18px 0 34px; font-weight: 900; max-width: 880px; }
.hero h1 em { color: var(--cobalt); font-style: normal; }
.lede { max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.button { border: 1px solid transparent; border-radius: 999px; padding: 15px 22px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.button:hover { transform: translateY(-3px); }
.primary { background: var(--cobalt); color: white; }
.secondary { border-color: var(--line); background: transparent; }
.hero-note { margin-top: 52px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.disc { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.disc.one { width: 520px; height: 520px; background: var(--blue-wash); right: -70px; top: 38px; }
.disc.two { width: 240px; height: 240px; background: var(--violet); right: 260px; top: 210px; mix-blend-mode: multiply; }
.disc.three { width: 62px; height: 62px; border: 2px solid var(--ink); right: 190px; top: 110px; }

.marquee { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; white-space: nowrap; padding: 16px 0; transition: background .25s ease, color .25s ease; }
.marquee p { display: inline-block; min-width: 200%; margin: 0; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; animation: shift 28s linear infinite; }
.marquee:hover { background: var(--cobalt); color: white; }
.marquee:hover p { animation-duration: 9s; }
@keyframes shift { to { transform: translateX(-25%); } }

section { padding: 128px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(42px, 5.5vw, 78px); letter-spacing: -.045em; line-height: .98; margin: 0; }
.section-head p { max-width: 450px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { min-height: 356px; padding: 28px; border: 0; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.service:nth-child(1) { background: var(--ink); color: white; }
.service:nth-child(2) { background: var(--blue-wash); }
.service:nth-child(3) { background: var(--cobalt); color: white; }
.service:after { content: ""; position: absolute; width: 126px; height: 126px; border-radius: 50%; right: -32px; top: -32px; border: 18px solid currentColor; opacity: .18; }
.service:before { content: ""; position: absolute; inset: -40%; background: linear-gradient(120deg, transparent 42%, rgba(255,255,255,.25) 50%, transparent 58%); transform: translateX(-75%) rotate(8deg); transition: transform .8s ease; }
.service:nth-child(2):after { border-radius: 20px; transform: rotate(32deg); }
.service:nth-child(3):after { width: 164px; height: 164px; border-color: white; }
.service strong { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; position: relative; z-index: 1; }
.service p { color: inherit; opacity: .72; line-height: 1.5; max-width: 270px; position: relative; z-index: 1; }
.service .n { font-size: 13px; color: var(--cobalt); font-weight: 800; position: relative; z-index: 1; }
.service:nth-child(1) .n, .service:nth-child(3) .n { color: var(--violet); }
.service:hover { transform: translateY(-7px); box-shadow: 0 16px 0 rgba(17,18,24,.14); }
.service:hover:before { transform: translateX(75%) rotate(8deg); }

.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.case { width: 100%; min-height: 390px; padding: 28px; border: 0; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; text-align: left; font: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.case:hover, .case:focus-visible { transform: translateY(-5px); box-shadow: 0 14px 0 rgba(17,18,24,.16); outline: none; }
.case h3 { font-size: 32px; letter-spacing: -.035em; line-height: 1.04; margin: 0; max-width: 370px; position: relative; z-index: 1; }
.case p { margin: 0; max-width: 380px; position: relative; z-index: 1; font-size: 14px; line-height: 1.45; }
.case-a { background: var(--ink); color: white; }
.case-a:after { content: "01"; position: absolute; z-index: 0; font-size: 280px; line-height: 1; font-weight: 900; letter-spacing: -.15em; color: var(--cobalt); right: 28px; bottom: -60px; }
.case-b { background: var(--cobalt); color: white; }
.case-b:after { content: ""; width: 250px; height: 250px; border: 42px solid var(--violet); border-radius: 50%; position: absolute; right: -45px; bottom: -45px; }
.case-c { background: var(--violet); grid-column: 1 / -1; min-height: 260px; color: var(--ink); }
.case-c:after { content: "///"; position: absolute; font-size: 260px; letter-spacing: -.2em; right: 50px; bottom: -80px; color: rgba(255,255,255,.45); font-weight: 900; }
.case-detail { display: grid; grid-template-columns: 150px 1fr; gap: 28px; margin-top: 20px; padding: 30px; background: var(--blue-wash); border-radius: var(--radius); }
.case-detail .caps { color: var(--cobalt); }
.case-detail h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.02em; line-height: 1.08; }
.case-detail p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.5; }

.process { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.process-list { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step b { color: var(--violet); font-size: 14px; }
.step h3 { margin: 0 0 6px; letter-spacing: -.035em; font-size: 21px; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }

.contact { background: var(--ink); color: white; margin: 0; padding: 96px 0; }
.contact-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; }
.contact h2 { font-size: clamp(48px, 6vw, 90px); letter-spacing: -.05em; line-height: .95; margin: 16px 0 26px; }
.contact-copy { color: rgba(255,255,255,.64); max-width: 380px; line-height: 1.5; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }
input, select, textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: white; padding: 12px 0; border-radius: 0; font: inherit; outline: none; }
textarea { height: 42px; min-height: 42px; padding: 5px 0 7px; resize: none; overflow: hidden; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); }
select option { color: var(--ink); }
.form-note { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.4; margin: 0; }
.form-status { min-height: 18px; margin: -7px 0 0; color: var(--violet); font-size: 13px; line-height: 1.4; }
.form-button { display: inline-flex; align-items: center; justify-content: center; justify-self: start; align-self: start; height: auto; min-height: 50px; line-height: 1.2; padding: 15px 22px; background: var(--violet); color: var(--ink); }
.primary:hover { box-shadow: 0 12px 22px rgba(53,92,255,.28); }
.form-button:hover { box-shadow: 0 12px 26px rgba(155,140,255,.25); }
input, select, textarea { transition: border-color .2s ease, color .2s ease; }

footer { padding: 28px 0 42px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

@media (min-width: 761px) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1440px); }
  .topbar { height: 76px; }
  nav { display: none; }
  .hero { min-height: 650px; padding: 90px 0 60px; }
  .hero h1 { font-size: clamp(36px, 9vw, 60px); }
  .disc.one { width: 300px; height: 300px; right: -150px; top: 20px; }
  .disc.two { width: 130px; height: 130px; right: 22px; top: 125px; }
  .section-head, .process, .contact-wrap { grid-template-columns: 1fr; gap: 22px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 240px; }
  .work-grid { grid-template-columns: 1fr; }
  .case-c { grid-column: auto; }
  .case-detail { grid-template-columns: 1fr; gap: 12px; }
  .contact { padding-top: 72px; padding-bottom: 72px; }
  footer { display: grid; }
}

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