/* =========================================================================
   UK Tattoo Colleges — formal theme (single source of truth for all pages).
   Sans-serif only (Archivo + Inter), monochrome with a black accent.
   Home sections + shared header/footer + interior components, one system.
   ========================================================================= */

:root{
  --paper:#ffffff; --wash:#f6f6f4; --ink:#141414; --ink-soft:#33383e; --muted:#6b6f76;
  --line:#e6e6e2; --accent:#141414; --accent-d:#000000; --wa:#25d366; --klarna:#FFB3C7;
  --head:"Archivo",system-ui,sans-serif; --sans:"Inter",system-ui,sans-serif;
  --wrap:1120px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
/* Lenis smooth scrolling: hand control to Lenis when active, native fallback otherwise */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
.lenis.lenis-smooth iframe{pointer-events:none}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.65;-webkit-font-smoothing:antialiased}
::selection{background:var(--ink);color:#fff}
/* height:auto is REQUIRED here. width/height attributes on <img> are added for
   CLS, but they also act as presentational hints setting height:900px - and
   because rules like .hero-media img set width and aspect-ratio but never
   height, that hint won and every image rendered at its full intrinsic height
   (900px heroes, 900px audience cards). height:auto lets aspect-ratio govern
   while the attributes still reserve the right space. */
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}

h1,h2,h3{font-family:var(--head);letter-spacing:-0.02em;line-height:1.12;margin:0}
h1{font-weight:700;font-size:clamp(2.2rem,1.7rem + 1.6vw,3rem);text-transform:uppercase;line-height:1.06}
h2{font-weight:600;font-size:clamp(1.7rem,1.2rem + 1.6vw,2.5rem);text-transform:uppercase}
h3{font-weight:600;font-size:1.2rem;text-transform:none}
p{margin:0}

.wrap{width:min(100% - 3rem,var(--wrap));margin-inline:auto}
.wrap.narrow>*{max-width:760px}
.label,.kicker{display:inline-block;font-family:var(--head);font-size:0.72rem;text-transform:uppercase;letter-spacing:0.2em;font-weight:700;color:var(--accent);margin:0 0 0.9rem}
.muted{color:var(--muted)}
.center{text-align:center}
.rule{height:1px;background:var(--line);border:0;margin:0}
.eyebrow-rule{width:44px;height:2px;background:var(--ink);border:0;margin:0 0 1.2rem}
.center .eyebrow-rule{margin-inline:auto}
.lead{font-size:1.1rem;color:var(--ink-soft);max-width:46ch;line-height:1.5}
.center .lead{margin-inline:auto}
.stack>*+*{margin-top:1.2rem}
.prose{max-width:66ch}
.prose p{margin-bottom:1.05rem;font-size:1.02rem;color:var(--ink-soft)}
.prose p:last-child{margin-bottom:0}
/* Prose intros use a full lead sentence as the h1 — size it as an editorial lead,
   not a billboard (the .hero h1 title size is only for short page titles). */
