/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&family=Lato:wght@400;700&display=swap');

:root {
    /* brand */
    --gold: #d4af37;
    --gold-soft: #f4e4c1;
    --cream: #fff8e7;
    --red: #a30822;
    --red-dark: #680512;
    --navy-900: #0a1628;
    --navy-800: #0d1b2a;
    --navy-700: #1b263b;
    /* layout */
    --header-h: 64px;
    --wrap: 1200px;
    --pad-x: 1.25rem;
}

@media (min-width: 768px) {
    :root {
        --header-h: 92px;
        --pad-x: 2rem;
    }
}

/* Every section that a link can jump to leaves room for the sticky header */
section[id] {
    scroll-margin-top: calc(var(--header-h) + 12px);
}


html { scroll-behavior: smooth; }

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


body {
    font-family: 'Lato', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    color: #fff8e7;
    background: #0a1628;
}
   

/* Header */
header {
    background: linear-gradient(135deg, #0a1628 0%, #1a2847 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    min-height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.6), 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 101;
    vertical-align: middle;
}

.logo img {
    height: 44px;
    width: auto;
    vertical-align: middle;
    /* filter: brightness(0.5) sepia(1) hue-rotate(-50deg) saturate(6); */
}

.logo h1,
.logo .logo-text {
    display: none;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #f4e4c1;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #d4af37;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Hero Section: see "v2 components" at the end of this file */


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.booking h2 {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
}

.booking h2 {

    margin-top: 5rem;
}

/* Button */
.btn {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    display: inline-block;
    background: linear-gradient(135deg, #a30822 50%, #680512 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    border: 3px double #d4af37;
    cursor: pointer;
    box-shadow: 
        0 0 0 1px #d4af37,
        0 0 0 5px rgba(212, 175, 55, 0.2),
        0 4px 15px rgba(196, 30, 58, 0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
}

.btn::before,
.btn::after {
    content: '✦';
    position: absolute;
    color: #d4af37;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transition: all 0.3s;
}

.btn::before {
    top: -8px;
    left: -8px;
}

.btn::after {
    bottom: -8px;
    right: -8px;
}

.btn:hover {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 0 0 1px #d4af37,
        0 0 0 5px rgba(212, 175, 55, 0.3),
        0 6px 20px rgba(255, 68, 68, 0.7);
}

.btn:hover::before,
.btn:hover::after {
    text-shadow: 0 0 15px rgba(212, 175, 55, 1);
}

a[href^="mailto:"] {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

a[href^="mailto:"]:hover {
    color: #f4e4c1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    border-bottom: 1px solid #d4af37;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear forwards;
    pointer-events: none;
    z-index: 10;
}

/* @keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
} */

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) translateX(50px) rotate(360deg);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f4e4c1;
    font-style: italic;
}

/* Content Section */
.content-section {
    background: linear-gradient(to bottom, #0d1b2a 0%, #1b263b 100%);
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    color: #fff8e7;
}

.content-wrapper h3 {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    color: #d4af37;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.content-wrapper h3:first-child {
    margin-top: 0;
}

.content-wrapper p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #fff8e7;
}

.intro-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #f4e4c1;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(26, 40, 71, 0.4);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
}

/* CTA Box */
.cta-box {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #a30822 0%, #680512 100%);
    border-radius: 12px;
    border: 3px double rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 25px rgba(139, 30, 63, 0.3);
    text-align: center;
}

.cta-box h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-box p {
    color: #f4e4c1;
    margin-bottom: 2rem;
}

.cta-box .btn {
    margin-top: 1rem;
}


/* Responsive */
@media (max-width: 767.98px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        align-items: center;
        background: linear-gradient(135deg, #0a1628 0%, #1a2847 100%);
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        text-align: center;
        padding: calc(var(--header-h) + 1.5rem) var(--pad-x) 2rem;
        gap: 1rem;
        border-right: 1px solid rgba(212, 175, 55, 0.3);
        /* Hidden menus must not be reachable with Tab or a screen reader */
        visibility: hidden;
        transition: left 0.3s, visibility 0s linear 0.3s;
    }

    nav ul.active {
        left: 0;
        visibility: visible;
        transition: left 0.3s, visibility 0s;
    }

    nav ul li {
        font-size: 1.5rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}


/* ============================================================
   v2 components, written mobile first.
   Everything above this line is still the old desktop-first CSS
   and gets converted section by section as we rebuild the page.
   ============================================================ */

/* Header: menu toggle gets a finger-sized tap area without moving visually */
.hamburger {
    padding: 10px;
    margin: -10px;
}

/* Header: larger logo from tablet up */
@media (min-width: 768px) {
    .logo img {
        height: 60px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    overflow: hidden;
    text-align: center;
    color: var(--cream);
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('images/bootcamp/sg_bokun_1.jpg');
    background-size: cover;
    background-position: 34% center;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(6, 14, 26, 0.62) 0%,
        rgba(6, 14, 26, 0.22) 28%,
        rgba(6, 14, 26, 0.78) 64%,
        rgba(10, 22, 40, 0.97) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 2rem var(--pad-x) 2.25rem;
}

.hero-badge {
    display: block;
    /* Scales with screen height so short phones keep the photo visible */
    height: clamp(80px, 14vh, 130px);
    width: auto;
    margin: 0 auto 0.9rem;
    /* Dark halo just outside the logo's white glow so it reads on snow too */
    filter: drop-shadow(0 0 14px rgba(6, 14, 26, 0.85)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.55));
}

.hero h1 {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: clamp(2rem, 8.8vw, 3.4rem);
    line-height: 1.08;
    color: var(--gold);
    margin-bottom: 0.7rem;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.45), 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-sub {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 34rem;
    margin: 0 auto 1.15rem;
    color: var(--cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 auto 1.4rem;
}

.hero-facts li {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.5);
    color: var(--gold-soft);
    white-space: nowrap;
}

.hero-note {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: rgba(244, 228, 193, 0.82);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
    .hero {
        align-items: center;
    }

    /* Same photo at every width. Shifted left so the recruit with the bow
       stays in frame on tablets, where the sides get cropped the most. */
    .hero-media {
        background-position: 30% center;
    }

    .hero-media::after {
        background:
            radial-gradient(ellipse 62% 74% at 50% 46%,
                rgba(6, 14, 26, 0.82) 0%,
                rgba(6, 14, 26, 0.50) 55%,
                rgba(6, 14, 26, 0.08) 100%),
            linear-gradient(to bottom,
                rgba(6, 14, 26, 0.45) 0%,
                rgba(6, 14, 26, 0.05) 22%,
                rgba(6, 14, 26, 0.30) 72%,
                rgba(10, 22, 40, 0.95) 100%);
    }

    .hero-inner {
        padding: 3rem var(--pad-x);
    }

    .hero-badge {
        height: clamp(110px, 17vh, 175px);
        margin-bottom: 1.2rem;
    }

    .hero-sub {
        font-size: 1.22rem;
        margin-bottom: 1.6rem;
    }

    .hero-facts {
        gap: 0.6rem;
        margin-bottom: 2rem;
    }

    .hero-facts li {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }

    .hero-note {
        font-size: 0.95rem;
    }
}

/* ---------- Primary booking button ---------- */
.btn-book {
    display: block;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    line-height: 1.2;
    font-size: 1.3rem;
}

.btn-price {
    display: block;
    margin-top: 0.2rem;
    font-family: 'Lato', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    opacity: 0.92;
    text-shadow: none;
}

@media (min-width: 768px) {
    .btn-book {
        max-width: 24rem;
        padding: 1.1rem 2rem;
        font-size: 1.5rem;
    }

    .btn-price {
        font-size: 0.9rem;
    }
}

/* ---------- Booking section ---------- */
.booking {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
}

.booking-inner {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.booking-inner h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
}

.booking-lead {
    font-size: 1.05rem;
    color: var(--gold-soft);
    max-width: 32rem;
    margin: 0 auto 1.75rem;
}

.booking-prices {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: -0.5rem auto 1.5rem;
    font-size: 1rem;
    color: var(--gold-soft);
}

.booking-prices strong {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 0.2rem;
}

.booking-note {
    margin: 1rem auto 0;
    max-width: 32rem;
    font-size: 0.88rem;
    color: rgba(244, 228, 193, 0.75);
}

.booking-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 40rem;
    margin: 2.5rem auto 0;
}

.booking-facts li {
    padding: 0.9rem 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    background: rgba(10, 22, 40, 0.45);
}

.booking-facts strong {
    display: block;
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.05rem;
    color: var(--gold);
}

.booking-facts span {
    display: block;
    font-size: 0.8rem;
    color: rgba(244, 228, 193, 0.8);
}

@media (min-width: 768px) {
    .booking-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .booking-lead {
        font-size: 1.2rem;
    }

    .booking-facts {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .booking-facts strong {
        font-size: 1.2rem;
    }

    .booking-facts span {
        font-size: 0.9rem;
    }
}

/* ---------- Showcase: photos + video ---------- */
.showcase {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.showcase-inner {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

.showcase h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.section-lead {
    text-align: center;
    color: var(--gold-soft);
    font-size: 1rem;
    max-width: 34rem;
    margin: 0 auto 1.5rem;
}

/* Mobile: one wide photo, then two columns */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.photo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: var(--navy-700);
}

.photo--big,
.photo--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.video-block {
    margin-top: 2.5rem;
}

.video-block h3 {
    text-align: center;
    font-size: clamp(1.4rem, 5.5vw, 1.9rem);
    margin-bottom: 1rem;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .showcase-inner {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .section-lead {
        font-size: 1.2rem;
        margin-bottom: 2.25rem;
    }

    /* Desktop: big photo takes a 2x2 block, four photos fill the rest */
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .photo {
        aspect-ratio: 4 / 3;
    }

    .photo--big {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }

    /* fills the last two cells so the bento has no gap */
    .photo--wide {
        grid-column: span 2;
        aspect-ratio: auto;
    }

    .video-block {
        max-width: 860px;
        margin: 4rem auto 0;
    }
}

/* ---------- How it works ---------- */
.how {
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.how-inner {
    padding: 3rem var(--pad-x);
}

.how h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

/* Mobile: vertical timeline with a thin gold line joining the numbers */
.steps {
    list-style: none;
    position: relative;
    max-width: 34rem;
    margin: 0 auto;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding-bottom: 1.75rem;
}

.step:last-child {
    padding-bottom: 0;
}

.step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: 0.25rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.1));
}

.step-num {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: radial-gradient(circle at 35% 30%, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.step-body h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0.55rem 0 0.35rem;
}

.step-body p {
    color: var(--cream);
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .how-inner {
        padding: 4.5rem var(--pad-x);
    }

    /* Desktop: three columns, numbers on top, line runs across */
    .steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: none;
    }

    .step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 0.5rem;
        padding-bottom: 0;
    }

    .step:not(:last-child)::before {
        left: calc(50% + 2.25rem);
        right: calc(-2.5rem - 50% + 2.25rem);
        top: 1.75rem;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(to right, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.15));
    }

    .step-num {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }

    .step-body h3 {
        font-size: 1.5rem;
    }

    .step-body p {
        font-size: 1.05rem;
    }
}

/* ---------- Reviews ---------- */
.reviews-section {
    background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.reviews-inner {
    padding: 3rem var(--pad-x);
}

.reviews-section h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

/* CSS columns give a simple masonry: 1 column on phones, more on wider screens */
.reviews {
    columns: 1;
    column-gap: 1.25rem;
    max-width: 34rem;
    margin: 0 auto;
}

.review {
    position: relative;
    break-inside: avoid;
    margin: 0 0 0.85rem;
    padding: 1.1rem 1.15rem 1.1rem 3rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #145232 0%, #04311b 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.review::before {
    content: '\201C';
    position: absolute;
    left: 0.7rem;
    top: 0.35rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.85;
}

.review p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--cream);
}

