:root {
    --ink: #4a2340;
    --rose: #e4377a;
    --rose-deep: #c2185b;
    --candy: #ff5b9a;
    --gold: #ffb020;
    --gold-deep: #e08900;
    --cream: #fff7fb;
    --paper: #ffffff;
    --line: rgba(74, 35, 64, 0.12);
    --blue: #3aa0ff;
    --green: #2fbe6a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(520px 280px at 8% 0%, rgba(255, 176, 32, 0.28), transparent 70%),
        radial-gradient(640px 360px at 100% 8%, rgba(58, 160, 255, 0.18), transparent 68%),
        linear-gradient(180deg, #fff 0%, var(--cream) 40%, #fff 100%);
    font-family: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
button, input { font: inherit; }
h1, h2, h3 { font-family: Georgia, "Palatino Linotype", Palatino, serif; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 14px; }

.shell {
    width: 1200px;
    max-width: calc(100% - 28px);
    margin: 28px auto 48px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
.rail {
    width: 230px;
    flex: 0 0 230px;
    position: sticky;
    top: 18px;
    padding: 18px 16px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(226, 55, 122, 0.08);
}
.brand-lock {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    margin-bottom: 18px;
}
.brand-lock img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 64px;
}
.brand-lock span {
    font-family: Georgia, "Palatino Linotype", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
}
.rail-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 12px;
}
.nav-link.is-here { background: #ffe4f0; color: var(--rose-deep); }
.store-link {
    display: block;
    margin-top: 16px;
    padding: 13px 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7ab3 0%, var(--rose) 100%);
    box-shadow: 0 10px 22px rgba(228, 55, 122, 0.35);
}
.store-link.is-here {
    color: #5a3200;
    background: linear-gradient(180deg, #ffe08a 0%, var(--gold) 100%);
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rose);
}
.main { flex: 1 1 auto; min-width: 0; }

.opening {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    padding: 8px 0 10px;
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--rose-deep);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
}
h1 { margin: 0 0 12px; font-size: 46px; color: #3a1830; }
.lede { font-size: 18px; }
.play-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.play img { width: 210px; height: auto; aspect-ratio: 499 / 171; }
.banner-hold {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 1024 / 500;
    box-shadow: 0 18px 40px rgba(74, 35, 64, 0.12);
}
.banner-hold img { width: 100%; height: 100%; object-fit: cover; }

.band, .chapter, .film-block, .postcard, .shop-block, .receipt, .result, .fault {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px 28px;
}
.band h2, .chapter h2, .film-block h2, .postcard h2, .shop-block h2 { margin: 0 0 14px; font-size: 30px; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: center; }
.shot {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 1280 / 800;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.trio, .quad { display: grid; gap: 14px; margin-top: 8px; }
.trio { grid-template-columns: repeat(3, 1fr); }
.quad { grid-template-columns: repeat(4, 1fr); }
.tile, .step, .fact {
    background: #fff5f9;
    border-radius: 18px;
    padding: 14px 14px 12px;
}
.tile h3, .step h3 { margin: 8px 0 6px; font-size: 18px; }
.ico { width: 26px; height: 26px; color: var(--rose); }
.more { font-weight: 800; text-decoration: none; }

.studio-row { display: flex; gap: 18px; align-items: center; }
.studio-row img { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; flex: 0 0 92px; }
.coin-tease { display: flex; gap: 16px; align-items: center; }
.coin-tease img { width: 72px; height: 71px; object-fit: contain; flex: 0 0 72px; }

.company-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack .mark {
    width: 168px;
    height: 168px;
    border-radius: 28px;
    object-fit: cover;
}
.stack .still {
    width: 250px;
    aspect-ratio: 1280 / 800;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.quote { margin: 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 16px 16px 0; }
.quote strong { display: block; margin-bottom: 6px; }
.culture { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.culture span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
}
.facts { display: grid; gap: 10px; margin-top: 16px; }
.fact { display: flex; gap: 10px; align-items: flex-start; }
.fact div { min-width: 0; }

.filmstrip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.online-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8fff2;
    color: #0d7a3a;
    font-weight: 800;
}
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.postcard { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: center; }
.postcard .still {
    width: 100%;
    aspect-ratio: 1280 / 800;
    object-fit: cover;
    border-radius: 22px;
}

.shop-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.tray {
    max-height: 560px;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-right: 4px;
}
.coin-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
}
.coin-card img { width: 54px; height: 53px; object-fit: contain; grid-row: 1 / span 2; }
.coin-card strong { font-size: 14px; }
.coin-card span { color: var(--rose-deep); font-weight: 800; }
.coin-card.is-picked { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(228, 55, 122, 0.18); }
.order-desk {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    position: sticky;
    top: 18px;
}
.order-desk h2 { margin: 0 0 10px; font-size: 26px; }
.field { display: block; margin-bottom: 12px; }
.field > span, .pay-label { display: block; font-weight: 800; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}
.pay-option, .pay-static { display: block; margin: 4px 0; }
.pay-static { color: #8a6a7c; }
.currency-row { display: flex; flex-wrap: wrap; gap: 8px; }
.currency-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}
.currency-btn.is-on { background: #ffe4f0; border-color: var(--rose); color: var(--rose-deep); font-weight: 800; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 14px; }
.confirm-btn {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #ff7ab3, var(--rose));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}
.summary { margin-bottom: 12px; font-weight: 700; }
.form-note {
    background: #fff1f4;
    color: #9d123c;
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
.promise h3 { margin: 16px 0 6px; font-size: 20px; }
.crumbs { margin: 0 0 8px; font-size: 14px; }
.crumbs a { text-decoration: none; font-weight: 700; }

.receipt dl, .result, .fault { margin-top: 0; }
.receipt { margin-top: 0; }
dl { margin: 0; }
.receipt div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.receipt dt { font-weight: 800; }
.result, .fault { text-align: center; }
.result .ico, .fault .ico { width: 54px; height: 54px; margin: 0 auto 8px; }
.result.ok { background: #f3fff7; }
.result.bad { background: #fff5f7; }
.fault { background: #fff8f1; }

.colophon { margin-top: 28px; padding-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { text-decoration: none; font-weight: 700; color: var(--ink); }
.copy { margin-top: 10px; color: #7d5b70; }

@media (max-width: 980px) {
    .shell { display: block; width: auto; }
    .rail { width: auto; position: static; margin-bottom: 18px; }
    .rail-nav { flex-direction: row; flex-wrap: wrap; }
    .store-link { margin-top: 8px; }
    .opening, .split, .company-layout, .postcard, .shop-layout, .quote-row, .filmstrip, .steps, .trio, .quad {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 36px; }
    .stack .still, .stack .mark { width: min(100%, 250px); }
}
