:root {
  --ground: #17242A;
  --text: #F4EEDD;
  --muted: #B9B09F;
  --line: #52656B;
  --accent: #D79A2B;
  --measure: 72ch;
  --rail: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', Times, serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.58;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(82, 101, 107, .22) 1px, transparent 1px) 0 0 / 12rem 100%,
    linear-gradient(rgba(82, 101, 107, .12) 1px, transparent 1px) 0 0 / 100% 8.5rem;
  opacity: .28;
}

a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--accent);
}

p, li, td, th, h1, h2, h3, strong, a, small {
  min-width: 0;
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 5.8vw, 4.5rem);
  max-width: 13ch;
  margin-bottom: 1.6rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -.025em;
}

p {
  margin: 0;
  max-width: var(--measure);
}

svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.spec-page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.spec-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem clamp(1rem, 4vw, 4rem) 1.35rem calc(var(--rail) + clamp(1rem, 4vw, 4rem));
  border-bottom: 1px solid rgba(82, 101, 107, .75);
}

.spec-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.spec-brand span {
  font-size: 1.375rem;
  letter-spacing: -.04em;
}

.spec-brand small,
.spec-kicker,
.spec-anchor p,
.spec-rail__label {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.spec-brand small {
  margin-top: .38rem;
}

.spec-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem 1.25rem;
  font-size: .96rem;
}

.spec-nav a {
  text-decoration: none;
  color: var(--muted);
}

.spec-nav a:hover,
.spec-nav a[aria-current="page"] {
  color: var(--text);
}

.spec-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .35em;
}

.spec-rail {
  position: fixed;
  z-index: 5;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-right: 1px solid rgba(82, 101, 107, .75);
  background: rgba(23, 36, 42, .88);
}

.spec-rail__mark {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 1.375rem;
  line-height: 1;
}

.spec-rail__track {
  position: relative;
  width: 1px;
  background: rgba(82, 101, 107, .9);
  overflow: hidden;
}

.spec-rail__bar {
  position: absolute;
  inset: 0 0 auto;
  height: 0%;
  background: var(--accent);
}

.spec-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0;
  max-width: none;
}

.spec-hero {
  position: relative;
  min-height: calc(100vh - 5.5rem);
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 5vw, 6rem) clamp(5rem, 9vw, 8rem) calc(var(--rail) + clamp(1rem, 5vw, 6rem));
  overflow: hidden;
  border-bottom: 1px solid rgba(82, 101, 107, .75);
}

.spec-hero__visual {
  position: absolute;
  inset: 3.5rem 2rem 3.5rem calc(var(--rail) + 2rem);
  opacity: .82;
  transform-origin: 50% 50%;
  animation: specDrift 28s ease-in-out infinite alternate;
}

.spec-ledger {
  border: 1px solid rgba(82, 101, 107, .72);
}

.spec-hero__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 74rem);
  display: grid;
  justify-items: center;
  text-align: center;
}

.spec-display {
  font-size: clamp(4.15rem, 10.5vw, 7.75rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .86;
  max-width: 11ch;
  margin: .7rem auto 1.6rem;
}

.spec-wipe {
  background: linear-gradient(90deg, var(--text) 0 48%, rgba(244, 238, 221, .38) 52% 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: specWipe 1.1s cubic-bezier(.2, .7, .1, 1) .12s forwards;
}

.spec-lede {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--text);
  max-width: 38ch;
}

.spec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.25rem;
  margin-top: 2rem;
}

.spec-button {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.05rem .82rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  line-height: 1.1;
}

.spec-button:hover {
  color: var(--text);
  border-color: var(--text);
}

.spec-link {
  color: var(--muted);
  text-decoration-color: var(--line);
}

.spec-shell {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 6rem) clamp(3rem, 7vw, 6rem) calc(var(--rail) + clamp(1rem, 5vw, 6rem));
}

