/* Devsoop — site styles */
[hidden] { display: none !important; }

:root {
  --acc: #ff5c38;
  --on-acc: #1a1512;
  --ink: #121110;
  --ink-2: #46433f;
  --muted: #57534d;
  --muted-2: #6a665f;
  --muted-3: #8c887f;
  --faint: #98938b;
  --bg: #fbfaf8;
  --bg-2: #f3f1ec;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.075);
  --line-2: rgba(0, 0, 0, 0.09);
  --acc-line: color-mix(in oklch, var(--acc) 55%, transparent);
  --display: Archivo, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 52px;
  --sp: 1; /* section spacing scale, shrinks on small screens */
}
@media (max-width: 860px) { :root { --sp: 0.75; } }
@media (max-width: 600px) { :root { --sp: 0.55; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--acc); }
::selection { background: var(--acc); color: var(--on-acc); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
input, textarea, select { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--acc) !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Motion ---------- */
@keyframes ds-lift { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes ds-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ds-rise-lg { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes ds-glow { 0% { transform: translate(-12%, -8%) scale(1); } 50% { transform: translate(10%, 6%) scale(1.15); } 100% { transform: translate(-12%, -8%) scale(1); } }
@keyframes ds-glow2 { 0% { transform: translate(14%, 10%) scale(1.1); } 50% { transform: translate(-8%, -6%) scale(0.95); } 100% { transform: translate(14%, 10%) scale(1.1); } }
@keyframes ds-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rise { animation: ds-rise 0.9s var(--ease) both; }
.rise-d1 { animation-delay: 0.15s; }
.rise-d2 { animation-delay: 0.28s; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal][data-on] { opacity: 1; transform: none; }

/* ---------- Layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.container--cta { max-width: 720px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); gap: var(--gap, 20px); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 14px); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 600px; margin-bottom: 48px; }
.section-head--wide { max-width: 640px; margin-bottom: 56px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.eyebrow--muted { color: var(--muted-3); }
.eyebrow--sm { font-size: 11px; letter-spacing: 0.12em; margin-bottom: 0; }
.dot { color: var(--acc); }
.display-xl { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6.5vw, 88px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 28px; }
.h-section { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; }
.h-2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.06; }
.h-3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.08; }
.h-4 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.15; }
.h-card { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.body-lg { font-size: 17px; line-height: 1.6; color: var(--muted); }
.body { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); }
.meta { font-size: 13px; color: var(--faint); }
.mono { font-family: var(--mono); font-size: 12px; color: var(--acc); }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-36 { margin-bottom: 36px; }
.mb-44 { margin-bottom: 44px; }
.mb-48 { margin-bottom: 48px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; border-radius: 100px;
  font-weight: 700; font-size: 15px; padding: 13px 28px;
  background: var(--acc); color: var(--on-acc);
  transition: filter 0.2s ease, transform 0.25s ease, background-position 0.5s var(--ease), box-shadow 0.3s ease, color 0.3s ease;
}
.btn:hover { color: var(--on-acc); filter: brightness(1.1); }
.btn--lg { font-size: 16px; padding: 15px 32px; }
.btn--lift:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--sweep {
  background: linear-gradient(90deg, var(--acc) 0 50%, var(--on-acc) 50% 100%);
  background-size: 220% 100%; background-position: 0 0;
}
.btn--sweep:hover {
  background-position: 100% 0; color: var(--bg); filter: none; transform: translateY(-2px);
  box-shadow: 0 14px 40px color-mix(in oklch, var(--acc) 30%, transparent);
}
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(0, 0, 0, 0.16); font-weight: 600; }
.btn--ghost:hover { background: rgba(0, 0, 0, 0.075); color: var(--ink); filter: none; }
.btn--block { width: 100%; font-size: 16px; padding: 16px; }
.link-line { font-size: 15px; color: var(--ink-2); border-bottom: 1px solid rgba(0, 0, 0, 0.22); padding-bottom: 2px; }
.link-line:hover { color: var(--ink); }
.link-acc { font-size: 15px; font-weight: 700; color: var(--acc); }
.link-acc:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.14);
  background: transparent; display: grid; place-items: center; font-size: 18px; color: var(--ink);
  cursor: pointer; transition: background 0.2s ease;
}
.round-btn:hover { background: rgba(0, 0, 0, 0.09); }

/* ---------- Header / nav ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; }
.nav-bar {
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(251, 250, 248, 0.78); border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
.nav-links a, .nav-trigger { color: var(--ink-2); }
.nav-links a:hover, .nav-trigger:hover, .nav-links [aria-current="page"], .nav-trigger.is-active { color: var(--ink); }
.nav-trigger {
  background: none; border: 0; cursor: pointer; font-size: 13.5px; padding: 16px 0;
  display: flex; align-items: center; gap: 5px;
}
.nav-trigger .caret { font-size: 9px; opacity: 0.6; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta { font-size: 13px; padding: 8px 18px; }
.nav-cta:hover { transform: scale(1.04); }
.burger { display: none; width: 34px; height: 34px; place-items: center; color: var(--ink); font-size: 18px; background: none; border: 0; cursor: pointer; }

.mega {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.mega.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.mega-inner { max-width: 1120px; margin: 0 auto; padding: 40px 24px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; }
.mega-col { display: flex; flex-direction: column; gap: 14px; }
.mega-col--side { border-left: 1px solid var(--line); padding-left: 40px; }
.mega-big { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.mega-big--soft { color: var(--muted); }
.mega-big--soft:hover { color: var(--acc); }
.mega-note { font-size: 12.5px; color: var(--faint); }
.mega-link { font-size: 14.5px; color: var(--ink-2); }
.mega-link:hover { color: var(--ink); }
.mega-cta { margin-top: 8px; color: var(--acc); font-weight: 700; font-size: 14.5px; }

.mobile-menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; padding: 10px 0; color: var(--ink); }
.mobile-menu a.is-acc { color: var(--acc); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-cta { min-height: 44px; padding-left: 22px; padding-right: 22px; }
  .mega { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 180px 0 60px; overflow: hidden; }
.page-hero .container { position: relative; }
.glow {
  position: absolute; top: -35%; left: 40%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--acc) 15%, transparent) 0%, transparent 65%);
  animation: ds-glow 20s ease-in-out infinite; filter: blur(50px); pointer-events: none;
}
.breadcrumb { font-size: 13px; color: var(--faint); margin-bottom: 28px; }
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--acc); }
.breadcrumb .sep { opacity: 0.5; margin: 0 4px; }
.breadcrumb [aria-current] { color: var(--muted-2); }

/* ---------- Cards & surfaces ---------- */
.card {
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card--hover:hover { border-color: var(--acc-line); transform: translateY(-4px); color: var(--ink); }
.card--pad { padding: 32px 28px; }
.card--clip { overflow: hidden; }
.panel {
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 24px;
  background: linear-gradient(160deg, #ffffff, var(--bg-2));
  padding: clamp(32px, 5vw, 56px);
}
.ph {
  background: repeating-linear-gradient(135deg, #edeae4 0px, #edeae4 14px, #f6f4f0 14px, #f6f4f0 28px);
  display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--faint);
}
.ph--fill { position: absolute; inset: 0; }
.shot { position: relative; overflow: hidden; }
.shot--43 { aspect-ratio: 4 / 3; }
.shot--169 { aspect-ratio: 16 / 9; }
[data-card] .ph--fill, [data-post] .ph--fill { transition: transform 0.7s var(--ease); }
[data-card]:hover .ph--fill, [data-post]:hover .ph--fill { transform: scale(1.05); }
.shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease); }
[data-card]:hover .shot-img { transform: scale(1.05); }
.cat-pill {
  position: absolute; left: 16px; bottom: 16px; background: rgba(20, 18, 16, 0.86); backdrop-filter: blur(8px);
  color: var(--acc); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
}
[data-card]:hover .cat-pill, [data-card]:focus-visible .cat-pill { opacity: 1; transform: none; }
@media (hover: none) { .cat-pill { opacity: 1; transform: none; } }

.plus-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plus-list li { font-size: 14.5px; color: var(--muted-2); display: flex; gap: 10px; }
.plus-list li::before { content: "+"; color: var(--acc); font-weight: 700; }

.pills { padding-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 100px; padding: 9px 20px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); white-space: nowrap; }

.stars { color: var(--acc); font-size: 15px; letter-spacing: 4px; }
.quote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.4; letter-spacing: -0.02em; text-wrap: pretty; }
.testimonial { margin: 0; padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; border-radius: 22px; }
.testimonial figcaption { margin-top: auto; font-size: 14px; color: var(--muted-2); }
.testimonial figcaption span { color: var(--faint); }

/* ---------- Rail ---------- */
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 48px max(24px, calc((100vw - 1120px) / 2 + 24px)) 20px;
  scroll-padding-left: max(24px, calc((100vw - 1120px) / 2 + 24px));
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 auto; scroll-snap-align: start; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; align-items: center; animation: ds-marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; padding: 72px 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 4.5vw, 58px); letter-spacing: -0.03em; color: var(--acc); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--muted-2); }
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 44px 24px 28px; }
  .stat-value { font-size: 40px; }
  .stat-label { font-size: 13px; }
  .stat, [data-stats] .meta { align-items: center; text-align: center; }
}

