/* The Food Consultant: tokens */
:root {
  --paper: #F3F6F4;
  --tint: #E4EEE9;
  --white: #FFFFFF;
  --ink: #173A31;
  --ink-2: #245046;
  --ink-line: #3D6B5E;
  --line: #CCD9D3;
  --muted: #4A655C;
  --mint: #B8D3C8;
  --red: #D0112B;
  --red-dark: #A80D22;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 1.25 scale on a 17px body */
  --t-xs: 0.8125rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;
  --t-md: 1.33rem;
  --t-lg: 1.66rem;
  --t-xl: 2.08rem;
  --t-2xl: 2.6rem;
  --t-3xl: 3.25rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 28px;

  --gutter: 20px;
  --max: 1240px;
  --section: clamp(4.5rem, 10vw, 8rem);
}

@media (min-width: 720px) {
  :root { --gutter: 40px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* Intro and lead text: the headline face at a lighter weight */
.lede,
.section__lede,
.page-hero__lede,
.about__lead,
.reach__text,
.contact__intro > p,
.way__for,
.route__for,
.cta-band__text {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button--primary { background: var(--red); color: var(--white); }
.button--primary:hover { background: var(--red-dark); }
.button--ghost { border-color: var(--ink); color: var(--ink); }
.button--ghost:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 246, 244, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.wordmark__mark {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a:not(.button) {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}
.site-nav a:not(.button):hover { text-decoration: underline; text-decoration-color: var(--red); }
.site-nav .button { min-height: 44px; padding-inline: 1.25rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

@media (max-width: 1079px) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1.25rem; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a:not(.button) { display: block; padding: 0.9rem 0; font-size: 1.05rem; }
  .site-nav .site-nav__cta { border-top: 0; padding-top: 1rem; }
  .site-nav .button { width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 5.5rem); }

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero__title {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem);
  font-weight: 650;
  font-stretch: 96%;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero__side { display: grid; gap: 1.5rem; max-width: 34rem; }
.lede { font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__assure { font-size: var(--t-sm); color: var(--muted); }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .lede { font-size: 1.3rem; }
}

/* HACCP flow: the page's centrepiece */
.flow {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.flow__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
  font-size: var(--t-sm);
  color: var(--mint);
}
.flow__title { max-width: 52ch; }
.flow__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.key { display: inline-flex; align-items: center; gap: 0.55rem; }
.key .node { width: 11px; height: 11px; }

.node {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 4px;
  background: var(--ink);
  border: 2px solid var(--mint);
}
.node--ccp {
  background: var(--red);
  border-color: var(--red);
  border-radius: 3px;
  transform: rotate(45deg);
}

.flow__track {
  margin-inline: calc(var(--gutter) * -0.5);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.flow__track::-webkit-scrollbar { display: none; }

.flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(8.5rem, 1fr));
  gap: 0.5rem;
  padding: 2rem calc(var(--gutter) * 0.5) 1.5rem;
}

.flow__steps::before {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * 0.5 + 1.5rem);
  right: calc(100% / 6);
  top: calc(2rem + 1rem + 9px);
  height: 2px;
  background: var(--ink-line);
  transform-origin: left;
}

.step {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  padding: 1rem 1rem 1.1rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.step .node { margin: 0 0 0.9rem 0.1rem; position: relative; z-index: 1; }
.step__name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.step__note { font-size: var(--t-xs); color: var(--mint); }
.step--ccp .step__note { color: #FF8A99; font-weight: 600; }

.step:hover { background: var(--ink-2); }
.step[aria-selected="true"] { background: var(--ink-2); border-color: var(--mint); }
.step:focus-visible { outline-color: var(--white); outline-offset: 2px; }

/* the step sheet (a HACCP plan row) */
.sheet {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.sheet__title { font-size: var(--t-lg); }
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--ink);
  font-size: var(--t-xs);
  font-weight: 600;
}
.tag--ccp { background: var(--red); color: var(--white); }

.sheet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem 1.75rem;
}
.sheet__grid dt { font-size: var(--t-xs); font-weight: 600; color: var(--muted); margin-bottom: 0.3rem; }
.sheet__grid dd { font-size: 0.96rem; line-height: 1.5; }
.sheet__grid .is-limit dt { color: var(--red); }
.sheet__grid .is-limit dd { font-weight: 600; }

/* One orchestrated load sequence, plus a small response to tab changes */
@media (prefers-reduced-motion: no-preference) {
  .js .flow__steps::before { transition: transform 1.4s cubic-bezier(.6, 0, .3, 1) .15s; }
  .js .flow:not(.is-drawn) .flow__steps::before { transform: scaleX(0); }
  .js .step { transition: opacity .45s ease, transform .45s ease, background-color .2s ease, border-color .2s ease; transition-delay: calc(.2s + var(--i) * .2s), calc(.2s + var(--i) * .2s), 0s, 0s; }
  .js .flow:not(.is-drawn) .step { opacity: 0; transform: translateY(8px); }
  .js .flow:not(.is-drawn) .sheet { opacity: 0; }
  .js .sheet { transition: opacity .5s ease 1.4s; }
  .js .flow.is-drawn .step--ccp .node--ccp { animation: ccp-pulse 1s ease 1.6s 1 both; }
  .sheet.is-entering { animation: sheet-in .28s ease both; }
}

@keyframes ccp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(208, 17, 43, .6); }
  100% { box-shadow: 0 0 0 14px rgba(208, 17, 43, 0); }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Standards strip */
.standards { padding-bottom: clamp(1rem, 3vw, 2rem); }
.standards__inner {
  display: grid;
  gap: 1rem;
  padding-block: 1.75rem;
  border-block: 1px solid var(--line);
}
.standards__intro { font-size: var(--t-sm); color: var(--muted); }
.standards__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
@media (min-width: 1000px) {
  .standards__inner { grid-template-columns: 14rem 1fr; gap: 3rem; align-items: center; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--white); }

.section__title { font-size: clamp(var(--t-xl), 1.3rem + 2.6vw, var(--t-3xl)); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); max-width: 40rem; }
.section__lede { color: var(--muted); font-size: 1.2rem; }
.section--dark .section__lede { color: var(--mint); }