.spec-shell--page {
  padding-top: clamp(4rem, 8vw, 8rem);
}

.spec-anchor {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  display: grid;
  gap: .85rem;
  padding-top: .35rem;
}

.spec-anchor p {
  margin-bottom: .55rem;
}

.spec-anchor a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
  border-left: 1px solid var(--line);
  padding-left: .85rem;
  transition: color .18s ease, transform .18s ease, border-color .18s ease;
}

.spec-anchor a:hover,
.spec-anchor a.is-active {
  color: var(--text);
  border-color: var(--accent);
  transform: translateX(.28rem);
}

.spec-content {
  min-width: 0;
  display: grid;
  gap: clamp(5rem, 10vw, 9rem);
}

.spec-section {
  scroll-margin-top: 2rem;
}

.spec-pagehead {
  padding-bottom: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(82, 101, 107, .75);
}

.spec-pagehead .spec-display {
  margin-left: 0;
  margin-right: 0;
  max-width: 10.5ch;
}

.spec-pagehead .spec-lede {
  max-width: 45ch;
}

.spec-kicker {
  margin-bottom: 1.1rem;
}

.spec-large {
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  line-height: 1.42;
  max-width: 65ch;
}

.spec-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1px;
  border: 1px solid rgba(82, 101, 107, .75);
}

.spec-columns > article {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  border-right: 1px solid rgba(82, 101, 107, .75);
  display: grid;
  gap: 1.05rem;
}

.spec-columns > article:last-child {
  border-right: 0;
}

.spec-columns--stretch {
  align-items: stretch;
}

.spec-columns--stretch > article {
  align-content: start;
}

.spec-columns strong {
  color: var(--accent);
  font-size: 1.18rem;
}

.spec-number {
  color: var(--accent);
  font-size: .875rem;
  letter-spacing: .16em;
}

.spec-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.spec-split h3 {
  margin-bottom: 1.2rem;
}

.spec-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: .95rem;
  max-width: var(--measure);
}

.spec-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
  transition: color .18s ease, transform .18s ease;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .55rem;
  height: 1px;
  background: var(--accent);
  transition: width .18s ease, background-color .18s ease;
}

.spec-list li:hover {
  color: var(--text);
  transform: translateX(.25rem);
}

.spec-list li:hover::before {
  width: .85rem;
  background: var(--text);
}

.spec-list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}

.spec-list--ordered {
  counter-reset: records;
}

.spec-list--ordered li {
  counter-increment: records;
}

.spec-list--ordered li::before {
  content: counter(records, decimal-leading-zero);
  top: 0;
  width: auto;
  height: auto;
  background: none;
  color: var(--accent);
  font-size: .875rem;
}

.spec-rulelist {
  display: grid;
  border-top: 1px solid rgba(82, 101, 107, .75);
}

.spec-rulelist article {
  display: grid;
  grid-template-columns: minmax(11rem, 19rem) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(82, 101, 107, .75);
}

.spec-rulelist p,
.spec-bands p,
.spec-pricecard p {
  color: var(--muted);
}

.spec-favourite {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.spec-favourite .spec-large + .spec-large {
  margin-top: 1.35rem;
}

.spec-favourite .spec-button {
  margin-top: 2rem;
}

.spec-tablewrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(82, 101, 107, .75);
}

.spec-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  border-bottom: 1px solid rgba(82, 101, 107, .75);
  border-right: 1px solid rgba(82, 101, 107, .55);
}

.spec-table th {
  color: var(--text);
  font-weight: 600;
}

.spec-table td {
  color: var(--muted);
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th:last-child,
.spec-table td:last-child {
  border-right: 0;
}

.spec-note {
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  max-width: var(--measure);
}

.spec-bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(82, 101, 107, .75);
  border-bottom: 1px solid rgba(82, 101, 107, .75);
  margin: 1.5rem 0;
}

.spec-bands div {
  min-width: 0;
  padding: 1.3rem;
  border-right: 1px solid rgba(82, 101, 107, .75);
}