/* ---------- Filters / chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.chip {
  cursor: pointer; font-size: 13.5px; font-weight: 600; padding: 9px 20px; border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.13); background: transparent; color: var(--ink-2);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.chip:hover { border-color: rgba(0, 0, 0, 0.3); }
.chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.chip--sm { font-size: 13px; padding: 8px 16px; }
[data-filter-item][hidden] { display: none !important; }

/* ---------- Accordion (FAQ + services) ---------- */
.acc { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-btn {
  all: unset; cursor: pointer; display: flex; align-items: center; gap: 20px; width: 100%;
  box-sizing: border-box; padding: 22px 4px;
}
.acc-btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.acc-q { font-family: var(--display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.02em; flex: 1; }
.acc-icon { font-size: 20px; color: var(--muted-3); transition: transform 0.3s ease; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-panel { animation: ds-rise 0.4s var(--ease) both; }
.acc-panel[hidden] { display: none; }
.acc-a { padding: 0 4px 26px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.svc-btn { padding: 28px 4px; gap: 24px; }
.svc-btn:hover { background: rgba(0, 0, 0, 0.018); }
.svc-num { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.svc-btn[aria-expanded="true"] .svc-num { color: var(--acc); }
.svc-title { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.02em; flex: 1; }
.svc-btn .acc-icon { font-size: 22px; }
.svc-body { padding: 0 4px 34px 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
@media (max-width: 600px) { .svc-body { padding-left: 4px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted-2); }
.input {
  background: rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px;
  padding: 13px 16px; font-size: 15px; color: var(--ink); width: 100%;
}
textarea.input { resize: vertical; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1; min-width: 170px; padding: 14px 18px; }
.inline-form .input--pill { border-radius: 100px; padding: 14px 20px; background: rgba(0, 0, 0, 0.035); }
.form-done { display: flex; align-items: center; gap: 12px; animation: ds-rise 0.5s var(--ease) both; }
.form-done .tick { color: var(--acc); font-size: 22px; font-weight: 700; }
.form-error { font-size: 13px; color: #b53a1c; }
.form-done[hidden], .form-error[hidden], form[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 120px 24px 48px; }
.footer-cta { margin-bottom: 96px; }
.footer-title { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 24px; }
.footer-cta p { max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; }
.footer-cta .btn { font-size: 17px; padding: 17px 38px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .eyebrow { font-size: 11px; margin-bottom: 0; }
.footer-col a { font-size: 14px; color: var(--muted-2); }
.footer-col .footer-note { font-size: 14px; color: var(--muted-3); }
.footer-col a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; flex-wrap: wrap; }
.footer-base .logo { font-size: 15px; }
.footer-base small { font-size: 12.5px; color: var(--faint); }

/* ---------- Home: pinned hero ---------- */
.pin { position: relative; height: 250vh; }
.pin-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pin-bg { position: absolute; inset: 0; pointer-events: none; }
.pin-bg .g1 {
  position: absolute; top: -20%; left: -10%; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--acc) 22%, transparent) 0%, transparent 65%);
  animation: ds-glow 18s ease-in-out infinite; filter: blur(40px);
}
.pin-bg .g2 {
  position: absolute; bottom: -30%; right: -15%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.035) 0%, transparent 60%);
  animation: ds-glow2 22s ease-in-out infinite; filter: blur(30px);
}
.pin-bg .noise {
  position: absolute; inset: 0; opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}
.hero-layer {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: var(--hero-op, 1); transform: translateY(var(--hero-y, 0px));
  transition: opacity 0.2s linear, transform 0.2s linear;
}
.hero-layer .container { width: 100%; padding-top: 56px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; animation: ds-rise-lg 0.9s var(--ease) 0.1s both; }
.hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); display: inline-block; }
.hero-kicker span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.hero-title { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: block; animation: ds-lift 1.05s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.3s; }
.hero-title em { font-style: normal; color: var(--acc); }
.hero-sub { max-width: 540px; font-size: 18px; line-height: 1.55; color: var(--muted); margin: 28px 0 32px; animation: ds-rise-lg 1s var(--ease) 0.5s both; }
.hero-actions { animation: ds-rise-lg 1s var(--ease) 0.62s both; }
.hero-note { font-size: 13px; color: var(--muted-3); margin-top: 16px; animation: ds-rise-lg 1s var(--ease) 0.7s both; }

