  /* "Clean workshop": white, charcoal and safety orange. The older names (oak, brass, cream...)
     are kept so the pages' inline styles still pick up the new colours. */
  :root {
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bg: #FFFFFF;
    --bg-alt: #F5F4F1;
    --plate: #FFFFFF;
    --ink: #1F1F1F;
    --ink-soft: #5E5E5E;
    --accent: #FF6B2C;      /* safety orange: buttons, icons, underlines */
    --on-accent: #1F1F1F;   /* charcoal reads on orange; white doesn't */
    --oak: #FF6B2C;
    --oak-deep: #C2410C;    /* darker orange for text and links */
    --brass: #C2410C;
    --brass-bright: #FF6B2C;
    --steel: #1F1F1F;
    --cream: #FFFFFF;
    --rule: rgba(31,31,31,0.12);
    --focus: #2563EB;
    --nav-bg: #1F1F1F;
    --nav-ink: #FFFFFF;
    --leaf: #6E7F4A;
    --leaf-deep: #56663A;
    --fruit: #B0523A;
  }
  /* Dark colours: automatic from the device setting, unless the visitor picked light with the switch. */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #121212;
      --bg-alt: #1A1A1A;
      --plate: #1E1E1E;
      --ink: #F3F3F3;
      --ink-soft: #A9A9A9;
      --accent: #FF7A3D;
      --oak: #FF7A3D;
      --oak-deep: #FF8A50;
      --brass: #FF8A50;
      --brass-bright: #FF7A3D;
      --steel: #E5E5E5;
      --cream: #181818;
      --rule: rgba(255,255,255,0.14);
      --focus: #7AA7FF;
      --nav-bg: #0A0A0A;
      --nav-ink: #F3F3F3;
      --leaf: #9DB37A;
      --leaf-deep: #B7CB95;
      --fruit: #D6805F;
    }
  }
  :root[data-theme="dark"] {
    --bg: #121212;
    --bg-alt: #1A1A1A;
    --plate: #1E1E1E;
    --ink: #F3F3F3;
    --ink-soft: #A9A9A9;
    --accent: #FF7A3D;
    --oak: #FF7A3D;
    --oak-deep: #FF8A50;
    --brass: #FF8A50;
    --brass-bright: #FF7A3D;
    --steel: #E5E5E5;
    --cream: #181818;
    --rule: rgba(255,255,255,0.14);
    --focus: #7AA7FF;
    --nav-bg: #0A0A0A;
    --nav-ink: #F3F3F3;
    --leaf: #9DB37A;
    --leaf-deep: #B7CB95;
    --fruit: #D6805F;
  }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 {
    font-family: var(--font);
    color: var(--ink);
    margin: 0 0 0.4em 0;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  a { color: inherit; }
  img, svg { max-width: 100%; display: block; }
  .wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }
  a:focus-visible, button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }

  /* ---------- header ---------- */
  header {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
  }
  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .brand-mark { width: 28px; height: 40px; flex: none; display: block; }
  .brand-mark img { width: 100%; height: 100%; display: block; }
  /* The logo: the yellow claw-hammer tile (SW on the head) beside the lowercase name. */
  .brand-stamp { width: 46px; height: 46px; flex: none; border-radius: 10px; display: block; }
  .brand-name {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
  }
  .brand-tag {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  nav.primary { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
  nav.primary a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
  }
  nav.primary a:hover { color: var(--ink); border-bottom-color: var(--oak); }
  .call-pill {
    font-size: 14px;
    color: var(--ink-soft);
    white-space: nowrap;
  }

  /* ---------- hero ---------- */
  .hero { padding: 72px 0 64px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .hero h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 13ch; font-weight: 800; letter-spacing: -0.035em; }
  .hero p.lede {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 18px 0 28px;
  }
  .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-block;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15.5px;
    padding: 13px 24px;
    text-decoration: none;
    border-radius: 8px;
    border: 1.5px solid transparent;
  }
  .btn-primary { background: var(--accent); color: var(--on-accent); }
  .btn-primary:hover { background: var(--ink); color: var(--bg); }
  .btn-ghost { border-color: var(--ink); color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--bg); }

  .hero-art { position: relative; }
  .hero-art svg { width: 100%; height: auto; }
  .tape-reel { transform-origin: 168px 168px; }
  @media (prefers-reduced-motion: no-preference) {
    .tape-reel { animation: unspool 1.1s ease-out; }
    .tape-ribbon { animation: draw 1.1s ease-out; }
  }
  @keyframes unspool {
    from { transform: rotate(-70deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
  }
  @keyframes draw {
    from { stroke-dashoffset: 420; }
    to { stroke-dashoffset: 0; }
  }

  /* ---------- section shell ---------- */
  section { padding: 58px 0; }
  .section-head { max-width: 62ch; margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(26px, 3vw, 34px); }
  .section-head p { color: var(--ink-soft); font-size: 16.5px; margin-top: 8px; }
  .band { background: var(--bg-alt); }

  /* ---------- courses ---------- */
  .courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .plate {
    background: var(--plate);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 30px 30px 26px;
    position: relative;
  }
  .plate-kicker {
    display: inline-block;
    font-size: 12.5px;
    color: var(--on-accent);
    background: var(--accent);
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
  }
  .plate h3 { font-size: 24px; margin-top: 2px; }
  .plate .price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 14px 0 2px;
  }
  .plate .price sup { font-size: 16px; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
  .plate .deposit { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
  .plate ul { margin: 0; padding: 0; list-style: none; }
  .plate li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--rule);
    font-size: 15.5px;
  }
  .plate li:first-of-type { border-top: none; }
  .plate li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--oak); }
  .plate .note { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
  .plate .flavour-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--bg-alt);
    font-size: 14.5px;
    color: var(--ink-soft);
    border-left: 3px solid var(--brass);
  }

  /* ---------- timeline (genuine sequence) ---------- */
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    position: relative;
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 26px; left: 6%;
    width: 88%; height: 2px;
    background: var(--rule);
  }
  .tl-step { position: relative; }
  .tl-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 20px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    margin-bottom: 16px;
  }
  .tl-step h3 { font-size: 18.5px; margin-bottom: 6px; }
  .tl-step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

  /* ---------- why (tool-label items, not cards) ---------- */
  .why-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .why-item {
    padding: 26px 24px;
    border-bottom: 1px solid var(--rule);
  }
  .why-item:first-child { padding-left: 0; }
  .why-item:last-child { padding-right: 0; }
  .why-item:not(:last-child) { border-right: 1px solid var(--rule); }
  .why-item svg { width: 30px; height: 30px; color: var(--oak); margin-bottom: 14px; }
  .why-item h3 { font-size: 18px; margin-bottom: 6px; }
  .why-item p { color: var(--ink-soft); font-size: 15px; margin: 0; }

  /* ---------- safety strip ---------- */
  .safety {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
    padding: 18px 0;
    color: var(--ink-soft);
    font-size: 14px;
  }
  .safety span { white-space: nowrap; }
  .safety .dot { color: var(--brass); }

  /* ---------- contact ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
  }
  .contact-card {
    background: var(--plate);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 28px;
  }
  .contact-line { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
  .contact-line:first-child { border-top: none; }
  .contact-line svg { width: 19px; height: 19px; color: var(--oak); flex: none; margin-top: 2px; }
  .contact-note { font-size: 14.5px; color: var(--ink-soft); margin-top: 18px; }

  footer {
    border-top: 1px solid var(--rule);
    padding: 28px 0 36px;
    color: var(--ink-soft);
    font-size: 13.5px;
  }
  .footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 860px) {
    .hero { padding: 40px 0 44px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-art { display: none; } /* on one column the drawing pushed the headline and button off the first screen */
    .courses-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .why-list { grid-template-columns: 1fr; }
    .why-item, .why-item:not(:last-child) { border-right: none; }
    .why-item, .why-item:first-child, .why-item:last-child { padding-left: 0; padding-right: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    nav.primary { display: none; }
  }

