/* Trademark Desk: signal red, black and white on a strict grid. Archivo Black for headings, Archivo for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F2F2F0;
  --ink: #0A0A0A;
  --muted: #555555;
  --line: #DADAD6;
  --line-strong: #0A0A0A;
  --brand: #E10600;
  --brand-hover: #B80500;
  --brand-ink: #FFFFFF;
  --brand-text: #C20500;
  --focus: #0A0A0A;
  --badge-bg: #0A0A0A;
  --badge-ink: #fff;
  --out-bg: #0A0A0A;
  --out-ink: #FFFFFF;
  --out-accent: #FF4A3D;
  --out-btn: #E10600;
  --out-btn-ink: #fff;
  --cta-bg: #E10600;
  --cta-ink: #FFFFFF;
  --head: "Archivo Black", "Arial Black", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --radius: 0;
  --radius-lg: 0;
  --btn-radius: 0;
  --wrap: 1240px;
  --gap: 0px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; text-transform: uppercase; line-height: .95; }
.s-body h3, .member h3, .values h3, .steps-row h3, .quotes h3, details summary, .card h2 { text-transform: none; letter-spacing: -.01em; }
.eyebrow { color: var(--brand-text); letter-spacing: .2em; }
.btn { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; font-size: .9rem; }
.btn .ic { width: 20px; height: 20px; }
.ic { color: var(--brand); }

.header { background: var(--ink); color: #fff; }
.header > .wrap { min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; font: 400 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.nav a { color: #ccc; font-weight: 600; text-transform: uppercase; font-size: .84rem; letter-spacing: .08em; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.nav-toggle { border-color: #444; color: #fff; }
@media (max-width: 960px) { .nav-open .nav { background: var(--ink); border-color: #333; } .nav-open .nav a { border-color: #333; } }

.hero { background: var(--brand); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: min(640px, 80vh); }
.hero-copy { padding-block: clamp(40px, 7vw, 96px); padding-right: clamp(0px, 4vw, 48px); align-self: center; }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero h1 { font-size: clamp(3.4rem, 11vw, 8.6rem); margin: 18px 0 20px; }
.hero .lede { color: #FFE3E1; }
.hero-find { margin-top: 32px; display: grid; gap: 8px; max-width: 560px; }
.hero-find label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.hero-find > div { display: flex; background: #fff; border: 3px solid var(--ink); }
.hero-find .input { border: 0; min-width: 0; color: var(--ink); }
.hero-find .btn { flex: none; background: var(--ink); color: #fff; min-height: 50px; }
.hero-find .btn .ic { color: #fff; }
.hero-mark { position: relative; display: grid; place-items: center; background: var(--ink); margin-right: calc((100vw - min(100vw - 32px, 1240px)) / -2); }
.hero-mark span { font: 400 clamp(12rem, 30vw, 26rem)/1 var(--head); color: var(--brand); }
.hero-mark small { position: absolute; left: 24px; bottom: 20px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #888; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-mark { margin: 0 -16px; min-height: 220px; }
  .hero-mark span { font-size: 11rem; }
}
@media (max-width: 420px) { .hero-find > div { flex-direction: column; } }

.facts-row { border-bottom: 3px solid var(--ink); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid div { display: grid; gap: 4px; padding: 28px 20px; border-left: 1px solid var(--line); }
.facts-grid div:first-child { border-left: 0; padding-left: 0; }
.facts-grid b { font: 400 clamp(1.8rem, 4vw, 2.8rem)/1 var(--head); }
.facts-grid span { color: var(--muted); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .facts-grid div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* cards on a ruled grid */
.s-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 3px solid var(--ink); border-left: 1px solid var(--line); }
.s-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-card:hover { background: var(--soft); }
.s-img { aspect-ratio: 16 / 9; }
.s-cat { color: var(--brand-text); font-weight: 700; }
.s-body h3 { font-size: 1.5rem; font-family: var(--head); font-weight: 400; }
.s-facts { border-color: var(--ink); }
.s-enq { border-color: var(--ink); }
.s-filters button { border-color: var(--ink); }
.s-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.services { gap: 18px; }

.journey { background: var(--soft); }
.journey-line { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.journey-line li { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 18px 0 0; }
.journey-line li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--brand); }
.journey-line li:last-child::before { background: var(--ink); }
.journey-line small { font-weight: 700; color: var(--brand-text); text-transform: uppercase; letter-spacing: .08em; }
.journey-line h3 { font-size: 1.4rem; }
.journey-line p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .journey-line { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 3px solid var(--ink); } .journey-line li { padding: 0 0 22px 22px; } .journey-line li::before { left: -9px; top: 4px; } }

.page-head { background: var(--ink); color: #fff; margin-bottom: clamp(32px, 5vw, 56px); }
.page-head .lede { color: #bbb; }
.page-head .eyebrow { color: #FF6A60; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.quotes { gap: 0; border-top: 3px solid var(--ink); }
.quotes li { border: 0; border-right: 1px solid var(--line); padding: 26px 24px 0 0; background: transparent; }
.quotes blockquote { font-size: 1.15rem; font-weight: 500; }
.values { gap: 24px; }
.values li { border-top: 3px solid var(--ink); }
.team, .steps-row { gap: 20px; }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b, .numbers span { color: #fff; }
.footer { background: var(--ink); color: #ddd; }
.card { border: 2px solid var(--ink); }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-ghost { color: #fff; }

/* class finder */
.input.big { min-height: 60px; font-size: 1.15rem; border-width: 2px; }
.chip { min-height: 40px; padding: 4px 12px; margin: 4px 4px 0 0; border: 1.5px solid var(--ink); background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; }
.chip:hover { background: var(--ink); color: #fff; }
.list-h { font-size: 1.3rem; margin-bottom: 10px; }
.class-list { list-style: none; display: grid; gap: 6px; }
.class-list.compact { margin-top: 12px; max-height: 420px; overflow: auto; padding-right: 4px; }
.cls { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 56px; padding: 8px 12px 8px 8px; border: 2px solid var(--ink); cursor: pointer; background: #fff; }
.cls input { position: absolute; opacity: 0; }
.cls b { display: grid; place-items: center; height: 40px; background: var(--soft); font: 400 1.25rem var(--head); }
.cls span { display: grid; font-weight: 600; }
.cls small { font-weight: 400; color: var(--muted); font-size: .84rem; }
.cls:has(input:checked) { background: #FFF1F0; border-color: var(--brand); }
.cls:has(input:checked) b { background: var(--brand); color: #fff; }
.cls:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.all-classes summary { font-family: var(--body); font-weight: 700; }
.picked-classes { list-style: none; display: grid; gap: 4px; font-size: .9rem; }
.picked-classes b { display: inline-block; min-width: 30px; color: var(--out-accent); }
.tool-out { border-top: 8px solid var(--brand); }
.tool-out .disclaimer { color: #ccc; }
@media (max-width: 420px) { .header .logo span { font-size: .9rem; } .header .logo b { font-size: inherit; } }
