html, body { margin: 0; }
[hidden] { display: none !important; }
/* Layout: arched-image boutique. Centred round logo, 1240px container, editorial serif over a quiet sans. Single light brand theme by choice (matches the logo). */
:root {
  --ivory: #F7F2EA; --paper: #FBF8F3; --blush: #F1E7DF; --line: #E3D8C8; --line-strong: #CDBFAE;
  --ink: #2B211C; --ink-soft: #5A4A3E; --muted: #6B5A4C;
  --rose: #8A5252; --rose-deep: #6B3C3C; --rose-light: #B47C7C; --taupe: #8A5E52;
  --champagne: #E8D3AE; --gold: #A8743E; --night: #2B211C;
  --on-dark: #F7F2EA; --on-dark-soft: #EFE4D4; --on-dark-muted: #BFB1A2;
  --ok: #3F6B4A; --ok-soft: #E3EEE3; --danger: #A3322B;
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --body: 'Jost', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
a { color: var(--rose); }
a:hover { color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; line-height: 1.08; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 34px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--rose); background: var(--rose); color: var(--on-dark); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--on-dark); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn.light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn.block { width: 100%; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn .chk { width: 18px; height: 18px; stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn.ok { background: var(--ok); border-color: var(--ok); }
.btn.ok .chk { animation: draw .45s .05s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.textbtn { background: none; border: 0; padding: 0; color: var(--rose); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.link-u { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rose-light); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.link-u:hover { color: var(--rose); border-color: var(--rose); }

/* Header */
.announce { background: var(--rose); color: var(--on-dark); text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-block: 9px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--ivory); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(43,33,28,.06); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 10px; transition: padding .3s var(--ease); }
.scrolled .hdr { padding-block: 6px; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; }
.nav a { position: relative; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-block: 8px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.logo { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; transition: width .35s var(--ease), height .35s var(--ease); }
.scrolled .logo { width: 60px; height: 60px; }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.tools { display: flex; justify-content: flex-end; gap: 2px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--blush); color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--ivory); }
.badge { position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rose); color: var(--on-dark); font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; font-variant-numeric: tabular-nums; }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.menu-btn { display: none; }
.mobile-nav { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mobile-nav.open { grid-template-rows: 1fr; }
.mobile-nav > div { min-height: 0; }
.mobile-nav a { display: block; padding-block: 13px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo { width: 64px; height: 64px; }
  .scrolled .logo { width: 52px; height: 52px; }
  .tools .hide-sm { display: none; }
}
@media (min-width: 861px) { .mobile-nav { display: none; } }

/* View transitions */
#app { min-height: 60vh; }
.view { animation: viewIn .6s var(--ease) both; }
@keyframes viewIn { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rv { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: .001; transform: translateY(22px); } to { opacity: 1; transform: none; } }

section { padding-block: 104px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 54px); margin-top: 10px; }
.center { text-align: center; justify-content: center; }

/* Hero */
.hero { padding-block: 48px 104px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--blush); }
.arch img, .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-img { flex: 1 1 460px; min-width: 0; height: min(680px, 120vw); }
.hero-img img { animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.09); } to { transform: none; } }
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(60px, 8vw, 92px); line-height: .98; }
.hero h1 em { color: var(--rose); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; max-width: 30em; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.cat .arch { width: 100%; aspect-ratio: 3 / 4.2; max-width: 100%; }
.cat .arch img, .card .ph img { transition: transform .9s var(--ease); }
.cat:hover .arch img, .card:hover .ph img { transform: scale(1.05); }
.cat h3 { font-size: 30px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 48px 26px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.ph { position: relative; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; background: var(--blush); }
.ph .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(247,242,234,.94); color: var(--ink); text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 13px; transform: translateY(calc(100% + 14px)); transition: transform .45s var(--ease); }
.card:hover .quick, .card:focus-visible .quick { transform: none; }
@media (hover: none) { .ph .quick { display: none; } }
.tag { position: absolute; top: 14px; left: 14px; background: var(--ivory); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; }
.card h3 { font-size: 26px; }
.card .sub { font-size: 13px; color: var(--muted); }
.price { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 40px; color: var(--rose-light); }

.craft { background: var(--rose); color: var(--on-dark); }
.craft-grid { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.craft-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.craft .eyebrow { color: var(--champagne); }
.craft h2 { font-size: clamp(40px, 5vw, 60px); }
.craft p { font-size: 17px; line-height: 1.8; font-weight: 300; color: var(--on-dark-soft); max-width: 30em; }
.craft-imgs { flex: 1 1 380px; min-width: 0; display: flex; gap: 18px; }
.craft-imgs > div { flex: 1; min-width: 0; height: min(520px, 90vw); overflow: hidden; }
.craft-imgs > div:last-child { margin-top: 64px; }
.craft-imgs img { width: 100%; height: 100%; object-fit: cover; }

.promises { padding-block: 44px; border-bottom: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; }
.promise-grid h3 { font-size: 23px; }
.promise-grid p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.reviews { background: var(--blush); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.review { margin: 0; background: var(--paper); padding: 36px; display: flex; flex-direction: column; gap: 20px; transition: transform .4s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,33,28,.07); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 23px; line-height: 1.45; }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 19px; color: var(--ink); flex: none; }
.who b { display: block; font-weight: 500; font-size: 15px; }
.who span span { font-size: 13px; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); margin-top: 8px; }

