/* ==========================================================================
   NOOSA HIGH PERFORMANCE CENTRE
   Vibe archetype ....... Ethereal Glass (brand-locked: OLED black + gold)
   Layout archetype ..... Asymmetrical Bento
   Geometry ............. concentric squircles, double-bezel enclosures
   Motion ............... mass-and-spring cubic-beziers, transform/opacity only
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TYPEFACES (self-hosted — no cross-theme dependency)
   -------------------------------------------------------------------------- */

@font-face {
    font-family: "Noosa Manrope";
    src: url("../fonts/manrope-variable.woff2") format("woff2");
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: "Noosa Display";
    src: url("../fonts/jost-variable.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

@font-face {
    font-family: "Bebas Neue Local";
    src: url("../fonts/bebas-neue.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
    /* Surface ladder */
    --bg: #060605;
    --bg-2: #0d0c0b;
    --bg-3: #111010;
    --card: #171614;

    /* Brand */
    --gold: #c8a05a;
    --gold-2: #a67b39;
    --gold-lift: #e0c08b;

    /* Ink */
    --text: #f6f5f3;
    --muted: #a8a5a0;
    --muted-2: #7d7a75;

    /* Hairlines — never a flat grey border */
    --line: rgba(200, 160, 90, 0.24);
    --line-strong: rgba(200, 160, 90, 0.46);
    --white-line: rgba(246, 245, 243, 0.09);
    --white-line-2: rgba(246, 245, 243, 0.055);

    /* Glass surfaces */
    --shell: rgba(255, 255, 255, 0.035);
    --shell-2: rgba(255, 255, 255, 0.055);
    --inner: rgba(9, 9, 8, 0.74);

    /* Inner highlight — the "machined edge" catching light */
    --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    --highlight-strong: inset 0 1px 1px rgba(255, 255, 255, 0.15);

    /* Diffused ambient depth — never a harsh dark drop shadow */
    --ambient: 0 2rem 5rem -1rem rgba(0, 0, 0, 0.55);
    --ambient-lift: 0 3rem 7rem -1.5rem rgba(0, 0, 0, 0.62);
    --gold-glow: 0 1.5rem 4rem -1rem rgba(200, 160, 90, 0.22);

    /* Concentric squircle geometry
       core radius is derived, never guessed, so curves nest true */
    --r-shell: 2rem;
    --r-gap: 0.5rem;
    --r-core: calc(var(--r-shell) - var(--r-gap));
    --r-shell-lg: 2.5rem;
    --r-core-lg: calc(var(--r-shell-lg) - var(--r-gap));
    --r-sm: 1rem;
    --r-xs: 0.75rem;

    /* Motion — mass and spring, never linear or ease-in-out */
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.46, 0.64, 1);

    /* Rhythm */
    --gutter: max(1.5rem, 4vw);
    --measure: 1440px;
    --bay: max(1.5rem, calc((100vw - var(--measure)) / 2 + 1.5rem));

    /* Type stacks */
    --condensed: "Bebas Neue Local", "Bebas Neue", "Noosa Display", sans-serif;
    --body: "Noosa Manrope", "Noosa Display", sans-serif;
}

/* --------------------------------------------------------------------------
   3. BASE
   -------------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 78% 8%, rgba(200, 160, 90, 0.10), transparent 30rem),
        radial-gradient(circle at 10% 62%, rgba(166, 123, 57, 0.075), transparent 36rem),
        radial-gradient(circle at 88% 92%, rgba(200, 160, 90, 0.055), transparent 32rem),
        linear-gradient(180deg, #060605 0%, #0e0d0c 44%, #060605 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--body);
    font-size: 100%;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Texture: engineering grid + film grain.
   Both live on FIXED, pointer-events-none layers — never on scrolling content,
   so the GPU never repaints them mid-scroll. */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

body::before {
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 84%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 84%, transparent);
}

body::after {
    opacity: 0.028;
    background-image: 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    background: rgba(200, 160, 90, 0.28);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

/* Parked off-screen by transform, not by `top`, so revealing it composites
   instead of triggering layout. */
.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 60;
    border-radius: 999px;
    background: var(--gold);
    color: #100d08;
    box-shadow: var(--highlight), var(--ambient);
    padding: 0.8rem 1.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: translate3d(0, -400%, 0);
    transition: transform 480ms var(--ease);
}

.skip-link:focus {
    transform: translate3d(0, 0, 0);
}

/* --------------------------------------------------------------------------
   4. THE FLUID ISLAND NAVIGATION
   A detached glass pill — never glued edge-to-edge to the top.
   Logo is a nested medallion breaking the pill's upper edge (double-bezel).
   -------------------------------------------------------------------------- */

.header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100vw - 2rem);
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--white-line);
    background: rgba(10, 10, 9, 0.55);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    box-shadow:
        var(--highlight),
        0 1.5rem 3.5rem -1rem rgba(0, 0, 0, 0.6);
    /* Detached from the top edge, centred, GPU-composited */
    transform: translate3d(-50%, 4rem, 0);
    transform-origin: top center;
    transition:
        transform 720ms var(--ease),
        background 720ms var(--ease),
        border-color 720ms var(--ease),
        box-shadow 720ms var(--ease);
}

