@font-face {
    font-family: 'Gandur New';
    src: url('fonts/Gandur New-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

:root {
    --bg-color: #0e0e0e;
    --text-color: #FAFAFA;
    --line-thickness: 0.5pt;
    --line-color: #FAFAFA;
    --font-mono: 'Inconsolata', ui-monospace, Menlo, Monaco, Consolas, monospace;
    --link-highlight: #0000CD;
    --line-anim-duration: 1.2s;
    --line-anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --line-delay-navbar: 0.5s;
    --line-delay-vertical: 0.8s;
    --line-delay-landing-horizontal: calc(var(--line-delay-vertical) + var(--line-anim-duration));
    --header-height: 72px;
    --gutter: 2vw;
    --section-pt: 4rem;
    --color-accent: #39FF14;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button:focus,
button:focus-visible {
    outline: none;
}

html {
    scroll-behavior: auto;
    background-color: #0e0e0e;
}

body {
    font-family: var(--font-mono);
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    position: relative;
    /* for absolute elements if needed */
}

/* Gaussian Noise Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 350px 350px;
    opacity: 0.08;
    /* Adjust this value for stronger/weaker noise */
}

a {
    position: relative;
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    z-index: 0;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a::before {
    content: '';
    position: absolute;
    inset: -0.06em -0.1em;
    background: var(--link-highlight);
    z-index: -1;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

a:hover {
    color: #FAFAFA;
}

a:hover::before {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
    list-style: none;
}

/* Typography */
h1 {
    font-size: 128px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
}

h2 {
    font-size: 96px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

p,
span,
li,
a {
    font-size: 14px;
    font-weight: 400;
}

/* Sections - Full Viewport */
section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    outline: none;
}

#landing {
    height: calc(100vh - var(--header-height));
    justify-content: center;
    align-items: center;
    padding: 0;
}


#pricing {
    padding-top: var(--section-pt);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.day-passes-heading-row {
    padding-top: var(--section-pt);
}

#pricing-section-header {
    padding-bottom: 0.75rem;
}

#activities-section-header {
    padding-bottom: 0.75rem;
}

#activities {
    padding-top: var(--section-pt);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

#features {
    padding-top: var(--section-pt);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

#features-section-header {
    padding-bottom: 0.75rem;
}



.section-heading-text {
    font-size: inherit;
    font-weight: inherit;
}

.section-label {
    font-family: var(--font-mono);
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    vertical-align: baseline;
    margin-left: 1.8em;
    text-transform: uppercase;
}

section.no-pad {
    padding: 0;
}

/* Global Grid System */
.grid-container {
    width: 100%;
    padding: 0 var(--gutter);
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
}

.col-1 { grid-column: 1; }
.col-2 { grid-column: 2; }
.col-3 { grid-column: 3; }

.section-heading {
    grid-column: 1 / -1;
}

.grid-row.heading-row {
    padding-bottom: 0;
}

.grid-row.subsection-break {
    border-top: var(--line-thickness) solid var(--line-color);
    margin-top: 1rem;
    padding-top: 2rem;
}

.grid-row.compact {
    padding: 1rem 0;
}

/* Navbar */
header {
    position: sticky;
    width: 100%;
    top: 0.75rem;
    background-color: transparent;
    z-index: 1000;
    /* Blend against page content — must be on the header itself, not children,
       because sticky + z-index creates its own stacking context */
}

/* viewport-fit=cover lets content bleed into the safe-area on ALL browsers
   (Safari mobile included, not just PWA). Any sticky element at top:0 must
   add padding-top: env(safe-area-inset-top) so its background covers the DI
   zone.

   PWA-standalone also needs top:0 (header default is top:0.75rem) and a 59px
   floor — iOS PWA shortcuts sometimes cache env() as 0, so the floor prevents
   a gap. Regular Safari resolves env() correctly so no floor is needed. */
header {
    padding-top: env(safe-area-inset-top, 0px);
}
html.pwa-standalone header {
    padding-top: max(env(safe-area-inset-top), 59px);
    top: 0;
}

/* stories.html sidebar safe-area rules are in stories.css (after its
   padding shorthand) so the load order doesn't clobber padding-top. */


