@property --scroll-progress {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@keyframes sync-scroll {
    from { --scroll-progress: 0; }
    to { --scroll-progress: 1; }
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    animation: sync-scroll linear;
    animation-timeline: scroll(root);
}

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

body {
    margin: 0;
    font-family: sans-serif;
    color: #1a1c1f;
    background: #f9f9fd;
    line-height: 1.5;
}

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

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

h1,
h2,
h3,
.brand,
.kicker,
.button,
.pill {
    font-family: sans-serif;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

.wrap {
    width: min(80rem, calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #172554;
}

.header-nav {
    display: none;
    gap: 2rem;
}

.header-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
}

.header-nav a:hover {
    color: #b45309;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 0;
}

.button-primary {
    background: linear-gradient(135deg, #002848, #004b80);
    color: #fff;
}

.button-gold {
    background: #ffaa00;
    color: #694300;
    box-shadow: 0 0 32px rgba(255, 170, 0, 0.2);
}

.button-frost {
    background: rgba(255, 255, 255, 0.45);
    color: #003b70;
    border: 1px solid rgba(194, 199, 208, 0.5);
}

.button-white {
    background: #fff;
    color: #003b70;
}

.button-large {
    padding: 1.1rem 2.4rem;
    font-size: 1.15rem;
}


.hero {
    background-color: #ccc;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    block-size: 80svh;
    min-block-size: 1200px;
    overflow: hidden;
    color: #fff;
    transition: block-size 0.45s ease;
}

#booking-calendar {

    z-index: 6;
    margin-inline: auto;
    /* padding-top: 50svh; */
    width: 420px;
    max-width: 100%;
    height: 580px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: 0px 0px 5px 5px rgb(0 0 0 / 0.2);
}

#booking-calendar iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.hero-layer {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-landscape-summer {
    z-index: 1;
    background-image: url("/images/hero-summer.jpg");
    background-position: bottom;
    background-size: cover;
    filter: brightness(60%) blur(15px);
    transform: scale(1.08);
}

.hero-landscape-winter {
    z-index: 1;
    background-image: url("/images/hero-winter.jpg");
    background-position: bottom;
    background-size: cover;
    filter: brightness(60%) blur(15px);
    transform: scale(1.08);
}

.hero-landscape-spring {
    z-index: 1;
    background-image: url("/images/hero-spring.jpg");
    background-position: bottom;
    background-size: cover;
    filter: brightness(60%) blur(15px);
    transform: scale(1.08);
}


.hero-logo {
    z-index: 5;
    width: 40%;          /* share of the hero / parent width — change as you like */
    min-width: 200px;
    max-width: 400px;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}


.hero-fish {
    z-index: 3;
    background-image: url("/images/fish-salmon.png");
    /*background-size: clamp(401px, 40%, 800px) auto;*/
    background-size: 30% auto;
    /* background-size: clamp(201px, 60%, 300px) auto; */
    background-position-x: right clamp(70%, 55vw, 90%);
    background-position-y: 80%;
    background-repeat: no-repeat;
    filter: brightness(90%);
    transform:
        translateY(calc(var(--scroll-progress) * 500px))
        translateX(calc(var(--scroll-progress) * -30px))
        scale(calc(1 + (var(--scroll-progress) * 0.2)));
}

.hero-greg {
    z-index: 2;
    background-image: url("/images/hero-greg-full.png");
    background-size: 45% auto;
    /* background-size: clamp(136px, 30%, 200px) auto; */
    /*background-size: clamp(336px, 30%, 500px) auto;*/
    background-position-x: left clamp(75%, 65vw, 90%);
    background-position-y: 100%;
    background-repeat: no-repeat;
    filter: brightness(60%) blur(2px);
    transform:
        translateY(calc(var(--scroll-progress) * 500px))
        translateX(calc(var(--scroll-progress) * 500px))
        scale(calc(1 - (var(--scroll-progress) * 0.5)));
}

.hero-message {
    z-index: 4;
    width: 100%;
    margin-inline: auto;
}

.hero-message h1 {
    margin-inline: auto;
    margin-block: 0px;
    font-family: sans-serif;

    font-size: clamp(3.5rem, 1.5rem + 4vw, 6rem);

    line-height: 1.05;
    letter-spacing: -0.02em; /* or whatever your design needs */
    max-width: 40ch; /* keep line length readable */
    text-wrap: balance; /* nicer multi-line breaks */

    color: #ffac00;


    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    text-shadow:
        0.5rem 0.5rem 0 rgba(0, 0, 0, 0.75),
        0.5rem 0.5rem 5px rgba(0, 0, 0, 0.3);
}

.hero-message h2 {
    margin-block: 0px;
    margin-inline: auto;
    font-family: sans-serif;

    font-size: clamp(2.5rem, 1.5rem + 2.5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.02em; /* or whatever your design needs */
    max-width: 40ch; /* keep line length readable */
    text-wrap: balance; /* nicer multi-line breaks */

    text-transform: uppercase;
    width: 100%;
    text-align: center;
    /* color: #0086ff; */
    color: white;

    text-shadow:
        0.4rem 0.4rem 0 rgba(0, 0, 0, 0.9),
        0.4rem 0.4rem 5px rgba(0, 0, 0, 0.3);
}

.band {
    padding: 1rem 0;
}

.band-tint {
    background: #f3f3f8;
}

.band-title h2 {
    text-align: center;
    color: #003b70;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.rule {
    display: block;
    width: 6rem;
    height: 0.25rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    border-radius: 999px;
    background: linear-gradient(to right, #825500, #471800);
}

.tour-grid {
    display: grid;
    gap: 1.5rem;
}

.tour-panel {
    min-height: 22rem;
    border-radius: 0.85rem;
    overflow: hidden;
}

.tour-photo {
    position: relative;
    color: #fff;
    background: #0f172a;
}

.tour-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.tour-photo-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 22rem;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 59, 112, 0.92), rgba(0, 59, 112, 0.15) 55%, transparent);
}

