@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #171d1d;
  --ink-soft: #34403f;
  --muted: #687371;
  --paper: #f4f3ee;
  --paper-deep: #eae9e1;
  --white: #fff;
  --teal: #63c5c0;
  --teal-deep: #277c79;
  --ochre: #d19a45;
  --line: #d8dad3;
  --dark: #111719;
  --dark-soft: #1a2223;
  --content-width: 1320px;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

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

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--teal);
  color: var(--dark);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--teal);
  color: var(--dark);
  font-weight: 700;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Shared page width and safe text wrapping */
.section-wrap {
  width: min(var(--content-width), calc(100% - var(--gutter) - var(--gutter)));
  margin-inline: auto;
}

.article-copy,
.rail-card,
.card-panel,
.footer-brand,
.hero-specs,
.contact-strip {
  min-width: 0;
  overflow-wrap: break-word;
}

.hero-specs strong,
.card-meta strong {
  overflow-wrap: anywhere;
}

/* Site navigation */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid rgba(23, 29, 29, 0.1);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.brand-mark {
  width: 2.45rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal-deep);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.brand-mark path + path {
  stroke: var(--ochre);
}

.brand-light {
  color: var(--muted);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.menu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.primary-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem var(--gutter) 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 14px 24px rgba(17, 23, 25, 0.1);
}

.menu-toggle[aria-expanded="true"] + .primary-nav {
  display: flex;
}

.primary-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(23, 29, 29, 0.09);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease;
}

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

.primary-nav .nav-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  color: var(--ink);
}

/* Shared type and actions */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--teal-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-number {
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

.eyebrow-line {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: var(--ochre);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 9vw, 6.7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
}

h3 {
  line-height: 1.2;
}

h1 em,
h2 em {
  color: var(--teal-deep);
  font-style: normal;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--dark);
  color: var(--white);
}

.button-dark:hover {
  background: var(--teal-deep);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.button-light:hover {
  background: var(--white);
  color: var(--dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
}

.text-link span {
  color: var(--teal-deep);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Homepage hero */
.hero {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.25rem, 8vw, 7rem);
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 12ch;
}

.hero-copy h1 em {
  white-space: normal;
}

.hero-intro {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}

.hero-visual,
.page-hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-visual img {
  aspect-ratio: 1.12 / 1;
}

.hero-visual::after,
.page-hero-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(17, 23, 25, 0.52));
  content: "";
  pointer-events: none;
}

.hero-visual figcaption,
.page-hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual figcaption span:last-child,
.page-hero-image figcaption span:last-child {
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: none;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hero-specs > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-specs span,
.card-meta span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-specs strong,
.card-meta strong {
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Intro and guide index */
.intro-band {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band .eyebrow {
  margin-bottom: 0;
}

.intro-band > p:last-child {
  max-width: 62rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.topic-section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.section-heading > p {
  max-width: 23rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.topic-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--white);
}

.topic-card > img {
  aspect-ratio: 1.45 / 1;
  background: var(--paper-deep);
}

.card-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
}

.card-panel .eyebrow {
  margin-bottom: 0.65rem;
  font-size: 0.61rem;
}

.card-panel h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.card-panel > p:not(.eyebrow) {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.card-meta {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
  margin-bottom: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

/* Road-book sequence */
.sequence-section {
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: var(--dark);
  color: #dfe6e3;
}

.sequence-section h2,
.sequence-section h3 {
  color: var(--white);
}

.sequence-section h2 em {
  color: var(--teal);
}

.section-heading-light .eyebrow {
  color: var(--teal);
}

.section-heading-light > p {
  color: #aeb9b6;
}

.sequence-line {
  position: relative;
  height: 1px;
  margin: 2.5rem 0 1rem;
  background: rgba(255, 255, 255, 0.2);
}

.sequence-line span {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 8rem 0 var(--teal), 16rem 0 var(--ochre), 24rem 0 var(--teal), 32rem 0 var(--ochre);
}

.sequence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.sequence-grid article {
  min-width: 0;
  padding-top: 0.8rem;
}

.sequence-no {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ochre);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.sequence-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.sequence-grid p {
  max-width: 19rem;
  margin-bottom: 0;
  color: #aeb9b6;
  font-size: 0.86rem;
  line-height: 1.65;
}

.profile-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
}

.profile-block .eyebrow {
  color: var(--ochre);
}

.profile-block h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.profile-block p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: #aeb9b6;
  font-size: 0.88rem;
}

.elevation-profile {
  width: 100%;
  align-self: end;
  overflow: visible;
}

.profile-fill {
  fill: rgba(99, 197, 192, 0.16);
}

.profile-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.profile-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.27);
  stroke-width: 1;
}

.elevation-profile text {
  fill: #aeb9b6;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 1px;
}

/* Closing callout */
.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.closing-cta h2 {
  max-width: 13ch;
}

.closing-cta > div > p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* Interior page hero */
.page-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-copy h1 {
  font-size: clamp(2.75rem, 8vw, 5.7rem);
}

.page-hero-copy > .lead {
  max-width: 43rem;
  margin-bottom: 0;
}

.page-hero-copy .hero-specs {
  max-width: 40rem;
}

.page-hero-image img {
  aspect-ratio: 1.2 / 1;
}

