@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #f4f2ec;
  --paper: #fbfaf6;
  --ink: #141412;
  --ink-2: #2a2a26;
  --soft: #5f5d56;
  --muted: #8d8a81;
  --line: rgb(20 20 18 / .1);
  --line-2: rgb(20 20 18 / .18);
  --accent: #d9481c;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgb(20 20 18 / .04), 0 30px 60px -30px rgb(20 20 18 / .35), 0 10px 20px -12px rgb(20 20 18 / .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; }
.soft { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--soft); margin: 0 0 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgb(244 242 236 / .86); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px var(--sans); letter-spacing: -.02em; }
.logo-mark { width: 22px; height: 22px; fill: var(--ink); }
.logo-mark .beat { fill: var(--accent); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--ink); color: #fff; font: 600 15.5px var(--sans); padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink); transition: transform .25s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; font-size: 18px; padding: 16px 28px; }
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-wide { width: 100%; }

.h2 { font: 600 clamp(34px, 4.4vw, 58px)/1.04 var(--sans); letter-spacing: -.035em; margin: 0; max-width: 20ch; }
.h3 { font: 600 28px/1.1 var(--sans); letter-spacing: -.02em; margin: 0; }

/* Hero */
.hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: 36px; overflow: hidden; }
.hero h1 { font: 600 clamp(48px, 8.2vw, 124px)/.95 var(--sans); letter-spacing: -.05em; margin: 0; max-width: 13ch; }
.hero h1 em, .contact h2 em, .custom h2 em { font-style: normal; color: var(--accent); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; margin-top: 36px; flex-wrap: wrap; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); max-width: 39rem; margin: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.stage { position: relative; margin-top: clamp(48px, 6vw, 88px); aspect-ratio: 1280 / 690; }
.stage::before { content: ""; position: absolute; inset: -40px -200px -1px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 30%, transparent 75%); pointer-events: none; }
.screen { position: absolute; margin: 0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.screen img { border-radius: 0 0 11px 11px; }
.chrome { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #ebe8e0; border-bottom: 1px solid var(--line); border-radius: 11px 11px 0 0; }
.chrome i { width: 8px; height: 8px; border-radius: 50%; background: #cdc8bd; }
.chrome span { margin-left: 10px; font: 500 11px var(--mono); color: var(--muted); }
.s-dash { width: 56%; right: 0; top: 0; }
.s-web { width: 50%; left: 0; top: 16%; }
.s-phone { width: 17%; right: 3%; bottom: 0; border: 8px solid var(--ink); border-radius: 26px; background: var(--ink); }
.s-phone img { border-radius: 18px; }
.tag { position: absolute; background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 8px; white-space: nowrap; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .4); }
.tag b { color: var(--accent); margin-right: 6px; font-weight: 700; }
.s-web .tag { left: 18px; bottom: -16px; }
.s-dash .tag { right: 18px; top: -16px; }
.s-phone .tag { right: 50%; transform: translateX(50%); top: auto; bottom: -22px; }
.js .stage .screen[data-reveal] { transform: translateY(40px) scale(.98); transition-duration: 1s; }
.js .stage .screen[data-reveal].in { transform: none; }

/* Custom-built statement */
.custom { padding-top: clamp(96px, 12vw, 168px); }
.custom-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.custom-head { position: sticky; top: 110px; }
.custom h2 { font: 600 clamp(38px, 5.2vw, 72px)/1.02 var(--sans); letter-spacing: -.045em; margin: 0; }
.custom-intro { color: var(--soft); font-size: 18.5px; margin: 24px 0 0; max-width: 34rem; }
.custom-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.custom-list li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.custom-list .mono { color: var(--accent); padding-top: 4px; }
.custom-list h3 { font: 600 20px/1.25 var(--sans); letter-spacing: -.015em; margin: 0; }
.custom-list p { grid-column: 2; margin: 4px 0 0; color: var(--soft); font-size: 16px; }

/* Sections */
.services, .case, .process, .pricing { padding-top: clamp(96px, 12vw, 168px); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-sub { color: var(--soft); max-width: 40rem; margin: 22px 0 0; font-size: 18.5px; }

.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.svc > li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; position: relative; }
.svc > li:last-child { border-right: 0; margin-right: 0; }
.svc > li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); }
.svc .n { color: var(--accent); }
.svc h3 { font: 600 24px/1.15 var(--sans); letter-spacing: -.02em; margin: 14px 0 10px; }
.svc p { color: var(--soft); margin: 0 0 18px; font-size: 16px; }
.ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); }
.ex li::before { content: "→ "; color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: calc((100% - 0px) * 0); height: 0; }
.step-shot { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 20px 40px -28px rgb(20 20 18 / .4); }
.step-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.step:hover .step-shot img { transform: scale(1.035); }
.step .n { color: var(--accent); margin: 22px 0 8px; }
.step h3 { font: 600 22px/1.2 var(--sans); letter-spacing: -.015em; margin: 0 0 8px; }
.step p:not(.n) { color: var(--soft); margin: 0 0 14px; font-size: 16px; }
.more { font-weight: 600; text-decoration: none; font-size: 15.5px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.more span { display: inline-block; transition: transform .2s; }
.more:hover span { transform: translateX(4px); }
.note { color: var(--muted); margin: 36px 0 0; }

.more-work { padding-top: clamp(96px, 12vw, 168px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wcard { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.wcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgb(20 20 18 / .45); }
.wcard-img { overflow: hidden; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; }
.wcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.wcard-text { padding: 24px; }
.wcard .n { color: var(--accent); margin: 0 0 10px; }
.wcard h3 { font: 600 24px/1.1 var(--sans); letter-spacing: -.02em; margin: 0 0 8px; }
.wcard p:not(.n) { color: var(--soft); font-size: 15.5px; margin: 0; }

.why { margin-top: clamp(96px, 12vw, 168px); background: var(--ink); color: #eceae3; padding: clamp(80px, 10vw, 136px) 0; }
.why-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.why .h2 { color: #fff; }
.why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.why-list dt { font: 600 21px/1.2 var(--sans); letter-spacing: -.01em; color: #fff; margin-bottom: 10px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .2); position: relative; }
.why-list dt::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); }
.why-list dd { margin: 0; color: #b7b4ab; font-size: 16px; }

.proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.proc li { padding: 26px 28px 0 0; border-top: 1px solid var(--line-2); position: relative; }
.proc li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); }
.proc li::after { content: ""; position: absolute; top: -1px; right: 28px; width: 18px; height: 1px; }
.proc span { color: var(--accent); }
.proc h3 { font: 600 21px/1.2 var(--sans); letter-spacing: -.015em; margin: 12px 0 8px; }
.proc p { color: var(--soft); font-size: 16px; margin: 0; max-width: 24ch; }

.plans { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; align-items: stretch; }
.plan .plan-lead { color: #d9d6cd; font-size: 18px; margin: 14px 0 20px; }
.price-parts { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; margin-bottom: 22px; }
.price-parts > div:not(.plus) { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: 14px; padding: 16px; }
.price-parts .mono { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.price-parts strong { display: block; font: 600 22px/1.15 var(--sans); letter-spacing: -.02em; color: #fff; margin: 8px 0 6px; }
.price-parts p { margin: 0; color: #b7b4ab; font-size: 14.5px; }
.plus { font: 600 28px/1 var(--sans); color: var(--accent); align-self: center; }
.plans-note { margin: 22px 0 0; color: var(--soft); font-size: 16.5px; text-align: center; }
.plans-note strong { color: var(--ink); }
.plan { background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan .n { color: var(--accent); margin: 0; text-transform: uppercase; letter-spacing: .12em; }
.price { margin: 14px 0 12px; color: var(--soft); font-size: 18px; }
.price span { font: 600 48px/1 var(--sans); letter-spacing: -.04em; color: var(--ink); margin-right: 4px; }
.plan > p:not(.n):not(.price):not(.fine) { color: var(--soft); font-size: 16px; margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.plan .fine { margin: auto 0 0; color: var(--muted); }
.plan .plan-extra { margin: auto 0 0; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--soft); }
.plan .plan-extra strong { color: var(--ink); }
.plan-main { background: var(--ink); color: #eceae3; border-color: var(--ink); }
.plan-main .price span { color: #fff; }
.plan-main .price, .plan-main > p:not(.n):not(.price) { color: #b7b4ab !important; }
.plan-main ul, .plan-main li { border-color: rgb(255 255 255 / .14); }
.plan-main .btn { margin-top: auto; background: #fff; color: var(--ink); border-color: #fff; }
.plan-main .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.about { padding-top: clamp(96px, 12vw, 168px); }
.about-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.quote { font: italic 400 clamp(32px, 3.8vw, 52px)/1.12 var(--serif); margin: 0; letter-spacing: -.01em; }
.about-in p:not(.quote):not(.eyebrow) { color: var(--soft); margin: 0 0 14px; }

.faq { padding-top: clamp(80px, 10vw, 136px); padding-bottom: clamp(80px, 10vw, 136px); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 600; position: relative; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px var(--mono); color: var(--muted); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq-list p { margin: 0 0 24px; color: var(--soft); max-width: 42rem; }

.contact { background: var(--ink); color: #fff; padding: clamp(88px, 11vw, 152px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000, transparent 75%); }
.contact-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow { color: #b7b4ab; }
.contact h2 { font: 600 clamp(44px, 6.4vw, 96px)/.98 var(--sans); letter-spacing: -.05em; margin: 0; max-width: 14ch; }
.contact p:not(.eyebrow) { color: #b7b4ab; max-width: 36rem; margin: 26px 0 36px; font-size: 18.5px; }
.cform { width: 100%; max-width: 640px; text-align: left; display: grid; gap: 14px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: block; font-size: 14px; font-weight: 600; color: #d9d6cd; }
.cform input, .cform textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .06); color: #fff; font: 400 16px var(--sans); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input::placeholder, .cform textarea::placeholder { color: rgb(255 255 255 / .4); }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .btn { justify-self: start; }
.contact .cform-note { font-size: 13.5px !important; margin: 0 !important; color: #8d8a81 !important; }
.cform-note a, .cform-alt a { color: #fff; }
.contact .cform-status { margin: 0 !important; font-size: 15.5px !important; color: #fff !important; min-height: 1.4em; }
.contact .cform-alt { margin: 22px 0 0 !important; font-size: 15px !important; }

.foot { padding: 28px 0 36px; font-size: 14px; color: var(--soft); background: var(--ink); border-top: 1px solid rgb(255 255 255 / .1); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8d8a81; }
.foot strong { color: #fff; }
.foot p { margin: 0; }

/* Legal pages */
.legal { max-width: 760px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 120px); }
.legal h1 { font: 600 clamp(40px, 5vw, 64px)/1 var(--sans); letter-spacing: -.04em; margin: 0 0 12px; }
.legal h2 { font: 600 20px/1.3 var(--sans); letter-spacing: -.01em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1080px) {
  .svc { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .svc > li:nth-child(2) { border-right: 0; margin-right: 0; }
  .proc { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why-in, .faq-in, .about-in, .custom-in { grid-template-columns: 1fr; }
  .custom-head { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plan-main { transform: none; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .top-in .btn-sm { margin-left: auto; }
  .flow { grid-template-columns: 1fr; gap: 48px; }
  .stage { aspect-ratio: 4 / 4.2; }
  .s-dash { display: none; }
  .s-web { width: 100%; top: 0; }
  .s-phone { width: 40%; right: 2%; bottom: 0; border-width: 6px; border-radius: 20px; }
  .s-web .tag { bottom: auto; top: -14px; }
  .s-phone .tag { right: -2px; transform: none; top: auto; bottom: -18px; }
  .tag { font-size: 11px; padding: 5px 9px; }
  .why-list { grid-template-columns: 1fr; }
  .cform-row { grid-template-columns: 1fr; }
  .price-parts { grid-template-columns: 1fr; }
  .plus { justify-self: center; }
}
@media (max-width: 560px) {
  .svc, .proc, .cards { grid-template-columns: 1fr; }
  .svc > li { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .chrome span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
