/* Spin Prospector — section-scoped blocks.
   One prefixed class block per major section of the site. */

/* =========================================================
   AGE — slim persistent 18+ bar pinned to the top
   ========================================================= */

.age-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper-hi);
  border-bottom: 1px solid var(--teal);
}

.age-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s4);
  padding: 7px 0;
}

.age-bar__tag {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 7px;
}

.age-bar__text {
  font-size: 0.78125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.age-bar__text a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  font-weight: 600;
}

.age-bar__text a:hover { border-bottom-style: solid; }

/* on narrow screens the tag runs into the sentence so the bar stays
   two lines instead of four */
@media (max-width: 639px) {
  .age-bar__inner { display: block; padding: 6px 0; }
  .age-bar__tag { margin-right: var(--s2); }
  .age-bar__text { display: inline; font-size: 0.75rem; }
}

/* =========================================================
   MAST — masthead, brand and navigation
   ========================================================= */

.mast {
  background: var(--paper);
  border-bottom: 1px dashed var(--slate-300);
}

.mast__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s4) 0;
}

.mast__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  color: var(--ink);
}

.mast__mark { flex: none; display: block; }

.mast__word {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mast__word span {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-top: 2px;
}

.mast__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: none;
  border: 1px dashed var(--slate-400);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

.mast__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
}

.mast__nav a {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.mast__nav a:hover { border-bottom-color: var(--yellow); }
.mast__nav a[aria-current="page"] { border-bottom-color: var(--teal); color: var(--teal); }

@media (max-width: 899px) {
  .mast__nav {
    display: none;
    width: 100%;
    border-top: 1px dotted var(--slate-300);
    padding-top: var(--s4);
    margin-top: var(--s4);
  }
  .mast__nav.is-open { display: block; }
  .mast__nav ul { flex-direction: column; gap: 0; }
  .mast__nav li + li { border-top: 1px dotted var(--slate-200); }
  .mast__nav a { padding: 10px 0; width: 100%; }
  .mast__inner { flex-wrap: wrap; }
}

@media (min-width: 900px) {
  .mast__toggle { display: none; }
}

/* =========================================================
   SPLIT — hero region: content column plus sticky side rail
   ========================================================= */

.split {
  position: relative;
  overflow: clip;
  padding-block: clamp(36px, 5vw, 68px) var(--band);
}

.split__deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(400px, 54vw, 720px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.split__deco i {
  position: absolute;
  display: block;
}

.split__deco .wedge-a {
  top: -14%;
  right: -4%;
  width: 44%;
  height: 114%;
  background: var(--teal);
  opacity: 0.09;
  clip-path: polygon(42% 0, 100% 0, 100% 78%);
}

.split__deco .wedge-b {
  top: 3%;
  right: 6%;
  width: 11%;
  height: 17%;
  background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* once the side rail appears, the accent moves to the outer margin
   so it never sits behind the rail copy */
@media (min-width: 1060px) {
  .split__deco .wedge-b {
    top: 21%;
    right: auto;
    left: 0;
    width: 3.4%;
    height: 26%;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
}

.split__deco .wedge-c {
  top: 0;
  left: -8%;
  width: 24%;
  height: 46%;
  background: var(--slate-200);
  opacity: 0.75;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.split__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s8);
}

.split__rail { min-width: 0; }

@media (min-width: 1060px) {
  .split__grid {
    grid-template-columns: minmax(0, 1fr) 306px;
    gap: clamp(48px, 5vw, 88px);
  }
  .split__rail {
    position: sticky;
    top: 96px;
    align-self: start;
    border-left: 2px dotted var(--slate-400);
    padding-left: var(--s6);
  }
}

/* =========================================================
   HERO — editorial opening paragraph
   ========================================================= */

.hero__h1 {
  font-size: clamp(2.05rem, 5vw, 3.9rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 26ch;
  margin-left: -0.045em;
}

.hero__h1 b { font-weight: 900; }

.hero__body {
  margin-top: var(--s6);
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.62;
  color: var(--ink-70);
}

.hero__body + .hero__body { margin-top: var(--s4); }

.hero__meta {
  margin-top: var(--s7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  border-top: 1px dashed var(--slate-300);
  padding-top: var(--s4);
}

.hero__stamp {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
}

/* =========================================================
   RAIL — trust figures and the licensing sidebar
   ========================================================= */

.rail-box + .rail-box { margin-top: var(--s7); }

.rail-box__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s4);
}

.rail-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-stats li {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px dotted var(--slate-300);
}

.rail-stats b {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  min-width: 3.6ch;
}

.rail-stats span {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-70);
}

.rail-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-70);
}

