:root {
    --ink: #030a11;
    --panel: #07131d;
    --gold: #c99a46;
    --gold-light: #f3d58c;
    --cyan: #78bfd1;
    --text: #e9e2d3;
    --muted: #aaa291;
    --line: rgba(201, 154, 70, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
}

.site-header {
    min-height: 76px;
    padding: 12px clamp(18px, 4vw, 60px);
    display: flex;
    align-items: center;
    gap: 32px;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 10, 17, 0.97);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--gold-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 3px;
    font-size: 9px;
    color: var(--gold);
}

nav {
    margin-left: auto;
    display: flex;
    gap: clamp(16px, 3vw, 36px);
}

nav a,
.back-button {
    color: var(--gold-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.back-button {
    padding: 13px 20px;
    border: 1px solid var(--gold);
}

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--line);
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 9, 15, 1) 0%,
            rgba(2, 9, 15, 0.94) 40%,
            rgba(2, 9, 15, 0.3) 72%,
            rgba(2, 9, 15, 0.5) 100%
        ),
        url("landing-concept.png");
    background-size: cover;
}

.gate-penguins-gate .hero {
    background-position: 0% 100%;
}

.gate-patagonia-gate .hero {
    background-position: 42% 100%;
}

.gate-northern-gate .hero {
    background-position: 52% 0%;
}

.gate-eastern-gate .hero {
    background-position: 100% 50%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 72%, var(--ink));
}

.hero-content {
    width: min(700px, 91%);
    margin-left: clamp(24px, 6vw, 96px);
    position: relative;
    z-index: 2;
}

.eyebrow,
.direction {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
}

h1 {
    margin: 20px 0;
    color: var(--gold-light);
    font-size: clamp(58px, 8vw, 112px);
    line-height: 0.92;
    font-weight: normal;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 570px;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-block;
    padding: 14px 23px;
    border: 1px solid var(--gold);
    background: rgba(4, 15, 25, 0.88);
    color: var(--gold-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lore,
.provenance {
    margin: 70px clamp(20px, 5vw, 80px);
    padding: 48px;
    border: 1px solid var(--line);
    background: rgba(5, 17, 27, 0.88);
}

.lore {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 55px;
}

.lore h2,
.provenance h2 {
    color: var(--gold-light);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: normal;
}

.lore p,
.provenance p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 18px;
}

.attributes,
.record-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.attributes article,
.record-grid article {
    min-height: 130px;
    padding: 22px;
    border: 1px solid rgba(201, 154, 70, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attributes span,
.record-grid span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
}

.attributes strong,
.record-grid strong {
    margin-top: 8px;
    color: var(--gold-light);
    font-size: 20px;
    font-weight: normal;
}

footer {
    padding: 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

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

@media (max-width: 720px) {
    .site-header {
        flex-wrap: wrap;
    }

    nav {
        width: 100%;
        order: 3;
        overflow-x: auto;
    }

    .back-button {
        margin-left: auto;
    }

    .attributes,
    .record-grid {
        grid-template-columns: 1fr;
    }

    .lore,
    .provenance {
        padding: 26px;
    }
}

.gate-penguins-gate .hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 9, 15, 1) 0%,
            rgba(2, 9, 15, 0.91) 42%,
            rgba(2, 9, 15, 0.18) 76%
        ),
        url("gates/penguins-gate.jpg");
}

.gate-patagonia-gate .hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 9, 15, 1) 0%,
            rgba(2, 9, 15, 0.91) 42%,
            rgba(2, 9, 15, 0.18) 76%
        ),
        url("gates/patagonia-gate.jpg");
}

.gate-northern-gate .hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 9, 15, 1) 0%,
            rgba(2, 9, 15, 0.91) 42%,
            rgba(2, 9, 15, 0.18) 76%
        ),
        url("gates/northern-gate.jpg");
}

.gate-eastern-gate .hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 9, 15, 1) 0%,
            rgba(2, 9, 15, 0.91) 42%,
            rgba(2, 9, 15, 0.18) 76%
        ),
        url("gates/eastern-gate.jpg");
}
