/* Redstart Collective: the operator's build sheet. Token layer + section styles.
   Mirrors app/src/site.css in the Higgsfield project. */
:root {
  --ink: #18222c; --ink-raised: #1f2b37; --ink-deep: #111920;
  --cream: #f2ede3; --cream-dim: #d8d2c6;
  --slate: #a9b3bf; --slate-dim: #6f7a87;
  --red: #d9512c; --red-deep: #b8401f;
  --hair: rgba(169, 179, 191, 0.22); --hair-strong: rgba(169, 179, 191, 0.45);
  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 64px); --max: 1320px; --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
::selection { background: var(--red); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink-deep); padding: 10px 14px; font-family: var(--font-mono); font-size: 0.85rem; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.h2 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--cream); }

/* Wordmark: the user's own identity, re-set in type */
.wm { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 0.45em; align-items: start; font-size: var(--wm-size, 18px); line-height: 1; color: var(--cream); }
.wm-slash { grid-row: 1 / span 2; width: 0.42em; height: 1.9em; background: var(--red); transform: skewX(-18deg); margin-top: 0.05em; }
.wm-name { font-weight: 900; font-size: 1.25em; letter-spacing: 0.04em; text-transform: uppercase; }
.wm-sub { font-weight: 500; font-size: 0.56em; letter-spacing: 0.5em; text-transform: uppercase; color: var(--slate); margin-top: 0.35em; padding-left: 0.08em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(24, 34, 44, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--slate); padding: 6px 0; background: linear-gradient(var(--cream), var(--cream)) left bottom / 0 1px no-repeat; transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav-link:hover, .nav-link:focus-visible { color: var(--cream); background-size: 100% 1px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* CTA garment 1: stamp / press tag (nav) */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-deep); background: var(--red); padding: 10px 14px; position: relative; transition: transform 0.12s ease, background-color 0.2s ease, color 0.2s ease; transform-origin: 70% 70%; white-space: nowrap; }
.tag::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,0) 0 6px, rgba(17,25,32,0.12) 6px 7px); opacity: 0; transition: opacity 0.2s ease; }
.tag:hover::after { opacity: 1; }
.tag:hover { background: var(--red-deep); color: var(--cream); }
.tag:active { transform: skewX(-6deg) translate(1px, 1px); }

/* Hero: B2 grade-shift pair, the cursor is a work light */
.hero { padding: 16px; }
.hero-frame { position: relative; min-height: 560px; overflow: hidden; background: var(--ink-deep); --lx: 62%; --ly: 52%; --lr: 240px; }
@media (min-width: 900px) { .hero-frame { min-height: calc(100dvh - var(--nav-h) - 32px); } }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-lit { -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, #000 calc(var(--lr) * 0.45), transparent var(--lr)); mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, #000 calc(var(--lr) * 0.45), transparent var(--lr)); }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17,25,32,0.1) 40%, rgba(17,25,32,0.72) 100%), linear-gradient(90deg, rgba(17,25,32,0.55) 0%, rgba(17,25,32,0) 55%); }
.hero-text { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(24px, 5vh, 56px); max-width: 760px; }
.hero-h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--cream-dim); max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; margin-top: 32px; }

/* CTA garment 2: slash-seam link (hero primary) */
.slashlink { position: relative; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; color: var(--cream); padding-bottom: 6px; }
.slashlink-mark { display: inline-block; width: 7px; height: 20px; background: var(--red); transform: skewX(-18deg); flex: none; }
.slashlink-arrow { display: inline-block; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.slashlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: skewX(-18deg) scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.slashlink:hover::after, .slashlink:focus-visible::after { transform: skewX(-18deg) scaleX(1); }
.slashlink:hover .slashlink-arrow { transform: translateX(8px); }

/* CTA garment 3: viewfinder brackets (hero secondary) */
.vf { -webkit-appearance: none; appearance: none; position: relative; display: inline-block; padding: 10px 18px; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--cream); background: none; border: 0; cursor: pointer; }
.vf-c { position: absolute; width: 10px; height: 10px; border: 1px solid var(--red); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.vf-c.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; transform: translate(-6px, -6px); }
.vf-c.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; transform: translate(6px, -6px); }
.vf-c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; transform: translate(-6px, 6px); }
.vf-c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; transform: translate(6px, 6px); }
.vf:hover .vf-c, .vf:focus-visible .vf-c { transform: translate(0, 0); }