.nav-row {
    display: flex;
    align-items: center;
    position: relative;
    transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Needs higher specificity than .grid-row.compact to override its padding: 1rem 0 */
.grid-row.nav-row {
    padding: 0.75rem 1.1rem;
}

.nav-brand {
    position: relative;
    z-index: 1;
    font-family: 'Gandur New', 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 300;
    text-transform: none;
}

.nav-links {
    /* Direct child of <body> (moved out of <header> so position:fixed can escape
       the sticky parent's box on iOS WebKit). On desktop, position over the nav-row
       using the header's sticky offset + half the measured header height.
       left is overridden by updateNavLinksLeft() in main.js to sit centered
       between .nav-brand and .nav-meta. */
    position: fixed;
    top: calc(0.75rem + var(--header-height, 72px) / 2);
    left: 40%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 0;
    clip-path: none;
    pointer-events: auto;
    z-index: 1100;
}


.nav-meta {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-location {
    position: static;
}


.nav-datetime,
.nav-location {
    font-size: 14px;
    white-space: nowrap;
}

header .nav-brand,
.nav-links a,
header .nav-datetime,
header .nav-location {
    color: #fff;
    text-transform: uppercase;
    /* Match .nav-row pill background-color transition (0.35s) so text color
       and pill grow/shrink in sync when header.scrolled toggles */
    transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

header .menu-toggle .menu-icon {
    color: #fff;
}


.nav-links a:hover,
header .nav-brand:hover {
    color: #FAFAFA;
}

header.scrolled,
body.header-scrolled .nav-links {
    --link-highlight: #FAFAFA;
}

header.scrolled .nav-row {
    background-color: #0000CD;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
}

header.scrolled .nav-brand,
body.header-scrolled .nav-links a,
header.scrolled .nav-datetime,
header.scrolled .nav-location {
    color: #FAFAFA;
}

header.scrolled .menu-toggle .menu-icon {
    color: #FAFAFA;
}

body.header-scrolled .nav-links a:hover,
header.scrolled .nav-brand:hover {
    color: #1a1a1a;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    z-index: 2000;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle .menu-icon {
    width: 22px;
    height: 22px;
    color: var(--text-color);
    transition: transform 0.35s ease, color 0.25s ease;
}

.menu-toggle.active .menu-icon {
    transform: rotate(45deg);
}


/* Landing Section */
#landing {
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: 0;
    position: relative;
    background-image: url('img/optimized/wall.jpg');
    background-size: cover;
    background-position: center 33%;
    background-repeat: no-repeat;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    margin-top: calc(-1 * var(--header-height));
}

#landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.55);
    pointer-events: none;
    z-index: 0;
}


#landing > * {
    position: relative;
    z-index: 1;
}

.landing-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.landing-geo {
    width: clamp(60px, 15vw, 120px);
    color: var(--text-color);
    margin-bottom: 2rem;
    overflow: visible;
}

.landing-brand {
    font-family: 'Gandur New', 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 9vw, 140px);
    font-weight: 300;
    text-transform: uppercase;
    padding: 0 var(--gutter);
    line-height: 0.88;
    letter-spacing: 0.01em;
    color: var(--text-color);
    margin: 0;
    text-align: center;
}


.landing-climbing-sub {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin: 0;
    text-align: center;
}

.landing-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-color);
    opacity: 1;

    margin: 0;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
}


/* Day Pass Cards */
.pass-price {
    font-size: 24px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.75rem;
}

/* Membership Tables */
.col-span-right {
    grid-column: 2 / span 2;
}

.membership-tables-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4rem;
}

.membership-tables-wrapper .membership-table {
    flex: 1;
}

.membership-table {
    margin-bottom: 0;
}

.membership-table-header {
    margin-bottom: 1rem;
}

.membership-row-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: var(--line-thickness) solid var(--line-color);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
}

.membership-row-item:last-child {
    border-bottom: none;
}

.membership-row-item span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.membership-row-item .pass-price {
    margin-top: 0;
    padding-top: 0;
}


/* Rock Day */
.rock-day-included-heading {
    margin-bottom: 1rem;
}

.rock-day-row .col-2 > .membership-table {
    margin-top: 2rem;
}

.rock-day-row .feature-img-wrap {
    aspect-ratio: 3 / 4;
    height: 100%;
}

.rock-day-row .feature-img-wrap img {
    object-position: top;
}

.perks-list li {
    text-transform: uppercase;
}

.perks-rate {
    color: #39FF14;
}

