/* Scrubs World — "swatch book / care label" */
:root {
  --paper: #F5F2EA;
  --paper-2: #EAE5D8;
  --card: #FFFFFF;
  --ink: #14262E;
  --ink-2: #48585E;
  --rule: #D3CCBC;
  --teal: #0A6670;
  --teal-dark: #084C53;
  --ceil: #B7CCDD;
  --ceil-bg: #E4EDF4;
  --thread: #B23A48;
  --ok: #1D6A48;
  --ok-bg: #DCEEE4;
  --no: #8A2A35;
  --no-bg: #F6E1E1;
  --unk-bg: #ECE8DE;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --w: 1160px;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
a, summary, button, label, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 32px, var(--w)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 9; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; font-weight: 650; margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
.label, .kicker, .crumbs, .d, .carelabel__meta, .basis, .code, .lookup__label, .lookup__nation {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
}
.kicker { color: var(--thread); margin: 0 0 .75rem; font-weight: 600; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 46rem; }
.small { font-size: .9rem; color: var(--ink-2); }
.nv { font-family: var(--mono); font-size: .78rem; color: var(--ink-2); background: var(--unk-bg); padding: 2px 7px; border-radius: 3px; border: 1px dashed var(--rule); white-space: nowrap; }

/* masthead: the swatch-book selvedge is the signature */
.mast { background: var(--ink); color: var(--paper); }
.selvedge { display: flex; height: 10px; }
.selvedge i { flex: 1; background: var(--c); border-right: 1px solid rgba(20,38,46,.35); }
.mast__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font: 650 1.5rem/1 var(--head); letter-spacing: -0.01em; min-height: 44px; }
.brand b { color: var(--ceil); font-weight: 750; }
.brand:hover { color: var(--paper); }
.brand__mark { width: 34px; height: 37px; }
.nav { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--paper); text-decoration: none; font-weight: 700; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 99px; font-size: .98rem; }
.nav a:hover { background: rgba(245,242,234,.12); color: var(--paper); }
.nav a[aria-current="page"] { background: var(--ceil); color: var(--ink); }
.nav__search { gap: 6px; }
.nav__search svg { width: 17px; height: 17px; }
.indep { margin: 0; background: #0D1C22; color: #C9D3D6; font-size: .84rem; padding: 7px 0; border-top: 1px dashed #3A5058; }
.indep span { display: block; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; padding: 56px 0 36px; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink-2); margin: 1.25rem 0 0; }
.hero-card { display: grid; gap: 14px; background: var(--card); color: var(--ink); text-decoration: none; padding: 22px; border-radius: var(--r); border: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgba(20,38,46,.6); position: relative; }
.hero-card::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--rule); border-radius: 3px; pointer-events: none; }
.hero-card:hover { color: var(--ink); border-color: var(--teal); }
.hero-card .label { color: var(--thread); font-weight: 600; }
.hero-card__row { display: flex; gap: 18px; align-items: center; }
.hero-card__tunic { width: 110px; height: 119px; flex: none; }
.hero-card__txt { display: grid; gap: 6px; }
.hero-card__txt strong { font: 650 1.4rem/1.1 var(--head); }
.hero-card__chips { display: flex; gap: 6px; }
.hero-card__chips .sw { width: 26px; height: 26px; }
.hero-card__go { font-weight: 700; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* swatches */
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 3px; background: var(--sw); border: 1px solid rgba(20,38,46,.45); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); flex: none; vertical-align: -3px; }
.swname { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* sections */
.section { padding: 28px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; padding-bottom: 6px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.journey__step { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 16px 12px; border-top: 5px solid var(--ceil); }
.journey__step:nth-child(4n+2) { border-top-color: #B8A5D6; }
.journey__step:nth-child(4n+3) { border-top-color: #9B1B30; }
.journey__step:nth-child(4n+4) { border-top-color: #0F4D32; }
.journey__no { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.journey__t { font-size: 1.1rem; margin: 4px 0 4px; }
.journey__d { font-size: .92rem; color: var(--ink-2); margin: 0 0 8px; }
.journey ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.journey li { padding: 6px 0; border-top: 1px dashed var(--rule); line-height: 1.35; }
.journey a { display: inline-block; padding: 3px 0; }
.journey__tool a { font-weight: 700; }
.journey__tool a::before { content: "→ "; }

/* brand swatch cards */
.brandgrid { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.swatch-card { display: grid; gap: 6px; align-content: start; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; padding: 16px 16px 14px 22px; border: 1px solid var(--rule); border-radius: var(--r); position: relative; overflow: hidden; transition: box-shadow .15s ease, border-color .15s ease; }
.swatch-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(135deg, var(--ceil) 0 4px, #9CB6CB 4px 8px); }
.swatch-card:hover { color: var(--ink); border-color: var(--teal); box-shadow: 0 10px 20px -16px rgba(20,38,46,.7); }
.swatch-card__name { font: 650 1.25rem/1.15 var(--head); }
.swatch-card__line { font-size: .88rem; color: var(--ink-2); }
.swatch-card__meta { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }

/* 60°C care-label flag */
.wash { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: 3px 8px 3px 5px; border-radius: 3px; justify-self: start; white-space: nowrap; line-height: 1.3; }
.wash svg { width: 26px; height: 20px; flex: none; }
.wash--yes { background: var(--ok-bg); color: var(--ok); }
.wash--no { background: var(--no-bg); color: var(--no); }
.wash--not-stated, .wash--not-verified { background: var(--unk-bg); color: var(--ink-2); }

/* fibre bar */
.fibers { display: grid; gap: 5px; min-width: 150px; }
.fibers__bar { display: flex; height: 12px; border-radius: 2px; overflow: hidden; border: 1px solid rgba(20,38,46,.4); }
.fibers__key { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: .8rem; }
.fibers__key span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.fibers__key .fib { width: 10px; height: 10px; border: 1px solid rgba(20,38,46,.4); display: inline-block; }
.fib { display: block; height: 100%; }
.fib--polyester { background: #3D6E8F; }
.fib--rayon { background: #D9B44A; }
.fib--spandex { background: #B23A48; }
.fib--nylon { background: #6C5B9E; }
.fib--cotton { background: #EDE6D0; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; }
.list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.list .t { font: 650 1.18rem/1.25 var(--head); color: var(--ink); text-decoration: none; }
.list .t:hover { color: var(--teal); text-decoration: underline; }
.list p { margin: 6px 0; color: var(--ink-2); font-size: .95rem; }
.list .d { color: var(--ink-2); }

/* pages & articles */
.page, .article { padding: 36px 0 56px; }
.crumbs { color: var(--ink-2); margin: 0 0 16px; }
.crumbs a { color: var(--ink-2); }
.article__head { max-width: 50rem; margin-bottom: 26px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.prose { max-width: 45rem; min-width: 0; }
.prose h2 { margin-top: 2em; padding-top: .6em; border-top: 1px solid var(--rule); }
.prose h3 { margin-top: 1.6em; }
.prose li { margin: .3em 0; }
.prose table, .tablewrap table, table.facts { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--card); }
.prose > table { display: block; overflow-x: auto; margin: 1.4em 0; }
.tablewrap { overflow-x: auto; margin: 1em 0 1.2em; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--rule); }
thead th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; background: var(--ink); color: var(--paper); font-weight: 600; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: #FAF8F2; }
tbody th { font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-left: 4px solid var(--ceil); color: var(--ink-2); }
.code { background: var(--paper-2); padding: 1px 5px; border-radius: 3px; font-size: .7rem; }
.basis { display: inline-block; font-size: .64rem; background: var(--ceil-bg); color: var(--ink); padding: 1px 6px; border-radius: 3px; margin-bottom: 3px; }
.note { font-size: .9rem; color: var(--ink-2); background: var(--paper-2); padding: 14px 16px; border-radius: var(--r); margin-top: 2.2em; }
.callout { background: var(--no-bg); border-left: 4px solid var(--thread); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; }
.callout--info { background: var(--ceil-bg); border-left-color: var(--teal); }
.sources { font-size: .9rem; padding-left: 1.4em; overflow-wrap: anywhere; }
.sources li { margin: .5em 0; }
.sources span { display: block; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.aside { display: grid; gap: 18px; position: sticky; top: 16px; }
.aside__box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 18px; font-size: .93rem; }
.aside__box h2 { font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); margin: 0 0 10px; font-weight: 600; }
.aside__box ul { list-style: none; margin: 0; padding: 0; }
.aside__box p { margin: 0 0 8px; }
.aside__box > a { font-weight: 700; }
.aside__box--lookup { border-top: 5px solid #B8A5D6; }
.mini-tunic { width: 54px; height: 58px; float: right; margin: -4px 0 4px 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .88rem; }
.tags a:hover { background: var(--ink); color: var(--paper); }

/* article components */
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { font-size: .82rem; color: var(--ink-2); background: var(--card); border: 1px solid var(--rule); border-radius: 99px; padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px; }
.trust a { color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ok); }
/* short answer styled as a sewn-in care label */
.answer { background: var(--card); border: 1px solid var(--rule); padding: 26px 22px 14px; margin: 0 0 24px; position: relative; border-radius: 3px; }
.answer::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--ceil); pointer-events: none; }
.answer__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #fff; background: var(--teal); display: inline-block; padding: 3px 9px; margin: -38px 0 10px; position: relative; }
.answer ul { margin: 0; padding-left: 1.1em; position: relative; }
.answer li { margin: .35em 0; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: .3em 0; line-height: 1.35; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.toc--inline { display: none; background: var(--paper-2); border-radius: var(--r); padding: 10px 16px; margin: 0 0 22px; }
.toc--inline summary { font-weight: 700; font-family: var(--head); min-height: 44px; display: flex; align-items: center; gap: 6px; }
.toc--inline summary span { font-weight: 400; color: var(--ink-2); font-family: var(--body); font-size: .9rem; }
.toc--rail ol { counter-reset: t; list-style: none; padding: 0; }
.toc--rail li { counter-increment: t; display: grid; grid-template-columns: 1.8rem 1fr; border-top: 1px dashed var(--rule); padding: 6px 0; margin: 0; }
.toc--rail li:first-child { border-top: 0; }
.toc--rail li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--thread); padding-top: 2px; }
.series { border-left: 4px solid var(--ceil); background: var(--ceil-bg); padding: 12px 16px; margin: 0 0 24px; border-radius: 0 var(--r) var(--r) 0; }
.series__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink-2); }
.series ol { margin: 0; padding-left: 1.3em; }
.series li { margin: .2em 0; }
.series [aria-current] { font-weight: 700; }
.faq { display: grid; gap: 8px; margin: 10px 0 0; }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 0 16px; }
.faq summary { font-weight: 700; padding: 12px 0; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.2rem/1 var(--mono); color: var(--thread); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--ink-2); }
.related { margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 14px; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.nvlist { list-style: none; padding: 0; }
.nvlist li { padding: 7px 0 7px 28px; border-bottom: 1px dashed var(--rule); position: relative; }
.nvlist li::before { content: "?"; position: absolute; left: 2px; top: 7px; width: 18px; height: 18px; border-radius: 3px; border: 1px dashed var(--ink-2); font: 600 .72rem/16px var(--mono); text-align: center; color: var(--ink-2); }

/* brand page: care label header */
.brand-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 30px; }
.carelabel { position: relative; background: var(--card); padding: 26px 26px 20px 34px; border-radius: 3px; box-shadow: 0 14px 26px -20px rgba(20,38,46,.7); border: 1px solid var(--rule); }
.carelabel::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--ceil); pointer-events: none; }
.carelabel::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: repeating-linear-gradient(135deg, var(--ceil) 0 4px, #9CB6CB 4px 8px); }
.carelabel h1 { margin: 6px 0 2px; position: relative; }
.carelabel__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-2); margin: 0; position: relative; }
.carelabel__line { font-style: italic; color: var(--ink-2); margin: 0 0 10px; position: relative; }
.carelabel__sum { position: relative; margin: 0 0 6px; }
.idcard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 14px 0 0; border-top: 1px dashed var(--rule); position: relative; }
.idcard div { padding: 8px 0; border-bottom: 1px dashed var(--rule); }
.idcard__wide { grid-column: 1 / -1; }
.idcard dt { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.idcard dd { margin: 4px 0 0; font-weight: 700; }
.flagbox { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 8px; }
.flagbox .label { color: var(--ceil); margin: 0; }
.flagbox p { margin: 0; }
.flagbox .small { color: #C9D3D6; }
.flagbox a { color: var(--ceil); }
.flagbox .wash { font-size: .82rem; }
table.spec { min-width: 760px; }
table.spec td { font-size: .9rem; }
table.facts { margin: 1em 0; border: 1px solid var(--rule); }

/* finder chips */
.finder { display: grid; gap: 10px; margin: 6px 0 4px; }
.finder fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.finder legend { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 0; margin-bottom: 6px; }
.finder label { position: relative; }
.finder label input { position: absolute; opacity: 0; pointer-events: none; }
.finder label span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 99px; background: var(--card); font-size: .92rem; transition: background .15s ease, color .15s ease; }
.finder label input:checked + span { background: var(--ink); color: var(--paper); }
.finder label input:focus-visible + span { outline: 3px solid var(--thread); outline-offset: 2px; }
.finder__count { font-size: .9rem; color: var(--ink-2); margin: 4px 0 0; min-height: 1.4em; }

/* colour lookup tool */
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 22px 0; }
.lookup__panel, .lookup__reverse { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; }
.lookup__label { display: block; color: var(--ink-2); font-weight: 600; margin: 0 0 8px; }
.lookup select { width: 100%; font: inherit; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--card); color: var(--ink); }
.lookup__result { display: flex; gap: 18px; align-items: center; margin-top: 16px; }
.lookup__tunic { width: 150px; height: 162px; flex: none; }
.lookup__nation { color: var(--thread); margin: 0; }
.lookup__role { font: 650 1.3rem/1.2 var(--head); margin: 4px 0 8px; }
.lookup__dl { margin: 0; display: grid; gap: 6px; }
.lookup__dl div { display: grid; grid-template-columns: 3.4rem 1fr; align-items: center; }
.lookup__dl dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--ink-2); }
.lookup__dl dd { margin: 0; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px 0 8px; border: 1px solid var(--rule); border-radius: 99px; background: var(--paper); color: var(--ink); font: 400 .88rem var(--body); transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rev-out { margin-top: 12px; }
.rev-out:empty { display: none; }
.rev-out__h { font-weight: 700; margin: 0 0 6px; }
.rev-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rev-cols ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
table.colours { min-width: 420px; }
table.colours td, table.colours th { vertical-align: middle; }
.tcell { width: 56px; padding: 4px 8px; }
.row-tunic { width: 40px; height: 44px; display: block; }

/* search */
.search label { display: block; font-weight: 700; margin-bottom: 6px; }
.search input { width: 100%; max-width: 40rem; font: inherit; padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--card); color: var(--ink); }

