/* NyboleDigital V2 – light, editorial design system. Mobile-first. No framework. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #F7F8F6;
  --paper-2: #EEF1EE;
  --white: #FFFFFF;
  --ink: #101820;
  --ink-2: #2B3640;
  --grey: #5E6973;
  --grey-2: #8A949C;
  --hair: rgba(16, 24, 32, .10);
  --teal: #19A99B;
  --teal-ink: #0E7C72;
  --teal-soft: #DDF2EF;
  --night: #101923;
  --night-2: #172330;
  --amber: #F2A33A;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --r-lg: 28px;
  --r-md: 18px;
  --shadow-lg: 0 40px 80px -30px rgba(16, 24, 32, .35), 0 12px 30px -12px rgba(16, 24, 32, .18);
  --shadow-md: 0 20px 40px -20px rgba(16, 24, 32, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); font-feature-settings: "cv11", "ss01"; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type scale ---------- */
.display-1 { font-size: clamp(2.9rem, 9.5vw, 6.6rem); line-height: .98; letter-spacing: -.045em; }
.display-2 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; }
.display-3 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; }
.display-1 em, .display-2 em { font-style: normal; color: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.5; color: var(--grey); max-width: 38ch; }
.kicker { font: 600 .82rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 18px; }
.eyebrow-num { font: 600 .86rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin: 0 0 20px; }
.micro { font-size: .84rem; color: var(--grey-2); margin: 14px 0 0; }
.caption { font-size: .9rem; color: var(--grey); margin: 14px 0 0; max-width: 70ch; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; text-align: center; max-width: 100%; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-xl { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(25,169,155,.8); }
.btn-primary:hover { background: #148f83; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24313d; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(16,24,32,.22); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-amber { background: var(--amber); color: #1b1203; }
.btn-amber:hover { background: #f6b65d; color: #1b1203; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 248, 246, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--hair); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 500 1.12rem var(--display); letter-spacing: -.02em; }
.brand b { font-weight: 600; }
.brand svg { width: 32px; height: 32px; }
.brand-light { color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .96rem; font-weight: 500; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav a:not(.btn):hover { background: rgba(16,24,32,.06); }
.nav .lang { color: var(--grey); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--ink); cursor: pointer; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 110; margin: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 96px var(--gutter) 40px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font: 600 clamp(2rem, 9vw, 2.8rem)/1.1 var(--display); letter-spacing: -.03em; padding: 12px 0; border-radius: 0; color: var(--ink); }
  .nav a:not(.btn):hover { background: none; color: var(--teal-ink); }
  .nav .lang { font-size: 1.2rem !important; color: var(--grey) !important; margin-top: 18px; }
  .nav-cta { margin: 28px 0 0; min-height: 58px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -260px; background: radial-gradient(closest-side, rgba(25,169,155,.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 56px); }
.hero-copy .lead { margin: 26px 0 34px; }
.hero-visual { position: relative; padding: 0 9% 17% 0; }
.browser { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(16,24,32,.06); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF0EE; border-bottom: 1px solid rgba(16,24,32,.06); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D2D6D3; }
.browser-bar span { margin-left: 10px; font-size: .74rem; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-shot { margin: 0; border-radius: 26px; padding: 6px; background: #0b0f14; box-shadow: var(--shadow-lg); }
.phone-shot img { border-radius: 21px; }
.hero-card { position: absolute; right: 0; bottom: 0; width: 58%; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(16,24,32,.06); }
.hero-tag { position: absolute; margin: 0; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font: 600 clamp(.68rem, 1.6vw, .86rem)/1 var(--font); padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow-md); white-space: nowrap; }
.hero-tag b { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(25,169,155,.18); }
.hero-tag-a { left: -2%; bottom: 20%; }
.hero-tag-b { right: 4%; top: -14px; }
.hero-tag-b b { background: #4C7BE0; box-shadow: 0 0 0 4px rgba(76,123,224,.18); }
@media (min-width: 1000px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
  .hero-visual { margin-right: calc(var(--gutter) * -0.5); }
}
@media (max-width: 560px) {
  .hero-tag-a { left: 0; bottom: 6%; }
  .hero-tag-b { display: none; }
}

/* ---------- sections ---------- */
.section-intro { max-width: 900px; margin-bottom: clamp(48px, 7vw, 88px); }
.work { padding: clamp(40px, 6vw, 88px) 0 clamp(80px, 10vw, 140px); }
.work-after { padding-top: clamp(80px, 10vw, 140px); }

/* feature (project) layout */
.feature { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.feature-copy .lead { margin: 20px 0 26px; }
.feature-copy .actions { margin-top: 28px; }
.status { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--grey); margin: 0 0 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-blue { background: #4C7BE0; } .dot-amber { background: var(--amber); } .dot-green { background: var(--teal); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E7C72' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (min-width: 1000px) {
  .feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
  .feature-otto { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
  .feature-camper { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

/* AI stage */
.ai-stage { position: relative; padding: 9% 8% 16% 6%; border-radius: var(--r-lg); background: linear-gradient(140deg, #DDF2EF 0%, #EAF4F1 45%, #F3EEE6 100%); }
.ai-main { position: relative; z-index: 1; }
.ai-second { position: absolute; z-index: 2; width: 52%; right: 3%; bottom: 4%; box-shadow: var(--shadow-lg); }
@media (min-width: 1000px) { .ai-stage { margin-right: calc(var(--gutter) * -1); } }

/* dark band (Camper BU22 + demo, contact) */
.dark-band { background: var(--night); color: #EDF1F4; position: relative; overflow: hidden; }
.dark-band .lead { color: #A9B4BF; }
.dark-band .eyebrow-num, .dark-band .status { color: #8E9AA6; }
.dark-band .kicker { color: #6FD8CB; }
.camper { padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 9vw, 110px); }
.camper::before { content: ""; position: absolute; width: 1100px; height: 1100px; left: 50%; top: -420px; transform: translateX(-10%); background: radial-gradient(closest-side, rgba(242,163,58,.16), transparent 70%); pointer-events: none; }
.camper .wrap { position: relative; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 4% 0 2%; }
.phones::before { content: ""; position: absolute; left: 50%; top: 52%; width: 120%; height: 95%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 210, .20), rgba(242, 163, 58, .10) 45%, transparent 75%); pointer-events: none; }
.phones .phone-shot { position: relative; width: 34%; max-width: 270px; padding: 7px; border-radius: 30px;
  background: linear-gradient(150deg, #5a6472 0%, #2a313b 22%, #161b22 60%, #3b4450 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -24px rgba(0,0,0,.95), 0 0 70px -18px rgba(255,214,160,.35); }
.phones .phone-shot img { border-radius: 24px; filter: brightness(1.16) contrast(1.06); }
.phones .p-left { transform: translateX(14%) rotate(-6deg) translateY(8%); }
.phones .p-mid { width: 38%; max-width: 300px; z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.1), 0 50px 90px -24px rgba(0,0,0,.95), 0 0 90px -10px rgba(255,214,160,.45); }
.phones .p-right { transform: translateX(-14%) rotate(6deg) translateY(8%); }
@media (max-width: 600px) { .phones { margin: 0 -8px; } .phones .phone-shot { width: 40%; padding: 5px; border-radius: 24px; } .phones .phone-shot img { border-radius: 19px; } .phones .p-mid { width: 46%; } .phones .p-left { transform: translateX(18%) rotate(-6deg) translateY(8%); } .phones .p-right { transform: translateX(-18%) rotate(6deg) translateY(8%); } }

/* OTTO stage */
.otto-stage { position: relative; padding-bottom: 14%; }
.otto-main { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.otto-main img { width: 100%; }
.otto-inset { position: absolute; margin: 0; width: 50%; right: -2%; bottom: 0; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }

/* ---------- services ---------- */
.services { padding: clamp(80px, 11vw, 150px) 0; background: var(--white); }
.svc-grid { display: grid; gap: clamp(40px, 6vw, 64px); }
.svc { border-top: 1px solid var(--hair); padding-top: 32px; }
.svc-icon { width: 48px; height: 48px; color: var(--teal); margin-bottom: 26px; }
.svc h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.svc p { color: var(--grey); font-size: 1.06rem; max-width: 32ch; margin: 0; }
@media (min-width: 800px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- how I work ---------- */
.how { padding: clamp(80px, 11vw, 150px) 0; }
.how-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.portrait { margin: 0; position: relative; max-width: 520px; }
.portrait img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: var(--shadow-lg); }
.portrait figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; display: grid; gap: 2px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 14px 18px; border-radius: 16px; font-size: .9rem; color: var(--grey); }
.portrait figcaption b { color: var(--ink); font: 600 1.05rem var(--display); letter-spacing: -.01em; }
.how-copy .lead { margin: 22px 0 40px; max-width: 46ch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.steps li > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 1.15rem var(--display); }
.steps h3 { font-size: 1.35rem; margin: 4px 0 4px; letter-spacing: -.02em; }
.steps p { color: var(--grey); margin: 0; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* ---------- contact ---------- */
.contact { padding: clamp(88px, 12vw, 160px) 0; }
.contact::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -500px; background: radial-gradient(closest-side, rgba(25,169,155,.18), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .display-1 { font-size: clamp(2.6rem, 8vw, 5.4rem); }
.contact-copy .lead { margin: 24px 0 30px; max-width: 34ch; }
.interests { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #C9D2DA; }
.interests li { padding-left: 22px; position: relative; }
.interests li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.interests b { color: #fff; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); color: var(--ink); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 1rem; transition: border-color .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .84rem; color: var(--grey); margin: 0; }
.form-error { color: #B42318; font-size: .92rem; min-height: 1.2em; margin: 0; }
.direct { display: grid; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #A9B4BF; }
.direct-label { font-size: .92rem; }
.direct-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.direct a { color: #fff; font: 600 clamp(1.15rem, 2.4vw, 1.4rem) var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.copy-btn { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 0 14px; min-height: 38px; cursor: pointer; font: 500 .88rem var(--font); }
.contact-pending { color: #C9D2DA; font-size: 1.1rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #8E9AA6; padding: 0 0 48px; font-size: .88rem; }
.site-footer .wrap { border-top: 1px solid rgba(255,255,255,.08); padding-top: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: #C9D2DA; text-decoration: none; font-weight: 500; }
.foot-nav a:hover { color: #fff; }
.foot-bottom p { margin: 0 0 8px; max-width: 90ch; }
.foot-bottom a { color: #C9D2DA; }

/* ---------- case pages ---------- */
.case-page { padding-top: clamp(24px, 4vw, 48px); }
.back { margin: 0 0 clamp(32px, 5vw, 56px); }
.back a { color: var(--grey); text-decoration: none; font-weight: 500; }
.back a:hover { color: var(--ink); }
.case-head { display: grid; gap: clamp(32px, 5vw, 56px); margin-bottom: clamp(48px, 7vw, 80px); }
.case-head .eyebrow { font: 600 .82rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 18px; }
.case-head .lead { margin-top: 20px; max-width: 52ch; }
@media (min-width: 1000px) { .case-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 0; }
.facts dt { font-size: .76rem; color: var(--grey); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 500; }
.two-col { display: grid; gap: clamp(32px, 5vw, 64px); margin: clamp(48px, 7vw, 80px) 0; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.prose h3 { font-size: 1.5rem; margin-top: 1.2em; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.subhead { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: clamp(64px, 9vw, 110px) 0 28px; }
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--hair); border-radius: var(--r-md); overflow: hidden; counter-reset: step; }
.pipeline li { background: var(--paper); padding: 22px; counter-increment: step; color: var(--grey); font-size: .96rem; }
.pipeline li strong { display: block; color: var(--ink); margin-bottom: 6px; font: 600 1.08rem var(--display); }
.pipeline li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; font: 600 .8rem var(--mono); color: var(--teal-ink); }
@media (min-width: 700px) { .pipeline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pipeline { grid-template-columns: repeat(5, 1fr); } }
.eng-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 40px; }
.eng-list li { border-top: 1px solid var(--hair); padding-top: 18px; }
.eng-list strong { display: block; font: 600 1.12rem var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.eng-list span { color: var(--grey); font-size: .96rem; }
@media (min-width: 700px) { .eng-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .eng-list { grid-template-columns: repeat(3, 1fr); } }
.timeline { list-style: none; padding: 0 0 0 28px; margin: 0; display: grid; gap: 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--amber)); border-radius: 2px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.timeline li:last-child::before { border-color: var(--amber); background: var(--amber); }
.timeline strong { display: block; font: 600 1.15rem var(--display); margin-bottom: 4px; }
.timeline p { color: var(--grey); margin: 0; max-width: 60ch; }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 26px 28px; border-radius: var(--r-md); background: #FFF6E8; }
.status-card .pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); animation: pulse 2.4s infinite; }
.status-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.status-card p { margin: 0; color: var(--ink-2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,163,58,.5); } 70% { box-shadow: 0 0 0 14px rgba(242,163,58,0); } 100% { box-shadow: 0 0 0 0 rgba(242,163,58,0); } }
.results-grid { display: grid; gap: 22px; margin-top: 22px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: #fff; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 720px; }
caption { text-align: left; padding: 16px 20px; color: var(--grey); font-size: .86rem; caption-side: bottom; border-top: 1px solid var(--hair); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { font-size: .74rem; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td .ok { color: var(--teal-ink); font-weight: 700; }
.pending { border-radius: var(--r-md); padding: 24px 26px; background: var(--paper-2); }
.pending h4 { font-size: 1.15rem; margin-bottom: 8px; }
.pending p, .pending li { color: var(--ink-2); }
.feat-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { border-radius: var(--r-md); padding: 24px; background: #fff; border-top: 4px solid var(--teal); }
.feat.pend { border-top-color: var(--amber); }
.feat.plan { border-top-color: #7A9BE0; }
.feat h4 { font-size: 1.1rem; margin-bottom: 12px; }
.feat ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 22px; background: #0b0f14; padding: 5px; box-shadow: var(--shadow-md); }
.gallery figcaption { font-size: .86rem; color: var(--grey); margin-top: 10px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.notice-stack { display: grid; gap: 14px; }
.notice { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; }
.notice svg { width: 24px; height: 24px; color: var(--teal-ink); }
.notice p { margin: 0; color: var(--ink-2); }
.notice.warn { background: #FFF3E6; }
.notice.warn svg { color: #C2620A; }
.wide-shot { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.wide-shot figcaption { padding: 12px 16px; font-size: .86rem; color: var(--grey); }
.otto-hero { margin-bottom: 22px; }
.otto-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 0; font-size: .84rem; color: var(--grey); max-width: 48%; }
.otto-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: 1px; }
.otto-legend span + span::before { background: #4C7BE0; }
@media (max-width: 600px) { .otto-legend { max-width: 46%; flex-direction: column; gap: 6px; font-size: .78rem; } }
.otto-pair { display: grid; gap: 22px; margin-bottom: 48px; }
@media (min-width: 900px) { .otto-pair { grid-template-columns: 1fr 1fr; } }
.shot-trio { display: grid; gap: 18px; }
@media (min-width: 900px) { .shot-trio { grid-template-columns: 1.4fr 1fr; } .shot-trio .browser:first-child { grid-row: span 2; } }
.demo-callout { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); margin-bottom: 40px; border-radius: var(--r-lg); background: linear-gradient(140deg, #DDF2EF, #F3EEE6); }
.demo-callout p { color: var(--ink-2); margin: 10px 0 0; max-width: 60ch; }
.demo-callout .btn { white-space: normal; text-align: center; }
@media (min-width: 900px) { .demo-callout { grid-template-columns: 1fr auto; } }
.case-cta { margin-top: 48px; }
.glance { display: grid; gap: 1px; background: var(--hair); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; }
.glance > div { background: #fff; padding: clamp(24px, 3vw, 36px); }
.glance h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 10px; }
.glance p { margin: 0; color: var(--ink-2); }
.glance .glance-k { font: 600 .8rem var(--mono); color: var(--teal-ink); margin-bottom: 14px; }
.glance-cta { margin: 0 0 clamp(48px, 7vw, 80px); }
@media (min-width: 900px) { .glance { grid-template-columns: repeat(3, 1fr); } }
.case-contact { margin-top: clamp(80px, 11vw, 140px); padding: clamp(72px, 10vw, 120px) 0; background: var(--night); color: #fff; }
.case-contact .lead { color: #A9B4BF; margin: 18px 0 30px; }
.notfound { padding-top: 18vh; padding-bottom: 18vh; }
/* ---------- "hire me" band on project pages ---------- */
.hire { padding: clamp(64px, 9vw, 110px) 0 0; }
.hire-inner { display: grid; gap: 26px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.hire-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--teal); }
.hire-amber .hire-inner::before { background: var(--amber); }
.hire-ink .hire-inner::before { background: linear-gradient(var(--ink), #4C7BE0); }
.hire h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.03em; margin: 0 0 12px; }
.hire p { margin: 0; color: var(--ink-2); max-width: 60ch; font-size: 1.06rem; }
.hire-btn { background: var(--teal); color: #fff; justify-self: start; }
.hire-btn:hover { background: #148f83; color: #fff; }
.hire-amber .hire-btn { background: var(--amber); color: #1b1203; }
.hire-amber .hire-btn:hover { background: #f6b65d; color: #1b1203; }
.hire-ink .hire-btn { background: var(--ink); color: #fff; }
.hire-ink .hire-btn:hover { background: #24313d; color: #fff; }
@media (min-width: 900px) { .hire-inner { grid-template-columns: 1fr auto; gap: 48px; } .hire-btn { justify-self: end; } }
.hire + .case-contact { margin-top: clamp(64px, 9vw, 110px); }


/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status-card .pulse { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print { .site-header, .demo-panel, .nav-toggle { display: none; } body { background: #fff; } }
