:root {
  --blush: #F8E4E2;
  --blush-deep: #F1D2CF;
  --paper: #FFFAF8;
  --rose: #B9707A;
  --wine: #7A3D48;
  --ink: #4A2A30;
  --muted: #7D5F64;
  --line: #E9CFCC;
  --sold: #6B5A5D;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: var(--wine); }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; }
.noscript { padding: 24px; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

.announcement { background: var(--wine); color: #fff; text-align: center; font-size: 14px; letter-spacing: .04em; padding: 7px var(--gutter); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 14px var(--gutter); background: var(--blush); border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav-left a { text-decoration: none; font-size: 15px; letter-spacing: .04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-left a:hover, .nav-left a[aria-current="page"] { border-color: var(--wine); }
.brand img { width: clamp(112px, 17vw, 176px); height: auto; }
.shop-closed .nav-left, .shop-closed .header-right { visibility: hidden; }
.shop-closed .footer-links { display: none; }
.header-right { justify-self: end; display: flex; align-items: center; gap: clamp(10px, 2.4vw, 24px); }
.account-link { text-decoration: none; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.account-link:hover { text-decoration: underline; }
.account-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 72px); max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.account-forms h1 { font-size: clamp(32px, 4vw, 42px); margin-bottom: 18px; }
.account-page { overflow-wrap: anywhere; max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.account-page h2 { font-size: 28px; margin: 28px 0 14px; }
.account-order { background: #fff; border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 10px; }
.account-order .note { margin: 2px 0 8px; }
.account-line { margin: 2px 0; font-size: 15px; }
.account-box { max-width: 460px; }
.account-error { color: #A3303F; font-size: 15px; margin: 0 0 12px; }
.account-error:empty { display: none; }
.bag-button { justify-self: end; background: none; border: 0; padding: 6px 0; font-size: 15px; letter-spacing: .04em; display: flex; gap: 8px; align-items: center; }
.bag-count { min-width: 22px; height: 22px; line-height: 22px; border-radius: 11px; background: var(--wine); color: #fff; font-size: 12px; text-align: center; padding: 0 6px; }

.btn {
  display: inline-block; border: 1px solid var(--wine); background: var(--wine); color: #fff;
  padding: 13px 30px; font-size: 15px; letter-spacing: .08em; text-decoration: none; text-align: center; border-radius: 2px;
  transition: background .15s, color .15s;
}
.btn:hover { background: #63303A; }
.btn.ghost { background: transparent; color: var(--wine); }
.btn.ghost:hover { background: var(--wine); color: #fff; }
.btn[disabled] { background: #E6DADA; border-color: #E6DADA; color: var(--sold); cursor: not-allowed; }
.btn.full { width: 100%; }

/* Hero: the logo sits directly on its own blush paper. */
.hero { background: var(--blush); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 56px); padding: clamp(20px, 4vw, 48px) var(--gutter); overflow: hidden; }
.hero-logo { width: min(100%, 620px); justify-self: end; height: auto; }
.animated-logo { position: relative; aspect-ratio: 985 / 945; }
.animated-logo img { width: 100%; height: auto; }
.logo-veil { position: absolute; left: 31.47%; top: 59.58%; width: 68.43%; height: 43.17%; pointer-events: none; }
.visit-art .animated-logo { width: min(100%, 460px); }
.hero-copy { max-width: 480px; }
.hero-copy p { margin: 18px 0 28px; font-size: 19px; font-weight: 300; }
.hero-copy .coming-soon { font: 300 clamp(28px, 3.6vw, 42px)/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: clamp(44px, 7vw, 84px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.text-link { color: var(--wine); font-size: 15px; letter-spacing: .04em; }

.visit-band { background: var(--blush); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(32px, 5vw, 56px) var(--gutter); }
.visit-band img { width: 92px; height: auto; }
.visit-band p { margin: 8px 0 0; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 36px) clamp(14px, 2.4vw, 28px); }
.card { text-decoration: none; display: block; }
.card-photo { position: relative; aspect-ratio: 4 / 5; background: var(--blush); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-photo img { transform: scale(1.03); }
.card h3 { font-size: 22px; margin-top: 12px; color: var(--ink); }
.card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); margin-top: 2px; }
.is-sold .card-photo img { filter: grayscale(.75) opacity(.55); }
.is-sold h3, .is-sold .price { color: var(--sold); }
.stamp { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--wine); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; }
.stamp.sold { background: var(--ink); color: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 18px; font-size: 13px; letter-spacing: .18em; white-space: nowrap; }
.stamp.sample { left: auto; right: 12px; top: auto; bottom: 12px; font-size: 11px; background: rgba(255, 250, 248, .85); }
.low { color: var(--wine); font-size: 14px; }

.placeholder-photo { width: 100%; height: 100%; display: grid; place-items: center; background: var(--blush); }
.placeholder-photo img { width: 32%; height: auto; object-fit: contain; opacity: .7; }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; font-size: 15px; }
.chip:hover { border-color: var(--wine); }
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.sub-chips { margin: -12px 0 26px; }
.tools { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 15px; }
.tools label { display: flex; gap: 8px; align-items: center; }
.tools select { background: var(--paper); border: 1px solid var(--line); padding: 6px 8px; border-radius: 2px; }
.tools input { accent-color: var(--wine); width: 17px; height: 17px; }
.empty { padding: 56px 0; text-align: center; color: var(--muted); }

/* Piece page */
.piece { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(44px, 7vw, 84px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; background: var(--blush); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.sold img { filter: grayscale(.75) opacity(.55); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 1px solid transparent; background: none; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--wine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.piece-info .price { font-size: 22px; margin: 10px 0 22px; }
.size-label { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.size { min-width: 52px; padding: 10px 14px; background: none; border: 1px solid var(--line); border-radius: 2px; }
.size:hover:not([disabled]) { border-color: var(--wine); }
.size[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.size[disabled] { color: #A99497; background: #F7EEEC; text-decoration: line-through; cursor: not-allowed; }
.size-note { min-height: 24px; margin: 0 0 16px; font-size: 14px; color: var(--wine); }
.sold-note { background: var(--blush); padding: 12px 16px; margin-bottom: 14px; font-size: 16px; }
.details { margin-top: 26px; border-top: 1px solid var(--line); }
.details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.description { white-space: pre-line; margin: 24px 0 0; }
.reassure { font-size: 15px; color: var(--muted); margin: 14px 0 0; }

/* Bag drawer */
.bag { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); max-width: 100vw; border: 0; padding: 0; background: var(--paper); color: var(--ink); }
.bag::backdrop { background: rgba(74, 42, 48, .35); }
.bag-inner { height: 100%; display: flex; flex-direction: column; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 28px; }
.close { background: none; border: 0; font-size: 15px; text-decoration: underline; padding: 6px; }
.bag-lines { flex: 1; overflow: auto; padding: 6px 22px; }
.bag-foot { padding: 18px 22px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img, .line .placeholder-photo { width: 72px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
.line-name { font-family: var(--serif); font-size: 20px; line-height: 1.15; color: var(--ink); text-decoration: none; display: block; }
.line-size { font-size: 14px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 8px; }
.qty button { background: none; border: 0; width: 34px; height: 32px; }
.qty button[disabled] { color: #C9B8BA; cursor: not-allowed; }
.qty span { min-width: 26px; text-align: center; font-size: 15px; }
.remove { background: none; border: 0; padding: 0; margin-left: 12px; font-size: 14px; text-decoration: underline; color: var(--muted); }
.line-price { font-size: 16px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.row.total { font-size: 21px; font-family: var(--serif); font-weight: 600; color: var(--wine); padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.bag-foot .btn { margin-top: 12px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(44px, 7vw, 84px); }
.checkout h1 { font-size: clamp(36px, 5vw, 50px); margin-bottom: 24px; }
.checkout h2 { font-size: 26px; margin: 28px 0 14px; }
.option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; border-radius: 2px; background: #fff; }
.option:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.option input { accent-color: var(--wine); width: 18px; height: 18px; margin-top: 4px; }
.option strong { font-weight: 500; display: block; }
.option small { color: var(--muted); font-size: 15px; display: block; line-height: 1.4; }
.field-line { display: block; margin-bottom: 12px; }
.field-line span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.field-line input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: #fff; border-radius: 2px; }
.summary { background: var(--blush); padding: clamp(20px, 3vw, 32px); position: sticky; top: 90px; }
.summary h2 { margin-top: 0; }
.summary .line { border-color: var(--blush-deep); }
.summary .row.total { border-color: var(--blush-deep); }
.note { font-size: 15px; color: var(--muted); }
.notice { padding: 12px 16px; margin: 0 0 18px; border-left: 3px solid var(--wine); background: var(--blush); }
.notice.error { background: #FBE9E7; }
.pay-note { font-size: 14px; color: var(--muted); text-align: center; margin: 12px 0 0; line-height: 1.45; }
.nudge { font-size: 15px; color: var(--wine); margin: 4px 0 0; }

/* Visit + policy pages */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blush); }
.visit-copy { padding: clamp(36px, 6vw, 80px) var(--gutter); }
.visit-copy h1 { margin-bottom: 18px; }
.visit-art { display: grid; place-items: center; padding: 24px; }
.visit-art img { width: min(100%, 460px); height: auto; }
.facts { margin: 22px 0 26px; }
.facts div { padding: 12px 0; border-top: 1px solid var(--blush-deep); }
.facts dt { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; white-space: pre-line; }
.prose { max-width: 680px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter); }
.prose h1 { margin-bottom: 20px; }
.prose p { white-space: pre-line; }
.center { text-align: center; }
.thanks-list { text-align: left; margin: 26px 0; }

.site-footer { background: var(--blush); border-top: 1px solid var(--line); padding: 36px var(--gutter); display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; font-size: 15px; }
.site-footer img { width: 120px; height: auto; margin-bottom: 8px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-start; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 2px; font-size: 15px; opacity: 0; pointer-events: none; transition: .2s; z-index: 40; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  /* The veil extends right, so the mark shifts over to center the ring and name on the page. */
  .hero-logo { justify-self: center; width: min(86%, 420px); }
  .animated-logo { transform: translateX(7.8%); }
  .visit-art .animated-logo { width: min(86%, 420px); }
  .hero .eyebrow, .hero-copy .coming-soon { text-indent: .2em; }
  .visit-copy { text-align: center; }
  .site-footer, .footer-links { justify-content: center; text-align: center; }
  .site-footer img { margin: 0 auto 8px; }
  body.shop-closed { background: var(--blush); }
  .hero-copy { justify-self: center; }
  .hero-actions { justify-content: center; }
  .piece, .checkout, .visit, .account-forms { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .visit-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 19px; }
  .visit-art { order: -1; padding-bottom: 0; }
  .toolbar { align-items: flex-start; }
}
@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .nav-left { gap: 10px; }
  .nav-left a, .bag-button, .account-link { font-size: 14px; letter-spacing: 0; }
  .brand img { width: 76px; }
  .header-right { gap: 8px; }
  .bag-button { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