.review-author {
    margin-top: 0.6rem;
    font-size: 0.88rem;
    color: rgba(244, 228, 193, 0.8);
}

.review-author strong {
    color: var(--gold);
    font-weight: 700;
}

@media (min-width: 768px) {
    .reviews-inner {
        padding: 4.5rem var(--pad-x);
    }

    .reviews {
        columns: 2;
        max-width: none;
    }

    .review {
        margin-bottom: 1.25rem;
        padding: 1.4rem 1.4rem 1.4rem 3.4rem;
    }

    .review p {
        font-size: 1.08rem;
    }
}

/* ---------- FAQ (native details/summary, no JavaScript) ---------- */
.faq-section {
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-inner {
    padding: 3rem var(--pad-x);
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.faq {
    max-width: 44rem;
    margin: 0 auto;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.25rem;
    padding: 0.8rem 0.25rem;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--gold-soft);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--gold);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--gold);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-answer {
    padding: 0 0.25rem 1.1rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--cream);
}

.faq-answer a,
.faq-more a {
    color: var(--gold);
}

.faq-more {
    text-align: center;
    margin-top: 1.75rem;
    color: var(--gold-soft);
}

@media (min-width: 768px) {
    .faq-inner {
        padding: 4.5rem var(--pad-x);
    }

    .faq-item summary {
        font-size: 1.15rem;
        padding: 1rem 0.5rem;
    }

    .faq-answer {
        font-size: 1.05rem;
        padding: 0 0.5rem 1.25rem;
    }
}

