/* =========================================================================
   THE 9-TO-9 WARDROBE — Urban Signal design system
   businessshirtsandheri.com · Options Mall
   ========================================================================= */

:root {
  --orange: #EF633F;
  --ink: #202326;
  --mint: #D5E8DF;
  --paper: #F7F6F0;
  --lav: #C5C2D1;
  --graphite: #56595B;
  --lemon: #F0E9A9;
  --stone: #77736D;
  --line: rgba(32, 35, 38, .16);
  --line-strong: rgba(32, 35, 38, .85);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --head-h: 112px;

  --f-mega: clamp(3.1rem, 10.5vw, 10.5rem);
  --f-xxl: clamp(2.5rem, 6.6vw, 6.4rem);
  --f-xl: clamp(2rem, 4.4vw, 4.1rem);
  --f-l: clamp(1.5rem, 2.6vw, 2.35rem);
  --f-m: clamp(1.15rem, 1.5vw, 1.4rem);
  --f-body: clamp(1rem, .95rem + .2vw, 1.075rem);
  --f-s: .875rem;
  --f-xs: .75rem;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--f-body); line-height: 1.6;
  font-variation-settings: "wdth" 100; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--lemon); color: var(--ink); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
.sec { padding-block: clamp(64px, 10vw, 152px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-mint { background: var(--mint); }
.bg-lav { background: var(--lav); }
.bg-lemon { background: var(--lemon); }
.bg-orange { background: var(--orange); color: var(--ink); }
.bg-paper { background: var(--paper); }

/* ---------- typography ---------- */
.hd {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 72; font-stretch: 72%;
  line-height: .9; letter-spacing: -.01em;
}
.hd--wide { font-variation-settings: "wdth" 118; font-stretch: 118%; letter-spacing: -.02em; }
.mega { font-size: var(--f-mega); }
.xxl { font-size: var(--f-xxl); }
.xl { font-size: var(--f-xl); }
.l { font-size: var(--f-l); }
.m { font-size: var(--f-m); }
.lede { font-size: var(--f-m); line-height: 1.5; color: var(--graphite); max-width: 42ch; }
.bg-ink .lede { color: #c9cbc6; }
.mono, .tag, .code {
  font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
}
.tag {
  display: inline-flex; align-items: center; gap: .55em; line-height: 1;
  padding: .55em .8em .5em; border: 1px solid currentColor; border-radius: 99px;
}
.tag::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--orange); flex: none; }
.tag--plain::before { display: none; }
.code { color: var(--graphite); }
.bg-ink .code { color: #b9bbb6; }
.num {
  font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 62; font-stretch: 62%;
  line-height: .8; letter-spacing: -.02em;
}
.hl { background: linear-gradient(transparent 55%, var(--lemon) 55%, var(--lemon) 92%, transparent 92%); padding-inline: .08em; }
.hl-o { box-shadow: inset 0 -.16em 0 var(--orange); }
.bg-ink .hl-o, .hl-o--text { color: var(--orange); box-shadow: none; }
.vlabel {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .14em; text-transform: uppercase;
}

.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h3 { font-size: var(--f-m); font-weight: 700; line-height: 1.25; margin-top: 1.8em; }
.prose h4 { font-size: 1rem; font-weight: 700; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }
.muted { color: var(--graphite); }
.bg-ink .muted { color: #c2c4bf; }

/* ---------- section label: "04 — THE FIT FACTOR" ---------- */
.slabel { display: flex; align-items: baseline; gap: 14px; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; }
.slabel b { font-weight: 500; color: var(--ink); background: var(--orange); padding: 3px 7px; }
.slabel::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; transform: translateY(-3px); }

/* ---------- photo frames ---------- */
.ph { display: block; position: relative; }
.ph img { width: 100%; height: auto; }
.ph--fill, .ph--fill img { height: 100%; }
.ph--contain img { width: 100%; height: 100%; object-fit: contain; }
.frame { background: var(--mint); padding: clamp(10px, 1.6vw, 22px); }
.frame--lav { background: var(--lav); }
.frame--lemon { background: var(--lemon); }
.frame--ink { background: var(--ink); }
.frame--paper { background: #fff; }
figcaption, .cap { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); margin-top: 10px; line-height: 1.5; }
.bg-ink figcaption, .bg-ink .cap { color: #b9bbb6; }

/* ---------- buttons & links ---------- */
.ticket {
  --notch: 9px;
  display: inline-flex; align-items: stretch; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 1rem; line-height: 1.1;
  background: var(--orange);
  -webkit-mask: radial-gradient(circle var(--notch) at var(--cut, 72%) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at var(--cut, 72%) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at var(--cut, 72%) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at var(--cut, 72%) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.ticket > span { padding: 18px 22px; display: flex; align-items: center; }
.ticket > span + span { border-left: 2px dashed rgba(32, 35, 38, .45); font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.ticket:hover { background: var(--lemon); transform: translateY(-2px); }
.ticket--ink { background: var(--ink); color: var(--paper); }
.ticket--ink > span + span { border-left-color: rgba(247, 246, 240, .4); }
.ticket--ink:hover { background: var(--orange); color: var(--ink); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--orange); padding-bottom: 4px;
}
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- spec list (key/value info table) ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.spec dt, .spec dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase; padding-top: 14px; color: var(--graphite); }
.spec dd { font-size: .975rem; line-height: 1.5; }
.bg-ink .spec { border-top-color: rgba(247, 246, 240, .7); }
.bg-ink .spec dt { color: #b9bbb6; }
.bg-ink .spec dt, .bg-ink .spec dd { border-bottom-color: rgba(247, 246, 240, .18); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 26px; height: 1px; background: currentColor; margin-inline: 10px; opacity: .6; }
.crumbs a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs [aria-current] span { background: var(--ink); color: var(--paper); padding: 4px 8px; }
.bg-ink .crumbs [aria-current] span { background: var(--orange); color: var(--ink); }

/* =========================================================================
   HEADER — signal bar + route map navigation
   ========================================================================= */
.head { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--ink); }
.signal { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.signal__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.signal__where { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: blink 2.4s steps(2, jump-none) infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }
.signal__now { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.signal__label { color: #a9aba6; }
.signal__time { background: var(--orange); color: var(--ink); padding: 3px 7px; font-weight: 500; font-variant-numeric: tabular-nums; }
.signal__moment { border-bottom: 1px solid transparent; }
.signal__now:hover .signal__moment { border-bottom-color: currentColor; }
.signal__tel { text-decoration: none; white-space: nowrap; }
.signal__tel:hover { color: var(--lemon); }

.head__main { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); min-height: 76px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 50px; width: auto; aspect-ratio: 708 / 390; }

.route { position: relative; flex: 1; min-width: 0; }
.route__line { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); position: relative; }
.route__line::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--ink); }
.stop { display: grid; justify-items: center; gap: 6px; text-decoration: none; padding: 4px 2px 6px; position: relative; text-align: center; }
.stop__n { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--stone); line-height: 1; }
.stop__dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
  position: relative; z-index: 1; transition: transform .25s var(--ease), background-color .25s;
}
.stop__l { font-size: 11.5px; line-height: 1.15; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; font-variation-settings: "wdth" 85; font-stretch: 85%; max-width: 11ch; }
.stop:hover .stop__dot, .stop:focus-visible .stop__dot { background: var(--lemon); transform: scale(1.25); }
.stop[aria-current="page"] .stop__dot { background: var(--orange); border-color: var(--ink); transform: scale(1.2); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--orange); }
.stop[aria-current="page"] .stop__l { font-weight: 800; }
.stop[aria-current="page"] .stop__n { color: var(--ink); }
.route__train {
  position: absolute; left: 0; bottom: -1px; height: 4px; width: 46px; background: var(--orange);
  transform: translateX(var(--x, -100px)); transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none;
}
.head__here { display: none; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .08em; text-transform: uppercase; flex: 1; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head__here span { background: var(--orange); padding: 3px 6px; margin-right: 6px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: var(--ink); color: var(--paper); border: 0; padding: 12px 16px; min-height: 44px;
  font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s;
}
.menu-btn:hover { background: var(--orange); color: var(--ink); }
.menu-btn__grid { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; }
.menu-btn__grid i { width: 5px; height: 5px; background: currentColor; }
.menu-btn__grid i:nth-child(2) { background: var(--orange); }
.menu-btn:hover .menu-btn__grid i:nth-child(2) { background: var(--paper); }

@media (max-width: 1279px) {
  .route { display: none; }
  .head__here { display: block; }
}
@media (max-width: 899px) {
  .signal__where { display: none; }
  .signal__in { justify-content: space-between; }
}
@media (max-width: 560px) {
  :root { --head-h: 96px; }
  .head__main { min-height: 62px; gap: 12px; }
  .logo img { height: 40px; }
  .signal__label, .signal__tel { display: none; }
  .signal__in { justify-content: flex-start; }
  .head__here { font-size: 10.5px; }
}
@media (max-width: 374px) {
  .head__here { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- site index dialog ---------- */
.index {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--paper); overflow-y: auto; overscroll-behavior: contain;
}
.index::backdrop { background: rgba(32, 35, 38, .6); }
.index[open] { display: flex; flex-direction: column; animation: index-in .45s var(--ease); }
@keyframes index-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.index__top { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(247, 246, 240, .2); }
.index__title { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; }
.index__title span { background: var(--orange); color: var(--ink); padding: 3px 7px; margin-right: 8px; }
.index__close { display: inline-flex; gap: 12px; align-items: center; background: transparent; border: 1px solid var(--paper); color: var(--paper); padding: 10px 16px; min-height: 44px; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; }
.index__close span:last-child { font-size: 20px; line-height: 0; }
.index__close:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; padding-block: 28px; }
.index__list a {
  display: grid; grid-template-columns: 3.2em 1fr; align-items: baseline; gap: 12px; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(247, 246, 240, .16); position: relative;
}
.index__n { font-family: var(--mono); font-size: var(--f-s); color: #9fa19c; }
.index__l { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 72; font-stretch: 72%; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1; transition: color .2s, transform .3s var(--ease); }
.index__list a:hover .index__l, .index__list a:focus-visible .index__l { color: var(--orange); transform: translateX(10px); }
.index__list a[aria-current] .index__n { color: var(--ink); background: var(--orange); padding: 2px 6px; justify-self: start; }
.index__list a[aria-current] .index__l { color: var(--lemon); }
.index__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px 32px; font-family: var(--mono); font-size: var(--f-s); border-top: 1px solid rgba(247, 246, 240, .2); }
.index__foot a { text-decoration: none; border-bottom: 1px solid var(--orange); overflow-wrap: anywhere; }
@media (max-width: 767px) { .index__list { grid-template-columns: 1fr; } .index__list a { padding: 11px 0; } }

/* =========================================================================
   FOOTER — timetable
   ========================================================================= */
.foot { background: var(--ink); color: var(--paper); }
.foot__ruler { display: grid; grid-template-columns: repeat(14, 1fr); background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: 11px; }
.foot__ruler span { padding: 8px 0 8px 6px; border-left: 1px solid rgba(32, 35, 38, .55); position: relative; }
.foot__ruler span::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: rgba(32, 35, 38, .55); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr .9fr; gap: 40px 32px; padding-block: clamp(56px, 7vw, 96px); }
.foot__brand { display: grid; align-content: start; gap: 18px; }
.logo--foot img { height: 64px; }
.foot__claim { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 72; font-stretch: 72%; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: .95; max-width: 12ch; }
.foot__sub { color: #c2c4bf; font-size: var(--f-s); max-width: 36ch; }
.foot__h { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--f-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #b9bbb6; margin-bottom: 14px; }
.foot__h span { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--paper); color: var(--ink); }
.foot__col address, .foot__col p { font-size: var(--f-s); line-height: 1.65; }
.foot__col p + .foot__h { margin-top: 26px; }
.foot__link { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: 3px; }
.foot__big { font-weight: 800; font-size: 1.35rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.foot__mail { text-decoration: none; border-bottom: 1px solid var(--orange); overflow-wrap: anywhere; }
.foot a:hover { color: var(--orange); }
.foot__routes ol, .foot__social ul { list-style: none; padding: 0; margin: 0; }
.foot__routes ol { columns: 2; column-gap: 20px; font-size: var(--f-s); }
.foot__routes li { break-inside: avoid; }
.foot__routes a { display: flex; gap: 10px; text-decoration: none; padding: 4px 0; line-height: 1.35; }
.foot__routes a span { font-family: var(--mono); font-size: 11px; color: #9fa19c; padding-top: 2px; }
.foot__social ul { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(247, 246, 240, .45); border-radius: 50%; transition: background-color .2s, border-color .2s, color .2s; }
.foot__social a:hover, .foot__social a:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.ico { width: 19px; height: 19px; fill: currentColor; }
.foot__base { background: var(--mint); color: var(--ink); }
.foot__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; font-size: var(--f-s); }
.foot__base a { font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.foot__base a:hover { color: var(--ink); background: var(--lemon); }

@media (max-width: 1199px) {
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; }
  .foot__brand .foot__sub { grid-column: 2; }
  .foot__brand .logo { grid-row: span 2; }
}
@media (max-width: 767px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-template-columns: 1fr; }
  .foot__brand .foot__sub { grid-column: auto; }
  .foot__routes { grid-column: 1 / -1; }
  .foot__ruler { grid-template-columns: repeat(7, 1fr); }
  .foot__ruler span:nth-child(even) { display: none; }
}
@media (max-width: 479px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot__routes ol { columns: 1; }
}

/* =========================================================================
   SHARED: page masthead strip used on inner pages (each page composes its own hero)
   ========================================================================= */
.pagebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 18px; border-bottom: 1px solid var(--line-strong); }
.pagebar__no { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; }
.pagebar__no b { font-weight: 500; background: var(--ink); color: var(--paper); padding: 3px 7px; margin-right: 6px; }
.bg-ink .pagebar { border-bottom-color: rgba(247, 246, 240, .4); }
.bg-ink .pagebar__no b { background: var(--orange); color: var(--ink); }

