/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
    --brand: #128080;
    --brand-deep: #053636;
    --gold: #f6c453;
    --gold-deep: #b67813;
    --text: #0b2c2c;
    --nav-h: 72px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
    --drawer-bg: #1e1e1e;

    /* Hero banner settings */
    --parallax-offset: 0px;
}

/* ============================================================
   GLOBAL RESET / BASE
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
}

body {
    font-family: "Overlock", Arial, sans-serif;
    background: #f3f6f6;
    color: var(--text);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    font-size: clamp(18px, 1.05rem + 0.3vw, 20px);
    line-height: 1.8;
}

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Mobile line-break helper */
.mobile-break {
    display: none;
}

@media (max-width: 900px) {
    .mobile-break {
        display: inline;
    }
}

/* ============================================================
   ACCESSIBILITY & GLOBAL UTILITY
============================================================ */

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Visually hide skip link until it’s focused (keyboard users) */
.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    color: #000;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;

    transform: translateY(-150%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

/* High-visibility focus for keyboard navigation */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Keep drawer links readable when focused */
.drawer-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

/* ============================================================
   NAVBAR + DESKTOP MENU
============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: none;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: var(--brand);
    box-shadow: 0 6px 20px rgba(6, 5, 25, 0.3);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.brand img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.menu {
    display: none;
    gap: 24px;
    align-items: center;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 6px 2px;
    transition: color 0.2s;
}

.menu a:hover,
.menu a.active {
    color: var(--gold);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* Desktop-only menu */
@media (min-width: 1100px) {
    .menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .brand img {
        width: 64px;
        height: 64px;
    }

    .nav {
        padding: 0 clamp(16px, 4vw, 32px);
    }
}

/* ============================================================
   HAMBURGER
============================================================ */
.hamburger {
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}

.hamburger::before {
    top: 0;
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::after {
    bottom: 0;
}

/* Open (X) state */
.hamburger[aria-expanded="true"]::before {
    transform: translateY(10px) rotate(45deg);
}

.hamburger[aria-expanded="true"]::after {
    transform: translateY(-10px) rotate(-45deg);
}

.hamburger[aria-expanded="true"] span {
    opacity: 0;
}

/* ============================================================
   MOBILE DRAWER
============================================================ */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s step-end;
    z-index: 999;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    background: var(--drawer-bg);
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
}

.drawer-open .drawer {
    transform: translateX(0);
}

.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s, visibility 0s;
}

.drawer-header {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.drawer-header .title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 14px;
}

.drawer-nav a {
    padding: 12px 10px;
    border-radius: 10px;
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.drawer-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    transform: translateX(4px);
}

.drawer-nav a.active {
    color: var(--gold);
    background: rgba(246, 196, 83, 0.12);
}

.drawer-footer {
    margin-top: auto;
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 45vh;
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 48px;
    padding-inline: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-offset), 0) scale(1.2);
    will-change: transform;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 31, 0.45);
    z-index: -1;
}

.hero h1 {
    font-family: "Sail", cursive;
    font-size: clamp(70px, 10vw, 90px);
    font-weight: 400;
    margin: 0.15em 0 0.2em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.hero p {
    font-family: "Overlock";
    font-weight: 700;
    font-size: clamp(20px, 3.8vw, 36px);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    margin: 0;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

@media (max-width: 1360px) {
    .hero {
        padding-top: calc(var(--nav-h) + 16px);
        padding-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    outline: none;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.18s cubic-bezier(0.25, 0.75, 0.25, 1.2),
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        filter 0.18s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:active {
    transform: translateY(2px) scale(0.97);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.45),
        inset 0 2px 5px rgba(0, 0, 0, 0.35);
    filter: brightness(0.88);
}

/* Keyboard focus ring on buttons */
.btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.6),
        0 0 0 6px rgba(255, 255, 255, 0.9);
}

/* Button variants */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #ffe29b);
    color: #281505;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    background: linear-gradient(135deg, #d2a23e, #f3c24b);
    filter: brightness(1);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.btn-outline:active {
    background: rgba(0, 0, 0, 0.75);
    color: #ffe7b0;
    filter: brightness(1);
}

.btn-ghost {
    background: transparent;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.7);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.75);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.btn-ghost:active {
    background: rgba(0, 0, 0, 0.16);
    border-color: rgba(0, 0, 0, 0.95);
    color: #000;
    filter: brightness(1);
}

