/* ==========================================================================
   Manchester Fine Line Tattoo Academy
   Aesthetic: editorial gallery × tattoo studio. Warm paper, ink-black text,
   delicate high-contrast serif (Cormorant) over a refined grotesque (Hanken).
   The recurring motif is the hairline, 1px rules that echo fine-line work.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper:      #f7f4ef;
  --paper-2:    #efeae1;
  --paper-3:    #e8e1d5;
  --ink:        #17130e;
  --ink-soft:   #4f4940;
  --ink-faint:  #8a8276;
  --line:       #d9d2c5;
  --line-strong:#c3baa9;
  --accent:     #9a6a45;   /* muted sienna, used sparingly */
  --accent-ink: #7c5435;

  --font-display: "Cormorant", "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* overflow-x: clip stops the off-screen (closed) mobile menu panel from creating
   a horizontal scroll. `clip` (not `hidden`) avoids making html a scroll container,
   so the sticky header keeps working. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
ul[class] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle paper grain */
  background-image:
    radial-gradient(transparent 0, transparent 0),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
.display {
  font-size: clamp(3rem, 1.5rem + 7vw, 8rem);
  font-weight: 300;
  line-height: 0.92;
}
.h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 300; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lede { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.5; color: var(--ink-soft); font-weight: 300; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
  font-size: 0.85rem; border-radius: 2px;
}

/* hairline divider */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-body); font-weight: 500; font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.7em;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  position: relative;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 0.6em 1.2em; font-size: 0.82rem; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* text link with animated underline */
.tlink {
  text-decoration: none; color: var(--ink); position: relative;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding-bottom: 2px; font-weight: 500;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--ink); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); }
.nav-list a:not(.btn) {
  text-decoration: none; font-size: 0.9rem; letter-spacing: 0.02em; color: var(--ink-soft);
  position: relative; padding-bottom: 3px; transition: color .3s var(--ease);
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-list a:not(.btn):hover { color: var(--ink); }
.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current="page"] { color: var(--ink); }


.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; height: 1px; width: 24px; background: var(--ink);
  transform: translateX(-50%); transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.hero-headline { position: relative; }
.hero-headline .display { max-width: 14ch; }
.hero-headline .display .thin { font-style: italic; font-weight: 300; color: var(--accent-ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; align-items: center; margin-top: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1; display: block; }
.stat .lab { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.4rem; }

/* hand-drawn underline that animates on load */
.draw-line { display: block; width: min(420px, 70%); margin-top: 1.2rem; color: var(--accent); }
.draw-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Hero collage: 3 overlapping student work photos in paper frames. Mobile-first
   values are deliberately contained (widths sum within the column) and the whole
   thing sits inside .hero { overflow: hidden }, so it can never cause sideways
   scroll. Desktop sizing/position is bumped up in the 880px breakpoint below. */
.hero-collage { position: relative; width: 100%; height: clamp(320px, 82vw, 420px); margin-top: 0.5rem; }
.hero-collage figure {
  position: absolute; margin: 0; padding: 0.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 18px 40px -22px rgba(23, 19, 14, 0.45);
  transition: transform .5s var(--ease);
}
.hero-collage img { width: 100%; border-radius: 2px; }
.hero-collage .hc-back-l { width: 46%; top: 0; left: 0; transform: rotate(-5deg); z-index: 1; }
.hero-collage .hc-back-r { width: 44%; top: 6%; right: 0; transform: rotate(4.5deg); z-index: 2; }
.hero-collage .hc-front  { width: 54%; bottom: 0; left: 50%; transform: translateX(-50%) rotate(-1.5deg); z-index: 3; }
.hero-collage figure:hover { transform: translateY(-4px) rotate(0deg); z-index: 4; }
.hero-collage .hc-front:hover { transform: translateX(-50%) translateY(-4px) rotate(0deg); z-index: 4; }

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.strip { border-block: 1px solid var(--line); padding-block: 1.1rem; overflow: hidden; }
.strip-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 3rem; }
.strip-track span::after { content: "✦"; font-style: normal; font-size: 0.7rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Section header
   ========================================================================== */
.section-head { display: grid; gap: 1rem; max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .eyebrow::before { display: none; }

/* ==========================================================================
   Course cards
   ========================================================================== */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.course-card {
  background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 100%;
  transition: background .5s var(--ease);
  position: relative; text-decoration: none; color: inherit;
}
.course-card:hover { background: var(--paper-2); }
.course-card.is-featured { background: var(--ink); color: var(--paper); }
.course-card.is-featured:hover { background: #1f1a13; }
.course-card.is-featured .cc-meta, .course-card.is-featured .cc-price-note { color: #bdb3a3; }
.course-card.is-featured .tlink { color: var(--paper); }
.course-card.is-featured .tlink::after { background: var(--paper); }
.cc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.cc-index { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink-faint); }
.cc-tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 0.25em 0.7em; opacity: 0.7; }
.cc-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 0.4rem; }
.cc-summary { color: inherit; opacity: 0.85; font-size: 0.95rem; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.82rem; color: var(--ink-faint); margin-top: auto; }
.cc-meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.cc-price { font-family: var(--font-display); font-size: 1.5rem; }
.cc-price-note { font-size: 0.72rem; color: var(--ink-faint); }

/* ==========================================================================
   Feature / steps
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split.reverse > :first-child { order: 2; } }

.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { counter-increment: step; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-ink); }
.step-num::before { content: "0" counter(step); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

.feature-list { display: grid; gap: 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-block: 1rem; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .mk { color: var(--accent); margin-top: 0.35rem; }

/* image frame */
.frame { border: 1px solid var(--line); border-radius: 4px; padding: 0.7rem; background: var(--paper-2); }
.frame img, .frame video, .frame .ph { border-radius: 2px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* placeholder artwork (used until real photos are added) */
.ph {
  display: grid; place-items: center; color: var(--ink-faint); text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--line) 60%, transparent) 14px 15px),
    var(--paper-3);
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; padding: 1rem;
}

