/* Rocky Mountaineer Dine Out Vancouver 2026 Landing Page */
:root {
    --color-mine-shaft: #313131;
    --color-deep-blue: #082848;
    --color-regent-gray: #8b959c;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-text-muted: rgba(49, 49, 49, 0.7);
    --font-display: "Prata", Georgia, serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1100px;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-mine-shaft);
    -webkit-font-smoothing: antialiased;
}

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

video {
    display: block;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(115%) brightness(75%);
}

.hero-video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-video::-moz-media-controls {
    display: none !important;
}

.hero-video::--ms-media-controls {
    display: none !important;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(8, 40, 72, 0.75),
            rgba(8, 40, 72, 0.5) 40%,
            rgba(8, 40, 72, 0.9)
    );
    z-index: -1;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    z-index: 10;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
    padding 0.3s ease;
}

.nav.is-solid {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    padding-block: 0.85rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.nav.is-solid .brand-logo {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-deep-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-links .pill {
    border: 1.5px solid var(--color-mine-shaft);
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-links .pill:hover,
.nav-links .pill:focus-visible {
    background-color: var(--color-mine-shaft);
    color: var(--color-white);
}

.nav-links .pill::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
}

.nav-close {
    display: none;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--color-mine-shaft);
}

.nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: background-color 0.3s ease;
}

.nav.is-solid .nav-toggle span {
    background-color: var(--color-mine-shaft);
}

.hero-content {
    position: relative;
    padding: 10rem 3rem 6rem;
    max-width: 720px;
}

.eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.section .eyebrow {
    color: var(--color-regent-gray);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    margin-top: 0;
    color: var(--color-mine-shaft);
}

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

h1 {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.lede {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease,
    color 0.3s ease;
}

.button-primary {
    background-color: var(--color-mine-shaft);
    color: var(--color-white);
}

.button-primary:hover,
.button-primary:focus-visible {
    transform: translateY(-2px);
    background-color: var(--color-deep-blue);
}

.button-secondary {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    transform: translateY(-2px);
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.section {
    padding: 4rem 3rem;
}

.section-content,
.section-headline,
.menu-note,
.reservation-card,
.footer-meta {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-copy p {
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.highlights li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--color-text-muted);
}

.highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--color-text-muted);
    -webkit-mask-image: url('maple-leaf-rm.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('maple-leaf-rm.png');
    mask-size: contain;
    mask-repeat: no-repeat;
}

.section-media {
    position: relative;
}

.section-media img {
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.section-media figcaption {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 1.2rem;
    color: var(--color-regent-gray);
}

.menu {
    background-color: var(--color-light-gray);
    position: relative;
    overflow: hidden;
}

.menu::before,
.menu::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 98%;
    background-image: url('sagebrush.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.menu::before {
    left: -250px;
}

.menu::after {
    right: -250px;
    transform: translateY(-50%) scaleX(-1);
}

.menu > * {
    position: relative;
    z-index: 1;
}

.menu-grid {
    display: grid;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 3rem auto 0;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.menu-card {
    border: 1px solid rgba(139, 149, 156, 0.25);
    padding: 2.25rem 2rem;
    border-radius: 4px;
    background: var(--color-white);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.menu-card h3 {
    color: var(--color-mine-shaft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.dish-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-mine-shaft);
}

.dish-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.menu-note {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--color-regent-gray);
    letter-spacing: 0.1em;
    font-style: italic;
    font-size: 0.75rem;
}

.menu-note-wine {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--color-regent-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.pairings {
    background-color: var(--color-white);
}

.pairings-grid {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pairings-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(139, 149, 156, 0.2);
    background: var(--color-light-gray);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pairings-card h3 {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.95rem;
    color: var(--color-mine-shaft);
}

.pairings-card p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

.pairings-card .detail {
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--color-regent-gray);
    font-weight: 600;
}

.ambience {
    /*background-color: var(--color-light-gray);*/
    background-color: var(--color-white);
}

.ambience-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding-top: 5.5rem;
}

.ambience-grid figure {
    margin: 0;
}

.ambience-grid img {
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    object-fit: cover;
    height: 100%;
}

.ambience-copy p {
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: justify;
}

.chef-bio-full {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 5rem;
}

.chef-bio-full h2 {
    margin-bottom: 0.5rem;
}

.chef-bio-full .eyebrow {
    margin-bottom: 1.5rem;
}

.chef-bio-full p:not(.eyebrow) {
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: justify;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 4rem auto 0;
}

.image-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.reservation {
    background-color: var(--color-deep-blue);
    padding-bottom: 4rem;
}

.reservation h2 {
    color: var(--color-white);
}

.reservation-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 3rem;
    text-align: center;
}

.reservation-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.reservation-card .button {
    margin-top: 1.8rem;
}

.reservation-card .button-primary {
    background-color: var(--color-white);
    color: var(--color-deep-blue);
}

.reservation-card .button-primary:hover,
.reservation-card .button-primary:focus-visible {
    background-color: var(--color-light-gray);
}

.reservation-note {
    margin-top: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.footer-meta a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }

    .hero-content {
        padding: 9rem 2rem 5rem;
    }

    .section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 880px) {
    .nav {
        gap: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .nav-links.is-open {
        right: 0;
    }

    .section-content,
    .ambience-grid {
        grid-template-columns: 1fr;
    }

    .section-media img,
    .ambience-grid img {
        max-height: 420px;
        object-fit: cover;
    }

    .footer-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .menu::before {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .menu::after {
        display: none;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-gallery img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 0.85rem 1.5rem;
    }

    .hero-content {
        padding: 7.5rem 1.5rem 4.5rem;
    }

    .section {
        padding: 4.5rem 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .reservation-card {
        padding: 2.5rem 1.7rem;
    }
}