/* ---------- registration form ---------- */
.form-card {
  background: var(--plate);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px;
  max-width: 720px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; } /* let long <select> options shrink */
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font);
  font-size: 15.5px;
  padding: 11px 12px;
  border: 1.5px solid var(--rule);
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-submit {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
}
.btn-submit:hover { background: var(--ink); color: var(--bg); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- confirmation page (register.php) ---------- */
.confirm-wrap { max-width: 640px; margin: 0 auto; padding: 80px 24px; }
.confirm-card { background: var(--plate); border: 1px solid var(--rule); border-radius: 14px; padding: 36px; }
.confirm-card h1 { font-size: 30px; margin-bottom: 12px; }
.confirm-card p { color: var(--ink-soft); font-size: 16px; }
.summary-list { list-style: none; margin: 20px 0; padding: 0; border-top: 1px solid var(--rule); }
.summary-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.summary-list li span:first-child { color: var(--ink-soft); }
.summary-list li span:last-child { text-align: right; }
.pay-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 6px 0 18px; }
.error-box { border-left: 3px solid #A33; background: var(--bg-alt); padding: 14px 16px; font-size: 15px; color: var(--ink); margin: 18px 0; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 16px; }
  .confirm-wrap { padding: 40px 16px; }
  .confirm-card { padding: 24px 18px; }
}
/* reCAPTCHA's widget is a fixed 304px; shrink it on phones narrower than that plus padding */
@media (max-width: 380px) {
  .g-recaptcha { transform: scale(0.88); transform-origin: 0 0; }
}
@media (max-width: 340px) {
  .g-recaptcha { transform: scale(0.77); }
}