/* Ripple effect */
.btn .ripple {
    background: rgba(255, 255, 255, 0.55);
    mix-blend-mode: screen;
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
    pointer-events: none;
    animation: ripple-effect 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 0.6;
        filter: blur(0px);
    }

    40% {
        opacity: 0.45;
        filter: blur(2px);
    }

    100% {
        transform: scale(6.5);
        opacity: 0;
        filter: blur(6px);
    }
}

/* ============================================================
   HIRING RIBBON
============================================================ */
.hiring-ribbon {
    background: var(--brand);
    color: #fff;
    padding: 8px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 18px;
}

.hiring-ribbon strong {
    font-weight: 700;
}

@media (max-width: 1000px) {
    .hiring-ribbon {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .hiring-text {
        display: none;
    }

    .hiring-ribbon .btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

/* Slightly smaller + softer primary button in the ribbon */
.hiring-ribbon .btn-primary {
    padding: 5px 36px;
    font-size: 14px;
}

.hiring-ribbon .btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.18),
        inset 0 0 0 rgba(255, 255, 255, 0);
}

.hiring-ribbon .btn-primary:active {
    transform: translateY(0px) scale(0.99);
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 0 0 rgba(0, 0, 0, 0);
    filter: brightness(0.96);
}

/* ============================================================
   GENERIC SECTIONS & CARDS
============================================================ */
.content-section {
    padding: clamp(40px, 7vw, 84px) 20px;
    background: #f3f6f6;
}

.content-section.alt {
    background: #fff;
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

/* Consistent spacing for most section headings */
.section-heading {
    margin-bottom: clamp(24px, 3vw, 32px);
}

.section-heading h2 {
    margin: 0;
    color: var(--brand);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: clamp(26px, 3.4vw, 32px);
}

.two-col {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .two-col {
        grid-template-columns: 1.1fr 1fr;
        gap: clamp(32px, 4vw, 48px);
    }
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(18px, 3vw, 24px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-icon {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

/* ============================================================
   SHARED PAPER BAND – FIND THE TRUCK + OUR STORY
============================================================ */

.paper-band {
    position: relative;
    overflow: hidden;
    /* Soft nautical tint behind the paper */
    background:
        radial-gradient(circle at top left, rgba(0, 49, 83, 0.10), transparent 55%),
        radial-gradient(circle at bottom right, rgba(3, 138, 142, 0.08), transparent 55%),
        #f5faf8;
}

/* Single paper texture across both sections */
.paper-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        /* very subtle top-to-bottom navy tint to echo the bay */
        linear-gradient(to bottom, rgba(246, 201, 1, 0.321), rgba(245, 250, 248, 0.0) 36%, rgba(0, 49, 83, 0.3) 100%),
        url("https://crabtowncurbs-site.s3.us-east-1.amazonaws.com/images/paper.webp") center / cover no-repeat;
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

/* Keep inner sections on top of the paper */
.paper-band .content-section,
.paper-band .content-section.alt {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* ============================================================
   TOP PIER PICKS – FEATURED MENU CAROUSEL
============================================================ */

.pier-picks.content-section {
    padding-top: clamp(32px, 4vw, 48px);
    padding-bottom: clamp(32px, 4vw, 52px);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.08), transparent 60%),
        var(--brand-deep);
    color: #fff;
}

/* Header – match spacing rhythm of other big sections */
.pier-picks__header {
    max-width: 1120px; /* match .section-inner width so edges align */
    margin: 0 0 clamp(24px, 3vw, 32px);  /* no auto-centering */
    text-align: left;
}

.pier-picks__eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 24px;
    font-weight: 600;
    opacity: 0.9;
}

.pier-picks__header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

.pier-picks__header h2::after {
    content: "";
    display: block;
    width: 260px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

.pier-picks__subhead {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(20px, 1.7vw, 26px);
    line-height: 1.7;
}

/* Carousel layout */

.pier-picks__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: clamp(24px, 3.5vw, 32px);
}

/* Arrow buttons */

.pier-picks__btn {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pier-picks__btn:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.pier-picks__btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) inset;
}

.pier-picks__btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.pier-picks__btn--prev {
    margin-right: 4px;
}

.pier-picks__btn--next {
    margin-left: 4px;
}

/* Track transition: subtle fade + micro zoom */
.pier-picks__track {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    max-width: min(1450px, 100%);
    margin-inline: auto;
    overflow: visible;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
    will-change: opacity, transform;
}

/* Premium slide illusion */
.pier-picks__track.is-animating {
    transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 260ms ease;
}

.pier-picks__track.slide-next {
    transform: translateX(-3%);
    opacity: 0.85;
}

.pier-picks__track.slide-prev {
    transform: translateX(3%);
    opacity: 0.85;
}

/* While we're transitioning, disable clicks inside */
.pier-picks__track.is-transitioning {
    pointer-events: none;
}

/* Fade-out state */
.pier-picks__track.is-fading-out {
    opacity: 0;
    transform: scale(0.98);
}

/* Fade-in state */
.pier-picks__track.is-fading-in {
    opacity: 1;
    transform: scale(1);
}

/* Base card styling – all the same footprint, now wider */

.pier-card {
    position: relative;
    flex: 0 0 calc((100%) / 3);
    max-width: none;
    transform: scale(1);
    opacity: 0.9;
    transition:
        transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

/* Card shell */

.pier-card__figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    color: #1b1b1b;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.32),
        0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Uniform card image height for ALL cards */
.pier-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.pier-card__body {
    padding: 20px 24px 24px;
}

.pier-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.pier-card__price {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--brand);
    font-size: 15px;
}

.pier-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #3b3b3b;
}

