/* Benni Krueger Piano Tuner — site styles */

/* ---------- Fonts (self-hosted variable fonts: Inter for text, Cormorant Garamond for headings) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --ink: #1b1714;          /* lacquer black: header, dark bands, headings */
  --ink-soft: #2a241f;     /* raised surfaces on dark */
  --text: #3a332d;         /* body text: 12:1 on paper */
  --muted: #675d54;        /* secondary text: 6.3:1 on paper, 5.6:1 on cream */
  --paper: #fffdf9;        /* page background */
  --cream: #f6f0e6;        /* section backgrounds */
  --gold: #c9a45c;         /* the logo's gold: buttons and accents on dark (7.9:1 on ink) */
  --gold-light: #e3c88e;   /* hover on dark */
  --gold-deep: #85601c;    /* links and accents on light: 5.6:1 on paper, 5.0:1 on cream */
  --on-dark: #e9e2d6;      /* body text on dark: 13:1 on ink */
  --on-dark-muted: #b7aa98;
  --line: #e4d9c7;
  --white: #fff;

  /* type */
  --font: "Inter", Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fs-h1: clamp(2.6rem, 1.9rem + 3vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* space */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 6px;
  --shadow: 0 14px 34px -22px rgba(27, 23, 20, 0.45);
}

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

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

body {
  margin: 0;
  font: 400 var(--fs-body) / 1.7 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.35; color: var(--ink); }

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

strong {
  font-weight: 600;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  color: var(--ink);
  background: var(--gold);
}

.skip-link:focus {
  top: 1rem;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section--cream { background: var(--cream); }

.section--dark {
  color: var(--on-dark);
  background: var(--ink);
}

.section--dark h2 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--gold); }

.section__header {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section__header p {
  margin-top: 0.75rem;
  font-size: var(--fs-lead);
  color: var(--muted);
}

/* Text beside a price box or fact box */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.with-aside > aside {
  position: sticky;
  top: 6.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

/* Readable running text */
.prose {
  max-width: 44rem;
}

.prose > * + * { margin-top: 1.1em; }
.prose > h2 + *, .prose > h3 + * { margin-top: 0.6em; }
.prose > * + h2 { margin-top: 1.9em; }
.prose > * + h3 { margin-top: 1.5em; }

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--gold-deep); }

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0 !important;
}

.steps li {
  position: relative;
  padding-left: 2.75rem;
  counter-increment: step;
}

.steps li + li { margin-top: 0.9em; }

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 164, 92, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
}

.logo img {
  width: auto;
  height: 3.6rem;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover { color: var(--gold-light); }

.site-nav a[aria-current="page"] {
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}

/* The Book online button and the call button, side by side at the end of the bar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-call,
.header-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}

.header-call {
  color: var(--ink);
  background: var(--gold);
}

.header-call:hover { background: var(--gold-light); border-color: var(--gold-light); }

.header-book {
  color: var(--on-dark);
  border-color: rgba(233, 226, 214, 0.6);
}

.header-book:hover { color: var(--ink); background: var(--on-dark); border-color: var(--on-dark); }

.label-short { display: none; }

.header-call__icon {
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("../icons/phone.svg") center / contain no-repeat;
  mask: url("../icons/phone.svg") center / contain no-repeat;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid rgba(233, 226, 214, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--on-dark);
  transition: transform 0.2s, background 0.2s;
}

.menu-toggle__icon { position: relative; }

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after { top: 6px; }

.site-header.is-open .menu-toggle__icon { background: transparent; }
.site-header.is-open .menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .menu-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font: 600 1rem / 1.4 var(--font);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { background: var(--ink-soft); }

.btn--gold {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Outline buttons on dark backgrounds */
.btn--outline {
  color: var(--on-dark);
  background: transparent;
  border-color: rgba(233, 226, 214, 0.6);
}

.btn--outline:hover { color: var(--ink); background: var(--on-dark); border-color: var(--on-dark); }

/* Outline buttons on light backgrounds */
.btn--outline-dark {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn--outline-dark:hover { color: var(--white); background: var(--ink); }

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Home hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(30rem, 44vw, 40rem);
  color: var(--on-dark);
  background: var(--ink);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  order: -1;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 5rem) max(var(--gutter), (100vw - 1240px) / 2);
}

.hero h1 { color: var(--white); }
.hero .lead { max-width: 34rem; }
.hero .button-row { margin-top: 0.75rem; }

.hero__media {
  position: relative;
  min-height: 18rem;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The photo fades into the black beside the text */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 30%;
  background: linear-gradient(90deg, var(--ink), transparent);
}