/* ---------- Lore (short story teaser) ---------- */
.lore {
    background: linear-gradient(135deg, #0a1a2e 40%, #16213e 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

/* Mobile: text on the left, a slim knight on the right */
.lore-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 3rem var(--pad-x);
}

.lore h2 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.lore-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.lore-link {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.5rem 0;
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.1rem;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.lore-link::after {
    content: ' \203A';
}

.lore-link:hover,
.lore-link:focus-visible {
    color: var(--gold-soft);
    border-bottom-color: var(--gold-soft);
}

.lore-knight {
    display: block;
    height: 220px;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

@media (min-width: 768px) {
    .lore-inner {
        grid-template-columns: minmax(0, 36rem) auto;
        justify-content: center;
        gap: 4rem;
        padding: 4.5rem var(--pad-x);
    }

    .lore-text p {
        font-size: 1.15rem;
    }

    .lore-link {
        font-size: 1.25rem;
    }

    .lore-knight {
        height: 340px;
    }
}

/* ---------- Sticky booking bar (mobile only) ---------- */
.book-bar {
    display: none;
}

@media (max-width: 767.98px) {
    /* Room at the very bottom so the bar never covers the footer */
    body:has(.book-bar) .site-footer {
        padding-bottom: 4.75rem;
    }

    .book-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.65rem var(--pad-x);
        padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: rgba(10, 22, 40, 0.96);
        border-top: 1px solid rgba(212, 175, 55, 0.35);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
        transform: translateY(110%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
    }

    .book-bar.is-visible {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.25s ease, visibility 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .book-bar,
    .book-bar.is-visible {
        transition: none;
    }
}

.book-bar-price {
    font-size: 0.8rem;
    line-height: 1.1;
    color: var(--gold-soft);
    white-space: nowrap;
}

.book-bar-price strong {
    display: block;
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.45rem;
    color: var(--gold);
}

.book-bar-btn {
    flex: 1;
    max-width: 14rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, var(--red) 50%, var(--red-dark) 100%);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    color: #fff;
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.25rem;
    text-decoration: none;
}

.book-bar-btn:active {
    transform: translateY(1px);
}

/* ---------- Location ---------- */
.location {
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--cream);
}

.location-inner {
    padding: 3rem var(--pad-x);
}

.location h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.pickups {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pickup {
    padding: 0.9rem 1.1rem 0.4rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    background: rgba(10, 22, 40, 0.5);
}

.pickup h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Small map pin drawn with CSS */
.pickup h3::before {
    content: '';
    flex-shrink: 0;
    width: 0.8rem;
    height: 0.8rem;
    border: 3px solid var(--gold);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.pickup-address {
    margin: 0.3rem 0 0 1.45rem;
    font-size: 0.95rem;
    color: rgba(255, 248, 231, 0.85);
}

.pickup-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pickup-link::after {
    content: ' \2197';
    margin-left: 0.25rem;
}

.pickup-link:hover,
.pickup-link:focus-visible {
    color: var(--gold-soft);
}

/* A card with both a map link and a website link puts them on one row,
   wrapping to two when the card is narrow. */
.pickup-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    margin: 0;
}

.meet-notes {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.meet-notes li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1rem;
    line-height: 1.5;
}

.meet-notes li::before {
    content: '';
    position: absolute;
    left: 0.2rem;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--gold);
    transform: rotate(45deg);
}

.meet-notes strong {
    color: var(--gold-soft);
}

.map-frame {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: var(--navy-700);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 480px) {
    /* one card fills the row, two sit side by side */
    .pickups {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    }
}

@media (min-width: 768px) {
    /* Desktop: info on the left, map on the right */
    .location-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        column-gap: 3rem;
        align-items: start;
        padding: 4.5rem var(--pad-x);
    }

    .location-inner > h2,
    .location-inner > .section-lead {
        grid-column: 1 / -1;
    }

    .pickups,
    .meet-notes {
        grid-column: 1;
    }

    .meet-notes li {
        font-size: 1.08rem;
    }

    .map-frame {
        grid-column: 2;
        grid-row: 3 / span 2;
        height: 100%;
        min-height: 380px;
    }
}

/* ---------- Contact ---------- */
.contact {
    background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--cream);
}