.table-subtitle {
    font-size: 14px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rock-day-member-note {
    margin-top: 1rem;
    font-size: 14px;
    opacity: 0.6;
}

.rock-day-desc,
.rock-day-member-note,
.feature-item-desc {
    text-transform: uppercase;
}

/* Utilities */
.flex-col {
    display: flex;
    flex-direction: column;
}


/* Animations */
.scroll-section .animate-up {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
}

#day-passes-heading .char {
    will-change: transform, opacity, filter;
    display: inline-block;
}


/* ===================== ABOUT ===================== */
.about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.about-body {
    font-size: 14px;
    line-height: 1.7;
    grid-column: 1 / 3;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.75);
}

/* ===================== FOOTER ===================== */
footer {
    position: relative;
    background: #0000CD;
    color: #FAFAFA;
    padding: 4rem var(--gutter) 0;
    overflow: hidden;
}

/* Suppress global blue-fill hover — blue-on-blue is invisible anyway */
footer a::before { display: none; }
footer a:hover   { color: #FAFAFA; }

/* Eyebrow label */
.footer-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 1.5rem;
    color: #FAFAFA;
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #FAFAFA;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Nav link list */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(250, 250, 250, 0.35);
}
.footer-nav-list li { border-bottom: 1px solid rgba(250, 250, 250, 0.35); }

.footer-nav-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 10px 4px 10px 0;
    color: #FAFAFA;
    position: relative;
    overflow: hidden;
    transition: padding-left 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.footer-nav-row:hover {
    padding-left: 12px;
    color: #FAFAFA;
}

/* [001] index label — matches .feature-index from other sections */
.footer-nav-idx {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: #FFD600;
    letter-spacing: 0.1em;
}

/* Nav name — h4 scale */
.footer-nav-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.footer-nav-row:hover .footer-nav-name { transform: translateX(6px); }

