/* Hand-Delivered (hand-delivered.html, sources named the-ten.*): ten varsity jackets behind a coffee noren
   curtain (from concepts/noren.html). This page is its own brand: coffee & beige everywhere, header and
   footer included, nothing black (owner, 14 Nov). The rest of the site stays black + yellow.
   The colour roles are re-pointed on <body class="ten-page">, so shared parts (header, footer, bag, search) follow. */
.ten-page {
  --espresso: #241811; --coffee: #3b281d; --mocha: #6a4a37; --latte: #b89a7a;
  --black: var(--espresso); --white: #f2e9da; --shadow: #2e1f16;
  --bg: var(--coffee); --fg: #f2e9da; --muted: #c4a98a; --line: rgba(242, 233, 218, .2); --surface: #33231a;
  --muted-on-black: #c4a98a; --lit: #e0b45a; --lit-press: #cfa045; --ten-body: #e3d5bf;
  background: var(--bg); color: var(--fg);
}
html:has(.ten-page) { background: #3b281d; scrollbar-color: #6a4a37 #241811; }
.ten-page ::selection { background: var(--lit); color: var(--espresso); }
.ten { padding-top: var(--header-h); background: var(--bg); color: var(--fg); }

/* header + footer on this page: espresso brown, beige type, gold accents */
.ten-page .site-header__bar { background: var(--lit); color: var(--espresso); }
.ten-page .site-header__menu { border-color: var(--line); }
.ten-page .site-header__count, .ten-page .site-header__dot { color: var(--espresso); }
.ten-page .site-header__nav a { border-color: var(--line); }
/* the wordmark files sit on black: screen-blending drops the black and keeps the white letters */
.ten-page .site-header__logo img, .ten-page .footer__brand img, .ten-page .footer__pixels { mix-blend-mode: screen; }
.ten-page .footer { border-top-color: var(--line); }
.ten-page .footer__replay { background: var(--espresso); border-color: var(--line); }
.ten-page .search { background: var(--surface); }
.ten-page .search__hit:hover, .ten-page .search__hit:focus-visible { background: var(--coffee); }
.ten-page .search::backdrop, .ten-page .sheet::backdrop { background: rgba(36, 24, 17, .72); }
.ten-page .skip-link, .ten-page .btn--lit { color: var(--espresso); }
.ten-page .size-table tbody tr:hover { color: var(--espresso); }
.ten__hero, .ten__story, .ten__box, .ten__steps, .ten__terms, .ten__last {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
}
.ten__kicker { margin: 0 0 12px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--lit); text-transform: uppercase; }
.ten__h2 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: var(--fs-3); line-height: 1.05; margin: 0; }
.ten__section-head { margin-bottom: clamp(24px, 4vw, 48px); }

/* ---------- hero ---------- */
.ten__hero { padding-top: clamp(32px, 6vw, 80px); display: grid; gap: clamp(20px, 3vw, 32px); }
.ten__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.ten__title { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: var(--fs-5); line-height: .9; letter-spacing: -.01em; text-wrap: balance; }
.ten__title em { font: italic 400 .78em/1 var(--serif); color: var(--lit); letter-spacing: -.02em; }
.ten__lede { margin: 0; max-width: 30ch; font-size: var(--fs-2); line-height: 1.45; color: var(--muted); }