.contact-inner {
    padding: 3rem var(--pad-x);
}

.contact h2 {
    text-align: center;
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.contact .section-lead a {
    overflow-wrap: anywhere;
}

.contact-form {
    position: relative;
    max-width: 36rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    background: rgba(10, 22, 40, 0.55);
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-soft);
}

.optional {
    margin-left: 0.3rem;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(244, 228, 193, 0.6);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    font-family: inherit;
    font-size: 1rem; /* 16px keeps iOS from zooming in on focus */
    color: var(--cream);
    background: rgba(6, 14, 26, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.contact-form ::placeholder {
    color: rgba(244, 228, 193, 0.45);
}

.contact-form .btn-book {
    margin-top: 1.5rem;
}

/* Spam trap stays out of sight */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-inner {
        padding: 4.5rem var(--pad-x);
    }

    .contact-form {
        padding: 2rem 2.25rem;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: #050d14;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--cream);
    text-align: center;
}

.footer-inner {
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    padding: 2.5rem var(--pad-x) 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.footer-brand img {
    width: 52px;
    height: 52px;
}

.footer-name {
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    font-size: 1.3rem;
    line-height: 1.1;
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(244, 228, 193, 0.75);
}

/* Undo the header nav styles this element would otherwise inherit */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.25rem;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 1.5rem;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.05rem;
}

/* Phones: email on its own row, social links side by side below it */
.footer-contact a[href^="mailto:"] {
    flex-basis: 100%;
    justify-content: center;
}

.footer-social {
    gap: 0.45rem;
    color: var(--gold-soft);
    text-decoration: none;
}

.footer-social:hover,
.footer-social:focus-visible {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(244, 228, 193, 0.55);
}

/* Wide screens: logo left and links right on top, copyright and email below */
@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-items: stretch;
        column-gap: 2rem;
        row-gap: 1.25rem;
    }

    .footer-nav {
        justify-content: flex-end;
        gap: 0 1.25rem;
    }

    .footer-copy,
    .footer-contact {
        grid-row: 2;
        padding-top: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.12);
    }

    .footer-copy {
        grid-column: 1;
        text-align: left;
    }

    .footer-contact {
        grid-column: 2;
        justify-content: flex-end;
    }

    .footer-contact a[href^="mailto:"] {
        flex-basis: auto;
    }
}

