:root {
    --bg: #170f0c;
    --bg-soft: #241713;
    --paper: rgba(63, 37, 29, 0.84);
    --paper-strong: #4d2d24;
    --ink: #f7ece0;
    --muted: #d5bca4;
    --line: rgba(233, 198, 154, 0.14);
    --cocoa: #f0dcc3;
    --berry: #9f4a59;
    --butter: #c9923f;
    --cream: #e8c58d;
    --shadow: 0 24px 70px rgba(6, 2, 2, 0.4);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(201, 146, 63, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(159, 74, 89, 0.16), transparent 28%),
        linear-gradient(180deg, #1b120f 0%, #241714 38%, #120b09 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(240, 220, 195, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 220, 195, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.45;
    z-index: -2;
}

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

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

main {
    padding: 24px 0 84px;
}

section {
    scroll-margin-top: 24px;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--berry);
    color: #fff;
    padding: 10px 14px;
    z-index: 2000;
    font-size: 14px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    border-radius: 8px;
}

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

.version-rail a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    min-height: 26px;
    padding: 4px 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(35, 23, 20, 0.9);
    color: rgba(255, 247, 236, 0.82);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

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

.version-rail a:hover,
.version-rail a:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.version-rail a[aria-current="page"] {
    background: var(--butter);
    color: #251611;
}

.poster-hero {
    padding-top: 24px;
}

.hero-shell {
    position: relative;
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.hero-kicker,
.eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--berry);
}

.hero-shell h1,
.section-heading h2,
.maker-copy h2,
.contact-aside h2,
.faq-section h2,
.legal-card h1 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 0.95;
}

.hero-shell h1 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 5.5rem);
}

.hero-intro {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--berry), #aa3655);
    color: #fff;
    box-shadow: 0 16px 34px rgba(142, 41, 68, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 20px 36px rgba(142, 41, 68, 0.28);
}

.button-secondary {
    background: rgba(77, 45, 36, 0.82);
    color: var(--cocoa);
    border-color: rgba(233, 198, 154, 0.18);
}

.flavor-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.flavor-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(77, 45, 36, 0.74);
    border: 1px solid rgba(233, 198, 154, 0.12);
    box-shadow: 0 12px 26px rgba(8, 3, 3, 0.24);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    animation: floatIn 0.6s ease both;
}

.flavor-chips span:nth-child(2) { animation-delay: 0.05s; }
.flavor-chips span:nth-child(3) { animation-delay: 0.1s; }
.flavor-chips span:nth-child(4) { animation-delay: 0.15s; }
.flavor-chips span:nth-child(5) { animation-delay: 0.2s; }

.poster-stage {
    width: 100%;
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.18fr) minmax(0, 0.9fr);
    align-items: stretch;
    gap: 22px;
}

.poster-card,
.poster-note,
.signature-entry,
.contact-aside,
.contact-form-wrap,
.faq-item,
.legal-card {
    background: var(--paper);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.poster-card {
    margin: 0;
    padding: 18px;
    border-radius: 30px;
    animation: riseIn 0.7s ease both;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 24px;
}

.poster-card figcaption {
    display: grid;
    gap: 6px;
    padding: 14px 8px 6px;
    text-align: left;
}

.poster-caption-label,
.signature-tag,
.poster-note-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--berry);
}

.poster-card strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.6vw, 1.75rem);
    line-height: 1;
}

.poster-note {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 20px;
    border-radius: 24px;
    text-align: left;
}

.poster-note h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 0.98;
    margin: 0;
}

.poster-note p {
    margin: 0;
    color: var(--muted);
}

.poster-note-text {
    gap: 12px;
}

.poster-note-proof {
    margin: 0;
    align-self: stretch;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
}

.poster-note-proof img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.poster-note-proof figcaption {
    display: grid;
    gap: 8px;
}

.hero-facts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-facts li {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(86, 56, 43, 0.68);
    border: 1px solid rgba(233, 198, 154, 0.1);
}

.hero-facts strong,
.micro-step strong,
.contact-points strong,
.contact-link strong {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-facts span,
.micro-step span,
.contact-points span,
.contact-link span {
    color: var(--muted);
    font-size: 14px;
}

.signature-shortlist,
.maker-strip,
.contact-section,
.faq-section {
    padding-top: 64px;
}

.section-heading {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    max-width: 820px;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
}

.section-intro {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.section-heading-compact {
    margin-bottom: 22px;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.signature-entry {
    position: relative;
    display: grid;
    grid-template-columns: minmax(140px, 230px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border-radius: 28px;
}

.signature-entry img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 20px;
}

.signature-entry-large {
    grid-column: span 7;
}

.signature-entry:not(.signature-entry-large) {
    grid-column: span 5;
}

.signature-copy {
    display: grid;
    align-content: center;
    gap: 10px;
}

.signature-copy h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 0.98;
}

.signature-copy p {
    margin: 0;
    color: var(--muted);
}

.signature-meta {
    font-size: 14px;
    font-weight: 600;
    color: var(--cocoa);
}

.signature-index {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(240, 220, 195, 0.32);
}

.maker-shell {
    display: grid;
    gap: 18px;
}

.maker-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 20px;
    padding: 22px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(84, 39, 35, 0.98), rgba(54, 24, 24, 0.96));
    color: #fff;
    box-shadow: 0 26px 60px rgba(41, 20, 18, 0.26);
}