.rail-note + .rail-note { margin-top: var(--s3); }

.rail-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-links li + li { margin-top: var(--s2); }
.rail-links a { font-size: 0.875rem; }

/* =========================================================
   SEC — shared section header block
   ========================================================= */

.sec { padding-block: var(--band); }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }

.sec-head { margin-bottom: var(--s8); }

.sec-head__title {
  font-size: clamp(1.85rem, 4.4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-left: -0.04em;
}

.sec-head__title b { font-weight: 800; }

.sec-head__intro {
  margin-top: var(--s5);
  max-width: 60ch;
  color: var(--ink-70);
}

@media (min-width: 940px) {
  .sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--s8);
    align-items: end;
  }
  .sec-head__lead { grid-column: 1; }
  .sec-head__intro { grid-column: 2; margin-top: 0; }
}

/* =========================================================
   METHOD — how the grades are put together
   ========================================================= */

.method { margin-top: var(--band); }

.method__grid { display: grid; gap: var(--s7); }

@media (min-width: 780px) {
  .method__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: start; gap: var(--s8); }
}

.method__criteria {
  list-style: none;
  margin: var(--s6) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.method__criteria li {
  display: grid;
  grid-template-columns: 2.6ch minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px dotted var(--slate-300);
}

.method__criteria li:first-child { border-top: 1px dotted var(--slate-300); }

.method__criteria b {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  padding-top: 0.28em;
}

.method__criteria strong { display: block; font-weight: 700; }
.method__criteria span { font-size: 0.9375rem; color: var(--ink-70); }

/* =========================================================
   SHOW — the operator showcase, two-column card grid
   ========================================================= */

.show__disclosure {
  border: 1px dashed var(--teal);
  background: var(--teal-tint);
  padding: var(--s5);
  margin-bottom: var(--s7);
  max-width: 78ch;
}

.show__disclosure p { font-size: 0.9375rem; line-height: 1.6; }
.show__disclosure p + p { margin-top: var(--s3); }

.show__grid {
  display: grid;
  gap: var(--s6);
}

@media (min-width: 1080px) {
  .show__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .show-card--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 260px; }

  .show-card--wide .show-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--s5) var(--s7);
    align-content: start;
  }

  .show-card--wide .show-card__top { grid-column: 1 / -1; }
  .show-card--wide .show-card__text { grid-column: 1; grid-row: 2; }
  .show-card--wide .badge-row { grid-column: 1; grid-row: 3; align-self: start; }
  .show-card--wide .dl-facts { grid-column: 2; grid-row: 2 / 4; }
}

.show-card {
  display: grid;
  border: 1px dashed var(--slate-400);
  background: var(--paper-hi);
  min-width: 0;
}

@media (min-width: 560px) {
  .show-card { grid-template-columns: minmax(0, 1fr) 208px; }
}

.show-card__body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-width: 0;
}