/* ---------- Header navigation ---------- */
.hamburger {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
}

.hamburger:focus-visible,
nav a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

#navMenu {
    align-items: center;
}

nav a[aria-current="page"] {
    color: var(--gold);
}

.nav-book {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 1.1rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--red) 50%, var(--red-dark) 100%);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    font-family: 'MedievalSharp', 'Papyrus', cursive;
    color: #fff;
}

nav .nav-book:hover,
nav .nav-book:focus-visible {
    color: #fff;
    text-shadow: none;
    background: linear-gradient(135deg, #c41e3a 0%, var(--red) 100%);
}

/* Keep the page behind the open mobile menu from scrolling */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    nav ul li {
        font-size: 1.35rem;
    }

    nav ul a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .nav-cta {
        margin-top: 0.75rem;
    }

    .nav-book {
        padding: 0.65rem 2.25rem;
        font-size: 1.35rem;
    }
}

@media (min-width: 768px) {
    nav ul {
        gap: 1.1rem;
    }

    nav ul a {
        font-size: 0.95rem;
    }
}

@media (min-width: 1100px) {
    nav ul {
        gap: 1.75rem;
    }

    nav ul a {
        font-size: 1rem;
    }
}

/* ============================================================
   Subpages (Story, Activities)
   ============================================================ */