.ten__stage { position: relative; aspect-ratio: 16 / 8.4; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 10%, #2a1c14, var(--espresso) 70%); border: 1px solid var(--line); }
/* side padding clears the cloth gathered at each edge (5 folds a side, about 7% of the stage) */
.ten__inside { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(16px, 4vw, 56px); padding: clamp(18px, 4vw, 56px) max(9%, 56px); padding-top: calc(clamp(18px, 4vw, 56px) + 24px); }
.ten__jacket { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; justify-items: end; }
.ten__jacket img { height: 100%; width: auto; max-width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f2ee; border-radius: var(--radius-img); padding: 4%; }
.ten__jacket figcaption { font: 500 .6875rem/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; }
.ten__card { display: grid; gap: 10px; justify-items: start; align-content: center; }
.ten__of { margin: 0; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ten__status { margin: 0; font-weight: 700; font-size: var(--fs-2); }
.ten__status.is-claimed { color: var(--lit); }
.ten__price { margin: 0 0 6px; font-weight: 800; font-size: var(--fs-2); font-variant-numeric: tabular-nums; }
.ten__note { margin: 0; max-width: 34ch; font-size: var(--fs-0); color: var(--muted); }
.ten__note:empty { display: none; }

/* the chenille number patch: yellow felt, black edge, cream border, like a stitched varsity number */
.patch { margin: 0; line-height: 1; }
.patch span {
  position: relative; display: inline-block; z-index: 0;
  font: 900 clamp(4.5rem, 2rem + 8vw, 9rem)/1 var(--display); font-stretch: 125%; letter-spacing: .02em;
  color: var(--lit); -webkit-text-fill-color: var(--lit); -webkit-text-stroke: .09em var(--espresso); paint-order: stroke fill;
}
.patch span::before {
  content: attr(data-n); position: absolute; inset: 0; z-index: -1;
  -webkit-text-stroke: .2em var(--fg); -webkit-text-fill-color: var(--fg); color: var(--fg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55));
}

/* the rod and the noren: ten strips of black cloth, one per number */
.ten__rod { position: absolute; z-index: 3; left: -2%; right: -2%; top: 10px; height: 12px; border-radius: 8px;
  background: linear-gradient(#8b6446, #5a3b28 60%, #3d281b); box-shadow: 0 3px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); }
/* the curtain box itself lets clicks through (it covers the card while open); only the cloth strips catch them */
.ten__curtain { position: absolute; z-index: 2; inset: 16px 0 0 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 0; height: 82%;
  pointer-events: none; container-type: inline-size; }
.ten__curtain .ten__panel { pointer-events: auto; }
.ten__panel {
  position: relative; transform-origin: 50% 0; border: 0; padding: 0; cursor: pointer; color: var(--fg);
  margin-right: -1px; /* overlap a pixel so sub-pixel seams never let the jacket show through */
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #4a3224, var(--coffee) 40%, #33231a);
  border-radius: 0 0 5px 5px;
  /* strips touch; a dark seam and a faint lit edge tell them apart (no gap for the light jacket to shine through) */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .35), inset 1px 0 0 rgba(255, 255, 255, .05), inset 0 -10px 0 -6px rgba(255, 255, 255, .06), 0 12px 26px rgba(0, 0, 0, .5);
  /* smooth cloth: a soft ease, the middle strips moving first (--d from the script) */
  transition: transform .9s cubic-bezier(.65, .05, .25, 1) var(--d, 0ms);
  will-change: transform;
}
.ten__panel::after { content: ""; position: absolute; inset: auto 8px 12px; height: 1px; background: rgba(232, 220, 198, .35); } /* hem stitch */
/* the number reads across, "01", sized to the strip (a strip is 10% of the curtain's width) */
.ten__panel-n { position: absolute; left: 50%; top: 12%; translate: -50% 0; white-space: nowrap;
  font: 800 min(5cqi, 2.4rem)/1 var(--display); font-stretch: 75%; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.ten__panel-tag { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; writing-mode: vertical-rl;
  font: 500 clamp(.5rem, .3rem + .5vw, .6875rem)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lit); }
.ten__panel.is-claimed .ten__panel-n { color: var(--lit); }
.ten__panel-n, .ten__panel-tag { transition: opacity .35s ease .25s; }
@media (hover: hover) {
  .ten__curtain:not(.is-open) .ten__panel:hover { transform: translateY(-2.5%) skewX(-1.5deg); transition-duration: .6s; transition-delay: 0ms; }
}
.ten__curtain:not(.is-open) .ten__panel:focus-visible { transform: translateY(-2.5%) skewX(-1.5deg); }
.ten__panel:focus-visible { outline: 2px solid var(--lit); outline-offset: -4px; }
/* the breeze: one strip lifts and settles slowly */
.ten__panel.is-breeze { transform: translateY(-10%) skewX(-5deg) rotate(-1.5deg); transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
.ten__curtain.is-open .ten__panel { transform-origin: var(--origin) 0; transform: translateX(var(--away)) scaleX(.15) skewX(var(--lean)); }
.ten__curtain.is-open .ten__panel-n, .ten__curtain.is-open .ten__panel-tag { opacity: 0; transition: opacity .2s ease 0s; }

/* what's behind: the card rises in as the cloth clears, and cross-fades when another number is picked */
.ten__jacket, .ten__card > * { transition: opacity .6s ease, translate .8s cubic-bezier(.16, 1, .3, 1); }
.ten__stage:not(.is-open) .ten__card > * { opacity: 0; translate: 0 14px; transition-duration: .3s; }
.ten__stage.is-open .ten__card > * { transition-delay: calc(.35s + var(--i, 0) * 60ms); }
.ten__card > :nth-child(2) { --i: 1; } .ten__card > :nth-child(3) { --i: 2; } .ten__card > :nth-child(4) { --i: 3; }
.ten__card > :nth-child(5) { --i: 4; } .ten__card > :nth-child(6) { --i: 5; }
.ten__stage:not(.is-open) .ten__jacket { opacity: .55; }
.ten__stage.is-open .ten__jacket { transition-delay: .3s; }
.ten__stage.is-swapping .ten__card > * { opacity: 0; translate: 0 8px; transition-duration: .2s; transition-delay: 0s; }

.ten__hint { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px;
  background: var(--fg); color: var(--coffee); font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ten__hint i { width: 7px; height: 7px; border-radius: 50%; background: #8f2f1f; animation: ten-pulse 1.6s ease-in-out infinite; }
@keyframes ten-pulse { 50% { opacity: .25; } }

.ten__foot { display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ten__numbers { display: flex; gap: 6px; flex-wrap: wrap; }
.ten__num { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--fg);
  font: 600 .875rem/1 var(--mono); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.ten__num:hover { border-color: var(--fg); }
.ten__num[aria-pressed="true"] { background: var(--fg); color: var(--coffee); border-color: var(--fg); }
.ten__num.is-claimed { color: var(--lit); }
.ten__num.is-claimed[aria-pressed="true"] { background: var(--lit); color: var(--espresso); border-color: var(--lit); }
.ten__count { margin: 0; font: 500 .75rem/1.4 var(--mono); color: var(--muted); }

/* ---------- story ---------- */
.ten__story { padding-block: clamp(72px, 12vw, 160px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ten__big { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: var(--fs-4); line-height: .98; text-wrap: balance; }
.ten__big em { font: italic 400 1em/1 var(--serif); color: var(--lit); }
.ten__story .ten__big { font-size: clamp(2rem, 1rem + 2.8vw, 3.75rem); line-height: 1.02; }
.ten__prose { font-size: 1.0625rem; line-height: 1.7; color: var(--ten-body); max-width: 52ch; }
.ten__prose p { margin: 0 0 1.1em; }
.ten__prose p:last-child { margin-bottom: 0; color: var(--fg); }

/* ---------- what you get: a numbered ledger ---------- */
.ten__box { padding-bottom: clamp(72px, 10vw, 140px); }
.ten__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: item; }
.ten__list li { counter-increment: item; display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 12px; align-content: start;
  padding: clamp(20px, 2.6vw, 32px) clamp(4px, 2vw, 24px) clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line); }
.ten__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.ten__list li:nth-child(even) { padding-left: clamp(16px, 2.6vw, 32px); }
.ten__list li::before { content: counter(item, decimal-leading-zero); grid-row: span 2; font: 500 .8125rem/1.6 var(--mono); color: var(--lit); }
.ten__list h3 { font-family: var(--display); font-weight: 800; font-stretch: 105%; font-size: var(--fs-2); line-height: 1.2; margin: 0 0 6px; }
.ten__list p { margin: 0; color: var(--ten-body); line-height: 1.6; max-width: 52ch; }

/* ---------- how it goes ---------- */
.ten__steps { padding-bottom: clamp(72px, 10vw, 140px); }
.ten__timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ten__timeline li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.ten__timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--lit); }
.ten__step { display: block; margin-bottom: 10px; font: 500 .75rem/1 var(--mono); color: var(--muted); }
.ten__timeline h3 { font-family: var(--display); font-weight: 800; font-stretch: 105%; font-size: var(--fs-1); line-height: 1.25; margin: 0 0 6px; }
.ten__timeline p { margin: 0; color: var(--ten-body); line-height: 1.55; font-size: .9375rem; }

/* ---------- terms ---------- */
.ten__terms { padding-bottom: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ten__facts { grid-column: 1 / -1; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ten__fine ul { margin: 18px 0 0; padding-left: 1.2em; line-height: 1.65; }
.ten__fine li { margin-bottom: .6em; color: var(--ten-body); }
.ten__fine a { color: var(--fg); text-decoration-color: var(--lit); text-underline-offset: .25em; }
.ten__sizes-note { margin: 10px 0 16px; color: var(--muted); font-size: var(--fs-0); }
.ten__table-wrap { overflow-x: auto; }
.ten__table { width: 100%; min-width: 320px; }

/* ---------- last call ---------- */
.ten__last { padding-bottom: clamp(88px, 12vw, 160px); display: grid; justify-items: center; gap: 32px; text-align: center; }
.ten__last .ten__big { max-width: 18ch; }
.ten__recap { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; counter-reset: recap; }
.ten__recap li { counter-increment: recap; display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-0); font-weight: 600; color: var(--fg); }
.ten__recap li::before { content: counter(recap, decimal-leading-zero); font: 500 .6875rem/1 var(--mono); color: var(--lit); }
.ten__back { color: var(--muted); font-size: var(--fs-0); text-decoration: underline; text-decoration-color: var(--lit); text-underline-offset: .3em; }
.ten__back:hover { color: var(--fg); }
.ten__timeline a { color: var(--fg); text-decoration-color: var(--lit); text-underline-offset: .25em; }

/* ---------- phones and tablets ---------- */
@media (max-width: 899px) {
  .ten__head { grid-template-columns: 1fr; }
  .ten__stage { aspect-ratio: auto; height: min(150vw, 680px); }
  .ten__numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }
  .ten__inside { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: 34px 36px 18px; }
  .ten__jacket { justify-items: center; }
  .ten__card { justify-items: center; text-align: center; gap: 6px; }
  .patch span { font-size: clamp(3.4rem, 1.5rem + 9vw, 5rem); }
  .ten__curtain { height: calc(100% - 16px); }
  .ten__story, .ten__terms { grid-template-columns: 1fr; }
  .ten__list { grid-template-columns: 1fr; }
  .ten__list li:nth-child(odd) { border-right: 0; }
  .ten__list li:nth-child(even) { padding-left: 0; }
  .ten__timeline { grid-template-columns: 1fr; gap: 0; }
  .ten__timeline li { padding: 0 0 24px 26px; border-top: 0; border-left: 2px solid var(--line); }
  .ten__timeline li::before { top: 2px; left: -6px; }
  .ten__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ten__last .btn--big { padding-inline: 24px; font-size: var(--fs-1); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ten__panel, .ten__jacket, .ten__card > * { transition: none !important; }
  .ten__hint i { animation: none; }
}

/* buttons, facts and the size table on coffee */
.ten .btn--lit { background: var(--fg); color: var(--coffee); border-color: var(--fg); transition: background-color .25s ease, transform .18s ease; }
.ten .btn--lit:hover { background: #fff7ea; border-color: #fff7ea; }
.ten .doc__facts div { background: var(--coffee); }
.ten .size-table thead th { background: var(--fg); color: var(--coffee); }
.ten__stage { box-shadow: 0 30px 60px rgba(20, 12, 8, .45); }

/* jacket colour picker in the curtain card */
.ten__colours { display: grid; gap: 8px; justify-items: inherit; margin-bottom: 4px; }
.ten__colour-name { margin: 0; font-size: var(--fs-0); color: var(--muted); }
.ten__colour-name span { color: var(--fg); font-weight: 700; }
.ten__swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.ten__swatch { width: 30px; height: 30px; padding: 0; border-radius: 50%; cursor: pointer; background: var(--sw);
  border: 2px solid var(--coffee); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.ten__swatch:hover { transform: scale(1.08); }
.ten__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--fg); }
.ten__swatch::before { content: ""; position: absolute; inset: -7px; } /* 44px tap target */
.ten__swatch { position: relative; }
.ten__jacket img { transition: opacity .25s ease; }
.ten__card > :nth-child(7) { --i: 6; }
@media (max-width: 899px) { .ten__swatches { justify-content: center; } }
/* phones: six dots in one row and a slightly taller stage, so the jacket photo keeps its room */
@media (max-width: 899px) {
  .ten__stage { height: min(165vw, 720px); }
  .ten__swatches { flex-wrap: nowrap; gap: 6px; }
  .ten__swatch { width: 24px; height: 24px; }
  .ten__swatch::before { inset: -8px -3px; }
  .ten__card .patch span { font-size: clamp(3rem, 1.4rem + 8vw, 4.6rem); }
}
/* long words like "@litvibesstore" must wrap instead of widening the facts box past the screen */
.ten__terms > * { min-width: 0; }
.ten__facts dd { overflow-wrap: anywhere; }
@media (max-width: 380px) { .ten__facts { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .ten__jacket figcaption { display: none; } .ten__stage { height: 178vw; } }

/* the jacket turns: back and front cross-fade, each shown for the same time (3 s each, 0.8 s fade) */
.ten__sides { position: relative; height: 100%; aspect-ratio: 1; max-width: 100%; min-height: 0; }
.ten__sides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ten__sides [data-jacket-front] { animation: ten-turn 7.6s ease-in-out infinite; }
@keyframes ten-turn { 0%, 39.5% { opacity: 0; } 50%, 89.5% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ten__sides [data-jacket-front] { animation: none; opacity: 0; }
  .ten__sides:hover [data-jacket-front] { opacity: 1; }
}
