/* 6 Days on a Raft initial cutup. All custom styles are scoped to this template. */
.raft-page {
    --raft-cream: #eee4ce;
    --raft-gold: #c5ae82;
    --raft-ink: #07151b;
    margin: 0;
    min-height: 100vh;
    /* Fixed at natural dimensions: resizing crops the image instead of scaling it. */
    background: var(--raft-ink) url('/images/theme/6-days-on-a-raft/ocean-background-3840x2160.png') no-repeat center top fixed;
    background-size: auto;
    color: var(--raft-cream);
    font-family: Georgia, 'Times New Roman', serif;
}
.raft-page a { color: inherit; }
.raft-page h1, .raft-page h2, .raft-page h3, .raft-page .btn { font-family: Georgia, 'Times New Roman', serif; }
.raft-page p, .raft-page .nav-link { font-weight: 400; }
.raft-page a:focus-visible, .raft-page button:focus-visible { outline: 3px solid #f4d59b; outline-offset: 5px; }
.raft-site-shell { max-width: 1600px; margin-inline: auto; overflow: clip; }
.raft-header { position: sticky; top: 0; z-index: 1020; width: 100%; background: rgb(2 12 17 / 94%); }
.raft-masthead { max-width: 1600px; margin-inline: auto; min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--raft-gold); padding: 0 clamp(16px, 3vw, 48px); background: rgb(2 12 17 / 88%); }
.raft-wordmark { font-size: 15px; text-transform: uppercase; text-decoration: none; letter-spacing: 5px; }
.raft-service { margin: 0; color: var(--raft-gold); text-transform: uppercase; font-size: 14px; white-space: nowrap; }
.raft-service span { display: inline-block; margin-inline: 9px; }
.raft-service span:first-child, .raft-service span:last-child { font-size: 24px; line-height: 1; vertical-align: middle; }
.raft-navbar { min-height: 48px; padding: 3px 0; background: rgb(2 12 17 / 66%); }
.raft-page .raft-navbar, .raft-page .raft-navbar .nav-link, .raft-page .raft-navbar .navbar-brand { font-family: 'Roboto Condensed', Arial, sans-serif; }
.raft-feature-nav { font-family: 'Roboto', Arial, sans-serif; }
.raft-navbar .container-fluid { max-width: 1600px; margin-inline: auto; padding: 0 clamp(16px, 3vw, 48px); }
.raft-navbar .nav-link { color: #f6f1e7; text-transform: uppercase; font-size: 15px; padding: 9px 20px; white-space: nowrap; }
.raft-navbar .nav-link:hover { color: #fff; background: rgb(197 174 130 / 20%); }
.raft-navbar .nav-link.active { color: #fff; border: 1px solid #b3b4a4; border-radius: 3px; background: rgb(224 223 201 / 23%); box-shadow: inset 0 0 16px rgb(224 223 201 / 22%); }
.raft-hero { position: relative; isolation: isolate; min-height: 552px; padding: 12px 0 58px 5.8%; display: flex; align-items: flex-start; }
/* Decorative cutout sits above the body ocean, below all hero content. */
.raft-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100%, 1050px);
    z-index: -1;
    pointer-events: none;
    background: url('/images/theme/6-days-on-a-raft/raft-survivor-transparent.png') no-repeat right bottom / 100% auto;
}
.raft-hero-copy { width: 548px; max-width: 52%; text-align: center; }
.raft-hero h1 { margin: 0; line-height: 1; }
.raft-title-art { width: 100%; height: auto; mix-blend-mode: screen; }
.raft-tagline { margin: 5px auto 16px; padding-top: 4px; border-top: 3px solid var(--raft-cream); font-family: Arial, sans-serif; font-size: 27px; letter-spacing: 1.6px; line-height: 1.3; white-space: nowrap; }
.raft-introduction { font-size: 21px; font-style: italic; letter-spacing: .6px; line-height: 1.27; margin: 17px -5px 34px; text-shadow: 0 2px 5px #000; }
.raft-button { border: 1px solid var(--raft-gold); border-radius: 6px; min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 19px; color: var(--raft-cream); font-size: 16px; font-weight: bold; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgb(238 228 206 / 25%), 0 2px 8px rgb(0 0 0 / 30%); }
.raft-button:hover { color: #fff; border-color: #fff1d5; background-color: rgb(197 174 130 / 22%); }
.raft-button-paper { color: #141710 !important; background: linear-gradient(125deg, #bfa77d, #f2e5c5 45%, #c4ab80); }
.raft-button-paper:hover { background: #f0dfba; }
.raft-button-outline { background: rgb(1 9 13 / 48%); }
.raft-hero-actions { margin-inline: -8px; }
.raft-hero-actions .raft-button { flex: 1 0 auto; padding-inline: 15px; }
.raft-book-symbol { font-size: 28px; line-height: 1; }
.raft-feature-nav { border-block: 1px solid var(--raft-gold); padding: 12px 2.5% 18px; background: #0a1b22 url('/images/theme/6-days-on-a-raft/nav-texture.jpg') center / cover; }
.raft-feature-nav .container-fluid { padding: 0; }
.raft-feature { position: relative; height: 122px; padding: 0 12px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.raft-feature::after { content: ''; position: absolute; right: 0; top: 7px; bottom: 0; border-right: 1px solid rgb(197 174 130 / 45%); }
.raft-feature-nav .col-lg-2:last-child .raft-feature::after { display: none; }
.raft-feature img { width: auto; height: 60px; max-width: 108px; object-fit: contain; mix-blend-mode: screen; margin-bottom: 3px; }
.raft-feature-title { font-size: 17px; text-transform: uppercase; white-space: nowrap; }
.raft-feature-description { font-size: 16px; font-style: italic; line-height: 1.15; max-width: 170px; margin-top: 3px; }
.raft-feature:hover { color: #fff5db; transform: translateY(-2px); }
.raft-bill-story { min-height: 515px; background: #162023 url('/images/theme/6-days-on-a-raft/bill-story.jpg') center top / 100% auto no-repeat; padding: 46px 3% 55px; scroll-margin-top: 110px; }
.raft-bill-story .container-fluid { padding: 0; }
.raft-story-copy { padding-left: 14px; padding-right: 0; }
.raft-eyebrow { text-transform: uppercase; letter-spacing: 6px; font-size: 20px; margin: 0; }
.raft-story-copy h2 { color: var(--raft-cream); font-size: 46px; font-weight: bold; text-transform: uppercase; line-height: 1.12; margin: 0 0 9px; white-space: nowrap; }
.raft-story-rule { height: 2px; width: 100%; margin-bottom: 16px; background: linear-gradient(90deg, var(--raft-gold), transparent); }
.raft-story-copy > p:not(.raft-eyebrow) { font-size: 20px; line-height: 1.22; margin-bottom: 14px; text-shadow: 0 2px 5px #000; }
.raft-learn-more { margin-top: 13px; min-width: 318px; font-size: 18px; }
.raft-learn-more span { font-size: 32px; line-height: .7; margin-left: 8px; }
.raft-more-details { background: rgb(5 15 20 / 94%); border: 1px solid var(--raft-gold); padding: 20px; margin-top: 20px; }
.raft-more-details h3 { font-size: 21px; scroll-margin-top: 110px; }
.raft-documentary-modal .modal-content { background: #0c1a20; color: var(--raft-cream); border: 1px solid var(--raft-gold); font-family: Georgia, serif; }
.raft-documentary-modal .modal-header { border-color: rgb(197 174 130 / 40%); }
.raft-page .raft-documentary-modal .modal-title, .raft-page .raft-more-details h3 { color: var(--raft-cream); }
.raft-skip-link { position: fixed; top: -100px; left: 16px; z-index: 1100; background: #eee4ce; color: #07151b !important; padding: 10px 18px; }
.raft-skip-link:focus { top: 12px; }
@media (min-width: 1300px) {
    .raft-hero { min-height: clamp(552px, 46vw, 736px); padding-top: 2%; }
    .raft-hero-copy { width: 46%; }
    .raft-bill-story { min-height: clamp(515px, 43vw, 687px); }
}
@media (max-width: 1199.98px) {
    .raft-wordmark { letter-spacing: 3px; font-size: 13px; }
    .raft-service { font-size: 12px; }
    .raft-navbar .nav-link { font-size: 13px; padding-inline: 12px; }
    .raft-tagline { font-size: 23px; letter-spacing: .8px; }
    .raft-hero { padding-left: 4%; }
    .raft-story-copy h2 { font-size: 38px; }
    .raft-story-copy > p:not(.raft-eyebrow) { font-size: 18px; }
    .raft-feature-title { font-size: 14px; }
    .raft-feature-description { font-size: 15px; }
}
@media (max-width: 991.98px) {
    /* Keep the collapsed navigation pinned independently of mobile overflow handling. */
    .raft-site-shell { padding-top: 98px; overflow: visible; }
    .raft-header { position: fixed; top: 0; right: 0; left: 0; }
    .raft-masthead { justify-content: center; min-height: 42px; }
    .raft-service { display: none; }
    .raft-navbar { padding-block: 8px; }
    .raft-navbar .navbar-brand { color: var(--raft-cream); font-size: 18px; }
    .raft-navbar .nav-link { font-size: 16px; padding: 10px 14px; }
    .raft-navbar .navbar-collapse { max-height: calc(100dvh - 110px); overflow-y: auto; }
    .raft-hero { min-height: 570px; padding: 25px 4% 50px; }
    .raft-hero-copy { width: 540px; max-width: 70%; }
    .raft-hero-actions .raft-button { flex-basis: auto; font-size: 14px; }
    .raft-feature-nav { padding-block: 15px 2px; }
    .raft-feature { margin-bottom: 18px; }
    .raft-feature-title { font-size: 17px; }
    .raft-feature-nav .col-lg-2:nth-child(3n) .raft-feature::after { display: none; }
    .raft-bill-story { padding: 0 5% 40px; background-size: auto 480px; background-position: left top; }
    .raft-photo-space { height: 465px; }
    .raft-story-copy { padding: 24px; background: rgb(7 21 27 / 93%); border-top: 1px solid var(--raft-gold); }
    .raft-story-copy h2 { font-size: 42px; white-space: normal; }
    .raft-story-copy > p:not(.raft-eyebrow) { font-size: 20px; }
}
@media (max-width: 575.98px) {
    .raft-wordmark { font-size: 11px; letter-spacing: 3px; }
    .raft-hero { min-height: 570px; padding: 23px 5% 35px; background: linear-gradient(90deg, rgb(2 12 17 / 76%), rgb(2 12 17 / 18%)); }
    .raft-hero-copy { max-width: 100%; width: 100%; }
    .raft-tagline { white-space: normal; font-size: 20px; margin-bottom: 25px; }
    .raft-introduction { font-size: 20px; line-height: 1.4; margin-inline: 0; }
    .raft-hero-actions { margin-inline: 0; }
    .raft-hero-actions .raft-button { flex-basis: 100%; min-height: 48px; }
    .raft-feature { padding-inline: 8px; }
    .raft-feature-title { font-size: 15px; }
    .raft-feature-description { font-size: 15px; }
    .raft-feature-nav .col-lg-2:nth-child(3n) .raft-feature::after { display: block; }
    .raft-feature-nav .col-lg-2:nth-child(2n) .raft-feature::after { display: none; }
    .raft-bill-story { background-size: auto 430px; background-position: 15% top; padding-inline: 4%; }
    .raft-photo-space { height: 420px; }
    .raft-story-copy { padding: 24px 12px; }
    .raft-eyebrow { font-size: 16px; }
    .raft-story-copy h2 { font-size: 36px; }
    .raft-learn-more { min-width: 0; width: 100%; font-size: 16px; }
}
/* Below portrait iPad width, give the cutout its own row after the copy. */
@media (max-width: 767.98px) {
    .raft-hero { flex-direction: column; min-height: 0; padding-bottom: 0; }
    .raft-hero-copy { width: min(100%, 548px); max-width: 100%; align-self: center; }
    .raft-hero::before {
        position: relative;
        inset: auto;
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 2 / 1;
        margin-top: 24px;
        z-index: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .raft-page *, .raft-page *::before, .raft-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