/* ---------- Subpage hero: a picture with the title on a bottom fade ---------- */
.sub-hero {
    position: relative;
    background: var(--navy-900);
    overflow: hidden;
}

.sub-hero-art {
    position: relative;
    height: clamp(300px, 62svh, 560px);
    background-size: cover;
    background-repeat: no-repeat;
}

/* Story: the illustration, keeping the knight in the red coat in view.
   Phones get the 1000px version, or the 2000px one on sharp screens. */
.sub-hero-art--story {
    background-image: url('images/site-hero-bg-no-logo-small.jpg');
    background-image: -webkit-image-set(url('images/site-hero-bg-no-logo-small.jpg') 1x, url('images/site-hero-bg-no-logo-medium.jpg') 2x);
    background-image: image-set(url('images/site-hero-bg-no-logo-small.jpg') 1x, url('images/site-hero-bg-no-logo-medium.jpg') 2x);
    background-position: 53% 60%;
}

/* Activities: the duel photo */
.sub-hero-art--activities {
    height: clamp(280px, 52svh, 520px);
    background-image: url('images/bootcamp/sg_bokun_3.jpg');
    background-position: 58% 40%;
}

/* Only the bottom fades out, so the title can sit on the snow */
.sub-hero-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10, 22, 40, 0) 55%,
        rgba(10, 22, 40, 0.75) 82%,
        var(--navy-900) 100%);
}

.sub-hero-text {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin: -4rem auto 0;
    padding: 0 var(--pad-x) 2.5rem;
    text-align: center;
}

.sub-hero h1 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.45), 0 2px 12px rgba(0, 0, 0, 0.9);
}

.sub-hero .hero-subtitle {
    font-size: 1.02rem;
}