/* Thesis */
.thesis { background: var(--ink-raised); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: clamp(72px, 10vw, 140px) 0; text-align: center; }
.thesis .eyebrow { display: block; margin-bottom: clamp(40px, 6vw, 80px); }
.thesis-h { font-size: clamp(2.2rem, 6.2vw, 6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 0.98; text-transform: uppercase; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.thesis-p { margin: 40px auto 0; max-width: 64ch; color: var(--slate); font-size: 1.05rem; }
.thesis-slash { display: block; width: 10px; height: 44px; background: var(--red); transform: skewX(-18deg); margin: 48px auto 0; }

/* Principles: hover-accordion slices */
.principles { padding: clamp(72px, 10vw, 140px) 0; }
.principles-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 14ch; }
.sheet { border: 1px solid var(--hair-strong); }
.row { border-top: 1px solid var(--hair); position: relative; }
.row:first-child { border-top: 0; }
.row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 26px 28px; position: relative; }
.row > summary::-webkit-details-marker { display: none; }
.row-num { font-family: var(--font-mono); font-size: 1rem; color: var(--slate-dim); transition: color 0.2s; }
.row-title { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 16px; }
.row-icon { width: 30px; height: 30px; opacity: 0.85; }
.row-toggle { font-family: var(--font-mono); color: var(--slate-dim); font-size: 1.1rem; transition: transform 0.3s ease; }
.row[open] > summary .row-num { color: var(--red); }
.row[open] > summary .row-toggle { transform: rotate(45deg); }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--red), transparent); opacity: 0.35; transition: width 0.3s ease; }
.row[open]::before { width: 56px; }
.row[open]::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.row-body { padding: 0 28px 30px 120px; color: var(--slate); max-width: 78ch; line-height: 1.65; }
.row > summary:hover .row-num { color: var(--cream); }
@media (max-width: 700px) { .row > summary { grid-template-columns: 44px 1fr auto; padding: 20px 18px; } .row-body { padding-left: 18px; padding-right: 18px; } .row-icon { display: none; } }

/* Stages: poster-stacked storytelling */
.stages { background: var(--ink-deep); padding: clamp(72px, 10vw, 140px) 0; }
.stages-frame { border: 1px solid var(--hair-strong); padding: clamp(24px, 4vw, 48px); }
.stages-head { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); margin-bottom: clamp(32px, 4vw, 56px); }
.mark-3i { height: clamp(64px, 8vw, 112px); width: auto; flex: none; }
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--hair); background: var(--ink-deep); position: relative; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.band + .band { margin-top: -1px; }
.band.flip .band-media { order: 2; }
.band.offset { transform: translateX(clamp(8px, 1.5vw, 24px)); }
.band.offset-neg { transform: translateX(clamp(-24px, -1.5vw, -8px)); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.band:hover::after, .band:focus-within::after { transform: scaleX(1); }
.band-media { position: relative; }
.band-media::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--hair-strong); transform: translate(-12px, 12px); pointer-events: none; }
.band-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: relative; }
.band-word { font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; white-space: nowrap; }
/* The 3i mark's italic i stands in for the capital I (the real "I" stays for screen readers and copy).
   Stroke widened to Outfit ExtraBold's stem (0.174em) so it matches the rest of the word. */
.i-glyph { display: inline-block; height: 0.71em; width: 0.3375em; margin-right: 0.01em; fill: var(--red); vertical-align: baseline; overflow: visible; }
.band-text { margin-top: 18px; color: var(--slate); max-width: 52ch; }
.stages-note { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 40px 1fr; gap: 20px; align-items: start; color: var(--slate); max-width: 78ch; padding-top: 24px; border-top: 1px solid var(--hair); }
.stages-note img { width: 32px; height: 32px; opacity: 0.85; margin-top: 2px; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } .band.flip .band-media { order: 0; } .band.offset, .band.offset-neg { transform: none; } }

/* Record: oversized metrics strip, the one material switch on the page */
.record { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.record-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.record-plate-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 34, 44, 0.35) 0%, rgba(24, 34, 44, 0.55) 45%, rgba(17, 25, 32, 0.9) 100%); }
.record-in { position: relative; }
.metrics { background: var(--cream); color: var(--ink-deep); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink-deep); }
.metric { padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 32px); text-align: center; }
.metric + .metric { border-left: 1px solid var(--ink-deep); }
.metric-n { font-size: clamp(2.6rem, 6.4vw, 6.5rem); white-space: nowrap; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }
.metric-c { margin-top: 16px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5; color: #3a4654; max-width: 26ch; margin-inline: auto; }
.capital { margin: clamp(56px, 8vw, 110px) auto 0; max-width: 68ch; padding: clamp(24px, 3vw, 44px); background: rgba(17, 25, 32, 0.88); border-left: 3px solid var(--red); }
.capital h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--slate); }
.capital p { margin-top: 18px; color: var(--cream); line-height: 1.7; }
@media (max-width: 720px) { .metrics { grid-template-columns: 1fr; } .metric + .metric { border-left: 0; border-top: 1px solid var(--ink-deep); } }