.show-card__top {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.show-card__logo {
  flex: none;
  width: 132px;
  height: 52px;
  background: var(--paper-hi);
  border: 1px dotted var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.show-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.show-card__name {
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.show-card__name span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-top: 5px;
}

.show-card__text { font-size: 0.9375rem; line-height: 1.62; margin: 0; }

.show-card__side {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  background: var(--slate-100);
  border-top: 1px dotted var(--slate-300);
}

@media (min-width: 560px) {
  .show-card__side { border-top: 0; border-left: 1px dotted var(--slate-300); }
}

.show-card__grade {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.show-card__letter {
  width: 54px;
  height: 54px;
  flex: none;
  border: 2px solid var(--teal);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.show-card__gradelabel {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-70);
  line-height: 1.4;
}

.show-card__offer {
  border-top: 1px dotted var(--slate-300);
  border-bottom: 1px dotted var(--slate-300);
  padding: var(--s3) 0;
}

.show-card__offer dt {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
}

.show-card__offer dd {
  margin: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 600;
}

.show-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  margin-top: auto;
}

/* =========================================================
   MATRIX — criteria checked on every operator
   ========================================================= */

.matrix { background: var(--paper-hi); }

.matrix__scroll {
  overflow-x: auto;
  border: 1px dashed var(--slate-400);
  -webkit-overflow-scrolling: touch;
}

.matrix__table {
  border-collapse: collapse;
  width: 100%;
  min-width: 860px;
  font-size: 0.875rem;
}

.matrix__table th,
.matrix__table td {
  text-align: left;
  vertical-align: top;
  padding: var(--s4);
  border-bottom: 1px dotted var(--slate-300);
  line-height: 1.45;
}

.matrix__table thead th {
  background: var(--teal);
  color: var(--paper-hi);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}

.matrix__table tbody th {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-70);
  background: var(--slate-100);
  width: 148px;
  position: sticky;
  left: 0;
  border-right: 1px dotted var(--slate-300);
}

.matrix__table tbody tr:last-child th,
.matrix__table tbody tr:last-child td { border-bottom: 0; }

.matrix__table tr.is-grade td {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--slate-100);
}

.matrix__table tr.is-grade th { background: var(--slate-200); }

.matrix__hint {
  margin-top: var(--s4);
  font-size: 0.8125rem;
  color: var(--ink-70);
}

/* =========================================================
   PICKS — themed category picks over an accent band
   ========================================================= */

.picks {
  position: relative;
  background-color: var(--slate-100);
  background-image: linear-gradient(rgba(242, 245, 247, 0.85), rgba(242, 245, 247, 0.91)), url("/assets/band-picks.jpg");
  background-size: cover;
  background-position: center;
}

.picks__grid { display: grid; gap: var(--s7); }

@media (min-width: 820px) {
  .picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8) var(--s7); }
}

.pick {
  position: relative;
  border-top: 2px dotted var(--teal);
  padding-top: var(--s5);
  min-width: 0;
}

.pick__num {
  position: absolute;
  top: 0.06em;
  right: 0;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--slate-300);
  pointer-events: none;
  z-index: 0;
}

.pick__title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.pick__text {
  position: relative;
  z-index: 1;
  margin-top: var(--s4);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
}

.pick__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
}

.pick__list li {
  display: grid;
  grid-template-columns: minmax(0, 13ch) minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px dotted var(--slate-300);
  font-size: 0.9375rem;
}

.pick__list b { font-weight: 800; }
.pick__list span { color: var(--ink-70); }

.picks__figure { margin-top: var(--s8); }

@media (min-width: 820px) {
  .picks__figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s8);
    align-items: center;
  }
}

.picks__figure p { color: var(--ink-70); font-size: 0.9375rem; line-height: 1.65; }
.picks__figure p + p { margin-top: var(--s4); }

/* =========================================================
   SAFETY — clickable support and regulator resources
   ========================================================= */

.safety {
  background-color: var(--teal);
  background-image: linear-gradient(rgba(6, 53, 51, 0.86), rgba(6, 53, 51, 0.9)), url("/assets/band-teal.jpg");
  background-size: cover;
  background-position: center;
  color: var(--paper-hi);
}

.safety .sec-head__title { color: var(--paper-hi); }
.safety .sec-head__intro { color: rgba(255, 255, 255, 0.82); }
.safety .eyebrow { color: var(--yellow); }
.safety .marker { fill: var(--yellow); stroke: var(--paper-hi); }

.safety__grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.safety-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-hi);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.safety-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--yellow);
}

.safety-card__logo {
  height: 100px;
  background: var(--paper-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
}

.safety-card__logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

.safety-card__name { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; }

.safety-card__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin-top: calc(var(--s2) * -1);
}