/* Scrolled state: the island tightens and darkens.
   Scale, not height — no layout-triggering property is ever animated. */
.site-header.is-scrolled {
    background: rgba(8, 8, 7, 0.74);
    border-color: rgba(200, 160, 90, 0.2);
    transform: translate3d(-50%, 3.4rem, 0) scale(0.955);
    box-shadow:
        var(--highlight),
        0 1.75rem 4rem -1rem rgba(0, 0, 0, 0.72);
}

/* Hairline seam across the island's waist */
.header-rule {
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 160, 90, 0.4), transparent);
    opacity: 0;
    transition: opacity 720ms var(--ease);
}

.site-header.is-scrolled .header-rule {
    opacity: 1;
}

/* The brand medallion — the inner core of the nav's double-bezel, seated in
   the gap between the two link groups and breaking the pill's upper edge. */
.brand-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9.75rem;
    height: 9.75rem;
    border-radius: 50%;
    border: 1px solid rgba(200, 160, 90, 0.26);
    background:
        radial-gradient(circle at 50% 22%, rgba(200, 160, 90, 0.16), transparent 68%),
        rgba(9, 9, 8, 0.88);
    box-shadow:
        var(--highlight-strong),
        0 1rem 2.5rem -0.5rem rgba(0, 0, 0, 0.7);
    transform: translate3d(-50%, -52%, 0);
    transition: transform 720ms var(--ease), border-color 720ms var(--ease);
    will-change: transform;
}

.brand-mark:hover {
    border-color: rgba(200, 160, 90, 0.5);
    transform: translate3d(-50%, -52%, 0) scale(1.045);
}

.brand-mark img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.site-header.is-scrolled .brand-mark {
    transform: translate3d(-50%, -52%, 0) scale(0.94);
}

.site-header.is-scrolled .brand-mark:hover {
    transform: translate3d(-50%, -52%, 0) scale(0.985);
}

/* Two equal columns so the gap between them is centred on the header, which
   is where the absolutely-positioned medallion sits. With plain flex, the
   wider link group would push the berth off-centre and the logo would ride
   over a link. */
.site-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 11.5rem;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-group--left {
    justify-content: flex-end;
}

.nav-group--right {
    justify-content: flex-start;
}

.site-navigation a {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.78rem 1.15rem;
    color: rgba(246, 245, 243, 0.74);
    font-family: var(--condensed);
    font-size: clamp(1.02rem, 0.95vw, 1.16rem);
    font-weight: 400;
    letter-spacing: 0.07em;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 560ms var(--ease), background 560ms var(--ease);
}

/* Nested glass chip that swells in behind the active/hovered link */
.site-navigation a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--highlight);
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.site-navigation a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.site-navigation a::after {
    content: "";
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 0.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 620ms var(--ease);
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
    color: var(--text);
}

.site-navigation a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-navigation a[aria-current="page"]::before {
    opacity: 1;
    transform: scale(1);
    background: rgba(200, 160, 90, 0.1);
}

.menu-toggle {
    display: none;
}

.admin-bar .site-header {
    transform: translate3d(-50%, calc(32px + 4rem), 0);
}

.admin-bar .site-header.is-scrolled {
    transform: translate3d(-50%, calc(32px + 3.4rem), 0) scale(0.955);
}

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--condensed);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.9;
    text-transform: uppercase;
    text-wrap: balance;
}

h1 {
    max-width: 13.5ch;
    font-size: clamp(3.6rem, 5.2vw, 6.1rem);
}

h2 {
    font-size: clamp(3.2rem, 5.4vw, 6.2rem);
}

h3 {
    font-size: clamp(2.1rem, 3.15vw, 3.45rem);
}

p {
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    text-wrap: pretty;
}

/* Eyebrow tag — a microscopic pill badge preceding every major heading */
.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    max-width: 100%;
    margin: 0 0 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 160, 90, 0.26);
    background: rgba(200, 160, 90, 0.07);
    box-shadow: var(--highlight);
    padding: 0.44rem 0.9rem 0.44rem 0.72rem;
    color: var(--gold);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
    content: "";
    flex: 0 0 auto;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 160, 90, 0.16);
}

/* --------------------------------------------------------------------------
   6. THE DOUBLE-BEZEL ENCLOSURE
   Nothing premium sits flat on the background. Every card, image and input is
   a glass plate seated in a machined tray: outer shell + inner core, with the
   core radius derived from the shell so the curves stay concentric.
   -------------------------------------------------------------------------- */

.image-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--r-gap);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: var(--shell);
    box-shadow:
        var(--highlight),
        var(--ambient);
    transition: transform 800ms var(--ease), border-color 800ms var(--ease);
}

.image-frame .nhpc-photo,
.image-frame .nhpc-photo-fallback {
    width: 100%;
    min-height: clamp(25rem, 36vw, 31rem);
    border-radius: var(--r-core);
    object-fit: cover;
    filter: saturate(0.84) contrast(1.08);
}

