:root {
  --ivory: #f6f1ea;
  --paper: #fffdfb;
  --stage: #efe6dc;
  --blush: #f3e4e1;
  --rose: #a85d68;
  --ink: #1c1714;
  --muted: #6f6862;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --header: 104px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); line-height: 1.5; overflow-x: clip; }
img { max-width: 100%; display: block; }
picture { display: grid; place-items: center; width: 100%; height: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .4rem .7rem; z-index: 50; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246,241,234,.94); backdrop-filter: blur(16px); }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(28,23,20,.06); }
.topbar { height: 34px; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0 16px; background: var(--ink); color: #f6f1ea; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.topbar p { margin: 0; }
.topbar a { color: inherit; text-decoration: none; }
.bar { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 70px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.brand img, .foot-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand small { display: block; margin-top: .15rem; font-family: var(--sans); letter-spacing: .22em; text-transform: uppercase; font-size: .58rem; color: var(--muted); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: .15rem .85rem; min-width: 0; }
.nav-more { display: none; }
.main-nav a { text-decoration: none; font-size: .78rem; letter-spacing: .03em; white-space: nowrap; padding: .35rem 0; }
.only-mobile { display: none; }
.tools { display: flex; align-items: center; gap: .15rem; }
.tools .icon-btn, .nav-toggle { width: 42px; height: 42px; display: grid; place-items: center; position: relative; border-radius: 50%; }
.tools svg, .wish svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; gap: 5px; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.icon-btn, .text-btn { background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.bag-toggle span { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: .65rem; }

.hero { position: relative; background: #14110f; overflow: hidden; }
.hero-track { position: relative; height: min(88vh, 860px); min-height: 560px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .9s ease; }
.hero-slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.hero-wash { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-wash picture { position: absolute; inset: -8%; width: auto; height: auto; }
.hero-wash img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: blur(22px) brightness(.72) saturate(1.08); transform: scale(1.12); }
.hero-frame { position: relative; z-index: 1; height: 100%; aspect-ratio: 9 / 16; width: auto; max-width: min(44vw, 500px); overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center 16%; }
.hero-frame img { transform: scale(1.07); }
.hero-slide.is-on .hero-frame img { animation: hero-drift 8s ease both; }
@keyframes hero-drift { from { transform: scale(1.1); } to { transform: scale(1.05); } }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(12,9,8,.45), transparent 16%, transparent 84%, rgba(12,9,8,.45)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .95; }
.hero-arrow { position: absolute; top: 46%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,253,251,.4); background: rgba(255,253,251,.14); backdrop-filter: blur(8px); cursor: pointer; transition: transform .25s ease, background .25s ease; }
.hero-arrow:hover { transform: translateY(-2px); background: rgba(255,253,251,.28); }
.hero-arrow::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.hero-arrow.prev { left: 1.1rem; }
.hero-arrow.prev::before { transform: rotate(-135deg); margin-left: 18px; }
.hero-arrow.next { right: 1.1rem; }
.hero-arrow.next::before { transform: rotate(45deg); margin-right: 18px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 1.15rem; z-index: 3; display: flex; justify-content: center; gap: .4rem; }
.hero-dots button { width: 1.5rem; height: 2px; border: 0; background: rgba(255,253,251,.45); padding: 0; cursor: pointer; }
.hero-dots button[aria-current="true"] { width: 2.4rem; background: #fff; }

.eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--muted); margin: 0 0 .4rem; }
.lead { font-size: 1.12rem; max-width: 38rem; }
.band { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.8rem; padding: 1rem 6vw; background: var(--ink); color: var(--ivory); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); }
.band h1, .band p { margin: 0; font-size: inherit; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.block, .rail-block, .page-head, .news-band { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.block { padding: 4.2rem 0 1rem; }
h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); margin: 0 0 1.1rem; }
.cat-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 250px; gap: .8rem; }
.cat-tile { position: relative; overflow: hidden; display: grid; color: #fff; text-decoration: none; background: var(--stage); border-radius: 18px; transform: translateZ(0); transition: transform .45s ease; }
.cat-tile:first-child { grid-row: span 2; }
.cat-tile picture, .cat-tile img { width: 100%; height: 100%; object-fit: contain; }
.cat-tile:hover { transform: translateY(-6px); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; display: flex; flex-direction: column; background: linear-gradient(transparent, rgba(28,23,20,.55)); }
.cat-tile b { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.cat-tile small { color: rgba(255,255,255,.86); }

.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.rail-head a { text-decoration: none; border-bottom: 1px solid var(--ink); }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .1rem 1.2rem; }
.rail::-webkit-scrollbar { height: 0; }
.piece-rail { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
.piece { position: relative; background: transparent; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.piece-visual { position: relative; display: grid; place-items: center; aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(180deg, #f8f3ed, var(--stage)); border-radius: 18px; box-shadow: 0 16px 40px rgba(28,23,20,.08); }
.piece-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.piece .wish { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,253,251,.92); }
.piece .wish.is-on svg { fill: var(--rose); stroke: var(--rose); }
.piece-body { padding: .85rem .1rem 1rem; }
.piece h3 { margin: 0; font-size: 1.55rem; }
.piece h3 a { text-decoration: none; }
.piece-row { display: flex; flex-wrap: wrap; gap: .4rem .55rem; align-items: center; margin-top: .35rem; }
.piece-row strong { font-family: var(--serif); font-size: 1.45rem; margin-right: auto; }
.flag { position: absolute; left: .75rem; top: .75rem; z-index: 2; background: rgba(255,253,251,.94); padding: .25rem .55rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; }
.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.1rem; }
.poster { width: min(1180px, calc(100% - 40px)); margin: 1.4rem auto 0; }
.poster a { display: grid; place-items: center; background: var(--stage); border-radius: 22px; overflow: hidden; min-height: 420px; }
.poster img { width: 100%; max-height: 72vh; object-fit: contain; }
.gift-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 1.2rem; }
.gift-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1.3rem; text-decoration: none; color: var(--ink); background: radial-gradient(circle at 18% 0%, #fff, var(--blush) 46%, #e7d3c4); border-radius: 18px; box-shadow: 0 14px 30px rgba(168,93,104,.12); transition: transform .35s ease; }
.gift-card:hover { transform: translateY(-6px) rotateX(3deg); }
.gift-card span { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); }
.brand-split { width: min(1180px, calc(100% - 40px)); margin: 2.4rem auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: center; }
.brand-split picture { background: var(--stage); border-radius: 22px; min-height: 360px; }
.brand-photo, .brand-split img { width: 100%; height: 100%; object-fit: contain; }
.mosaic { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: .7rem; margin-bottom: 1rem; }
.mosaic a { display: grid; place-items: center; overflow: hidden; background: var(--stage); border-radius: 16px; min-height: 280px; }
.mosaic img { width: 100%; height: 320px; object-fit: contain; }
.news-band { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2.5rem 0 4rem; }
.news, .stack, .filters, .checkout form, .gift-preview { display: grid; gap: .75rem; }
.news input, .stack input, .stack textarea, .stack select, .filters input, .filters select, .checkout input, .checkout select, .gift-preview input, .gift-preview textarea { width: 100%; border: 1px solid rgba(28,23,20,.16); background: #fff; border-radius: 14px; padding: .85rem .95rem; }
.filters { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; margin: 0 auto 1.4rem; width: min(1180px, calc(100% - 40px)); }
.check { display: flex; gap: .5rem; align-items: flex-start; }
.btn, .btn-line, .btn-small { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.2rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover, .btn-small:hover, .btn-line:hover { transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-small { min-height: 36px; padding: .3rem .8rem; font-size: .82rem; }
.banner { background: var(--blush); color: var(--ink); padding: .8rem 1rem; width: min(1180px, calc(100% - 40px)); margin: 1rem auto 0; border-radius: 12px; }
.quiet, .empty { color: var(--muted); }
.page-head, .page-hero { padding: 2.2rem 0 1rem; }
.page-hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.4rem; align-items: end; }
.page-hero picture { background: var(--stage); border-radius: 18px; min-height: 240px; }
.page-hero img { width: 100%; height: 280px; object-fit: contain; }
.page-hero h1, .page-head h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 0; }
.filter-open { display: none; margin: 0 0 1rem 20px; }
.empty-panel { width: min(720px, calc(100% - 40px)); margin: 2rem auto 4rem; }
.product { width: min(1180px, calc(100% - 40px)); margin: 1.5rem auto 2rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; }
.gallery-main { background: var(--stage); aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; display: grid; }
.gallery-slide { display: none; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; place-items: center; }
.gallery-slide.is-on { display: grid; }
.gallery-slide img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-slide img:not(.is-small) { width: 100%; height: 100%; }
.thumbs { display: flex; gap: .45rem; margin-top: .6rem; overflow-x: auto; }
.thumbs button { width: 72px; height: 90px; padding: 0; border: 1px solid transparent; background: var(--stage); border-radius: 10px; flex: 0 0 auto; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.price { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .2rem 0; }
.choices { border: 0; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.choices label { border: 1px solid rgba(28,23,20,.18); border-radius: 999px; padding: .45rem .8rem; background: #fff; }
.buybar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.preview-card { min-height: 110px; background: var(--blush); padding: 1rem; font-family: var(--serif); font-size: 1.5rem; border-radius: 16px; }
.checkout { width: min(1100px, calc(100% - 40px)); margin: 0 auto 3rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6rem; }
.checkout aside { background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; }
.split-note { width: min(1100px, calc(100% - 40px)); margin: 0 auto 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.prose { width: min(760px, calc(100% - 40px)); margin: 0 auto 3rem; }
.receipt-box { width: min(680px, calc(100% - 40px)); margin: 0 auto 4rem; }
.search-layer { position: sticky; top: var(--header); z-index: 19; background: var(--ivory); padding: .8rem 20px 1rem; border-bottom: 1px solid rgba(28,23,20,.08); }
.search-layer input { width: min(760px, 100%); border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); padding: .35rem 0; }
.search-layer a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; padding: .45rem 0; }
.bag { position: fixed; inset: 0; background: rgba(16,14,13,.4); z-index: 40; }
.bag-panel { margin-left: auto; width: min(420px, 100%); height: 100%; background: var(--ivory); padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; animation: sheet .35s ease; }
.bag-total { font-family: var(--serif); font-size: 1.8rem; margin: .2rem 0; }
.quick, .zoom, .size-dialog { border: 0; padding: 0; max-width: min(920px, calc(100% - 1.5rem)); background: var(--ivory); border-radius: 18px; }
.quick { width: min(880px, calc(100% - 1.5rem)); }
.quick::backdrop, .zoom::backdrop, .size-dialog::backdrop { background: rgba(16,14,13,.46); }
.quick-body { display: grid; grid-template-columns: .9fr 1.1fr; }
.quick-body img { width: 100%; height: 100%; max-height: 70vh; object-fit: contain; background: var(--stage); }
.quick-copy { padding: 1.2rem; }
.zoom img { width: min(92vw, 900px); max-height: 86vh; object-fit: contain; background: var(--stage); }
.size-dialog { padding: 1.2rem; }
.site-footer { width: 100%; margin-top: 2rem; background: var(--ink); color: #f6f1ea; }
.foot { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.5rem 2rem; padding: 3rem 0 1.6rem; }
.foot h2 { font-family: var(--serif); font-size: 1.45rem; margin: 0 0 .55rem; color: #fff; }
.foot a { display: block; text-decoration: none; color: rgba(246,241,234,.82); padding: .22rem 0; }
.foot-brand p { max-width: 16rem; color: rgba(246,241,234,.82); }
.foot-base { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(255,255,255,.12); padding: .9rem 0 1.3rem; font-size: .85rem; }
.foot-base nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.foot-base a { color: inherit; text-decoration: none; }
img.is-small { width: auto; height: auto; max-width: min(100%, 360px); max-height: min(100%, 640px); }
.hero-wash img.is-small, .hero-frame img.is-small { width: 100%; height: 100%; max-width: none; max-height: none; }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sheet { from { transform: translateX(28px); } to { transform: none; } }

.admin-body { background: var(--ivory); color: var(--ink); }
.admin-bar, .admin-main, .admin-login { width: min(980px, calc(100% - 8vw)); margin: 0 auto; }
.admin-bar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; min-height: 64px; }
.admin-login { padding-top: 12vh; max-width: 420px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.stat-row article { background: #fff; padding: 1rem; }
.stat-row b { display: block; font-family: var(--serif); font-size: 2.4rem; }
table { width: 100%; border-collapse: collapse; background: #fff; }
td, th { text-align: left; padding: .6rem; border-bottom: 1px solid var(--blush); vertical-align: top; }
.thumb-admin { width: 72px; height: 90px; object-fit: contain; background: var(--stage); }

@media (max-width: 980px) {
  :root { --header: 104px; }
  .nav-toggle { display: inline-grid; }
  .desk { display: none; }
  .main-nav { display: none; position: fixed; inset: 0; z-index: 35; background: var(--ivory); flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: .2rem; padding: 22vh 8vw 3rem; overflow: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav.is-open .nav-more { display: block; }
  .only-mobile { display: inline; }
  .main-nav a { font-family: var(--serif); font-size: 2rem; white-space: normal; }
  .hero-track { height: min(78vh, 680px); min-height: 480px; }
  .hero-frame { max-width: min(72vw, 360px); }
  .hero-slide::after { background: linear-gradient(180deg, rgba(12,9,8,.2), transparent 18%, transparent 82%, rgba(12,9,8,.28)); }
  .hero-arrow { display: none; }
  .cat-grid, .pieces, .gift-row, .brand-split, .news-band, .product, .checkout, .split-note, .page-hero, .foot, .stat-row, .quick-body, .mosaic { grid-template-columns: 1fr; }
  .cat-grid { grid-auto-rows: 220px; }
  .cat-tile:first-child { grid-row: auto; }
  .filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; margin: 0; width: auto; padding: 1rem 1rem 1.2rem; background: var(--ivory); border-top: 1px solid rgba(28,23,20,.1); transform: translateY(110%); transition: transform .3s ease; grid-template-columns: 1fr 1fr; }
  .filters.is-open { transform: none; }
  .filter-open { display: inline-flex; }
  .buybar { position: sticky; bottom: .5rem; background: rgba(246,241,234,.94); padding: .4rem; border-radius: 999px; }
  .topbar a { display: none; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .topbar { letter-spacing: .08em; gap: .7rem; font-size: .62rem; }
  .bar { width: calc(100% - 24px); }
  .brand { font-size: 1.45rem; }
  .brand img { width: 36px; height: 36px; }
}
@media (hover: hover) and (pointer: fine) {
  .piece:hover { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
