/* Mini Cleat — minicleat.com
   Shop-drawing sheet: warm paper, navy ink, one orange. */

:root {
  --paper: #F1EEE6;
  --paper-2: #E7E3D8;
  --ink: #0A2140;
  --navy: #0C2D57;
  --navy-deep: #081C38;
  --orange: #F26B1F;
  --rust: #A8400A;            /* orange that passes contrast as text on paper */
  --graphite: #4B5663;
  --rule: rgba(12, 45, 87, .26);
  --rule-soft: rgba(12, 45, 87, .13);
  --key: polygon(26% 0, 74% 0, 100% 37%, 100% 100%, 0 100%, 0 37%);   /* the keystone outline */
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --top-h: 60px;
  --gutter: clamp(20px, 4.4vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  background-color: var(--paper);
  /* a little tooth, like a painted shop wall */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .13 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.shop :focus-visible, .foot :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font: 500 .9rem var(--mono);
}
.skip:focus { top: 10px; }

/* ---------------------------------------------------------------- type */
h1, h2, .part__big {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .005em; line-height: .9;
}
h1 { font-size: clamp(3.1rem, 6.6vw, 7.4rem); }
h1 em {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(var(--orange), var(--orange)) 0 86% / 100% .16em no-repeat;
}
h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { font: 600 1.18rem/1.25 var(--text); letter-spacing: -.005em; }
.panel--hero h1 { margin-top: .3em; }
@media (max-width: 520px) { h2 { font-size: 2.3rem; } }

.eyebrow, .kicker, .sheet__no, .part__sku, .part__spec, .fig__no, .tag, .steps, .titleblock, .scrollcue, .foot__block, .bench__list {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em;
}
.eyebrow { font-size: .74rem; font-weight: 500; color: var(--graphite); }
.eyebrow span { color: var(--rust); padding: 0 .35em; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 48px; padding: 0 1.35em;
  font: 700 1.2rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--orange); border: 2px solid var(--ink); border-radius: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 38px; font-size: 1rem; padding: 0 1em; clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%, 0 7px); }
.btn--line { background: transparent; clip-path: none; }
.btn--light { border-color: var(--orange); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn[hidden] { display: none; }

/* ---------------------------------------------------------------- top bar */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--top-h);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: 0 var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.top__logo { margin-right: auto; flex: none; }
.top__logo img { height: 38px; width: auto; }
.top__nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font: 500 .8rem var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.top__nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top__nav a:hover { border-bottom-color: var(--orange); }
@media (max-width: 720px) { .top__nav { display: none; } }

