@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    color-scheme: dark;
    --white: #f5f5f1;
    --dim: #c4c5c1;
    --accent: #e41c30;
    --base: #080d10;
    --pad: clamp(26px,3.85vw,80px);
}

* {
    box-sizing: border-box;
}

html,body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    background: var(--base);
    color: var(--white);
    font-family: Manrope,Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    height: 116px;
    padding: 33px var(--pad);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    pointer-events: none;
}

.header button,.header nav {
    pointer-events: auto;
}

.brand {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 17px;
    flex-shrink: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: #fff;
    font-family: "Barlow Condensed",Impact,sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.33;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
    align-self: center;
    margin: 0 0 0 auto;
    white-space: nowrap;
}

.desktop-nav button {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    position: relative;
    min-height: 44px;
    padding: 11px 12px;
    transition: color .25s;
}

.desktop-nav button::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 12px;
    right: 12px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.desktop-nav button:hover::after,.desktop-nav button:focus-visible::after {
    transform: scaleX(1);
}

.desktop-nav button:hover {
    color: #fff;
}

.desktop-nav button[aria-current=page] {
    color: #fff;
}

.desktop-nav button[aria-current=page]::after {
    transform: scaleX(1);
    background: var(--accent);
}

.desktop-nav .home-link {
    padding-left: 10px;
    padding-right: 10px;
}

.desktop-nav .home-link::after {
    left: 10px;
    right: 10px;
}

.menu-button,.mobile-nav {
    display: none;
}

.scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.scene.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.scene-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: none;
    transition: none;
}

.scene.active .scene-photo {
    transform: scale(1);
}

.hero .scene-photo {
    background-image: linear-gradient(90deg,rgba(3,8,12,.5),transparent 52%),url("../assets/home-bg-v60.jpg");
    background-position: center;
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    max-width: min(700px,47vw);
}

.hero-slogan {
    font-size: clamp(11px,.83vw,15px);
    font-weight: 600;
    letter-spacing: .30em;
    line-height: 1.7;
}

.hero-copy h1,.contact h2 {
    font-family: "Barlow Condensed","Roboto Condensed","Arial Narrow",Impact,sans-serif;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.012em;
}

.hero-copy h1 {
    font-size: clamp(84px,8.5vw,164px);
    line-height: .83;
    margin: 32px 0 40px;
    white-space: nowrap;
}

.hero-copy .hero-porsche {
    color: var(--accent);
}

.red-dot {
    color: var(--accent);
}

.red-stroke {
    display: block;
    width: 58px;
    height: 3px;
    background: var(--accent);
}

.hero-slogan {
    margin: 30px 0 0;
}

.scroll-cue {
    position: absolute;
    bottom: 42px;
    left: var(--pad);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 11px;
    letter-spacing: .25em;
    font-weight: 600;
}

.cue-line {
    width: 1px;
    height: 66px;
    background: linear-gradient(transparent,#fff);
}

.cue-tick {
    height: 22px;
    width: 2px;
    background: var(--accent);
    animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
    0%,100% {
        transform: translateY(0);
        opacity: .6;
    }

    55% {
        transform: translateY(7px);
        opacity: 1;
    }

}

@keyframes hero-reveal {
    from {
        opacity: 0;
        filter: blur(7px);
        transform: translateY(calc(-50% + 14px));
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(-50%);
    }

}

.contact .scene-photo {
    background-image: linear-gradient(90deg,rgba(2,6,10,.94),rgba(2,6,10,.62)),url("../assets/bgporch.jpg");
}

.contact-inner {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad);
    max-width: 1080px;
}

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

.contact h2 {
    font-size: clamp(90px,11vw,210px);
    line-height: .86;
    margin: 28px 0 42px;
}

.contact p {
    font-size: 16px;
    line-height: 1.75;
}

.contact-quote {
    max-width: 570px;
    color: var(--dim);
}

.editorial {
    background: var(--base);
    isolation: isolate;
}

.chapter-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.chapter[data-index="1"] .chapter-image {
    background-image: url('../assets/sekcja1.jpg');
}

.chapter[data-index="2"] .chapter-image {
    background-image: url('../assets/sekcja2.jpg');
}

.chapter[data-index="3"] .chapter-image {
    background-image: url('../assets/mal.jpg');
    background-position: 74% center;
}

.chapter[data-index="4"] .chapter-image {
    background-image: url('../assets/sekcja4.jpg');
}