.footer-nav-arrow-wrap {
    justify-self: end;
    width: 28px;
    height: 28px;
    position: relative;
    overflow: hidden;
}
.footer-nav-arrow {
    position: absolute;
    inset: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.footer-nav-arrow.ghost { transform: translate(-100%, 100%); }
.footer-nav-row:hover .footer-nav-arrow.main  { transform: translate(100%, -100%); }
.footer-nav-row:hover .footer-nav-arrow.ghost { transform: translate(0, 0); }

/* Wordmark — h4 scale, anchored bottom-left */
.footer-wordmark {
    position: absolute;
    left: var(--gutter);
    bottom: 32px;
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #FAFAFA;
    z-index: 2;
}
.footer-wordmark .stack { display: block; font-size: 24px; font-weight: 600; }

/* Bottom bar — gap matches inter-section spacing */
.footer-bottom-bar {
    margin-top: 4rem;
    margin-bottom: 32px;
    margin-left: 240px;
    border-top: 1px solid rgba(250, 250, 250, 0.85);
    border-bottom: 1px solid rgba(250, 250, 250, 0.85);
    display: grid;
    grid-template-columns: 1fr auto auto 1fr auto auto auto auto;
    align-items: stretch;
}
.footer-bb-cell {
    padding: 14px 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: -0.005em;
    border-right: 1px solid rgba(250, 250, 250, 0.85);
    color: #FAFAFA;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    transition: background 0.25s ease;
}
.footer-bb-cell:last-child { border-right: none; }
.footer-bb-cell.tagline { font-weight: 500; }
.footer-bb-cell.spacer  { border-right: none; pointer-events: none; padding: 0; }
a.footer-bb-cell:hover  { background: rgba(250, 250, 250, 0.10); }

/* Responsive */
@media (max-width: 992px) {
    footer { padding-top: 3rem; }
    .footer-wordmark { position: static; margin: 3rem 0 1.5rem; }
    .footer-bottom-bar { margin-left: 0; margin-top: 3rem; grid-template-columns: 1fr; }
    .footer-bb-cell {
        border-right: none;
        border-bottom: 1px solid rgba(250, 250, 250, 0.85);
        justify-content: space-between;
    }
    .footer-bb-cell.spacer { display: none; }
    .footer-nav-name { font-size: 20px; }
}

/* Features Subsections Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
    column-gap: 10rem;
    padding: 1.5rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #0000CD;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.feature-img-placeholder {
    background-color: #000;
}

.feature-item-info {
    padding: 0.75rem 0;
}

.feature-item-desc {
    margin-top: 0.4rem;
    opacity: 0.8;
    line-height: 1.5;
}

.feature-item-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    height: 42px;
    padding: 0 0.8em 0 1em;
    gap: 1.2em;
    margin-top: calc(14px * 1.5);
    background: var(--text-color);
    color: var(--bg-color);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
}

.feature-item-link::before {
    display: none;
}

.feature-item-link:hover {
    background: var(--link-highlight);
    color: var(--text-color);
}

.feature-item-link-chevron {
    fill: currentColor;
    flex-shrink: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg) translateY(-1px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item-link:hover .feature-item-link-chevron {
    transform: rotate(-180deg);
}

.feature-index {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    /* When the mobile menu is open, fade out <main> and <header> so the body's
       dark background shows through, keeping the menu overlay visually uniform. */
    main, header {
        transition: opacity 0.25s ease;
    }
    body.menu-open main,
    body.menu-open header {
        opacity: 0;
    }

    .nav-row {
        justify-content: center;
    }

    .grid-row.nav-row {
        padding: 0.4rem 1.1rem;
    }

    .nav-brand {
        position: relative;
    }

    .nav-meta {
        display: none;
    }

    .nav-datetime,
    .nav-location {
        display: none;
    }

    .nav-links {
        display: flex;
        position: fixed;
        /* Overshoot the viewport by 200px on every side so the overlay background
           bleeds past any OS chrome (status bar, home indicator) on iOS. */
        top: -200px;
        left: -200px;
        right: -200px;
        bottom: -200px;
        transform: none;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1500;
        font-size: 1.25rem;
        clip-path: inset(100% 0% 0% 0%);
        pointer-events: none;
    }

    .nav-links.mobile-active {
        pointer-events: auto;
    }


    .menu-toggle {
        position: fixed;
        bottom: 1.75rem;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #FAFAFA;
        border: 1px solid transparent;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        transition: background-color 0.25s ease, border-color 0.25s ease;
        z-index: 2000;
    }

    .menu-toggle .menu-icon {
        width: 22px;
        height: 22px;
        color: #171717;
    }

    .menu-toggle.active {
        background-color: #0000CD;
        border-color: #FAFAFA;
    }

    .menu-toggle.active .menu-icon {
        color: #FAFAFA;
        transform: rotate(45deg);
    }

    .menu-toggle:active {
        transform: translateX(-50%) scale(0.9);
    }

    .grid-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    #landing {
        min-height: 100dvh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: var(--header-height);
        padding-bottom: 0;
    }

    #pricing {
        padding-top: 2rem;
        /* Reduced for mobile */
    }

    .landing-climbing-sub {
        font-size: 16px;
        letter-spacing: 0.25em;
    }

    h1 {
        font-size: clamp(1.5rem, 6vh, 2.5rem);
    }

    h2 {
        font-size: clamp(2rem, 11vw, 96px);
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 20px;
    }

    .grid-row.subsection-break {
        border-top: none;
        margin-top: 0;
        padding-top: 1.5rem;
    }

    /* Day pass cards: stack full-width with divider lines */
    .pricing-passes-row {
        padding: 0;
        gap: 0;
    }

    .pricing-passes-row .col-2,
    .pricing-passes-row .col-3 {
        grid-column: 1;
    }

    .pricing-pass-card {
        border-top: var(--line-thickness) solid var(--line-color);
        padding: 1.5rem 0;
    }

    .pricing-passes-row .pricing-pass-card:first-child,
    .course-cards-row .pricing-pass-card:first-child {
        border-top: none;
    }

    /* Course cards: stack all three columns full-width with divider lines */
    .course-cards-row {
        padding: 0;
        gap: 0;
    }

    .course-cards-row .col-1,
    .course-cards-row .col-2,
    .course-cards-row .col-3 {
        grid-column: 1;
    }

    .pass-price {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: normal;
        margin-top: 1rem;
        padding-top: 0;
    }

    .membership-row-item {
        font-size: 20px;
        line-height: 32px;
    }

    .col-span-right {
        grid-column: 1;
    }

    .membership-table {
        min-width: 0;
    }

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

}