.stage {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 3vh, 34px); padding: clamp(60px, 8vh, 84px) 24px clamp(26px, 4.5vh, 48px);
  opacity: var(--stage-op, 0); transition: opacity 0.25s linear;
}
.stage-copy { text-align: center; max-width: 720px; width: 100%; }
.stage-steps { position: relative; height: clamp(104px, 19vh, 146px); width: 100%; }
.stage-step {
  position: absolute; inset: 0; opacity: 0; transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease); pointer-events: none;
}
.stage-step.is-active { opacity: 1; transform: none; }
.stage-step.is-past { transform: translateY(-22px); }
.stage-step h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.stage-step p { font-size: 16.5px; line-height: 1.55; color: var(--muted); margin: 0 auto; max-width: 520px; }
.stage-device { position: relative; width: min(920px, 100%); display: flex; align-items: center; justify-content: center; }
.browser {
  width: 100%; max-width: 700px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.12); overflow: hidden;
  transform: scale(var(--frame-scale, 1)) translateY(var(--frame-y, 0px)); transition: transform 0.15s linear;
}
.browser-bar { height: 34px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #faf9f6; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(0, 0, 0, 0.13); }
.browser-bar span { margin-left: 12px; font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.browser-view { height: min(32vh, 300px); overflow: hidden; }
.browser-scroll { transform: translateY(var(--screen-y, 0px)); transition: transform 0.15s linear; }
.browser-scroll .ph { height: 190px; font-size: 11px; }
.browser-scroll img { display: block; width: 100%; height: auto; }
.tiles { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 7px; }
.tile i { aspect-ratio: 1 / 1; border-radius: 10px; background: var(--bg-2); }
.tile b { height: 7px; width: 70%; border-radius: 4px; background: #ebe8e2; }
.tile s { height: 7px; width: 40%; border-radius: 4px; background: #f0ede7; }
.badge-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 14px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  opacity: 0; transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.badge-float.b1 { left: 0; top: 16%; transform: translateX(-36px); }
.badge-float.b2 { right: 0; bottom: 12%; transform: translateX(36px); }
.badge-float.is-on { opacity: 1; transform: none; }
.badge-float strong { display: block; font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -0.03em; color: var(--acc); }
.badge-float span { font-size: 12px; color: var(--muted-3); }
.progress-dots { display: flex; gap: 8px; align-items: center; }
.progress-dots span { width: 44px; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, 0.12); overflow: hidden; }
.progress-dots b { display: block; height: 100%; width: 0; background: var(--acc); transition: width 0.15s linear; }

/* No-JS / reduced motion: collapse the pinned hero into a normal hero */
html:not(.js) .pin, .reduce-motion .pin { height: auto; }
html:not(.js) .pin-sticky, .reduce-motion .pin-sticky { position: relative; height: auto; min-height: 100vh; }
html:not(.js) .stage, .reduce-motion .stage { display: none; }
html:not(.js) .hero-layer, .reduce-motion .hero-layer { position: relative; min-height: 100vh; }

/* ---------- Home: misc ---------- */
.logo-word { font-family: var(--display); font-size: 26px; color: #aca69c; white-space: nowrap; }
.process { position: relative; }
.process-rule { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(0, 0, 0, 0.12); }
.process-step { display: flex; flex-direction: column; gap: 12px; }
.process-step .mono { background: var(--bg); padding-right: 12px; align-self: flex-start; }
.process-step h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .process-rule { display: none; } }
.tier { border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.tier--featured { border-color: var(--acc-line); }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.tier-badge {
  background: color-mix(in oklch, var(--acc) 16%, #ffffff); border: 1px solid color-mix(in oklch, var(--acc) 45%, transparent);
  color: #b53a1c; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; white-space: nowrap;
}
.tier-price { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.4vw, 42px); letter-spacing: -0.03em; color: var(--acc); }
.fit-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fit-list li { font-size: 16px; line-height: 1.55; color: var(--muted); display: flex; gap: 12px; }
.fit-list li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.fit-list--no li { color: var(--faint); }
.fit-list--no li::before { content: "–"; color: inherit; font-weight: 400; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person .ph { aspect-ratio: 1 / 1; border-radius: 16px; font-size: 11px; }
.person-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.person-role { font-size: 13px; color: var(--muted-3); }
.row-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 14px; padding: 16px 20px; background: rgba(0, 0, 0, 0.018);
  transition: border-color 0.25s ease;
}
.row-link:hover { border-color: var(--acc-line); color: var(--ink); }
.row-link strong { font-family: var(--display); font-weight: 700; font-size: 16.5px; }
.row-link span { font-size: 13px; color: var(--muted-3); }
.mission { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.8vw, 62px); line-height: 1.12; letter-spacing: -0.03em; text-wrap: pretty; }

/* ---------- Post cards ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body .meta { margin-top: auto; padding-top: 6px; }
.post-title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.featured-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); border-radius: 24px; overflow: hidden; }
.featured-post:hover { color: var(--ink); border-color: var(--acc-line); }
.featured-post .shot { min-height: 300px; }
.shot--feature { aspect-ratio: 4 / 5; border-radius: 22px; }
.featured-post-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }

/* ---------- Work cards ---------- */
.work-card-foot { padding: 22px 24px 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.work-card-foot strong { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.work-card-foot span { font-size: 13px; color: var(--muted-3); white-space: nowrap; }
.metrics { display: flex; gap: 20px; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.07); }
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric strong { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--acc); letter-spacing: -0.02em; }
.metric span { font-size: 12px; color: var(--faint); }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: var(--nav-h); left: 0; height: 2px; background: var(--acc); width: 0; z-index: 99; transition: width 0.1s linear; }
.article-title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 28px; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 14px; padding-bottom: 40px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #f6f4f0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--muted-2); }
.toc { border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; padding: 24px 26px; background: var(--surface); margin-bottom: 48px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc li, .toc a { font-size: 15px; color: var(--muted); }
.toc a:hover { color: var(--acc); }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.15; margin: 56px 0 18px; scroll-margin-top: 80px; }
.prose p { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); margin: 0 0 22px; text-wrap: pretty; }
.prose blockquote {
  margin: 36px 0; padding: 28px 30px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink);
}
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.prose li::marker { color: var(--acc); }
.prose strong { color: var(--ink); }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin: 0 0 8px; padding: 26px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.case-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.case-facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Small screens: tighter rhythm ---------- */
@media (max-width: 600px) {
  .section-head { margin-bottom: 32px; }
  .section-head--wide { margin-bottom: 36px; }
  .mb-44, .mb-48 { margin-bottom: 32px; }
  .page-hero { padding: 116px 0 36px; }
  .rail { padding-top: 32px; }
  .pills { padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pill { display: grid; place-items: center; text-align: center; white-space: normal; line-height: 1.35; font-size: 12px; padding: 10px 8px; border-radius: 100px; }
  .shot--feature { aspect-ratio: 4 / 3; border-radius: 16px; }
  .browser-view { height: min(44vh, 380px); }
  .hero-layer { align-items: flex-start; }
  .hero-layer .container { padding-top: calc(var(--nav-h) + 56px); }
  .footer-inner { padding-top: 72px; }
  .footer-cta { margin-bottom: 56px; }
  .footer-nav { padding-bottom: 40px; gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Video portfolio ---------- */
.vid { display: flex; flex-direction: column; gap: 14px; }
.vid-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #121110; }
.vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #121110; }
.vid-frame .ph--fill { border-radius: inherit; }
.vid-play {
  all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 17, 16, 0.55));
}
.vid-play i {
  width: 66px; height: 66px; border-radius: 50%; background: var(--acc); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(255, 92, 56, 0.35); transition: transform 0.3s var(--ease);
}
.vid-play i::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--on-acc); }
.vid-play:hover i, .vid-play:focus-visible i { transform: scale(1.08); }
.vid-play:focus-visible { outline: 3px solid var(--acc); outline-offset: -3px; border-radius: inherit; }
.vid-frame.is-playing .vid-play, .vid-frame.is-playing .cat-pill { display: none; }
.vid-frame .cat-pill { opacity: 1; transform: none; left: 14px; bottom: 14px; top: auto; }
.vid-soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.vid-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.vid-foot strong { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
.vid-foot span { color: var(--muted-3); white-space: nowrap; }
@media (max-width: 560px) {
  .vid-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .vid-frame { border-radius: 14px; }
  .vid-play i { width: 52px; height: 52px; }
  .vid-foot { flex-direction: column; gap: 2px; font-size: 13.5px; }
}
