/* Cold Start Design — five-page build from the Figma file "Cold Start" (desktop 1440 / mobile 390).
   Motion is small and purposeful: groups fade up once as they scroll in, and buttons, links and cards
   respond to hover and press. No parallax, zoom or pinned sections. Stacks below 900px. */

:root {
  --navy: #0b202c;
  --line-dark: #29414d;
  --ice: #b9eaf7;
  --paper: #f7f8f4;
  --ink: #0b202c;
  --muted: #536673;
  --muted-dark: #aac0cb;
  --line: #d5dee0;
  --btn-line: #bccbd0;
  --input-line: #c2d0d5;
  --care: #eef2f0;
  --steel: #3e7185;

  --gutter: clamp(24px, 5.56vw, 80px);
  --sec-y: clamp(48px, 5vw, 72px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --lift: 0 14px 30px -18px rgba(11, 32, 44, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--ice); }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ice); color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4, .h5 { font-weight: 600; }
.display { font-size: clamp(36px, 4.1vw, 60px); line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; max-width: 13em; }
.h1, .h2, .h3 { text-wrap: balance; }
.h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.12; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 3.06vw, 44px); line-height: 1.1; letter-spacing: -0.04em; }
.h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.h4 { font-size: clamp(26px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -0.03em; }
.h5 { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.25; }
.ice { color: var(--ice); }
.kicker { font-size: 13px; font-weight: 500; color: var(--ice); }
.tag { font-size: 13px; font-weight: 500; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted-dark); }
.lead-lg { font-size: clamp(19px, 1.53vw, 22px); }
.fine { font-size: 13px; color: var(--muted); }
.on-dark { background: var(--navy); color: var(--paper); }
.on-dark .fine { color: var(--muted-dark); }

