:root {
  color-scheme: light;
  --ink: #18201b;
  --ink-soft: #303a33;
  --muted: #566159;
  --paper: #fffdf8;
  --white: #ffffff;
  --soft: #f0eee6;
  --soft-green: #dfece5;
  --line: #c9cdc7;
  --line-dark: #89928b;
  --accent: #c63e1f;
  --accent-dark: #8f2813;
  --forest: #173e31;
  --forest-light: #789087;
  --yellow: #f2c14e;
  --yellow-light: #ffd978;
  --error: #841f0e;
  --max-width: 1180px;
  --content-width: 760px;
  --font-sans: Arial, Helvetica, sans-serif;
  --shadow-hard: 8px 8px 0 var(--ink);
  --focus-ring: 3px solid var(--yellow);
  --header-height: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button,
input,
select,
textarea {
  color: inherit;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  color: #641a0d;
  text-decoration-thickness: 2px;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
nav,
address,
.company-details {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 800;
}

h1 {
  max-width: 920px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 11vw, 6.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 8vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
}

address {
  font-style: normal;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

/* Header and navigation */

.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 248 / 96%);
  color: var(--ink);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max-width));
  height: 100%;
  margin-inline: auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-decoration: none;
}

.brand:hover {
  color: var(--accent-dark);
}

.brand-mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.brand-mark rect {
  fill: var(--accent);
}

.brand-mark path {
  fill: var(--paper);
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-toggle {
  display: block;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.menu-toggle:hover {
  background: var(--soft);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--ink);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--header-height));
  padding: 1rem 1.5rem 1.5rem;
  overflow-y: auto;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 24px rgb(24 32 27 / 12%);
}

.mobile-nav.is-visible {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0;
}

.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

/* Shared controls */

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #3e4841;
  font-size: clamp(1.08rem, 4vw, 1.45rem);
  line-height: 1.5;
}

.button-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.button,
.cookie-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.button:hover,
.cookie-actions button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white);
}

.button-secondary {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.text-link,
.card-link {
  font-weight: 800;
}

/* Home page */

.hero {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2.5rem;
}

.hero-figure {
  margin: 0;
  padding-top: 1rem;
  border-top: 8px solid var(--yellow);
}

.hero-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.hero-figure figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.25rem 1.5rem;
  border-top: 8px solid var(--accent);
  background: var(--soft);
  color: var(--ink);
}

.guide-card:nth-child(even) {
  border-top-color: var(--forest);
}

.guide-card > * + * {
  margin-top: 1.5rem;
}

.guide-card h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 7vw, 2.5rem);
}

.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.card-number {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.25rem 0.55rem;
  border: 1px solid #959d97;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.card-link {
  margin-top: auto;
  padding-top: 1.5rem;
}

.method-section {
  border-block: 1px solid var(--line);
  background: var(--forest);
  color: var(--white);
}

.method-section .eyebrow {
  color: var(--yellow-light);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--forest-light);
}

.process-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.process-list span {
  color: var(--yellow-light);
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 0.5rem;
}

.process-list p {
  color: #e1eae5;
}

.newsletter-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem;
  border-left: 8px solid var(--yellow);
  background: var(--soft);
  color: var(--ink);
}

.newsletter-box h2 {
  max-width: 760px;
  margin-bottom: 0;
}

/* Guide articles */

.article-hero,
.contact-hero {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2.5rem;
}

.article-hero h1,
.contact-hero h1,
.legal-header h1 {
  font-size: clamp(2.45rem, 11vw, 5.5rem);
}

