:root {
    --ink: #11213a;
    --paper: #f8f4ed;
    --sand: #f0e2d2;
    --sun: #ff7f3f;
    --aqua: #08a89f;
    --coral: #ff4f6d;
    --accent: #005d8f;
    --radius: 1.1rem;
    --shadow: 0 14px 34px rgb(17 33 58 / 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at 10% 10%, rgb(255 127 63 / 0.26), transparent 40%), radial-gradient(circle at 90% 20%, rgb(8 168 159 / 0.2), transparent 35%),
        linear-gradient(145deg, #f7f2ea 0%, #fff9f2 46%, #f4e2cd 100%);
    color: var(--ink);
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    line-height: 1.45;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    border-radius: 0.8rem;
}

a {
    color: inherit;
}

.orb {
    filter: blur(6px);
    position: fixed;
    z-index: -1;
    opacity: 0.75;
    border-radius: 999px;
}

.orb-a {
    width: 240px;
    height: 240px;
    background: rgb(255 79 109 / 0.34);
    top: 12%;
    left: -60px;
}

.orb-b {
    width: 280px;
    height: 280px;
    background: rgb(8 168 159 / 0.26);
    right: -80px;
    top: 46%;
}

.site-header {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgb(248 244 237 / 0.85);
    border-bottom: 1px solid rgb(17 33 58 / 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.8rem 4vw;
    position: sticky;
    top: 0;
    z-index: 12;
}

.brand {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.site-nav a {
    border-radius: 999px;
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--sand);
}

main {
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem 4vw 5rem;
}

.hero {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr;
    padding: 2rem 0 1rem;
}

.kicker {
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
}

h1 {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    letter-spacing: 0.03em;
    line-height: 0.96;
    margin: 0 0 0.8rem;
}

.lede {
    font-size: 1rem;
    margin: 0 0 1rem;
    max-width: 62ch;
}

.hero-art img {
    box-shadow: var(--shadow);
    transform: rotate(1.8deg);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
}

.chips span {
    background: white;
    border: 1px solid rgb(17 33 58 / 0.12);
    border-radius: 999px;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
}

.button {
    background: var(--sun);
    border: 2px solid var(--sun);
    border-radius: 999px;
    color: #131313;
    display: inline-block;
    font-weight: 700;
    padding: 0.62rem 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    box-shadow: 0 8px 18px rgb(255 127 63 / 0.35);
    transform: translateY(-2px);
}

.button.ghost {
    background: transparent;
    border-color: var(--ink);
}

.button.tiny {
    font-size: 0.86rem;
    padding: 0.44rem 0.8rem;
}

.cta-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ticker-wrap {
    border-bottom: 2px solid rgb(17 33 58 / 0.15);
    border-top: 2px solid rgb(17 33 58 / 0.15);
    margin: 2.4rem 0 1rem;
    overflow: hidden;
    padding: 0.7rem 0;
}

.ticker {
    animation: drift 18s linear infinite;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes drift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.section {
    margin-top: 2.5rem;
}

.section-head {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.section-head h2 {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin: 0;
}

.section-head p {
    margin: 0;
    opacity: 0.82;
}

.masonry-grid {
    columns: 1;
    column-gap: 0.85rem;
}

.gallery-item {
    background: #fff;
    border: 1px solid rgb(17 33 58 / 0.1);
    border-radius: var(--radius);
    break-inside: avoid;
    cursor: pointer;
    margin: 0 0 0.85rem;
    overflow: hidden;
    padding: 0.4rem;
    transition: transform 0.22s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
}

.gallery-item figcaption {
    font-size: 0.82rem;
    padding: 0.45rem 0.35rem 0.2rem;
}

.people-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    margin-bottom: 1.6rem;
}

.person-card {
    background: white;
    border: 1px solid rgb(17 33 58 / 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0.4rem;
}

.person-card h3 {
    font-size: 0.95rem;
    margin: 0.5rem 0.4rem 0.1rem;
}

.person-card p {
    color: var(--accent);
    font-size: 0.78rem;
    margin: 0 0.4rem 0.55rem;
}

.credit-columns {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.credit-card {
    background: #fff9f2;
    border: 1px dashed rgb(17 33 58 / 0.3);
    border-radius: var(--radius);
    padding: 0.95rem 1rem;
}

.credit-card h3 {
    margin: 0.2rem 0 0.5rem;
}

.credit-card p,
.credit-card ul {
    margin: 0 0 0.8rem;
}

.credit-card ul {
    padding-left: 1.1rem;
}

.story-panel {
    align-items: start;
    background: rgb(255 249 242 / 0.78);
    border: 1px solid rgb(17 33 58 / 0.12);
    border-radius: var(--radius);
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(220px, 0.72fr) 1.45fr;
    padding: 0.9rem;
}

.story-art {
    align-self: stretch;
    /* background: linear-gradient(180deg, #fff5df, #f5e3b8); */
    border: 1px solid rgb(124 90 23 / 0.18);
    border-radius: calc(var(--radius) - 0.2rem);
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.story-art img {
    border-radius: 0.6rem;
    box-shadow: var(--shadow);
    height: auto;
    max-height: 700px;
    object-fit: contain;
    width: min(100%, 340px);
    padding: 0.9rem;
}

.story-copy p {
    margin: 0 0 1rem;
}

.story-copy p:last-child {
    margin-bottom: 0;
}

.map-wrap {
    background: white;
    border: 1px solid rgb(17 33 58 / 0.12);
    border-radius: var(--radius);
    padding: 0.6rem;
}

.site-footer {
    align-items: center;
    border-top: 1px solid rgb(17 33 58 / 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding: 1rem 4vw 1.5rem;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.lightbox {
    background: rgb(18 23 36 / 0.95);
    border: 0;
    border-radius: 1rem;
    color: #fff;
    max-width: min(90vw, 1000px);
    padding: 1.2rem;
}

.lightbox::backdrop {
    background: rgb(3 8 17 / 0.65);
}

.lightbox img {
    max-height: 72vh;
    object-fit: contain;
    width: 100%;
}

.lightbox p {
    margin: 0.6rem 0 0;
}

.lightbox-close {
    background: transparent;
    border: 1px solid rgb(255 255 255 / 0.4);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    float: right;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.7rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 700px) {
    .masonry-grid {
        columns: 2;
    }
}

@media (min-width: 980px) {
    .masonry-grid {
        columns: 3;
    }
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .story-panel {
        grid-template-columns: 1fr;
    }

    .hero-art {
        max-width: 430px;
    }

    .site-header {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