.chapter[data-index="5"] .chapter-image {
    background-image: url('../assets/sekcja5.jpg');
}

.chapter[data-index="6"] .chapter-image {
    background-image: url('../assets/sekcja6.jpg');
}

.chapter-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,rgba(3,7,10,.12),transparent 65%);
    pointer-events: none;
}

.chapter[data-index="1"] .chapter-image,.chapter[data-index="3"] .chapter-image,.chapter[data-index="5"] .chapter-image {
    right: 0;
    left: auto;
}

.chapter[data-index="2"] .chapter-image,.chapter[data-index="4"] .chapter-image,.chapter[data-index="6"] .chapter-image {
    left: 0;
    right: auto;
}

.chapter-inner {
    position: absolute;
    z-index: 2;
    top: 112px;
    bottom: 142px;
    left: var(--pad);
    right: calc(50% + var(--pad));
    display: flex;
    align-items: center;
    min-height: 0;
}

.chapter[data-index="2"] .chapter-inner,.chapter[data-index="4"] .chapter-inner,.chapter[data-index="6"] .chapter-inner {
    left: calc(50% + var(--pad));
    right: var(--pad);
}

.chapter-copy {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chapter-heading {
    font-family: 'Barlow Condensed',Impact,sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -.012em;
    line-height: .88;
    text-transform: uppercase;
    font-size: clamp(52px,5.05vw,98px);
    margin: 0 0 clamp(18px,2.5vh,32px);
    max-width: 100%;
    text-wrap: balance;
}

.chapter-prose {
    min-width: 0;
    max-width: none;
}

.chapter-prose p {
    font-size: clamp(13px,.92vw,17px);
    line-height: 1.58;
    color: #e0e3e5;
    margin: 0 0 13px;
}

.chapter-prose p:last-child {
    margin-bottom: 0;
}

.chapter-prose .emphasis {
    font-family: 'Barlow Condensed',Impact,sans-serif;
    font-size: clamp(19px,1.5vw,25px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    margin-top: 15px;
}

.chapter-timeline {
    position: fixed;
    z-index: 35;
    bottom: 28px;
    left: var(--pad);
    right: var(--pad);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .32s ease,transform .42s cubic-bezier(.2,.8,.2,1),visibility .32s;
}

.chapter-timeline.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chapter-steps {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    position: relative;
}

.chapter-steps button {
    appearance: none;
    border: 0;
    border-top: 1px solid rgba(205,215,223,.37);
    height: 65px;
    min-width: 0;
    position: relative;
    background: rgba(8,13,16,.82);
    color: rgba(235,238,239,.57);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 9px clamp(12px,1.4vw,25px);
    transition: color .28s,background .28s;
}

.chapter-steps button+button {
    border-left: 1px solid rgba(205,215,223,.12);
}

.chapter-steps button::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width .42s cubic-bezier(.2,.8,.2,1);
}

.chapter-steps button[data-passed]::before,.chapter-steps button[aria-current='step']::before {
    width: 100%;
}

.chapter-steps button[aria-current='step'] {
    background: rgba(22,29,34,.97);
    color: #fff;
}

.chapter-steps button[data-passed] {
    background: rgba(14,21,26,.9);
    color: rgba(245,245,241,.75);
}

.chapter-steps button:hover,.chapter-steps button:focus-visible {
    background: rgba(38,46,51,.96);
    color: #fff;
}

.chapter-step-title {
    font-family: 'Manrope',Arial,sans-serif;
    font-weight: 700;
    font-size: clamp(11px,.76vw,14px);
    letter-spacing: .055em;
    line-height: 1.3;
}

.chapter-steps button[aria-current='step'] .chapter-step-title {
    font-weight: 800;
}

.chapter-step-track {
    display: none;
}

.chapter[data-index="3"] .chapter-image {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-position: center center;
}

.chapter[data-index="3"] .chapter-image::after {
    background: none;
}

.chapter[data-index="3"] .chapter-inner {
    left: var(--pad);
    right: calc(56% + var(--pad));
    top: 112px;
    bottom: 142px;
}

@media (max-width:850px) {
    .chapter[data-index="3"] .chapter-image {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .chapter[data-index="3"] .chapter-inner {
        top: 120px;
        bottom: 110px;
        left: var(--pad);
        right: var(--pad);
    }

}

@media (max-width:520px) {
    .chapter[data-index="3"] .chapter-inner {
        top: 112px;
        bottom: 101px;
    }

}

@media (max-width:1280px) and (min-width:851px) {
    .chapter-inner {
        top: 105px;
        bottom: 128px;
    }

    .chapter-heading {
        font-size: clamp(45px,4.7vw,70px);
        margin-bottom: 17px;
    }

    .chapter-prose p {
        font-size: clamp(12px,.95vw,15px);
        line-height: 1.47;
        margin-bottom: 10px;
    }

}

@media (max-height:780px) and (min-width:851px) {
    .chapter-inner {
        top: 93px;
        bottom: 112px;
    }

    .chapter-heading {
        font-size: clamp(44px,4.6vw,77px);
        margin-bottom: 15px;
    }

    .chapter-prose p {
        font-size: clamp(12px,.9vw,15px);
        line-height: 1.43;
        margin-bottom: 9px;
    }

    .chapter-timeline {
        bottom: 17px;
    }

    .chapter-steps button {
        height: 57px;
    }

}

@media (max-width:850px) {
    :root {
        --pad: 6vw;
    }

    .header {
        height: 84px;
        padding: 20px var(--pad);
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 27px;
    }

    .brand-name {
        font-size: 12px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        background: transparent;
        border: 0;
        padding: 7px;
    }

    .menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
    }

    .mobile-nav {
        display: flex;
        position: absolute;
        top: 79px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 15px;
        padding: 24px var(--pad);
        background: rgba(6,11,14,.97);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-nav.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav button {
        background: none;
        border: 0;
        text-align: left;
        font-weight: 700;
        padding: 9px 0;
    }

    .hero-copy {
        max-width: 85vw;
    }

    .hero-copy h1 {
        font-size: clamp(65px,13vw,112px);
    }

    .scroll-cue {
        bottom: 25px;
    }

    .chapter-image,.chapter[data-index="1"] .chapter-image,.chapter[data-index="2"] .chapter-image,.chapter[data-index="3"] .chapter-image,.chapter[data-index="4"] .chapter-image,.chapter[data-index="5"] .chapter-image,.chapter[data-index="6"] .chapter-image {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-position: center 23%;
    }

    .chapter[data-index="1"] .chapter-image::after,.chapter[data-index="2"] .chapter-image::after,.chapter[data-index="4"] .chapter-image::after,.chapter[data-index="5"] .chapter-image::after,.chapter[data-index="6"] .chapter-image::after {
        background: linear-gradient(to bottom,rgba(4,7,10,.06) 0%,rgba(4,7,10,.10) 26%,rgba(4,7,10,.66) 45%,rgba(4,7,10,.89) 64%,rgba(4,7,10,.95) 100%);
    }

    .chapter[data-index="3"] .chapter-image::after {
        background: linear-gradient(to bottom,rgba(3,6,9,.08) 0%,rgba(3,6,9,.32) 37%,rgba(3,6,9,.80) 62%,rgba(3,6,9,.90) 100%);
    }

    .chapter-inner,.chapter[data-index="2"] .chapter-inner,.chapter[data-index="4"] .chapter-inner,.chapter[data-index="6"] .chapter-inner {
        top: clamp(165px,29vh,260px);
        bottom: 100px;
        left: var(--pad);
        right: var(--pad);
        align-items: flex-end;
    }

    .chapter-copy {
        justify-content: flex-end;
    }

    .chapter-heading {
        font-size: clamp(43px,7.7vw,72px);
        margin-bottom: 15px;
    }

    .chapter-prose p {
        font-size: clamp(13px,1.65vw,16px);
        line-height: 1.43;
        margin-bottom: 8px;
    }

    .chapter-timeline {
        bottom: 12px;
    }

    .chapter-steps button {
        height: 62px;
        padding: 9px 11px;
    }

    .chapter-step-title {
        font-size: clamp(10px,1.4vw,13px);
    }

    .contact h2 {
        font-size: clamp(58px,13vw,120px);
    }

}

@media (max-width:520px) {
    .hero .scene-photo {
        background-position: 60% center;
    }

    .hero-copy h1 {
        font-size: clamp(59px,14vw,86px);
    }

    .chapter-image,.chapter[data-index="1"] .chapter-image,.chapter[data-index="2"] .chapter-image,.chapter[data-index="3"] .chapter-image,.chapter[data-index="4"] .chapter-image,.chapter[data-index="5"] .chapter-image,.chapter[data-index="6"] .chapter-image {
        height: 100%;
    }

    .chapter-inner,.chapter[data-index="2"] .chapter-inner,.chapter[data-index="4"] .chapter-inner,.chapter[data-index="6"] .chapter-inner {
        top: clamp(145px,24vh,205px);
        bottom: 88px;
    }

    .chapter-heading {
        font-size: clamp(36px,8.7vw,50px);
        margin-bottom: 11px;
    }

    .chapter-prose p {
        font-size: clamp(12px,2.6vw,14px);
        line-height: 1.34;
        margin-bottom: 6px;
    }

    .chapter-prose .emphasis {
        font-size: 17px;
        margin-top: 6px;
    }

    .chapter-steps button {
        height: 58px;
        padding: 8px 8px;
    }

    .chapter-step-title {
        font-size: clamp(9px,2.35vw,12px);
    }

    .scroll-cue {
        display: flex;
    }

}

@media (prefers-reduced-motion:reduce) {
    .chapter-timeline {
        transition: none !important;
    }

}

.rg-transition-surface {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 24;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    contain: strict;
}

.rg-transition-surface.is-active {
    visibility: visible;
    opacity: 1;
}

.scene.rg-wipe-in {
    z-index: 3;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
}

.chapter-timeline {
    bottom: 0;
    isolation: isolate;
    padding-bottom: env(safe-area-inset-bottom,0px);
}

.chapter-timeline::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--pad));
    right: calc(-1 * var(--pad));
    bottom: 0;
    height: clamp(160px,23vh,270px);
    background: linear-gradient(to bottom,rgba(3,6,9,0) 0%,rgba(3,6,9,.34) 35%,rgba(3,6,9,.76) 74%,rgba(3,6,9,.92) 100%);
    pointer-events: none;
    z-index: -1;
}