/* Text links: the underline draws away and back on hover */
.text-link {
  position: relative; display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.text-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform-origin: left;
}
.text-link:hover::after { animation: redraw .5s var(--ease); }
@keyframes redraw {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
.text-link .arr { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover .arr { transform: translate(2px, -2px); }
.on-dark-link { color: var(--paper); }
.inline-link { text-underline-offset: 3px; }
.inline-link:hover { text-decoration-thickness: 2px; }

.bullets { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bullets li { position: relative; padding-left: 1.2em; }
.bullets li::before { content: '•'; position: absolute; left: .1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px;
  border: 1px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 600; line-height: 1.5;
  text-decoration: none; text-align: center; cursor: pointer; gap: .6em;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .08s; }
.btn-arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.on-dark .btn:hover, .site-header .btn:hover { box-shadow: 0 14px 30px -16px rgba(185, 234, 247, .45); }
.btn-sm { min-height: 44px; padding: 9px 24px; font-size: 15px; }
.btn-wide { min-width: 216px; }
.btn-block { width: 100%; }
.btn-ice { background: var(--ice); color: var(--navy); }
.btn-ice:hover { background: #d3f2fa; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: #1a3443; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--btn-line); }
.btn-line:hover { border-color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--paper); border-bottom: 1px solid var(--line-dark); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 218px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ice); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a[aria-current="page"]:not(.btn) { color: var(--ice); }
.nav .btn[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.nav-toggle { display: none; }

.nav-scrim, .nav-extra { display: none; }

@media (max-width: 899px) {
  .header-inner { padding-block: 14px; }
  .brand img { width: 170px; }

  /* Menu button: two lines that turn into an X */
  .nav-toggle {
    position: relative; z-index: 32;
    display: flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 0 0 12px;
    background: none; border: 0; font-size: 15px; font-weight: 500; cursor: pointer;
  }
  .nav-toggle .bars { position: relative; display: block; width: 20px; height: 12px; }
  .nav-toggle .bars span {
    position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor;
    transition: transform .35s var(--ease), top .35s var(--ease);
  }
  .nav-toggle .bars span:first-child { top: 2px; }
  .nav-toggle .bars span:last-child { top: 9px; }
  .nav-toggle[aria-expanded="true"] .bars span:first-child { top: 5.5px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars span:last-child { top: 5.5px; transform: rotate(-45deg); }
  .nav-toggle .when-open, .nav-toggle[aria-expanded="true"] .when-closed { display: none; }
  .nav-toggle[aria-expanded="true"] .when-open { display: inline; }

  /* Without JavaScript the links simply sit below the header */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px; background: var(--navy); border-bottom: 1px solid var(--line-dark);
  }
  .nav a:not(.btn) { font-size: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; min-height: 52px; font-size: 16px; }

  /* With JavaScript: a panel that slides in from the right over a dimmed page */
  .js .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 30;
    background: rgba(5, 16, 22, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
  }
  .js .nav-scrim.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .js .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 31;
    width: min(86vw, 400px); height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: 96px 28px calc(28px + env(safe-area-inset-bottom));
    background: var(--navy); border-bottom: 0; border-left: 1px solid var(--line-dark);
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .6);
    counter-reset: navnum;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s cubic-bezier(.22, .8, .2, 1), visibility 0s .5s;
  }
  .js .nav.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.22, .8, .2, 1); }
  .js .nav a:not(.btn) {
    counter-increment: navnum; gap: 16px; padding: 14px 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em;
  }
  .js .nav a:not(.btn)::before {
    content: '0' counter(navnum); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted-dark); font-variant-numeric: tabular-nums;
  }
  .js .nav a[aria-current="page"]:not(.btn)::before { color: var(--ice); }
  .js .nav .btn { margin-top: 28px; }
  .js .nav-extra { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--muted-dark); }
  .js .nav-extra p { margin-bottom: 6px; }
  .js .nav .nav-extra a { min-height: 40px; padding: 0; border: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--paper); }
  .js .nav .nav-extra a::before { display: none; }
  .js .nav .nav-extra a:hover { color: var(--ice); }

  /* Each row steps in after the panel starts moving */
  .js .nav > * { opacity: 0; transform: translateX(24px); transition: opacity .3s ease, transform .4s var(--ease); }
  .js .nav.open > * { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--ease); }
  .js .nav.open > :nth-child(1) { transition-delay: .12s; }
  .js .nav.open > :nth-child(2) { transition-delay: .17s; }
  .js .nav.open > :nth-child(3) { transition-delay: .22s; }
  .js .nav.open > :nth-child(4) { transition-delay: .27s; }
  .js .nav.open > :nth-child(5) { transition-delay: .32s; }
  .js .nav.open > :nth-child(6) { transition-delay: .37s; }
  body.nav-open { overflow: hidden; }
}

/* Anchored targets clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* ---------- Reveal on scroll ----------
   Groups fade in and rise 8px once, as they enter the viewport. Only opacity and transform change, so
   nothing shifts. Content is hidden only while the script is confirmed running (html.motion, set in the
   page head when motion is allowed, and removed after 3s if site.js never starts). */
.motion .reveal:not(.is-in) { opacity: 0; transform: translateY(8px); }
.motion .reveal.is-in { transition: opacity 420ms ease-out, transform 420ms ease-out, box-shadow .25s var(--ease), border-color .2s; }
/* Siblings that arrive together step in 70ms apart (never more than 210ms) */
.motion .reveal.is-in:nth-child(2) { transition-delay: 70ms, 70ms, 0s, 0s; }
.motion .reveal.is-in:nth-child(3) { transition-delay: 140ms, 140ms, 0s, 0s; }
.motion .reveal.is-in:nth-child(n+4) { transition-delay: 210ms, 210ms, 0s, 0s; }
@media (prefers-reduced-motion: reduce) {
  .motion .reveal:not(.is-in) { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .btn:hover, .btn:active, .preview:hover .shot, .shot-frame:hover .shot, .pkg:hover { transform: none !important; }
}
@media print { .motion .reveal:not(.is-in) { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-y); }
.sec-tight { padding-top: 0; }
.sec-after { padding-bottom: clamp(48px, 4.44vw, 64px); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head .text-link { font-size: 15px; flex-shrink: 0; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; }
.page-head { display: grid; grid-template-columns: 810fr 446fr; gap: 24px; align-items: end; margin-bottom: 56px; }
.shot { display: block; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 32, 44, .08); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.on-dark .shot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }

/* A screenshot with a phone overlapping its corner; both lift together on hover */
.shot-frame { position: relative; display: block; }
.shot-frame .phone {
  position: absolute; right: -2.5%; bottom: -8%; width: 21%;
  padding: 5px; background: var(--navy); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -16px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease);
}
.shot-frame .phone img { width: 100%; border-radius: 13px; }
.shot-frame:hover .shot { transform: translateY(-4px); box-shadow: var(--lift); }
.shot-frame:hover .phone { transform: translateY(-8px); }

