/* ============================================================
   PH SURF SERIES
   Complete Landing Page Stylesheet
   Design: Cinematic Ocean / Premium Sports / Editorial Surf
   ============================================================ */

/* ============================================================
   01. DESIGN SYSTEM
   ============================================================ */

:root {
    --ocean-950: #020e15;
    --ocean-900: #041720;
    --ocean-850: #061c27;
    --ocean-800: #092633;
    --ocean-700: #103746;

    --cyan: #20d4e3;
    --cyan-dark: #00a8bc;

    --orange: #ff762e;
    --orange-light: #ff985f;

    --white: #f5fbff;
    --white-soft: #dbe8ee;

    --text-muted: #9bb1bd;
    --text-dark: #0b2835;
    --text-dark-muted: #58707b;

    --border-light: rgba(255, 255, 255, 0.12);
    --border-dark: rgba(6, 28, 39, 0.13);

    --font-body: "DM Sans", Arial, sans-serif;
    --font-display: "Barlow Condensed", Impact, sans-serif;

    --container: 1240px;

    --header-height: 76px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-card:
        0 18px 50px rgba(0, 0, 0, 0.20);

    --transition:
        250ms ease;
}


/* ============================================================
   02. RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;

    background: var(--ocean-950);
    color: var(--white);

    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
a {
    font-family: var(--font-body);
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    cursor: pointer;
}

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

::selection {
    background: var(--cyan);
    color: var(--ocean-950);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.wrap {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

section[id],
footer[id] {
    scroll-margin-top: calc(var(--header-height) + 15px);
}

.section-pad {
    padding-block: 110px;
}


/* ============================================================
   03. HEADER AND BRAND
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: var(--header-height);

    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 145px;
    align-items: center;
    gap: 25px;

    padding-inline: max(32px, calc((100vw - var(--container)) / 2));

    background: rgba(3, 19, 28, 0.94);
    border-bottom: 1px solid var(--border-light);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    width: fit-content;
    min-width: 0;
}

.brand-mark {
    flex: 0 0 39px;

    width: 39px;
    height: 34px;

    color: var(--cyan);

    filter:
        drop-shadow(0 0 12px rgba(32, 212, 227, 0.20));
}

.brand-mark svg {
    width: 100%;
    height: 100%;

    fill: currentColor;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;

    min-width: 0;
    line-height: 1;
}

.brand-wordmark strong {
    color: var(--white);

    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 900;

    letter-spacing: -0.4px;
    white-space: nowrap;
}

.brand-wordmark strong span {
    color: var(--cyan);
}

.brand-wordmark small {
    margin-top: 5px;

    color: #c1d0d7;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.8px;
    white-space: nowrap;
}


/* ============================================================
   04. DESKTOP NAVIGATION
   ============================================================ */

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(14px, 2vw, 29px);

    min-width: 0;
}

.primary-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: var(--header-height);

    color: #e1eaf0;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;

    transition: color var(--transition);
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 0;

    height: 2px;

    content: "";

    background: var(--cyan);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform var(--transition);
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--cyan);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    transform: scaleX(1);
}


/* ============================================================
   05. ADMIN BUTTON
   ============================================================ */

.admin-link {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 15px;

    border: 1px solid rgba(32, 212, 227, 0.7);
    border-radius: 100px;

    color: var(--white);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.6px;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.admin-link:hover {
    background: var(--cyan);
    border-color: var(--cyan);

    color: var(--ocean-950);

    transform: translateY(-2px);
}


/* ============================================================
   06. MOBILE MENU BUTTON
   ============================================================ */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    padding: 0;

    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 9px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;

    background: var(--white);
    border-radius: 5px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   07. HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    isolation: isolate;

    min-height: 720px;
    height: min(820px, calc(100svh - var(--header-height)));

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #041a25;
    color: var(--white);
}


/* Video fills the entire hero.
   The video is deliberately behind the content and overlay. */

.hero-video {
    position: absolute;
    inset: 0;

    z-index: -2;

    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center 45%;

    background: #041a25;
}