/* ---------- At a glance ---------- */
.facts-strip {
  color: var(--text);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.facts-strip__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  list-style: none;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.facts-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- Cards (home) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__media img { transform: scale(1.04); }

.card__title { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

/* The whole card is the link */
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 1px; }

.card__price {
  margin-top: auto;
  padding-top: 0.25rem;
  font-weight: 600;
  color: var(--gold-deep);
}

/* Sits just above the price, which stays level with the prices on the other cards */
.card__note {
  margin-top: auto;
  font-size: var(--fs-small);
  color: var(--muted);
}

.card__note + .card__price { margin-top: -0.5rem; padding-top: 0; }

.link-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.link-list li { border-bottom: 1px solid var(--line); }

.link-list a {
  display: block;
  padding: 0.9rem 0;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.link-list a::after { content: " \2192"; color: var(--gold-deep); }
.link-list a:hover { color: var(--gold-deep); }

/* ---------- Full-bleed split: image beside text ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split--cream { background: var(--cream); }

.split__media {
  position: relative;
  min-height: 24rem;
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section) var(--gutter);
}

.split__text > .prose { max-width: 34rem; }

/* ---------- Page header (every page starts with one) ---------- */
.page-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(19rem, 30vw, 26rem);
  background: var(--cream);
}

.page-header__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem) max(var(--gutter), (100vw - 1240px) / 2);
}

.page-header__text .lead { max-width: 38rem; }

.page-header__media {
  position: relative;
  min-height: 15rem;
  background: var(--ink);
}

.page-header__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.page-header--plain {
  display: block;
  min-height: 0;
  background: none;
}

