:root {
    --navy: #06243f;
    --deep: #0b334c;
    --teal: #177f86;
    --foam: #f3fbf8;
    --sail: #fff8ea;
    --rope: #c99b4f;
    --brass: #e2b85f;
    --ink: #13232d;
    --muted: #60727d;
    --line: rgba(6, 36, 63, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 248, 234, 0.94), rgba(243, 251, 248, 0.96)),
        repeating-linear-gradient(120deg, transparent 0 34px, rgba(23, 127, 134, 0.08) 34px 36px),
        var(--foam);
    font-family: Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at top, rgba(226, 184, 95, 0.18), transparent 42%),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(6, 36, 63, 0.045) 31px 32px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding: 0 38px;
    color: #fff;
    background: rgba(6, 36, 63, 0.94);
    border-bottom: 3px solid var(--brass);
    backdrop-filter: blur(12px);
}

.brand,
.header-nav a {
    color: #fff;
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--navy);
    background: var(--brass);
    border-radius: 50%;
}

.header-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
}

.header-nav a:hover,
.header-nav a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    outline: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.45fr);
    gap: 34px;
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 70px);
    margin: 0 auto;
    padding: 38px 0;
}

.hero-copy {
    position: relative;
    padding: 26px 0;
}

.hero-copy::after {
    content: "";
    display: block;
    width: 116px;
    height: 7px;
    margin-top: 26px;
    background: repeating-linear-gradient(90deg, var(--rope) 0 16px, var(--navy) 16px 22px);
    border-radius: 99px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--navy);
    font-size: 48px;
    line-height: 1.05;
}

h2 {
    margin: 0;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.16;
}

h3 {
    margin: 10px 0 8px;
    color: var(--navy);
    font-size: 21px;
}

p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero-copy p:last-child {
    max-width: 48ch;
}

.carousel {
    position: relative;
}

.carousel-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 420px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    box-shadow: 0 26px 58px rgba(6, 36, 63, 0.28);
}

.carousel-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(226, 184, 95, 0.72);
    border-radius: 4px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 420ms ease, transform 700ms ease;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(6, 36, 63, 0.78));
}

.slide-caption {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 30px;
    z-index: 3;
    color: #fff;
}

.slide-caption span {
    display: block;
    margin-bottom: 7px;
    color: var(--brass);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.slide-caption strong {
    font-size: 29px;
    line-height: 1.15;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #fff;
    background: rgba(6, 36, 63, 0.76);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: var(--teal);
    outline: none;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid var(--navy);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.dot.is-active,
.dot:hover,
.dot:focus {
    background: var(--rope);
    outline: none;
}

.section-band,
.atelier,
.credits {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 42px;
}

.section-band {
    padding: 58px 0 22px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid article,
.atelier,
.credits {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(6, 36, 63, 0.08);
}

.feature-grid article {
    padding: 24px;
}

.feature-grid span {
    color: var(--rope);
    font-size: 13px;
    font-weight: 900;
}

.feature-grid p {
    margin: 0;
    font-size: 15px;
}

.atelier {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 34px;
}

.atelier p:last-child {
    margin: 0;
}

.credits {
    padding: 28px 32px;
}

.credits ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.credits a {
    color: var(--deep);
    font-weight: 700;
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 28px;
    }

    h1 {
        font-size: 38px;
    }

    .carousel-frame {
        min-height: 360px;
    }

    .feature-grid,
    .atelier {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero,
    .section-band,
    .atelier,
    .credits {
        width: min(100% - 24px, 1180px);
    }

    h1 {
        font-size: 31px;
    }

    h2 {
        font-size: 27px;
    }

    .carousel-frame {
        aspect-ratio: 4 / 5;
        min-height: 390px;
    }

    .slide-caption {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .slide-caption strong {
        font-size: 23px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .section-heading {
        display: block;
    }
}
