:root {
    --bg: #0c0f14;
    --panel: #121720;
    --panel-soft: #1a202b;
    --panel-light: #efe9e2;
    --paper: #f5f0ea;
    --text: #f2f0ed;
    --text-dark: #151820;
    --muted: rgba(242, 240, 237, 0.74);
    --muted-dark: #61656d;
    --line: rgba(255, 255, 255, 0.1);
    --line-dark: rgba(18, 23, 32, 0.12);
    --gold: #d5a15b;
    --coral: #f2694f;
    --radius-xl: 36px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --shell: min(1180px, calc(100vw - 32px));
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(213, 161, 91, 0.14), transparent 24%),
        radial-gradient(circle at right 10%, rgba(242, 105, 79, 0.12), transparent 18%),
        linear-gradient(180deg, #0b0e13 0%, #121722 44%, #0a0d12 100%);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--text-dark);
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

.version-rail {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 120;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
}

.version-rail a {
    min-width: 26px;
    min-height: 26px;
    padding: 4px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(12, 15, 20, 0.92);
    color: #f2f0ed;
    font-size: 8px;
    line-height: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.version-rail a:first-child {
    border-top: 0;
}

.version-rail a:hover,
.version-rail a:focus-visible {
    background: linear-gradient(135deg, var(--gold), var(--coral));
    color: #11131a;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 13, 18, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--coral));
    color: #11131a;
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.brand-copy {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 0.9rem;
}

.brand-copy strong {
    color: var(--text);
    font-size: 1rem;
}

.site-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 0.95rem;
}

.site-nav a {
    color: rgba(242, 240, 237, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.poster-link:hover,
.poster-link:focus-visible,
.demo-banner a:hover,
.demo-banner a:focus-visible {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.poster-section,
.section {
    padding: 60px 0;
}

.poster-layout,
.lookbook-layout,
.manifesto-layout,
.fit-board,
.brief-layout,
.faq-layout {
    display: grid;
    gap: 28px;
}

.poster-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    align-items: center;
}

.eyebrow,
.poster-tag,
.panel-index {
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold);
}

h1,
h2,
h3,
strong {
    margin: 0;
    font-family: "Syne", sans-serif;
    line-height: 1;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    max-width: 9ch;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
}

h3 {
    font-size: 1.5rem;
}

.poster-text,
.poster-card p,
.lookbook-panel p,
.manifesto-lines p,
.fit-tiles p,
.brief-intro p,
.brief-notes p,
.faq-grid p,
.form-legal,
.site-footer p,
.legal-card {
    color: var(--muted);
}

.poster-text {
    max-width: 56ch;
    margin: 24px 0 0;
}

.poster-actions,
.footer-links,
.lookbook-grid,
.manifesto-lines,
.fit-tiles,
.brief-notes,
.faq-grid,
.form-actions {
    display: grid;
    gap: 16px;
}

.poster-actions {
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold), var(--coral));
    color: #11131a;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.poster-link {
    font-weight: 700;
}

.poster-art,
.brief-intro,
.brief-form,
.lookbook-panel,
.manifesto-lines article,
.fit-tiles article,
.faq-grid details,
.legal-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.poster-art,
.brief-intro,
.brief-form,
.legal-card {
    border-radius: var(--radius-xl);
}

.poster-art {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at 78% 18%, rgba(242, 105, 79, 0.22), transparent 20%),
        radial-gradient(circle at 22% 26%, rgba(213, 161, 91, 0.18), transparent 24%),
        linear-gradient(180deg, #171b25 0%, #0d1118 100%);
}

.poster-card {
    position: absolute;
    max-width: 270px;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.poster-card-main {
    top: 28px;
    left: 28px;
}

.poster-card-side {
    right: 28px;
    bottom: 34px;
}

.poster-sculpture {
    position: absolute;
    inset: 110px 90px 86px 90px;
}

.sculpture-panel,
.sculpture-base,
.sculpture-tier,
.sculpture-bar,
.sculpture-orb {
    position: absolute;
}

.sculpture-panel {
    inset: 0;
    border-radius: 32px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.sculpture-base {
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 14%;
    border-radius: 28px;
    background: linear-gradient(180deg, #515d72, #232a36);
}

.sculpture-tier-low {
    left: 23%;
    right: 23%;
    bottom: 12%;
    height: 24%;
    border-radius: 24px;
    background: linear-gradient(180deg, #f4e6d3, #d1b28d);
}

.sculpture-tier-mid {
    left: 31%;
    right: 31%;
    bottom: 32%;
    height: 19%;
    border-radius: 20px;
    background: linear-gradient(180deg, #f4efe7, #dac5a6);
}

.sculpture-tier-top {
    left: 39%;
    right: 39%;
    bottom: 49%;
    height: 14%;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8f1, #ead7ba);
}

.sculpture-bar {
    width: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold), var(--coral));
}

.sculpture-bar-left {
    left: 46%;
    top: 8%;
    bottom: 14%;
    transform: rotate(18deg);
}

.sculpture-bar-right {
    right: 46%;
    top: 14%;
    bottom: 20%;
    transform: rotate(-18deg);
}

.sculpture-orb {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff4dd, var(--coral));
    box-shadow: 0 0 30px rgba(242, 105, 79, 0.32);
}

.sculpture-orb-left {
    left: 20%;
    top: 20%;
}

.sculpture-orb-right {
    right: 18%;
    top: 28%;
}

.section-paper {
    background: rgba(255, 255, 255, 0.02);
}

.section-band {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
}

.section-brief {
    background: linear-gradient(180deg, #f0ebe5 0%, #e7e1d9 100%);
    color: var(--text-dark);
}

.section-heading {
    max-width: 860px;
}

.section-heading-tight {
    max-width: 720px;
}

.lookbook-grid {
    grid-template-columns: 1fr 1fr 0.85fr;
    grid-template-areas:
        "tall wide wide"
        "tall small-one small-two";
}

.lookbook-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    min-height: 220px;
    background: linear-gradient(180deg, #151924 0%, #0f131b 100%);
}

.lookbook-panel-tall {
    grid-area: tall;
    min-height: 460px;
    background:
        radial-gradient(circle at right top, rgba(242, 105, 79, 0.2), transparent 28%),
        linear-gradient(180deg, #1a1f2b 0%, #10131a 100%);
}

.lookbook-panel-wide {
    grid-area: wide;
    min-height: 220px;
    background:
        radial-gradient(circle at left bottom, rgba(213, 161, 91, 0.22), transparent 30%),
        linear-gradient(180deg, #161a23 0%, #11151d 100%);
}

.manifesto-layout,
.fit-board,
.faq-layout {
    gap: 24px;
}

.manifesto-lines,
.fit-tiles,
.faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manifesto-lines article,
.fit-tiles article,
.brief-notes article,
.faq-grid details {
    padding: 22px;
    border-radius: var(--radius-md);
}

.brief-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.brief-intro,
.brief-form,
.legal-card {
    padding: 28px;
}

.brief-intro,
.brief-form,
.brief-notes article,
.legal-card {
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 50px rgba(31, 23, 18, 0.12);
}

.section-brief .eyebrow,
.section-brief .poster-tag,
.section-brief .panel-index {
    color: #9a593e;
}

.section-brief .brief-intro p,
.section-brief .brief-notes p,
.section-brief .form-legal,
.section-brief .form-status,
.legal-card {
    color: var(--muted-dark);
}

.brief-notes {
    margin-top: 24px;
    grid-template-columns: 1fr;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(18, 23, 32, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 190px;
}

.input--hidden {
    position: absolute;
    left: -9999px;
}

.form-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-submit {
    width: 100%;
}

.form-status {
    display: none;
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.form-success {
    background: rgba(71, 136, 97, 0.14);
    color: #2d6842;
}

.form-error {
    background: rgba(180, 61, 87, 0.14);
    color: #8e4259;
}

.faq-grid details {
    background: var(--panel-soft);
}

.faq-grid summary {
    cursor: pointer;
    list-style: none;
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
}

.faq-grid summary::-webkit-details-marker {
    display: none;
}

.faq-grid p {
    margin: 14px 0 0;
}

.form-legal a,
.footer-links a,
.demo-banner a {
    text-decoration: underline;
}

.legal-section {
    min-height: calc(100vh - 80px);
}

.legal-card h2 {
    margin-top: 32px;
    font-size: 1.55rem;
}

.legal-card ul {
    padding-left: 20px;
}

.site-footer {
    padding: 20px 0 48px;
}

.footer-row {
    align-items: flex-start;
}

.footer-links {
    grid-auto-flow: column;
    align-items: center;
}

.demo-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    padding: 4px 8px;
    background: rgba(12, 15, 20, 0.94);
    color: #f2f0ed;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    text-align: center;
}

.demo-banner span {
    font-size: 8px;
    line-height: 1.2;
}

@media (max-width: 980px) {
    .poster-layout,
    .lookbook-grid,
    .manifesto-lines,
    .fit-tiles,
    .brief-layout,
    .faq-grid,
    .form-actions,
    .form-row,
    .poster-actions {
        grid-template-columns: 1fr;
    }

    .lookbook-grid {
        grid-template-areas: none;
    }

    .lookbook-panel-tall,
    .lookbook-panel-wide {
        grid-area: auto;
        min-height: 220px;
    }
}

@media (max-width: 760px) {
    .version-rail {
        top: auto;
        bottom: 56px;
        transform: none;
    }

    .version-rail a {
        min-width: 30px;
        min-height: 30px;
        padding: 6px 5px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
        background: rgba(18, 23, 32, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-row,
    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .poster-actions {
        justify-items: start;
    }

    .poster-art {
        min-height: 500px;
        padding: 20px;
    }

    .poster-sculpture {
        inset: 120px 40px 90px 40px;
    }

    .brief-intro,
    .brief-form,
    .legal-card {
        padding: 22px;
    }
}