.page-header--plain .page-header__text {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
  padding-inline: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.breadcrumb {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- Price box and fact box (beside the text) ---------- */
.price-box,
.facts {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-box > * + * { margin-top: 0.75rem; }

.price-box__label {
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.price-box__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.price-box__incl {
  margin-top: 0.25rem !important;
  font-size: var(--fs-small);
  color: var(--muted);
}

.price-box .button-row { flex-direction: column; margin-top: 1.25rem; }
.price-box__more { font-size: var(--fs-small); }

.facts__heading {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.facts dl { display: grid; gap: 0.2rem; }

.facts dt {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dt:first-child { margin-top: 0; }

.facts__phone {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Diagrams (inline SVG, drawn in the site's colours) ---------- */
.diagram {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagram__svg {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin-inline: auto;
}

.diagram figcaption {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
}

.d-zone { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 4 4; }
.d-zone--keys { fill: rgba(201, 164, 92, 0.08); }
.d-wood { fill: #d9c3a0; stroke: var(--ink); stroke-width: 1; }
.d-wood-dark { fill: #a98a5e; stroke: var(--ink); stroke-width: 1; }
.d-ivory { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.d-felt { fill: #b4433a; stroke: var(--ink); stroke-width: 1; }
.d-paper { fill: var(--white); stroke: var(--ink); stroke-width: 0.75; }
.d-pin { fill: #7a7067; }
.d-shank { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.d-lever { stroke: #a98a5e; stroke-width: 4; stroke-linecap: round; }
.d-felt-shade { fill: none; stroke: rgba(27, 23, 20, 0.35); stroke-width: 1; }
.d-string { stroke: #7a7067; stroke-width: 2; }
.d-ghost { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.d-line { stroke: var(--ink); stroke-width: 1; }
.d-dim { stroke: var(--gold-deep); stroke-width: 1; }
.d-arrow { fill: none; stroke: var(--gold-deep); stroke-width: 1; }
.d-leader { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.d-label { font: 500 11px/1 var(--font); fill: var(--text); }
.d-label--strong { font-weight: 600; fill: var(--ink); }
.d-label--zone { font: 600 12px/1 var(--font); fill: var(--gold-deep); letter-spacing: 0.04em; text-transform: uppercase; }

/* The action diagram moves: the key lifts the wippen, the hammer swings to the string and falls back
   into the back check, the damper lifts and drops. It runs while on screen, stops on request, and
   stays still for anyone who has asked their device for less motion. */
.anim-wippen,
.anim-hammer,
.anim-damper {
  transform-box: view-box;
  animation: 3.2s ease-in-out infinite paused;
}

.anim-wippen { animation-name: wippen-lift; }
.anim-hammer { transform-origin: 310px 190px; animation-name: hammer-swing; }
.anim-damper { transform-origin: 354px 234px; animation-name: damper-lift; }

@media (prefers-reduced-motion: no-preference) {
  .diagram--animated:not(.is-offscreen):not(.is-paused) :is(.anim-wippen, .anim-hammer, .anim-damper) { animation-play-state: running; }
}

@keyframes wippen-lift {
  0%, 10% { transform: translateY(0); }
  20%, 48% { transform: translateY(-10px); }
  62%, 100% { transform: translateY(0); }
}

@keyframes hammer-swing {
  0%, 10% { transform: rotate(0); }
  23% { transform: rotate(24deg); }
  32%, 48% { transform: rotate(13deg); }
  62%, 100% { transform: rotate(0); }
}

@keyframes damper-lift {
  0%, 12% { transform: rotate(0); }
  20%, 50% { transform: rotate(-8deg); }
  60%, 100% { transform: rotate(0); }
}

.diagram__toggle {
  display: block;
  margin: 0.6rem 0 0 auto;
  padding: 0.3rem 0.7rem;
  font: 500 0.8125rem/1.3 var(--font);
  color: var(--gold-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.diagram__toggle:hover { border-color: var(--gold-deep); }

/* ---------- Prices ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card--feature {
  color: var(--on-dark);
  background: var(--ink);
  border-color: var(--ink);
}

.price-card__name { font-size: 1.75rem; }
.price-card--feature .price-card__name { color: var(--white); }

.price-card__for {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-deep);
}

.price-card--feature .price-card__for { color: var(--gold); }

.price-card__price {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.price-card--feature .price-card__price { color: var(--gold); }

.price-card__incl {
  font-size: var(--fs-small);
  color: var(--muted);
}

.price-card--feature .price-card__incl { color: var(--on-dark-muted); }

.price-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
}

.price-card--feature a { color: var(--gold); }

/* A price billed in stages (the pitch raise): one row per tuning, then the total */
.price-tiers {
  width: 100%;
  margin-top: 0.5rem;
  border-collapse: collapse;
}

.price-tiers th,
.price-tiers td {
  padding: 0.4rem 0;
  font-size: var(--fs-small);
  line-height: 1.4;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--line);
}

.price-tiers th { padding-right: 1rem; font-weight: 500; }
.price-tiers td { font-weight: 600; white-space: nowrap; text-align: right; color: var(--ink); }

/* The total sits outside the table, so its large type doesn't squeeze the rows above */
.price-tiers__total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.price-tiers__total span { font-size: 1.25rem; }

.price-tiers__note {
  font-size: var(--fs-small);
  color: var(--muted);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 0.85rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-table tbody th { padding-right: 1.5rem; font-weight: 600; color: var(--ink); }

.price-table td {
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  color: var(--gold-deep);
}

.price-table thead th:last-child { text-align: right; }

.price-table__detail {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0;
  list-style: none;
}

.chips a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chips a:hover { border-color: var(--gold-deep); }

.faq { max-width: 52rem; }
.faq__group + .faq__group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.faq__group h2 { margin-bottom: 1rem; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--gold-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.2s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover h3 { color: var(--gold-deep); }

.faq__answer { padding-bottom: 1.5rem; }

/* ---------- Closing banner ---------- */
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.cta__inner > div { max-width: 42rem; }
.cta p { margin-top: 0.75rem; }
.cta .button-row { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field legend {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.field__optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b9ad9c;
  border-radius: var(--radius);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(133, 96, 28, 0.35);
  outline-offset: 0;
  border-color: var(--gold-deep);
}

.field--choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.field--choice legend { margin-bottom: 0.4rem; padding: 0; }

.field--choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--text);
}

.field--choice input { width: auto; accent-color: var(--gold-deep); }

.field--trap {
  position: absolute;
  left: -9999px;
}

.contact-form .btn { justify-self: start; }

.form-status {
  padding: 0.85rem 1rem;
  color: #1f4d2b;
  background: #e5f1e4;
  border-radius: var(--radius);
}

.form-status--error {
  color: #7a1f1f;
  background: #f8e3e0;
}

.form-note {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  background: #13100e;
}

.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--gold-light); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__name {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}

.site-footer__grid > div:first-child p:last-child { max-width: 26rem; }

.site-footer__heading {
  margin-bottom: 0.75rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer__links {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(233, 226, 214, 0.12);
}

/* ---------- Tablet ---------- */
@media (max-width: 1120px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--ink);
    border-bottom: 1px solid rgba(201, 164, 92, 0.25);
  }

  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 0.75rem 0; font-size: 1.0625rem; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .header-actions { margin-left: auto; }

  .with-aside,
  .contact-layout { grid-template-columns: 1fr; }

  .with-aside > aside { position: static; max-width: 32rem; }
  .facts-strip__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero,
  .page-header,
  .split,
  .two-col { grid-template-columns: 1fr; }

  .hero__media { min-height: 0; aspect-ratio: 16 / 10; }
  .hero__media::before { inset: auto 0 0 0; width: auto; height: 35%; background: linear-gradient(0deg, var(--ink), transparent); }
  .hero__text { order: 0; padding: 0 var(--gutter) 3rem; }

  .page-header__media { min-height: 0; aspect-ratio: 16 / 9; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 560px) {
  .site-header__inner { gap: 0.75rem; min-height: 4.25rem; }
  .logo img { height: 2.9rem; }
  .header-call { padding: 0.55rem 0.75rem; font-size: 0.9375rem; }
  .header-book { padding: 0.55rem 0.75rem; font-size: 0.9375rem; }
  /* Diagrams shrink with the screen, so their labels are drawn larger to stay readable */
  .diagram { padding: 0.75rem 0.5rem; }
  .d-label, .d-label--zone { font-size: 14px; }
  .header-actions .label-long { display: none; }
  .header-actions .label-short { display: inline; }
  .facts-strip__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .button-row .btn { flex: 1 1 auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .header-call__icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .diagram__toggle { display: none; } /* the diagram stays still, so there is nothing to pause */
  *, *::before, *::after { transition: none !important; }
}