/* Cinematic gradient over the footage */

.hero-shade {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2, 15, 23, 0.95) 0%,
            rgba(2, 17, 26, 0.82) 30%,
            rgba(2, 18, 27, 0.49) 58%,
            rgba(2, 18, 27, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 14, 21, 0.91) 0%,
            rgba(2, 14, 21, 0.14) 43%,
            rgba(2, 14, 21, 0.10) 100%
        );
}


/* Hero text */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(var(--container), calc(100% - 64px));

    margin-inline: auto;

    padding-block: 100px 145px;

    animation: hero-content-enter 850ms ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;

    color: #d7e7ee;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3.5px;
    line-height: 1.5;

    text-transform: uppercase;
}

.eyebrow > span {
    display: inline-block;

    width: 35px;
    height: 2px;

    flex: 0 0 35px;

    background: var(--cyan);
}

.hero h1 {
    max-width: 1100px;

    margin-bottom: 15px;

    color: #f7fbff;

    font-family: var(--font-display);
    font-size: clamp(64px, 8.5vw, 124px);
    font-weight: 900;

    line-height: 0.88;
    letter-spacing: -2px;

    overflow-wrap: anywhere;

    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.22);
}

.hero h1 span {
    color: var(--cyan);
}

.hero-tagline {
    margin-bottom: 16px;

    color: var(--cyan);

    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;

    font-style: italic;
    line-height: 1.05;

    text-transform: uppercase;
}

.hero-copy {
    max-width: 570px;

    margin-bottom: 0;

    color: #e0ebf0;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.85;
}

.desktop-only {
    display: initial;
}


/* ============================================================
   08. HERO BUTTONS
   ============================================================ */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 13px;

    margin-top: 28px;
}

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 100px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.button > span {
    font-size: 17px;
    line-height: 1;
}

.button-primary {
    background: var(--cyan);
    border-color: var(--cyan);

    color: #03202a;

    box-shadow: 0 8px 28px rgba(32, 212, 227, 0.13);
}

.button-primary:hover {
    background: #65e9f2;
    border-color: #65e9f2;

    color: #03202a;

    transform: translateY(-3px);

    box-shadow: 0 12px 32px rgba(32, 212, 227, 0.24);
}

.button-outline {
    background: rgba(3, 20, 29, 0.26);
    border-color: rgba(255, 255, 255, 0.65);

    color: var(--white);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;

    color: #fff;

    transform: translateY(-3px);
}


/* ============================================================
   09. HERO LOCATION
   ============================================================ */

.hero-location {
    position: absolute;
    right: max(32px, calc((100vw - var(--container)) / 2));
    bottom: 85px;

    z-index: 3;

    display: flex;
    align-items: center;
    gap: 14px;
}

.play-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    flex: 0 0 43px;

    border: 1px solid var(--cyan);
    border-radius: 50%;

    color: var(--cyan);

    font-size: 11px;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.hero-location:hover .play-icon {
    background: var(--cyan);
    color: var(--ocean-950);

    transform: scale(1.06);
}

.hero-location > span:last-child {
    display: flex;
    flex-direction: column;
}