/* Desktop / tablet: show exactly 3 cards, center highlighted */

@media (min-width: 720px) {
    .pier-card__body {
        padding: 20px 24px 24px;
        height: 210px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .pier-card:nth-child(4) {
        display: none;
    }

    /* Dim side cards */
    .pier-card {
        filter: brightness(0.85) saturate(0.95);
        transition:
            filter 0.25s ease,
            opacity 0.25s ease;
    }

    .pier-card:nth-child(2) {
        transform: scale(1.08) translateY(-10px);
        filter: brightness(1);
        opacity: 1;
        z-index: 3;
    }

    .pier-card:nth-child(2) .pier-card__figure {
        box-shadow:
            0 24px 30px rgba(0, 0, 0, 0.5),
            0 0 18px 4px rgba(246, 196, 83, 0.22);
    }

    .pier-card:nth-child(2)::before {
        content: none !important;
    }
}

/* Small screens – simpler, one card at a time */
@media (max-width: 719.98px) {

    /* Tighten the whole carousel wrapper */
    .pier-picks__carousel {
        gap: 8px;
        padding-inline: 4px;
        justify-content: center;
        align-items: center;
    }

    /* Track centered, slightly narrower */
    .pier-picks__track {
        width: 100%;
        max-width: 340px;
        /* narrower track so arrows sit outside */
        margin-inline: auto;
        gap: 0;
        justify-content: center;
    }

    /* Slightly smaller card so it doesn't overlap arrows */
    .pier-card {
        flex: 0 0 86vw;
        /* was 94vw */
        max-width: 350px;
        /* was 420px */
        margin: 0 auto;
        transform: scale(1);
        opacity: 1;
    }

    /* Only show ONE card */
    .pier-card:nth-child(n + 2) {
        display: none;
    }

    /* Slightly shorter image on mobile */
    .pier-card img {
        height: 240px;
        object-fit: cover;
    }

    .pier-card__body {
        padding: 16px 18px 20px;
        height: 200px;
    }

    /* Arrows: a bit smaller and above the card */
    .pier-picks__btn {
        width: 34px;
        height: 34px;
        margin-inline: 0;
        transform: none;
        position: relative;
        z-index: 5;
        /* make sure they sit above the card */
    }

    .pier-picks__btn--prev {
        margin-right: 0;
    }

    .pier-picks__btn--next {
        margin-left: 0;
    }
}

/* ============================================================
   GOLD SEPARATOR BETWEEN TOP PIER PICKS & FIND THE TRUCK
============================================================ */
#top-pier-picks {
    position: relative;
}