.chapter-section-eyebrow {
    display: block;
    align-self: flex-start;
    margin: 0 0 clamp(14px,1.9vh,24px);
    color: var(--accent);
    font-family: "Barlow Condensed",Impact,sans-serif;
    font-style: italic;
    font-size: clamp(16px,1.28vw,22px);
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1.08;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255,22,38,.18),0 1px 0 rgba(0,0,0,.68);
}

.chapter[data-index="1"] .chapter-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: clamp(13px,2vh,24px) 0 0;
    max-width: 100%;
}

.chapter[data-index="1"] .chapter-location-description {
    font-size: clamp(9px,.72vw,12px);
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.45;
    color: var(--accent);
}

@media (max-width:850px) {
    .chapter-section-eyebrow {
        font-size: clamp(14px,2vw,18px);
        margin-bottom: 12px;
        letter-spacing: .012em;
    }

    .chapter[data-index="1"] .chapter-location {
        margin-top: 12px;
        gap: 4px;
    }

    .chapter[data-index="1"] .chapter-location-description {
        font-size: clamp(9px,1.55vw,11px);
    }

}

@media (max-width:520px) {
    .chapter-section-eyebrow {
        font-size: 14px;
        margin-bottom: 10px;
        letter-spacing: .01em;
        line-height: 1.05;
    }

    .chapter[data-index="1"] .chapter-location {
        margin-top: 9px;
    }

    .chapter[data-index="1"] .chapter-location-description {
        font-size: 9px;
        letter-spacing: .025em;
    }

}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px,1.9vw,28px);
    margin: clamp(20px,3vh,36px) 0 clamp(21px,3.5vh,42px);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 64px;
    padding: 8px 0;
    color: var(--white);
    text-decoration: none;
    transition: color .2s ease;
}