/* footer */
.foot { background: var(--ink); color: #C9D3D6; margin-top: 40px; padding: 40px 0 20px; font-size: .93rem; }
.foot a { color: var(--paper); display: inline-block; padding: 4px 0; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 32px; }
.foot__brand { font: 650 1.3rem var(--head); color: var(--paper); margin: 0 0 8px; }
.foot__brand b { color: var(--ceil); }
.foot__rule { border-left: 4px solid var(--ceil); padding-left: 16px; }
.foot__rule .label { color: var(--ceil); margin: 0 0 6px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot__small { color: #9FB0B5; font-size: .8rem; border-top: 1px solid #2E434B; padding-top: 16px; margin-top: 28px; }

@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .toc--rail { display: none; }
  .toc--inline { display: block; }
  .hero, .brand-head, .lookup { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-top: 32px; }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .aside { position: static; }
  .foot__grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .journey, .list { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .swatch-card { padding: 12px 10px 12px 18px; }
  .swatch-card__name { font-size: 1.05rem; }
  .wash { font-size: .64rem; white-space: normal; }
  .nav__search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav a { padding: 0 9px; font-size: .92rem; }
  .brand { font-size: 1.3rem; }
  .idcard { grid-template-columns: 1fr; }
  .carelabel { padding: 22px 18px 18px 26px; }
  .lookup__result { flex-direction: column; align-items: flex-start; }
  .lookup__tunic { width: 120px; height: 130px; }
  .rev-cols { grid-template-columns: 1fr; }
  .hero-card__tunic { width: 84px; height: 91px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.brand-specs { margin-bottom: 8px; }
.brand-specs h2 { margin-top: 1.4em; }
.journey .journey__step { border-top: 5px solid var(--ceil); padding-top: 16px; }
.journey .journey__step:nth-child(4n+2) { border-top-color: #B8A5D6; }
.journey .journey__step:nth-child(4n+3) { border-top-color: #9B1B30; }
.journey .journey__step:nth-child(4n+4) { border-top-color: #0F4D32; }
@media (max-width: 640px) {
  table.spec { min-width: 0; }
  table.spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.spec, table.spec tbody, table.spec tr, table.spec td { display: block; }
  table.spec tr { padding: 10px 14px; border-bottom: 2px solid var(--rule); }
  table.spec tr[hidden] { display: none; }
  table.spec td { border: 0; padding: 5px 0 5px 6.8rem; background: none !important; position: relative; min-height: 2em; }
  table.spec td::before { content: attr(data-label); position: absolute; left: 0; top: 7px; width: 6.2rem; font-family: var(--mono); font-size: .66rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
  table.spec td:first-child { padding-left: 0; }
  table.spec td:first-child { display: block; font-size: 1rem; }
  table.spec td:first-child::before { display: none; }
  table.spec tbody tr:nth-child(even) { background: #FAF8F2; }
  table.colours { min-width: 0; }
  table.colours .swname { white-space: normal; }
  .tcell { width: 44px; padding: 4px; }
  .row-tunic { width: 34px; height: 37px; }
}
.lookup { align-items: start; }
