:root {
  --ivory: #FBF8F3;
  --sand: #F3EDE4;
  --line: #E4DACB;
  --line-strong: #CBBDA9;
  --ink: #1E1A16;
  --muted: #6B6259;
  --gold: #8C6B3F;
  --gold-light: #D9C29C;
  --on-dark: #E5DCD1;
  --on-dark-muted: #CFC4B6;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold); }
button { font-family: var(--sans); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.lead { font-size: 17px; line-height: 1.75; color: var(--muted); font-weight: 300; margin: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 32px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: #3A322A; color: var(--ivory); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Announcement + header */
.announce { background: var(--ink); color: var(--sand); text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--ivory); position: sticky; top: 0; z-index: 20; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; gap: 2px; }
.logo-word { font-family: var(--serif); font-size: 38px; font-weight: 500; letter-spacing: .38em; padding-left: .38em; line-height: 1; }
.logo-img { display: block; width: 150px; height: auto; }
.footer-logo { display: block; width: 140px; height: auto; margin-bottom: 4px; }
.logo-sub { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); padding-left: .26em; white-space: nowrap; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.header-actions .text-link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 12px; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--ivory); font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.bag-count[hidden] { display: none; }
.menu-btn { display: none; }
.nav .mobile-only { display: none; }
.header-actions .text-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 900px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 24px 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .mobile-only { display: block; }
  .logo { align-items: flex-start; }
  .logo-word { font-size: 30px; padding-left: 0; }
  .logo-img { width: 118px; }
  .logo-sub { padding-left: 0; }
  .header-actions .text-link { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; min-height: 640px; }
.hero-copy { flex: 1 1 480px; display: flex; align-items: center; padding: 72px 24px 72px max(24px, calc((100% - var(--wrap)) / 2 + 24px)); }
.hero-copy-inner { max-width: 520px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(52px, 7vw, 92px); line-height: .98; letter-spacing: -.015em; }
.hero h1 em { color: var(--gold); }
.hero-media { flex: 1 1 480px; position: relative; min-height: 480px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-tag { position: absolute; left: 24px; bottom: 24px; background: var(--ivory); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.hero-tag small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero-tag span { font-family: var(--serif); font-size: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dark band */
.band-dark { background: var(--ink); color: var(--ivory); }
.band-dark .eyebrow { color: var(--gold-light); }
.access-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.access-row .copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.access-row .copy .serif { font-size: 34px; line-height: 1.1; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 360px; }
.inline-form input { flex: 1 1 200px; min-height: 52px; padding: 0 16px; font-family: var(--sans); font-size: 15px; border: 1px solid var(--line-strong); background: var(--ivory); color: var(--ink); }
.band-dark .inline-form input { background: transparent; border-color: #5A5047; color: var(--ivory); }
.band-dark .inline-form input::placeholder { color: var(--on-dark-muted); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; flex-basis: 100%; }
.band-dark .form-note { color: var(--on-dark-muted); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(38px, 4.5vw, 52px); line-height: 1.05; }
.section-head .stack { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 24px; }
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; background: var(--sand); padding: 14px; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card.is-sold .card-media img { opacity: .55; }
.edition { position: absolute; top: 24px; left: 24px; background: var(--ivory); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; }
.sold-banner { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(30, 26, 22, .82); color: var(--ivory); text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; padding: 14px; }
.card-info { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-name { font-family: var(--serif); font-size: 23px; display: block; }
.card-finish { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.card-price { font-size: 15px; white-space: nowrap; }

/* Brooch signature */
.band-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split-head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; margin-bottom: 48px; }
.split-head > * { flex: 1 1 380px; }
.split-head h2 { font-size: clamp(42px, 5vw, 56px); line-height: 1.02; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.trio figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.trio img { width: 100%; height: 460px; object-fit: cover; }
.trio figcaption { display: flex; gap: 14px; align-items: baseline; font-size: 15px; }
.numeral { font-family: var(--serif); font-size: 30px; color: var(--gold); min-width: 28px; }

/* Gift finder */
.center-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 36px; }
.center-head h2 { font-size: clamp(38px, 4.5vw, 52px); }
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.occasion { min-height: 48px; padding: 0 24px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-family: var(--serif); font-size: 20px; cursor: pointer; }
.occasion[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.gift-pick { background: var(--sand); padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.gift-pick img { width: 220px; height: 220px; object-fit: cover; flex: 0 0 auto; }
.gift-pick .stack { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.gift-pick .serif { font-size: 36px; }

/* Gift box + founder */
.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.two-col > * { flex: 1 1 420px; min-width: 0; }
.placeholder { min-height: 400px; border: 1px dashed #6B6259; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.placeholder.light { border-color: var(--line-strong); color: var(--muted); background: var(--sand); aspect-ratio: 4 / 5; min-height: 0; }
.list-roman { display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 0; list-style: none; }
.list-roman li { display: flex; gap: 18px; align-items: baseline; font-size: 16px; line-height: 1.6; color: var(--on-dark); }
.list-roman .numeral { color: var(--gold-light); font-size: 26px; }
.founder h2 { font-size: clamp(42px, 5vw, 52px); line-height: 1.05; }
.founder .stack { display: flex; flex-direction: column; gap: 22px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold); margin: 0; }
.names { color: var(--ink); font-weight: 400; }

/* Numbering band */
.numbering { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.numbering > :first-child { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.numbering h2 { font-size: 40px; line-height: 1.1; }
.numbering .facts { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.numbering .facts div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--on-dark); }
.numbering .facts .serif { font-size: 32px; color: var(--gold-light); }

/* Collection page */
.collection-hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.collection-hero .wrap { padding-top: 56px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-end; justify-content: space-between; }
.collection-hero .stack { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.collection-hero h1 { font-size: clamp(52px, 7vw, 84px); line-height: 1; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.collection-hero h1 small { font-style: italic; font-size: 28px; color: var(--gold); }
.stats { display: flex; gap: 40px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats .serif { font-size: 40px; line-height: 1; }
.stats span:last-child { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.cat-tabs a { text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.cat-tabs a[aria-current="page"] { border-bottom-color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.empty { max-width: 620px; margin: 24px auto; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; padding: 56px 24px; border: 1px solid var(--line); }
.empty h2 { font-size: 40px; line-height: 1.1; }
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }

/* Product page */
.product { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 28px; padding-bottom: 88px; }
.product-media { flex: 1 1 520px; min-width: 0; background: var(--sand); padding: 20px; position: relative; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.product-info h1 { font-size: clamp(42px, 5vw, 56px); line-height: 1.05; }
.price { font-size: 22px; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--sand); font-size: 14px; }
.notice strong { font-weight: 500; }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; min-height: 56px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: '+'; font-size: 20px; }
.details details[open] summary::after { content: '\2212'; }
.details p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Cart */
.cart { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; padding-bottom: 96px; }
.cart-items { flex: 1 1 560px; min-width: 0; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 110px; height: 110px; object-fit: cover; background: var(--sand); }
.cart-line .serif { font-size: 22px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); margin-top: 10px; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 28px; text-align: center; }
.link-btn { border: 0; background: transparent; padding: 10px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; cursor: pointer; color: var(--muted); }
.summary { flex: 1 1 340px; background: var(--sand); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; }
.summary-row.total { font-size: 18px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.progress { height: 3px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--gold); }
.alert { padding: 14px 16px; background: #F6E3DF; color: #7A2E21; font-size: 14px; line-height: 1.5; }
.pay-icons { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .06em; }
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line img { width: 84px; height: 84px; }
  .cart-line .line-price { grid-column: 2; }
  .summary { position: static; }
}

/* Prose pages (policies, success) */
.prose { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.prose h1 { font-size: clamp(42px, 5vw, 56px); margin-bottom: 12px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.8; color: var(--muted); }
.prose .draft { background: #FFF6DA; color: #6A5312; padding: 12px 16px; font-size: 14px; }

/* Footer */
.site-footer { background: var(--ink); color: #D8CFC4; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 32px; font-size: 14px; }
.footer-grid h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); margin-bottom: 4px; }
.footer-grid div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #D8CFC4; text-decoration: none; }
.footer-grid a:hover { color: var(--ivory); }
.footer-word { font-family: var(--serif); font-size: 30px; letter-spacing: .34em; color: var(--ivory); }
.footer-base { border-top: 1px solid #3A332C; padding-top: 20px; padding-bottom: 32px; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--ivory); padding: 14px 22px; font-size: 14px; z-index: 50; display: flex; gap: 16px; align-items: center; }
.toast a { color: var(--gold-light); }