/* The core's own inner highlight, riding above the photo */

.image-frame::after {
    content: "";
    position: absolute;
    inset: var(--r-gap);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--r-core);
    box-shadow:
        var(--highlight-strong),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   7. BUTTONS — nested "island" architecture + magnetic hover physics
   -------------------------------------------------------------------------- */

.nhpc-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 3.4rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 160, 90, 0.44);
    background: rgba(200, 160, 90, 0.05);
    box-shadow: var(--highlight);
    /* Trailing icon sits flush inside the right padding */
    padding: 0.36rem 0.36rem 0.36rem 1.4rem;
    color: var(--text);
    font-size: 0.755rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 560ms var(--ease),
        background 560ms var(--ease),
        border-color 560ms var(--ease),
        box-shadow 560ms var(--ease);
    will-change: transform;
}

/* The button-in-button: the arrow never sits naked beside the label */
.nhpc-button i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--gold);
    color: #100d08;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
    font-style: normal;
    transition: transform 560ms var(--ease-spring), background 560ms var(--ease);
    will-change: transform;
}

.nhpc-button i svg {
    width: 1.05rem;
    height: 1.05rem;
}

.nhpc-button:hover {
    border-color: var(--gold);
    background: rgba(200, 160, 90, 0.13);
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--highlight), var(--gold-glow);
}

/* Internal kinetic tension: the core lifts diagonally out of its shell */
.nhpc-button:hover i {
    background: var(--gold-lift);
    transform: translate3d(3px, -1.5px, 0) scale(1.06);
}

/* Physical press */
.nhpc-button:active {
    transform: scale(0.978);
}

.nhpc-button--secondary {
    border-color: var(--white-line);
    background: rgba(255, 255, 255, 0.035);
}

.nhpc-button--secondary i {
    background: rgba(246, 245, 243, 0.1);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nhpc-button--secondary:hover {
    border-color: rgba(246, 245, 243, 0.26);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--highlight), var(--ambient);
}

.nhpc-button--secondary:hover i {
    background: rgba(246, 245, 243, 0.18);
}

/* --------------------------------------------------------------------------
   8. LAYOUT SHELL & SPATIAL RHYTHM
   -------------------------------------------------------------------------- */

.hero,
.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    width: 100%;
    min-height: 100dvh;
    margin-inline: auto;
    padding: 11rem var(--bay) 5rem;
    overflow: hidden;
}

/* Sections breathe heavily — never less than py-24 above mobile */
section:not(.hero):not(.page-hero) {
    width: min(var(--measure), calc(100vw - 3rem));
    margin-inline: auto;
    padding: clamp(6rem, 9vw, 10rem) 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image,
.hero-media .nhpc-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(0.86) contrast(1.06);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 6, 5, 0.93) 0%, rgba(6, 6, 5, 0.64) 38%, rgba(6, 6, 5, 0.16) 76%),
        linear-gradient(0deg, #060605 0%, rgba(6, 6, 5, 0.12) 46%, rgba(6, 6, 5, 0.46) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(700px, 100%);
}

