/* Tẹ́lọ̀ Uniforms. Poster portraits on school cloth colour fields; the nav is a tape measure. */
:root {
  --green: #0b4b3b;
  --sky: #9ccbf0;
  --red: #8e1b2c;
  --indigo: #1f2f66;
  --khaki: #c9bc8e;
  --tape: #f5c518;
  --ink: #111311;
  --white: #ffffff;
  --mist: #f3f4f1;
  --line: #d9dcd6;
  --muted: #4d524e;
  --err: #a3122a;
  --ok: #0b6b3f;
  --display: "Zalando Sans Expanded", "Arial Black", system-ui, sans-serif;
  --text: "Zalando Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pull: cubic-bezier(.76, 0, .24, 1);
  --top: 64px;
  --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; }
html.still { scroll-behavior: auto; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em, i { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.f-sky :focus-visible, .f-khaki :focus-visible, .collect :focus-visible, .faq :focus-visible, dialog :focus-visible { outline-color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Buttons: pills, the fill pulls in from the left like ribbon */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 16px/1 var(--text); text-decoration: none; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn span { position: relative; }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-tape::before { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink::before { background: var(--red); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost::before { background: var(--tape); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.link { background: none; border: 0; padding: 0; min-height: 44px; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.link:hover { text-decoration-thickness: 3px; text-decoration-color: var(--tape); }
.link-light { color: var(--white); }
.text-btn { background: none; border: 0; min-height: 44px; padding: 0 12px; font-weight: 600; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Header: dyed in the cloth of the chapter you are reading, with a swatch for each chapter */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 24px; padding: 0 16px 0 24px; background: var(--hc); color: var(--ht); border-bottom: 1px solid var(--hl); transition: background-color .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease); }
.top[data-chap="hero"] { --hc: var(--green); --ht: var(--white); --hl: rgba(255, 255, 255, .2); }
.top[data-chap="measure"] { --hc: var(--sky); --ht: var(--ink); --hl: rgba(17, 19, 17, .16); }
.top[data-chap="cut"] { --hc: var(--red); --ht: var(--white); --hl: rgba(255, 255, 255, .2); }
.top[data-chap="sew"] { --hc: var(--indigo); --ht: var(--white); --hl: rgba(255, 255, 255, .2); }
.top[data-chap="fit"] { --hc: var(--khaki); --ht: var(--ink); --hl: rgba(17, 19, 17, .16); }
.top[data-chap="collect"] { --hc: var(--white); --ht: var(--ink); --hl: var(--line); }
.top :focus-visible { outline-color: currentColor; }
.brand { display: inline-flex; gap: 10px; min-height: 44px; align-items: center; text-decoration: none; color: inherit; }
.brand-word { font: 700 26px/1 var(--display); letter-spacing: -.01em; }
.brand-sub { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tape { position: relative; flex: 1; display: flex; justify-content: center; }
.tape-links { display: flex; gap: 6px; }
.tape-links a { display: inline-flex; gap: 10px; min-height: 44px; align-items: center; padding: 0 14px 0 10px; text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 999px; border: 1.5px solid transparent; transition: border-color .4s var(--ease); }
.tape-links a:hover { border-color: currentColor; }
.tape-links a.on { font-weight: 700; border-color: currentColor; }
.sw { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--c); border: 1.5px solid currentColor; transition: transform .45s var(--ease); }
.tape-links a.on .sw { transform: rotate(45deg) scale(.9); }
.tape-extra { display: none; }
.tape-now { display: none; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.top .text-btn { color: inherit; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font-weight: 600; }

/* Fields: full bleed school cloth */
.cloth { position: relative; padding: 136px 0; overflow: hidden; }
.f-green { background: var(--green); color: var(--white); --prev: var(--green); }
.f-sky { background: var(--sky); color: var(--ink); --prev: var(--green); }
.f-red { background: var(--red); color: var(--white); --prev: var(--sky); }
.f-indigo { background: var(--indigo); color: var(--white); --prev: var(--red); }
.f-khaki { background: var(--khaki); color: var(--ink); --prev: var(--indigo); }
.collect { position: relative; background: var(--white); padding: 136px 0; --prev: var(--khaki); overflow: hidden; }
html.js:not(.still) .pull::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--prev); transform-origin: right; transform: scaleX(1); transition: transform 1.15s var(--pull); pointer-events: none; }
html.js:not(.still) .pull.in::after { transform: scaleX(0); }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.chap { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 28px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--tape); color: var(--ink); }
.chap b { display: inline-grid; place-items: center; min-width: 52px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--tape); font-size: 12px; }
h2 { font: 600 clamp(36px, 4.6vw, 68px)/1.02 var(--display); letter-spacing: -.025em; max-width: 16ch; text-wrap: balance; }
h3 { font: 600 22px/1.2 var(--display); letter-spacing: -.01em; }
.body-l { font-size: 19px; line-height: 1.55; max-width: 54ch; margin-top: 24px; }
.f-red .body-l, .f-indigo .body-l, .f-green .body-l { color: #e8ece9; }
.f-sky .body-l, .f-khaki .body-l, .collect .body-l { color: #2e3430; }
.chap-head { max-width: 860px; }

/* Hero */
.hero { min-height: 100svh; padding: calc(var(--top) + 64px) 0 72px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.hero-text { position: relative; z-index: 2; padding: 0 24px 0 max(48px, calc((100vw - 1200px) / 2 + 48px)); }
.kicker { display: flex; gap: 22px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.kicker span { display: inline-flex; align-items: center; gap: 10px; }
.kicker span::before { content: ""; width: 10px; height: 10px; background: var(--tape); }
.hero h1 { font: 600 clamp(44px, 5.1vw, 86px)/.98 var(--display); letter-spacing: -.03em; margin-top: 28px; max-width: 14ch; text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.5; color: #e2e9e5; max-width: 44ch; margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; }
.term { display: flex; align-items: flex-start; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 15px; color: #e2e9e5; max-width: 48ch; }
.term-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--tape); }
.hero-portrait { position: absolute; top: var(--top); right: 0; bottom: 0; width: 56%; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
html.js:not(.still) .hero h1, html.js:not(.still) .hero .lede, html.js:not(.still) .hero .cta-row, html.js:not(.still) .hero .kicker { animation: rise .9s var(--ease) both; }
html.js:not(.still) .hero .kicker { animation-delay: .05s; }
html.js:not(.still) .hero .lede { animation-delay: .18s; }
html.js:not(.still) .hero .cta-row { animation-delay: .28s; }
html.js:not(.still) .hero-portrait img { animation: portrait 1.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes portrait { from { opacity: 0; transform: scale(1.04); } }

/* Size finder */
.finder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 64px; align-items: start; }
.fd-in, .fd-out, .classlist { background: var(--white); border-radius: var(--r); }
.fd-in { padding: 28px; display: grid; gap: 24px; }
.fd-read { display: flex; align-items: baseline; gap: 8px; }
.fd-cm { font: 700 64px/1 var(--display); letter-spacing: -.03em; }
.fd-unit { font: 600 20px var(--display); }
.fd-ft { margin-left: auto; font-size: 15px; color: var(--muted); }
.fd-tape { position: relative; height: 92px; margin-top: 16px; overflow: hidden; border-radius: 14px; background: var(--tape); cursor: grab; touch-action: pan-y; user-select: none; }
.fd-tape:active { cursor: grabbing; }
.fd-tape:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.fd-ruler { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; background:
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) left top / 100% 18px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 60px) left top / 100% 30px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 120px) left top / 100% 42px no-repeat; }
.fd-ruler span { position: absolute; top: 48px; transform: translateX(-50%); font: 700 18px var(--display); }
.fd-needle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--red); }
.fd-needle::before { content: ""; position: absolute; top: 0; left: 50%; width: 16px; height: 12px; margin-left: -8px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hint { font-size: 14px; color: var(--muted); margin-top: 10px; }
.fd-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 14px; }
.fd-grid-2 { grid-template-columns: 1fr 1.4fr; }
.field { display: grid; gap: 8px; align-content: start; }
.f-label { font-size: 14px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #b9beb7; border-radius: 14px; background: var(--white); font-size: 16px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111311' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 44px; padding: 0 16px; border: 1.5px solid #b9beb7; border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 500; transition: background .3s var(--ease), border-color .3s var(--ease); }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.seg-wide button { min-height: 48px; padding: 0 20px; }
.fd-ask { display: grid; gap: 10px; padding-top: 22px; border-top: 1px dashed #b9beb7; }
.ask-row { display: flex; gap: 8px; }
.ask-row .btn { flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 500; text-align: left; }
.chip:hover { background: var(--tape); }
.chip-list { background: transparent; border: 1.5px dashed var(--ink); }
.fd-out { overflow: hidden; position: sticky; top: calc(var(--top) + 24px); }
.fd-photo { background: var(--white); }
.fd-photo img { width: 100%; height: 300px; object-fit: contain; object-position: center bottom; }
.fd-answer { padding: 24px 28px 28px; display: grid; gap: 16px; border-top: 1px solid var(--line); }
.fd-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.fd-say { font: 600 24px/1.25 var(--display); letter-spacing: -.015em; }
.fd-size { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin-right: 8px; border-radius: 50%; background: var(--tape); vertical-align: -.35em; font-size: 1.1em; }
.fd-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fd-items div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fd-items dt { font-size: 13px; color: var(--muted); }
.fd-items dd { font-weight: 600; }
.fd-note { position: relative; font-size: 15px; color: var(--muted); padding-left: 22px; }
.fd-note::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--tape); }
.fd-work { display: grid; gap: 12px; }
.fd-work li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.fd-work li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #b9beb7; flex: none; }
.fd-work li.done { color: var(--ink); }
.fd-work li.done::before { background: var(--ink); border-color: var(--ink); }
.fd-work li.now::before { border-color: var(--red); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.fd-twins { display: grid; gap: 12px; }
.fd-twin { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fd-twin .fd-size { margin: 0; flex: none; font: 700 20px var(--display); }
.fd-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.classlist { margin-top: 20px; padding: 28px; display: grid; gap: 18px; }
.cl-actions { display: flex; gap: 20px; align-items: center; }
.cl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cl-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px 10px 8px 0; border-bottom: 1.5px solid var(--ink); }
.cl-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.cl-table .bad td { color: var(--err); }
.cl-size { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--tape); font-weight: 700; }

/* Cut and Sew */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.split-rev .sew-text { order: 0; }
.cut-photo img, .sew-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.sew-photo img { object-position: 40% 50%; }
.sew-photo figcaption { margin-top: 12px; font-size: 14px; color: #cfd6ea; }
.schools { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .3); }
.schools li { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.sw { display: flex; }
.sw i { width: 26px; height: 34px; border: 1px solid rgba(255, 255, 255, .55); }
.sw i + i { margin-left: -1px; }
.schools .sn { font-weight: 600; }
.schools .sa { display: block; font-size: 14px; color: #f0d7dc; font-weight: 400; }
.schools .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.hem { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; margin-top: 40px; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .08); }
.hem-stage { position: relative; height: 230px; }
.hem-cloth { position: absolute; left: 10px; right: 30px; top: 0; height: 170px; background: #8c919c; border-radius: 6px 6px 0 0; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); transform-origin: top; transition: transform .7s var(--ease); }
.hem-pleat { position: absolute; top: 28%; bottom: 0; width: 1px; background: rgba(17, 19, 17, .35); }
.hem-pleat:nth-child(1) { left: 30%; } .hem-pleat:nth-child(2) { left: 50%; } .hem-pleat:nth-child(3) { left: 70%; }
.hem-fold { position: absolute; left: 0; right: 0; bottom: 14px; height: 0; border-top: 2px dashed var(--white); }
.hem.down .hem-cloth { transform: scaleY(1.18); }
.hem-rule { position: absolute; right: 0; top: 0; height: 170px; width: 22px; border-right: 2px solid var(--tape); font-size: 12px; font-weight: 700; writing-mode: vertical-rl; display: grid; place-items: center; color: var(--tape); transition: height .7s var(--ease); }
.hem.down .hem-rule { height: 201px; }
.hem-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--tape); }
.hem-copy { display: grid; gap: 14px; justify-items: start; }
.hem-copy p:not(.hem-k) { color: #e3e7f2; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.facts div { border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 12px; }
.facts dt { font-size: 13px; color: #cfd6ea; }
.facts dd { font-weight: 600; margin-top: 4px; }

/* Fit wall */
.wall { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: clamp(240px, 27vw, 400px) clamp(200px, 21vw, 320px) auto; gap: 16px; margin-top: 64px; }
.wall figure { overflow: hidden; border-radius: var(--r); background: rgba(17, 19, 17, .08); }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wall figure:hover img { transform: scale(1.03); }
.w-a { grid-column: 1 / 8; grid-row: 1; }
.w-b { grid-column: 8 / 13; grid-row: 1 / 3; }
.w-b img { object-position: 50% 20%; }
.w-c { grid-column: 1 / 5; grid-row: 2; }
.w-d { grid-column: 5 / 8; grid-row: 2; }
.w-q { grid-column: 2 / 12; grid-row: 3; padding: 56px 0 0; }
.w-q p { font: 500 clamp(24px, 2.6vw, 38px)/1.28 var(--display); letter-spacing: -.015em; text-wrap: pretty; }
.w-q footer { margin-top: 22px; display: grid; gap: 2px; }
.w-q footer span { color: #3a3f3a; }

/* Order */
.ord { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; margin-top: 64px; align-items: start; }
.o-form { display: grid; gap: 28px; padding: 32px; border: 1.5px solid var(--line); border-radius: var(--r); }
.o-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.o-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 600; color: var(--muted); }
.o-steps b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 13px; }
.o-steps li.on { background: var(--tape); color: var(--ink); }
.o-steps li.on b { background: var(--ink); color: var(--tape); }
.o-steps li.done { color: var(--ink); }
.o-steps li.done b { background: var(--ink); color: var(--white); }
.o-step { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.o-step legend { font: 600 30px/1.1 var(--display); letter-spacing: -.02em; padding: 0; margin-bottom: 18px; }
.pick-schools { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sch { position: relative; display: grid; gap: 4px; align-content: start; padding: 0 0 16px; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--white); }
.sch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sch-band { display: flex; height: 40px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.sch-band i { flex: 1; }
.sch b, .sch span { padding: 0 16px; }
.sch span { font-size: 14px; color: var(--muted); }
.sch:hover { border-color: var(--ink); }
.sch:has(input:checked) { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -3px; }
.sch:has(input:focus-visible) { outline: 3px solid var(--tape); outline-offset: 2px; }
.kids { display: grid; gap: 16px; }
.kid { border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.kid-band { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: var(--white); }
.kid-band.light { color: var(--ink); }
.kid-band h3 { font-size: 18px; }
.kid-band .link { min-height: 36px; font-size: 14px; }
.kid-body { padding: 16px; display: grid; gap: 16px; }
.kid-fields { display: grid; grid-template-columns: 1.4fr 1fr .8fr .9fr; gap: 10px; }
.kid-size { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.kid-size b { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tape); font: 700 20px var(--display); flex: none; }
.items { display: grid; }
.item { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.item small { display: block; color: var(--muted); font-size: 13px; }
.item .pr { min-width: 84px; text-align: right; }
.step { display: inline-flex; align-items: center; border: 1.5px solid #b9beb7; border-radius: 999px; }
.step button { width: 44px; height: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; border-radius: 999px; }
.step button:hover { background: var(--mist); }
.step output { min-width: 22px; text-align: center; font-weight: 700; }
.slots { display: grid; gap: 16px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: none; display: grid; gap: 2px; justify-items: center; min-width: 76px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); font-size: 13px; }
.day b { font: 700 22px var(--display); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.time { min-height: 48px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; }
.time small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.time[aria-pressed="true"] { background: var(--tape); border-color: var(--ink); }
.time:disabled { color: #8a8f8a; background: var(--mist); text-decoration: line-through; cursor: not-allowed; }
.drop { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--mist); }
.review { display: grid; border-top: 1.5px solid var(--ink); }
.review div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review dt { color: var(--muted); }
.o-error, .f-err { color: var(--err); font-size: 15px; font-weight: 500; }
.o-error:empty, .f-err:empty, .f-ok:empty { display: none; }
.f-ok { color: var(--ok); font-size: 15px; font-weight: 500; }
.o-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.o-nav .btn { margin-left: auto; }
.basket { position: sticky; top: calc(var(--top) + 24px); padding: 24px; border-radius: var(--r); background: var(--mist); display: grid; gap: 14px; }
.b-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.b-kid { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.b-kid p { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.b-kid p:first-child { font-weight: 700; font-size: 15px; }
.b-empty { font-size: 15px; color: var(--muted); }
.b-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.b-total strong { font: 700 26px var(--display); }
.b-note { font-size: 14px; color: var(--muted); }
.o-done { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: var(--r); background: var(--tape); }
.o-done:focus { outline: none; }
.code { display: grid; place-items: center; min-width: 180px; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--tape); text-align: center; }
.code small { color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.code b { font: 700 40px/1.1 var(--display); letter-spacing: .06em; }
.o-done h3 { font-size: 30px; }
.o-done p { margin-top: 8px; max-width: 54ch; }
.o-done .fd-actions { margin-top: 18px; }

/* FAQ */
.faq { padding: 120px 0; background: var(--white); border-top: 1.5px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.faq-list details { border-bottom: 1.5px solid var(--line); padding: 4px 0; }
.faq-list details:first-child { border-top: 1.5px solid var(--ink); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat, var(--tape); transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding: 0 0 24px; color: var(--muted); max-width: 60ch; }

/* Footer */
.foot { padding: 112px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 40px; }
.foot-word { font: 700 clamp(72px, 10vw, 150px)/.9 var(--display); letter-spacing: -.03em; color: var(--tape); }
.foot-line { margin-top: 18px; font-size: 18px; color: #e2e9e5; }
.foot-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--tape); margin-bottom: 12px; }
.foot p:not(.foot-k):not(.foot-word) { color: #e2e9e5; font-size: 15px; }
.foot .link { min-height: 36px; }
.foot-base { margin-top: 80px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 13px; color: #c3cfc9; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--white); }
dialog::backdrop { background: rgba(11, 75, 59, .72); }
.sheet { width: min(500px, calc(100vw - 32px)); max-height: calc(100svh - 32px); border-radius: 28px; padding: 28px 32px 32px; overflow: auto; }
.sheet[open] { animation: sheetIn .5s var(--ease) both; }
@keyframes sheetIn { from { opacity: 0; translate: 0 28px; } }
.sheet-x { display: flex; justify-content: flex-end; margin: -6px -10px 0 0; }
.x { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; }
.x:hover { border-color: var(--ink); }
.sheet-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.sheet h2 { font-size: 32px; max-width: none; margin-top: 6px; }
.sheet .muted { margin-top: 10px; }
.sheet form { display: grid; gap: 18px; margin-top: 24px; }
.si-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.phone-in { display: flex; }
.phone-in .cc { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid #b9beb7; border-right: 0; border-radius: 14px 0 0 14px; background: var(--mist); font-weight: 600; }
.phone-in input { border-radius: 0 14px 14px 0; }
/* PIN: cross stitches and a keypad of sewn buttons */
.pin { display: grid; gap: 14px; justify-items: center; padding: 18px 0 6px; border-radius: 18px; }
.pin-label { justify-self: start; font-size: 14px; font-weight: 600; }
.stitches { display: flex; gap: 18px; padding: 6px 14px; border-radius: 12px; }
.pin:focus-within .stitches { outline: 3px solid var(--tape); outline-offset: 2px; }
.stitch { position: relative; width: 34px; height: 34px; border-bottom: 3px dashed #b9beb7; }
.stitch.on { border-bottom-color: transparent; }
.stitch.on::before, .stitch.on::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 3px; margin: -1.5px 0 0 -15px; border-radius: 2px; background: var(--red); transform: rotate(45deg); animation: sew .25s var(--ease) both; }
.stitch.on::after { transform: rotate(-45deg); }
@keyframes sew { from { width: 0; margin-left: 0; } }
.pin-in { position: absolute; width: 1px; height: 1px; opacity: 0; }
.keypad { display: grid; grid-template-columns: repeat(3, 68px); gap: 12px 20px; }
.key { position: relative; width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--ink); font: 700 22px var(--display); background:
  radial-gradient(circle at 24% 24%, var(--ink) 0 2px, transparent 2.6px),
  radial-gradient(circle at 76% 24%, var(--ink) 0 2px, transparent 2.6px),
  radial-gradient(circle at 24% 76%, var(--ink) 0 2px, transparent 2.6px),
  radial-gradient(circle at 76% 76%, var(--ink) 0 2px, transparent 2.6px), var(--white); transition: background-color .2s var(--ease), transform .15s var(--ease); }
.key:hover { background-color: var(--mist); }
.key:active, .key.hit { background-color: var(--tape); transform: scale(.95); }
.key-t { font: 600 13px var(--text); border-style: dashed; background: var(--white); }
.key svg { width: 22px; height: 22px; }

/* Portal */
.portal { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; overflow: auto; background: var(--white); }
.portal[open] { animation: sheetIn .45s var(--ease) both; }
.pt-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: var(--top); padding: 8px 20px 8px 24px; background: var(--tape); }
.pt-actions { display: flex; gap: 8px; align-items: center; }
.pt-body { max-width: 1200px; margin: 0 auto; padding: 48px 32px 96px; }
.pt-hello { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
.pt-hello h2 { max-width: none; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 36px; align-items: start; }
.pt-col { display: grid; gap: 20px; }
.card { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card-in { padding: 22px; display: grid; gap: 14px; }
.card-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.kc { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kc:last-child { border-bottom: 0; }
.kc .kid-size b { width: 52px; height: 52px; }
.kc-n { font-weight: 700; }
.kc-s { font-size: 14px; color: var(--muted); }
.kc-grow { display: flex; gap: 8px; align-items: center; grid-column: 1 / -1; }
.kc-grow input { max-width: 130px; min-height: 44px; }
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.status span { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.status span::before { content: ""; height: 6px; border-radius: 3px; background: var(--mist); }
.status span.done { color: var(--ink); }
.status span.done::before { background: var(--ink); }
.status span.now { color: var(--ink); }
.status span.now::before { background: var(--tape); }
.ord-row { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ord-row:last-child { border-bottom: 0; }
.ord-row p { display: flex; justify-content: space-between; gap: 12px; }
.slot-card { background: var(--ink); color: var(--white); }
.slot-card .card-k { color: var(--tape); }
.slot-card .code { background: var(--tape); color: var(--ink); }
.slot-card .code small { color: var(--ink); }
.slot-card .link { color: var(--white); }
.slot-card .times .time, .slot-card .day { color: var(--ink); }
.pt-empty { margin-top: 36px; padding: 32px; border-radius: var(--r); background: var(--mist); display: grid; gap: 12px; justify-items: start; }

/* Reveals */
html.js:not(.still) [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js:not(.still) [data-reveal].in { opacity: 1; transform: none; }

/* Tablet and phone */
@media (max-width: 1099px) {
  .tape-links a { padding: 0 6px; font-size: 14px; }
  .top { gap: 12px; }
  .brand-sub { display: none; }
}
@media (max-width: 899px) {
  :root { --top: 60px; }
  .tape { position: fixed; top: var(--top); left: 0; right: 0; display: none; padding: 8px 16px 16px; background: var(--white); border-bottom: 1.5px solid var(--ink); }
  .tape.open { display: block; }
  .tape-pin { display: none; }
  .tape-links { display: grid; padding: 0; }
  .tape-links a { min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; gap: 14px; }
  .tape-links a b { min-width: 34px; }
  .tape-extra { display: block; padding-top: 8px; }
  .tape-now { display: flex; align-items: baseline; gap: 8px; margin: 0 auto; padding-bottom: 8px; font-size: 15px; font-weight: 600; }
  .tape-now b { font-size: 12px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .top-actions .text-btn, .top-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: calc(var(--top) + 40px) 0 0; }
  .hero-text { padding: 0 20px; }
  .hero-portrait { position: relative; top: 0; width: 100%; height: auto; margin-top: 40px; }
  .hero-portrait img { aspect-ratio: 4 / 3.4; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .finder, .split, .ord, .pt-grid, .faq-grid { grid-template-columns: 1fr; }
  .fd-out, .basket { position: static; }
  .split { gap: 40px; }
  .wall { grid-template-rows: auto; }
  .w-a, .w-b, .w-c, .w-d, .w-q { grid-column: 1 / -1; grid-row: auto; }
  .w-a img, .w-c img, .w-d img { aspect-ratio: 3 / 2; }
  .w-b img { aspect-ratio: 4 / 5; }
  .o-done { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 0 10px 0 16px; }
  .brand-word { font-size: 23px; }
  .wrap { padding: 0 16px; }
  .cloth, .collect { padding: 80px 0; }
  .faq { padding: 80px 0; }
  .hero-text { padding: 0 16px; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 48px); }
  .kicker { gap: 14px; font-size: 13px; }
  .lede { font-size: 17px; }
  .term { margin-top: 40px; }
  h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .body-l { font-size: 17px; }
  .finder { margin-top: 40px; }
  .fd-in { padding: 18px; }
  .fd-cm { font-size: 52px; }
  .fd-grid, .fd-grid-2 { grid-template-columns: 1fr 1fr; }
  .fd-grid .field:first-child { grid-column: 1 / -1; }
  .fd-grid-2 .field { grid-column: 1 / -1; }
  .ask-row { flex-direction: column; }
  .fd-photo img { height: 220px; }
  .fd-answer { padding: 20px; }
  .fd-say { font-size: 21px; }
  .fd-items { grid-template-columns: 1fr; }
  .classlist { padding: 18px; }
  .cl-table { font-size: 14px; }
  .schools li { grid-template-columns: auto 1fr; }
  .schools .btn { grid-column: 2; justify-self: start; }
  .hem { grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; }
  .hem-stage { height: 200px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .o-form { padding: 18px; }
  .o-step legend { font-size: 25px; }
  .o-steps li { padding: 5px 12px 5px 5px; font-size: 13px; }
  .kid-fields { grid-template-columns: 1fr 1fr; }
  .item { grid-template-columns: 1fr auto; }
  .item .pr { grid-column: 1; text-align: left; min-width: 0; font-size: 14px; color: var(--muted); }
  .item .step { grid-column: 2; grid-row: 1 / 3; }
  .review div { grid-template-columns: 1fr; gap: 2px; }
  .foot { padding-top: 72px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; padding: 18px 16px 24px; }
  .sheet h2 { font-size: 27px; }
  .keypad { grid-template-columns: repeat(3, 64px); gap: 10px 22px; }
  .key { width: 64px; height: 64px; }
  .pt-body { padding: 28px 16px 72px; }
  .status span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 640px) {
  .hero.cloth { padding: calc(var(--top) + 32px) 0 0; }
  .hero-portrait { margin-top: 32px; }
}
.key.hit, .key:active { background-color: var(--tape); }

[tabindex="-1"]:focus { outline: none; }
@media (max-width: 899px) {
  .tape { color: var(--ink); justify-content: stretch; }
  .tape-links { gap: 0; }
  .tape-links a, .tape-links a:hover, .tape-links a.on { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .tape-links a { display: flex; width: 100%; }
  .tape-now { gap: 10px; align-items: center; }
  .tape-now .sw { width: 14px; height: 14px; }
}

/* Tracking scale, per size: display tight, text slightly tight, small labels open */
body { letter-spacing: -.005em; }
.hero h1 { letter-spacing: -.032em; }
h2 { letter-spacing: -.024em; }
h3, .o-step legend, .kid-band h3 { letter-spacing: -.012em; }
.lede, .body-l, .fd-say, .w-q p { letter-spacing: -.012em; }
.btn, .link, .text-btn, .chip, .seg button, .tape-links a, .time, .day { letter-spacing: -.005em; }
.kicker, .fd-k, .b-k, .card-k, .hem-k, .sheet-k, .foot-k, .code small { letter-spacing: .05em; }
.chap, .o-steps li, .brand-sub { letter-spacing: .015em; }
@media (max-width: 640px) {
  .hero h1 { letter-spacing: -.026em; }
  h2 { letter-spacing: -.02em; }
}

/* Custom controls: listbox select and number fields (no native widgets) */
.lb { position: relative; display: block; }
.lb-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; left: 0; bottom: 0; }
.lb-btn { display: flex; align-items: center; width: 100%; min-height: 52px; padding: 12px 44px 12px 16px; border: 1.5px solid #b9beb7; border-radius: 14px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111311' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center / 12px; text-align: left; font-size: 16px; transition: border-color .3s var(--ease); }
.lb-btn:hover, .lb.open .lb-btn { border-color: var(--ink); }
.lb-btn.lb-ph .lb-v { color: var(--muted); }
.lb-list { position: absolute; z-index: 25; left: 0; min-width: 100%; top: calc(100% + 6px); max-height: 300px; overflow: auto; margin: 0; padding: 6px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; overscroll-behavior: contain; }
.lb-list:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.lb-list [role="option"] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 10px; font-size: 15px; white-space: nowrap; cursor: pointer; }
.lb-list [role="option"]::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid transparent; }
.lb-list [role="option"].on { background: var(--mist); }
.lb-list [aria-selected="true"] { font-weight: 700; }
.lb-list [aria-selected="true"]::before { background: var(--tape); border-color: var(--ink); }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kid { overflow: visible; }
.kid-band { border-radius: 14px 14px 0 0; }