.prose h1{font-size:clamp(1.85rem,1.35rem + 1.6vw,2.7rem);line-height:1.14;letter-spacing:-0.015em}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:0.5em;font-family:var(--head);font-size:0.8rem;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;padding:1em 1.8em;border:1.5px solid var(--accent);background:var(--accent);color:#fff;border-radius:2px;cursor:pointer;transition:background .2s,color .2s}
.btn:hover{text-decoration:none;background:#fff;color:var(--accent)}
.btn-ghost,.btn-outline{background:transparent;color:var(--accent)}
.btn-ghost:hover,.btn-outline:hover{background:var(--accent);color:#fff}
.btn-sm{padding:0.6em 1.15em}
.btn-row{display:flex;flex-wrap:wrap;gap:0.8rem;align-items:center}
.link{font-family:var(--head);font-weight:600;font-size:0.82rem;text-transform:uppercase;letter-spacing:0.04em;border-bottom:1.5px solid var(--accent);padding-bottom:3px}
.link:hover{text-decoration:none;opacity:0.6}

/* Utility bar */
.util{border-bottom:1px solid var(--line);font-size:0.75rem;color:var(--muted)}
.util .wrap{display:flex;justify-content:space-between;gap:1rem;padding:0.55rem 0;flex-wrap:wrap}
.util a{color:var(--ink);font-weight:600}
.util-left{display:inline-flex;align-items:center;gap:0.7rem}
.util-login{display:inline-flex;align-items:center;gap:0.3em}
.util-login svg{display:block}
/* Book now lives in the header nav button on desktop; it moves into the util
   bar only once the nav collapses to the hamburger (<=1000px). */
.util-book{display:none;font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:0.04em}
@media(max-width:1000px){
  .util-book{display:inline-flex}
  .util-tag{display:none}          /* let BOOK NOW stand alone on the left */
}
@media(max-width:700px){
  .util-contact{display:none}      /* small phones: just BOOK NOW + Student login */
}

/* Header */
.head{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}
.head .wrap{display:flex;align-items:center;justify-content:space-between;height:102px;gap:1rem}
.brand{display:flex;align-items:center}
.brand:hover{text-decoration:none}
.brand-logo{height:70px;width:auto;display:block}
@media(max-width:560px){.head .wrap{height:78px}.brand-logo{height:48px}}
nav.main{display:flex;align-items:center;gap:1.35rem}
nav.main a{font-family:var(--head);font-size:0.8rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em}
.nav-top{color:var(--ink);display:inline-flex;align-items:center;gap:0.32rem}
.nav-top:hover{text-decoration:none;opacity:0.55}
.nav-top[aria-current="page"]{border-bottom:2px solid var(--ink);padding-bottom:2px}
.caret{width:0;height:0;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:4px solid currentColor;display:inline-block;opacity:0.5;margin-top:1px}
.nav-group{position:relative;display:inline-flex;align-items:center}
.dropdown{position:absolute;top:100%;left:-0.9rem;min-width:232px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 34px rgba(20,20,20,0.12);padding:0.4rem 0;display:none;z-index:40}
.nav-group:hover .dropdown,.nav-group:focus-within .dropdown{display:block}
.dropdown a{display:block;padding:0.62rem 1.15rem;font-size:0.74rem;color:var(--ink);white-space:nowrap}
.dropdown a:hover{background:var(--wash);text-decoration:none}
.dropdown a[aria-current="page"]{background:var(--wash)}
nav.main .btn{padding:0.6em 1.15em}
/* nav.main .btn (0,2,1) out-specifies .btn:hover (0,2,0), so the hover colour has
   to be restated here or the text stays white on the white hover fill (invisible) */
nav.main .btn:hover{background:#fff;color:var(--accent)}
/* Hamburger — hidden on desktop, shown when the inline nav collapses. */
.nav-toggle{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:40px;padding:0;background:none;border:0;-webkit-appearance:none;appearance:none;cursor:pointer;margin-left:auto}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:1000px){
  .nav-toggle{display:flex}
  /* The nav becomes a full-width dropdown panel under the sticky header. */
  nav.main{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);box-shadow:0 18px 34px rgba(20,20,20,0.12);
    flex-direction:column;align-items:stretch;gap:0;padding:0.4rem 0 0.7rem;display:none;
    max-height:calc(100vh - 100%);max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  /* Open menu: a FIXED panel anchored from just below the (also-fixed) header to
     the bottom of the screen, as its own scroll container. Anchoring top+bottom to
     the viewport (rather than a vh/dvh max-height) is what makes it reliably fill
     the visible area and scroll on iOS. --nav-top is the header height, set in JS. */
  nav.main.is-open{display:flex;position:fixed;top:var(--nav-top,64px);left:0;right:0;bottom:0;
    max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:55}
  /* When the menu is open, PIN the header to the viewport too. The body scroll-lock
     (body.nav-open{overflow:hidden}) otherwise breaks the header's position:sticky
     on mobile once scrolled, hiding the header + menu. */
  body.nav-open .head{position:fixed;top:0;left:0;right:0;z-index:60}
  nav.main .nav-cta{display:none}  /* BOOK NOW lives in the util bar on mobile */
  nav.main .nav-top,nav.main .nav-group{display:flex}
  /* Top-level items: divider between groups, no full-width current underline. */
  nav.main > .nav-top,nav.main > .nav-group > .nav-top{padding:0.7rem 1.4rem;border-bottom:1px solid var(--line)}
  nav.main > .nav-top[aria-current="page"],nav.main > .nav-group > .nav-top[aria-current="page"]{border-bottom:1px solid var(--line);color:var(--accent)}
  nav.main .nav-group{flex-direction:column;align-items:stretch}
  /* Sub-items: indented, lighter, smaller — clearly nested under the parent. */
  .nav-group .dropdown{position:static;display:block;min-width:0;border:0;box-shadow:none;padding:0.15rem 0 0.55rem 2.6rem}
  .nav-group .dropdown a{padding:0.42rem 0;font-size:0.72rem;color:var(--muted);letter-spacing:0.04em}
  .nav-group .dropdown a[aria-current="page"]{color:var(--ink)}
  .nav-top .caret{display:none}
}

/* WhatsApp floating button */
.wa{position:fixed;right:20px;bottom:20px;z-index:60;width:56px;height:56px;border-radius:50%;background:var(--wa);color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,0.22);transition:transform .15s}
.wa:hover{transform:scale(1.07);text-decoration:none}
.wa svg{width:30px;height:30px;fill:#fff}

/* Home hero (split) */
.hero{padding:clamp(2.6rem,4vw,4.5rem) 0 clamp(2.2rem,3vw,3rem)}
.hero .grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.hero .label{margin-bottom:1.2rem}
.hero h1{font-size:clamp(2.5rem,1.9rem + 1.9vw,3.4rem);text-transform:uppercase;line-height:1.04}
.hero p.sub{margin-top:1.3rem;font-size:1.1rem;max-width:44ch;color:var(--ink-soft)}
.hero p.sub strong{font-weight:600;color:var(--ink)}
.hero .cta{margin-top:1.9rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.hero .lead{margin-top:1.1rem}
.hero .price{margin-top:1rem}
.hero-media{position:relative}
.hero-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:3px}
.hero-media .seal{position:absolute;right:-14px;bottom:22px;background:#fff;border:1.5px solid var(--ink);border-radius:50%;width:120px;height:120px;display:grid;place-items:center;text-align:center}
.hero-media .seal span{font-family:var(--head);font-weight:700;font-size:0.82rem;line-height:1.2;text-transform:uppercase}
.hero-media .seal em{display:block;font-style:normal;font-size:0.6rem;letter-spacing:0.16em;color:var(--muted);margin-top:5px}
@media(max-width:820px){.hero .grid{grid-template-columns:1fr}.hero-media{order:-1}.hero-media img{aspect-ratio:16/10}}
@media(max-width:560px){
  .hero{padding-top:2rem}
  .hero .label{margin-bottom:0.9rem}
  .hero p.sub{font-size:1rem;margin-top:1.05rem;line-height:1.55}
  .hero .cta{margin-top:1.7rem}
  .hero-trust{margin-top:1.4rem;gap:0.7rem 1.5rem}
  .hero .hero-fin{margin-top:1.3rem}
}

/* Facts strip */
.facts{border-block:1px solid var(--ink)}
/* auto-fit, not repeat(4): far-away areas drop the travel-time tile and render 3 */
.facts .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
.facts .f{padding:1.5rem 0;text-align:center;border-left:1px solid var(--line)}
.facts .f:first-child{border-left:0}
.facts .f .n{font-family:var(--head);font-weight:700;font-size:1.5rem}
.facts .f .t{font-size:0.7rem;text-transform:uppercase;letter-spacing:0.14em;color:var(--muted);margin-top:0.3rem}
@media(max-width:640px){.facts .wrap{grid-template-columns:repeat(2,1fr)}.facts .f:nth-child(3){border-left:0}}

/* Sections */
.sec,.section{padding:clamp(3rem,4.5vw,5rem) 0}
.sec.wash,.section-alt{background:var(--wash)}
.sec .lead-h{margin-bottom:2.2rem}
.sec .kick{margin-bottom:0.8rem}

/* Programme / course list (home) */
.prog{border-top:1px solid var(--ink);margin-top:1.5rem}
.prog a.row{display:grid;grid-template-columns:auto 1fr auto auto;gap:2rem;align-items:baseline;padding:1.6rem 0.2rem;border-bottom:1px solid var(--line);transition:padding-left .2s,background .2s}
.prog a.row:hover{padding-left:1rem;background:var(--wash);text-decoration:none}
.prog .idx{font-family:var(--head);font-weight:700;color:var(--muted);font-size:1rem}
.prog .nm{font-family:var(--head);font-weight:600;font-size:1.35rem}
.prog .nm small{display:block;font-family:var(--sans);font-size:0.9rem;color:var(--muted);margin-top:0.35rem;font-weight:400}
.prog .du{font-size:0.74rem;text-transform:uppercase;letter-spacing:0.1em;color:var(--muted);white-space:nowrap}
.prog .pr{font-family:var(--head);font-weight:700;font-size:1.3rem}
@media(max-width:820px){.prog a.row{grid-template-columns:1fr auto;gap:0.4rem 1.2rem}.prog .idx,.prog .du{display:none}}

/* Smaller italic qualifier appended to a course title (e.g. "for experienced individuals") */
.title-suffix{font-style:italic;font-weight:400;font-size:0.7em;color:var(--muted)}

/* Steps */
.steps{list-style:none;margin:1.6rem 0 0;padding:0;counter-reset:s}
.steps li{counter-increment:s;padding:1.1rem 0 1.1rem 3rem;border-top:1px solid var(--line);position:relative}
.steps li::before{content:counter(s);position:absolute;left:0;top:1.05rem;font-family:var(--head);font-weight:700;font-size:1.1rem}
.steps li b{font-weight:600}

/* Columns (who / why) */
.cols{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.4rem,3vw,2.6rem)}
.cols .c .n{font-family:var(--head);font-weight:700;font-size:1rem}
.cols .c h3{font-size:1.2rem;margin:0.55rem 0 0.5rem}
.cols .c p{color:var(--muted);font-size:0.94rem}
.cols .c hr{margin-bottom:1rem}
.cols .c a{font-weight:600;border-bottom:1.5px solid var(--ink);padding-bottom:2px;font-size:0.9rem;display:inline-block;margin-top:0.7rem}
.cols-media .c-media{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;margin-bottom:1.1rem;border-radius:3px;background:var(--wash)}
.cols-media .c .n{color:var(--muted)}
@media(max-width:760px){.cols{grid-template-columns:1fr}}

/* FAQ */
.faq{border-top:1px solid var(--ink);margin-top:1.5rem}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:1.15rem 0;font-family:var(--head);font-weight:600;font-size:1.08rem;display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--head);font-weight:700}
.faq details[open] summary::after{content:"\2013"}
.faq p{padding:0 0 1.15rem;color:var(--muted);margin:0;max-width:72ch}