.hero-content p:not(.hero-kicker) {
    max-width: 500px;
    margin: 1.5rem 0 0;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions,
.final-cta,
.featured-copy div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-actions {
    margin-top: 2.25rem;
}

/* Floating glass stat panel — its own double-bezel enclosure */
.hero-panel {
    position: absolute;
    right: var(--bay);
    bottom: 5rem;
    z-index: 2;
    width: min(310px, 30vw);
    padding: var(--r-gap);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: var(--highlight), var(--ambient);
}

.hero-panel-core {
    display: grid;
    gap: 0.35rem;
    border-radius: var(--r-core);
    border-top: 1px solid var(--line-strong);
    background: rgba(9, 9, 8, 0.62);
    box-shadow: var(--highlight-strong);
    padding: 1.15rem 1.25rem 1.3rem;
}

.hero-panel span,
.hero-panel small,
.staff-copy span,
.why-row span,
.position-row span {
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    margin: 0.35rem 0 0.15rem;
    font-family: var(--condensed);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-panel small {
    color: var(--muted-2);
    letter-spacing: 0.16em;
}

/* --------------------------------------------------------------------------
   9. EDITORIAL SPLIT
   -------------------------------------------------------------------------- */

.editorial-split,
.featured-programme,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: center;
}

.editorial-split {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.editorial-split .split-copy {
    padding-left: clamp(0rem, 2vw, 2rem);
}

.editorial-split h2,
.featured-programme h2 {
    font-size: clamp(2.8rem, 4.4vw, 5rem);
    line-height: 0.95;
}

.split-copy p {
    max-width: 40ch;
}

.split-media--compact {
    max-width: min(520px, 100%);
    justify-self: end;
}

.split-media--compact .nhpc-photo,
.split-media--compact .nhpc-photo-fallback {
    min-height: clamp(20rem, 28vw, 25rem);
}

/* Eyebrow and heading stack in the left column; the supporting line sits
   bottom-right against the heading's baseline. Without explicit placement the
   auto-flow drops the H2 into the second column, beside its own eyebrow. */
.section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 1.1rem 2rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.section-header .section-kicker {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
}

.section-header h2 {
    grid-column: 1;
    grid-row: 2;
    max-width: 13ch;
}

.section-header p {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. PROGRAMMES — equal-height two-column grid
   -------------------------------------------------------------------------- */

.programme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(0.8rem, 1.4vw, 1.25rem);
}

.programme-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 22rem;
    padding: var(--r-gap);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: var(--shell);
    box-shadow: var(--highlight), var(--ambient);
    transition:
        transform 800ms var(--ease),
        border-color 800ms var(--ease),
        box-shadow 800ms var(--ease);
    will-change: transform;
}

.programme-tile:hover {
    border-color: rgba(200, 160, 90, 0.42);
    transform: translate3d(0, -0.4rem, 0);
    box-shadow: var(--highlight), var(--ambient-lift), var(--gold-glow);
}

/* Inner core: the photo plate, concentric inside the tile's tray.
   An <img> is a replaced element — pinning all four insets will NOT stretch it,
   so the box is sized explicitly, or the photo renders at intrinsic size and
   leaves a seam. object-position favours the upper third to keep faces intact
   when a portrait source is cropped into a wide cell. */
.programme-tile .nhpc-photo,
.programme-tile .nhpc-photo-fallback {
    position: absolute;
    inset: var(--r-gap);
    width: calc(100% - (var(--r-gap) * 2));
    height: calc(100% - (var(--r-gap) * 2));
    min-height: 0;
    border-radius: var(--r-core);
    object-fit: cover;
    object-position: center 28%;
    opacity: 0.74;
    filter: saturate(0.76) contrast(1.08);
    transform: scale(1.05);
    transition: opacity 800ms var(--ease);
}

.programme-tile:hover .nhpc-photo {
    opacity: 0.86;
}

/* Scrim + machined inner edge, riding above the photo */
.programme-tile::after {
    content: "";
    position: absolute;
    inset: var(--r-gap);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--r-core);
    background: linear-gradient(0deg, rgba(6, 6, 5, 0.94), rgba(6, 6, 5, 0.42) 46%, rgba(6, 6, 5, 0.08));
    box-shadow: var(--highlight-strong);
}

.programme-tile > div {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    padding: 1.65rem;
}

.programme-tile h3 {
    overflow-wrap: anywhere;
}

.programme-tile span {
    display: block;
    width: 2.75rem;
    height: 1px;
    margin-bottom: 1.1rem;
    background: var(--gold);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 800ms var(--ease);
}

.programme-tile:hover span {
    transform: scaleX(1.65);
}

.programme-tile p {
    max-width: 34rem;
    margin-bottom: 0;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. WHY — sticky column + indexed rows
   -------------------------------------------------------------------------- */

.why-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 6vw, 7rem);
    border-radius: var(--r-shell-lg);
    border: 1px solid var(--white-line-2);
    background:
        linear-gradient(135deg, rgba(200, 160, 90, 0.07), transparent 34%),
        var(--bg-2);
    box-shadow: var(--highlight);
    padding-inline: clamp(1.5rem, 3.5vw, 3rem) !important;
}

.why-sticky {
    position: sticky;
    top: 9rem;
    align-self: start;
}

.why-list,
.position-list {
    border-top: 1px solid var(--line);
}

.why-row,
.position-row {
    position: relative;
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
    border-bottom: 1px solid var(--line);
    padding: 2.1rem 0;
}

/* Hover slides the CONTENT, not the box — transform only, so the row's
   border and height never trigger layout. */
.why-row > *,
.position-row > * {
    transition: transform 760ms var(--ease), color 760ms var(--ease);
}

.why-row:hover > *,
.position-row:hover > * {
    transform: translate3d(0.75rem, 0, 0);
}

/* Gold underline wipes in from the left */
.why-row::after,
.position-row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 760ms var(--ease);
}

.why-row:hover::after,
.position-row:hover::after {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS — staggered cascade, not a symmetrical three-up
   -------------------------------------------------------------------------- */

.testimonials {
    border-radius: var(--r-shell-lg);
    border: 1px solid var(--white-line-2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%),
        #0a0a09;
    box-shadow: var(--highlight);
    padding-inline: clamp(1.5rem, 3.5vw, 3rem) !important;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: clamp(0.8rem, 1.4vw, 1.25rem);
}

.testimonial-card {
    display: grid;
    align-content: space-between;
    gap: 1.25rem;
    min-height: 21rem;
    margin: 0;
    padding: var(--r-gap);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: var(--shell);
    box-shadow: var(--highlight), var(--ambient);
    transition: transform 800ms var(--ease), border-color 800ms var(--ease);
    will-change: transform;
}

/* Diagonal cascade — each card sits a step lower than the last */
.testimonial-card:nth-child(2) {
    transform: translate3d(0, 2.25rem, 0);
}

.testimonial-card:nth-child(3) {
    transform: translate3d(0, 4.5rem, 0);
}

.testimonial-card:hover {
    border-color: rgba(200, 160, 90, 0.4);
    transform: translate3d(0, -0.4rem, 0);
}

.testimonial-card:nth-child(2):hover {
    transform: translate3d(0, 1.85rem, 0);
}

.testimonial-card:nth-child(3):hover {
    transform: translate3d(0, 4.1rem, 0);
}

.testimonial-core {
    display: grid;
    align-content: space-between;
    gap: 1.25rem;
    height: 100%;
    border-radius: var(--r-core);
    background: rgba(9, 9, 8, 0.5);
    box-shadow: var(--highlight-strong);
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.28rem;
    color: var(--gold);
}

.testimonial-stars svg {
    width: 0.82rem;
    height: 0.82rem;
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--text);
    font-family: var(--body);
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    font-weight: 450;
    line-height: 1.52;
    text-transform: none;
    text-wrap: pretty;
}