/* How we work: definition sheet */
.how { background: var(--ink-raised); padding: clamp(72px, 10vw, 140px) 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr 200px; gap: clamp(32px, 4vw, 64px); }
.how-head { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 20px; }
.how-slash { width: 18px; height: 72px; background: var(--red); transform: skewX(-18deg); flex: none; margin-top: 4px; }
.how-head p { margin-top: 18px; color: var(--slate); max-width: 60ch; }
.defs h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; padding-bottom: 16px; border-bottom: 1px solid var(--hair-strong); }
.defs > p { margin-top: 14px; color: var(--slate); font-size: 0.95rem; }
.def { display: grid; grid-template-columns: minmax(120px, 0.42fr) 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.def dt { font-family: var(--font-mono); font-size: 0.95rem; color: var(--cream); }
.def dd { margin: 0; color: var(--slate); line-height: 1.6; }
.how-plate img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 1240px) { .def { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 1000px) { .how-grid { grid-template-columns: 1fr 1fr; } .how-plate { display: none; } }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }

/* Ways to work: gapless bento with the recurring slash behind it */
.ways { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0; }
.ways-slash { position: absolute; left: -2vw; top: 6%; width: clamp(60px, 7vw, 110px); height: 86%; background: var(--red); transform: skewX(-18deg); opacity: 0.9; pointer-events: none; }
.ways-in { position: relative; }
.ways-in > .h2 { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; border: 1px solid var(--hair-strong); background: var(--ink); }
.cell { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--hair); margin: -1px 0 0 -1px; }
.cell-open { grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.cell h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.cell-open h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 700; }
.cell p { margin-top: 16px; color: var(--slate); line-height: 1.6; }
.cell ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--slate); }
.cell li { padding: 8px 0 8px 18px; position: relative; border-top: 1px solid var(--hair); }
.cell li:first-child { border-top: 0; }
.cell li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; background: var(--red); transform: skewX(-18deg); }
.cell li strong { color: var(--cream); font-weight: 600; }
.cell .fine { margin-top: 22px; font-size: 0.9rem; color: var(--slate-dim); }
.cell .fine strong { color: var(--cream-dim); font-weight: 600; }