#top-pier-picks::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 12px;
    /* thickness of the separator */
    background: linear-gradient(90deg, var(--gold), #ffe29b);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* ============================================================
   TODAY'S SPOT / COASTAL CARD
============================================================ */
.coastal-card {
    position: relative;
    background: linear-gradient(180deg, #cceefd, #f9e2c3);
    border-radius: 26px;
    padding: clamp(26px, 3vw, 34px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        0 4px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transform: translateY(2px);
    transition:
        transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.coastal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(46, 119, 214, 0.22), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
}

.coastal-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.18),
        0 8px 22px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.coastal-card:hover::before {
    opacity: 1;
}

.coastal-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 8px;
}

.coastal-card .card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.card-icon {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.wave-divider {
    width: 100%;
    height: 30px;
    margin: 4px 0 14px;
    opacity: 0.5;
}

.coastal-card p {
    font-size: clamp(26px, 1.6vw, 32px);
    margin: 0 0 16px;
    line-height: 1.8;
    color: rgba(5, 25, 25, 0.97);
}

.coastal-card .calendar-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16),
        0 3px 10px rgba(0, 0, 0, 0.07);
    background: #ffffff;
    transform: translateY(0);
    transition:
        transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.coastal-card:hover .calendar-frame {
    transform: translateY(-1px);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.2),
        0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.coastal-card .calendar-frame iframe {
    width: 100%;
    min-height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 640px) {
    .coastal-card {
        padding: 22px 18px;
        border-radius: 22px;
    }
}

.schedule-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 720px) {
    .schedule-list {
        grid-template-columns: 1fr 1fr;
    }
}

.event-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-card__header {
    margin-bottom: 6px;
}

.event-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.event-card__datetime {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
}

.event-card__location {
    margin: 8px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand);
}

.event-card__description {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.8);
}

.today-events {
    padding: 16px 18px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
}

/* each event row */
.today-event {
    padding: 8px 0 4px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease;
}

.today-event:last-child {
    border-bottom: none;
}

.today-event:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* HEADER: Time (left) — Now badge (right) — Summary wraps underneath */
.today-event__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 1px;
    align-items: center;
    min-width: 0;
}

/* TIME stays left */
.today-event__time {
    grid-column: 1;
    grid-row: 1;
    font-weight: 800;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(0, 0, 0, 0.82);
    white-space: nowrap;
}

/* NOW badge stays right */
.today-event__badge {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Live NOW badge with gentle ripple */
.today-event__badge--live {
    background: #e43b3b;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(228, 59, 59, 0.45);
    animation: ripple-soft 2s ease-out infinite;
}

/* Gentle ripple (no scale of text or badge) */
@keyframes ripple-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(228, 59, 59, 0.45);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(228, 59, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(228, 59, 59, 0);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .today-event__badge--live {
        animation: none;
        box-shadow: none;
    }
}

/* Soften ripple even more on small screens */
@media (max-width: 480px) {
    .today-event__badge--live {
        animation-duration: 2.6s;
        box-shadow: 0 0 0 0 rgba(228, 59, 59, 0.35);
    }
}

/* SUMMARY always spans under the top row */
.today-event__summary {
    grid-column: 1 / span 3;
    grid-row: 2;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
}

/* FOOTER: location row */
.today-event__footer {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* LOCATION LINE */
.today-event__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.today-event__location-icon {
    font-size: 1rem;
}

/* LOCATION LINK — no underline, teal italic text */
.today-event__location-link {
    font-size: 1rem;
    font-style: italic;
    text-decoration-skip-ink: none;
    -webkit-text-decoration-skip: none;
    color: var(--brand);
    text-decoration: none;
    border: 0;
    display: inline-block;
    max-width: min(350px, 70vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* hover color */
.today-event__location-link:hover {
    color: var(--gold);
}

/* placeholder when no location is provided */
.today-event__location--placeholder .today-event__location-text {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

/* "Get Directions" pill (not currently used on home card but available) */
.today-event__directions {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: #052020;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.today-event__directions:hover {
    background: #ffe8b0;
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.today-event__directions:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .today-event__summary {
        white-space: normal;
    }

    .today-event__location-link {
        white-space: normal;
    }
}

/* ============================================================
   "WHERE WE’RE AT TODAY" SECTION – PAPER BAND
============================================================ */
#today {
    position: relative;
    overflow: visible;
}

#today-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    font-size: clamp(1.7rem, 2.4vw, 2rem);
}

#today::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 70%;
    max-width: 820px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 0 0 40px 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    opacity: 0.6;
    pointer-events: none;
}

#today::after {
    content: none;
}

#today .section-inner {
    position: relative;
    z-index: 1;
}