/* When to call */
.situations {
  display: grid;
  gap: 1rem;
}
.situation {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 4px solid var(--red);
}
.situation__case {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.situation__answer { color: var(--muted); }
.situation__link { font-weight: 600; justify-self: start; }

@media (min-width: 720px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .situations { grid-template-columns: repeat(3, 1fr); } }

/* Services */
.services { display: grid; gap: 2rem; }
.services__nav { display: none; }

.service-group {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--r-lg);
}
.service-group + .service-group { margin-top: 1rem; }
.service-group__name { font-size: var(--t-lg); }

.service-list {
  display: grid;
  gap: 0;
}
.service-list > div {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.service-list dt { font-weight: 600; }
.service-list dd { color: var(--muted); font-size: 0.98rem; max-width: 60ch; }

@media (min-width: 760px) {
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

@media (min-width: 1000px) {
  .services { grid-template-columns: 15rem 1fr; gap: 3rem; align-items: start; }
  .services__nav { display: block; position: sticky; top: 100px; }
  .services__nav li + li { margin-top: 0.15rem; }
  .services__nav a {
    display: block;
    padding: 0.55rem 0.9rem;
    border-radius: var(--r-sm);
    text-decoration: none;
    font-weight: 500;
    color: var(--muted);
  }
  .services__nav a:hover { background: var(--white); color: var(--ink); }
  .services__nav a.is-current { background: var(--ink); color: var(--white); }
}

/* Ways to work */
.ways { display: grid; gap: 1rem; }
.way {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.way--feature { background: var(--ink); border-color: var(--ink); color: var(--white); }
.way__name { font-size: var(--t-xl); }
.way__for { color: var(--muted); font-size: 1.1rem; }
.way--feature .way__for { color: var(--mint); }
.way__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.way--feature .way__list li { border-top-color: var(--ink-line); }
.way__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
}
.way__time {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.way--feature .way__time { border-top-color: var(--ink-line); }

@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }

/* Process (a real sequence, so numbered) */
.process { display: grid; gap: 2rem; }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1.1rem;
  row-gap: 0.35rem;
}
.process__step > * { grid-column: 2; }
.process__num {
  grid-column: 1 !important;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--tint);
  font-family: var(--display);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.process__step:last-child .process__num { background: var(--ink); color: var(--white); }
.process__step h3 { font-size: 1.2rem; display: flex; align-items: center; min-height: 2.75rem; }
.process__step p { color: var(--muted); font-size: 0.98rem; }

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 2.75rem;
  bottom: -2rem;
  width: 1.5px;
  background: var(--ink);
  opacity: .25;
}