/* CTA garment 4: session ticket (perforated, tears on hover) */
.ticket { display: flex; flex-direction: column; width: 128px; color: var(--ink-deep); align-self: center; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)); }
.ticket-top { background: var(--cream); height: 250px; display: flex; align-items: center; justify-content: center; }
.ticket-top span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; white-space: nowrap; }
.ticket-perf { height: 14px; position: relative; background: radial-gradient(circle at 0 50%, var(--ink) 9px, transparent 9.5px), radial-gradient(circle at 100% 50%, var(--ink) 9px, transparent 9.5px), var(--cream); }
.ticket-perf::after { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; border-top: 2px dotted var(--ink); }
.ticket-stub { background: var(--cream); padding: 18px 16px 22px; font-weight: 600; font-size: 1rem; line-height: 1.15; transform-origin: 20% 0; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ticket-stub small { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; color: #3a4654; }
.ticket:hover .ticket-stub, .ticket:focus-visible .ticket-stub { transform: rotate(-5deg) translate(4px, 10px); }
@media (max-width: 1240px) { .bento { grid-template-columns: 1fr 1fr; } .cell-open { grid-column: 1 / -1; grid-row: auto; } .cell-open > div { max-width: 70ch; } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell-open { grid-template-columns: 1fr; }
  .ticket { width: 100%; flex-direction: row; align-self: stretch; }
  .ticket-top { height: auto; flex: 1; padding: 22px 12px; }
  .ticket-top span { writing-mode: horizontal-tb; transform: none; white-space: normal; text-align: center; }
  .ticket-perf { width: 14px; height: auto; background: radial-gradient(circle at 50% 0, var(--ink) 9px, transparent 9.5px), radial-gradient(circle at 50% 100%, var(--ink) 9px, transparent 9.5px), var(--cream); }
  .ticket-perf::after { left: 50%; right: auto; top: 16px; bottom: 16px; border-top: 0; border-left: 2px dotted var(--ink); }
  .ticket-stub { flex: 0 0 44%; }
  .ways-slash { display: none; }
}

/* Contact + footer */
.contact { background: var(--ink-deep); padding: clamp(72px, 10vw, 140px) 0 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact-name { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.contact-firm { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.03em; color: var(--slate); line-height: 1.05; margin-top: 6px; }
.contact-links { margin-top: clamp(40px, 6vw, 90px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
/* CTA garment 5: mono readout (the address decodes on hover) */
.copy-row { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.readout { -webkit-appearance: none; appearance: none; font: inherit; font-family: var(--font-mono); font-size: clamp(1rem, 2.2vw, 1.8rem); color: var(--cream); background: none; background-color: transparent; border: 0; border-bottom: 2px solid var(--red); border-radius: 0; box-shadow: none; padding: 0 0 8px; margin: 0; letter-spacing: 0.01em; overflow-wrap: anywhere; text-align: left; cursor: copy; position: relative; }
.readout::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.readout.is-copied::after { transform: scaleX(1); }
.readout:active { transform: translateY(1px); }
.copy-status { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); min-height: 1em; }
.copy-status:not(:empty)::before { content: ""; display: inline-block; width: 6px; height: 12px; margin-right: 8px; background: var(--red); transform: skewX(-18deg); }
/* CTA garment 6: travelling tape underline (LinkedIn) */
.tapelink { font-family: var(--font-mono); font-size: 0.95rem; color: var(--slate); padding-bottom: 6px; background: linear-gradient(var(--red), var(--red)) 0 100% / 28px 2px no-repeat; transition: background-position 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s; }
.tapelink:hover, .tapelink:focus-visible { color: var(--cream); background-position: 100% 100%; }
.contact-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.footer { margin-top: clamp(56px, 8vw, 100px); padding: 22px 0 28px; border-top: 1px solid var(--hair-strong); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); }
.footer .wm { --wm-size: 13px; font-family: var(--font-display); }
.footer-privacy { background: linear-gradient(var(--cream), var(--cream)) left bottom / 0 1px no-repeat; transition: background-size 0.3s, color 0.2s; padding-bottom: 2px; }
.footer-privacy:hover { color: var(--cream); background-size: 100% 1px; }
.footer-copy { margin-left: auto; }
.footer-credit { color: var(--slate); padding-bottom: 2px; background: linear-gradient(var(--red), var(--red)) left bottom / 0 1px no-repeat; transition: background-size 0.3s, color 0.2s; }
.footer-credit:hover, .footer-credit:focus-visible { color: var(--cream); background-size: 100% 1px; }
.tape { height: 28px; background: var(--red); position: relative; }
.tape::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(17,25,32,0) 0 140px, rgba(17,25,32,0.14) 140px 143px), linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.12)); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .footer-copy { margin-left: 0; } }

/* Small pages */
.page { padding: clamp(56px, 8vw, 120px) 0; min-height: 60dvh; }
.page .h2 { margin-bottom: 32px; }
.page p { color: var(--slate); max-width: 64ch; margin-top: 18px; line-height: 1.7; }
.page p strong { color: var(--cream); font-weight: 600; }
.page-center { min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; text-align: center; }
.page-center p { margin-inline: auto; }

/* Reduce Motion only drops smooth scrolling (see html rule); the work light and hovers stay live by owner preference. */
.nw { white-space: nowrap; }

/* Andon stack light status (added Oct 2026) */
.andon { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.andon-stack { width: 18px; height: 48px; flex: none; }
.andon .seg { fill: transparent; stroke: var(--slate-dim); stroke-width: 1.2; }
.andon .pole { fill: var(--slate-dim); }
.andon-red .seg-red { fill: var(--red); stroke: var(--red); filter: drop-shadow(0 0 6px rgba(217,81,44,0.7)); }
.andon-amber .seg-amber { fill: #e3a33b; stroke: #e3a33b; filter: drop-shadow(0 0 6px rgba(227,163,59,0.6)); }
.andon-green .seg-green { fill: #4fa36b; stroke: #4fa36b; filter: drop-shadow(0 0 6px rgba(79,163,107,0.6)); }
.andon-label { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .andon-red .seg-red { animation: andon-pulse 2.4s ease-in-out infinite; }
  @keyframes andon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
}

/* Ways to work: three tiers (Oct 2026) */
.how-grid { grid-template-columns: 1fr 1fr; }
.tiers { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.tier-label { grid-column: 1 / -1; padding: 14px clamp(24px, 3vw, 44px); border-bottom: 1px solid var(--hair); background: var(--ink-raised); display: flex; align-items: baseline; gap: 14px; margin: 0; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.tier-num { color: var(--red); font-weight: 500; font-size: 1rem; }
.bento-open { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto; }
.bento-open .cell-open { grid-row: auto; }
.bento-single { grid-template-columns: 1fr; }
.bento-single .cell p { max-width: 80ch; }
.ticket-top { height: auto; min-height: 250px; padding: 22px 0; }
@media (max-width: 1240px) { .bento-open { grid-template-columns: 1fr 1fr; } .bento-open .cell-open { grid-column: 1 / -1; } .bento-single { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } .bento-open { grid-template-columns: 1fr; } .ticket-top { min-height: 0; } }

/* Contact: balanced spacing (Oct 2026) */
.contact { padding-bottom: clamp(72px, 10vw, 140px); }
