/* Relations marketing page - single stylesheet, no build step. */

:root {
    --bg: #ffffff;
    --bg-alt: #f7f3ee;
    --surface: #ffffff;
    --text: #1c1a17;
    --text-muted: #5b544d;
    --accent: #885822;
    --accent-strong: #6f4620;
    --accent-soft: #ffddb4;
    --accent-on: #ffffff;
    --border: #e7e0ec;
    --shadow: 0 12px 32px rgba(24, 18, 8, 0.12);
    --radius: 18px;
    --radius-small: 12px;
    --wrap: 1160px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #090a0a;
        --bg-alt: #111413;
        --surface: #161a18;
        --text: #fafafa;
        --text-muted: #c5cbc7;
        --accent: #ffc16a;
        --accent-strong: #ffd18f;
        --accent-soft: #5d3a0e;
        --accent-on: #2b1700;
        --border: #26302b;
        --shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    }
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(var(--wrap), 100% - 3rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 50;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: var(--accent-on);
    border-radius: var(--radius-small);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-mark {
    width: 36px;
    height: 36px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-inline-start: auto;
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.lang-switch {
    display: flex;
    gap: 0.35rem;
    padding: 0.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.lang-switch button {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
    background: var(--accent);
    color: var(--accent-on);
    font-weight: 600;
}

/* Hero */

.hero {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: radial-gradient(1100px 520px at 12% -10%, var(--accent-soft) 0%, transparent 62%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-strong);
    margin-bottom: 0.75rem;
}

.lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-on);
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
}

.play-badge {
    display: inline-block;
    margin-bottom: 1.75rem;
}

.play-badge img {
    height: 62px;
    width: auto;
}

.fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fact-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.fact-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
}

.hero-shot {
    margin: 0;
}

.hero-shot img {
    width: auto;
    max-height: 620px;
    margin-inline: auto;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-shot figcaption {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sections */

.section {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-lead {
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 2rem;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.card h3 {
    margin-bottom: 0.4rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery */

.gallery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-nav {
    display: flex;
    gap: 0.5rem;
}

.round-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.round-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.gallery {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.shot {
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: start;
    width: 260px;
    cursor: zoom-in;
}

.shot img {
    width: 260px;
    height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.shot figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Step guide */

.stepper {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
}

.stepper button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.stepper button:hover {
    border-color: var(--accent);
    color: var(--text);
}

.stepper button[aria-current="step"] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-on);
    font-weight: 600;
}

.stepper .step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.22);
    background: color-mix(in srgb, currentColor 18%, transparent);
    font-size: 0.8rem;
}

.step-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.step-media {
    margin: 0;
}

.step-media img {
    width: auto;
    max-height: 560px;
    margin-inline: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.step-placeholder {
    display: grid;
    place-items: center;
    gap: 0.75rem;
    min-height: 320px;
    padding: 1.5rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-align: center;
}

.step-placeholder p {
    margin: 0;
    max-width: 32ch;
    font-size: 0.9rem;
}

.step-placeholder-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px dashed var(--accent);
}

.step-counter {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-weight: 600;
}

.step-body p {
    color: var(--text-muted);
}

.step-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

/* Tips */

.tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.tips-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    padding: 0.9rem 1.1rem;
    color: var(--text-muted);
}

.tips-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(8, 8, 8, 0.86);
}

.lightbox-figure {
    margin: 0;
    max-height: 100%;
}

.lightbox-figure img {
    width: auto;
    max-height: 78vh;
    margin-inline: auto;
    border-radius: var(--radius);
}

.lightbox-figure figcaption {
    margin-top: 0.9rem;
    text-align: center;
    color: #f2f2f2;
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .step-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 0;
        min-height: 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        margin-inline-start: 0;
        overflow-x: auto;
    }
}

@media (max-width: 520px) {
    .hero-shot img,
    .step-media img {
        max-height: none;
    }

    .shot,
    .shot img {
        width: 220px;
    }

    .shot img {
        height: 440px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }

    .btn:hover {
        transform: none;
    }
}