.testimonial-card figcaption {
    color: var(--gold);
    font-family: var(--condensed);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. FEATURED + FINAL CTA
   -------------------------------------------------------------------------- */

.featured-programme {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.final-cta {
    justify-content: space-between;
    gap: 2.5rem;
    width: 100vw !important;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    border-block: 1px solid var(--line);
    padding: clamp(6rem, 9vw, 9rem) var(--bay) !important;
    background:
        radial-gradient(circle at 78% 45%, rgba(200, 160, 90, 0.3), transparent 30rem),
        radial-gradient(circle at 16% 84%, rgba(166, 123, 57, 0.17), transparent 28rem),
        linear-gradient(104deg, rgba(200, 160, 90, 0.16), rgba(11, 10, 8, 0.96) 46%, rgba(166, 123, 57, 0.2)),
        #0a0908;
}

.final-cta h2 {
    max-width: 12ch;
}

/* --------------------------------------------------------------------------
   14. INNER PAGE HEROES
   -------------------------------------------------------------------------- */

.page-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    min-height: auto;
    align-items: center;
    padding-top: clamp(9.5rem, 11vw, 12rem);
    padding-bottom: clamp(3.5rem, 5vw, 5.5rem);
    background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.page-hero h1 {
    max-width: 18ch;
    font-size: clamp(3rem, 4.65vw, 5.35rem);
    line-height: 0.94;
}

.page-hero p:not(.hero-kicker) {
    max-width: 56ch;
}

.page-hero .hero-actions {
    margin-top: 2rem;
}

.compact-hero-media {
    max-width: min(520px, 100%);
    justify-self: end;
}

.compact-hero-media .nhpc-photo,
.compact-hero-media .nhpc-photo-fallback {
    min-height: clamp(22rem, 32vw, 30rem);
    max-height: 34rem;
}

/* --------------------------------------------------------------------------
   15. STAFF
   -------------------------------------------------------------------------- */

.staff-list {
    display: grid;
    gap: clamp(5rem, 9vw, 9rem);
}

.staff-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: center;
}

.staff-profile.is-reversed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.staff-profile.is-reversed .staff-image {
    order: 2;
}

.staff-image .nhpc-photo,
.staff-image .nhpc-photo-fallback {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.staff-copy {
    border-top: 1px solid var(--line-strong);
    padding-top: 1.6rem;
}

.staff-copy h2 {
    margin-top: 0.85rem;
}

.staff-copy .role {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.position-row {
    grid-template-columns: 5rem minmax(220px, 0.42fr) minmax(0, 1fr);
}

.position-row p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   16. RECOVERY
   -------------------------------------------------------------------------- */

.recovery-profile {
    border-radius: var(--r-shell-lg);
    border: 1px solid var(--white-line-2);
    background:
        linear-gradient(135deg, rgba(200, 160, 90, 0.06), transparent 36%),
        var(--bg-2);
    box-shadow: var(--highlight);
    padding-inline: clamp(1.5rem, 3.5vw, 3rem) !important;
}

.credential-list {
    display: grid;
    gap: 0.85rem;
    margin: 2.1rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.credential-list li {
    position: relative;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
    padding-left: 1.35rem;
}

.credential-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.42rem;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 160, 90, 0.14);
}

/* --------------------------------------------------------------------------
   17. CONTACT — form as a seated glass plate
   -------------------------------------------------------------------------- */

.contact-section {
    align-items: start;
    border-radius: var(--r-shell-lg);
    border: 1px solid var(--white-line-2);
    background: var(--bg-2);
    box-shadow: var(--highlight);
    padding-inline: clamp(1.5rem, 3.5vw, 3rem) !important;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.35rem, 2.5vw, 2.1rem);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: rgba(23, 22, 20, 0.84);
    box-shadow: var(--highlight-strong), var(--ambient);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    border-radius: var(--r-xs);
    border: 1px solid rgba(246, 245, 243, 0.11);
    background: rgba(10, 10, 9, 0.9);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
    color: var(--text);
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    font-weight: 450;
    letter-spacing: 0;
    text-transform: none;
    outline: none;
    transition:
        border-color 520ms var(--ease),
        background 520ms var(--ease),
        box-shadow 520ms var(--ease);
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-2);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    background: rgba(13, 13, 12, 0.95);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(200, 160, 90, 0.14);
}