.hero-location strong {
    color: #fff;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero-location small {
    margin-top: 5px;

    color: #c3d1d8;

    font-size: 9px;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* ============================================================
   10. VIDEO ATTRIBUTION
   ============================================================ */

.video-credit {
    position: absolute;
    left: max(32px, calc((100vw - var(--container)) / 2));
    bottom: 47px;

    z-index: 3;

    margin: 0;

    color: #c7d5dc;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.2px;
}

.video-credit strong {
    color: #fff;
    font-weight: 900;
}

.video-credit span {
    padding-inline: 5px;

    color: var(--cyan);
}


/* ============================================================
   11. VIDEO SOUND TOGGLE
   ============================================================ */

.video-toggle {
    position: absolute;
    right: 24px;
    bottom: 20px;

    z-index: 5;

    min-height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 12px;

    background: rgba(3, 17, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;

    color: #fff;

    font-size: 10px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: background var(--transition);
}

.video-toggle:hover {
    background: rgba(3, 17, 25, 0.95);
}

.video-toggle span {
    font-size: 9px;
    font-weight: 700;
}


/* ============================================================
   12. SCROLL CUE
   ============================================================ */

.scroll-cue {
    position: absolute;
    left: max(32px, calc((100vw - var(--container)) / 2));
    bottom: 20px;

    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #c6d6dd;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;

    transition: color var(--transition);
}

.scroll-cue span {
    width: 23px;
    height: 2px;

    background: var(--cyan);

    transition: width var(--transition);
}

.scroll-cue:hover {
    color: #fff;
}

.scroll-cue:hover span {
    width: 36px;
}


/* ============================================================
   13. SECTION HEADING
   ============================================================ */

.events-section {
    position: relative;

    background:
        radial-gradient(
            ellipse at 85% 0%,
            rgba(32, 212, 227, 0.06),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            var(--ocean-850),
            var(--ocean-900)
        );
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 35px;

    margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.schedule-inner h2,
.cta-inner h2 {
    margin-bottom: 15px;

    font-family: var(--font-display);
    font-size: clamp(42px, 5.2vw, 68px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -0.7px;

    text-transform: uppercase;
}

.section-heading h2 em,
.about-copy h2 em,
.schedule-inner h2 em,
.cta-inner h2 em {
    color: var(--cyan);

    font-style: normal;
}

.section-intro {
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.8;
}


/* ============================================================
   14. CIRCUIT NOTE
   ============================================================ */

.circuit-note {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 3px;
}

.pin {
    color: var(--cyan);
    font-size: 26px;
}

.circuit-note > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.circuit-note strong {
    color: var(--white);

    font-size: 11px;
    font-weight: 900;
}

.circuit-note small {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 10px;
}

.mini-button {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 9px;
    padding-inline: 13px;

    border: 1px solid rgba(32, 212, 227, 0.65);
    border-radius: 100px;

    color: var(--white);

    font-size: 9px;
    font-weight: 900;

    white-space: nowrap;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.mini-button:hover {
    background: var(--cyan);
    border-color: var(--cyan);

    color: var(--ocean-950);
}


/* ============================================================
   15. EVENT GRID
   ============================================================ */

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ============================================================
   16. EVENT CARDS
   ============================================================ */

.event-card {
    position: relative;
    isolation: isolate;

    min-width: 0;
    min-height: 395px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: var(--ocean-800);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-card);

    transition:
        transform 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease;
}

.event-card:hover {
    transform: translateY(-8px);

    border-color: rgba(32, 212, 227, 0.5);

    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.30);
}


/* Background image layer */

.event-card-image {
    position: absolute;
    inset: 0;

    z-index: -2;

    overflow: hidden;

    background-color: var(--ocean-700);
    background-position: center;
    background-size: cover;

    transform: scale(1);

    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.event-card:hover .event-card-image {
    transform: scale(1.07);
}


/* Individual event photography */

.event-card-one .event-card-image {
    background-image:
        linear-gradient(
            180deg,
            rgba(2, 17, 26, 0.05) 0%,
            rgba(2, 17, 26, 0.12) 30%,
            rgba(2, 17, 26, 0.95) 100%
        ),
        url("../images/event-card-one.jpg");
}

.event-card-two .event-card-image {
    background-image:
        linear-gradient(
            180deg,
            rgba(2, 17, 26, 0.04) 0%,
            rgba(2, 17, 26, 0.14) 30%,
            rgba(2, 17, 26, 0.96) 100%
        ),
        url("../images/event-card-two.jpg");
}

.event-card-three .event-card-image {
    background-image:
        linear-gradient(
            180deg,
            rgba(2, 17, 26, 0.03) 0%,
            rgba(2, 17, 26, 0.14) 30%,
            rgba(2, 17, 26, 0.96) 100%
        ),
        url("../images/event-card-three.jpg");
}


/* Number badge */

.event-number {
    position: absolute;
    top: 18px;
    right: 19px;

    color: rgba(255, 255, 255, 0.92);

    font-family: var(--font-display);
    font-size: 70px;
    font-weight: 900;

    line-height: 0.9;

    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}


/* Card content */

.event-card-content {
    position: relative;
    z-index: 1;

    width: 100%;

    padding: 25px 24px 22px;
}

.event-kicker {
    margin-bottom: 10px;

    color: var(--cyan);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-card h3 {
    margin-bottom: 10px;

    color: #fff;

    font-family: var(--font-display);
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 900;

    line-height: 1.02;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.event-date {
    margin-bottom: 20px;

    color: #d1dfe6;

    font-size: 11px;
    font-weight: 600;
}


/* Card bottom row */

.event-card-bottom {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 47px;

    padding-top: 13px;

    border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.event-fee {
    flex: 0 0 auto;

    color: var(--cyan);

    font-size: 19px;
    font-weight: 900;
}

.open-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    min-width: 0;

    margin-left: auto;

    color: #e0ebef;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;
}

.open-status i {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    background: #4ce3a2;
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(76, 227, 162, 0.10);
}

.round-arrow {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    flex: 0 0 34px;

    margin-left: 4px;

    border: 1px solid var(--cyan);
    border-radius: 50%;

    color: var(--cyan);

    font-size: 16px;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.round-arrow:hover {
    background: var(--cyan);

    color: var(--ocean-950);

    transform: rotate(45deg);
}


/* ============================================================
   17. ABOUT SECTION
   ============================================================ */

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    background: #edf5f6;
    color: var(--text-dark);
}

.about-image {
    position: relative;
    min-height: 590px;
    background-color: #a8cdd4;

    background-image:
        linear-gradient(
            180deg,
            rgba(3, 20, 30, 0.02),
            rgba(3, 20, 30, 0.18)
        ),
        url("../images/about-image2.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-copy {
    align-self: center;

    padding: clamp(42px, 6vw, 88px);
}

.dark-eyebrow {
    color: #47616d;
}

.dark-eyebrow > span {
    background: var(--orange);
}

.about-copy h2 {
    color: var(--text-dark);
}

.about-copy h2 em {
    color: var(--cyan-dark);
}

.about-copy > p:not(.eyebrow) {
    max-width: 560px;

    margin-bottom: 30px;

    color: var(--text-dark-muted);

    font-size: 14px;
    line-height: 1.95;
}


/* About feature grid */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 17px;
}

.values-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;

    padding-top: 16px;

    border-top: 2px solid rgba(0, 168, 188, 0.35);
}

.value-icon {
    margin-bottom: 12px;

    color: var(--cyan-dark);

    font-size: 24px;
    line-height: 1;
}

.values-grid strong {
    margin-bottom: 8px;

    color: var(--text-dark);

    font-size: 12px;
    font-weight: 900;
}

.values-grid small {
    color: var(--text-dark-muted);

    font-size: 10px;
    line-height: 1.7;
}


/* ============================================================
   18. SCHEDULE SECTION
   ============================================================ */

.schedule-section {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(32, 212, 227, 0.12),
            transparent 42%
        ),
        var(--ocean-850);
}

.schedule-inner {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 0.8fr);

    align-items: center;
    gap: 80px;
}

.schedule-inner h2 {
    margin-bottom: 22px;
}

.schedule-inner > div:first-child > p:last-child {
    max-width: 440px;

    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.85;
}


/* Schedule information card */

.schedule-status {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding: 30px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-md);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.calendar-icon {
    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    flex: 0 0 53px;

    background: rgba(32, 212, 227, 0.09);

    border: 1px solid rgba(32, 212, 227, 0.28);
    border-radius: 12px;

    color: var(--cyan);

    font-size: 24px;
}

.schedule-status > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.schedule-status strong {
    margin-bottom: 7px;

    color: #fff;

    font-size: 16px;
    font-weight: 900;
}

.schedule-status small {
    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.7;
}

.date-badge {
    display: inline-flex;
    align-items: center;

    min-height: 29px;

    padding: 5px 10px;

    background: rgba(255, 118, 46, 0.10);

    border: 1px solid rgba(255, 118, 46, 0.32);
    border-radius: 100px;

    color: var(--orange-light);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.7px;
    text-transform: uppercase;
}


/* ============================================================
   19. REGISTRATION CALL TO ACTION
   ============================================================ */

.registration-cta {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding-block: 90px;

    background:
        radial-gradient(
            ellipse at 88% 15%,
            rgba(32, 212, 227, 0.15),
            transparent 35%
        ),
        linear-gradient(
            110deg,
            #075366 0%,
            #063747 48%,
            #041923 100%
        );
}

.registration-cta::after {
    position: absolute;
    top: -120px;
    right: -90px;

    z-index: -1;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;

    content: "";

    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.018),
        0 0 0 90px rgba(255, 255, 255, 0.015),
        0 0 0 135px rgba(255, 255, 255, 0.012);

    pointer-events: none;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 0.65fr);

    align-items: center;
    gap: 70px;
}

.cta-inner .eyebrow {
    color: #d4e9ee;
}

.cta-inner h2 {
    margin-bottom: 0;
}

.cta-inner h2 em {
    color: var(--cyan);
}

.cta-inner > div:last-child > p {
    max-width: 390px;

    margin-bottom: 24px;

    color: #d1e5eb;

    font-size: 14px;
    line-height: 1.85;
}

.cta-inner .button-primary {
    background: var(--orange);
    border-color: var(--orange);

    color: #211108;
}

.cta-inner .button-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
}