/* ---------- Home ---------- */
.hero { padding-block: 72px 88px; }
.hero-grid { display: grid; grid-template-columns: 620fr 596fr; gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero .lead { max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 0; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; font-weight: 500; color: var(--muted-dark); }
.proof li + li::before { content: ''; display: inline-block; width: 1px; height: 12px; margin: 0 14px; vertical-align: -1px; background: var(--line-dark); }
.hero-feature { display: flex; flex-direction: column; gap: 28px; }
.hero-feature figcaption { display: flex; flex-direction: column; line-height: 1.55; }
.hero-feature strong { font-size: 18px; font-weight: 600; }
.hero-feature figcaption span { font-size: 13px; color: var(--muted-dark); }

.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.preview { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.preview-cap { display: flex; align-items: flex-start; gap: 16px; }
.preview-cap > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.preview-cap strong { font-size: clamp(21px, 1.74vw, 25px); font-weight: 600; line-height: 1.25; }
.preview-cap > span:first-child span { font-size: 14px; color: var(--muted); max-width: 36em; }
.preview .arrow { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 17px; line-height: 1; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.preview:hover .shot { transform: translateY(-4px); box-shadow: var(--lift); }
.preview:hover .arrow { background: var(--navy); border-color: var(--navy); color: var(--paper); transform: translateX(3px); }

/* Slogan band (Home) */
.slogan-band { background: var(--ice); color: var(--navy); padding-block: clamp(56px, 7vw, 104px); }
.slogan-grid { display: grid; grid-template-columns: 760fr 440fr; gap: 24px 72px; align-items: end; }
.slogan { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.slogan span { display: block; color: var(--steel); }
.slogan-grid p { padding-left: 20px; border-left: 2px solid var(--navy); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #173847; }
.slogan-band :focus-visible { outline-color: var(--navy); }
.why-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-list li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--navy); }
.why-list .num { font-size: 13px; font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }
.why-list h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.why-list p { font-size: 15px; }

.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; padding-top: 48px; border-top: 1px solid var(--line); }
.overview-col { display: flex; flex-direction: column; gap: 16px; }
.overview-col .text-link { font-weight: 600; align-self: flex-start; }
.price-list { display: flex; flex-direction: column; }
.price-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.price-list div:first-child { padding-top: 0; }
.price-list dt { display: flex; flex-direction: column; font-weight: 600; }
.price-list dt span { font-size: 13px; font-weight: 400; color: var(--muted); }
.price-list dd { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.invite { border-top: 1px solid var(--line); padding-block: 56px; }
.invite-inner { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.invite-inner > div { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Work ---------- */
/* Intro banner: headline and lead on the left, a numbered index of the case studies on the right.
   A faint grid fades in from the right edge, echoing the blueprint feel without competing with the type. */
.work-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 6.5vw, 96px); }
.work-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(185, 234, 247, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 234, 247, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}
.work-hero-grid { position: relative; display: grid; grid-template-columns: 640fr 520fr; gap: 96px; align-items: center; }
.work-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.work-hero .h1 { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1.04; }
.work-hero .lead { max-width: 34em; }
.work-index { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.work-index a {
  display: flex; align-items: center; gap: 20px; padding: 20px 4px; min-height: 44px;
  border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: background-color .25s, padding .3s var(--ease);
}
.work-index .num { font-size: 13px; font-weight: 600; color: var(--ice); font-variant-numeric: tabular-nums; }
.work-index .wi-name { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.work-index strong { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.02em; }
.work-index .wi-name span { font-size: 13px; color: var(--muted-dark); }
.work-index .wi-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-dark); border-radius: 50%; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.work-index .wi-price { font-size: 15px; font-weight: 600; color: var(--paper); white-space: nowrap; font-variant-numeric: tabular-nums; }
.work-index a:hover { background: rgba(185, 234, 247, .04); padding-inline: 12px; }
.work-index a:hover .wi-arrow { background: var(--ice); border-color: var(--ice); color: var(--navy); transform: translateY(3px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 899px) {
  .work-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-hero::before { -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 100%); mask-image: linear-gradient(180deg, transparent 20%, #000 100%); }
}
.cases { display: flex; flex-direction: column; gap: 96px; }
.case-block + .case-block { padding-top: 96px; border-top: 1px solid var(--line); margin-top: -0px; }
.case { display: grid; grid-template-columns: 720fr 512fr; gap: 64px; align-items: center; }
.case.flip { grid-template-columns: 512fr 720fr; }
.case.flip .case-media { order: 2; }
.case-media .phone { right: 3%; bottom: -6%; width: 19%; }
.case-copy { display: flex; flex-direction: column; gap: 18px; }
.case-copy .h3 { font-size: clamp(28px, 2.36vw, 34px); line-height: 1.2; letter-spacing: -0.04em; }
.brief-label { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--steel); }
.brief { padding-left: 16px; border-left: 2px solid var(--ice); }
.case-copy .text-link { align-self: flex-start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.gallery figure { display: flex; flex-direction: column; gap: 12px; }
.gallery figcaption { font-size: 14px; color: var(--muted); }
.shot-tall img { aspect-ratio: 6 / 5; }

/* ---------- Pricing ---------- */
.included { display: flex; flex-direction: column; gap: 10px; padding-block: 20px; margin-bottom: 32px; border-block: 1px solid var(--line); }
.included-title { font-weight: 600; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.pkg { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 6px; transition: box-shadow .3s var(--ease), border-color .2s; }
.pkg:hover { border-color: var(--btn-line); box-shadow: var(--lift); }
.pkg-fit { font-size: 14px; color: var(--muted); }
.pkg.featured .pkg-fit { color: var(--muted-dark); }
.pkg-top { display: flex; flex-direction: column; gap: 12px; }
.pkg-flag { font-size: 13px; font-weight: 500; color: var(--ice); }
.pkg-name { font-size: 24px; font-weight: 600; line-height: 1.25; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; line-height: 1.12; }
.pkg-price .from { font-size: 13px; color: var(--muted); }
.pkg-price .amount { font-size: clamp(40px, 3.33vw, 48px); font-weight: 600; letter-spacing: -0.04em; }
.pkg .bullets { flex: 1; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pkg .btn { margin-top: 12px; }
.pkg.featured { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.pkg.featured .from { color: var(--muted-dark); }
.pkg.featured .bullets { border-top-color: var(--line-dark); }
.pkg.featured :focus-visible { outline-color: var(--ice); }

.care { display: grid; grid-template-columns: 728fr 392fr; gap: 64px; align-items: start; padding: clamp(28px, 3.33vw, 48px); background: var(--care); border-radius: 6px; }
.care-copy { display: flex; flex-direction: column; gap: 16px; }
.care-copy .h3 { letter-spacing: -0.04em; }
.care-copy .bullets { gap: 0; font-size: 16px; }
.care-buy { display: flex; flex-direction: column; gap: 16px; }
.care-price { display: flex; align-items: baseline; gap: 12px; line-height: 1.2; }
.care-price strong { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; }
.care-price span { color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: 440fr 744fr; gap: 96px; align-items: start; }
.faq-title { font-size: clamp(30px, 2.78vw, 40px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font: inherit; }
.faq-q button {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 44px; padding: 20px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; line-height: 1.5;
}
.faq-q .q { flex: 1; }
.faq-q button:hover .q { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq-q .sign { font-size: 24px; font-weight: 400; line-height: 1; width: 1ch; text-align: center; }
.faq-q .sign::before { content: '+'; }
.faq-q button[aria-expanded="true"] .sign::before { content: '−'; }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .2s ease, opacity .2s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin-top: -6px; padding-bottom: 20px; color: var(--muted); }
.js .faq-a[data-closed] { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .2s ease, opacity .2s ease, visibility 0s .2s; }
@media (prefers-reduced-motion: reduce) { .faq-a, .js .faq-a[data-closed] { transition: none; } }

/* ---------- About ---------- */
/* Heading on the left, content on the right (About) */
.split { display: grid; grid-template-columns: 440fr 760fr; gap: 24px 96px; align-items: start; }
.split-body { display: flex; flex-direction: column; gap: 20px; }
.split-note { margin-top: 14px; max-width: 22em; }
.sec-line { border-top: 1px solid var(--line); }
.meet .lead-lg { font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; }
.sig { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.handle-list { border-top: 1px solid var(--navy); }
.handle-list > div { display: grid; grid-template-columns: 48px 180px 1fr; gap: 6px 24px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); }
.handle-list .num { font-size: 13px; font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }
.handle-list dt { font-size: 18px; font-weight: 600; }
.handle-list dd { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-block: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.steps h3 { font-size: 22px; font-weight: 600; line-height: 1.5; }
.sec .h2#process-title { font-size: clamp(30px, 2.78vw, 40px); letter-spacing: -0.03em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 440fr 760fr; gap: 24px 80px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 20px; }
.contact-intro .h1 { font-size: clamp(36px, 3.33vw, 48px); }
.contact-intro .text-link { align-self: flex-start; }
.next-steps { display: flex; flex-direction: column; gap: 18px; padding-block: 8px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps .num { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--ice); font-size: 13px; font-weight: 600; }
.next-steps strong { display: block; font-weight: 600; margin-bottom: 2px; }
.next-steps p { font-size: 15px; }
.contact-pricing { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
.form-card { grid-row: 1; grid-column: 2; padding: clamp(20px, 2.5vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-intro { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.form-intro .h5 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--input-line); border-radius: 6px;
}
.field ::placeholder { color: var(--muted); opacity: 1; }
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b202c' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field select:invalid { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.field .error { display: none; font-size: 13px; color: #a3321c; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a3321c; }
.field.invalid .error { display: block; }
.field .btn + .fine { margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 20px; border-radius: 6px; margin-bottom: 20px; }
.notice.ok { background: var(--care); }
.notice.err { background: #fbe9e4; }
.notice p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Welcome / 404 ---------- */
.simple-hero { padding-block: clamp(64px, 7vw, 112px); }
.simple-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.simple-hero .wrap > * { max-width: 760px; }
.next { gap: 10px; color: var(--muted-dark); font-size: 16px; }
.next a { color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--paper); padding-block: 44px 28px; }
.foot-top { display: grid; grid-template-columns: 440fr 776fr; gap: 28px 64px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-brand img { width: 218px; }
.foot-brand a { font-weight: 500; text-decoration: none; }
.foot-brand a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-direction: column; gap: 4px; }
.foot-site, .foot-account { display: flex; flex-wrap: wrap; column-gap: 28px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.foot-links a:hover { color: var(--ice); }
.foot-links a[aria-current="page"] { color: var(--ice); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 12px; color: var(--muted-dark); }

/* ---------- Below 900px: one column ---------- */
@media (max-width: 899px) {
  .hero { padding-block: 40px 48px; }
  .hero-grid, .previews, .overview, .case, .case.flip, .care, .faq-grid, .split, .contact-grid, .foot-top { grid-template-columns: 1fr; }
  .hero-feature { display: none; }           /* the project appears in Recent work right below */
  .why-list { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .slogan-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .cases { gap: 64px; }
  .case-block + .case-block { padding-top: 64px; }
  .overview { padding-top: 40px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .sec-head { margin-bottom: 24px; }
  .overview { gap: 0; }
  .overview-col + .overview-col { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
  .invite-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .case { gap: 24px; }
  .case.flip .case-media { order: 0; }
  .case-media .phone { width: 22%; right: 2%; }
  .packages { grid-template-columns: 1fr; gap: 16px; }
  .care { gap: 28px; }
  .faq-grid { gap: 20px; }
  .split { gap: 20px; }
  .handle-list > div { grid-template-columns: 40px 1fr; }
  .handle-list dd { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-block: 28px; }
  .contact-grid { gap: 28px; }
  .form-card, .contact-pricing { grid-column: 1; grid-row: auto; }
  .form { grid-template-columns: 1fr; }
  .foot-site { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 24px; }
  .foot-account { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 12px; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .actions .btn { flex: 1 1 auto; min-width: 0; }
  .steps, .why-list { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 48px; }
  .proof { flex-direction: column; gap: 6px; }
  .proof li + li::before { display: none; }
}

/* Banner with just an intro (Pricing) */
.work-hero .intro-only { position: relative; max-width: 760px; margin-inline: auto; align-items: center; text-align: center; }
.work-hero:has(.intro-only)::before { -webkit-mask-image: radial-gradient(ellipse at center, transparent 25%, #000 85%); mask-image: radial-gradient(ellipse at center, transparent 25%, #000 85%); }

/* =====================================================================
   Phones (under 600px). Everything below applies only here, so desktop
   and tablet layouts are untouched.
   ===================================================================== */
.show-mobile { display: none; }
@media (max-width: 599px) {
  /* Home hero: the three promises read as a short checklist */
  .proof { gap: 8px; padding-top: 20px; }
  .proof li { display: flex; align-items: center; gap: 10px; }
  .proof li::before, .proof li + li::before { content: ''; display: block; flex-shrink: 0; width: 5px; height: 5px; margin: 0; border-radius: 50%; background: var(--ice); }

  /* Section links move from between heading and content to a full-width button after it */
  .sec-head .text-link { display: none; }
  .sec-head { margin-bottom: 24px; }
  .show-mobile { display: flex; margin-top: 28px; }
  .previews { gap: 36px; }

  /* "What working with me is like": number beside the heading, tighter rows */
  .why-list { gap: 0; }
  .why-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px 6px; padding-block: 20px; border-top: 1px solid var(--line); }
  .why-list li:first-child { border-top-color: var(--navy); }
  .why-list .num { padding-top: 3px; }
  .why-list h3, .why-list p { grid-column: 2; }
  .why-list h3 { font-size: 18px; }

  /* Work: room for the phone mockup, a proper button for the live site */
  .case-media { margin-bottom: 18px; }
  .case-copy { gap: 16px; }
  .case-copy .text-link {
    align-self: stretch; justify-content: center; min-height: 52px; margin-top: 4px;
    background: #fff; border: 1px solid var(--btn-line); border-radius: 6px;
  }
  .case-copy .text-link::after { display: none; }

  /* Work gallery: a swipeable row that bleeds to the screen edges; the next shot peeks in */
  .gallery {
    display: flex; gap: 14px; margin-top: 36px; margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 84%; scroll-snap-align: start; }
  .gallery .shot-tall img { aspect-ratio: 4 / 3.4; }

  /* Pricing */
  .pkg { padding: 24px; }
  .care { padding: 24px; gap: 24px; }
  .care-copy .bullets { gap: 8px; font-size: 15px; }
  .care-buy { padding-top: 24px; border-top: 1px solid var(--line); }
  .care-price strong { font-size: 40px; }

  /* About: the four project steps become a vertical timeline */
  .steps { gap: 0; margin-block: 28px 24px; }
  .steps li { position: relative; gap: 6px; margin-left: 6px; padding: 0 0 28px 26px; border-top: 0; border-left: 1px solid var(--line); }
  .steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
  .steps li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); box-sizing: border-box; }
  .steps li:last-child::before { background: var(--ice); border-color: var(--navy); }
  .steps h3 { font-size: 20px; line-height: 1.3; }
  .handle-list > div { padding-block: 18px; }

  /* Contact */
  .next-steps { gap: 16px; }
}
@media (max-width: 599px) {
  .overview-col:first-child .text-link { display: none; }
  .overview-col + .overview-col { margin-top: 24px; padding-top: 0; border-top: 0; }
  .overview-col .show-mobile { margin-top: 12px; }
}
@media (max-width: 599px) {
  /* Shots further along the swipe row are off to the side, so never wait for them to scroll in */
  .motion .gallery .reveal:not(.is-in) { opacity: 1; transform: none; }
}