.pill {
    align-self: flex-start;
    margin-bottom: 0.9rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #ffaa00;
    color: #694300;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tour-photo-copy h3,
.tour-plain h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.tour-photo-copy p,
.tour-plain p {
    max-width: 28rem;
    margin: 0.6rem 0 1.2rem;
}

.tour-photo-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.tour-plain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #002848, #004b80);
    color: #fff;
}

.tour-plain p {
    color: #7eaadd;
    font-size: 1.1rem;
}

.split {
    display: grid;
    align-items: start;
    gap: 3rem;
}

.split-media {
    position: relative;
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.split-media img {
    align-self: start;
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
}

.split-media blockquote {
    margin: 1.25rem 0 0;
    padding: 1.4rem 1.5rem;
    background: #fff;
    border-radius: 0.85rem;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.split-media blockquote p {
    color: #003b70;
    font-style: italic;
    font-weight: 500;
}

.split-media cite {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #42474f;
}

.kicker {
    color: #825500;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.split-copy h2 {
    margin: 0.8rem 0 1.6rem;
    color: #003b70;
    font-size: clamp(2rem, 4vw, 2.4rem);
}

.feature {
    padding: 1.3rem 1.4rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 0.85rem;
}

.feature h3 {
    margin-bottom: 0.3rem;
    color: #003b70;
    font-size: 1.2rem;
}

.feature p {
    color: #42474f;
}

.cta {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #002848, #004b80);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.2);
}

.cta h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.04em;
}

.cta p {
    max-width: 36rem;
    margin: 1.2rem auto 2rem;
    color: #7eaadd;
    font-size: 1.15rem;
}

.site-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.footer-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 0;
}

.footer-bar nav {
    display: flex;
    gap: 1.5rem;
}

.footer-bar a,
.footer-bar p {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bar a:hover {
    color: #1e3a8a;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .tour-grid {
        grid-template-columns: 1.35fr 1fr;
        min-height: 28rem;
    }

    .tour-panel {
        min-height: 28rem;
    }

    .tour-photo-copy {
        min-height: 28rem;
    }

    .split-media blockquote {
        position: absolute;
        right: 1rem;
        top: 1.5rem;
        width: min(16rem, 65%);
        margin: 0;
    }
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }

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