.contact-method:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.contact-method:hover {
    color: #fff;
}

.contact-method-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border: 1px solid rgba(228,28,48,.64);
    color: var(--accent);
    transition: background .2s ease,border-color .2s ease;
}

.contact-method-icon svg {
    width: 21px;
    height: 21px;
}

.contact-method:hover .contact-method-icon,.contact-method:focus-visible .contact-method-icon {
    background: rgba(228,28,48,.12);
    border-color: var(--accent);
}

.contact-method-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-method-label {
    color: var(--accent);
    font-family: "Barlow Condensed",Impact,sans-serif;
    font-style: italic;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .06em;
}

.contact-method-value {
    font-size: clamp(13px,1.1vw,17px);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contact-footer-name {
    font-family: "Barlow Condensed",Impact,sans-serif;
    font-style: italic;
    font-size: clamp(19px,2.05vw,28px) !important;
    font-weight: 900;
    line-height: 1.15 !important;
    letter-spacing: .01em;
    margin: 0 0 7px;
}

.contact-footer .contact-quote {
    margin: 0;
    font-size: clamp(12px,1.05vw,16px);
    line-height: 1.55;
}

@media (max-width:850px) {
    .contact-inner {
        width: 100%;
    }

    .contact h2 {
        margin: 20px 0 24px;
    }

    .contact-methods {
        gap: 8px 18px;
        margin: 20px 0 24px;
    }

    .contact-method {
        min-height: 53px;
    }

    .contact-method-icon {
        width: 42px;
        height: 42px;
    }

    .contact-method-icon svg {
        width: 19px;
        height: 19px;
    }

}

@media (max-width:520px) {
    .contact h2 {
        font-size: clamp(57px,13vw,72px);
        margin: 17px 0 22px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 8px;
        margin: 17px 0 18px;
    }

    .contact-method {
        padding: 0;
        min-height: 46px;
    }

    .contact-method-icon {
        width: 39px;
        height: 39px;
    }

    .contact-method-value {
        font-size: 13px;
    }

    .contact-footer-name {
        font-size: 20px !important;
    }

    .contact-footer .contact-quote {
        font-size: 12px;
    }

}

@media (max-height:680px) {
    .contact h2 {
        margin-top: 13px;
        margin-bottom: 17px;
    }

    .contact-methods {
        margin-top: 14px;
        margin-bottom: 13px;
    }

    .contact-method {
        min-height: 40px;
    }

    .contact-method-icon {
        width: 38px;
        height: 38px;
    }

    .contact-footer .contact-quote {
        font-size: 12px;
    }

}

.contact-footer-city {
    color: var(--accent);
}

@media (min-width:851px) {
    .contact-inner {
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }

    .contact-methods {
        justify-content: center;
    }

    .contact-method {
        text-align: left;
    }

    .contact-quote {
        margin-inline: auto;
    }

    .contact .red-stroke {
        margin-inline: auto;
    }

}

.contact-footer {
    width: 100%;
    text-align: center;
}

.contact-footer .contact-quote {
    margin-inline: auto;
}

@media (max-width:850px) {
    .hero .scene-photo {
        background-image: linear-gradient(90deg,rgba(3,8,12,.9) 0%,rgba(3,8,12,.8) 26%,rgba(3,8,12,.43) 56%,rgba(3,8,12,.16) 100%),linear-gradient(180deg,rgba(3,8,12,.08) 0%,rgba(3,8,12,0) 34%,rgba(3,8,12,.2) 100%),url("../assets/home-bg-v60.jpg");
        background-position: 67% center;
    }

    .chapter[data-index="3"] .chapter-image {
        background-size: auto 103%;
        background-position: 76% 100%;
    }

    .chapter-inner {
        z-index: 36;
    }

    .contact-footer {
        text-align: left;
    }

    .contact-footer .contact-quote {
        margin-inline: 0;
    }

}

@media (max-width:520px) {
    .hero .scene-photo {
        background-image: linear-gradient(90deg,rgba(3,8,12,.93) 0%,rgba(3,8,12,.84) 30%,rgba(3,8,12,.48) 56%,rgba(3,8,12,.16) 100%),linear-gradient(180deg,rgba(3,8,12,.04) 0%,rgba(3,8,12,0) 30%,rgba(3,8,12,.28) 100%),url("../assets/home-bg-v60.jpg");
        background-position: 72% center;
    }

    .chapter[data-index="3"] .chapter-image {
        background-size: auto 103%;
        background-position: 76% 100%;
    }

}

.ringtail-credit {
    position: fixed;
    right: 18px;
    bottom: 15px;
    z-index: 38;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    max-width: calc(100vw - 36px);
    padding: 8px 0;
    color: #f5f5f1;
    background: none;
    border: 0;
    text-decoration: none;
    font-family: Manrope,Arial,sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .012em;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: opacity .24s ease,visibility .24s ease;
}

.ringtail-credit-prefix {
    color: rgba(245,245,241,.72);
}

.ringtail-credit-name {
    color: #fff;
    font-weight: 800;
}

.ringtail-credit:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.ringtail-hidden .ringtail-credit {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width:850px) {
    .chapter-timeline::before {
        display: none;
    }

    .ringtail-credit {
        right: 12px;
        bottom: 10px;
        font-size: 10px;
        gap: 4px;
    }

}

@media (prefers-reduced-motion:reduce) {
    .ringtail-credit {
        transition: none;
    }

}