.safety-card__go {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* =========================================================
   TEALBAND — reusable dark accent band for interior pages
   ========================================================= */

.tealband {
  background-color: var(--teal);
  background-image: linear-gradient(rgba(6, 53, 51, 0.88), rgba(6, 53, 51, 0.92)), url("/assets/band-teal.jpg");
  background-size: cover;
  background-position: center;
  color: var(--paper-hi);
}

.tealband .sec-head__title,
.tealband h3 { color: var(--paper-hi); }

.tealband .sec-head__intro,
.tealband p { color: rgba(255, 255, 255, 0.82); }

.tealband .eyebrow { color: var(--yellow); }
.tealband .marker { fill: var(--yellow); stroke: var(--paper-hi); }

.tealband__grid { display: grid; gap: var(--s6); }

@media (min-width: 820px) {
  .tealband__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
}

.tealband__item {
  border-top: 2px dotted rgba(255, 255, 255, 0.42);
  padding-top: var(--s5);
}

.tealband__item h3 {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: var(--s3);
}

.tealband__item p { font-size: 0.9375rem; line-height: 1.62; }

/* =========================================================
   FAQ — a myth-and-fact pair plus practical questions
   ========================================================= */

.faq__myths { display: grid; gap: var(--s6); margin-bottom: var(--s8); }

@media (min-width: 820px) {
  .faq__myths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.myth {
  border: 1px dashed var(--slate-400);
  background: var(--paper-hi);
  padding: var(--s5);
}

.myth__label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
}

.myth__claim {
  margin-top: var(--s2);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.myth__fact {
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px dotted var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-70);
}

.myth__fact b {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  margin-right: var(--s2);
  vertical-align: 2px;
}

.faq__list { display: grid; gap: var(--s6); }

.faq-item {
  display: grid;
  gap: var(--s3);
  padding-top: var(--s5);
  border-top: 1px dotted var(--slate-400);
}

@media (min-width: 820px) {
  .faq-item { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s7); }
}

.faq-q {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0;
}

.faq-a { font-size: 0.9375rem; line-height: 1.68; color: var(--ink-70); }
.faq-a p + p { margin-top: var(--s3); }

/* =========================================================
   NOTE — compact disclaimer strip
   ========================================================= */

.note-strip {
  border-top: 1px dashed var(--slate-400);
  border-bottom: 1px dashed var(--slate-400);
  padding: var(--s6) 0;
}

.note-strip p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 92ch;
}

.note-strip p + p { margin-top: var(--s3); }

/* =========================================================
   FOOT — legal, disclosure, contact and safety links
   ========================================================= */

.foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--s8) var(--s6);
  position: relative;
  overflow: clip;
}

.foot__mark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 280px;
  opacity: 0.06;
  pointer-events: none;
}

.foot__grid {
  position: relative;
  display: grid;
  gap: var(--s7);
}

@media (min-width: 620px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
}

@media (min-width: 1000px) {
  .foot__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  color: var(--paper-hi);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.foot__blurb {
  margin-top: var(--s4);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.7);
}

.foot__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s4);
}

.foot-nav { list-style: none; margin: 0; padding: 0; }
.foot-nav li + li { margin-top: var(--s2); }

.foot-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.32);
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.28s ease, color 0.2s ease;
}

.foot-nav a:hover { color: var(--paper-hi); background-size: 100% 2px; }

.foot__base {
  position: relative;
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px dashed rgba(255, 255, 255, 0.24);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
  align-items: baseline;
  justify-content: space-between;
}

.foot__base p { font-size: 0.78125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.6); max-width: 70ch; }

.foot__base a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

.foot__base a:hover { border-bottom-style: solid; }

/* =========================================================
   COOKIE — consent banner (progressive, JS only)
   ========================================================= */

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--teal-deep);
  border-top: 2px solid var(--yellow);
  color: var(--paper-hi);
  padding: var(--s5) 0;
  display: none;
}

.cookie.is-visible { display: block; }

.cookie__inner {
  display: grid;
  gap: var(--s4);
  align-items: center;
}

@media (min-width: 860px) {
  .cookie__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s7); }
}

.cookie__text { font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

.cookie__text a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; }