@media (min-width: 650px) and (max-width: 992px) {
    .rock-day-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        align-items: stretch;
    }
    .rock-day-row .col-1 {
        grid-column: 1;
        grid-row: 1 / 3;
        overflow: hidden;
    }
    .rock-day-row .col-2 {
        grid-column: 2;
        grid-row: 1;
    }
    .rock-day-row .col-3 {
        grid-column: 2;
        grid-row: 2;
    }
    .rock-day-row .feature-img-wrap {
        aspect-ratio: unset;
        height: 100%;
        min-height: 200px;
    }
}

@media (max-width: 650px) {
    .rock-day-row {
        grid-template-columns: 1fr;
    }
    .rock-day-row .col-1 { grid-column: 1; grid-row: 1; }
    .rock-day-row .col-2 { grid-column: 1; grid-row: 2; }
    .rock-day-row .col-3 { grid-column: 1; grid-row: 3; }
    .rock-day-row .feature-img-wrap {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

@media (min-width: 650px) and (max-width: 992px) {
    .membership-tables-wrapper {
        flex-direction: row;
        gap: 1.5rem;
    }

    .membership-tables-wrapper .membership-table {
        flex: 1;
    }
}

@media (max-width: 992px) {
    h2:has(.section-heading-text) {
        display: flex;
        flex-direction: column;
        gap: 0.2em;
    }

    h2 .section-heading-text {
        display: block;
    }

    h2 .section-label {
        order: -1;
        margin-left: 0;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .membership-tables-wrapper {
        flex-direction: column;
    }
}


/* ─── TESTIMONIALS ─────────────────────────────────────── */
#testimonials {
    padding-top: var(--section-pt);
}

.testi-header {
    padding-bottom: 2.5rem;
}

.testi-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(250, 250, 250, 0.4);
    margin-bottom: 1.25rem;
}

.testi-eyebrow-dash {
    width: 28px;
    height: 1px;
    background: rgba(250, 250, 250, 0.4);
    flex-shrink: 0;
}

.testi-section-title {
    line-height: 1.12;
}

.testi-title-main {
    font-family: var(--font-mono);
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-color);
}

.testi-title-serif {
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(28px, 3.8vw, 52px);
    letter-spacing: -0.01em;
    color: var(--color-accent);
}

/* ── Google rating badge ── */
.google-rating-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
}

.grb-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.grb-stars {
    position: relative;
    display: inline-flex;
    letter-spacing: 2px;
    font-size: 14px;
    line-height: 1;
}

.grb-stars-empty {
    color: rgba(250, 250, 250, 0.2);
}

.grb-stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 98%; /* 4.9 / 5 */
    color: #39FF14;
    white-space: nowrap;
}

.grb-link {
    font-size: 12px;
    color: rgba(250, 250, 250, 0.45);
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: var(--line-thickness) solid rgba(250, 250, 250, 0.2);
    padding-bottom: 1px;
}

/* ── Carousel wrap ── */
.testi-carousel-wrap {
    padding: 2rem 0 0;
    border-top: var(--line-thickness) solid var(--line-color);
}

/* ── Big decorated quote ── */
.testi-quote {
    display: grid;
    font-family: var(--font-mono);
    font-size: clamp(20px, 2.6vw, 38px);
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.32;
    letter-spacing: -0.01em;
    max-width: 28ch;
    min-height: 6.5em;
    margin-bottom: 2.25rem;
    text-wrap: pretty;
}

.testi-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
}

.testi-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.testi-slide p {
    margin: 0;
    font-size: inherit;
}

/* Decoration spans — neon green accents on dark bg */
.t-pill {
    display: inline-block;
    background: var(--color-accent);
    color: #0e0e0e;
    padding: 0.03em 0.4em 0.1em;
    border-radius: 999px;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    margin: 0 0.04em;
    transform: translateY(-0.05em) rotate(-1deg);
    line-height: 1;
    white-space: nowrap;
}

.t-outline {
    display: inline-block;
    border: 1.5px solid var(--color-accent);
    border-radius: 999px;
    padding: 0.02em 0.4em 0.08em;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    color: var(--color-accent);
    margin: 0 0.04em;
    transform: rotate(0.5deg);
    line-height: 1;
    white-space: nowrap;
}

