/* ---- Tokens: fixed light palette, deliberately -- not theme-responsive.
   This page's identity is a light body with fixed-dark .band sections
   bookending it (see .band below); following prefers-color-scheme would
   make --bg go near-black too, which reads as identical to the bands and
   collapses the whole page to one flat dark block (found on a phone set to
   dark mode). There's no light/dark toggle on this site, so committing to
   one palette costs nothing and fixes that. ---- */
:root {
  --bg: #F8F1EE;
  --surface: #FFFFFF;
  --surface-2: #F0E1DC;
  --border: #DBC0B9;
  --ink: #2B1B1E;
  --ink-muted: #6B4F52;
  --ink-dim: #A98B8C;
  --accent: #A24A5A;
  --accent-hover: #8A3C4A;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(162, 74, 90, 0.10);
  --accent-border: rgba(162, 74, 90, 0.35);
  --red: #C0392B;
  --shadow: 0 1px 2px rgba(43, 27, 30, 0.06), 0 4px 10px rgba(43, 27, 30, 0.05);
  --radius: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden; /* the .stages-band full-bleed breakout can cause 1px sub-pixel overflow */
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: "Schibsted Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* ---- Top nav ---- */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.logo {
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

main { max-width: 1120px; margin: 0 auto; padding: 0 5vw; }

/* ---- .band: shared fixed-dark treatment for the three full-bleed bands
   (hero, stages, closing CTA) that punctuate the page -- deliberately fixed
   colors, not theme tokens, so the rhythm holds regardless of light/dark
   mode. Content that needs to stay legible on it (form, stage cards) gets a
   solid light card rather than inheriting the dark surface. ---- */
.band { background: linear-gradient(160deg, #2B1B22 0%, #170D12 100%); }
.band .eyebrow { color: #E4899A; }
.band h1, .band h2 { color: #F8F1EE; }
.band .hero-sub { color: #C9A8AC; }
.band .btn-primary { background: #C96B7C; border-color: #C96B7C; color: #2B1013; }
.band .btn-primary:hover { background: #D97F8F; border-color: #D97F8F; }
.band .trust-list { border-top-color: rgba(248, 241, 238, 0.14); }
.band .trust-row dt { color: #F8F1EE; }
.band .trust-row dd { color: #B08B8E; }
.band .stage-card, .band .lead-form {
  background: #FFFFFF;
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.band .stage-card h3 { color: #2B1B1E; }
.band .stage-card p { color: #6B4F52; }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6.5rem 5vw 5.5rem;
}
.hero-copy { max-width: 44rem; }
.hero-sub {
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 1.14rem;
  margin: 0 0 2.1rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0 0;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--border);
}
.trust-row { display: block; }
.trust-row dt { font-weight: 650; font-size: 0.95rem; margin: 0 0 0.35rem; }
.trust-row dd { margin: 0; color: var(--ink-muted); font-size: 0.87rem; line-height: 1.55; }

/* ---- Sections ---- */
.section { padding: 5rem 0; border-top: 1px solid var(--border); }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 0.7rem;
}
.section-sub { color: var(--ink-muted); max-width: 50ch; margin: 0 0 3rem; }
#process h2, #faq h2 { margin-bottom: 3rem; }

/* ---- Process timeline ---- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.timeline li {
  padding: 0 1.75rem 0 0;
  border-top: 2px solid var(--border);
  position: relative;
}
.timeline li:last-child { padding-right: 0; }
.timeline-marker {
  margin-top: -1px;
  width: 2.75rem;
  border-top: 2px solid var(--accent);
  padding-top: 1.4rem;
}
.timeline-marker span {
  display: block;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.timeline-body { padding-top: 0.5rem; }
.timeline-body h3 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.timeline-body > p { color: var(--ink-muted); font-size: 0.92rem; margin: 0 0 1.2rem; }
.timeline-body ul {
  list-style: none; margin: 0; padding: 0;
  font-size: 0.87rem; color: var(--ink-muted);
}
.timeline-body li {
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-top: 1px solid var(--border);
  position: relative;
}
.timeline-body li:first-child { border-top: none; }
.timeline-body li::before {
  content: "";
  position: absolute; left: 0; top: 1rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* ---- Stages (struggling vs. scaling) ---- */
/* Breaks out of main's max-width/padding to go full-bleed, since (unlike the
   hero/CTA bands) this one sits inside <main> rather than as its sibling. */
.stages-band {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 6rem 0;
}
.stages-inner { max-width: 1120px; margin: 0 auto; padding: 0 5vw; }
#stages h2 { margin-bottom: 2.5rem; max-width: 32ch; }
.stages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.stage-card h3 { font-size: 1.2rem; margin: 0 0 0.9rem; }
.stage-card p { color: var(--ink-muted); font-size: 0.96rem; line-height: 1.7; margin: 0; }

/* ---- Specialisation cards ---- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
}
.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.spec-icon svg { width: 1.4rem; height: 1.4rem; }
.spec-card h3 { font-size: 1.08rem; margin: 0 0 0.9rem; }
.spec-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.87rem; color: var(--ink-muted); }
.spec-card li {
  padding: 0.5rem 0; border-top: 1px solid var(--border);
}
.spec-card li:first-child { border-top: none; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; }
.faq-list details { border-bottom: 1px solid var(--border); padding: 1.15rem 0; }
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink-dim);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { color: var(--ink-muted); margin: 1rem 0 0; font-size: 0.93rem; max-width: 62ch; }

/* ---- Booking form ---- */
.lead-form { max-width: 480px; display: flex; flex-direction: column; gap: 1.15rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.82rem; font-weight: 650; color: var(--ink-muted); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form-row textarea { resize: vertical; min-height: 4.5rem; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status { font-size: 0.85rem; margin: 0; min-height: 1.2em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--red); }

/* ---- CTA band: bookends .hero-band/.stages-band at the bottom of the page. ---- */
.cta-band { padding: 6rem 0; }
.cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 3.5rem;
  align-items: start;
}
.cta-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 0 0 0.9rem; }
.cta-copy .hero-sub { margin: 0; max-width: 34ch; }
.band .lead-form { max-width: none; border-radius: 10px; padding: 2rem; }
.band .form-row label { color: #6B4F52; }
.band .form-row input, .band .form-row select, .band .form-row textarea {
  background: #FBF4F2; border-color: #DBC0B9; color: #2B1B1E; box-shadow: none;
}
.band .form-status.ok { color: #A24A5A; }
.band .form-status.err { color: #C0392B; }

.footer {
  padding: 4rem 5vw 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.87rem;
  margin: 0.6rem 0 0;
  max-width: 24ch;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 0.3rem;
}
.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.87rem;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--ink-dim);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 860px) {
  .hero { padding: 3.75rem 5vw 3rem; }
  .trust-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding-right: 0; padding-bottom: 2rem; }
  .stages-band { padding: 4rem 0; }
  .stages-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 4rem 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 16px 40px rgba(22, 33, 29, 0.18);
  padding: 1.1rem 1.25rem;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.85rem; color: var(--ink-muted); flex: 1 1 260px; }
.cookie-banner p a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
