:root {
  --paper: #f6f4ef; --card: #fff; --ink: #0f0f0d; --muted: #66655e; --line: #e2dfd7;
  --night: #0c0d0d; --night-2: #17191a; --on-night: #fff; --on-night-2: #a9aaa6; --line-night: #2a2c2d;
  --teal: #0d7377; --teal-2: #14a085;
  --display: "Plus Jakarta Sans", system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  --r-lg: 28px; --r-md: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 60px); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.label { font-size: 16px; font-weight: 500; color: var(--muted); }
.num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 600 15px/1 var(--display); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--teal); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--teal-2); color: #fff; }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px clamp(16px, 2.4vw, 32px); transition: transform .3s var(--ease), background .2s, padding .2s; }
.site-head.solid { background: var(--paper); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.site-head.away { transform: translateY(-110%); }
.logo { font: 700 25px/1 var(--display); letter-spacing: -.04em; text-decoration: none; }
.logo span { color: var(--teal); }
.pill { display: flex; gap: 2px; padding: 5px; background: #fff; border-radius: 99px; box-shadow: 0 1px 3px rgb(0 0 0 / .1), 0 0 0 1px rgb(0 0 0 / .05); }
.pill a { padding: 9px 18px; border-radius: 99px; font: 600 14px/1 var(--display); text-decoration: none; transition: background .15s; }
.pill a:hover { background: var(--paper); }
.head-cta { justify-self: end; min-height: 44px; padding: 10px 20px; font-size: 14px; }
.menu-btn { display: none; justify-self: end; min-height: 44px; padding: 0 18px; background: var(--ink); color: #fff; border: 0; border-radius: 99px; font: 600 14px/1 var(--display); }
.menu { position: fixed; inset: 70px 12px auto; z-index: 49; display: grid; padding: 10px; background: #fff; border-radius: var(--r-md); box-shadow: 0 16px 40px rgb(0 0 0 / .16); }
.menu[hidden] { display: none; }
.menu a { padding: 14px; font: 600 18px/1.2 var(--display); text-decoration: none; }

/* hero */
.hero { position: relative; margin: 8px; height: calc(100svh - 16px); min-height: 460px; max-height: 1080px; border-radius: 22px; overflow: hidden; background: #fbf8f3; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero-in { position: absolute; inset: auto 0 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: clamp(20px, 4vw, 56px); }
.hero-main { max-width: min(760px, 50vw); }
.hero-name { font: 700 clamp(58px, min(8.4vw, 17svh), 136px)/.98 var(--display); letter-spacing: -.055em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.hero-lede { max-width: 620px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: #3a3a35; margin-bottom: 26px; }
.js .hero-art { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* proof + tools */
.proof { padding-block: 26px; }
.proof ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof li { font: 600 15px/1.3 var(--display); display: flex; gap: 10px; align-items: baseline; }
.proof li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); transform: translateY(-1px); }
.tools { padding-block: 20px 34px; text-align: center; }
.tools .label { font-size: 13px; margin-bottom: 14px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { flex: none; display: flex; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); font: 600 21px/1.2 var(--display); letter-spacing: -.02em; animation: slide 36s linear infinite; }
@keyframes slide { to { transform: translateX(-100%); } }

/* reel */
.reel-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-ctrl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.reel-ctrl button { min-height: 40px; padding: 0 16px; background: #fff; color: var(--ink); border: 0; border-radius: 99px; font: 600 13px/1 var(--display); }

/* projects */
.work-head { display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 12px; margin-bottom: 32px; }
.work-head h2 { font-size: clamp(60px, 10vw, 136px); letter-spacing: -.055em; line-height: .95; }
.work-head span { font-size: 14px; font-weight: 500; padding-top: 12px; }
.work-head p { justify-self: end; align-self: end; max-width: 300px; color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { display: block; padding: 8px; background: var(--card); border-radius: var(--r-md); text-decoration: none; }
.card-top { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px 14px; }
.card-top strong { font: 700 17px/1.2 var(--display); letter-spacing: -.02em; }
.card-top span { font-size: 13px; color: var(--muted); }
.card-top em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #e9e6df; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
a.card:hover .card-media img { transform: scale(1.025); }

/* section header */
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .label { padding-top: 10px; }
.sec-head h2 { max-width: 16em; }
.sec-note { margin: calc(clamp(36px, 5vw, 64px) * -.6) 0 36px calc((100% - 24px) * .25 + 24px); color: var(--muted); }

/* dark bands */
.dark { margin-inline: 8px; background: var(--night); color: var(--on-night); border-radius: 36px; }
.dark .label, .dark .num { color: var(--on-night-2); }
.svcs { border-bottom: 1px solid var(--line-night); }
.svc { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; padding-block: 34px; border-top: 1px solid var(--line-night); }
.svc h3 { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.12; }
.svc p { color: var(--on-night-2); align-self: center; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.inline-cta p { font: 600 clamp(21px, 2.3vw, 30px)/1.2 var(--display); letter-spacing: -.02em; }

/* tabs */
.tablist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
[role="tab"] { display: flex; gap: 10px; align-items: baseline; min-height: 62px; padding: 16px 18px; background: var(--card); border: 0; border-radius: 14px; font: 600 15px/1.2 var(--display); text-align: left; transition: background .2s, color .2s; }
[role="tab"] span { font: 500 12px/1 var(--body); opacity: .6; }
[role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: clamp(24px, 4vw, 52px); background: var(--card); border-radius: var(--r-lg); }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(28px, 3.1vw, 42px); }
.panel li { display: grid; grid-template-columns: 44px 1fr; padding-block: 20px; border-top: 1px solid var(--line); }
.panel li:first-child { border-top: 0; padding-top: 4px; }
.panel h4 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; }
.panel p { font-size: 16px; color: var(--muted); }

/* why + stats */
.whys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.why-card { padding: 26px 22px 30px; background: var(--night-2); border-radius: var(--r-md); }
.why-card h3 { font-size: 21px; line-height: 1.18; margin-bottom: 12px; letter-spacing: -.02em; }
.why-card p { font-size: 16px; color: var(--on-night-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.stats strong { display: block; font: 700 clamp(34px, 3.6vw, 50px)/1.05 var(--display); letter-spacing: -.04em; margin-bottom: 10px; }
.stats span { font-size: 15px; color: var(--on-night-2); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; }
.about > .label { padding-top: 10px; }
.about h2 { margin-bottom: 26px; }
.about p:not(.label) { max-width: 36em; margin-bottom: 16px; font-size: 19px; }
.about p.sign { font-size: 16px; color: var(--muted); margin-top: 28px; }
.sign strong { display: block; color: var(--ink); font-family: var(--display); }

/* testimonials (shown once real quotes exist) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quote { padding: 28px; background: var(--card); border-radius: var(--r-md); }
.quote blockquote { margin: 0 0 22px; font: 600 20px/1.3 var(--display); }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote strong { display: block; color: var(--ink); }

/* plans */
#plans { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; background: var(--card); border-radius: var(--r-lg); }
.plan.featured { background: var(--night); color: #fff; }
.plan h3 { font-size: 22px; margin-bottom: 14px; }
.price { font: 700 46px/1 var(--display); letter-spacing: -.04em; margin-bottom: 26px; }
.price span { font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: .6; }
.plan ul { align-self: stretch; margin-bottom: 30px; flex: 1; }
.plan li { padding-block: 10px; border-top: 1px solid var(--line); font-size: 16px; }
.plan.featured li { border-color: var(--line-night); }
.flag { position: absolute; top: 34px; right: 28px; font-size: 13px; color: var(--teal-2); font-weight: 600; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding-top: 0; }
.faq h2 { font-size: clamp(60px, 8vw, 110px); letter-spacing: -.05em; margin-bottom: 14px; }
.faq > div > p { color: var(--muted); }
.faq-list { display: grid; gap: 8px; }
details { background: var(--card); border-radius: 14px; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 22px; font: 600 17px/1.3 var(--display); letter-spacing: -.01em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 14px; height: 14px; }
summary i::before, summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .2s; }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: none; }
details p { padding: 0 22px 22px; max-width: 42em; color: var(--muted); }

/* contact + forms */
.contact { margin: 0 8px 8px; padding-top: clamp(56px, 7vw, 96px); background: var(--night); color: #fff; border-radius: 36px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.contact h2 { font-size: clamp(84px, 13vw, 180px); line-height: .92; letter-spacing: -.06em; margin-bottom: 36px; }
.contact-lede { max-width: 26em; font: 600 clamp(20px, 2vw, 25px)/1.3 var(--display); letter-spacing: -.02em; margin-bottom: 30px; }
.contact-lede a, .start-alt a { color: inherit; text-underline-offset: 3px; }
.contact-points li { max-width: 30em; margin-bottom: 8px; color: var(--on-night-2); }
.contact-points strong { color: #fff; }
.form-card { padding: clamp(24px, 3vw, 36px); background: #fff; color: var(--ink); border-radius: var(--r-lg); }
.form-card h3 { font-size: 26px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label, legend { display: block; margin-bottom: 7px; font: 600 15px/1.3 var(--display); }
.field label span { font: 400 13px var(--body); opacity: .65; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 18px; background: #f0eee9; border: 1px solid transparent; border-radius: 16px; color: var(--ink); font: 400 16px/1.4 var(--body); }
.field textarea { resize: vertical; }
.field ::placeholder { color: #75746c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin-top: 14px; font-size: 15px; color: #a3261f; }
.form-error a { color: inherit; }
.form-done { padding: 32px; background: #fff; color: var(--ink); border-radius: var(--r-lg); }
.form-done:focus { outline: none; }
.form-done h3 { font-size: 28px; margin-bottom: 8px; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 22px; border-top: 1px solid var(--line-night); font-size: 14px; color: var(--on-night-2); }
.foot-bar span:first-child { margin-right: auto; }
.foot-bar a { text-decoration: none; }
.foot-bar a:hover { color: #fff; }

/* start a project */
.start { margin: 84px 8px 8px; padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 64px) 0; background: var(--night); color: #fff; border-radius: 24px; }
.start .label { font-size: 13px; color: var(--on-night-2); margin-bottom: 18px; }
.start-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 56px; }
.start-side h1 { font-size: clamp(60px, 7.4vw, 104px); letter-spacing: -.055em; line-height: .96; margin-bottom: 26px; }
.start-side p:not(.label) { max-width: 24em; margin-bottom: 18px; color: var(--on-night-2); font-size: 18px; }
.start-side { position: sticky; top: 90px; align-self: start; }
.start legend { margin-bottom: 12px; font-size: 17px; }
.start fieldset { margin-bottom: 30px; }
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.need { position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; background: var(--night-2); border: 1px solid var(--line-night); border-radius: 16px; font: 600 16px/1.25 var(--display); cursor: pointer; transition: border-color .15s, background .15s; }
.need input, .chip input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.need svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--teal-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.need:hover, .chip:hover span { border-color: #55585a; }
.need:has(input:checked) { border-color: var(--teal-2); background: #10302f; }
.need:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 2px solid var(--teal-2); outline-offset: 2px; border-radius: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip span { display: block; padding: 12px 18px; background: var(--night-2); border: 1px solid var(--line-night); border-radius: 99px; font-size: 15px; font-weight: 500; }
.chip input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.start .field input, .start .field textarea { background: var(--night-2); border-color: var(--line-night); color: #fff; }
.start .field ::placeholder { color: #8d8e8a; }
.start .field input:focus, .start .field textarea:focus { border-color: var(--teal-2); background: var(--night-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.start .form-error { color: #ff9c92; }
.missing { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 120px 20px; }
.missing h1 { font-size: clamp(44px, 7vw, 80px); }

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

@media (max-width: 1020px) {
  .site-head { grid-template-columns: 1fr auto auto; gap: 8px; }
  .pill { display: none; }
  .menu-btn { display: block; }
  .head-cta { display: none; }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .whys, .stats { grid-template-columns: 1fr 1fr; }
  .tablist { grid-template-columns: 1fr 1fr; }
  .about { gap: 10px; }
  .about > .label { padding-top: 0; }
  .panel, .about, .faq, .contact-grid, .start-grid { grid-template-columns: 1fr; }
  .plans, .quotes { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-head .label { padding-top: 0; }
  .sec-note { margin-left: 0; }
  .start-side { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { min-height: 640px; }
  .grid, .needs, .two { grid-template-columns: 1fr; }
  .two { gap: 0; }
  .need { min-height: 64px; }
  .work-head { grid-template-columns: auto 1fr; }
  .work-head p { grid-column: 1 / -1; justify-self: start; }
  .svc { grid-template-columns: 1fr; gap: 8px; padding-block: 26px; }
  .svc p { font-size: 16px; }
  .reel-frame { aspect-ratio: 4 / 3; }
  .dark, .contact { border-radius: 26px; }
  .foot-bar span:first-child { margin-right: 0; width: 100%; }
}
@media (max-aspect-ratio: 1/1) {
  .hero-art { height: 52%; bottom: auto; object-position: 100% 50%; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
  .hero-main { max-width: none; }
}
@media (max-aspect-ratio: 1/1) and (max-width: 680px) {
  .hero-art { object-position: 96% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-art, .track { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .marquee { flex-wrap: wrap; justify-content: center; mask-image: none; }
  .track[aria-hidden] { display: none; }
  .track { flex-wrap: wrap; justify-content: center; padding: 0 16px; gap: 12px 28px; }
}

/* "Your work" hero: dark wall of real sites */
.hero-work { background: #0b0d0d; color: #fff; }
.hero-work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 12 12 / .5) 0, rgb(9 12 12 / 0) 62%); }
.hero-work .hero-lede { color: rgb(255 255 255 / .82); }
.hero-work .btn { background: #fff; color: var(--ink); }
.hero-work .btn:hover { background: var(--teal-2); color: #fff; }
body:has(.hero-work) .site-head:not(.solid) .logo { color: #fff; }
body:has(.hero-work) .site-head:not(.solid) .logo span { color: var(--teal-2); }
body:has(.hero-work) .site-head:not(.solid) .head-cta,
body:has(.hero-work) .site-head:not(.solid) .menu-btn { background: #fff; color: var(--ink); }
@media (max-aspect-ratio: 1/1) {
  .hero-work .hero-art { height: 100%; object-position: 70% 0; -webkit-mask-image: none; mask-image: none; }
  .hero-work::after { background: linear-gradient(to top, rgb(9 12 12 / .94) 0, rgb(9 12 12 / .84) 50%, rgb(9 12 12 / .12) 80%); }
}