.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.insta-grid a { aspect-ratio: 1; max-width: 100%; overflow: hidden; display: block; background: var(--blush); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.insta-grid a:hover img { transform: scale(1.06); opacity: .9; }
@media (max-width: 700px) { .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } section { padding-block: 72px; } }

/* Footer */
footer { background: var(--night); color: var(--on-dark-soft); padding-block: 72px 28px; }
.foot { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot h3 { color: var(--on-dark); font-size: 32px; }
.nl { display: flex; flex-wrap: wrap; max-width: 460px; margin-top: 18px; }
.nl input { flex: 1 1 220px; min-height: 52px; background: transparent; border: 1px solid #7A6A5C; color: var(--on-dark); padding: 0 16px; font-size: 14px; }
.nl input::placeholder { color: var(--on-dark-muted); }
.nl button { min-height: 52px; padding: 0 26px; background: var(--champagne); color: var(--ink); border: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.nl-msg { font-size: 13px; color: var(--champagne); margin-top: 10px; min-height: 1.4em; }
.cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.cols h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin: 0 0 10px; font-weight: 400; }
.cols a { display: block; color: var(--on-dark-soft); text-decoration: none; line-height: 2.2; }
.cols a:hover { color: var(--on-dark); }
.legal { border-top: 1px solid #4A3E36; margin-top: 52px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--on-dark-muted); }
.legal a { color: var(--on-dark-muted); }

/* Shop */
.page-head { padding-block: 56px 32px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.page-head h1 { font-size: clamp(46px, 6vw, 66px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* Product */
.crumbs { font-size: 12px; letter-spacing: .08em; color: var(--muted); padding-block: 28px; }
.crumbs a { color: var(--muted); }
.pdp { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-bottom: 96px; }
.pdp-img { flex: 1 1 520px; min-width: 0; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--blush); cursor: zoom-in; }
.pdp-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 30%); }
.pdp-img.zoom img { transform: scale(1.7); }
.pdp-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 26px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); }
@media (max-width: 960px) { .pdp-info { position: static; } }
.pdp-info h1 { font-size: clamp(46px, 5vw, 60px); }
.tagline { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink-soft); }
.pdp-price { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pdp-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.opt-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.opt-label span { color: var(--muted); }
.swatches { display: flex; gap: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(43,33,28,.15); text-decoration: none; transition: box-shadow .25s; }
.swatch[aria-current="true"] { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size { min-width: 58px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.size:hover { border-color: var(--ink); }
.size:active { transform: scale(.95); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.err { color: var(--danger); font-size: 13px; min-height: 1.3em; margin-top: 8px; }
.small { font-size: 13px; color: var(--muted); text-align: center; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details[open] p { animation: rise .45s var(--ease) both; }
.acc p { padding-bottom: 20px; font-size: 15px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; white-space: pre-line; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(43,33,28,.4); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.scrim.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); z-index: 80; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-shadow: -12px 0 40px rgba(43,33,28,.12); transform: translateX(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.line-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.line-item img, .line-item .thumb { width: 84px; height: 108px; object-fit: cover; object-position: top; background: var(--blush); }
.li-top { display: flex; justify-content: space-between; gap: 8px; }
.li-top h3 { font-size: 22px; }
.li-meta { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 17px; color: var(--ink); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; margin-left: 14px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sumrow.total { font-size: 17px; font-weight: 500; }
.meter { height: 3px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--rose); width: 0; transition: width .8s var(--ease); }
.ship-meter { font-size: 13px; color: var(--taupe); }
.empty { padding-block: 48px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.empty h3 { font-size: 28px; }

/* Forms */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138,82,82,.15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.prefix { display: flex; }
.prefix span { display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-right: 0; background: var(--blush); font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--rose); margin-top: 2px; flex: none; }
.testbar { background: var(--blush); border: 1px solid var(--line); padding: 12px 16px; font-size: 13px; color: var(--ink-soft); }

/* Checkout */
.co { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 96px; }
.co-form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.co-sum { flex: 1 1 340px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); }
@media (max-width: 960px) { .co-sum { position: static; } }
.co h2 { font-size: 32px; margin-bottom: 16px; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.mode { text-align: left; border: 1px solid var(--line-strong); background: var(--paper); padding: 20px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .2s; }
.mode:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.mode[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mode b { font-family: var(--display); font-weight: 500; font-size: 22px; }
.mode span { font-size: 13px; color: var(--muted); }
.who-chip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: var(--ok-soft); border: 1px solid #C9DCC9; padding: 14px 18px; font-size: 14px; }
.pay { display: flex; flex-direction: column; gap: 10px; }
.pay label { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line-strong); background: var(--paper); padding: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay input { accent-color: var(--rose); width: 18px; height: 18px; }
.pay small { display: block; color: var(--muted); font-size: 13px; }
.mini { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.mini img, .mini .thumb { width: 56px; height: 72px; object-fit: cover; object-position: top; background: var(--blush); }

/* Account + tracking */
.acct { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 104px; }
.acct-main { flex: 1 1 460px; min-width: 0; }
.acct-side { flex: 1 1 340px; min-width: 0; }
.auth { max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.auth h1 { font-size: clamp(44px, 5vw, 58px); }
.step { animation: rise .5s var(--ease) both; display: flex; flex-direction: column; gap: 18px; }
.otp { display: flex; gap: 10px; }
.otp input { width: 52px; height: 60px; text-align: center; font-size: 24px; font-family: var(--display); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); transition: border-color .2s, transform .2s; }
.otp input:focus { outline: none; border-color: var(--ink); transform: translateY(-2px); }
.otp.shake { animation: shake .4s; }
@media (max-width: 420px) { .otp { gap: 6px; } .otp input { width: 44px; height: 54px; } }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.perks svg { width: 22px; height: 22px; color: var(--rose); margin-top: 3px; }
.perks b { display: block; font-family: var(--display); font-weight: 500; font-size: 21px; }
.perks span { font-size: 14px; color: var(--muted); }
.side-art { height: 280px; margin-bottom: 28px; }
.divider { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hello { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-block: 56px 32px; }
.hello h1 { font-size: clamp(46px, 6vw, 64px); }
.orders { display: flex; flex-direction: column; gap: 18px; }
.order { background: var(--paper); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
a.order:hover { border-color: var(--ink-soft); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(43,33,28,.06); color: var(--ink); }
.order-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.order-top b { font-weight: 500; }
.order-top span { font-size: 13px; color: var(--muted); }
.thumbs { display: flex; gap: 8px; }
.thumbs img, .thumbs .thumb { width: 52px; height: 66px; object-fit: cover; object-position: top; background: var(--blush); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; background: var(--blush); color: var(--ink); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.pill.done { background: var(--ok-soft); }
.pill.done::before { background: var(--ok); }
.pill.live::before { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(138,82,82,.5); } 100% { box-shadow: 0 0 0 8px rgba(138,82,82,0); } }
.track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding-top: 6px; }
.track .bar { position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.track .bar i { display: block; height: 100%; width: 0; background: var(--rose); transition: width 1.2s var(--ease); }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.stage .nodept { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: background .4s, border-color .4s; transition-delay: var(--d, 0s); }
.stage.on { color: var(--ink); }
.stage.on .nodept { background: var(--rose); border-color: var(--rose); }
.stage.on .nodept::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.stage time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .track .bar { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .track .bar i { width: 100% !important; height: var(--h, 0); transition: height 1.2s var(--ease); }
  .stage { flex-direction: row; text-align: left; gap: 14px; padding-block: 8px; }
}
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; font-size: 14px; }
.kv dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kv dd { margin: 0; }

/* Policy */
.policy { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; padding-bottom: 96px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.facts div { background: var(--paper); border: 1px solid var(--line); padding: 22px; text-align: center; }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--rose); }
.facts span { font-size: 13px; color: var(--ink-soft); }
.policy h2 { font-size: 40px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.8; color: #3D322B; font-weight: 300; }
.prose strong { font-weight: 500; }
.prose ul { margin: 6px 0 0; padding-left: 22px; }
.rtable { border: 1px solid var(--line); background: var(--paper); }
.rtable div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.rtable div:last-child { border-bottom: 0; }
.rtable span:last-child { font-weight: 500; text-align: right; }
.help { background: var(--rose); color: var(--on-dark); padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.help h3 { font-size: 30px; }
.help p { font-size: 14px; color: var(--on-dark-soft); margin-top: 6px; }

/* Studio (admin) */
.studio-bar { background: var(--night); color: var(--on-dark); }
.studio-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.studio-bar a { color: var(--champagne); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 36px; }
.stat { background: var(--paper); border: 1px solid var(--line); padding: 20px 22px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 60px minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.prow img, .prow .thumb { width: 60px; height: 76px; object-fit: cover; object-position: top; background: var(--blush); }
.prow h3 { font-size: 22px; }
.prow .meta { font-size: 13px; color: var(--muted); }
.prow.off { opacity: .55; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .prow { grid-template-columns: 60px minmax(0, 1fr); } .prow > .cell-cat, .prow > .acts, .prow > .cell-toggle { grid-column: 2; justify-content: flex-start; } }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { width: 40px; height: 22px; border-radius: 11px; background: var(--line-strong); position: relative; transition: background .25s; flex: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--rose); outline-offset: 2px; }
.editor { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 104px; }
.editor form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.editor aside { flex: 1 1 300px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .editor aside { position: static; } }
.drop { border: 1.5px dashed var(--line-strong); background: var(--paper); padding: 26px; display: flex; gap: 20px; align-items: center; cursor: pointer; transition: border-color .25s, background .25s; }
.drop.over { border-color: var(--rose); background: var(--blush); }
.drop .pv { width: 96px; height: 120px; flex: none; background: var(--blush); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.drop p { font-size: 14px; color: var(--ink-soft); }
.drop strong { font-weight: 500; color: var(--ink); }
.size-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.lock { max-width: 560px; margin: 0 auto; padding-block: 96px 120px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.lock h1 { font-size: clamp(44px, 5vw, 58px); }
.lock svg { width: 40px; height: 40px; color: var(--rose); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--rose); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Studio login */
.slogin { display: flex; flex-wrap: wrap; min-height: 640px; background: var(--paper); }
.slogin-art { flex: 1 1 420px; min-width: 0; position: relative; overflow: hidden; background: var(--rose); min-height: 360px; }
.slogin-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; animation: settle 2.4s var(--ease) both; }
.slogin-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,33,28,0) 45%, rgba(43,33,28,.65)); }
.slogin-art .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 36px max(24px, env(safe-area-inset-left, 0px)); color: var(--on-dark); }
.slogin-art .cap p { font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.2; max-width: 14em; }
.slogin-form { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; justify-content: center; padding-block: 56px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.slogin-form form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.slogin-form .seal { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; }
.slogin-form .seal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slogin-form h1 { font-size: clamp(42px, 5vw, 54px); }
.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--rose); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.slogin-form form.shake { animation: shake .4s; }
.unlock { animation: unlock .7s var(--ease) both; }
@keyframes unlock { 0% { transform: scale(1); } 40% { transform: scale(.97); opacity: .7; } 100% { transform: scale(1.02); opacity: 0; } }

/* Studio live panels */
.live-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 72px 0 24px; }
.live-head h2 { font-size: 38px; }
.studio-cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.studio-cols > .main { flex: 3 1 560px; min-width: 0; }
.studio-cols > .side { flex: 1 1 280px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); }
@media (max-width: 960px) { .studio-cols > .side { position: static; } }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; animation: rise .45s var(--ease) both; }
.feed img, .feed .thumb { width: 44px; height: 56px; object-fit: cover; object-position: top; background: var(--blush); }
.feed time { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card.flash .ph { animation: flash 2.2s var(--ease) both; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--rose), 0 18px 40px rgba(138,82,82,.25); } 100% { box-shadow: 0 0 0 0 rgba(138,82,82,0); } }
.card.flash h3::after { content: "Just updated"; margin-left: 10px; font-family: var(--body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); vertical-align: middle; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; visibility: hidden; background: var(--ink); color: var(--on-dark); padding: 14px 22px; font-size: 14px; z-index: 90; max-width: calc(100% - 32px); transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Payment step */
.paybox { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.qr { width: 196px; height: 196px; padding: 10px; background: #fff; border: 1px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; }
.qr img, .qr canvas { width: 176px !important; height: 176px !important; }
.paybox .info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.amount { font-family: var(--display); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.copyrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.copyrow code { font-family: var(--body); background: var(--blush); padding: 8px 12px; user-select: all; word-break: break-all; }
.notice { border: 1px solid var(--line); background: var(--paper); padding: 14px 16px; font-size: 14px; color: var(--ink-soft); display: flex; gap: 12px; align-items: flex-start; }
.notice.warn { background: #FBF1E4; border-color: #EAD3B4; }
.notice.good { background: var(--ok-soft); border-color: #C9DCC9; }

/* Studio tabs + orders */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.otable { border-top: 1px solid var(--line); }
.orow { border-bottom: 1px solid var(--line); padding-block: 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@media (max-width: 860px) { .orow { grid-template-columns: minmax(0, 1fr); } }
.orow h3 { font-size: 22px; }
.orow .meta { font-size: 13px; color: var(--muted); line-height: 1.6; }
.orow .ctrls { display: flex; flex-direction: column; gap: 10px; }
.orow select, .orow input { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-size: 14px; width: 100%; }
.orow .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pill.warn { background: #FBF1E4; }
.pill.warn::before { background: var(--gold); }
.pill.off { background: var(--line); }
.pill.off::before { background: var(--muted); }
.count { display: inline-flex; min-width: 22px; height: 22px; border-radius: 11px; align-items: center; justify-content: center; background: var(--rose); color: var(--on-dark); font-size: 12px; padding: 0 6px; margin-left: 8px; letter-spacing: 0; }
.chip[aria-pressed="true"] .count { background: var(--on-dark); color: var(--ink); }
.loading { padding-block: 120px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); }

/* Small buttons keep button colours (the .small text utility also exists) */
.btn.small { color: var(--on-dark); }
.btn.ghost.small { color: var(--ink); }
.btn.ghost.small:hover { color: var(--on-dark); }
