:root {
    --ink: #1c1612;
    --ink-soft: #3d332c;
    --muted: #7a6d62;
    --line: rgba(48, 32, 18, 0.1);
    --paper: #f3ece3;
    --card: rgba(255, 252, 247, 0.92);
    --amber: #c56a1e;
    --amber-deep: #8a4512;
    --gold: #e0ae58;
    --max: 760px;
    --wide: 1140px;
    --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background:
        radial-gradient(900px 480px at 100% -8%, rgba(224, 174, 88, 0.28), transparent 60%),
        radial-gradient(700px 420px at -10% 20%, rgba(196, 120, 70, 0.12), transparent 55%),
        var(--paper);
    line-height: 1.65;
    font-size: 17px;
    font-weight: 400;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 30;
    opacity: 0.14;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.55'/></svg>");
}

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

a { color: inherit; }

button, input, textarea { font-family: inherit; }

::selection { background: #f0c98a; color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 80;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
}

.skip:focus { top: 10px; }

.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 70;
    background: linear-gradient(90deg, #8a4512, #e0ae58);
    pointer-events: none;
}

.mast {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 14px 28px;
    background: rgba(243, 236, 227, 0.78);
    border-bottom: 1px solid rgba(48, 32, 18, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ink);
    color: #f6e7c8;
    font-family: var(--serif);
    font-weight: 560;
    font-size: 14px;
    letter-spacing: -0.04em;
}

.brand strong {
    display: block;
    font-family: var(--serif);
    font-weight: 560;
    font-size: 17px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.mast nav { display: flex; gap: 4px; }

.mast nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
}

.mast nav a:hover { background: rgba(255, 252, 247, 0.9); }

.mast nav a[aria-current="page"] {
    background: var(--ink);
    color: #f6e7c8;
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.wide { width: min(var(--wide), calc(100% - 32px)); margin: 0 auto; }

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: center;
    margin-top: 22px;
    padding: 28px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(48, 32, 16, 0.07);
}

.sponsor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff6ea;
    color: var(--amber-deep);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sponsor::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; }

h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}

h1 span {
    display: block;
    margin-top: 10px;
    font-size: 0.58em;
    font-style: italic;
    font-weight: 500;
    color: var(--amber-deep);
    letter-spacing: -0.03em;
}

.deck {
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 16px;
    max-width: 40em;
}

.meta { color: var(--muted); font-size: 13px; margin: 16px 0; }

.notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    background: #fff8ee;
    border: 1px solid rgba(197, 106, 30, 0.18);
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.notice::before {
    content: "i";
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #f6e7c8;
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
}