textarea {
    resize: vertical;
    min-height: 8rem;
}

/* The native select renders its own chrome and its own height, breaking the
   field rhythm — strip it and supply a hairline chevron. */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23c8a05a' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 7 4.5 4.5L13.5 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.05rem 1.05rem;
    cursor: pointer;
}

/* Keep the chevron once the field gains its focus background */
select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23e0c08b' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 7 4.5 4.5L13.5 7'/%3E%3C/svg%3E");
}

select option {
    background: #0f0f0e;
    color: var(--text);
}

.contact-form .nhpc-button {
    justify-self: start;
    margin-top: 0.35rem;
    border: 1px solid rgba(200, 160, 90, 0.44);
}

.form-status {
    margin: 0;
    border-radius: var(--r-xs);
    border: 1px solid rgba(200, 160, 90, 0.3);
    border-left: 2px solid var(--gold);
    box-shadow: var(--highlight);
    padding: 0.9rem 1.1rem;
    background: rgba(200, 160, 90, 0.09);
    color: var(--text);
}

.form-status.error {
    border-color: rgba(200, 90, 90, 0.34);
    border-left-color: #c85a5a;
    background: rgba(200, 90, 90, 0.09);
}

.contact-details {
    position: sticky;
    top: 9rem;
}

.contact-details h2 {
    font-size: clamp(2.8rem, 6vw, 6rem);
}

.contact-details a {
    color: var(--gold);
    font-weight: 700;
    transition: color 480ms var(--ease);
}

.contact-details a:hover {
    color: var(--gold-lift);
}

.map-frame {
    overflow: hidden;
    margin-top: 2.1rem;
    padding: var(--r-gap);
    border-radius: var(--r-shell);
    border: 1px solid var(--white-line);
    background: var(--shell);
    box-shadow: var(--highlight), var(--ambient);
}

.map-frame iframe {
    display: block;
    width: 100%;
    min-height: 24rem;
    border: 0;
    border-radius: var(--r-core);
    filter: grayscale(1) invert(0.9) contrast(0.85);
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7rem) var(--gutter) 2rem;
    background: #050504;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: start;
    width: min(var(--measure), 100%);
    margin-inline: auto;
    border-top: 1px solid var(--line);
    padding-top: 2.25rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.4rem;
}