@media (min-width: 768px) {
    .sub-hero-art {
        height: clamp(420px, 70vh, 660px);
    }

    .sub-hero-art--story {
        background-image: url('images/site-hero-bg-no-logo-medium.jpg');
        background-position: center 62%;
    }

    .sub-hero-art--activities {
        height: clamp(400px, 62vh, 600px);
        /* anchor near the top so heads and Santa hats stay in frame */
        background-position: center 8%;
    }

    .sub-hero-text {
        margin-top: -6rem;
        padding-bottom: 3.5rem;
    }

    .sub-hero .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* ---------- Long-form text on subpages, mobile first ---------- */
.content-section {
    padding: 2rem 0 3rem;
}

.content-section .container {
    padding: 0 var(--pad-x);
}

.content-wrapper h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.content-wrapper p {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.intro-text {
    font-size: 1.08rem;
    padding: 1.25rem;
}

.cta-box {
    margin-top: 3rem;
    padding: 2rem 1.25rem;
}

.cta-box h3 {
    margin-top: 0;
}

.cta-box .btn-book {
    margin-top: 0.5rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1rem;
    color: var(--gold-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-link:hover,
.cta-link:focus-visible {
    color: #fff;
}

@media (min-width: 768px) {
    .content-section {
        padding: 4rem 0 4.5rem;
    }

    .content-wrapper h3 {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }

    .content-wrapper p {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 1.4rem;
    }

    .intro-text {
        font-size: 1.25rem;
        padding: 2rem;
    }

    .cta-box {
        margin-top: 4rem;
        padding: 3rem;
    }
}

/* ---------- Pill lists inside long-form text ---------- */
.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 1.4rem;
}

.chips li {
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.5);
    color: var(--gold-soft);
    font-size: 0.95rem;
    line-height: 1.3;
}

.content-wrapper p a {
    color: var(--gold);
    text-underline-offset: 3px;
}

@media (min-width: 768px) {
    .chips li {
        font-size: 1.02rem;
    }
}

/* ---------- Academy course markers ---------- */
.course-badge {
    display: inline-block;
    margin: 0 auto 0.6rem;
    padding: 0.25rem 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.5);
    color: var(--gold-soft);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.how-inner {
    text-align: center;
}

.how-inner .steps,
.how-inner .course-note {
    text-align: left;
}

.course-note {
    max-width: 34rem;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(244, 228, 193, 0.85);
}

@media (min-width: 768px) {
    .how-inner .steps {
        text-align: center;
    }

    .course-note {
        text-align: center;
        font-size: 1.05rem;
        margin-top: 2.5rem;
    }
}

/* ---------- Thank you and error pages ---------- */
.form-result {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
}

.form-result-inner {
    max-width: 34rem;
    padding: 3rem var(--pad-x);
    text-align: center;
}

.form-result-logo {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.form-result h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.form-result p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: 0.9rem;
}

.form-result-note {
    font-size: 0.95rem;
    color: rgba(244, 228, 193, 0.8);
}

.form-result a:not(.btn) {
    color: var(--gold);
}

.form-result .btn-book {
    margin-top: 1.25rem;
}

/* ---------- Bokun booking button ---------- */
/* Bokun's own <style> block from their embed snippet is left out on purpose:
   the button wears .btn / .btn-book (or .book-bar-btn) and so stays in step
   with the rest of the site. These rules only tame the native <button> and
   keep the look unchanged while Bokun's script loads, because the snippet
   ships the button disabled and enables it once the widget is ready. */
.bokunButton {
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
}

.bokunButton[disabled] {
    cursor: progress;
    opacity: 1;
    color: #fff;
}

/* While the modal is opening Bokun adds .bokunButton--loading, which shrinks
   the button's text to 0.1px and spins a loader on top. The price span has a
   font size of its own, so it would survive that and sit alone under the
   spinner. Hide it for the moment the loader is up. */
.bokunButton--loading .btn-price {
    visibility: hidden;
}
