:root {
    color-scheme: light;
    --paper: #fffaf1;
    --surface: #ffffff;
    --ink: #29211f;
    --muted: #746b65;
    --line: #e9dfd4;
    --accent: #c82826;
    --accent-deep: #8e1e1c;
    --sun: #f4c342;
    --soft: #fff0cd;
    --green: #166847;
    --shadow: 0 18px 50px rgba(75, 45, 30, .09);
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body[data-palette="blue"] {
    --paper: #f1f8fb;
    --accent: #187995;
    --accent-deep: #10566a;
    --sun: #a9dce9;
    --soft: #dff1f5;
    --line: #d7e6e9;
    --green: #166847;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Playfair Display', serif; font-size: 19px; }
.wordmark small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.header-actions, .nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links { color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-links a:hover { color: var(--accent); }
.palette-toggle { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 700; }
.palette-toggle:hover { border-color: var(--accent); }
.palette-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; background: var(--sun); vertical-align: -1px; }
.hero { position: relative; overflow: hidden; padding: 64px 0 74px; background: var(--soft); }
.hero::after { position: absolute; right: -80px; bottom: -170px; width: 460px; height: 460px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 50%; content: ''; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 46px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .product-copy h1 { max-width: 690px; margin-bottom: 18px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(42px, 5vw, 66px); font-weight: 600; line-height: 1.04; }
.hero-copy { max-width: 510px; margin-bottom: 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button-primary, .button-quiet, .text-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.button-quiet { border-color: var(--line); background: var(--surface); }
.button-quiet:hover { border-color: var(--accent); }
.hero-showcase { position: relative; min-height: 320px; display: grid; place-items: center; }
.hero-showcase img { width: min(330px, 80%); aspect-ratio: 4 / 5; border-radius: 2px; object-fit: cover; box-shadow: var(--shadow); transform: rotate(2deg); }
.showcase-note { position: absolute; right: 4%; bottom: 8%; padding: 14px 18px; background: var(--surface); box-shadow: var(--shadow); font-family: 'Playfair Display', Georgia, serif; font-size: 18px; transform: rotate(-3deg); }
.showcase-note span { display: block; margin-top: 4px; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 10px; }
.benefit-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 18px 16px; text-align: center; color: var(--muted); font-size: 12px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit strong { color: var(--ink); }
.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 5px; font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 600; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 4 / 4.7; background: var(--soft); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .card-image img { transform: scale(1.04); }
.card-tag { position: absolute; top: 13px; left: 13px; padding: 7px 9px; background: var(--surface); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card-body { padding: 17px 17px 18px; }
.card-body h3 { margin-bottom: 7px; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 600; }
.card-detail { min-height: 36px; margin-bottom: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-price { font-size: 14px; font-weight: 700; }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; font-weight: 700; }
.recommendation { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; padding: 27px 30px; border-left: 4px solid var(--sun); background: var(--soft); }
.recommendation h2 { margin: 0 0 7px; font-family: 'Playfair Display', Georgia, serif; font-size: 25px; }
.recommendation p { max-width: 730px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(370px, .96fr); gap: 54px; padding-top: 34px; padding-bottom: 76px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--accent); }
.gallery { position: sticky; top: 100px; align-self: start; }
.gallery-main { position: relative; overflow: hidden; aspect-ratio: 4 / 4.7; background: var(--soft); }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.gallery-main video { background: #171514; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; background: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; }
.thumb-list { display: flex; gap: 10px; overflow-x: auto; padding: 12px 1px 4px; scrollbar-width: thin; }
.thumb { position: relative; width: 76px; height: 88px; flex: 0 0 76px; overflow: hidden; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border: 2px solid var(--accent); }
.thumb-video { display: grid; place-items: center; gap: 3px; color: var(--accent); font-size: 11px; font-weight: 700; }
.thumb-video span { font-size: 20px; }
.product-copy { padding-top: 5px; }
.product-copy h1 { margin-bottom: 10px; font-size: clamp(34px, 4vw, 48px); }
.product-price { margin-bottom: 16px; color: var(--accent); font-size: 24px; font-weight: 700; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.variant-block { padding: 20px 0 17px; }
.variant-block label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 12px; }
.variant-button.active, .variant-button:hover { border-color: var(--accent); color: var(--accent); }
.marketplace-label { margin: 3px 0 10px; font-size: 12px; font-weight: 700; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.buy-link { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 700; text-align: center; transition: border .18s ease, transform .18s ease; }
.buy-link:hover { transform: translateY(-1px); border-color: var(--accent); }
.buy-link.recommended { grid-column: 1 / -1; border-color: var(--green); background: var(--green); color: #fff; }
.buy-link.recommended:hover { background: #105339; }
.toco-note { margin: 10px 0 20px; padding: 12px 14px; border-left: 3px solid var(--sun); background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.6; }
.description { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.description h2 { margin-bottom: 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; }
.description p, .description li { color: var(--muted); font-size: 13px; line-height: 1.75; }
.description ul { padding-left: 19px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 600; }
.back-link:hover { color: var(--accent); }
.reveal { animation: arrive .55s both; }
.product-card:nth-child(2) { animation-delay: .08s; }
.product-card:nth-child(3) { animation-delay: .16s; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
    .nav-links { display: none; }
    .hero { padding: 44px 0 50px; }
    .hero-inner { grid-template-columns: 1fr .7fr; gap: 20px; }
    .hero-showcase { min-height: 260px; }
    .hero h1 { font-size: clamp(38px, 7vw, 54px); }
    .product-grid { gap: 13px; }
    .product-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 28px; }
}
@media (max-width: 620px) {
    .shell { width: min(100% - 32px, 500px); }
    .header-row { min-height: 64px; }
    .palette-toggle { min-height: 36px; padding: 0 9px; font-size: 11px; }
    .hero { padding: 38px 0 40px; }
    .hero-inner { grid-template-columns: 1fr; gap: 15px; }
    .hero h1 { max-width: 470px; font-size: 43px; }
    .hero-copy { margin-bottom: 20px; font-size: 14px; }
    .hero-showcase { min-height: 210px; justify-items: start; padding-left: 12%; }
    .hero-showcase img { width: 180px; aspect-ratio: 4 / 4.2; }
    .showcase-note { right: 4%; bottom: 2%; }
    .benefits { grid-template-columns: 1fr; }
    .benefit { padding: 11px 8px; }
    .benefit + .benefit { border-top: 1px solid var(--line); border-left: 0; }
    .section { padding: 48px 0; }
    .section-head { align-items: start; flex-direction: column; }
    .section-head h2 { font-size: 31px; }
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-card { display: grid; grid-template-columns: 39% 1fr; }
    .card-image { aspect-ratio: auto; min-height: 190px; }
    .card-body { display: flex; flex-direction: column; justify-content: center; padding: 13px; }
    .card-body h3 { font-size: 18px; }
    .card-detail { min-height: 0; }
    .recommendation { grid-template-columns: 1fr; padding: 21px; }
    .recommendation .button-primary { justify-self: start; }
    .footer-row { align-items: start; flex-direction: column; gap: 8px; }
    .product-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 19px; }
    .gallery { position: static; }
    .gallery-main { aspect-ratio: 4 / 4.45; }
    .product-copy { padding-top: 0; }
    .product-copy h1 { font-size: 37px; }
    .buy-grid { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}