/* FIND THE TRUCK heading – big band style, matches Our Story & Pier Picks */
#today .section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-deep);
    position: relative;
}

#today .section-heading h2::after {
    content: "";
    display: block;
    width: 260px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

/* Subhead */
#today .section-heading p {
    margin: 6px 0 0;
    color: rgba(4, 43, 43, 0.9);
    font-size: clamp(20px, 1.7vw, 26px);
    line-height: 1.7;
}

#today .today-points {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: clamp(24px, 2vw, 32px);
    color: rgba(4, 22, 22, 0.98);
}

#today .today-points li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 8px;
}

/* custom gold bullet */
#today .today-points li::before {
    content: "";
    position: absolute;
    left: 0.35em;
    top: 0.65em;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--gold));
    box-shadow: 0 0 0 3px rgb(255, 195, 55);
}

#today .today-points li strong {
    white-space: nowrap;
}

#today .section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

#today .section-actions .btn-primary {
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ============================================================
   OUR STORY – FLEXIBLE GRADIENT ON PAPER BAND
============================================================ */

/* Section wrapper shares the paper band with #today */
#our-story {
    position: relative;
    overflow: visible;
}

#our-story::after {
    content: none;
}

#our-story .section-inner {
    position: relative;
    z-index: 1;
}

/* Heading – matches big-band system */
#our-story .section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-deep);
    position: relative;
}

#our-story .section-heading h2::after {
    content: "";
    display: block;
    width: 260px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #ffe29b);
}

#our-story .section-heading p {
    margin: 6px 0 0;
    color: rgba(4, 43, 43, 0.98);
    font-size: clamp(20px, 1.7vw, 26px);
    line-height: 1.7;
}

.our-story {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.148);
}

/* Top band that actually grows with content */
.our-story-top {
    padding: 26px 26px 32px;
    background: linear-gradient(to bottom,
            var(--brand) 0%,
            #0f8f8a 45%,
            rgba(15, 143, 138, 0.9) 80%,
            rgba(15, 143, 138, 0) 100%);
    border-radius: 26px 26px 0 0;
}

/* Header layout */
.our-story-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* =========================
   CROSS-BROWSER COIN
========================= */

.our-story-avatar.coin {
    width: 170px;
    height: 170px;
    position: relative;
    perspective: 900px;
    border-radius: 50%;
}

/* Gold rim + shadow (static, but symmetric so it “feels” like it spins) */
.our-story-avatar.coin::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            #fffaf0,
            #f0cf7a 45%,
            #b58c2c 80%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    z-index: 0;
}

/* Container for faces */
.coin-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    border-radius: 50%;
    z-index: 1;
}

/* Both faces */
.coin-inner img {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    object-fit: cover;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    transform-origin: center center;
    transition: transform 0.9s cubic-bezier(.4, .2, .2, 1.3);
}

.coin-front {
    transform: rotateY(0deg);
}

.coin-back {
    transform: rotateY(180deg);
}

/* When the card is flipped (desktop OR mobile) */
.our-story.coin-flipped .coin-front,
.our-story:hover .coin-front {
    transform: rotateY(-180deg);
}

.our-story.coin-flipped .coin-back,
.our-story:hover .coin-back {
    transform: rotateY(0deg);
}