/* Article template */
.article-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
  padding-block: 1rem clamp(4rem, 8vw, 7rem);
}

.article-copy {
  min-width: 0;
  max-width: 52rem;
}

.article-copy > .eyebrow {
  margin-bottom: 1.1rem;
}

.article-copy > .lead {
  margin-bottom: 2.3rem;
}

.article-copy h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.article-copy p,
.article-copy li {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.article-copy p {
  margin-bottom: 1.15rem;
}

.article-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.checklist {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
}

.checklist li::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.75rem;
  height: 0.4rem;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--teal-deep);
  border-left: 2px solid var(--teal-deep);
  content: "";
}

.article-rail {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.rail-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.rail-card .eyebrow {
  margin-bottom: 0.8rem;
}

.rail-card > strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.rail-card > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.rail-accent {
  border-top: 3px solid var(--teal-deep);
}

.rail-accent > a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.rail-accent > a span {
  color: var(--teal-deep);
}

.rail-accent > a:hover {
  color: var(--teal-deep);
}

/* Contact strip */
.article-contact {
  padding-block: 3rem;
  background: var(--teal-deep);
  color: var(--white);
}

.contact-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-strip .eyebrow {
  color: #b9efea;
}

.contact-strip h2 {
  margin-bottom: 0.6rem;
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.contact-strip p:not(.eyebrow) {
  max-width: 40rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #dfe6e3;
}

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

.footer-domain {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.footer-brand > p {
  color: #aeb9b6;
  font-size: 0.85rem;
}

.footer-brand .company-details {
  margin: 1.5rem 0 0;
  color: #899592;
  font-size: 0.76rem;
  line-height: 1.8;
}

.company-details a {
  color: var(--teal);
}

.company-details a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links h2 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.footer-links a {
  color: #aeb9b6;
  font-size: 0.81rem;
  transition: color 160ms ease;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1rem 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #899592;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom i {
  color: var(--ochre);
  font-style: normal;
}

/* Cookie preferences */
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  max-width: 58rem;
  margin-inline: auto;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--dark);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  color: var(--white);
}

.cookie-copy strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.cookie-copy p,
.cookie-preferences-panel p {
  margin: 0.3rem 0 0;
  color: #c0cbc7;
  font-size: 0.8rem;
  line-height: 1.55;
}

.cookie-copy a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions button,
.cookie-preferences-panel button {
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--dark);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.cookie-actions button:hover,
.cookie-preferences-panel button:hover {
  background: transparent;
  color: var(--teal);
}

.cookie-actions .cookie-preferences {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
}

.cookie-preferences-panel {
  grid-column: 1 / -1;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-preferences-panel button {
  margin-top: 0.8rem;
}

/* Forms and common controls for related site pages */
label {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

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

input::placeholder,
textarea::placeholder {
  color: #89928f;
}

form button[type="submit"] {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

form button[type="submit"]:hover {
  background: var(--teal-deep);
}

/* Contact enquiry form */
.contact-form-section {
  margin: 2.8rem 0 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-copy .contact-form-section h2 {
  margin: 0 0 0.75rem;
}

.contact-form-section > p {
  max-width: 43rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  min-width: 0;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}

.contact-form label {
  display: block;
  margin: 0;
  line-height: 1.4;
}

.contact-form input,
.contact-form textarea {
  display: block;
  min-width: 0;
  margin: 0;
  line-height: 1.5;
}

.contact-form textarea {
  min-height: 12rem;
}

.contact-form button[type="submit"] {
  display: inline-flex;
  width: fit-content;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
}

.contact-form button[type="submit"] span {
  color: var(--teal);
}

@media (max-width: 599px) {
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* Wider screens */
@media (min-width: 600px) {
  .hero-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    right: 1.5rem;
    bottom: 1.5rem;
    left: auto;
    width: min(58rem, calc(100% - 3rem));
    padding: 1.4rem;
  }

  .cookie-actions {
    align-items: center;
  }

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

  .form-field-full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .site-header {
    min-height: 5.75rem;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.8rem, 1.6vw, 1.65rem);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 0.45rem 0;
    border: 0;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .primary-nav .nav-contact {
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
  }

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

  .hero-visual img {
    aspect-ratio: 0.92 / 1;
  }

  .intro-band {
    grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 2fr);
    align-items: start;
    gap: 2rem;
    padding-block: 1.7rem;
  }

  .section-heading {
    flex-direction: row;
    align-items: end;
    margin-bottom: 2.5rem;
  }

  .topic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .topic-card {
    grid-column: span 2;
  }

  .topic-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .topic-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .sequence-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .sequence-grid p {
    font-size: 0.81rem;
  }

  .profile-block {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin-top: 5rem;
  }

  .closing-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .closing-cta .button {
    flex: 0 0 auto;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .page-hero-image img {
    aspect-ratio: 1 / 1;
  }

  .page-hero-copy .hero-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.35fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .article-rail {
    position: sticky;
    top: 2rem;
  }

  .contact-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .contact-strip .button {
    flex: 0 0 auto;
  }
}

@media (min-width: 1100px) {
  .site-header {
    padding-inline: max(var(--gutter), calc((100vw - var(--content-width)) / 2));
  }

  .hero-specs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-hero-copy .hero-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-panel {
    padding: 1.55rem;
  }

  .footer-main {
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
    gap: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}