.t-oval {
    position: relative;
    display: inline-block;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    padding: 0 0.38em;
    white-space: nowrap;
    line-height: 1;
}
.t-oval::before {
    content: "";
    position: absolute;
    inset: -18% -8% -8% -8%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none' fill='none' stroke='%2339FF14' stroke-width='2.4'><path d='M100 6 C 170 6, 196 22, 196 40 C 196 60, 158 74, 100 74 C 40 74, 5 60, 5 40 C 5 22, 36 6, 100 6 Z' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    transform: rotate(-1.2deg);
}

.t-sparkle {
    display: inline-block;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    margin: 0 0.04em;
    white-space: nowrap;
    line-height: 1;
}
.t-sparkle::before,
.t-sparkle::after {
    content: "✦";
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.85em;
    color: var(--color-accent);
    vertical-align: 0.1em;
    margin: 0 0.22em;
}

.t-wave {
    position: relative;
    display: inline-block;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    padding: 0 0.04em 0.18em;
    white-space: nowrap;
}
.t-wave::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -0.05em;
    height: 0.32em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none' fill='none' stroke='%2339FF14' stroke-width='2.2' stroke-linecap='round'><path d='M2 8 Q 12 1, 25 6 T 50 6 T 75 6 T 98 6'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.t-underline {
    position: relative;
    display: inline-block;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
    padding-bottom: 0.1em;
    white-space: nowrap;
}
.t-underline::after {
    content: "";
    position: absolute;
    left: -2%; right: -2%; bottom: -0.02em;
    height: 0.22em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none' fill='none' stroke='%2339FF14' stroke-width='2.4' stroke-linecap='round'><path d='M2 7 C 25 2, 60 9, 98 4'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* ── Attribution ── */
.testi-attrib {
    display: grid;
    font-family: var(--font-mono);
    margin-bottom: 2rem;
}

.testi-attrib-slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    opacity: 0;
    pointer-events: none;
}

.testi-attrib-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.testi-attrib-dash {
    width: 18px;
    height: 1px;
    background: rgba(250, 250, 250, 0.45);
    flex-shrink: 0;
}

.testi-attrib-name {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
}

.testi-attrib-stars {
    color: var(--color-accent);
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 1;
}

.testi-attrib-when {
    font-size: 14px;
    opacity: 0.35;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ── Footer row: counter + controls ── */
.testi-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: var(--line-thickness) solid rgba(250, 250, 250, 0.18);
    padding-top: 1.25rem;
}

.testi-counter {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}

.testi-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
}

.testi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(250, 250, 250, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 900ms cubic-bezier(0.16, 1, 0.3, 1), width 900ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.testi-dot.active {
    background: var(--color-accent);
    width: 22px;
    border-radius: 3px;
}

.testi-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: var(--line-thickness) solid var(--line-color);
    background: transparent;
    color: var(--text-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
    padding: 0;
}

.testi-nav:active {
    background: var(--text-color);
    color: var(--bg-color);
    transition: none;
}

@media (hover: hover) {
    .testi-nav:hover {
        background: var(--text-color);
        color: var(--bg-color);
    }
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .testi-quote {
        font-size: clamp(18px, 4.5vw, 28px);
        max-width: none;
        min-height: 0;
    }
    .testi-title-main,
    .testi-title-serif {
        font-size: clamp(24px, 5.5vw, 38px);
    }
    .testi-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .testi-attrib-when {
        width: 100%;
    }
}

/* Menu Page Styles */
#menu-page {
    height: calc(100vh - var(--header-height));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem var(--gutter);
    text-align: center;
    overflow: hidden;
}

.menu-container {
    max-width: 900px;
    width: 100%;
}

.menu-main-title {
    font-size: 14px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 5rem;
    text-align: left;
}

.menu-section h2 {
    font-size: 14px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 14px;
}

.menu-row span:first-child {
    padding-right: 1rem;
}

.menu-row span:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 400;
}

@media (max-width: 992px) {
    #menu-page {
        min-height: calc(100vh - 60px);
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .menu-main-title {
        margin-bottom: 1.5rem;
        font-size: 0.875rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-section h2 {
        font-size: 0.875rem;
        margin-bottom: 0.6rem;
    }

    .menu-row {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }
}


/* ===================== FAQ ===================== */
#faq {
    padding-bottom: 6rem;
}

/* Two-column layout: nav left, panels right */
.faq-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-top: 1.5rem;
    align-items: start;
}