@media (min-width: 900px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; }
  .process__step { grid-template-columns: 1fr; row-gap: 0.5rem; }
  .process__step > * { grid-column: 1; }
  .process__num { grid-row: auto; margin-bottom: 0.75rem; }
  .process__step h3 { min-height: 2.6em; align-items: flex-start; }
  .process__step:not(:last-child)::after {
    left: 2.75rem;
    right: -1.75rem;
    top: calc(1.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 1.5px;
  }
}

/* Self-check */
.selfcheck { display: grid; gap: 2.5rem; }
.selfcheck__intro { display: grid; gap: 1rem; align-content: start; }
.result {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--r-lg);
}
.result__score {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.result__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--tint);
  overflow: hidden;
}
.result__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--red);
  transition: width .35s ease, background-color .35s ease;
}
.result__bar span.is-good { background: var(--ink); }
.result__text { color: var(--muted); min-height: 3.2em; }
.result .button { justify-self: start; }

.checklist { display: grid; gap: 0.5rem; }
.check {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: var(--line); }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  border: 1.5px solid var(--muted);
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--white);
}
.check input::after {
  content: "";
  width: 0.45rem;
  height: 0.8rem;
  margin-top: -0.15rem;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check:has(input:checked) { background: var(--tint); }
.check input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

@media (min-width: 1000px) {
  .selfcheck { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .selfcheck__intro { position: sticky; top: 100px; align-self: start; }
}

/* Example projects */
.cases { display: grid; gap: 1rem; }
.case {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--ink-2);
  border-radius: var(--r-lg);
}
.case__result {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.case__who { font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--mint); }
.case__body { display: grid; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--ink-line); }
.case__body dt { font-size: var(--t-xs); font-weight: 600; color: var(--mint); }
.case__body dd { font-size: 0.98rem; }
.case__quote {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}
.case { grid-template-rows: auto auto 1fr auto; }
.case__link { justify-self: start; font-weight: 600; color: var(--white); text-decoration-color: var(--red); }
.section--dark :focus-visible { outline-color: var(--white); }
@media (min-width: 800px) { .cases { grid-template-columns: repeat(2, 1fr); } }