/* ---------------------------------------------------------------- story: static sheet (default: reduced motion, no WebGL, no JS) */
.story { padding-top: var(--top-h); }
.stage { position: relative; }
.stage__frame, .steps, .titleblock, .scrollcue { display: none; }
.stage__view { position: relative; margin: 0 auto; max-width: 1500px; padding: clamp(8px, 2vw, 28px) var(--gutter) 0; }
.stage__poster { width: 100%; }
#scene, .stage__dims { display: none; }
.panels { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 64px) clamp(16px, 2.4vw, 40px); padding: clamp(20px, 4vw, 56px) var(--gutter) clamp(48px, 8vw, 110px); max-width: 1500px; margin: 0 auto; }
.panel { grid-column: span 4; }
.panel--hero { grid-column: 1 / -1; max-width: 62rem; }
.panel[data-panel="extend"] { grid-column: 1 / -1; display: none; }
.panel h2 { font-size: clamp(2.1rem, 3.3vw, 3.2rem); margin: .35em 0 .3em; }
.panel p { max-width: 34rem; }
.panel__still { width: 100%; margin-bottom: 18px; border: 1px solid var(--rule); background: var(--paper); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.25rem); margin-top: 1.1em; max-width: 33rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.kicker { display: flex; align-items: center; gap: .8em; font-size: .82rem; font-weight: 600; }
.kicker b {
  display: grid; place-items: center; width: 2.9em; height: 2.2em; padding-top: .15em;
  background: var(--navy); color: var(--paper); font-weight: 600; clip-path: var(--key);
}
@media (max-width: 860px) { .panel { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- story: scrubbed 3D (html.anim) */
.anim .story { height: 660vh; padding-top: 0; }
.anim .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.anim .stage__view { position: absolute; inset: 0; max-width: none; padding: 0; }
.anim #scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s; }
.anim .is-live #scene { opacity: 1; }
.anim .stage__dims { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.anim .stage__poster {
  position: absolute; object-fit: contain; object-position: center;
  /* same box the 3D camera frames into; see stageRect() in scene.js */
  left: 39%; top: calc(var(--top-h) + 3%); width: 59.5%; height: calc(94% - var(--top-h) - 30px);
  transition: opacity .3s; mix-blend-mode: multiply; transform: scale(1.064);
}
.anim .is-live .stage__poster { opacity: 0; }

.anim .stage__frame { display: block; position: absolute; inset: calc(var(--top-h) + 14px) 14px 14px; border: 1px solid var(--rule); pointer-events: none; }
.reg { position: absolute; width: 17px; height: 17px; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--ink); }
.reg::before { left: 8px; top: 0; width: 1px; height: 17px; }
.reg::after { top: 8px; left: 0; height: 1px; width: 17px; }
.reg--tl { left: -9px; top: -9px; } .reg--tr { right: -9px; top: -9px; }
.reg--bl { left: -9px; bottom: -9px; } .reg--br { right: -9px; bottom: -9px; }

.anim .panels { display: block; position: absolute; padding: 0; margin: 0; max-width: none;
  left: calc(var(--gutter) + 14px); top: var(--top-h); bottom: 92px; width: min(35rem, 37vw); pointer-events: none; }
.anim .panel {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%) translateY(14px);
  opacity: 0; visibility: hidden; transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .35s;
}
.anim .panel.is-active { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: .08s, .08s, 0s; pointer-events: auto; }
.anim .panel[data-panel="extend"] { display: block; }
.anim .panel__still { display: none; }
.anim .panel h2 { font-size: clamp(2.6rem, 4.6vw, 5rem); margin: .3em 0 .28em; }
.anim .panel p:not(.kicker):not(.eyebrow) { font-size: clamp(1rem, 1.2vw, 1.2rem); max-width: 30rem; }
.anim .panel--hero h1 { margin-top: .32em; }
.anim .scrollcue { display: block; margin-top: 1.6em; font-size: .72rem; color: var(--graphite); }
.anim .scrollcue span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.anim .steps {
  display: flex; gap: 0; list-style: none; position: absolute; left: calc(var(--gutter) + 14px); bottom: 38px;
  font-size: .72rem; font-weight: 500; color: var(--graphite); transition: opacity .3s;
}
.steps li { display: flex; align-items: center; gap: .6em; padding: 8px 1.4em 8px 0; margin-right: 1.4em; border-bottom: 2px solid var(--rule); }
.steps li:last-child { margin-right: 0; }
.steps i { width: 15px; height: 11px; background: var(--graphite); clip-path: var(--key); position: relative; }
.steps i::after { content: ""; position: absolute; inset: 1.5px; background: var(--paper); clip-path: var(--key); }
.steps li.is-done i::after { background: var(--graphite); }
.steps li.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.steps li.is-on i { background: var(--orange); transform: scale(1.25); }
.steps li.is-on i::after { background: var(--orange); }
.steps.is-idle { opacity: 0; }

.anim .titleblock {
  display: grid; grid-template-columns: repeat(4, auto); position: absolute; right: 14px; bottom: 14px;
  border: 1px solid var(--rule); border-width: 1px 0 0 1px; font-size: .62rem; background: var(--paper);
}
.titleblock div { padding: 6px 12px 7px; border-right: 1px solid var(--rule); }
.titleblock dt { color: var(--graphite); font-size: .56rem; }
.titleblock dd { font-weight: 500; }

/* projected dimension overlay */
.stage__dims line, .stage__dims path { fill: none; stroke: var(--rust); stroke-width: 1.25; }
.stage__dims .pencil { stroke: #6f7780; stroke-width: 1.1; }
.stage__dims .ah { fill: var(--rust); stroke: none; }
.stage__dims text { font: 600 15px var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.stage__dims text.sm { font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* phone: stage on top, words below */
@media (max-width: 860px) {
  .anim .stage__poster { left: 3%; width: 94%; top: calc(var(--top-h) + 34px); height: calc(50% - var(--top-h) - 34px); }
  .anim .stage__frame { inset: calc(var(--top-h) + 8px) 8px 8px; }
  .anim .panels { left: 22px; right: 22px; width: auto; top: 50%; bottom: 18px; }
  .anim .panel { top: 0; transform: translateY(12px); }
  .anim .panel.is-active { transform: none; }
  .anim .panel h2 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .anim h1 { font-size: clamp(2.5rem, 11.6vw, 4rem); }
  .anim .lede { font-size: 1rem; line-height: 1.45; margin-top: .8em; }
  .anim .actions { margin-top: 1em; }
  .anim .scrollcue, .anim .titleblock { display: none; }
  .anim .steps { left: 22px; right: 22px; bottom: auto; top: calc(var(--top-h) + 14px); font-size: .62rem; justify-content: space-between; }
  .steps li { margin-right: 0; padding: 5px 0; flex: 1; border-bottom-width: 2px; }
  .anim .eyebrow { font-size: .62rem; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .anim .lede { display: none; }
}

/* capture mode for stills (tools/shoot.sh) */
.still #scene { transition: none; opacity: 1; }
.still .stage__poster { display: none; }
.still .top, .still .panels, .still .steps, .still .titleblock, .still .stage__frame, .still .skip { display: none !important; }

/* ---------------------------------------------------------------- sheets */
.sheet { padding: clamp(64px, 10vw, 150px) var(--gutter) clamp(56px, 8vw, 120px); border-top: 1px solid var(--rule); max-width: 1640px; margin: 0 auto; }
.sheet__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 40px); align-items: end; margin-bottom: clamp(36px, 5vw, 76px); }
.sheet__no { grid-column: 1 / -1; font-size: .74rem; font-weight: 600; display: flex; align-items: center; gap: 1em; margin-bottom: 1.6em; }
.sheet__no::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.sheet__no span { color: var(--graphite); font-weight: 400; }
.sheet__head h2 { grid-column: 1 / span 7; }
.sheet__intro { grid-column: 8 / -1; max-width: 31rem; padding-bottom: .35em; }
@media (max-width: 900px) { .sheet__head h2, .sheet__intro { grid-column: 1 / -1; } .sheet__intro { margin-top: 1.2em; } }

/* line-up: a 4-up grid where one column is 100 mm of rail */
.parts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); }
.part { position: relative; display: flex; flex-direction: column; padding: 18px 20px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
.part--2 { grid-column: span 2; }
.part figure { display: flex; gap: 10px; align-items: center; justify-content: center; height: clamp(120px, 13vw, 200px); margin-bottom: 16px; isolation: isolate; position: relative; background: #fff; mix-blend-mode: multiply; }
.part figure img { max-height: 100%; width: auto; min-width: 0; object-fit: contain; flex: 0 1 auto; filter: contrast(1.25) brightness(1.04); }
.part figure::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: screen; pointer-events: none; }
.part--pair figure img { max-width: 48%; }
.part__sku { font-size: .78rem; font-weight: 600; color: var(--rust); }
.part__sku span, .part__spec span { color: var(--graphite); font-weight: 400; padding: 0 .15em; }
.part h3 { margin: .2em 0 .25em; }
.part__spec { font-size: .72rem; color: var(--graphite); letter-spacing: .05em; margin-bottom: 14px; }
.part .tag { margin-top: auto; align-self: flex-start; }
.part--note { background: var(--navy); color: var(--paper); justify-content: space-between; }
.part--note .part__sku { color: var(--orange); }
.part--note .part__spec { color: #C9D3E0; text-transform: none; letter-spacing: 0; font: 400 .95rem/1.45 var(--text); margin: 0; }
.part__big { font-size: clamp(4.6rem, 9vw, 9rem); line-height: .8; margin: .12em 0; }
.part__big small { font-size: .28em; letter-spacing: .04em; margin-left: .15em; }
@media (max-width: 980px) { .parts { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; } .part figure { height: clamp(110px, 24vw, 190px); } }
@media (max-width: 520px) { .part { padding: 14px 14px 18px; } .part h3 { font-size: 1.02rem; } }

.tag { display: inline-flex; align-items: center; gap: .6em; font-size: .68rem; font-weight: 600; padding: .42em .8em .4em .65em; white-space: nowrap; }
.tag::before { content: ""; width: 13px; height: 10px; clip-path: var(--key); background: currentColor; flex: none; }
.tag--out { background: var(--navy); color: var(--paper); }
.tag--out::before { background: var(--orange); }
.tag--dev { border: 1.5px dashed var(--ink); color: var(--ink); background: transparent; }
.tag--dev::before { background: transparent; box-shadow: none; outline: 0; width: 9px; height: 9px; clip-path: none; border: 1.5px solid currentColor; border-radius: 50%; }

.bench { margin-top: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 40px); }
.bench h3 { grid-column: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font: 900 clamp(1.7rem, 2.5vw, 2.5rem)/.95 var(--display); text-transform: uppercase; }
.bench__list { grid-column: 4 / -1; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); border-top: 1.5px dashed var(--ink); border-left: 1px dashed var(--rule); font-size: .72rem; font-weight: 500; }
.bench__list li { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 124px; padding: 12px 14px 13px; border-right: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule); }
.bench__list img { height: 62px; width: 100%; object-fit: contain; object-position: left center; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2); opacity: .8; margin-bottom: auto; }
.bench__list li:not(:has(img))::before { content: ""; display: block; height: 62px; margin-bottom: auto; background: no-repeat left center / auto 46px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46'%3E%3Cpath d='M2 44V18L18 2h24l16 16v26' fill='none' stroke='%230C2D57' stroke-opacity='.45' stroke-width='2' stroke-dasharray='4 3'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .bench__list li:not(:has(img))::before { height: 48px; background-size: auto 36px; } }
@media (max-width: 900px) { .bench h3, .bench__list { grid-column: 1 / -1; } .bench h3 { margin-bottom: 22px; } .bench__list { grid-template-columns: repeat(2, 1fr); } .bench__list li { min-height: 0; } .bench__list img { height: 48px; } }

/* ---------------------------------------------------------------- details: drawings */
.figs { display: grid; gap: clamp(48px, 7vw, 110px); }
.fig { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.fig__dwg { grid-column: 1 / span 8; border: 1px solid var(--rule); background: rgba(255, 255, 255, .28); overflow-x: auto; }
.fig figcaption { grid-column: 9 / -1; }
.fig--section .fig__dwg { grid-column: 5 / -1; order: 2; }
.fig--section figcaption { grid-column: 1 / span 4; }
.fig__no { font-size: .72rem; font-weight: 600; color: var(--rust); margin-bottom: 1em; }
.fig__no span { color: var(--graphite); font-weight: 400; margin-left: .6em; }
.fig h3 { font: 900 clamp(2rem, 3vw, 3.1rem)/.95 var(--display); text-transform: uppercase; margin-bottom: .45em; }
@media (max-width: 900px) {
  .fig__dwg, .fig figcaption, .fig--section .fig__dwg, .fig--section figcaption { grid-column: 1 / -1; order: 0; }
  .fig figcaption { margin-top: 20px; }
  .dwg { min-width: 600px; }
  .fig__no::after { content: "Drag the drawing to pan"; display: block; margin-top: .5em; color: var(--graphite); font-weight: 400; }
}

.dwg { width: 100%; height: auto; font-family: var(--mono); }
.dwg .o { fill: none; stroke: var(--ink); stroke-width: .5; stroke-linejoin: round; }
.dwg .o--paper { fill: var(--paper); }
.dwg .o--key { fill: rgba(242, 107, 31, .22); }
.dwg .o--hid { stroke-width: .2; stroke-dasharray: 1.2 .8; }
.dwg .o--thin { stroke-width: .25; }
.dwg .o--wallline { stroke-width: .8; }
.dwg .cut { stroke-width: .55; }
.dwg .hl { stroke: var(--ink); stroke-width: .28; }
.dwg .hl--b { stroke: var(--rust); stroke-width: .34; }
.dwg .hl--w { stroke: var(--graphite); stroke-width: .22; }
.dwg .wall { stroke: none; }
.dwg .cl { stroke: var(--graphite); stroke-width: .18; stroke-dasharray: .09 .012 .012 .012; }
.dwg .dim, .dwg .ext { fill: none; stroke: var(--rust); stroke-width: .24; }
.dwg .ah { fill: var(--rust); }
.dwg .t { font-size: 3.1px; fill: var(--ink); letter-spacing: .02em; }
.dwg .t--sm { font-size: 2.7px; fill: var(--graphite); }
.dwg .t--dim { font-size: 4.2px; font-weight: 600; }
.dwg .hero .t--dim { font-size: 7.5px; font-weight: 600; }
.dwg .lens { fill: none; stroke: var(--ink); stroke-width: .3; }
.dwg .lens--big { stroke-width: .5; }
.dwg .lensbg { fill: var(--paper); }
.dwg .lensline { stroke: var(--ink); stroke-width: .2; stroke-dasharray: .03 .02; }
.dwg .mag .o { stroke-width: .07; }
.dwg .mag .cut { fill: rgba(12, 45, 87, .16) !important; }
.dwg .mag .cut--b { fill: rgba(242, 107, 31, .3) !important; }

/* dimension lines draw themselves in when the figure scrolls into view */
.anim .dwg .dim, .anim .dwg .ext { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.3,.7,.2,1); }
.anim .dwg .ah, .anim .dwg .dimg .t { opacity: 0; transition: opacity .3s .75s; }
.anim .is-in .dwg .dim, .anim .is-in .dwg .ext { stroke-dashoffset: 0; }
.anim .is-in .dwg .ah, .anim .is-in .dwg .dimg .t { opacity: 1; }
.anim .dwg .dimg:nth-of-type(2) .dim, .anim .dwg .dimg:nth-of-type(2) .ext { transition-delay: .15s; }
.anim .dwg .dimg:nth-of-type(n+3) .dim { transition-delay: .3s; }

.notes { margin-top: clamp(48px, 7vw, 110px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 40px); border-top: 2px solid var(--ink); padding-top: 22px; }
.notes h3 { grid-column: 1 / span 3; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.notes ol { grid-column: 4 / -1; list-style: none; counter-reset: n; columns: 2; column-gap: clamp(24px, 4vw, 64px); }
.notes li { counter-increment: n; position: relative; padding: 0 0 18px 2.6em; break-inside: avoid; max-width: 34rem; }
.notes li::before { content: counter(n) "."; position: absolute; left: 0; top: .1em; font: 600 .82rem var(--mono); color: var(--rust); }
@media (max-width: 900px) { .notes h3, .notes ol { grid-column: 1 / -1; } .notes ol { columns: 1; margin-top: 18px; } }

/* ---------------------------------------------------------------- shop */
.shop { position: relative; overflow: hidden; background: var(--navy); color: var(--paper); padding: clamp(72px, 11vw, 170px) var(--gutter); }
.shop__text { position: relative; max-width: 40rem; }
.shop .sheet__no::after { background: rgba(241, 238, 230, .3); }
.shop .sheet__no span { color: #C9D3E0; }
.shop h2 { font-size: clamp(3.4rem, 9vw, 9.5rem); margin-bottom: .22em; }
.shop p:not(.sheet__no) { font-size: clamp(1.05rem, 1.3vw, 1.3rem); max-width: 31rem; margin-bottom: 1.8em; color: #E3E6EA; }
.shop__key { position: absolute; right: var(--gutter); bottom: 0; width: min(44vw, 660px); max-width: none; overflow: visible; }
.shop__key path { fill: var(--navy-deep); }
.shop__key .k { fill: var(--orange); }
.anim .shop__key path:first-child { transform: translateY(-46%); transition: transform .9s cubic-bezier(.5, 0, .3, 1.22); }
.anim .shop.is-in .shop__key path:first-child { transform: none; }
@media (max-width: 760px) { .shop { padding-bottom: 46vw; } .shop__key { width: 52vw; right: 22px; } }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--navy-deep); color: #C9D3E0; padding: 44px var(--gutter) 34px; display: grid; grid-template-columns: auto 1fr; gap: 28px clamp(24px, 6vw, 96px); align-items: center; }
.foot img { height: 44px; width: auto; }
.foot__block { display: grid; grid-template-columns: repeat(4, auto); justify-self: end; font-size: .68rem; border: 1px solid rgba(241, 238, 230, .25); border-width: 1px 0 1px 1px; }
.foot__block div { padding: 9px 16px 10px; border-right: 1px solid rgba(241, 238, 230, .25); }
.foot__block dt { font-size: .58rem; color: #93A3B8; }
.foot__block dd { color: var(--paper); font-weight: 500; }
.foot__copy { grid-column: 1 / -1; font: 400 .8rem var(--mono); color: #93A3B8; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot__block { justify-self: stretch; grid-template-columns: repeat(2, 1fr); justify-content: stretch; border-width: 1px 0 0 1px; } .foot__block div { border-bottom: 1px solid rgba(241, 238, 230, .25); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