/* Left column — category list */
.faq-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: var(--line-thickness) solid rgba(250, 250, 250, 0.2);
    padding-right: 2rem;
    padding-top: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

/* Pill-style category buttons — matches stories .fn-pill language */
.faq-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 0.5pt solid #2a2a2a;
    width: 100%;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    transition: border-color 120ms linear, background 120ms linear, color 120ms linear;
    line-height: 1.4;
}

.faq-nav-item:hover { border-color: var(--text-color); }

.faq-nav-item.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--bg-color);
}

.faq-pill-left { display: flex; align-items: center; gap: 10px; }

.faq-pill-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    flex: 0 0 7px;
}
.faq-nav-item.active .faq-pill-dot {
    background: var(--bg-color);
    border-color: var(--bg-color);
}

.faq-cat-name {
    font-size: 12px;
    font-weight: 500;
}

.faq-pill-count {
    color: #909090;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}
.faq-nav-item.active .faq-pill-count { color: var(--bg-color); }

/* Right column — question panels */
.faq-panels {
    padding-left: 3rem;
    border-top: none;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
}

/* Panel hero header — mirrors stories fn-hero pattern */
.faq-panel-header {
    padding: 1.5rem 0 1.25rem;
    border-bottom: var(--line-thickness) solid rgba(250, 250, 250, 0.15);
    margin-bottom: 0;
}

.faq-panel-num {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #909090;
    margin-bottom: 10px;
}

.faq-panel-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text-color);
    margin: 0 0 8px;
}

.faq-panel-qs {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #909090;
    margin: 0;
}

/* Individual question rows */
.faq-item {
    border-top: var(--line-thickness) solid rgba(250, 250, 250, 0.2);
}

.faq-item:last-child {
    border-bottom: var(--line-thickness) solid rgba(250, 250, 250, 0.2);
    margin-bottom: 1.5rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 0;
    cursor: pointer;
    gap: 1rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: rgba(250, 250, 250, 0.6);
}

.faq-toggle {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
    font-family: var(--font-mono);
    color: rgba(250, 250, 250, 0.5);
    display: inline-block;
    width: 20px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 0.25rem 0 1.25rem;
}

.faq-answer-inner p {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(250, 250, 250, 0.75);
}

.faq-answer-inner p + p {
    margin-top: 0.6rem;
}

.faq-ans-label {
    color: var(--color-accent);
}

.faq-answer-inner a {
    color: var(--color-accent);
    position: static;
}

.faq-answer-inner a::before {
    display: none;
}

/* Pricing tables inside FAQ answers */
.faq-table {
    grid-column: 2;
    margin-top: 0.75rem;
    width: 100%;
}

.faq-table-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.8fr;
    gap: 0.5rem 1.5rem;
    padding: 0.55rem 0;
    border-top: var(--line-thickness) solid rgba(250, 250, 250, 0.15);
    font-size: 13px;
    color: rgba(250, 250, 250, 0.75);
}

.faq-table-head {
    color: var(--color-accent);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faq-table-note {
    grid-column: 2;
    font-size: 12px;
    color: rgba(250, 250, 250, 0.4);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    /* Stack to single column: nav row on top, panels below */
    .faq-body {
        grid-template-columns: 1fr;
    }

    .faq-nav {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-right: none;
        border-bottom: var(--line-thickness) solid rgba(250, 250, 250, 0.2);
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 12px;
        position: static;
        gap: 6px;
    }

    .faq-nav::-webkit-scrollbar {
        display: none;
    }

    .faq-nav-item {
        flex-shrink: 0;
        width: auto;
        padding: 7px 10px;
    }

    /* Hide count on mobile to keep pills compact */
    .faq-pill-count { display: none; }

    .faq-nav-item.active {
        background: var(--color-accent);
        border-color: var(--color-accent);
        color: var(--bg-color);
    }

    .faq-panels {
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .faq-answer-inner {
        grid-template-columns: 1fr;
    }

    .faq-answer-inner p,
    .faq-table,
    .faq-table-note {
        grid-column: 1;
    }

    .faq-table-row {
        grid-template-columns: 1fr 1fr;
    }

    .faq-table-row > span:last-child {
        grid-column: 1 / -1;
        color: rgba(250, 250, 250, 0.45);
        font-size: 12px;
    }

    .faq-table-head > span:last-child {
        color: var(--color-accent);
    }
}