.cookie__btn {
  background: none;
  border: 0;
  border-bottom: 4px solid var(--yellow);
  color: var(--paper-hi);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0 3px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cookie__btn:hover { border-bottom-color: var(--paper-hi); }

.cookie__btn--quiet {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   PAGE — interior page opening block and content helpers
   ========================================================= */

.page-head {
  position: relative;
  background-color: var(--slate-100);
  background-image: linear-gradient(rgba(242, 245, 247, 0.82), rgba(242, 245, 247, 0.94)), url("/assets/band-slate.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px dashed var(--slate-300);
  padding-block: clamp(44px, 6vw, 88px);
}

.page-head__title {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-left: -0.04em;
  max-width: 20ch;
}

.page-head__title b { font-weight: 900; }

.page-head__intro {
  margin-top: var(--s6);
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-70);
}

.page-head__meta {
  margin-top: var(--s6);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
}

/* wide screens set the headline against the standfirst rather than
   leaving the right half of the band empty */
@media (min-width: 1000px) {
  .page-head .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: var(--s8);
    align-items: end;
  }

  .page-head .eyebrow,
  .page-head__meta { grid-column: 1 / -1; }

  .page-head__title { grid-column: 1; max-width: none; }

  .page-head__intro {
    grid-column: 2;
    margin-top: 0;
    max-width: none;
    font-size: 1.0625rem;
  }
}

.page-body { padding-block: var(--band); }

.page-grid { display: grid; gap: var(--s8); }

@media (min-width: 1000px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 288px; gap: clamp(48px, 5vw, 80px); }
  .page-grid__rail { position: sticky; top: 96px; align-self: start; border-left: 2px dotted var(--slate-400); padding-left: var(--s6); }
}

.page-figure { margin-block: var(--s8); }

.page-figure--split { display: grid; gap: var(--s6); }

@media (min-width: 820px) {
  .page-figure--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
}

.callout {
  border: 1px dashed var(--teal);
  background: var(--teal-tint);
  padding: var(--s5);
}

.callout h3 { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; }
.callout p { margin-top: var(--s3); font-size: 0.9375rem; line-height: 1.62; }

.panel {
  border: 1px dashed var(--slate-400);
  background: var(--paper-hi);
  padding: var(--s5);
}

.panel + .panel { margin-top: var(--s5); }
.panel h3 { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--s3); }
.panel p { font-size: 0.9375rem; line-height: 1.62; }
.panel p + p { margin-top: var(--s3); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr);
  column-gap: var(--s4);
  row-gap: 0;
  padding: var(--s5) 0;
  border-bottom: 1px dotted var(--slate-300);
}

.steps li:first-child { border-top: 1px dotted var(--slate-300); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  padding-top: 0.22em;
}

.steps strong { grid-column: 2; font-weight: 700; margin-bottom: 5px; }
.steps span { grid-column: 2; font-size: 0.9375rem; line-height: 1.62; color: var(--ink-70); }

.termlist { margin: 0; }

.termlist > div {
  padding: var(--s5) 0;
  border-bottom: 1px dotted var(--slate-300);
}

.termlist > div:first-child { border-top: 1px dotted var(--slate-300); }

.termlist dt {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--s2);
}

.termlist dd { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--ink-70); }

/* =========================================================
   FORM — contact
   ========================================================= */

.form { display: grid; gap: var(--s5); max-width: 46rem; margin-top: var(--s7); }

.form__row { display: grid; gap: var(--s5); }

@media (min-width: 640px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__field { display: grid; gap: var(--s2); }

.form__field label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
}

.form__field input,
.form__field select,
.form__field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-hi);
  border: 1px dashed var(--slate-400);
  padding: 12px 14px;
  width: 100%;
}

.form__field textarea { min-height: 168px; resize: vertical; }

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { border-style: solid; border-color: var(--teal); }

.form__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: var(--s3);
  align-items: start;
}

.form__consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--teal); }
.form__consent span { font-size: 0.875rem; line-height: 1.55; color: var(--ink-70); }

.form__submit {
  justify-self: start;
  background: none;
  border: 0;
  border-bottom: 4px solid var(--yellow);
  color: var(--teal);
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 0 0 3px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.form__submit:hover { border-bottom-color: var(--teal); }

.form__status {
  font-size: 0.9375rem;
  line-height: 1.6;
  border: 1px dashed var(--teal);
  background: var(--teal-tint);
  padding: var(--s4);
  display: none;
}

.form__status.is-shown { display: block; }