/* ==========================================================================
   Comparison (us vs the beauty industry)
   ========================================================================== */
.compare { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.6rem); }
.compare-col.them { background: var(--paper-2); }
.compare-col.us { background: var(--ink); color: var(--paper); }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.compare-col h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.compare-col .tagline { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.compare-col.us .tagline { color: #bdb3a3; }
.compare-list { display: grid; gap: 0; }
.compare-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding-block: 0.85rem; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); font-size: 0.95rem; }
.compare-list li:first-child { border-top: 0; }
.compare-list .mk { margin-top: 0.15rem; font-size: 0.95rem; line-height: 1.4; }
.compare-col.us .mk { color: var(--paper); }
.compare-col.them .mk { color: var(--ink-faint); }

/* Pull-quote */
.pullquote { border-left: 2px solid var(--accent); padding-left: clamp(1.2rem, 3vw, 2.2rem); max-width: 26ch; }
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.2; color: var(--ink); }
.pullquote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ==========================================================================
   Accreditation badges
   ========================================================================== */
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.badge { background: var(--paper); padding: 1.4rem clamp(1rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.25rem; text-align: center; align-items: center; }
.badge .badge-label { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.badge .badge-sub { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.badge::before { content: ""; width: 30px; height: 30px; margin-bottom: 0.5rem; border: 1px solid var(--accent); border-radius: 50%; background:
  radial-gradient(circle at 50% 50%, var(--accent) 0 2px, transparent 2px),
  conic-gradient(from 0deg, transparent 0 80%, color-mix(in srgb, var(--accent) 40%, transparent) 80% 100%);
  -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }

/* ==========================================================================
   Info lists (what's included / what to bring)
   ========================================================================== */
.info-cols { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 760px) { .info-cols { grid-template-columns: 1fr 1fr; } }
.info-block h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1rem; }
.info-list { display: grid; gap: 0; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list .mk { color: var(--accent); margin-top: 0.1rem; }

/* ==========================================================================
   Earning potential band
   ========================================================================== */
.earn { background: var(--ink); color: var(--paper); border-radius: 4px; padding: clamp(2.2rem, 5vw, 4rem); }
.earn .eyebrow { color: var(--accent); }
.earn h2 { color: var(--paper); }
.earn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: color-mix(in srgb, var(--paper) 14%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); border-radius: 3px; overflow: hidden; margin-top: 2rem; }
.earn-cell { background: var(--ink); padding: 1.4rem 1rem; text-align: center; }
.earn-cell .fig { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; }
.earn-cell .per { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #bdb3a3; margin-top: 0.5rem; }
.earn-note { font-size: 0.82rem; color: #bdb3a3; margin-top: 1.4rem; max-width: 60ch; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.carousel { position: relative; }
/* Slider track: 4 cards visible on desktop, snap-scrolling. Natively swipeable
   without JS; the arrow buttons (JS) step through it. */
.quotes {
  display: grid; grid-auto-flow: column; gap: 1px;
  grid-auto-columns: 85%;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.quotes::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .quotes { grid-auto-columns: calc((100% - 1px) / 2); } }
@media (min-width: 980px) { .quotes { grid-auto-columns: calc((100% - 3px) / 4); } }
.quote { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; scroll-snap-align: start; }

.carousel-controls { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.2rem; }
html:not(.js) .carousel-controls { display: none; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.quote .stars { color: var(--accent); letter-spacing: 0.18em; font-size: 0.85rem; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1rem, 0.92rem + 0.35vw, 1.18rem); line-height: 1.45; font-style: italic; color: var(--ink); }
.quote .who { margin-top: auto; font-size: 0.85rem; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.quote .who strong { font-weight: 600; }
.quote .who > span { color: var(--ink-faint); }
.via-google {
  display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; color: var(--accent-ink);
}

/* "5.0 Google reviews" badge (static, not a link) */
.google-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center;
  margin-top: 1.2rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink);
}
.google-badge .gb-stars { color: #e8b53d; letter-spacing: 0.06em; font-size: 0.95rem; }
.google-badge .gb-text { font-size: 0.9rem; }
.google-badge .gb-text strong { font-weight: 600; }

/* ==========================================================================
   Footer legal row
   ========================================================================== */
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { text-decoration: none; color: var(--ink-faint); }
.footer-legal a:hover { color: var(--ink); }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.gallery { columns: 3 240px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 3px; padding: 0.5rem; background: var(--paper); transition: transform .5s var(--ease); }
.gallery figure:hover { transform: translateY(-3px); }
.gallery img { width: 100%; border-radius: 2px; display: block; }
.gallery .ph { aspect-ratio: auto; }
.gallery .ph.tall { min-height: 320px; }
.gallery .ph.mid { min-height: 230px; }
.gallery .ph.wide { min-height: 180px; }
.gallery figcaption { font-size: 0.74rem; color: var(--ink-faint); padding: 0.5rem 0.3rem 0.2rem; letter-spacing: 0.04em; }

/* ==========================================================================
   Course detail
   ========================================================================== */
.course-hero { padding-top: clamp(2.5rem, 5vw, 4rem); }
.breadcrumbs { font-size: 0.8rem; color: var(--ink-faint); display: flex; gap: 0.5em; flex-wrap: wrap; margin-bottom: 1.6rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.course-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) { .course-layout { grid-template-columns: 1fr 340px; align-items: start; } }
.course-facts { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; position: sticky; top: 100px; }
.course-facts dl { display: grid; }
.course-facts .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.3rem; border-top: 1px solid var(--line); }
.course-facts .row:first-child { border-top: 0; }
.course-facts dt { color: var(--ink-faint); font-size: 0.85rem; }
.course-facts dd { font-weight: 500; text-align: right; }
.course-facts .price-row { background: var(--ink); color: var(--paper); }
.course-facts .price-row dt { color: #bdb3a3; }
.course-facts .price-row .price { font-family: var(--font-display); font-size: 1.6rem; }
.course-facts .cta-row { padding: 1.2rem 1.3rem; border-top: 1px solid var(--line); }
.course-facts .btn { width: 100%; justify-content: center; }

.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-top: 2.4rem; margin-bottom: 0.8rem; font-weight: 300; }
.prose h3 { font-size: 1.4rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul:not([class]) { padding-left: 0; list-style: none; display: grid; gap: 0.7rem; margin-block: 1.2rem; }
/* The dash marker is positioned absolutely (not a grid column) so list items
   can hold inline markup, e.g. <strong>Days 1 to 3:</strong> text, without the
   <strong> and the text becoming separate grid items and breaking the layout. */
.prose ul:not([class]) li { position: relative; padding-left: 2.3rem; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 1.4rem; height: 1px; background: var(--accent); }

/* ==========================================================================
   Course dates list
   ========================================================================== */
.datelist { border-top: 1px solid var(--line); margin-top: 0.5rem; }
.daterow {
  display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.4rem);
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.date-chip {
  flex: none; width: 66px; height: 66px; border: 1px solid var(--line-strong); border-radius: 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--paper-2);
}
.date-chip .dc-month { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.date-chip .dc-range { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
.date-info { flex: 1 1 200px; display: flex; flex-direction: column; gap: 0.2rem; }
.date-label { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.1; }
.date-sub { font-size: 0.84rem; color: var(--ink-faint); }
.date-status { flex: none; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3em 0.75em; border-radius: 999px; white-space: nowrap; }
.date-status.spots { color: var(--ink-soft); border: 1px solid var(--line-strong); }
.date-status.spots.few { color: var(--accent-ink); border-color: var(--accent); }
.date-status.full { color: var(--ink-faint); border: 1px solid var(--line-strong); }
.date-status.completed { color: var(--ink-faint); border: 1px solid var(--line-strong); }
.daterow .date-cta { margin-left: auto; }
.daterow.is-full { opacity: 0.6; }
/* Completed (past) dates: struck through + muted, action disabled */
.daterow.is-completed .date-chip,
.daterow.is-completed .date-sub { opacity: 0.5; }
.daterow.is-completed .date-label { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-faint); }
.btn.date-cta[aria-disabled="true"] { opacity: 0.4; pointer-events: none; background: transparent; color: var(--ink-faint); border-color: var(--line-strong); }
.datelist-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--ink-soft); }

/* Collapsible "earlier completed" history */
.earlier-dates summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.92rem;
}
.earlier-dates summary::-webkit-details-marker { display: none; }
.earlier-dates summary::before {
  content: "+"; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--accent-ink);
  width: 1rem; text-align: center; transition: transform .3s var(--ease);
}
.earlier-dates[open] summary::before { content: "–"; }
.earlier-dates summary:hover { color: var(--ink); }
.earlier-dates .ed-hint { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.earlier-list .daterow:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 560px) {
  .daterow .btn { margin-left: 0; width: 100%; justify-content: center; }
  .date-info { flex-basis: calc(100% - 66px - 1.4rem); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem); display: flex; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.2rem; top: 50%; width: 14px; height: 1px; background: var(--ink);
  box-shadow: 0 0 0 0 transparent; transition: transform .3s var(--ease);
}
.faq summary::before {
  content: ""; position: absolute; right: 0.2rem; top: 50%; width: 14px; height: 1px; background: var(--ink);
  transform: rotate(90deg); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq details[open] summary::before { transform: rotate(0deg); opacity: 0; }
.faq .faq-body { padding: 0 2.5rem 1.6rem 0; color: var(--ink-soft); }

/* ==========================================================================
   Forms (booking / contact)
   ========================================================================== */
.form-shell { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) { .form-shell { grid-template-columns: 0.85fr 1.15fr; } }
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 500; }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 0.85rem 1rem; width: 100%; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; gap: 1.3rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; margin-top: 0.4rem; }