.notice p { margin: 0; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-photo {
    margin: 0;
    border-radius: 26px;
    background: radial-gradient(ellipse at 50% 42%, #fff 0%, #fff 34%, #f4e4cf 70%, #e8d3b6 100%);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.hero-photo img {
    width: 100%;
    height: min(560px, 68vh);
    object-fit: contain;
    mix-blend-mode: multiply;
    padding: 12px 12px 0;
}

.hero-photo figcaption {
    padding: 4px 16px 14px;
    text-align: center;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    margin: 14px auto 0;
}

.facts li {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 16px 16px 14px;
    box-shadow: 0 10px 30px rgba(48, 32, 16, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facts li:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(48, 32, 16, 0.09);
}

.facts b {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 560;
    letter-spacing: -0.04em;
}

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

.reading {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 18px;
}

.rail { position: sticky; top: 86px; }

.rail-kicker {
    margin: 0 10px 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sheet {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 32px;
    padding: 28px 28px 12px;
    box-shadow: 0 24px 60px rgba(48, 32, 16, 0.06);
}

.sheet + .sheet, .product + .sheet { margin-top: 16px; }

.sheet > figure:first-child { margin-top: 4px; }

.prose p { margin: 0 0 16px; }

.prose a:not(.cta):not(.ghost) {
    color: var(--amber-deep);
    font-weight: 600;
    text-underline-offset: 3px;
}

h2 {
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 34px 0 12px;
    scroll-margin-top: 88px;
}

h3 {
    font-size: 22px;
    letter-spacing: -0.03em;
    margin: 26px 0 8px;
}

.toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
}

.toc a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.3;
}

.toc a span {
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 560;
}

.toc a:hover,
.toc a.is-active {
    background: var(--ink);
    color: #f8f1e6;
}

.rail-link {
    display: inline-flex;
    margin: 14px 10px 0;
    color: var(--amber-deep);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.rail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

figure { margin: 22px 0; }

.shot {
    border-radius: 22px;
    overflow: hidden;
    background: #f6efe6;
    box-shadow: 0 16px 40px rgba(48, 32, 16, 0.08);
}

.shot img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cinema img { aspect-ratio: 16 / 9; }

.prep img { aspect-ratio: 4 / 3; }

.shot:hover img { transform: scale(1.035); }

img[data-zoom], .studio { cursor: zoom-in; }

figcaption {
    margin-top: 0;
    padding: 12px 14px 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

figcaption::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 2px;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--gold);
    vertical-align: middle;
}

.hero-photo figcaption::before { display: none; }

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.pair figure { margin: 0; }

.pair img { aspect-ratio: 4 / 3; }

.phases,
.routine,
.ingredients {
    list-style: none;
    padding: 0;
}

.phases,
.routine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 8px 0 20px;
}

.phases li,
.routine li,
.ingredients li {
    background: linear-gradient(180deg, #fff 0%, #fbf6ee 100%);
    border: 1px solid rgba(48, 32, 18, 0.07);
    border-radius: 18px;
    padding: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.phases li:hover,
.routine li:hover,
.ingredients li:hover {
    transform: translateY(-2px);
    border-color: rgba(197, 106, 30, 0.35);
}

.phases em,
.routine em {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    color: var(--amber);
    font-size: 20px;
}

.phases strong,
.routine strong { display: block; margin: 4px 0 6px; font-size: 15px; }

.phases span,
.routine span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.ingredients {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 8px 0 18px;
}

.ingredients strong { font-family: var(--serif); font-weight: 560; font-size: 16px; }

ul.clean, .panel ul, .legal ul {
    margin: 8px 0 18px;
    padding: 0;
    list-style: none;
}

ul.clean li, .panel li, .legal li {
    position: relative;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid var(--line);
}

ul.clean li::before, .panel li::before, .legal li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.specs, .compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    margin: 8px 0 18px;
}

.specs td, .specs th, .compare td, .compare th {
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-weight: 450;
}

.specs th, .compare th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 650;
}

.specs tr.pick td {
    background: #fff6ea;
    font-weight: 600;
}

.product .specs td:first-child { color: var(--muted); width: 38%; }

.specs tr.pick td { color: var(--ink); }

.product {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: start;
    margin-top: 16px;
    padding: 18px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(48, 32, 16, 0.06);
}

.product h2 { margin-top: 0; }

.studio {
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 40%, #fff 0%, #fff 28%, #f4e4cf 68%, #e7d2b4 100%);
    min-height: 480px;
    display: grid;
    place-items: center;
}

.studio img {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    mix-blend-mode: multiply;
    padding: 8px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.thumbs button {
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #fff, #f3e6d4);
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(48, 32, 18, 0.06);
}

.thumbs button.is-on { box-shadow: inset 0 0 0 2px var(--amber); }

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    padding: 4px;
}

.stage-cap { margin: 10px 2px 0; }

.programs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.programs li {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff6ea;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 12px;
}

.price-line strong {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 560;
    letter-spacing: -0.04em;
}

.price-line span { color: var(--muted); font-size: 13px; }

.faq { margin: 8px 0 18px; }

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    font-weight: 600;
}

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

.faq summary::after {
    content: "+";
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1;
    color: var(--amber);
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 0 0 14px; color: var(--ink-soft); }