/* Optional: smaller coin + tap-to-flip on mobile */
@media (max-width: 700px) {
    .our-story-avatar.coin {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

/* =========================
   META TEXT + CHIPS
========================= */

.our-story-meta {
    padding-left: 32px;
}

.our-story-meta h3 {
    margin: 0;
    font-size: clamp(2.3rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.our-story-tagline {
    margin: 6px 0 12px;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold);
}

.our-story-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.our-story-stats li {
    font-size: 1rem;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(3, 2, 2, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    backdrop-filter: blur(3px);
}

/* =========================
   BODY COPY
========================= */

.our-story-body {
    padding: 0 26px 28px;
    max-width: 95ch;
    display: flex;
    flex-direction: column;
}

.our-story-body p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.story-signoff-intro {
    margin-top: 22px;
    font-weight: 700;
    color: var(--brand-deep);
}

.story-signoff {
    align-self: flex-end;
    text-align: left;
    width: fit-content;
    transform: translateX(-40px);
    font-weight: 700;
    color: var(--brand-deep);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {
    .our-story-top {
        padding: 22px 16px 32px;
        background: linear-gradient(to bottom,
                var(--brand) 0%,
                #0f8f8a 55%,
                rgba(15, 143, 138, 0.95) 90%,
                rgba(15, 143, 138, 0) 100%);
        text-align: center;
    }

    .our-story-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .our-story-avatar.coin {
        width: 150px;
        height: 150px;
    }

    .our-story-meta {
        padding-left: 0;
    }

    .our-story-meta h3 {
        font-size: 1.9rem;
    }

    .our-story-tagline {
        font-size: 1.25rem;
    }

    .our-story-body {
        padding: 0 16px 24px;
        margin-top: 8px;
    }

    .coin-inner img {
        inset: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }

    .coin-inner::before {
        inset: -1px;
    }

    .our-story:active .coin-inner,
    .our-story:focus-within .coin-inner {
        transform: rotateY(180deg);
    }
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: #111516;
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 680px) {
    .site-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================================
   FOOTER SOCIAL ICONS
============================================================ */
.footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* ============================================================
   FOOTER SOCIAL ICONS (SVG)
============================================================ */
.footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    transition: fill 0.25s ease, transform 0.12s ease, filter 0.2s ease;
}

/* Hover = pop OUT (lift) */
.social-icon:hover {
    transform: translateY(-1px);
}

.social-icon.instagram:hover svg {
    fill: #E1306C;
    filter: drop-shadow(0 0 6px rgba(225, 48, 108, 0.6));
}

.social-icon.facebook:hover svg {
    fill: #1877F2;
    filter: drop-shadow(0 0 6px rgba(24, 119, 242, 0.6));
}

/* Active = UNPOP + sink IN */
.social-icon:active {
    transform: translateY(0px);
    /* cancels the hover lift (unpop) */
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.65),
        inset 0 -1px 2px rgba(255, 255, 255, 0.06);
}

/* Active = sink the glyph slightly + remove glow */
.social-icon:active svg {
    transform: scale(0.94);
    filter: none;
}

/* Darken colors on click */
.social-icon.instagram:active svg {
    fill: #81193c;
}

.social-icon.facebook:active svg {
    fill: #104b97;
}

/* ============================================================
   MAP ACTION SHEET
============================================================ */
.map-sheet {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
}

.map-sheet.active {
    display: flex;
}

.map-sheet-box {
    background: linear-gradient(160deg, #fff7e3, #ffe0b3);
    width: 100%;
    max-width: 380px;
    padding: 18px 16px 14px;
    border-radius: 22px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(182, 120, 19, 0.25);
    animation: sheet-pop 0.22s ease-out;
}

#map-sheet-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.787);
}

/* Buttons */
.map-sheet-btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 17px;
    border-radius: 999px;
    border: none;
    margin-top: 8px;
    background: rgba(255, 252, 245, 0.95);
    color: rgba(0, 0, 0, 0.787);
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease,
        filter 0.12s ease;
}

.map-sheet-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background: #fff5dd;
}

.map-sheet-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) inset;
    filter: brightness(0.96);
}

.map-sheet-btn.cancel {
    background: rgba(0, 0, 0, 0.06);
}

/* Small pop animation */
@keyframes sheet-pop {
    from {
        transform: translateY(10px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ============================================================
   REDUCED MOTION SUPPORT
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .btn .ripple {
        animation: none !important;
    }

    .map-sheet-box {
        animation: none !important;
    }

    * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}