.footer-main p {
    max-width: 440px;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links a {
    position: relative;
    width: max-content;
    transition: color 520ms var(--ease);
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.28rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 560ms var(--ease);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-contact a,
.footer-links a:hover {
    color: var(--gold);
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--measure), 100%);
    margin: 4rem auto 0;
    border-top: 1px solid var(--white-line-2);
    padding-top: 1.3rem;
    color: var(--muted-2);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   19. IMAGE FALLBACK
   -------------------------------------------------------------------------- */

.nhpc-photo-fallback {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100%;
    border-radius: var(--r-core);
    background:
        radial-gradient(circle at 72% 26%, rgba(200, 160, 90, 0.14), transparent 24rem),
        linear-gradient(135deg, rgba(200, 160, 90, 0.08), transparent 44%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 28px),
        #100f0e;
    color: var(--text);
    text-align: center;
}

.nhpc-photo-fallback span {
    font-family: var(--condensed);
    font-size: clamp(3.6rem, 7vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
}

.nhpc-photo-fallback small {
    margin-top: 0.75rem;
    color: rgba(200, 160, 90, 0.72);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-media .nhpc-photo-fallback {
    justify-items: end;
    border-radius: 0;
    padding: 0 8vw;
}

.hero-media .nhpc-photo-fallback span {
    opacity: 0.035;
    font-size: clamp(6rem, 15vw, 16rem);
}

.hero-media .nhpc-photo-fallback small {
    opacity: 0.55;
}

/* --------------------------------------------------------------------------
   20. MOTION LAYER
   -------------------------------------------------------------------------- */

/* Scroll entry: heavy fade-up out of a blur. Nothing appears statically.
   Delay is handed in by the observer as a custom property. */
[data-reveal] {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 3rem, 0);
    transition:
        opacity 1000ms var(--ease) var(--reveal-delay, 0ms),
        transform 1000ms var(--ease) var(--reveal-delay, 0ms),
        filter 1000ms var(--ease) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
}

/* Staggered cards keep their cascade offset once revealed */
.testimonial-card:nth-child(2)[data-reveal] {
    transform: translate3d(0, calc(2.25rem + 3rem), 0);
}

.testimonial-card:nth-child(3)[data-reveal] {
    transform: translate3d(0, calc(4.5rem + 3rem), 0);
}

.testimonial-card:nth-child(2)[data-reveal].is-visible {
    transform: translate3d(0, 2.25rem, 0);
}

.testimonial-card:nth-child(3)[data-reveal].is-visible {
    transform: translate3d(0, 4.5rem, 0);
}

/* Parallax drift driven entirely by the CSS view() timeline — zero scroll
   listeners, zero reflow, transform-only. Browsers without support simply
   render the photo static. */
@keyframes nhpc-drift {
    from {
        transform: scale(1.08) translate3d(0, -1.8%, 0);
    }
    to {
        transform: scale(1.08) translate3d(0, 1.8%, 0);
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        [data-parallax-photo] {
            animation: nhpc-drift linear both;
            animation-timeline: view();
            animation-range: cover 0% cover 100%;
            will-change: transform;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal],
    [data-reveal].is-visible {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3),
    .testimonial-card:nth-child(2)[data-reveal].is-visible,
    .testimonial-card:nth-child(3)[data-reveal].is-visible {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE — tablet nav tightening
   -------------------------------------------------------------------------- */

@media (min-width: 981px) and (max-width: 1280px) {
    .brand-mark {
        width: 8.5rem;
        height: 8.5rem;
    }

    .site-navigation {
        gap: 10rem;
    }

    .site-navigation a {
        padding-inline: 0.85rem;
        font-size: 0.98rem;
        letter-spacing: 0.05em;
    }
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE — mobile: island shrinks, nav becomes a glass overlay
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
    /* The header must NOT establish a containing block here. `transform`,
       `filter` and `backdrop-filter` each do, and the nav overlay is a fixed
       child — any of them would clamp the fullscreen menu to the header's own
       ~72px box instead of the viewport. Nesting backdrop-filter would also
       strip the overlay's blur, since a child samples only its ancestor's
       backdrop root. So the chrome moves onto the medallion, which is a leaf
       and traps nothing, and the header becomes a bare positioning anchor. */
    .site-header {
        top: 1rem;
        left: 1rem;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        transform: none;
    }

    .admin-bar .site-header {
        top: calc(46px + 1rem);
        transform: none;
    }

    /* Position is static on mobile, so the scrolled state is paint-only */
    .site-header.is-scrolled,
    .admin-bar .site-header.is-scrolled {
        background: none;
        box-shadow: none;
        transform: none;
    }

    /* The medallion carries the glass and sits above the overlay, so the brand
       stays legible while the menu is open. */
    .brand-mark {
        position: relative;
        top: auto;
        left: auto;
        z-index: 46;
        width: 6.1rem;
        height: 6.1rem;
        background:
            radial-gradient(circle at 50% 22%, rgba(200, 160, 90, 0.18), transparent 68%),
            rgba(9, 9, 8, 0.72);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        backdrop-filter: blur(24px) saturate(180%);
        transform: none;
    }

    .site-header.is-scrolled .brand-mark,
    .brand-mark:hover,
    .site-header.is-scrolled .brand-mark:hover {
        transform: none;
    }

    .header-rule {
        display: none;
    }

    /* Toggle: its own floating glass pill, never a hard-edged block */
    .menu-toggle {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 45;
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        width: auto;
        height: 3.2rem;
        border-radius: 999px;
        border: 1px solid rgba(200, 160, 90, 0.4);
        background: rgba(10, 10, 9, 0.6);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        backdrop-filter: blur(24px) saturate(180%);
        box-shadow: var(--highlight), 0 1rem 2.5rem -0.5rem rgba(0, 0, 0, 0.6);
        padding: 0 1.15rem 0 1.05rem;
        color: var(--text);
        cursor: pointer;
        transition:
            transform 560ms var(--ease),
            background 560ms var(--ease),
            border-color 560ms var(--ease);
    }

    .admin-bar .menu-toggle {
        top: calc(46px + 1rem);
    }

    .menu-toggle:active {
        transform: scale(0.96);
    }

    .menu-toggle.is-open {
        border-color: var(--gold);
        background: rgba(200, 160, 90, 0.14);
    }

    /* Hamburger morph: three hairlines that rotate into a true X */
    .menu-toggle span {
        position: absolute;
        left: 1.05rem;
        width: 1.05rem;
        height: 1px;
        background: var(--gold);
        transition: transform 620ms var(--ease), opacity 400ms var(--ease);
    }

    .menu-toggle span:nth-child(1) {
        transform: translate3d(0, -0.36rem, 0);
    }

    .menu-toggle span:nth-child(3) {
        transform: translate3d(0, 0.36rem, 0);
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.4);
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .menu-toggle b {
        margin-left: 1.5rem;
        color: var(--gold);
        font-size: 0.63rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        line-height: 1;
        text-transform: uppercase;
    }

    /* Fullscreen glass overlay */
    .site-navigation {
        position: fixed;
        inset: 0;
        z-index: 44;
        display: grid;
        align-content: center;
        justify-items: stretch;
        gap: 0.6rem;
        width: 100%;
        min-height: 100dvh;
        margin: 0;
        border: 0;
        padding: 7rem 1.25rem 2.5rem;
        background: rgba(6, 6, 5, 0.82);
        -webkit-backdrop-filter: blur(40px) saturate(160%);
        backdrop-filter: blur(40px) saturate(160%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 620ms var(--ease);
    }

    .site-header.is-open .site-navigation {
        opacity: 1;
        pointer-events: auto;
    }

    .site-navigation {
        grid-template-columns: 1fr;
    }

    .nav-group,
    .nav-group--left,
    .nav-group--right {
        display: grid;
        justify-content: stretch;
        width: 100%;
        gap: 0;
    }

    .site-navigation a {
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(200, 160, 90, 0.18);
        padding: 0.95rem 0;
        font-family: var(--condensed);
        font-size: clamp(2.65rem, 12vw, 4.5rem);
        line-height: 0.92;
        /* Staggered mask reveal — links slide up out of an invisible box */
        opacity: 0;
        transform: translate3d(0, 3rem, 0);
        transition:
            opacity 700ms var(--ease),
            transform 700ms var(--ease),
            color 560ms var(--ease);
    }

    .site-navigation a::before,
    .site-navigation a::after {
        display: none;
    }

    .site-header.is-open .site-navigation a {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .site-header.is-open .nav-group--left a:nth-child(1) {
        transition-delay: 100ms;
    }

    .site-header.is-open .nav-group--left a:nth-child(2) {
        transition-delay: 160ms;
    }

    .site-header.is-open .nav-group--right a:nth-child(1) {
        transition-delay: 220ms;
    }

    .site-header.is-open .nav-group--right a:nth-child(2) {
        transition-delay: 280ms;
    }

    .site-header.is-open .nav-group--right a:nth-child(3) {
        transition-delay: 340ms;
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero-panel {
        display: none;
    }

    /* Universal collapse: every asymmetric grid falls to a single column */
    .editorial-split,
    .featured-programme,
    .why-section,
    .page-hero,
    .staff-profile,
    .staff-profile.is-reversed,
    .contact-section,
    .section-header {
        grid-template-columns: 1fr;
    }

    /* Explicit desktop placement must not survive the single-column collapse */
    .section-header .section-kicker,
    .section-header h2,
    .section-header p {
        grid-column: 1;
        grid-row: auto;
    }

    .split-media--compact,
    .compact-hero-media {
        justify-self: stretch;
        max-width: 100%;
    }

    .staff-profile.is-reversed .staff-image {
        order: initial;
    }

    .why-sticky,
    .contact-details {
        position: static;
    }

    /* Bento resets to a stack with generous vertical gaps */
    .programme-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .programme-tile:nth-child(1),
    .programme-tile:nth-child(2),
    .programme-tile:nth-child(3),
    .programme-tile:nth-child(4) {
        grid-column: span 1;
        grid-row: auto;
        min-height: 22rem;
    }

    /* Cascade offsets removed — overlapping cards fight touch targets */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card,
    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3),
    .testimonial-card:hover,
    .testimonial-card:nth-child(2):hover,
    .testimonial-card:nth-child(3):hover {
        min-height: 0;
        transform: none;
    }

    .testimonial-card:nth-child(2)[data-reveal],
    .testimonial-card:nth-child(3)[data-reveal] {
        transform: translate3d(0, 3rem, 0);
    }

    .testimonial-card:nth-child(2)[data-reveal].is-visible,
    .testimonial-card:nth-child(3)[data-reveal].is-visible {
        transform: translate3d(0, 0, 0);
    }

    .position-row {
        grid-template-columns: 4rem 1fr;
    }

    .position-row p {
        grid-column: 2;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE — phone
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
    :root {
        --r-shell: 1.5rem;
        --r-gap: 0.4rem;
        --r-shell-lg: 1.75rem;
    }

    .hero,
    .page-hero {
        width: 100%;
        padding: 8rem 1rem 3.5rem;
    }

    .hero-kicker,
    .section-kicker {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
        padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 9.2vw, 2.85rem);
        line-height: 0.96;
    }

    h2 {
        font-size: clamp(2.65rem, 12.5vw, 4rem);
    }

    section:not(.hero):not(.page-hero) {
        width: 100%;
        padding: 4.5rem 1rem;
    }

    .why-section,
    .testimonials,
    .recovery-profile,
    .contact-section {
        border-radius: var(--r-shell-lg);
        padding-inline: 1.15rem !important;
    }

    .final-cta {
        width: 100vw !important;
        margin-inline: calc(50% - 50vw);
        padding: 5rem 1rem !important;
    }

    .image-frame .nhpc-photo,
    .image-frame .nhpc-photo-fallback,
    .compact-hero-media .nhpc-photo,
    .compact-hero-media .nhpc-photo-fallback {
        min-height: 21rem;
    }

    .programme-tile:nth-child(1),
    .programme-tile:nth-child(2),
    .programme-tile:nth-child(3),
    .programme-tile:nth-child(4) {
        min-height: 20rem;
    }

    .programme-tile > div {
        padding: 1.35rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .nhpc-button {
        font-size: 0.7rem;
        letter-spacing: 0.13em;
    }

    .footer-base {
        display: grid;
        gap: 0.5rem;
    }
}

/* Keep Kai in focus across wide and narrow programme cards. */
.programme-tile:nth-child(3) .nhpc-photo {
    object-position: 72% 30%;
}