.spec-bands div:last-child {
  border-right: 0;
}

.spec-bands strong {
  display: block;
  color: var(--text);
  margin-bottom: .6rem;
}

.spec-contactblock {
  border-top: 1px solid rgba(82, 101, 107, .75);
  border-bottom: 1px solid rgba(82, 101, 107, .75);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.spec-contactblock p:first-child {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 1.1rem;
}

.spec-contactblock--large p:first-child {
  font-size: clamp(2.25rem, 7vw, 6rem);
}

.spec-pricegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1px;
  border: 1px solid rgba(82, 101, 107, .75);
}

.spec-pricecard {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-right: 1px solid rgba(82, 101, 107, .75);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-pricecard:last-child {
  border-right: 0;
}

.spec-pricecard h3 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.spec-pricecard h3 span {
  display: block;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--muted);
}

.spec-pricecard .spec-button {
  margin-top: auto;
}

.spec-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem clamp(1rem, 5vw, 6rem) 2.2rem calc(var(--rail) + clamp(1rem, 5vw, 6rem));
  border-top: 1px solid rgba(82, 101, 107, .75);
  color: var(--muted);
}

.spec-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}

.spec-footer a {
  color: var(--muted);
}

.js .spec-fade.is-hidden {
  opacity: 0;
  transform: translateY(1rem);
}

.js .spec-fade {
  transition: opacity .7s ease, transform .7s ease;
}

@keyframes specDrift {
  from {
    transform: scale(1.04) translate(-1.2%, .8%);
  }
  to {
    transform: scale(1.12) translate(1.8%, -1.4%);
  }
}

@keyframes specWipe {
  to {
    background-position: 0 0;
  }
}

@media (max-width: 980px) {
  :root {
    --rail: 0rem;
  }

  .spec-rail {
    display: none;
  }

  .spec-header,
  .spec-hero,
  .spec-shell,
  .spec-footer {
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
  }

  .spec-header {
    flex-direction: column;
  }

  .spec-nav {
    justify-content: flex-start;
  }

  .spec-hero__visual {
    inset: 5.5rem 1rem 2rem;
  }

  .spec-shell {
    grid-template-columns: 1fr;
  }

  .spec-anchor {
    position: relative;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem .9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(82, 101, 107, .75);
  }

  .spec-anchor p {
    flex-basis: 100%;
    margin: 0;
  }

  .spec-anchor a {
    border-left: 0;
    padding-left: 0;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: .28em;
  }

  .spec-columns,
  .spec-pricegrid,
  .spec-bands,
  .spec-split,
  .spec-list--two {
    grid-template-columns: 1fr;
  }

  .spec-columns > article,
  .spec-pricecard,
  .spec-bands div {
    border-right: 0;
    border-bottom: 1px solid rgba(82, 101, 107, .75);
  }

  .spec-columns > article:last-child,
  .spec-pricecard:last-child,
  .spec-bands div:last-child {
    border-bottom: 0;
  }

  .spec-rulelist article {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .spec-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1.0625rem;
  }

  .spec-display {
    font-size: clamp(3.35rem, 18vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.05rem, 13vw, 3.3rem);
  }

  .spec-hero {
    justify-items: start;
    text-align: left;
  }

  .spec-hero__copy {
    justify-items: start;
    text-align: left;
  }

  .spec-actions {
    align-items: flex-start;
  }

  .spec-contactblock p:first-child {
    font-size: clamp(1.7rem, 12vw, 2.5rem);
  }

  .spec-table {
    min-width: 0;
    table-layout: fixed;
  }

  .spec-table th,
  .spec-table td {
    padding: .85rem;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .spec-hero__visual {
    animation: none;
  }

  .spec-wipe {
    background-position: 0 0;
  }

  .js .spec-fade.is-hidden {
    opacity: 1;
    transform: none;
  }
}