.maker-copy h2 {
    color: #fff6ea;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.maker-copy p:last-child {
    margin: 0;
    color: rgba(255, 244, 229, 0.82);
}

.maker-figure {
    margin: 0;
}

.maker-figure img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 24px;
}

.micro-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.micro-step {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(92, 61, 46, 0.68);
    border: 1px solid rgba(233, 198, 154, 0.12);
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: start;
}

.contact-aside,
.contact-form-wrap {
    padding: 24px;
    border-radius: 28px;
}

.contact-aside {
    display: grid;
    gap: 18px;
}

.contact-aside h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.contact-aside > p {
    margin: 0;
    color: var(--muted);
}

.contact-points,
.contact-links {
    display: grid;
    gap: 12px;
}

.contact-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-points li,
.contact-link {
    display: grid;
    gap: 5px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(84, 54, 42, 0.72);
    border: 1px solid rgba(233, 198, 154, 0.1);
}

.contact-link:hover,
.contact-link:focus-visible {
    border-color: rgba(201, 146, 63, 0.34);
    box-shadow: 0 12px 30px rgba(8, 3, 3, 0.22);
}

.contact-form-wrap {
    background: rgba(47, 28, 23, 0.92);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--cocoa);
}

.required {
    color: var(--berry);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(233, 198, 154, 0.16);
    border-radius: 16px;
    padding: 13px 15px;
    font: inherit;
    color: var(--ink);
    background: rgba(21, 13, 11, 0.82);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(201, 146, 63, 0.38);
    box-shadow: 0 0 0 4px rgba(201, 146, 63, 0.1);
    background: rgba(34, 21, 18, 0.96);
}

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

.input--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

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

.form-success {
    background: #ebf5eb;
    color: #205428;
    border: 1px solid #c7dfc9;
}

.form-error {
    background: #fdecea;
    color: #8d2430;
    border: 1px solid #f1c5cc;
}

.form-legal {
    margin: 16px 0 0;
    font-size: 11px;
    color: rgba(247, 236, 224, 0.66);
}

.form-legal a {
    text-decoration: underline;
}

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

.faq-item {
    border-radius: 24px;
    padding: 18px 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--cocoa);
}

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

.faq-item p {
    margin: 10px 0 0;
    color: var(--muted);
}

.site-footer {
    padding: 0 0 40px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 0;
    border-top: 1px solid rgba(233, 198, 154, 0.12);
}

.footer-row strong {
    display: block;
    font-size: 15px;
    color: var(--cocoa);
}

.footer-row p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--berry);
}

.site-header {
    padding: 18px 0 0;
}

.header-row {
    display: flex;
    align-items: center;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--berry), #b94661);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 700;
}

.brand-copy strong {
    display: block;
    font-size: 15px;
    color: var(--cocoa);
}

.brand-copy span {
    color: var(--muted);
    font-size: 12px;
}

.legal-page main {
    padding-top: 28px;
}

.legal-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 30px;
}

.legal-card h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin: 6px 0 22px;
}

#legal-content h2 {
    margin: 26px 0 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    line-height: 1;
}

#legal-content p,
#legal-content li {
    color: var(--muted);
}

#legal-content ul,
#legal-content ol {
    padding-left: 22px;
}

.legal-card .button {
    margin-top: 18px;
}

.demo-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    padding: 6px 10px;
    background: rgba(19, 12, 11, 0.92);
    color: rgba(255, 247, 238, 0.74);
    text-align: center;
    font-size: 8px;
    line-height: 1.35;
    border-radius: 0;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .poster-stage {
        grid-template-columns: 1fr;
    }

    .poster-card {
        order: 1;
    }

    .poster-note-text {
        order: 0;
    }

    .poster-note-proof {
        order: 2;
    }

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

    .signature-entry,
    .signature-entry-large,
    .signature-entry:not(.signature-entry-large) {
        grid-column: span 1;
    }

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

@media (max-width: 920px) {
    .hero-facts,
    .contact-shell,
    .maker-card,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .signature-entry {
        grid-template-columns: 1fr;
    }

    .signature-entry img {
        min-height: 260px;
    }

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

@media (max-width: 680px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

    .poster-hero {
        padding-top: 10px;
    }

    .hero-actions,
    .form-actions,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .form-row,
    .micro-steps {
        grid-template-columns: 1fr;
    }

    .version-rail {
        left: 4px;
        padding: 4px 3px;
    }

    .version-rail a {
        min-width: 26px;
        min-height: 26px;
    }

    .poster-card,
    .poster-note,
    .contact-aside,
    .contact-form-wrap,
    .faq-item,
    .legal-card {
        border-radius: 22px;
    }

    .poster-card,
    .poster-note,
    .contact-aside,
    .contact-form-wrap,
    .legal-card {
        padding: 18px;
    }

    .maker-card {
        padding: 18px;
        border-radius: 24px;
    }
}