.article-hero img {
  aspect-ratio: 4 / 3;
  border-top: 8px solid var(--yellow);
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.article-aside {
  align-self: start;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.article-aside nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.article-aside a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-content {
  max-width: var(--content-width);
}

.article-content section {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.article-content section + section,
.legal-content section + section {
  margin-top: 4rem;
}

.article-content p,
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.article-content h2,
.legal-content h2 {
  font-size: clamp(1.8rem, 7vw, 2.8rem);
}

.article-content h3,
.legal-content h3 {
  margin-top: 2rem;
}

.callout {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 8px solid var(--yellow);
  background: var(--soft);
  color: var(--ink);
}

.callout h3 {
  margin-top: 0;
}

.comparison-table-wrap {
  max-width: 100%;
  margin: 2.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

caption {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:first-child,
td:first-child {
  border-left: 0;
}

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

th {
  border-color: #466458;
  background: var(--forest);
  color: var(--white);
}

td {
  background: var(--paper);
  color: var(--ink);
}

tbody tr:nth-child(even) td {
  background: #f8f6ef;
}

.article-pagination {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-pagination a {
  font-weight: 800;
}

/* Legal pages */

.legal-main {
  padding: 2.75rem 0 4rem;
}

.legal-content {
  max-width: 860px;
}

.legal-header {
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 8px solid var(--accent);
}

.legal-header > p:last-child {
  max-width: 740px;
  font-size: 1.08rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li + li {
  margin-top: 1rem;
}

/* Contact page */

.contact-hero .page-shell {
  max-width: var(--max-width);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-form-panel {
  padding: 1.5rem;
  border-top: 8px solid var(--accent);
  background: var(--soft);
  color: var(--ink);
}

.contact-form-panel form {
  display: grid;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #6e7771;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.consent-field.is-invalid {
  border: 2px solid #a42612;
}

.field-help,
.field-error {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.field-help {
  color: var(--muted);
}

.field-error {
  min-height: 1.4em;
  color: var(--error);
  font-weight: 700;
}

.consent-field {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid transparent;
}

.consent-field input,
.preferences-panel input {
  width: 20px;
  height: 20px;
  margin: 0.2rem 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.form-status {
  padding: 1rem;
  border-left: 8px solid var(--forest);
  background: var(--soft-green);
  color: var(--forest);
  font-weight: 700;
}

.form-status.is-visible {
  display: block !important;
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 2.5rem;
}

.contact-details > div:not(.static-map) {
  padding-left: 1rem;
  border-left: 4px solid var(--yellow);
}

.contact-details h2 {
  font-size: 1.7rem;
}

.static-map {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e6dc;
  color: var(--ink);
}

.static-map svg {
  width: 100%;
  height: auto;
}

.map-river {
  fill: none;
  stroke: #78aeb7;
  stroke-width: 34;
}

.map-road {
  fill: none;
  stroke: var(--white);
  stroke-width: 11;
}

.map-road-secondary {
  stroke-width: 7;
}

.map-pin {
  fill: var(--accent);
}

.map-pin-centre {
  fill: var(--white);
}

.static-map text {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
}

/* Footer */

.site-footer {
  padding-top: 4rem;
  background: #111713;
  color: #f3f4f1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  color: #cbd2cd;
  font-size: 0.88rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.5rem;
  color: #f8d577;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  font-size: 1.2rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid #4f5b53;
}

.footer-bottom p {
  margin: 0;
}

/* Cookie controls */

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1180px;
  max-height: calc(100vh - 1rem);
  margin-inline: auto;
  padding: 1rem;
  overflow-y: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.cookie-banner.is-visible {
  display: grid !important;
}

.cookie-banner strong {
  font-size: 1.05rem;
}

.cookie-banner p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.cookie-actions button {
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
}

.cookie-actions button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white);
}

.preferences-dialog {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgb(17 23 19 / 86%);
}

.preferences-dialog.is-visible {
  display: grid !important;
}

.preferences-panel {
  width: min(100%, 540px);
  max-height: calc(100vh - 2rem);
  padding: 1.5rem 1rem;
  overflow-y: auto;
  border-top: 8px solid var(--accent);
  background: var(--paper);
  color: var(--ink);
}

.preferences-panel h2 {
  font-size: 2rem;
}

.preferences-panel label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

/* Small tablets */

@media (min-width: 36rem) {
  .page-shell,
  .header-inner {
    width: min(calc(100% - 3rem), var(--max-width));
  }

  .button-row {
    flex-flow: row wrap;
    align-items: center;
  }

  .button-row .button {
    width: auto;
  }

  .mobile-nav.is-visible {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
  }

  .guide-card {
    padding: 2rem 1.5rem 1.5rem;
  }

  .article-aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-pagination {
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form-panel,
  .preferences-panel {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablets and compact laptops */

@media (min-width: 48rem) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 1.0625rem;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .hero,
  .article-hero,
  .contact-hero {
    padding: 4rem 0;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-grid,
  .article-hero-grid {
    gap: 3rem;
  }

  .hero-figure {
    max-width: 620px;
    padding-top: 0;
    padding-left: 1rem;
    border-top: 0;
    border-left: 8px solid var(--yellow);
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-card {
    min-height: 360px;
  }

  .method-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
  }

  .newsletter-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }

  .article-hero img {
    max-width: 620px;
    border-top: 0;
    border-left: 8px solid var(--yellow);
  }

  .article-layout {
    grid-template-columns: 180px minmax(0, var(--content-width));
    justify-content: center;
    gap: 2.5rem;
    padding-top: 4rem;
  }

  .article-aside {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }

  .article-aside nav {
    grid-template-columns: 1fr;
  }

  .legal-main {
    padding: 4rem 0;
  }

  .contact-form-panel {
    padding: 2.5rem;
  }

  .cookie-banner {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-hard);
  }
}

/* Desktop */

@media (min-width: 56.25rem) {
  .header-inner {
    grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
    gap: 1.5rem;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .desktop-nav a {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
  }

  .desktop-nav a:hover,
  .desktop-nav a[aria-current="page"] {
    color: var(--accent-dark);
    text-decoration: underline;
  }

  .header-cta {
    display: inline-flex;
    justify-self: end;
    padding: 0.55rem 1rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  .header-cta:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: var(--white);
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 4rem;
  }

  .article-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
    gap: 4rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
    gap: 1.5rem 4rem;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
  }

  .section-heading > p:last-child {
    align-self: end;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.65fr 0.65fr 1fr;
  }

  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }

  .cookie-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

/* Large screens */

@media (min-width: 75rem) {
  .hero,
  .article-hero,
  .contact-hero {
    padding: 5rem 0;
  }

  .section {
    padding: 6rem 0;
  }

  .guide-grid {
    gap: 2rem;
  }

  .method-grid,
  .contact-grid,
  .article-hero-grid {
    gap: 5rem;
  }

  .article-layout {
    grid-template-columns: 220px minmax(0, var(--content-width));
    gap: 4rem;
  }
}

/* Very narrow screens */

@media (max-width: 24.9375rem) {
  .page-shell,
  .header-inner {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand-mark {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .guide-card,
  .contact-form-panel {
    padding: 1.5rem 1rem;
  }

  .process-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.75rem;
  }
}

/* Motion and printing */

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

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: var(--white);
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .article-aside,
  .article-pagination,
  .cookie-banner,
  .preferences-dialog,
  .button-row,
  .newsletter-section {
    display: none !important;
  }

  .page-shell,
  .legal-content,
  .article-content {
    width: 100%;
    max-width: none;
  }

  .article-hero,
  .contact-hero,
  .legal-main,
  .article-layout,
  .section {
    padding: 1rem 0;
  }

  .article-hero-grid,
  .article-layout,
  .contact-grid {
    display: block;
  }

  .article-hero img,
  .hero-figure,
  .static-map {
    max-width: 50%;
    margin-top: 1rem;
  }

  h1 {
    font-size: 30pt;
  }

  h2 {
    font-size: 20pt;
  }

  a {
    color: #000;
  }

  table {
    min-width: 0;
    font-size: 9pt;
  }

  th {
    background: #ddd !important;
    color: #000 !important;
  }

  .comparison-table-wrap {
    overflow: visible;
  }

  section,
  table,
  figure,
  .callout {
    break-inside: avoid;
  }
}