/* Look measured from deke.style on 2026-11-11: surface, ink, accent, Inter + monospace labels,
   square corners, 13:20 product photos, 3:4 cards. */
/* One brand look on every page: DEKE's dark navy, white type, blue accent (deke.style's default theme). */
:root {
  --surface: #060817; --ink-rgb: 237 237 237; --body: #ededed; --accent: #6f9be0; --danger: #ff9d95; --card: #0d1126;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --pad: 30px;
  /* names the admin page uses */
  --bg: var(--surface); --fg: rgb(var(--ink-rgb)); --muted: rgb(var(--ink-rgb) / .7); --line: rgb(var(--ink-rgb) / .14);
  --soft: rgb(var(--ink-rgb) / .06);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--body);
  font: 400 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, input, select, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.loading { margin: auto; padding: 40px; font: 400 10px/1.5 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* first paint: the same dark stage the opening animation starts from, so there is no flash before it */
.boot { flex: 1; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: #060817; }
.boot span { display: block; width: 132px; height: 1px; background: rgb(255 255 255 / .18); overflow: hidden; position: relative; }
.boot span::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgb(255 255 255 / .7); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .boot span::after { animation: boot 1.3s cubic-bezier(.6, 0, .2, 1) infinite; }
  @keyframes boot { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
}

/* shared type */
.mono { font-family: var(--mono); }
.eyebrow { font: 400 10px/1.5 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1 { font-size: clamp(34px, 10vw, 54px); line-height: 1; font-weight: 700; letter-spacing: -.025em; text-transform: uppercase;
  color: var(--fg); margin: 0 0 16px; text-wrap: balance; }
.lede { color: rgb(var(--ink-rgb) / .7); margin: 0 0 28px; max-width: 32em; }
.fine { font: 400 10px/1.6 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }
.link { background: none; border: 0; padding: 15px 0; margin: -15px 0; min-width: 44px; font: 400 11px/1.5 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* banner + header */
.banner { background: #1a529f; color: #f6f5f2; text-align: center; font: 400 10px/1.5 var(--mono); letter-spacing: .25em;
  text-transform: uppercase; padding: calc(9px + env(safe-area-inset-top)) 16px 9px; }
.top { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; min-height: 28px; font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--fg); }
.logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }
.aud { margin-left: auto; font: 400 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: right; }
.testpill { display: inline-block; margin-left: 10px; font: 700 9px/1.5 Inter, sans-serif; letter-spacing: .1em; color: #fff;
  border: 1px solid rgb(255 255 255 / .4); background: rgb(255 255 255 / .12); border-radius: 5px; padding: 2px 7px; }
.again { margin: 0 0 22px; }
.round { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); display: grid; place-items: center; padding: 0; }
.round svg { width: 18px; height: 18px; }

.page { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 34px var(--pad) 56px; }
@media (prefers-reduced-motion: no-preference) {
  /* 'backwards' so nothing keeps a transform afterwards: a leftover transform would trap the fixed bottom bar */
  .page:not(.product) > *, .info > *:not(.bar) { animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; }
  .page:not(.product) > *:nth-child(2), .info > *:nth-child(2) { animation-delay: .04s; }
  .page:not(.product) > *:nth-child(3), .info > *:nth-child(3) { animation-delay: .08s; }
  .page:not(.product) > *:nth-child(n+4), .info > *:nth-child(n+4):not(.bar) { animation-delay: .12s; }
  .still .page > *, .still .info > * { animation: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* buttons + fields */
.btn { display: block; width: 100%; min-height: 56px; padding: 0 20px; border: 0; background: var(--fg); color: var(--surface);
  font: 700 11px/1 Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.btn:disabled { background: rgb(var(--ink-rgb) / .1); color: var(--muted); cursor: default; }
.btn.quiet { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.field input, .field select { width: 100%; height: 56px; padding: 0 16px; background: transparent; border: 1px solid rgb(var(--ink-rgb) / .2);
  font-size: 16px; color: var(--fg); appearance: none; -webkit-appearance: none; }
.field input:focus, .field select:focus { outline: none; border-color: var(--fg); }
.code input { height: 64px; font: 400 20px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.code input::placeholder { color: rgb(var(--ink-rgb) / .2); }
.error { color: var(--danger); font-size: 14px; margin: 0 0 14px; min-height: 21px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* opening screen: DEKE photos behind, animated reveal */
.intro { position: relative; isolation: isolate; overflow: hidden; flex: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: #060817; color: #f6f5f2; --t: .2s; }
.intro.first { --t: 2.55s; }
.intro .bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
.intro .slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity 1.8s ease; }
.intro .slide.on { opacity: 1; }
.intro .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.intro .veil { position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgb(6 8 23 / .6) 0%, rgb(6 8 23 / .12) 26%, rgb(6 8 23 / .4) 52%, rgb(6 8 23 / .9) 78%, rgb(6 8 23 / .97) 100%); }
.intro .top { border-bottom: 0; padding-top: calc(20px + env(safe-area-inset-top)); }
.intro .logo { color: #fff; }
.intro .logo img { filter: brightness(0) invert(1); }
.intro .aud { color: rgb(255 255 255 / .8); }
.intro .testpill { color: #fff; border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .12); }
.pitch { margin-top: auto; width: 100%; max-width: 640px; padding: 40px var(--pad) calc(30px + env(safe-area-inset-bottom)); }
.intro .eyebrow { color: #b9d0f5; margin-bottom: 16px; }
.intro h1 { color: #fff; font-size: clamp(46px, 14vw, 88px); line-height: .94; letter-spacing: -.035em; margin: 0 0 18px; }
.intro h1.long { font-size: clamp(34px, 10vw, 64px); line-height: .98; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.intro .lede { color: rgb(255 255 255 / .84); margin-bottom: 26px; }
.intro .fine { color: rgb(255 255 255 / .62); }
.btn.light { background: #f6f5f2; color: #15171f; display: flex; align-items: center; justify-content: center; gap: 16px; }
.btn.light:disabled { background: rgb(255 255 255 / .25); color: rgb(255 255 255 / .8); }
.arrow { position: relative; display: inline-block; width: 22px; height: 1px; background: currentColor; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.intro .field span { color: rgb(255 255 255 / .75); }
.intro .field input { color: #fff; border-color: rgb(255 255 255 / .45); background: rgb(6 8 23 / .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.intro .field input:focus { border-color: #fff; }
.intro .code input::placeholder { color: rgb(255 255 255 / .32); }
.intro .error { color: #ffb4ad; }
.intro :focus-visible { outline-color: #fff; }
.curtain { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .intro .slide img { transition: transform 9s ease-out; }
  .intro .slide.on img { transform: scale(1.13); }
  .intro .top { animation: fade .9s ease both; animation-delay: calc(var(--t) - .1s); }
  .intro .eyebrow, .intro .lede, .intro .pitch > form, .intro .pitch > .btn, .intro .fine { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .intro .eyebrow { animation-delay: var(--t); }
  .intro .w > span { animation: lift 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--t) + .12s + var(--i) * 85ms); }
  .intro .lede { animation-delay: calc(var(--t) + .6s); }
  .intro .pitch > form, .intro .pitch > .btn { animation-delay: calc(var(--t) + .75s); }
  .intro .fine { animation-delay: calc(var(--t) + .9s); }
  .curtain { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; display: grid; place-items: center; background: #060817;
    animation: curtain 1.05s cubic-bezier(.76, 0, .18, 1) 1.75s forwards; }
  .seal { display: flex; flex-direction: column; align-items: center; gap: 20px; animation: fade .5s ease 1.55s reverse both; }
  .seal .logo img { height: 32px; filter: brightness(0) invert(1); animation: seal 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .seal .logo { color: #fff; font-size: 32px; }
  .seal .rule { display: block; height: 1px; width: 132px; background: rgb(255 255 255 / .55); transform-origin: center; animation: rule .8s cubic-bezier(.6, 0, .2, 1) .65s both; }
  .seal .for { font: 400 10px/1.5 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: rgb(255 255 255 / .78); animation: fade .7s ease 1s both; }
  @keyframes curtain { to { transform: translateY(-100%); } }
  @keyframes seal { from { opacity: 0; transform: scale(.92); } }
  @keyframes rule { from { transform: scaleX(0); } }
  @keyframes lift { from { transform: translateY(112%); } }
  @keyframes fade { from { opacity: 0; } }
}

/* masthead: the front page's photo treatment, carried onto every other page */
.mast { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: min(64vh, 540px); color: #f6f5f2; }
.mast.short { min-height: min(50vh, 420px); }
.mast .bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: #060817; overflow: hidden; }
.mast .bg img { width: 100%; height: 100%; object-fit: cover; }
.mast .veil { position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgb(6 8 23 / .62) 0%, rgb(6 8 23 / .18) 30%, rgb(6 8 23 / .62) 66%, rgb(6 8 23 / .94) 90%, #060817 100%); }
.mast .top { border-bottom: 0; padding-top: calc(20px + env(safe-area-inset-top)); }
.mast .round { background: rgb(6 8 23 / .45); border-color: rgb(255 255 255 / .35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mast .head { margin-top: auto; width: 100%; max-width: 640px; padding: 36px var(--pad) 24px; }
.mast .eyebrow { color: #b9d0f5; }
.mast h1 { color: #fff; font-size: clamp(38px, 11.5vw, 68px); line-height: .96; letter-spacing: -.03em; }
.mast .lede { color: rgb(255 255 255 / .86); margin-bottom: 0; }
.mast .tick { color: #fff; margin-bottom: 20px; }
/* split: the whole photo on top, the title beneath it */
.mast.split { min-height: 0; }
.mast.split .bg { position: relative; z-index: 0; width: 100%; max-height: 62vh; }
.mast.split .veil { bottom: -1px; background: linear-gradient(180deg, rgb(6 8 23 / .7) 0%, rgb(6 8 23 / 0) 30%, rgb(6 8 23 / 0) 60%, rgb(6 8 23 / .8) 90%, #060817 100%); }
.mast.split .top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; }
.mast.split .head { position: relative; z-index: 1; margin-top: -44px; padding-top: 0; }
/* the photo's bottom edge can land on a half pixel and show as a faint line: cover the seam */
.mast.split .head::before { content: ""; position: absolute; left: 0; right: 0; top: 41px; height: 6px; background: #060817; z-index: -1; }
.mast + .page { padding-top: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .mast .bg img { animation: drift 14s ease-out both; }
  .mast .top { animation: fade .8s ease both; }
  .mast .head > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .mast .head > *:nth-child(2) { animation-delay: .08s; }
  .mast .head > *:nth-child(3) { animation-delay: .16s; }
  .mast .head > *:nth-child(n+4) { animation-delay: .24s; }
  .still .mast .bg img { animation: none; transform: scale(1.1); }
  .still .mast .top, .still .mast .head > * { animation: none; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
}
.sign { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font: 400 10px/1.7 var(--mono); letter-spacing: .22em;
  text-transform: uppercase; color: rgb(var(--ink-rgb) / .55); }
.thanks { font-size: 15px; color: rgb(var(--ink-rgb) / .8); margin: 0 0 22px; }
.field select { padding-right: 44px; background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
  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='%23ededed' stroke-width='1.5'/%3E%3C/svg%3E"); }
.field select option { color: #15171f; background: #fff; }

/* product knowledge: what it does and when to wear it (DEKE's own claims, condensed) */
.know { padding: 18px 0 0; }
.tagline { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; color: var(--fg); margin: 0 0 16px; text-wrap: balance; }
.tagline.lead { font-size: 17px; margin: -8px 0 26px; }
.klabel { font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.wear { font-size: 15px; line-height: 1.5; color: rgb(var(--ink-rgb) / .84); margin: 0 0 16px; }
.feats { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.feats li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; color: var(--fg); }
.feats i { flex: 0 0 auto; font: 400 11px/1 var(--mono); letter-spacing: .1em; color: var(--accent); font-style: normal; }
.kdetails { font: 400 10px/1.7 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.know.full .tagline { display: none; }
.story { margin: 0 0 22px; color: rgb(var(--ink-rgb) / .78); }
.choice { display: block; }
.pickme { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.styles { gap: 46px !important; }

/* style picker: full photo cards */
.styles { display: grid; gap: 22px; }
.style { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.style .photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.style .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.style .photo::after { content: ""; position: absolute; top: 42%; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgb(6 8 23 / 0), rgb(6 8 23 / .82)); }
.style .over { position: absolute; z-index: 1; left: 22px; right: 60px; bottom: 22px; }
.style .over .tag { display: block; font: 400 10px/1.5 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: #c6daf8; margin-bottom: 10px; }
.style .over b { display: block; font-weight: 700; font-size: clamp(23px, 7.4vw, 34px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; color: #fff; }
.style .over .sub { display: block; font: 400 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .82); margin-top: 10px; }
.style .photo .arrow { position: absolute; z-index: 1; right: 22px; bottom: 30px; width: 30px; color: #fff; }
.style .tiles { display: flex; align-items: center; gap: 6px; padding-top: 10px; }
.style .tiles img { width: 30px; height: 37px; object-fit: cover; border: 1px solid var(--line); background: var(--soft); }
.style .tiles .sub { margin-left: auto; font: 400 10px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.style.none .photo { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .style { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(.18s + var(--n) * .14s); }
  .style .photo img { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
  .style:hover .photo img, .style:active .photo img { transform: scale(1.045); }
  .style .photo .arrow { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .style:hover .photo .arrow { transform: translateX(6px); }
  .still .style { animation: none; }
}
.live { font: 400 10px/1.5 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 28px 0 0; }

/* product */
.product { max-width: none; padding: 0 0 150px; }
.hero { position: relative; background: var(--soft); width: 100%; max-width: 600px; margin: 0 auto; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 13 / 20; object-fit: cover; scroll-snap-align: center; }
.hero .round { position: absolute; top: 20px; left: 20px; }
.model { position: absolute; right: 20px; bottom: 20px; max-width: calc(100% - 40px); background: rgb(0 0 0 / .55); color: rgb(255 255 255 / .9);
  font: 400 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 15px; border-radius: 5px; }
.count { position: absolute; right: 20px; top: 26px; background: rgb(0 0 0 / .55); color: rgb(255 255 255 / .9);
  font: 400 11px/1.5 var(--mono); letter-spacing: .1em; padding: 7px 12px; border-radius: 5px; }
.info { padding: 30px var(--pad) 0; max-width: 600px; margin: 0 auto; }
.sku { font: 700 10px/1.5 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.info h1 { font-size: clamp(32px, 10vw, 44px); margin-bottom: 14px; }
.comp { font: 400 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price { font: 400 22px/1.6 var(--mono); color: var(--muted); margin: 6px 0 26px; text-transform: uppercase; }
.label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.label b { font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.label b span { font: 400 10px/1.5 var(--mono); letter-spacing: .2em; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.swatch { width: 60px; height: 70px; padding: 0; border: 1px solid var(--line); background: var(--soft); overflow: hidden; }
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 14px; }
.size { position: relative; aspect-ratio: 1; padding: 0; background: transparent; border: 1px solid rgb(var(--ink-rgb) / .12);
  font: 400 12px/1 var(--mono); color: rgb(var(--ink-rgb) / .7); }
.size[aria-pressed="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.size:disabled { color: rgb(var(--ink-rgb) / .25); cursor: default;
  background: linear-gradient(to top right, transparent calc(50% - .5px), rgb(var(--ink-rgb) / .14) calc(50% - .5px), rgb(var(--ink-rgb) / .14) calc(50% + .5px), transparent calc(50% + .5px)); }
.fit { font: 400 11px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--ink-rgb) / .65); margin: 0 0 6px; }
.hint { font: 400 11px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); min-height: 15px; margin: 0 0 28px; }
.about { border-top: 1px solid var(--line); padding: 24px 0 4px; margin: 0; color: rgb(var(--ink-rgb) / .75); }
.about p { margin: 0 0 20px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer;
  font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--ink-rgb) / .8); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 3px; }
details[open] summary::after { transform: rotate(-135deg); }
details dl { margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; font-size: 14px; }
details dt { font: 400 10px/2 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
details dd { margin: 0; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
.bar .what { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; max-width: 560px; margin: 0 auto 10px; }
.bar .what div { min-width: 0; }
.bar .what i { display: block; font: 400 10px/1.5 var(--mono); letter-spacing: .25em; text-transform: uppercase; color: var(--accent); font-style: normal; }
.bar .what b { display: block; font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .what span { font: 400 13px/1.4 var(--mono); text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.bar .btn { max-width: 560px; margin: 0 auto; min-height: 48px; }

/* size guide sheet */
.shade { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 20; background: rgb(0 0 0 / .5); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto; background: var(--surface); padding: 30px var(--pad) calc(30px + env(safe-area-inset-bottom)); }
.sheet header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sheet h2 { font: 700 16px/1.2 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0; }
.sheet h3 { font: 700 12px/1.4 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 22px 0 4px; }
.sheet p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.sheet .x { background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); width: 48px; height: 48px; margin: -12px -14px -12px 0; }
.waists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.waists div { border: 1px solid var(--line); padding: 10px 4px; text-align: center; font: 700 16px/1.3 var(--mono); color: var(--fg); }
.waists div.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.waists small { display: block; font: 400 12px/1.4 var(--mono); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .shade { animation: fade .2s both; } .sheet { animation: up .3s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes fade { from { opacity: 0; } } @keyframes up { from { transform: translateY(30px); opacity: 0; } }
}

/* details + done */
.summary { display: grid; grid-template-columns: 78px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); margin-bottom: 28px; }
.summary img { width: 78px; aspect-ratio: 13 / 20; object-fit: cover; background: var(--soft); }
.summary b { display: block; font-weight: 700; font-size: 13px; line-height: 1.25; text-transform: uppercase; color: var(--fg); }
.summary span { display: block; font: 400 10px/1.6 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.who { border: 1px solid var(--line); padding: 18px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.who i { display: block; font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-style: normal; margin-bottom: 6px; }
.who b { display: block; font-weight: 600; color: var(--fg); }
.who span { display: block; color: var(--muted); font-size: 14px; }

.tick { width: 72px; height: 72px; margin: 0 0 26px; color: var(--accent); }
.tick circle, .tick path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .tick circle { stroke-dasharray: 208; stroke-dashoffset: 208; animation: draw .7s .15s cubic-bezier(.6, 0, .3, 1) forwards; }
  .tick path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: draw .4s .75s cubic-bezier(.6, 0, .3, 1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.receipt { border: 1px solid var(--line); margin: 6px 0 26px; }
.receipt .summary { border: 0; border-bottom: 1px solid var(--line); margin: 0; }
.receipt .line { display: flex; justify-content: space-between; gap: 18px; padding: 14px; border-bottom: 1px solid var(--line); }
.receipt .line:last-child { border-bottom: 0; }
.receipt .line span { font: 400 10px/2 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.receipt .line b { font-weight: 600; font-size: 14px; color: var(--fg); text-align: right; }
.testflag { display: inline-block; font: 700 10px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #dbe7fb;
  border: 1px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .1); border-radius: 5px; padding: 3px 10px; margin-bottom: 18px; }

/* a phone turned sideways: keep the photo and the bottom bar from eating the whole screen */
@media (orientation: landscape) and (max-height: 520px) {
  .gallery img { aspect-ratio: auto; height: 86vh; }
  .bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .bar .what { display: none; }
  .pitch { padding-top: 20px; }
  .intro h1 { font-size: clamp(34px, 7vw, 56px); }
}
.swap { margin: -8px 0 26px; }

@media (min-width: 900px) {
  .mast .head { padding-left: 64px; }
  .mast .top { padding-left: 64px; padding-right: 64px; }
  .page.wide { max-width: 1120px; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 900px; }
  .pitch { padding-left: 64px; padding-bottom: 64px; }
  .intro .top { padding-left: 64px; padding-right: 64px; }
  .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; max-width: 1120px; padding: 40px 30px 80px; align-items: start; }
  .hero { position: sticky; top: 20px; max-width: none; margin: 0; }
  .info { padding: 0; margin: 0; max-width: none; }
  .bar { position: static; border: 0; padding: 26px 0 0; background: none; }
  .bar .what { display: none; }
  .bar .btn { max-width: none; min-height: 56px; }
  .shade { align-items: center; }
}