.cta, .ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 650;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta {
    background: var(--ink);
    color: #f8f1e6;
}

.cta::after { content: "→"; transition: transform 0.2s ease; }

.cta:hover { background: #322820; }

.cta:hover::after { transform: translateX(3px); }

.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(28, 22, 18, 0.16);
}

.ghost:hover { background: rgba(255, 255, 255, 0.7); }

.fine, .disclaimer {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.site-foot {
    position: relative;
    z-index: 1;
    width: min(var(--wide), calc(100% - 24px));
    margin: 22px auto 0;
    padding: 36px 32px 24px;
    background: #1c1612;
    color: #ddd4c8;
    border-radius: 32px 32px 0 0;
}

.site-foot .wrap { width: min(1120px, 100%); }

.site-foot a { color: #fff; }

.foot-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 28px;
}

.foot-brand {
    color: #fff;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 560;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.site-foot h2 {
    color: #b5a496;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.company-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.company-list li { font-size: 14px; color: #fff; }

.company-list li::before { display: none; }

.company-list span {
    display: block;
    color: #b5a496;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.foot-links a { text-decoration: none; }

.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.foot-links p { width: 100%; color: #b5a496; font-size: 12px; }

.legal {
    width: min(820px, calc(100% - 32px));
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 36px 36px 42px;
    margin-top: 22px;
    box-shadow: 0 24px 60px rgba(48, 32, 16, 0.06);
}

.legal h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.035em; }

.back {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
}

.back:hover { color: var(--ink); }

.panel {
    background: #fbf6ee;
    border-radius: 18px;
    padding: 8px 18px;
    margin: 16px 0;
    border: 1px solid rgba(48, 32, 18, 0.05);
}

.panel h3, .panel h4 { margin-top: 8px; }

.table-wrap { overflow-x: auto; }

.cookie {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #fffdf9;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(28, 22, 18, 0.18);
    z-index: 80;
}

.cookie.is-hidden { display: none; }

.cookie p { margin: 0; font-size: 13px; line-height: 1.45; }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.cookie button {
    font-size: 13px;
    font-weight: 650;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    background: #f3ece3;
    border: 0;
}

.cookie .yes { background: var(--ink); color: #f8f1e6; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 28px 16px 20px;
    background: rgba(22, 16, 12, 0.86);
    backdrop-filter: blur(8px);
}

.lightbox[hidden] { display: none; }

.lightbox figure {
    margin: 0;
    justify-self: center;
    width: min(1040px, 100%);
}

.lightbox img {
    width: auto;
    max-width: 100%;
    max-height: 76vh;
    margin: 0 auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    object-fit: contain;
}

.lightbox figcaption {
    color: #f6efe6;
    text-align: center;
    background: transparent;
}

.lightbox figcaption::before { background: #e0ae58; }

.lightbox button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.lightbox button:hover { background: rgba(255, 252, 247, 0.28); }

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (max-width: 860px) {
    .hero, .product, .reading, .facts, .foot-grid, .company-list, .pair, .phases, .routine, .ingredients {
        grid-template-columns: 1fr;
    }

    .rail { position: static; }

    .toc {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-bottom: 8px;
    }

    .toc a {
        white-space: nowrap;
        background: rgba(255, 252, 247, 0.8);
    }

    .hero-photo img { height: 380px; }

    .studio { min-height: 320px; }

    .studio img { max-height: 380px; }

    .thumbs { grid-template-columns: repeat(5, 1fr); }

    .sheet, .hero, .product, .legal { padding: 18px; border-radius: 24px; }

    .cookie { flex-direction: column; align-items: stretch; }

    .hero-actions .cta, .product .cta, .tail .cta { width: 100%; }
}

@media (max-width: 640px) {
    .mast { flex-wrap: wrap; padding: 12px 16px; }

    .mast nav { width: 100%; }

    .facts b, .price-line strong { font-size: 22px; }

    h1 { font-size: 34px; }
}

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

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal { opacity: 1; transform: none; }
}