/* Sectors and areas */
.reach { display: grid; gap: 3rem; }
.reach .section__title { font-size: clamp(var(--t-xl), 1.2rem + 1.6vw, var(--t-2xl)); margin-bottom: 1.5rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.96rem;
  font-weight: 500;
}
.reach__text { max-width: 36rem; font-size: 1.15rem; }
.reach__areas { margin-top: 1rem; color: var(--muted); max-width: 36rem; font-size: 0.98rem; }
@media (min-width: 900px) { .reach { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* About */
.about { display: grid; gap: 2.5rem; }
.about__text { display: grid; gap: 1.1rem; max-width: 40rem; }
.about__lead { font-size: var(--t-md); line-height: 1.3; }
.principles { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.principles li { padding-left: 1rem; border-left: 3px solid var(--red); }
.credentials {
  align-self: start;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--r-lg);
}
.credentials h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.credentials li {
  padding-block: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
@media (min-width: 900px) { .about { grid-template-columns: 7fr 5fr; gap: 4rem; } }

/* FAQ */
.faq { display: grid; gap: 2rem; }
.faq__lede { margin-top: 1rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.3rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--tint); }
.faq details p { padding-bottom: 1.5rem; color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) { .faq { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: start; } }

/* Contact */
.section--contact { padding-top: 0; }
.contact {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
}
.contact__intro { display: grid; gap: 1.25rem; align-content: start; }
.contact__intro > p { color: var(--mint); font-size: 1.2rem; }
.contact__direct { margin-top: 0.5rem; border-top: 1px solid var(--ink-line); }
.contact__direct li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--ink-line);
}
.contact__direct span { color: var(--mint); }
.contact__direct a { font-weight: 600; overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: var(--white); }

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
}
.form :focus-visible { outline-color: var(--red); }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.96rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 0; border-color: var(--ink); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--red); }
::placeholder { color: #7A8E87; }

.form__check { min-height: 65px; }
.form__consent { font-size: var(--t-sm); color: var(--muted); }
.form .button { justify-self: start; }
.form__status:empty { display: none; }
.form__status { font-weight: 600; }
.form__status.is-error { color: var(--red); }
.form__status.is-success { color: var(--ink); }

.contact { grid-template-columns: minmax(0, 1fr); }
/* Turnstile needs about 300px, so on small phones the card goes full width */
@media (max-width: 479px) {
  .section--contact .wrap { padding-inline: 0; }
  .contact { border-radius: 0; padding-inline: var(--gutter); }
  .form { margin-inline: -0.5rem; padding-inline: 0.75rem; }
}
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* Footer */
.site-footer {
  background: var(--paper);
  padding-block: 1rem 2.5rem;
  font-size: 0.96rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}
.site-footer__brand { display: grid; gap: 0.75rem; max-width: 28rem; color: var(--muted); }
.wordmark--footer { color: var(--ink); }
.site-footer__head {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--muted);
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

/* Service routes (home) */
.routes { display: grid; gap: 1rem; }
.route {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .15s ease, transform .15s ease;
}
.route:hover { border-color: var(--ink); transform: translateY(-2px); }
.route__tag { font-size: var(--t-xs); font-weight: 600; color: var(--red); }
.route__name { font-size: var(--t-lg); }
.route__for { color: var(--muted); font-size: 1.08rem; }
.route__link { font-weight: 600; text-decoration: none; }
.route__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.route__link span { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.route--feature { background: var(--ink); border-color: var(--ink); color: var(--white); }
.route--feature .route__for { color: var(--mint); }
.route--feature .route__tag { color: var(--mint); }
@media (min-width: 720px) { .routes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .routes { grid-template-columns: repeat(4, 1fr); } }

/* Service pages */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--t-sm); color: var(--muted); margin-bottom: 1.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { text-decoration-color: var(--line); }
.page-hero__grid { display: grid; gap: 2rem; align-items: end; }
.page-hero__title {
  font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem);
  font-stretch: 96%;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.page-hero__side { display: grid; gap: 1.5rem; max-width: 36rem; }
.page-hero__lede { font-size: 1.25rem; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .page-hero__lede { font-size: 1.3rem; }
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.facts > div { display: grid; gap: 0.2rem; padding: 1.25rem 0; background: var(--paper); }
.facts dt { font-size: var(--t-sm); color: var(--muted); }
.facts dd { font-family: var(--display); font-size: var(--t-md); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div { padding: 1.5rem 1.5rem 1.5rem 0; }
  .facts > div + div { padding-left: 1.5rem; }
}

.split { display: grid; gap: 1rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split .service-list { grid-template-columns: 1fr; }
.split .service-group + .service-group { margin-top: 0; }
.split .service-group { align-content: start; }
.service-group__for { color: var(--muted); max-width: 52ch; }

.note {
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--red);
  background: var(--white);
  border-radius: var(--r-md);
  max-width: 48rem;
}
.note p + p { margin-top: 0.6rem; }
.note--after { margin-top: 1rem; }
.note strong { font-family: var(--display); font-weight: 650; }

.cta-band {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
}
.cta-band__title { font-size: clamp(var(--t-xl), 1.3rem + 2vw, var(--t-2xl)); max-width: 20ch; }
.cta-band__text { margin-top: 1rem; color: var(--mint); font-size: 1.2rem; max-width: 40rem; }
.cta-band .button--ghost { border-color: var(--mint); color: var(--white); }
.cta-band .button--ghost:hover { background: var(--white); color: var(--ink); }
.cta-band :focus-visible { outline-color: var(--white); }
@media (min-width: 960px) {
  .cta-band { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 3rem; }
  .cta-band .actions { justify-content: flex-end; }
}

/* Cookie consent */
.consent {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 30;
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  padding: 1.25rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(23, 58, 49, .28);
}
.consent[hidden] { display: none; }
.consent__text { font-size: 0.96rem; line-height: 1.5; }
.consent__text a { color: var(--white); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent__button {
  flex: 1 1 8rem;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent__button:hover { background: var(--mint); border-color: var(--mint); }
.consent :focus-visible { outline-color: var(--white); }
@media (min-width: 720px) { .consent { right: auto; } }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.link-button:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* Privacy page */
.prose { max-width: 66ch; display: grid; gap: 1.1rem; }
.prose h1 { font-size: clamp(var(--t-xl), 1.3rem + 2.6vw, var(--t-3xl)); margin-bottom: 0.5rem; }
.prose h2 { font-size: var(--t-md); margin-top: 1.25rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