/* ---------- site-level pillar nav (Workshop / Garden / Apiary) ---------- */
.site-nav {
  background: var(--nav-bg);
  color: var(--nav-ink);
  border-bottom: 1px solid var(--rule);
}
.site-nav-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 42px;
  flex-wrap: wrap;
}
.site-nav a.pillar {
  text-decoration: none;
  color: var(--nav-ink);
  opacity: 0.72;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 16px;
  border-bottom: 2px solid transparent;
}
.site-nav a.pillar:first-child { padding-left: 0; }
.site-nav a.pillar:hover { opacity: 1; }
.site-nav a.pillar.active { opacity: 1; font-weight: 600; border-bottom-color: var(--accent); }
/* Members area (member.shilohworks.co.uk): pushed to the right of the pillar links. */
.site-nav a.member-link {
  margin-left: auto;
  text-decoration: none;
  color: var(--on-accent);
  background: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
}
.site-nav a.member-link:hover { filter: brightness(1.08); }

/* Instagram glyph: top bar, footer and burger menu. */
.ig-link { display: inline-flex; align-items: center; justify-content: center; color: inherit; vertical-align: middle; }
.ig-link svg { width: 18px; height: 18px; }
.ig-link:hover { color: var(--accent); }
.site-nav .ig-link { margin-left: 12px; width: 32px; height: 32px; color: var(--nav-ink); }
.site-nav .ig-link svg { width: 20px; height: 20px; }
.site-nav .ig-link:hover { color: var(--accent); }
footer .ig-link { color: var(--ink-soft); }

/* ---------- icon-led feature items (reuses why-list layout, honey/steel variants) ---------- */
.why-item.tone-honey svg { color: var(--brass); }
.why-item.tone-steel svg { color: var(--steel); }