/* Quote */
.quote{max-width:820px;margin-inline:auto;text-align:center}
.quote p{font-family:var(--head);font-weight:500;font-size:clamp(1.35rem,1rem + 1.3vw,1.9rem);line-height:1.35}
.quote .who{margin-top:1.4rem;font-size:0.76rem;text-transform:uppercase;letter-spacing:0.14em;color:var(--muted)}

/* ---- Google reviews carousel ---- */
.rev-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.4rem;flex-wrap:wrap;margin-bottom:2rem}
.rev-summary{display:flex;align-items:center;gap:0.6rem}
.rev-g{display:block;flex:none}
.rev-stars{color:#fbbc04;letter-spacing:0.08em;font-size:1.05rem;line-height:1}
.rev-score{font-family:var(--head);font-size:0.82rem;color:var(--muted);white-space:nowrap}
.rev-score strong{color:var(--ink);font-weight:700}
/* hero trust row: Google + Trustpilot (no review counts) */
.hero-trust{display:flex;align-items:center;gap:0.9rem 1.9rem;flex-wrap:wrap;margin-top:1.5rem}
.trust-item{display:inline-flex;align-items:center;gap:0.5rem}
.tp-logo{display:inline-flex;align-items:center;gap:0.3rem;font-family:var(--head);font-weight:700;font-size:0.9rem;color:var(--ink)}
.tp-logo svg{display:block}
.tp-stars{display:block;height:19px;width:auto}
.rev-carousel{display:flex;align-items:center;gap:0.6rem}
.rev-track{flex:1;min-width:0;display:flex;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;list-style:none;margin:0;padding:0.4rem;scrollbar-width:none}
.rev-track::-webkit-scrollbar{display:none}
.rev-card{flex:0 0 min(340px,82vw);scroll-snap-align:start;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:4px;background:#fff;padding:1.5rem}
.rev-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.9rem}
.rev-quote{margin:0 0 1.2rem;font-size:0.96rem;line-height:1.6;color:var(--ink-soft);flex:1}
.rev-who{display:flex;flex-direction:column;gap:0.15rem;border-top:1px solid var(--line);padding-top:0.9rem}
.rev-name{font-family:var(--head);font-weight:700;font-size:0.9rem}
.rev-course{font-size:0.74rem;text-transform:uppercase;letter-spacing:0.1em;color:var(--muted)}
.rev-arrow{flex:none;width:42px;height:42px;border-radius:50%;border:1.5px solid var(--ink);background:#fff;color:var(--ink);font-size:1.4rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s}
.rev-arrow:hover{background:var(--ink);color:#fff}
.rev-arrow:disabled{opacity:0.3;cursor:default;background:#fff;color:var(--ink)}
.rev-dots{display:flex;justify-content:center;gap:0.5rem;margin-top:1.4rem}
.rev-dots button{width:8px;height:8px;padding:0;border-radius:50%;border:0;background:var(--line);cursor:pointer;transition:background .2s,transform .2s}
.rev-dots button[aria-current="true"]{background:var(--ink);transform:scale(1.3)}
@media(max-width:640px){.rev-arrow{display:none}}

/* Admissions band */
.adm{background:var(--accent);color:#fff}
.adm .wrap{padding:clamp(2.8rem,4.5vw,4.6rem) 0;display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center}
.adm .label{color:#c7c7c7}
.adm h2{color:#fff;max-width:none;white-space:nowrap;font-size:clamp(1.3rem, calc(0.85rem + 1.5vw), 1.95rem)}
.adm .btn{background:#fff;color:var(--accent);border-color:#fff}
.adm .btn:hover{background:transparent;color:#fff}
.adm .r{justify-self:end}
@media(max-width:820px){.adm .wrap{grid-template-columns:1fr}.adm .r{justify-self:start}.adm h2{white-space:normal}}

/* ---- Interior page components ---- */
.grid{display:grid;gap:clamp(1rem, calc(0.6rem + 2vw), 2rem)}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
/* roomier spacing for guide-card grids (guides index + locations) */
.grid:has(.guide-card){gap:clamp(1.6rem, calc(1rem + 2.2vw), 2.8rem)}
.card{background:#fff;border:1px solid var(--ink);border-radius:2px;padding:1.6rem;height:100%}
.card h3{margin-bottom:0.35em}
.course-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
/* The media wrapper is the fixed picture frame (its own overflow:hidden). The image
   fills it and scales on hover, so the zoom is clipped to the frame — it can't bleed
   down into the card body the way scaling a bare flex-child image did. */
.course-card__media{display:block;aspect-ratio:3/2;overflow:hidden}
.course-card__img{width:100%;height:100%;object-fit:cover;display:block}
.course-card__img,.guide-card__img{transition:transform .5s ease}
.course-card:hover .course-card__img,
.guide-card:hover .guide-card__img{transform:scale(1.06)}
@media (prefers-reduced-motion:reduce){
  .course-card:hover .course-card__img,
  .guide-card:hover .guide-card__img{transform:none}
}
.course-card__body{padding:1.6rem;display:flex;flex-direction:column;flex:1}
.course-card__body>*{margin-top:0}
.course-card h3{margin:0.9rem 0 0.5rem}
.course-card .price{margin:0.9rem 0 0}
.course-card .btn-row{margin-top:auto;padding-top:1.2rem}
.meta{display:flex;gap:0.5rem;flex-wrap:wrap}
.tag{font-family:var(--head);font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;padding:0.3em 0.7em;border:1px solid var(--ink)}
.tag-level{background:var(--ink);color:#fff;margin-bottom:0.9rem}
/* course hero tag row: keep the two badges the same height + aligned (reset the
   card-banner bottom margin that .tag-level carries elsewhere) */
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:0.6rem}
.meta .tag,.meta .tag-level{margin-bottom:0}
/* course "who / what" aside image */
.course-aside{align-self:stretch}
.course-aside img{width:100%;height:100%;min-height:300px;object-fit:cover;border-radius:3px;filter:grayscale(1) contrast(1.03)}
/* Klarna badge under a price */
.price-klarna{display:flex;align-items:center;gap:0.5rem;margin:0.7rem 0 0;font-family:var(--head);font-size:0.82rem;color:var(--muted)}
/* help / "still have a question" CTA - centered, consistent everywhere */
.help-cta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0.7rem}
.help-cta .label{display:block}
.help-cta h2{margin:0}
.help-cta .muted{max-width:46ch;margin:0}
.help-cta .btn-row{justify-content:center;margin-top:0.8rem}
/* default breathing room so buttons never butt against preceding text */
.btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:0.9rem;margin-top:1.4rem}
.price{font-family:var(--head);font-weight:700;font-size:1.4rem}
.price small{font-size:0.72rem;color:var(--muted);font-weight:600;font-family:var(--sans);text-transform:uppercase;letter-spacing:0.06em}

/* Datelist (automatic dates system) */
.datelist{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.date-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1rem 0.3rem;border-bottom:1px solid var(--line);background:#fff}
.date-label{font-family:var(--head);font-weight:600}
.date-state{margin-left:auto;font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:0.05em;font-size:0.78rem}
/* placeholder dates look identical to bookable ones (their Book button is inert) */
.date-row.is-bookable .date-state,.date-row.is-placeholder .date-state{color:var(--ink)}
.date-row.is-soldout{opacity:0.5}
.date-row.is-completed{opacity:0.42}
.date-row.is-completed .date-label{text-decoration:line-through}
.date-row .btn{padding:0.5em 1.05em;font-size:0.7rem}
.history{margin:0 0 1.2rem;border:1px solid var(--line)}
.history summary{cursor:pointer;padding:0.9rem 1rem;font-weight:700}
.history .datelist{padding:0 1rem 1rem;border:0}
.history .history-note{margin:0;padding:0 1rem 0.6rem;color:var(--muted);font-size:0.8rem}

/* Datelist in a NARROW column (the three-up block on location pages).
   .date-row above is a flex row built for a full-width course page: whether the
   Book button fits beside the date depends on how long that date's text is, so
   "3 - 14 August" kept its button inline while "7 - 18 September" pushed it onto
   a second line - ragged rows of two different heights. A grid fixes the shape
   regardless of the text. */
.dates-compact .date-row{display:grid;grid-template-columns:1fr auto;gap:0.15rem 0.9rem;align-items:center;padding:0.85rem 0.3rem}
.dates-compact .date-label{grid-column:1;grid-row:1;font-size:0.95rem}
.dates-compact .date-state{grid-column:1;grid-row:2;margin-left:0;font-size:0.68rem;color:var(--muted)}
.dates-compact .date-row.is-bookable .date-state{color:var(--ink)}
.dates-compact .date-row .btn{grid-column:2;grid-row:1 / span 2;justify-self:end}
/* Completed dates and the history accordion are no longer RENDERED on location
   pages (see the datelistUpcoming filter), so there is nothing left to hide -
   CSS-hiding them still shipped the text to Google. */

/* Forms */
.form{display:grid;gap:1rem;max-width:34rem}
.form label{display:grid;gap:0.35rem;font-family:var(--head);font-weight:600;text-transform:uppercase;letter-spacing:0.05em;font-size:0.76rem}
/* Typed text uses the readable body font at 16px (also stops iOS zoom-on-focus),
   not the small uppercase label font it used to inherit. */
.form input,.form select,.form textarea{font-family:var(--sans);font-size:1rem;font-weight:400;text-transform:none;letter-spacing:normal;padding:0.7em 0.9em;border-radius:2px;border:1.5px solid var(--ink);background:#fff;color:var(--ink)}
.form input::placeholder,.form textarea::placeholder{color:#9a9ea4}
.form .req{color:var(--accent)}
.form input:focus,.form select:focus,.form textarea:focus{outline:3px solid var(--ink);outline-offset:2px}
.form textarea{min-height:8rem;resize:vertical}
.notice{border:1px solid var(--ink);border-left-width:6px;background:var(--wash);padding:1.2rem 1.4rem}

/* Gallery (about) */
.gallery-grid{display:grid;gap:0.6rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,12rem),1fr))}
.gallery-item{aspect-ratio:1;overflow:hidden;position:relative;background:var(--wash);border:1px solid var(--ink);display:grid;place-items:end start}
.gallery-item img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.gallery-item figcaption{position:relative;padding:0.5rem 0.8rem;font-family:var(--head);text-transform:uppercase;letter-spacing:0.06em;font-size:0.72rem;color:var(--muted);font-weight:700}

/* Footer */
.foot,.site-footer{background:#0d0d0d;color:#a7acb4;font-size:0.9rem}
.foot .wrap{padding:3.4rem 0 0;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:2rem}
/* Let grid tracks shrink below their content's min-content, and break long
   unbreakable strings (e.g. the email address) so nothing forces horizontal scroll. */
.foot .wrap>*{min-width:0}
.foot a,.foot p{overflow-wrap:break-word}
.foot h4{font-family:var(--head);font-size:0.7rem;text-transform:uppercase;letter-spacing:0.14em;color:#797e87;margin:0 0 0.9rem}
.foot a{color:#dcdfe4;display:block;margin-bottom:0.4rem}
.foot a:hover{color:#fff}
.foot .bw{font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:0.05em;color:#fff;font-size:1.1rem}
.brand-logo-foot{height:54px;width:auto;display:block}
.foot .muted{color:#797e87}
.foot .wrap.foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0.6rem 1.6rem;grid-template-columns:none;border-top:1px solid rgba(255,255,255,0.09);margin-top:2.4rem;padding:1.4rem 0 3.4rem;font-size:0.78rem;color:#797e87}
.foot .foot-legal .legal-copy{margin:0}
.foot .legal-links{display:flex;flex-wrap:wrap;gap:0.4rem 1.4rem}
.foot .legal-links a{display:inline;margin:0;color:#a7acb4}
.foot .legal-links a:hover{color:#fff}
.foot-social{display:flex;gap:1rem;margin-top:1.2rem}
.foot-social a{color:#dcdfe4;display:inline-flex;margin:0}
.foot-social a:hover{color:#fff}

/* Find-us map + directions */
.findus-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
.map-embed{border:1px solid var(--line);border-radius:4px;overflow:hidden;aspect-ratio:16/10}
.map-embed iframe{width:100%;height:100%;border:0;display:block}
@media(max-width:720px){.findus-grid{grid-template-columns:1fr}}

/* Disabled / sold-out button */
.btn.is-disabled,.btn[aria-disabled="true"]{background:var(--line);border-color:var(--line);color:var(--muted);cursor:not-allowed;pointer-events:none}

/* Accessibility: skip link + mobile-nav scroll lock */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:0.7em 1.2em;z-index:200;border-radius:0 0 3px 0}
.skip-link:focus{left:0}
body.nav-open{overflow:hidden}

/* Gallery lightbox */
.work-grid figure img{cursor:zoom-in}
.lightbox{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,0.92);display:flex;align-items:center;justify-content:center;padding:2rem}
.lightbox[hidden]{display:none}
.lightbox img{max-width:95vw;max-height:90vh;width:auto;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 10px 40px rgba(0,0,0,0.5)}
.lightbox__close{position:absolute;top:0.8rem;right:1.3rem;background:none;border:0;color:#fff;font-size:2.6rem;line-height:1;cursor:pointer;opacity:0.85}
.lightbox__close:hover{opacity:1}
@media(max-width:760px){.foot .wrap{grid-template-columns:1fr 1fr}}

/* Reveal on scroll (interior pages) */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s,transform .5s}
.reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* ---- Colour imagery (the one place colour lives) ---- */
.work-grid{display:grid;gap:0.8rem;grid-template-columns:repeat(3,1fr)}
.work-grid figure{margin:0;overflow:hidden;aspect-ratio:4/5;background:var(--wash)}
.work-grid img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.work-grid figure:hover img{transform:scale(1.04)}
@media(max-width:820px){.work-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.work-grid{grid-template-columns:1fr}}

/* Careers */
.job-meta{display:flex;flex-wrap:wrap;gap:0.5rem 1.4rem;margin-top:0.9rem}
.job-meta span{font-family:var(--head);text-transform:uppercase;letter-spacing:0.08em;font-size:0.74rem;font-weight:700;color:var(--muted);display:inline-flex;align-items:center;gap:0.45rem}
.job-meta span::before{content:"";width:6px;height:6px;background:var(--ink);flex:none}
.joblist{margin:0.7rem 0 0;padding-left:1.1rem}
.joblist li{margin-bottom:0.5rem;color:var(--ink-soft)}

/* Guide article body */
.article{max-width:720px}
.article p{margin-bottom:1.1rem;color:var(--ink-soft);font-size:1.05rem;line-height:1.75}
.article h2{font-size:clamp(1.4rem,1.1rem + 1vw,1.9rem);margin:2.2rem 0 0.8rem;text-transform:none}
.article h3{font-size:1.18rem;margin:1.6rem 0 0.5rem;text-transform:none}
.article ul,.article ol{margin:0 0 1.2rem;padding-left:1.2rem}
.article li{margin-bottom:0.5rem;color:var(--ink-soft)}
.article a{border-bottom:1.5px solid var(--ink);font-weight:600}
.article a:hover{text-decoration:none;opacity:0.65}
.article-hero-img{width:100%;aspect-ratio:16/6;object-fit:cover;filter:grayscale(1) contrast(1.04);margin-bottom:2.2rem;border-radius:3px}
.article-meta{display:flex;gap:1rem;flex-wrap:wrap;font-family:var(--head);text-transform:uppercase;letter-spacing:0.08em;font-size:0.72rem;color:var(--muted);font-weight:700;margin-top:0.6rem}

/* Guide cards (index) */
.guide-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.guide-card:hover{text-decoration:none}
.guide-card__media{display:block;aspect-ratio:16/10;overflow:hidden}
.guide-card__img{width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(1) contrast(1.04)}
.guide-card__body{padding:1.6rem;display:flex;flex-direction:column;flex:1}
.guide-card .rt{font-family:var(--head);text-transform:uppercase;letter-spacing:0.08em;font-size:0.7rem;color:var(--muted);font-weight:700;margin-bottom:0.6rem}
.guide-card h3{margin:0 0 0.5rem}
.guide-card p{color:var(--muted);font-size:0.94rem;margin:0 0 1rem}
.guide-card .more{margin-top:auto;font-family:var(--head);text-transform:uppercase;letter-spacing:0.04em;font-weight:600;border-bottom:1.5px solid var(--ink);padding-bottom:2px;font-size:0.78rem;align-self:flex-start}

/* Comparison (why us) */
.compare .card.plus{border-width:2px}
.compare .card h3{display:flex;align-items:center;gap:0.5rem}
.compare .ticklist{list-style:none;margin:0.8rem 0 0;padding:0}
.compare .ticklist li{padding-left:1.6rem;position:relative;margin-bottom:0.6rem;color:var(--ink-soft)}
.compare .plus .ticklist li::before{content:"\2713";position:absolute;left:0;font-weight:800}
.compare .minus .ticklist li{color:var(--muted)}
.compare .minus .ticklist li::before{content:"\2013";position:absolute;left:0;font-weight:800;color:var(--muted)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,4vw,3.5rem);align-items:center}
.split-media img,.split-media video{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:3px;display:block;background:var(--ink)}
/* is-tall: for a portrait source in a split. The default 3/2 frame would crop a
   1200x1453 image by a third; 4/5 keeps most of it while staying shorter than the
   column of text beside it. Reverts to the shared 16/10 on mobile, where the
   image sits above the text and a tall frame would push the copy off screen. */
.split-media.is-tall img{aspect-ratio:4/5}
@media(max-width:820px){.split{grid-template-columns:1fr}.split-media{order:-1}.split-media img,.split-media video{aspect-ratio:16/10}.split-media.is-tall img{aspect-ratio:16/10}}

/* ---- Urgency band (next intake countdown + places left) — used site-wide ---- */
.urgency{border-block:1px solid var(--line)}
.urgency .ub,.ub{display:flex;align-items:center;gap:1rem 1.4rem;flex-wrap:wrap;padding:1rem 0}
.ub .dot{width:9px;height:9px;border-radius:50%;background:var(--ink);flex:none;position:relative}
.ub .dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid var(--ink);opacity:.5;animation:pulse 2s ease-out infinite}
@keyframes pulse{from{transform:scale(.6);opacity:.6}to{transform:scale(1.4);opacity:0}}
.ub-txt{font-family:var(--head);font-weight:600;font-size:0.95rem}
.ub .places{font-weight:700}
.ub .count{font-family:var(--head);font-weight:700;letter-spacing:0.03em;font-variant-numeric:tabular-nums}
.ub-meta{margin-left:auto;color:var(--muted);font-family:var(--head);text-transform:uppercase;letter-spacing:0.06em;font-size:0.76rem}
.ub .btn{padding:0.7em 1.3em}
@media(max-width:640px){.ub-meta{margin-left:0}}
@media (prefers-reduced-motion:reduce){.ub .dot::after{animation:none}}

/* ---- Klarna badge + trust row (risk-reversal near CTAs) ---- */
.klarna-badge{display:inline-flex;vertical-align:middle;line-height:0}
.klarna-badge svg{border-radius:4px;display:block}
.trust-row{list-style:none;display:flex;flex-wrap:wrap;gap:0.5rem 1.6rem;margin:1.2rem 0 0;padding:0;font-family:var(--head);font-size:0.82rem;color:var(--muted)}
.trust-row strong{color:var(--ink)}
.trust-row li{display:flex;align-items:center;gap:0.45rem}
.rev-badge{margin-top:1.1rem}
.value-stack{list-style:none;padding:0;margin:1.3rem 0 0;display:grid;gap:0.5rem;font-size:0.92rem}
.value-stack li{padding-left:1.4rem;position:relative;color:var(--ink-soft)}
.value-stack li::before{content:"✓";position:absolute;left:0;color:var(--ink);font-weight:700}

/* ---- Home: student portal / app promo ---- */
.portal-promo{grid-template-columns:1.05fr 0.95fr;align-items:center}
.portal-checklist{margin-top:1.4rem;gap:0.65rem;font-size:0.95rem}
.phone-mock{width:min(300px,84%);margin-inline:auto;position:relative;background:#141414;border-radius:44px;padding:12px;box-shadow:0 34px 60px -26px rgba(20,20,20,0.5),0 0 0 1px var(--line)}
.phone-mock::before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:46px;height:5px;border-radius:99px;background:#33332f;z-index:2}
.phone-screen{border-radius:34px;overflow:hidden;background:#fff;aspect-ratio:39/82}
.phone-screen img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
@media(max-width:820px){
  .portal-promo{grid-template-columns:1fr}
  .portal-promo .phone-mock{order:-1;width:min(280px,72%)}
}

/* ---- Hero financing line ---- */
.hero .hero-fin{margin-top:1.1rem;font-family:var(--head);font-size:0.82rem;color:var(--muted);display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap}

/* ---- /book/ embedded checkout ---- */
.booking .lead{max-width:60ch}
.book-sub{margin-top:2rem}
.book-pick{display:flex;flex-direction:column}
.book-pick.is-highlight{outline:2px solid var(--ink);outline-offset:4px}
.book-pick .price{margin:0.6rem 0 0.4rem}
.book-pick .muted{flex:1}
.book-datesel{display:block;font-family:var(--head);font-size:0.78rem;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);margin:1rem 0 1.1rem}
.book-datesel select{display:block;width:100%;margin-top:0.4rem;padding:0.7em 0.8em;font-family:var(--sans);font-size:0.95rem;text-transform:none;letter-spacing:0;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:2px}
.book-datesel select.is-invalid{border-color:#c0392b}
.book-datemsg{margin:-0.4rem 0 0.9rem;color:#8a1c1c;font-size:0.85rem}
.book-datemsg[hidden]{display:none}
.book-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:clamp(1.6rem,3vw,3rem);align-items:start;margin-top:1.8rem}
.book-summary{position:sticky;top:100px;border:1px solid var(--ink);border-radius:3px;padding:1.6rem;background:var(--wash)}
.book-summary h2{margin:0.3rem 0 0.2rem;text-transform:none}
.book-date{font-family:var(--head);font-weight:600;color:var(--ink);margin:0 0 1rem}
.book-lines{margin:1rem 0 0;padding:1rem 0 0;border-top:1px solid var(--line)}
.book-lines div{display:flex;justify-content:space-between;gap:1rem;padding:0.35rem 0}
.book-lines dt{color:var(--muted)}
.book-lines dd{margin:0;font-family:var(--head);font-weight:700}
.book-change{margin-top:1rem;font-size:0.85rem}
.pay-toggle{display:inline-flex;border:1.5px solid var(--ink);border-radius:3px;overflow:hidden;margin-bottom:0.9rem}
.pay-toggle button{font-family:var(--head);font-weight:600;font-size:0.8rem;text-transform:uppercase;letter-spacing:0.04em;padding:0.7em 1.3em;border:0;background:#fff;color:var(--ink);cursor:pointer;transition:background .15s,color .15s}
.pay-toggle button+button{border-left:1.5px solid var(--ink)}
.pay-toggle button[aria-selected="true"]{background:var(--ink);color:#fff}
.pay-note{color:var(--ink-soft);font-size:0.92rem;margin:0 0 1.2rem;max-width:52ch}
#checkout{min-height:220px}
.book-fallback{border:1px solid var(--line);border-radius:3px;padding:1.4rem;background:var(--wash)}
.book-fallback p{margin:0 0 1rem}
.book-confirmed .notice ul{padding-left:1.1rem}
@media(max-width:820px){.book-grid{grid-template-columns:1fr}.book-summary{position:static}}

/* Breadcrumb on location pages. Matches the BreadcrumbList schema, and gives the
   page a link back to the hub from above the fold. */
.crumbs{padding:0.9rem 0 0;font-size:0.8rem;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none;border-bottom:1px solid transparent}
.crumbs a:hover{color:var(--ink);border-bottom-color:var(--ink)}
.crumbs span[aria-hidden]{margin:0 0.35rem;opacity:0.5}
.crumbs span[aria-current]{color:var(--ink);font-weight:600}

/* Area links on the homepage: the borough pages' only route in from the site's
   strongest page. Wraps as a tag cloud rather than a list so fourteen (later
   thirty-odd) fit without dominating the section. */
.area-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0.55rem}
.area-links a{display:inline-block;padding:0.5em 1em;border:1px solid var(--line);border-radius:2px;font-family:var(--head);font-size:0.78rem;font-weight:600;letter-spacing:0.03em;background:#fff;transition:border-color .18s,background .18s}
.area-links a:hover{text-decoration:none;border-color:var(--ink);background:var(--ink);color:#fff}
