/* ==========================================================================
   Joe Macedo Guitar — site stylesheet
   Used by: index.html, thank-you/index.html, 404.html
   ========================================================================== */

/* ---- Self-hosted fonts (Inter body, Oswald headings; Latin subsets) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-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;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens ---- */
:root {
  --ink: #221c17;
  --ink-soft: #5a4f45;
  --ink-muted: #7a6f64;
  --paper: #fbf7f1;
  --paper-2: #f3ece1;
  --card: #ffffff;
  --line: #e6dccd;
  --dark: #1b1613;
  --dark-2: #262019;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: #f6efe6;
  --on-dark-soft: #d9cfc2;
  --accent: #e0973a;
  --accent-hover: #eba955;
  --accent-deep: #8a5210;
  --accent-soft: #fdf1df;
  --focus: #2f6fdc;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(34, 28, 23, 0.08);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Oswald', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--accent); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px;
  background: var(--accent); color: var(--dark);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 92px); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }
.bg-paper-2 { background: var(--paper-2); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark a { color: var(--accent); }
.bg-dark a:hover { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 10px;
}
.bg-dark .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.bg-dark .lead { color: var(--on-dark-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.925rem; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.4em;
  border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--dark); }
.btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: var(--on-dark); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--on-dark); color: var(--on-dark); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--accent-soft); color: var(--ink); }
.btn-lg { font-size: 1.075rem; min-height: 54px; padding: 0.85em 1.7em; }
.btn-sm { font-size: 0.925rem; min-height: 42px; padding: 0.55em 1.05em; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 22, 19, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--on-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand {
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-dark); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--accent); }
.nav-desktop { display: none; gap: clamp(14px, 2vw, 26px); }
.nav-desktop a { color: var(--on-dark-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 6px 0; }
.nav-desktop a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .btn-book { display: none; }

/* Mobile menu: <details> so it works without JavaScript */
.nav-menu { position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 12px; border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35); color: var(--on-dark);
  font-weight: 600; font-size: 0.925rem;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::before {
  content: ''; width: 18px; height: 2px; background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-menu[open] summary::before { box-shadow: none; transform: rotate(45deg); }
.nav-menu[open] summary::after {
  content: ''; position: absolute; left: 14px; top: 20px; width: 18px; height: 2px; background: currentColor; transform: rotate(-45deg);
}
.nav-mobile {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius);
  padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex; flex-direction: column; gap: 4px;
}
.nav-mobile a:not(.btn) { display: block; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--on-dark); text-decoration: none; font-weight: 500; }
.nav-mobile a:not(.btn):hover { background: rgba(255, 255, 255, 0.06); color: var(--accent); }
.nav-mobile .btn { margin-top: 6px; }
@media (max-width: 599px) {
  .brand { font-size: 0.95rem; letter-spacing: 0.04em; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 0.5em 0.75em; font-size: 0.875rem; min-height: 40px; }
  .nav-menu summary { padding: 0 11px; min-height: 40px; gap: 0; }
  .nav-menu summary .menu-label { display: none; }
  .nav-menu[open] summary::after { left: 11px; top: 19px; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-menu { display: none; }
  .header-actions .btn-book { display: inline-flex; }
}

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(224, 151, 58, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 40% at 95% 100%, rgba(224, 151, 58, 0.12), transparent 70%),
    var(--dark);
  color: var(--on-dark);
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-copy .eyebrow { color: var(--accent); }
.hero h1 { color: var(--on-dark); margin-bottom: 18px; }
.hero .lead { color: var(--on-dark-soft); max-width: 600px; margin-bottom: 20px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-dark-soft); font-size: 0.975rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-actions { margin-bottom: 18px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-note { color: var(--on-dark-soft); font-size: 0.95rem; max-width: 560px; }
.hero-photo { margin: 0; width: min(100%, 440px); justify-self: center; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.hero-quote {
  margin: clamp(32px, 5vw, 48px) 0 0; padding: 22px 26px;
  border-left: 4px solid var(--accent); background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0; max-width: 780px;
}
.hero-quote blockquote { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.55; color: var(--on-dark); }
.hero-quote figcaption { color: var(--on-dark-soft); font-size: 0.925rem; font-weight: 500; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 1 auto; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr minmax(300px, 400px); }
  .hero-photo { justify-self: end; }
}

/* ---- "Good to know" strip ---- */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.fact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 14px; }
.fact-icon svg { width: 22px; height: 22px; }
.fact h3 { font-size: 1.15rem; margin-bottom: 6px; }
.fact p { color: var(--ink-soft); font-size: 0.975rem; }

/* ---- Cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin-bottom: 4px; }
.card p { color: var(--ink-soft); }
.card .card-tag { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.card-quote { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.card-quote blockquote { margin: 0 0 4px; font-style: italic; color: var(--ink); }
.card-quote figcaption { color: var(--ink-muted); font-size: 0.875rem; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* ---- About ---- */
.about-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.about-photo figcaption { font-size: 0.875rem; color: var(--ink-muted); margin-top: 8px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; color: var(--ink-soft); }
.chips a { color: inherit; }
@media (min-width: 800px) { .about-grid { grid-template-columns: minmax(260px, 380px) 1fr; } }

/* Video facade (YouTube loads only when clicked) */
.video-wrap { max-width: 820px; margin: clamp(28px, 4vw, 44px) auto 0; }
.video-facade { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(ellipse 60% 70% at 25% 20%, rgba(224, 151, 58, 0.28), transparent 62%), var(--dark); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-facade button, .video-facade a.video-link {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent; border: 0; cursor: pointer; color: #fff;
  display: grid; place-items: center; font: inherit;
}
.video-facade .play {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(27, 22, 19, 0.85); color: var(--on-dark);
  padding: 12px 20px 12px 14px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.video-facade .play::before { content: ''; width: 0; height: 0; border-left: 16px solid var(--accent); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 6px; }
.video-facade button:hover .play { background: rgba(27, 22, 19, 1); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- First lesson panel ---- */
.first-lesson {
  background: var(--card); border: 2px solid var(--accent); border-radius: 16px;
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
  display: grid; gap: clamp(22px, 4vw, 40px);
}
.first-lesson .price-badge { display: inline-block; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.04em; background: var(--accent-soft); color: var(--accent-deep); padding: 6px 12px; border-radius: 8px; margin-bottom: 12px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 48px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--accent);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; display: grid; place-items: center;
}
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--ink-soft); }
.note-box { background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.95rem; color: var(--ink-soft); }
@media (min-width: 900px) { .first-lesson { grid-template-columns: 1.1fr 1fr; align-items: start; } }

/* ---- Pricing ---- */
.price-group { margin-bottom: clamp(28px, 4vw, 40px); }
.price-group h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price-group .group-note { color: var(--ink-soft); margin-bottom: 14px; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.price-table thead th { background: var(--dark); color: var(--on-dark); font-family: var(--font-head); font-weight: 500; letter-spacing: 0.04em; font-size: 0.95rem; border-top: 0; }
.price-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-table .price { display: block; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.price-table .per { display: block; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .price-table, .price-table tbody { display: block; background: transparent; border: 0; }
  .price-table thead { display: none; }
  .price-table tr { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .price-table tbody th { display: block; background: var(--paper-2); border-top: 0; padding: 12px 16px; white-space: normal; }
  .price-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 16px; }
  .price-table td::before { content: attr(data-label); font-weight: 500; color: var(--ink-soft); font-size: 0.925rem; }
  .price-table td .cell { text-align: right; }
}
.price-cta { margin-top: 8px; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 32px); display: grid; gap: 18px; align-items: center; }
.price-cta h3 { color: var(--on-dark); margin-bottom: 4px; }
.price-cta p { color: var(--on-dark-soft); }
@media (min-width: 800px) { .price-cta { grid-template-columns: 1fr auto; } }

/* ---- Reviews ---- */
.google-rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.google-rating .stars { color: var(--accent); letter-spacing: 1px; }
.google-rating:hover { border-color: var(--accent); }
.reviews { columns: 3 280px; column-gap: 18px; }
.review { margin: 0 0 18px; break-inside: avoid; page-break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: var(--accent); font-size: 0.95rem; letter-spacing: 1px; }
.review blockquote { margin: 0; flex: 1; }
.review figcaption { font-weight: 600; color: var(--ink); }
.review figcaption span { font-weight: 400; color: var(--ink-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; font-weight: 500; font-size: 1.25rem; line-height: 1;
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--ink-soft); }

/* ---- Enquiry form ---- */
.enquire-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.enquiry-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.975rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-muted); font-size: 0.875rem; margin-top: -2px; margin-bottom: 6px; }
.field input[type='text'], .field input[type='email'], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #cdbfae; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.radio-grid label {
  display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 10px 12px; border: 1.5px solid #cdbfae; border-radius: var(--radius-sm); background: #fff;
  font-weight: 500; cursor: pointer;
}
.radio-grid label:has(input:checked) { border-color: var(--accent-deep); background: var(--accent-soft); }
.radio-grid input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-deep); flex: none; }
.required { color: #b3261e; font-weight: 600; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-success { background: #e7f4e8; color: #1e5e2a; border: 1px solid #b7dcbb; }
.form-status.is-error { background: #fdecea; color: #8a1c14; border: 1px solid #f2b8b2; }
.contact-aside .card { gap: 14px; }
.contact-aside .email { font-size: 1.1rem; font-weight: 600; word-break: break-word; }
@media (min-width: 900px) { .enquire-grid { grid-template-columns: 1.4fr 1fr; } }

/* Honeypot: hidden from people, present for bots */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- Online learning ---- */
.online-note { max-width: 760px; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: var(--on-dark-soft); padding-block: clamp(40px, 6vw, 64px) 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 32px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-brand { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.875rem; color: var(--ink-muted); }

/* ---- Simple pages (thank-you, 404) ---- */
.simple-page { min-height: 60vh; display: grid; align-items: center; }
.simple-card { max-width: 680px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); }

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