/* Payment options (deposit / full) */
.pay-options { border: 0; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.pay-options legend { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 500; padding: 0; margin-bottom: 0.45rem; }
.pay-opt { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.pay-opt:hover { border-color: var(--ink-faint); }
.pay-opt input { width: auto; flex: 0 0 auto; margin: 0; accent-color: var(--ink); }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.pay-opt-main { display: flex; flex-direction: column; gap: 0.15rem; flex: 1 1 auto; min-width: 0; }
.pay-opt-main strong { font-weight: 600; }
.pay-opt .pay-note { font-size: 0.8rem; color: var(--ink-faint); }
.pay-opt .pay-amt { flex: 0 0 auto; margin-left: 0.8rem; font-family: var(--font-display); font-size: 1.35rem; white-space: nowrap; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); }
.honeypot { position: absolute; left: -9999px; }

.contact-aside { display: grid; gap: 1.5rem; align-content: start; }
.contact-aside .ca-block { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.contact-aside h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.contact-aside a { color: var(--ink); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 4px; padding: clamp(2.5rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band .display, .cta-band .h2 { color: var(--paper); }
.cta-band .lede { color: #c8bfb0; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: 1.8rem; }
.cta-band .btn:hover { background: transparent; color: var(--paper); }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 1px; height: 60%; top: 20%; background: color-mix(in srgb, var(--paper) 16%, transparent);
}
.cta-band::before { left: 12%; }
.cta-band::after { right: 12%; }

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-head { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-head .display { max-width: 18ch; }
.page-head .lede { max-width: 56ch; margin-top: 1.4rem; }

/* ==========================================================================
   Greater Manchester council directory
   ========================================================================== */
.council-list { border-top: 1px solid var(--line); }
.council { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.council-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.council-head h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); }
.council-towns { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.4rem; }

/* ==========================================================================
   Consent form (printable)
   ========================================================================== */
.consent-form { max-width: 820px; margin-inline: auto; border: 1px solid var(--line-strong); border-radius: 4px; padding: clamp(1.6rem, 4vw, 3rem); background: var(--paper); }
.cf-header { text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.cf-header h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.cf-header p { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.4rem; }
.cf-h { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin: 1.8rem 0 0.8rem; border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; }
.cf-note { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.cf-field { display: flex; flex-direction: column; gap: 0.4rem; }
.cf-field.cf-wide { grid-column: 1 / -1; }
.cf-field label { font-size: 0.82rem; color: var(--ink-soft); }
.cf-line { border-bottom: 1px solid var(--ink-faint); height: 1.6rem; }
.cf-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.4rem; margin-bottom: 1rem; }
.cf-check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.95rem; margin: 0.5rem 0; }
.cf-box { width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--ink); border-radius: 3px; margin-top: 0.15rem; flex: none; }
@media (max-width: 560px) { .cf-grid, .cf-checks { grid-template-columns: 1fr; } }

@media print {
  .no-print, .site-header, .site-footer, .skip-link, .strip { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 0; }
  .consent-form { border: 0; padding: 0; max-width: 100%; }
  a[href]:after { content: ""; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: var(--section-y); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; }
.footer-tag { color: var(--ink-soft); font-size: 0.92rem; margin-block: 1rem 1.4rem; max-width: 34ch; }
.footer-head { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-address { font-style: normal; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.8; }
.footer-social { display: flex; gap: 1.2rem; margin-top: 1rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-faint); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
/* Reveal only hides content once JS is confirmed (html.js). Without JS, or
   before the observer fires, everything stays visible, no blank flash. */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal-stagger].in > * { opacity: 1; transform: none; }

/* ==========================================================================
   Mobile nav + responsive
   ========================================================================== */
@media (max-width: 820px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 90;
    background: rgba(23, 19, 14, 0.42); opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
  }
  .nav-backdrop[data-open] { opacity: 1; visibility: visible; }
  /* .site-nav prefix raises specificity above the `ul[class]` reset so the panel
     padding actually applies. */
  .site-nav .nav-list {
    z-index: 110;
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.55rem; padding: 2.5rem clamp(1.75rem, 7vw, 2.75rem); background: var(--paper);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .5s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.18);
  }
  .nav-list[data-open] { transform: translateX(0); }
  .nav-list a:not(.btn) { font-size: 1.5rem; font-family: var(--font-display); color: var(--ink); }
  .nav-cta { margin-top: 0.5rem; }
}

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.5fr 0.9fr; align-items: start; }
  .hero-collage { height: clamp(400px, 40vw, 540px); align-self: start; margin-top: clamp(1rem, 4vw, 3.5rem); }
  .hero-collage .hc-back-l { width: 50%; }
  .hero-collage .hc-back-r { width: 46%; }
  .hero-collage .hc-front  { width: 58%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  html.js [data-reveal], html.js [data-reveal-stagger] > * { opacity: 1; transform: none; }
}