/* ============================================================
   20. FOOTER
   ============================================================ */

.site-footer {
    padding-block: 45px 25px;

    background: var(--ocean-950);

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;
    gap: 25px;
}

.footer-brand {
    justify-self: start;
}

.footer-inner > p {
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 22px;
}

.footer-links a {
    color: #d1dfe6;

    font-size: 10px;
    font-weight: 700;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
}

.copyright {
    grid-column: 1 / -1;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    color: #718995;

    font-size: 10px;
}


/* ============================================================
   21. REVEAL ANIMATIONS
   ============================================================ */

@keyframes hero-content-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-section {
    animation: none;
}

/*
   Sections remain visible by default.
   This avoids blank sections if JavaScript is unavailable.
*/

.event-card {
    animation: none;
}


/* ============================================================
   22. TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .site-header {
        grid-template-columns: 205px minmax(0, 1fr) 125px;

        gap: 15px;

        padding-inline: 24px;
    }

    .brand-mark {
        width: 34px;
        height: 31px;

        flex-basis: 34px;
    }

    .brand-wordmark strong {
        font-size: 17px;
    }

    .brand-wordmark small {
        font-size: 6px;
        letter-spacing: 1.3px;
    }

    .primary-nav {
        gap: 15px;
    }

    .primary-nav a {
        font-size: 10px;
    }

    .admin-link {
        padding-inline: 10px;

        font-size: 9px;
    }

    .hero h1 {
        font-size: clamp(60px, 8vw, 96px);
    }

    .event-grid {
        gap: 15px;
    }

    .event-card-content {
        padding-inline: 18px;
    }

    .event-card-bottom {
        gap: 7px;
    }

    .event-fee {
        font-size: 17px;
    }

    .open-status {
        font-size: 8px;
    }

    .schedule-inner {
        gap: 45px;
    }

    .cta-inner {
        gap: 45px;
    }
}


/* ============================================================
   23. TABLET AND MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 850px) {

    :root {
        --header-height: 70px;
    }

    .site-header {
        position: sticky;
        top: 0;

        grid-template-columns: 1fr auto auto;

        min-height: var(--header-height);

        gap: 13px;

        padding-inline: 22px;
    }

    .brand-mark {
        width: 36px;
        height: 32px;

        flex-basis: 36px;
    }

    .brand-wordmark strong {
        font-size: 18px;
    }

    .brand-wordmark small {
        font-size: 6px;
        letter-spacing: 1.5px;
    }

    .menu-toggle {
        display: flex;
        grid-column: 2;
    }

    .admin-link {
        grid-column: 3;

        min-height: 38px;

        padding-inline: 12px;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        max-height: calc(100svh - var(--header-height));

        overflow-y: auto;

        padding: 12px 22px 22px;

        background: rgba(3, 19, 28, 0.98);

        border-bottom: 1px solid var(--border-light);

        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    /*
       landing.js should toggle the .open class.
       The aria-expanded selector provides an alternative.
    */

    .primary-nav.open,
    .primary-nav.is-open,
    .menu-toggle[aria-expanded="true"] + .primary-nav {
        display: flex;
    }

    .primary-nav a {
        min-height: 48px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.07);

        font-size: 12px;
    }

    .primary-nav a::after {
        right: auto;
        bottom: 7px;

        width: 32px;
    }

    .hero {
        min-height: 700px;
        height: calc(100svh - var(--header-height));

        max-height: 850px;
    }

    .hero-content {
        width: calc(100% - 48px);

        padding-block: 80px 150px;
    }

    .hero h1 {
        font-size: clamp(58px, 10vw, 90px);
        letter-spacing: -1px;
    }

    .hero-location {
        right: 24px;
        bottom: 77px;
    }

    .video-credit {
        left: 24px;
        bottom: 28px;
    }

    .scroll-cue {
        display: none;
    }

    .section-pad {
        padding-block: 80px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 22px;
    }

    .circuit-note {
        flex-wrap: wrap;
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .event-card {
        min-height: 380px;
    }

    .event-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 420px;
    }

    .about-copy {
        padding: 65px 40px;
    }

    .schedule-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .schedule-status {
        max-width: 600px;
    }

    .registration-cta {
        padding-block: 75px;
    }

    .cta-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