/* ---------- simple two-column story block (Garden page) ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.story-grid p { color: var(--ink-soft); font-size: 16px; margin: 0 0 14px; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.stat { min-width: 120px; }
.stat .num { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.stat .label { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
}

/* ---------- inline legal/reminder notes (terms page, confirmation page) ---------- */
.legal-note {
  background: var(--bg-alt);
  border-left: 3px solid var(--brass);
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- garden hero: plant growing from seed to harvest ---------- */
.plant-fade { animation: plantCycleFade 9s ease-in-out infinite; }
@keyframes plantCycleFade {
  0%   { opacity: 1; }
  86%  { opacity: 1; }
  96%  { opacity: 0; }
  100% { opacity: 0; }
}
.plant-stem {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: stemDraw 9s ease-out infinite;
}
@keyframes stemDraw {
  0%   { stroke-dashoffset: 140; }
  38%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.plant-leaf, .plant-fruit {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}
.leaf1 { animation: popHold 9s ease-out infinite; animation-delay: 0s; }
@keyframes popHold {
  0%   { opacity: 0; transform: scale(0); }
  22%  { opacity: 0; transform: scale(0); }
  28%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.leaf2 { animation: popHold2 9s ease-out infinite; }
@keyframes popHold2 {
  0%   { opacity: 0; transform: scale(0); }
  30%  { opacity: 0; transform: scale(0); }
  36%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.leaf3 { animation: popHold3 9s ease-out infinite; }
@keyframes popHold3 {
  0%   { opacity: 0; transform: scale(0); }
  38%  { opacity: 0; transform: scale(0); }
  44%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.fruit1 { animation: popHold4 9s ease-out infinite; }
@keyframes popHold4 {
  0%   { opacity: 0; transform: scale(0); }
  56%  { opacity: 0; transform: scale(0); }
  63%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.fruit2 { animation: popHold5 9s ease-out infinite; }
@keyframes popHold5 {
  0%   { opacity: 0; transform: scale(0); }
  62%  { opacity: 0; transform: scale(0); }
  69%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.fruit3 { animation: popHold6 9s ease-out infinite; }
@keyframes popHold6 {
  0%   { opacity: 0; transform: scale(0); }
  68%  { opacity: 0; transform: scale(0); }
  75%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
/* Static fallback (fully grown, no motion) when the visitor prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .plant-fade { animation: none; opacity: 1; }
  .plant-stem { animation: none; stroke-dashoffset: 0; }
  .plant-leaf, .plant-fruit { animation: none; opacity: 1; transform: scale(1); }
}

/* ---------- apiary hero: bee visiting the hive, honey dripping into the jar ---------- */
.bee-flight {
  transform-box: fill-box;
  offset-path: path('M298,268 C 255,190 215,120 168,86 C 138,66 122,130 152,162 C 168,179 198,196 228,208 C 268,224 298,240 298,268 Z');
  offset-rotate: auto;
  animation: beeFly 9s linear infinite;
}
@keyframes beeFly {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
.bee-wings {
  transform-box: fill-box;
  transform-origin: center;
  animation: wingFlutter 0.12s ease-in-out infinite;
}
@keyframes wingFlutter {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.4); }
}
.honey-drop {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: honeyDrip 9s ease-in infinite;
}
@keyframes honeyDrip {
  0%   { opacity: 0; transform: translateY(0); }
  46%  { opacity: 0; transform: translateY(0); }
  50%  { opacity: 1; transform: translateY(0); }
  62%  { opacity: 1; transform: translateY(26px); }
  66%  { opacity: 0; transform: translateY(30px); }
  100% { opacity: 0; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .bee-flight { animation: none; offset-distance: 15%; }
  .bee-wings { animation: none; }
  .honey-drop { animation: none; opacity: 1; transform: translateY(14px); }
}

/* ---------- shop (shop.html) ---------- */
.tee-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* A drawn T-shirt in the garment colour, with the design on the chest. */
.tee-mock { position: relative; aspect-ratio: 400 / 420; margin: 0 auto 14px; max-width: 360px; }
.tee-mock .tee-shape { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tee-mock .tee-print { position: absolute; left: 33%; width: 34%; top: 16%; }
.tee-mock .tee-art { width: 100%; height: auto; display: block; }
.tee-mock .tee-print-wide { left: 29%; width: 42%; top: 20%; }   /* the wide logo on the chest */
.tee-mock .tee-print-back { left: 28%; width: 44%; top: 34%; }  /* the slogan across the hoodie's back */
/* The hammer on the sleeve (the shirt's right sleeve, on the left as you look at it). */
.tee-mock .sleeve-mark { position: absolute; display: block; height: auto; }
/* Lying along the sleeve: the mark is drawn upright, so it's turned a quarter and then tilted to
   follow the sleeve (the T-shirt sleeve slopes about 32 degrees). */
.tee-mock .sleeve-tee { left: 12%; top: 19%; width: 7%; transform: rotate(58deg); }
.tee-mock .sleeve-hoodie { left: 15%; top: 50%; width: 6%; transform: rotate(80deg); } /* lower down, where the sleeve is wide enough */
/* The cap: just the hammer, centred on the front panel. */
.tee-mock .cap-mark { position: absolute; left: 63%; top: 38%; width: 10%; transform: translateX(-50%) rotate(-4deg); display: block; height: auto; }
@media (max-width: 860px) { .tee-grid { grid-template-columns: 1fr; } }

/* ---------- burger menu on phones and tablets (menu.js) ---------- */
header { position: relative; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .site-nav { display: none; } /* its links move into the menu */
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px;
    background: transparent; border: 1px solid var(--rule); border-radius: 10px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-row { flex-wrap: nowrap; }
}
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  padding: 8px 24px 24px;
}
.menu-panel[hidden] { display: none; }
@media (min-width: 861px) { .menu-panel { display: none; } }
.menu-main a {
  display: block; padding: 14px 0;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.menu-main a[aria-current="page"] { color: var(--oak-deep); }
.menu-label { margin: 20px 0 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.menu-page { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-page a {
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px;
}
.menu-actions { display: flex; gap: 10px; margin-top: 22px; }
.menu-actions .btn { flex: 1; text-align: center; padding: 12px 16px; font-size: 15px; }
.menu-actions .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; cursor: pointer; }
.menu-actions .theme-toggle svg { width: 16px; height: 16px; }
.menu-actions .menu-ig { flex: 0 0 auto; padding: 12px 14px; }
.menu-actions .menu-ig svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .brand-stamp { width: 40px; height: 40px; border-radius: 9px; }
  .brand-name { font-size: 20px; }
}

/* ---------- light/dark switch (theme.js) ---------- */
.site-nav .theme-toggle {
  margin-left: 10px;
  background: transparent;
  color: var(--nav-ink);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 5px 9px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-nav .theme-toggle:hover { background: rgba(255,255,255,0.1); }
.site-nav .theme-toggle svg { width: 15px; height: 15px; }

/* ---------- cookie question (consent.js) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto; padding: 16px 18px;
  background: var(--plate); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14.5px; color: var(--ink-soft); }
.cookie-banner a { color: var(--oak-deep); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .cookie-decline { background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }


/* ---------- "notify me" when a course has no dates (booking-dates.js) ---------- */
.notify-box { background: var(--bg-alt); border: 1px solid var(--rule); padding: 12px 14px; margin-top: 4px; }
.notify-box[hidden] { display: none; }
.notify-text { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.notify-row { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-row .notify-email { flex: 1 1 200px; min-width: 0; }
.notify-msg { margin: 8px 0 0; }

.shop-section { padding: 56px 0 72px; }