/* next-stop link, closes every inner page */
.nextstop { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px; text-decoration: none; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.nextstop__k { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; }
.nextstop__t { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 72; font-stretch: 72%; font-size: var(--f-xl); line-height: .95; transition: color .2s; }
.nextstop__a { width: clamp(56px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: clamp(1.4rem, 2.4vw, 2.2rem); transition: transform .35s var(--ease); }
.nextstop:hover .nextstop__t { color: var(--orange); }
.nextstop:hover .nextstop__a { transform: translateX(8px) rotate(-12deg); }
@media (max-width: 600px) { .nextstop { grid-template-columns: 1fr auto; } .nextstop__k { grid-column: 1 / -1; } }

/* reveal-on-scroll (progressive enhancement: only hidden once JS confirms support) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .head, .foot, .index, .skip { display: none !important; }
  body { background: #fff; }
}

/* =========================================================================
   WEAVE SWATCHES — CSS-drawn fabric structures (graphic, not photographic)
   ========================================================================= */
.weave { display: block; background-color: #eef1f4; --t: rgba(32, 35, 38, .16); --t2: rgba(32, 35, 38, .08); }
.weave--cotton { background-color: #f3f0e6; background-image: radial-gradient(var(--t) .8px, transparent 1.2px), radial-gradient(var(--t2) .8px, transparent 1.2px); background-size: 5px 5px, 7px 7px; background-position: 0 0, 2px 3px; }
.weave--poplin { background-color: #e8eef6; background-image: repeating-linear-gradient(90deg, var(--t) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, var(--t2) 0 1px, transparent 1px 2px); }
.weave--twill { background-color: #dfe3ea; background-image: repeating-linear-gradient(45deg, var(--t) 0 2px, transparent 2px 6px); }
.weave--oxford { background-color: #dde7f0; background-image: linear-gradient(90deg, var(--t) 50%, transparent 50%), linear-gradient(0deg, var(--t2) 50%, transparent 50%); background-size: 6px 6px, 6px 6px; }
.weave--broadcloth { background-color: #f4f4f2; background-image: repeating-linear-gradient(90deg, var(--t2) 0 1px, transparent 1px 2px), linear-gradient(135deg, rgba(255,255,255,.7), transparent 60%); }
.weave--dobby { background-color: #e9e6ee; background-image: radial-gradient(circle at 50% 50%, var(--t) 1.4px, transparent 1.8px), repeating-linear-gradient(90deg, var(--t2) 0 1px, transparent 1px 3px); background-size: 10px 10px, auto; }
.weave--linen { background-color: #ece4d6; background-image: repeating-linear-gradient(90deg, rgba(32,35,38,.09) 0 1px, transparent 1px 4px, rgba(32,35,38,.14) 4px 5px, transparent 5px 7px), repeating-linear-gradient(0deg, rgba(32,35,38,.08) 0 1px, transparent 1px 5px, rgba(32,35,38,.12) 5px 6px, transparent 6px 9px); }
.weave--blend { background-color: #e3e9e4; background-image: repeating-linear-gradient(60deg, var(--t2) 0 1px, transparent 1px 4px), repeating-linear-gradient(-60deg, var(--t2) 0 1px, transparent 1px 4px); }
.weave--chambray { background-color: #b9c9dc; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(32,35,38,.14) 0 1px, transparent 1px 3px); }

/* =========================================================================
   LIGHTBOX (gallery and image sequences)
   ========================================================================= */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(32, 35, 38, .97); color: var(--paper); }
.lb[open] { display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr; }
.lb::backdrop { background: rgba(32, 35, 38, .7); }
.lb__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid rgba(247, 246, 240, .2); }
.lb__count { background: var(--orange); color: var(--ink); padding: 4px 8px; }
.lb__fig { grid-column: 2; grid-row: 2; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 16px 0; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; background: #fff; }
.lb__cap { font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase; color: #c9cbc6; margin-top: 12px; text-align: center; }
.lb__btn { background: transparent; color: var(--paper); border: 1px solid rgba(247, 246, 240, .5); min-height: 44px; min-width: 44px; font-family: var(--mono); font-size: var(--f-xs); letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; }
.lb__btn:hover, .lb__btn:focus-visible { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.lb__prev, .lb__next { grid-row: 2; align-self: center; justify-self: center; font-size: 1.3rem; border-radius: 50%; width: 48px; height: 48px; padding: 0; }
.lb__prev { grid-column: 1; }
.lb__next { grid-column: 3; }
@media (max-width: 639px) {
  .lb[open] { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; }
  .lb__fig { grid-column: 1 / -1; padding: 12px; }
  .lb__prev, .lb__next { grid-row: 3; grid-column: auto; margin-bottom: 16px; }
}
.hl-o, .hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