/* ============================================================
   24. MOBILE
   ============================================================ */

@media (max-width: 560px) {

    :root {
        --header-height: 66px;
    }

    .wrap {
        width: calc(100% - 36px);
    }

    .section-pad {
        padding-block: 65px;
    }


    /* Header */

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;

        gap: 10px;

        padding-inline: 17px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 31px;
        height: 29px;

        flex-basis: 31px;
    }

    .brand-wordmark strong {
        font-size: 16px;
    }

    .brand-wordmark small {
        font-size: 5.5px;
        letter-spacing: 1.15px;
    }

    .menu-toggle {
        grid-column: 2;
    }

    .admin-link {
        display: none;
    }

    .primary-nav {
        padding-inline: 18px;
    }


    /* Hero */

    .hero {
        min-height: 690px;
        height: calc(100svh - var(--header-height));

        max-height: 820px;

        align-items: center;
    }

    .hero-video {
        object-position: 56% center;
    }

    .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(2, 15, 23, 0.88),
                rgba(2, 17, 26, 0.57)
            ),
            linear-gradient(
                0deg,
                rgba(2, 14, 21, 0.91),
                rgba(2, 14, 21, 0.04) 80%
            );
    }

    .hero-content {
        width: calc(100% - 36px);

        padding-block: 65px 155px;
    }

    .eyebrow {
        gap: 10px;

        margin-bottom: 19px;

        font-size: 8px;
        letter-spacing: 2px;
    }

    .eyebrow > span {
        width: 25px;

        flex-basis: 25px;
    }

    .hero h1 {
        max-width: 100%;

        margin-bottom: 17px;

        font-size: clamp(43px, 11.5vw, 66px);
        line-height: 0.96;
        letter-spacing: -0.7px;

        overflow-wrap: anywhere;
    }

    .hero-tagline {
        margin-bottom: 15px;

        font-size: clamp(27px, 7.5vw, 36px);
    }

    .hero-copy {
        max-width: 420px;

        font-size: 13px;
        line-height: 1.8;
    }

    .desktop-only {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;

        gap: 11px;

        margin-top: 25px;

        max-width: 270px;
    }

    .button {
        min-height: 47px;

        justify-content: space-between;

        padding-inline: 18px;

        font-size: 9px;
    }

    .hero-location {
        right: auto;
        left: 18px;
        bottom: 72px;

        gap: 10px;
    }

    .play-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 9px;
    }

    .hero-location strong {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero-location small {
        font-size: 8px;
        letter-spacing: 0.7px;
    }

    .video-credit {
        right: 75px;
        bottom: 23px;
        left: 18px;

        font-size: 8px;
        line-height: 1.8;
    }

    .video-toggle {
        right: 13px;
        bottom: 17px;

        min-height: 31px;

        padding-inline: 9px;

        font-size: 9px;
    }


    /* Events */

    .section-heading {
        gap: 20px;

        margin-bottom: 28px;
    }

    .section-heading h2,
    .about-copy h2,
    .schedule-inner h2,
    .cta-inner h2 {
        font-size: clamp(39px, 10vw, 52px);
        line-height: 0.99;
    }

    .section-intro {
        font-size: 12px;
    }

    .circuit-note {
        display: grid;
        grid-template-columns: 25px minmax(0, 1fr);

        gap: 10px;

        width: 100%;
    }

    .pin {
        grid-row: 1;

        font-size: 22px;
    }

    .circuit-note > span:nth-child(2) {
        grid-column: 2;
    }

    .mini-button {
        grid-column: 1 / -1;

        justify-self: start;

        margin: 5px 0 0;
    }

    .event-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .event-card,
    .event-card:last-child:nth-child(odd) {
        grid-column: auto;

        min-height: 350px;
    }

    .event-card-content {
        padding: 23px 20px 19px;
    }

    .event-card h3 {
        font-size: 31px;
    }

    .event-number {
        font-size: 60px;
    }

    .event-fee {
        font-size: 18px;
    }

    .open-status {
        font-size: 9px;
    }


    /* About */

    .about-image {
        min-height: 270px;
    }

    .about-copy {
        padding: 48px 22px;
    }

    .about-copy > p:not(.eyebrow) {
        font-size: 13px;
        line-height: 1.9;
    }

    .values-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .values-grid > div {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);

        column-gap: 10px;

        padding-top: 14px;
    }

    .value-icon {
        grid-row: 1 / span 2;

        margin: 0;

        font-size: 21px;
    }

    .values-grid strong {
        margin-bottom: 4px;
    }

    .values-grid small {
        font-size: 11px;
    }


    /* Schedule */

    .schedule-inner {
        gap: 28px;
    }

    .schedule-status {
        gap: 14px;

        padding: 20px 16px;
    }

    .calendar-icon {
        width: 43px;
        height: 43px;

        flex-basis: 43px;

        font-size: 20px;
    }

    .schedule-status strong {
        font-size: 14px;
    }

    .schedule-status small {
        font-size: 10px;
    }


    /* Registration CTA */

    .registration-cta {
        padding-block: 60px;
    }

    .cta-inner {
        gap: 25px;
    }

    .cta-inner > div:last-child > p {
        font-size: 13px;
    }


    /* Footer */

    .site-footer {
        padding-block: 35px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 19px;
    }

    .footer-inner > p {
        font-size: 11px;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;

        gap: 17px;
    }

    .copyright {
        padding-top: 18px;

        font-size: 9px;
        line-height: 1.8;
    }
}


/* ============================================================
   25. SMALL MOBILE
   ============================================================ */

@media (max-width: 360px) {

    .brand-wordmark strong {
        font-size: 14px;
    }

    .brand-wordmark small {
        font-size: 5px;
        letter-spacing: 0.8px;
    }

    .brand-mark {
        width: 27px;
        height: 26px;

        flex-basis: 27px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-tagline {
        font-size: 26px;
    }

    .hero-copy {
        font-size: 12px;
    }

    .event-card-bottom {
        gap: 6px;
    }

    .event-fee {
        font-size: 16px;
    }

    .open-status {
        font-size: 8px;
    }

    .round-arrow {
        width: 30px;
        height: 30px;

        flex-basis: 30px;
    }
}


/* ============================================================
   26. REDUCED MOTION ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}