/* Resleeve Pattern Studio. House style: black on white, wordmark-wide type, raster only in the hero.
   Red marks a fault or a form error and nothing else. Buttons are pills so they never read as table cells. No italics. */
:root {
  --paper: #fff;
  --ink: #111;
  --ink-2: #4a4a4a;
  --ink-3: #6a6a6a;
  --line: #dcdcdc;
  --grid: #f1f1f1;
  --grid-major: #e4e4e4;
  --red: #e0301e;
  --red-soft: #fde8e4;
  --cell: 12px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 65px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 400 17px/1.5 var(--font); font-synthesis: none;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em, i, cite, address { font-style: normal; }
h1, h2 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.7vw, 7.2rem); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.03em; }
h3 { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.15; letter-spacing: -.012em; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .section--ink :focus-visible { outline-color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 8px 30px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; text-align: center;
  font: 600 1.02rem/1 var(--font); line-height: 1.15; letter-spacing: -.005em; cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #333; }
.btn--sm { min-height: 42px; padding: 6px 20px; font-size: .95rem; }
/* A long translation may wrap a button onto two lines; the bar's buttons stay on one. */
.nav__cta .btn { white-space: nowrap; }
/* Language picker: a flag in the bar; the menu lists every language. */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: #f2f2f2; }
.flag { flex-shrink: 0; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); overflow: hidden; }
.lang__caret { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60; min-width: 210px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ink); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); transform: translateX(-50%); }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.lang__menu a:hover { background: #f2f2f2; }
.lang__menu a[aria-current="page"] { background: #f2f2f2; font-weight: 700; }

/* Phones: Request price is a text link like Log in, and the flag drops its caret. */
@media (max-width: 767px) {
  .nav .brand { display: none; }
  .nav__cta { flex: 1; justify-content: space-between; }
  .lang { order: -1; }
  .nav__login { order: 1; }
  .nav__toggle { order: 2; }
  .nav .nav__cta .btn { min-height: 44px; padding: 0 4px; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
  .nav .nav__cta .btn:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
  .lang__btn { gap: 0; padding: 0 6px; }
  .lang__caret { display: none; }
}
@media (max-width: 359px) { .nav .nav__cta .btn { font-size: .8rem; } }

/* When a language's labels do not fit the bar, the price button says just "Price" (js/main.js). */
.fit__short,
.nav.is-tight .nav__free .fit__long, .nav.is-tighter .nav__price .fit__long { display: none; }
.nav.is-tight .nav__free .fit__short, .nav.is-tighter .nav__price .fit__short { display: inline; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e6e6e6; }
.btn--block { width: 100%; }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ink); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; max-width: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { height: 15px; width: auto; aspect-ratio: 1696 / 212; fill: currentColor; }
.nav__links { display: none; gap: 32px; }
.nav__links a, .link-call { text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__links a:hover, .link-call:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { display: flex; align-items: center; gap: 22px; }
.link-call { display: none; }
/* Log in stays in the bar at every width, for existing customers. */
.nav__login { display: flex; align-items: center; min-height: 44px; padding: 0 6px; white-space: nowrap; }
.brand { flex-shrink: 0; }
/* Phones: logo, Log in, Request price and the menu share one row, so the
   bar tightens instead of squeezing the logo. */
@media (max-width: 429px) {
  .nav__inner { gap: 10px; }
  .nav__cta { gap: 4px; }
  .nav__login { padding: 0 4px; }
  .nav__cta .btn--sm { padding: 0 14px; }
  .brand__mark { height: 13px; }
}
@media (max-width: 374px) {
  .nav__cta .btn--sm { padding: 0 12px; font-size: .875rem; }
  .brand__mark { height: 11px; }
}
@media (max-width: 359px) {
  .nav__inner { gap: 6px; }
  .nav__cta { gap: 2px; }
  .nav__login { padding: 0 2px; font-size: .8rem; }
  .nav__cta .btn--sm { padding: 0 9px; font-size: .8rem; }
  .brand__mark { height: 10px; }
}
.nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -11px; padding: 0 11px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: scaleX(0); }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.no-js .nav__toggle { display: none; }
@media (min-width: 1200px) {
  .nav__links, .link-call { display: flex; }
  .nav__toggle, .nav__call { display: none; }
  /* Desktop: Log in sits at the far right, after Request price. */
  .nav__login { order: 1; }
}
@media (max-width: 1199px) {
  .nav__cta { gap: 8px; }
  /* The menu drops down under the bar, one row per section. */
  .nav.is-open .nav__links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: flex; flex-direction: column; gap: 0; max-height: calc(100vh - 65px); max-height: calc(100svh - 65px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--ink); }
  .nav__links a { padding: 18px var(--gutter); font-size: 1.1rem; font-weight: 600; }
  .nav__links a + a { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 132px 0; } }
.section--rule { border-top: 1px solid var(--ink); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { margin-bottom: 56px; }
.note { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); max-width: 78ch; }

/* ---------- Hero: pinned while the scroll runs the film. Only place with a raster. ---------- */
.hero { position: relative; height: 1100vh; --story-head: 96px; }
.hero__anchor { position: absolute; left: 0; }
.hero__pin {
  /* dvh follows the browser bar as it folds away, so no white band opens up under the film. */
  position: sticky; top: 65px; height: calc(100vh - 65px); height: calc(100dvh - 65px); overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: calc(var(--cell) * 5) calc(var(--cell) * 5), calc(var(--cell) * 5) calc(var(--cell) * 5), var(--cell) var(--cell), var(--cell) var(--cell);
}
.hero__stage { position: absolute; inset: var(--story-head) 0 0; will-change: transform; transform-origin: 50% 50%; }
.hero__stage svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
.hero__copy { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); pointer-events: none; will-change: opacity, transform; }
.hero__copy a { pointer-events: auto; }
.hero h1 span { display: block; text-wrap: balance; }
.lede { margin-top: 26px; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.28; letter-spacing: -.012em; font-weight: 500; }
.lede span { display: block; }
.lede .lede__short { display: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
/* What we deliver: a carousel. Each item shows itself over a faint garment, and a click picks one. */
.offer { margin-top: 34px; max-width: 620px; }
/* Above the tabs: what they are, and the way to the full list. */
.offer__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; font-size: .95rem; }
.offer__label { font-weight: 600; }
.offer__all { font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1.5px; white-space: nowrap; }
.offer__all:hover { text-decoration-thickness: 2px; }
.offer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 6px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.offer li a { position: relative; display: block; padding: 12px 0; font-size: clamp(.68rem, 3.45vw, 1rem); font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.offer li a:hover { box-shadow: 0 2px 0 var(--ink); }
/* The line under the active item is the carousel's clock: when it is full, the next one starts. */
.offer li a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform-origin: 0 50%; }
.offer li a.is-run::after { animation: offer-line var(--hold) linear both; }
@keyframes offer-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__stage { transition: opacity .25s; }
.hero.is-showing .hero__stage { opacity: .16; }
.hero.is-solid .hero__stage { opacity: 0; }
/* No z-index here: it would cut the film off from the garment it blends with. */
.show { position: absolute; pointer-events: none; }
.show__film { position: absolute; inset: 0 0 40px; mix-blend-mode: multiply; }
.show__svg { display: block; width: 100%; height: 100%; }
/* The tech pack has no scene in the film, so it is a sheet drawn from the garment's data. */
.show__sheet { position: absolute; inset: 0 0 44px; display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 16px); padding: clamp(12px, 2vh, 20px); overflow: hidden; background: rgba(255, 255, 255, .72); border: 1px solid var(--ink); font-size: clamp(.72rem, 1.5vh, .86rem); line-height: 1.2; }
.show__sheet[hidden] { display: none; }
.sheet__a, .sheet__b { display: contents; }
.show__sheet h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.show__sheet svg { flex: 1 1 0; min-height: 0; width: 100%; }
.show__sheet svg path { fill: none; stroke: var(--ink); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-width: 1.2; }
.show__sheet svg .st { stroke-dasharray: 4 3; stroke-width: .8; }
.show__sheet table { width: 100%; border-collapse: collapse; }
.show__sheet caption { padding-bottom: 3px; text-align: left; font-weight: 600; }
.show__sheet th, .show__sheet td { padding: 3px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.show__sheet td { text-align: right; }

.story__head { position: absolute; left: 0; right: 0; top: 0; height: var(--story-head); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 var(--gutter); text-align: center; background: #fff; border-bottom: 1px solid var(--ink); opacity: 0; transition: opacity .25s; z-index: 2; pointer-events: none; }
.story__head.is-on { opacity: 1; }
.story__badge { padding: 3px 11px; border-radius: 99px; font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.story__head.is-old-way .story__badge { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.story__head.is-new-way .story__badge { color: #fff; background: var(--ink); box-shadow: none; }
.story__title { margin: 0; font-size: clamp(1.45rem, 2.9vw, 2.6rem); line-height: 1.05; font-weight: 600; letter-spacing: -.028em; }
.story__title.is-new { animation: title-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes title-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.story__proof { position: absolute; inset: var(--story-head) 0 0; z-index: 1; display: block; background: #fff; opacity: 0; pointer-events: none; overflow: hidden; cursor: zoom-in; }
.story__proof.is-live { pointer-events: auto; }
.story__proof img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.story__open { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; opacity: 0; pointer-events: none; }
.story__open.is-live { pointer-events: auto; }
/* On a phone the sheet runs off the edge at a readable size, and a swipe moves along it. */
@media (max-width: 759px), (orientation: portrait) {
  .story__proof { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .story__proof img { width: 1120px; max-width: none; height: 100%; object-position: 0 50%; }
}
@media (prefers-reduced-motion: reduce) { .story__title.is-new { animation: none; } }
.hint { position: absolute; bottom: 20px; left: 50%; font-size: .85rem; font-weight: 500; color: var(--ink-2); translate: -50% 0; background: #fff; padding: 3px 10px; border-radius: 99px; transition: opacity .25s; }

@media (max-width: 759px), (orientation: portrait) {
  .hero { height: 880vh; --story-head: 100px; }
  .hero__copy { justify-content: flex-start; padding-top: 28px; text-align: center; }
  .hero h1 { align-self: center; }
  .lede { align-self: center; max-width: none; margin-top: 14px; font-size: clamp(.84rem, 4.3vw, 1.15rem); }
  .lede .lede__long { display: none; }
  .lede .lede__short { display: block; }
  .offer { align-self: center; width: 100%; margin-top: 22px; }
  .offer__head { font-size: .85rem; margin-bottom: 8px; text-align: left; }
  /* The tech pack sheet in two columns, to fit where the garment stands. */
  .show__sheet { flex-direction: row; gap: 14px; padding: 10px; overflow-y: auto; pointer-events: auto; font-size: .66rem; }
  .sheet__a, .sheet__b { display: flex; flex-direction: column; flex: 1 1 0; gap: 7px; min-width: 0; }
  .show__sheet h3 { font-size: .95rem; }
  .show__sheet svg { min-height: 64px; }
  .show__sheet th, .show__sheet td { padding: 2px 0; }
}
/* A phone on its side: the headline and the offer in one row. */
@media (min-width: 760px) and (max-width: 1099px) and (max-height: 480px) {
  .lede { display: none; }
  .offer { margin-top: 10px; }
  .offer__head { margin-bottom: 4px; font-size: .8rem; }
  .offer li a { padding: 9px 0; font-size: .8rem; }
}
/* Wide enough for each sentence to hold its own line beside the garment. */
@media (min-width: 1100px) and (orientation: landscape) {
  .lede { max-width: none; }
  .lede span { white-space: nowrap; }
}
.no-js .hero { height: auto; }
.no-js .hero__pin { position: relative; top: 0; height: auto; padding: 48px 0; }
.no-js .hero__copy { position: relative; }

/* ---------- Proof: a real pattern to open ---------- */
.proof { padding: 80px 0; }
@media (min-width: 768px) { .proof { padding: 120px 0 132px; } }
.proof__head { display: grid; gap: 16px; margin-bottom: 44px; }
.proof__head p { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.28; font-weight: 500; letter-spacing: -.012em; max-width: 34ch; }
@media (min-width: 1000px) { .proof__head { grid-template-columns: 7fr 5fr; gap: 88px; align-items: end; } }
.proof__grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .proof__grid { grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; } }
.proof__dl { margin: 28px 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; }
.proof__dl dt { font-size: 14.5px; color: var(--ink-2); }
.proof__dl dd { margin: 2px 0 0; font-size: 2.3rem; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
@media (max-width: 480px) { .proof__dl { gap: 12px 22px; } .proof__dl dd { font-size: 1.7rem; } }
.seams { width: 100%; border-collapse: collapse; border: 1px solid var(--ink); font-size: 16px; }
.seams caption { text-align: left; font-size: 14.5px; color: var(--ink-2); padding-bottom: 8px; }
.seams th, .seams td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; font-weight: 500; }
.seams th[scope="row"], .seams thead th:first-child { text-align: left; }
.seams thead th { font-weight: 600; border-bottom-color: var(--ink); }
.seams tbody tr:last-child th, .seams tbody tr:last-child td { border-bottom: 0; }
.seams td:last-child { font-weight: 700; }
@media (max-width: 560px) { .seams th, .seams td { padding: 9px 7px; font-size: 14px; } }

/* ---------- Files band: the first question a pattern maker asks ---------- */
.band { background: var(--ink); color: #fff; padding: 88px 0 72px; }
@media (min-width: 768px) { .band { padding: 128px 0 96px; } }
.band h2 { max-width: 15ch; }
.band__grid { display: grid; gap: 44px; margin-top: 60px; }
@media (min-width: 960px) { .band__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.band__h { font-size: 1.05rem; font-weight: 500; color: #bdbdbd; padding-bottom: 12px; border-bottom: 1px solid #fff; }
.formats, .systems { list-style: none; margin: 0; padding: 0; }
.formats li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid #3c3c3c; }
.formats b { font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; font-stretch: 112%; }
.formats span { color: #bdbdbd; font-size: .98rem; text-align: right; }
.systems { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.systems li { padding: 16px 0; border-bottom: 1px solid #3c3c3c; font-size: clamp(1.15rem, 1.9vw, 1.65rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; }
.band__note { margin-top: 18px; color: #bdbdbd; font-size: 1rem; max-width: 46ch; }
.trust { list-style: none; margin: 72px 0 0; padding: 26px 0 0; border-top: 1px solid #fff; display: grid; gap: 18px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.trust li { font-size: 1.12rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.trust li::before { content: ""; display: block; width: 14px; height: 8px; margin-bottom: 12px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; }

/* ---------- What's in every job ---------- */
.stats { margin: 0 0 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats dt { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.stats dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
/* Tiles: each draws its own picture. Bars and lines grow in, the rest fades. */
.job { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; padding: 18px 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tile h3 { font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.tile--wide, .tile--wider { grid-column: span 2; }
.tile__art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 130px; }
.tile__art svg { width: 100%; height: 100%; max-height: 240px; overflow: visible; }
.tile--drape .tile__art svg { max-height: 320px; }
.tile__art .dr { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tile__art .base { stroke-width: 2.6; }
.tile__art .bar { stroke-width: 30; vector-effect: none; }
.tile__art .dash { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.tile__art .sheet { fill: #fff; }
.tile__art text { font: 600 13px/1 var(--font); fill: var(--ink); }
.tile__art .big { font-size: 18px; }
.tile--revisions .tile__art .big { font-size: 34px; }
.tile__bom { flex: 1; margin: 0; display: grid; align-content: center; }
.tile__bom div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.tile__bom dt { font-weight: 500; }
.tile__bom dd { margin: 0; font-weight: 600; }
@media (min-width: 900px) {
  .job { grid-template-columns: repeat(12, 1fr); }
  .tile { grid-column: span 3; padding: 22px 22px 20px; min-height: 290px; }
  .tile--wide { grid-column: span 6; }
  .tile--bom { grid-column: span 4; }
  .tile--versions { grid-column: span 3; }
  .tile--wider { grid-column: span 5; }
  .tile h3 { font-size: 1.1rem; }
}

/* ---------- How it works: a tape measure in hours. The clock runs while the package fills up. ---------- */
.run__pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 2.4vh, 30px); }
/* The title sits inside the pinned screen, so it stays in view while the clock runs. */
.run__title { font-size: clamp(1.5rem, min(5.6vw, 5vh), 3.4rem); line-height: 1.04; margin-bottom: clamp(0px, 1.5vh, 16px); }
.run__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.run__num { font-size: clamp(3.2rem, min(12vw, 20vh), 9.5rem); line-height: .9; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.run__num small { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.2; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.run__num--end { text-align: right; }
.run__steps { list-style: none; margin: 0; padding: 0; min-height: 2.6em; font-size: clamp(1.05rem, 1.8vw, 1.55rem); line-height: 1.28; font-weight: 500; letter-spacing: -.012em; }
.tape { position: relative; padding-top: 12px; }
.tape::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: var(--ink); }
.tape__fill { position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: var(--ink); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.tape__needle { position: absolute; left: calc(var(--p, 1) * 100%); top: 0; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid var(--ink); }
.tape__scale { height: 16px; border-right: 1px solid var(--ink); background: linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 6.25% 8px repeat-x, linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 25% 16px repeat-x; }
.tape__hours { display: flex; justify-content: space-between; margin-top: 6px; font-size: .85rem; font-weight: 600; }
.tape__hours span { display: flex; justify-content: center; width: 0; white-space: nowrap; }
.tape__hours span:first-child { justify-content: flex-start; }
.tape__hours span:last-child { justify-content: flex-end; }
.run__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.run__items li { display: flex; align-items: center; justify-content: center; min-height: clamp(38px, 6.4vh, 62px); padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.12; text-align: center; transition: background-color .22s, color .22s, transform .28s cubic-bezier(.2, .7, .2, 1); }
.run__note { color: var(--ink-2); font-size: 14.5px; line-height: 1.3; }
.after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.after p { max-width: 52ch; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.after strong { display: block; font-weight: 600; }
@media (min-width: 760px) {
  .run__items { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .run__items li { font-size: .95rem; }
}
@media (max-height: 460px) {
  .run__pin { gap: 8px; }
  .run__steps { min-height: 0; }
  .run__title { margin-bottom: 0; }
  .run__num { font-size: 14vh; }
  .run__note { display: none; }
}
/* Pinned only with motion: without it the page simply shows the finished package. */
.js-motion .run { height: 280vh; }
.js-motion .run__pin { position: sticky; top: 65px; height: calc(100vh - 65px); height: calc(100dvh - 65px); }
.js-motion .run__steps li:not(.is-on) { display: none; }
.js-motion .run__items li:not(.is-in) { background: transparent; color: #a8a8a8; box-shadow: inset 0 0 0 1px var(--line); transform: scale(.96); }

/* ---------- What we make: every deliverable, grouped. Prices are on request. ---------- */
.scope { display: grid; gap: 36px 32px; }
@media (min-width: 680px) { .scope { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .scope { grid-template-columns: repeat(3, 1fr); } }
.scope h3 { padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; }
.scope ul { list-style: none; margin: 0; padding: 0; }
.scope li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.25; }
.after .cta-row { margin-top: 0; }

/* The size toggle in the switched-off sample section. */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.seg button { height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .98rem/1 var(--font); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 66ch; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Final CTA + form ---------- */
.final { display: grid; gap: 44px; }
@media (min-width: 960px) { .final { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }
.final__copy > p { margin-top: 20px; font-size: 1.25rem; line-height: 1.32; letter-spacing: -.01em; max-width: 32ch; }
.final__copy .final__alt { margin-top: 28px; font-size: 16px; line-height: 1.5; color: #c9c9c9; letter-spacing: 0; }
.form { position: relative; background: #fff; color: var(--ink); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 560px) { .form { padding: 34px; } }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; }
.field > span { font-size: 14.5px; font-weight: 500; }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 0;
  background: #fff; color: var(--ink); font: 400 16px/1.3 var(--font); min-width: 0;
}
.field textarea { height: auto; padding: 12px; resize: vertical; }
.field em { font-style: normal; color: var(--ink-3); }
/* Honeypot: off screen for people, still a field for bots. */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Request price dialog. */
.dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--ink); border-radius: 20px; color: var(--ink); overflow: auto; }
.dialog::backdrop { background: rgba(17, 17, 17, .45); }
.dialog .form { padding: 24px; border-radius: 20px; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog__head h2 { font-size: 1.75rem; letter-spacing: -.025em; }
.dialog__close { width: 44px; height: 44px; margin: -10px -10px -10px 0; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.dialog__lede { font-size: 15px; color: var(--ink-2); }
.dialog .form__done { border-radius: 20px; justify-items: start; }
@media (min-width: 560px) { .dialog .form__row { grid-template-columns: 1fr 1fr; } }
.is-invalid, .field input.is-invalid, .field select.is-invalid, .drop.is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 1px var(--red); }
.drop { position: relative; display: grid; gap: 3px; align-content: center; justify-items: center; min-height: 360px; padding: 20px 16px; border: 0; text-align: center; cursor: pointer; }
.drop__shape { position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none; }
.drop__shape svg { height: 100%; width: auto; overflow: visible; }
.drop__shape path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-dasharray: 26 16; vector-effect: none; }
.drop__text, .drop__hint { position: relative; max-width: 150px; line-height: 1.25; }
.drop__text { font-size: .95rem; }
.drop__hint { font-size: 12px; }
.drop.is-over, .drop.has-file { background: #f4f4f4; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__text strong { font-weight: 600; }
.drop__hint { color: var(--ink-3); }
.form__error { color: var(--red); font-weight: 600; font-size: 15px; }
.form__legal { font-size: 13.5px; color: var(--ink-2); }
.form.is-sent > :not(.form__done) { visibility: hidden; }
.form__done { position: absolute; inset: 0; padding: 34px; background: #fff; display: grid; align-content: center; gap: 10px; }
.form__done h3 { font-size: 2rem; letter-spacing: -.025em; }
.form__dev { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Footer ---------- */
.footer { padding: 34px 0; }
.footer__inner { display: grid; gap: 18px; align-items: center; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: auto 1fr auto; gap: 40px; } }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { font-size: 13.5px; color: var(--ink-2); }
.footer__langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__langs a { color: var(--ink-2); text-decoration: none; }
.footer__langs a:hover { color: var(--ink); text-decoration: underline; }
.footer__langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Motion below the hero. js/motion.js sets .js-motion and adds .in on entry. ---------- */
.js-motion .plots { clip-path: inset(-12px 100% -12px -12px); transition: clip-path 1.2s cubic-bezier(.45, .05, .55, .95); }
.js-motion .plots.in { clip-path: inset(-12px -12px -12px -12px); }
.js-motion .plots.done { clip-path: none; transition: none; }
.js-motion .steps-in.done > *, .js-motion .rises.done { opacity: 1; transform: none; transition: none; }
.js-motion .tile .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js-motion .tile .fade, .js-motion .tile__art g, .js-motion .tile__bom div { opacity: 0; }
.js-motion .rises { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-motion .rises.in { opacity: 1; transform: none; }
.js-motion .steps-in > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.js-motion .steps-in.in > * { opacity: 1; transform: none; }

/* ---------- Draft tooling: placeholders and assumptions only show in ?review ---------- */
.placeholder, .placeholder-inline { display: none; }
.review .placeholder { display: block; margin-top: 32px; padding: 14px 16px; background: #fff3a8; color: #3a3200; border: 1.5px dashed #8a7500; font-size: 14.5px; }
.review .placeholder-inline { display: inline; background: #fff3a8; color: #3a3200; padding: 0 4px; }
.review [data-assumption] { outline: 1.5px dashed #0a7a55; outline-offset: 2px; position: relative; }
.review [data-assumption]::after { content: attr(data-assumption); position: absolute; top: -9px; right: -4px; background: #0a7a55; color: #fff; font: 600 11px/1.4 var(--font); padding: 0 4px; z-index: 5; }
.review-banner { position: fixed; left: 12px; bottom: 12px; z-index: 90; max-width: calc(100vw - 24px); background: #0a7a55; color: #fff; font-size: 13.5px; padding: 8px 12px; }
