/* Lorraine Scriptorium: handcrafted chic leather journals, Oslo. ✧☽✧ */

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #F5EFE4;
  --paper-2: #EDE4D3;
  --card: #FBF8F2;
  --ink: #1E1A16;
  --ink-soft: #5A5048;
  --leather: #5B3A24;
  --leather-dark: #3E2716;
  --oxblood: #6E1F23;
  --wine: #4A201D;
  --gold: #C9A15B;
  --gold-ink: #7A5C24;
  --cream: #E9DCC0;
  --rule: #D9CCB6;
  --rule-strong: #BFAE90;
  --control: #8C7B63;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 2.75rem);
  --max: 84rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --bar-h: 4.25rem;
  --announce-h: 2.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; display: block; }
main:focus { outline: none; }
.page-head h1:focus:not(:focus-visible) { outline: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote, h1, h2, h3, h4 { margin: 0; }
:where(ul[class], ol[class], nav ul, nav ol) { list-style: none; padding: 0; }
::selection { background: var(--leather); color: var(--card); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1.25rem; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4, .sheet-title { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -.005em; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 9vw, 5.75rem); line-height: 1; letter-spacing: -.015em; }
.h1 { font-size: clamp(2.35rem, 6vw, 3.75rem); line-height: 1.06; }
.h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.1; }
.h3 { font-size: clamp(1.55rem, 3vw, 1.9rem); line-height: 1.2; }
.h4 { font-size: 1.4rem; line-height: 1.25; font-weight: 600; }
.eyebrow, .label { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.eyebrow { color: var(--oxblood); margin-bottom: 1.1rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.label { color: var(--ink-soft); }
.lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.45; color: var(--ink-soft); margin-top: 1.25rem; text-wrap: pretty; }
.lede-sm { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink-soft); margin: 1.25rem 0 0; }
.ornament { color: var(--rule-strong); margin: 0 auto 2rem; width: 160px; height: auto; }
mark.tofill { background: #F4E2A6; color: var(--ink); padding: .05em .3em; outline: 1px dashed #A57F24; outline-offset: 1px; font-family: var(--sans); font-size: .85em; font-style: normal; }

.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.2; margin-top: 2.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--leather); }
.prose a { color: var(--leather); }
.prose a:hover { color: var(--oxblood); }
.prose strong { font-weight: 600; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.9rem; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
@media (hover: hover) { .btn:hover { background: var(--ink); color: var(--paper); } }
.btn-primary { background: var(--wine); border-color: var(--wine); color: var(--card); }
@media (hover: hover) { .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--card); } }
.btn-ghost { border-color: var(--control); }
@media (hover: hover) { .btn-ghost:hover { border-color: var(--ink); } }
.btn-block { display: flex; width: 100%; }
.btn-grow { flex: 1; }
.btn[disabled] { opacity: .55; cursor: not-allowed; background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-primary[disabled] { background: var(--wine); color: var(--card); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; min-height: 2.75rem; padding: .5rem 0; border-bottom: 1px solid currentColor; }
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-btn { display: inline-flex; align-items: center; min-height: 2.75rem; background: none; border: 0; padding: .25rem 0; font-size: .8rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: .22em; }
.link-btn:hover { color: var(--oxblood); }
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); position: relative; text-decoration: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: calc(-1 * var(--announce-h)); z-index: 40; }
.announce { height: var(--announce-h); display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 1rem; background: var(--wine); color: var(--cream); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; }
.motif { display: inline-block; vertical-align: middle; width: 1.9em; height: auto; margin-right: .35em; position: relative; top: -.08em; }
.announce .motif { color: var(--gold); }
.footer-brand .motif, .eyebrow .motif { color: var(--gold-ink); }
.newsletter .eyebrow .motif { color: var(--gold); }
.signoff-mark { display: inline-block; vertical-align: middle; width: 1.6em; height: auto; border-radius: 50%; margin-left: .3em; }
@media (max-width: 35.99em) { .announce-2 { display: none; } }
.bar { height: var(--bar-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; background: rgba(245, 239, 228, .94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); max-width: none; }
.bar > .menu-btn { justify-self: start; margin-left: -.6rem; }
.nav-primary { display: none; }
.nav-primary ul { display: flex; gap: clamp(1rem, 1.6vw, 2rem); }
.nav-link { white-space: nowrap; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: currentColor; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--wine); text-decoration: none; font-family: var(--serif); line-height: 1; white-space: nowrap; }
.brand-mark { width: 2.1rem; height: auto; aspect-ratio: 44 / 56; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 161, 91, .55), 0 2px 6px rgba(74, 32, 29, .25); flex: none; }
.brand-text { display: flex; flex-direction: column; align-items: center; gap: .12rem; }
.brand-a { font-size: .95rem; font-weight: 500; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; }
.brand-b { font-size: 1.15rem; font-style: italic; letter-spacing: .02em; color: var(--gold-ink); }
.bar-actions { justify-self: end; display: flex; align-items: center; gap: 1.25rem; margin-right: -.6rem; }
.lang-toggle { display: inline-flex; align-items: center; border: 1px solid rgba(74, 32, 29, .35); border-radius: 2rem; padding: 2px; }
.lang-opt { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .6rem; border-radius: 2rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; color: var(--wine); transition: background-color .3s var(--ease), color .3s var(--ease); }
.lang-opt.is-current { background: var(--wine); color: var(--cream); }
a.lang-opt:hover { background: rgba(74, 32, 29, .08); }
/* Phones: a centred logo can't fit between the menu button and the toggle + bag,
   so the logo sits left, next to the menu button. */
@media (max-width: 30em) {
  .bar { grid-template-columns: auto 1fr auto; gap: .5rem; }
  .bar > .brand { justify-self: start; }
}
@media (max-width: 23.5em) {
  .lang-opt { min-width: 1.9rem; padding: 0 .3rem; }
  .bar-actions { gap: .4rem; }
}
.cart-count { position: absolute; top: .3rem; right: .2rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 1rem; background: var(--oxblood); color: var(--card); font-size: .62rem; font-weight: 600; line-height: 1.1rem; text-align: center; }
.cart-count[hidden] { display: none; }
@media (max-width: 23.5em) { .brand-a { font-size: .8rem; letter-spacing: .24em; margin-right: -.24em; } .brand-b { font-size: 1rem; } .brand-mark { width: 1.8rem; } }
/* The full menu only appears once it fits without pushing the logo off centre. */
@media (min-width: 72em) {
  .menu-btn { display: none; }
  .nav-primary { display: block; }
}
@media (min-width: 64em) {
  .brand-a { font-size: 1.05rem; }
  .brand-b { font-size: 1.3rem; }
  .brand-mark { width: 2.4rem; }
}

/* ---------- Sheets (menu, cart) ---------- */
dialog { color: var(--ink); }
dialog.sheet { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(27rem, 90vw); max-width: none; height: 100%; max-height: none; padding: 0; border: 0; background: var(--paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .6s var(--ease); }
dialog.sheet:not([open]) { display: none; }
dialog.sheet-right { inset: 0 0 0 auto; transform: translateX(100%); }
dialog.sheet.is-open { transform: none; }
dialog::backdrop { background: rgba(30, 26, 22, 0); transition: background-color .6s var(--ease); }
dialog.is-open::backdrop { background: rgba(30, 26, 22, .42); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--bar-h); padding: 0 .75rem 0 1.5rem; border-bottom: 1px solid var(--rule); flex: none; }
.sheet-title { font-size: 1.6rem; }
.sheet-nav { padding: 1.75rem 1.5rem; }
.sheet-nav a { display: block; padding: .4rem 0; font-family: var(--serif); font-size: 2.1rem; line-height: 1.25; text-decoration: none; }
.sheet-nav a[aria-current="page"] { font-style: italic; color: var(--leather); }
.sheet-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--rule); font-size: .85rem; }
.lang-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding: .3rem 0; }
.ig-link { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; text-decoration: none; color: var(--ink-soft); }
.ig-link:hover { color: var(--ink); }

/* ---------- Cart ---------- */
.cart-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-scroll { flex: 1; overflow-y: auto; padding: 0 1.5rem; overscroll-behavior: contain; }
.cart-foot { flex: none; padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--rule); background: var(--paper); }
.cart-foot .link-arrow { margin-top: 1rem; }
.cart-lines { margin: 0; }
.cart-line { display: grid; grid-template-columns: 4.75rem 1fr auto; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.cart-thumb { display: block; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; text-decoration: none; }
.cart-name:hover { text-decoration: underline; }
.cart-unit { font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; }
.cart-controls { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; flex-wrap: wrap; }
.cart-line-total { font-size: .95rem; white-space: nowrap; }
.cart-notice { margin: 1rem 0 0; padding: .75rem 1rem; background: var(--card); border-left: 2px solid var(--oxblood); font-size: .85rem; }
.cart-empty { padding: 3rem 1.5rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.cart-empty p:not(.h3) { color: var(--ink-soft); }
.ship-progress { margin-bottom: 1.25rem; font-size: .85rem; color: var(--ink-soft); }
.bar-track { height: 2px; background: var(--rule); margin-top: .6rem; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--leather); transition: width .8s var(--ease); }
.summary { display: grid; gap: .45rem; margin-bottom: 1.25rem; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; }
.summary .summary-total { padding-top: .75rem; margin-top: .35rem; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: 1.5rem; }
.summary .summary-total dt { color: var(--ink); }
.pay-note { font-size: .8rem; color: var(--ink-soft); margin-top: .9rem; line-height: 1.55; }
.form-error { color: var(--oxblood); font-size: .85rem; margin-top: .5rem; min-height: 1px; }
.cart-page { padding-bottom: clamp(4rem, 10vw, 7rem); min-height: 70vh; display: flex; flex-direction: column; }
.cart-page > .cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-page-grid { display: grid; gap: 2.5rem; width: 100%; }
.cart-page .cart-lines { border-top: 1px solid var(--rule); }
.cart-aside { background: var(--card); border: 1px solid var(--rule); padding: 1.75rem; align-self: start; }
@media (min-width: 56em) {
  .cart-page-grid { grid-template-columns: 1fr 23rem; gap: 4rem; }
  .cart-aside { position: sticky; top: calc(var(--bar-h) + 2rem); }
  .cart-page .cart-line { grid-template-columns: 6.5rem 1fr auto; gap: 1.5rem; }
}

.qty { display: inline-flex; align-items: stretch; height: 3.25rem; border: 1px solid var(--control); background: var(--card); }
.qty-btn { width: 2.75rem; display: grid; place-items: center; border: 0; background: none; padding: 0; }
.qty-btn:hover:not([disabled]) { background: var(--paper-2); }
.qty-btn[disabled] { opacity: .35; cursor: not-allowed; }
.qty-input { width: 2.75rem; border: 0; background: none; text-align: center; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 2.75rem; }
.qty-sm .qty-btn { width: 2.75rem; }
.qty-val { min-width: 1.75rem; display: grid; place-items: center; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head-center { justify-content: center; text-align: center; }
.page-head { padding-block: clamp(2.75rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.25rem); }
.page-head .lede { max-width: 40rem; }
.page-head.center .lede, .center .lede { margin-inline: auto; }

/* Hero */
.hero { padding-block: clamp(2.25rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.hero-copy .lede { max-width: 30rem; }
.hero-media { position: relative; margin-inline: calc(-1 * var(--gutter)); overflow: hidden; background: var(--paper-2); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgba(251, 248, 242, .55); outline-offset: -14px; }
@media (prefers-reduced-motion: no-preference) { .hero-media img { animation: settle 2.6s var(--ease) both; } }
@keyframes settle { from { transform: scale(1.045); } to { transform: none; } }
@media (min-width: 48em) {
  .hero-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); }
  .hero-media { margin-inline: 0; }
  .hero-media img { outline-offset: -18px; }
}

/* Promises */
.promises { border-block: 1px solid var(--rule); }
.promise-list { display: grid; }
.promise { padding: 1.75rem 0; text-align: center; }
.promise + .promise { border-top: 1px solid var(--rule); }
.promise-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin-bottom: .35rem; }
.promise p:not(.promise-title) { color: var(--ink-soft); font-size: .92rem; max-width: 22rem; margin-inline: auto; }
@media (min-width: 48em) {
  .promise-list { grid-template-columns: repeat(3, 1fr); }
  .promise { padding: 2.5rem 2rem; }
  .promise + .promise { border-top: 0; border-left: 1px solid var(--rule); }
}

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1rem; }
@media (min-width: 48em) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.75rem; } .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.75rem; } }
@media (min-width: 64em) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 48em) and (max-width: 63.99em) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card-link:hover .card-img { transform: scale(1.035); }
  .card-link:hover .card-img-alt { opacity: 1; }
}
.card-body { padding-top: 1.1rem; }
.card-cat { margin-bottom: .35rem; font-size: .7rem; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.card-price { margin-top: .4rem; font-size: .92rem; }
.price-was { color: var(--ink-soft); margin-left: .35rem; font-size: .9em; }
.badge { position: absolute; top: .75rem; left: .75rem; background: var(--card); color: var(--oxblood); padding: .35rem .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.badge-quiet { color: var(--ink); }
.is-soldout .card-img { filter: grayscale(.35); opacity: .78; }
.img-missing { aspect-ratio: 4 / 5; background: var(--paper-2); }

/* Craft */
.craft { background: var(--paper-2); padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.craft-grid { display: grid; gap: 3rem; align-items: center; }
.craft-media { margin-inline: calc(-1 * var(--gutter)); }
.craft-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { margin: 2.25rem 0 2.25rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--rule-strong); }
.step:last-child { border-bottom: 1px solid var(--rule-strong); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--oxblood); line-height: 1.2; }
.step p { color: var(--ink-soft); margin-top: .35rem; font-size: .95rem; }
@media (min-width: 56em) {
  .craft-grid { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 7rem); }
  .craft-media { margin-inline: 0; }
}

/* Quote */
.quote { padding-block: clamp(5rem, 12vw, 9rem); }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 5vw, 3.1rem); line-height: 1.22; color: var(--wine); text-wrap: balance; }

/* Reviews */
.reviews { padding-top: 0; }
.review-list { display: grid; gap: 2.5rem; }
.review { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.review blockquote p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; }
.review figcaption { margin-top: 1.25rem; display: grid; gap: .2rem; }
.review-name { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.review-product { font-size: .85rem; color: var(--ink-soft); }
@media (min-width: 48em) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* Newsletter */
.newsletter { background: var(--wine); color: var(--paper); padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.newsletter .h2 { color: var(--paper); }
.newsletter p { color: rgba(245, 239, 228, .82); margin-top: 1rem; }
.newsletter .ornament { color: var(--gold); }
.newsletter .eyebrow { color: var(--gold); }
.nl-form { display: flex; flex-direction: column; gap: .75rem; max-width: 30rem; margin: 2.25rem auto 0; }
.nl-form .input { background: transparent; border-color: rgba(245, 239, 228, .55); color: var(--paper); }
.nl-form .input::placeholder { color: rgba(245, 239, 228, .72); }
.nl-form .input:focus { border-color: var(--paper); }
.nl-form .btn-primary { background: var(--paper); border-color: var(--paper); color: var(--wine); }
.nl-form .btn-primary:hover { background: var(--card); color: var(--ink); }
.newsletter :focus-visible { outline-color: var(--paper); }
.newsletter .nl-note { font-size: .82rem; margin-top: 1rem; }
.newsletter .nl-note a { color: var(--paper); }
@media (min-width: 36em) { .nl-form { flex-direction: row; } .nl-form .input { flex: 1; } }

/* Forms */
.field { display: grid; gap: .45rem; margin-bottom: 1.25rem; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.input { width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border: 1px solid var(--control); border-radius: 0; background: var(--card); font-size: 1rem; transition: border-color .3s; }
.input:focus { border-color: var(--ink); }
textarea.input { min-height: 9.5rem; resize: vertical; line-height: 1.6; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-top: clamp(3.5rem, 8vw, 5rem); background: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand p { color: var(--ink-soft); margin: 1rem 0 1.25rem; max-width: 22rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.brand-sm .brand-a { font-size: 1rem; }
.brand-sm .brand-b { font-size: 1.25rem; }
.brand-sm .brand-mark { width: 3rem; }
.social { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-col .label { margin-bottom: 1rem; }
.footer-col li + li { margin-top: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.5rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-soft); }
.footer-base .lang-link { color: var(--ink); }
@media (min-width: 40em) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1rem; margin-bottom: clamp(2rem, 5vw, 3rem); border-block: 1px solid var(--rule); }
.filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block: .4rem; margin-block: -.4rem; }
.filters::-webkit-scrollbar { display: none; }
.filters ul { display: flex; gap: .5rem; width: max-content; }
.chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--control); border-radius: 999px; font-size: .78rem; letter-spacing: .06em; text-decoration: none; white-space: nowrap; transition: background-color .35s, color .35s, border-color .35s; }
@media (hover: hover) { .chip:hover { border-color: var(--ink); } }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.count { font-size: .8rem; color: var(--ink-soft); }
.empty { padding: 3rem 0; color: var(--ink-soft); }
@media (min-width: 48em) { .filters { margin-inline: -.4rem; padding-inline: .4rem; } }
.page-shop main > .wrap:last-child, .page-shop main > .wrap:last-of-type { padding-bottom: clamp(4.5rem, 10vw, 8rem); }

/* ---------- Product page ---------- */
.crumbs { padding-block: 1.25rem; font-size: .78rem; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--rule-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 2rem; padding-bottom: clamp(3rem, 8vw, 6rem); }
.gallery { margin-inline: calc(-1 * var(--gutter)); min-width: 0; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { scroll-snap-align: start; }
.gallery-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.gallery-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zoom-hint { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(251, 248, 242, .88); color: var(--ink); }
.thumbs { display: flex; gap: .5rem; padding: .75rem var(--gutter) .4rem; overflow-x: auto; }
.thumb { flex: none; width: 3.75rem; padding: 0; border: 1px solid transparent; background: var(--paper-2); opacity: .7; transition: opacity .3s, border-color .3s; }
.thumb img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.pdp-title { margin-bottom: .75rem; }
.pdp-price { font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
.stock { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--ink-soft); margin-top: .75rem; }
.stock::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--leather); }
.stock-low { color: var(--oxblood); }
.stock-low::before { background: var(--oxblood); }
.stock-out::before { background: var(--rule-strong); }
.pdp-desc { margin: 1.75rem 0; color: var(--ink); }
.buy { display: flex; flex-wrap: wrap; gap: .75rem; }
.buy .btn-grow { flex: 1 1 12rem; min-width: 0; }
.accordion { margin-top: 2.25rem; }
.acc { border-top: 1px solid var(--rule); }
.acc:last-child { border-bottom: 1px solid var(--rule); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; width: .8rem; height: .8rem; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc[open] .acc-icon::after { transform: rotate(0deg); }
.acc-body { padding-bottom: 1.4rem; color: var(--ink-soft); font-size: .95rem; }
.related { border-top: 1px solid var(--rule); }
@media (min-width: 64em) {
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .gallery { margin-inline: 0; }
  .gallery-track { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 1rem; }
  .thumbs { display: none; }
  .pdp-info { position: sticky; top: calc(var(--bar-h) + 2rem); padding-top: .5rem; }
}

/* Zoom dialog */
dialog.zoom { width: 100vw; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); opacity: 0; transition: opacity .45s var(--ease); }
dialog.zoom.is-open { opacity: 1; }
.zoom-close { position: fixed; top: .75rem; right: .75rem; z-index: 2; background: var(--card); border-radius: 50%; }
.zoom-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; padding: 1rem; border: 0; background: none; }
.zoom-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.zoom-stage:focus-visible { outline-offset: -6px; }
.zoom-stage.is-zoomed { cursor: zoom-out; touch-action: none; }
.zoom-stage.is-zoomed img { transform: scale(2.2); }

/* ---------- Content pages ---------- */
.page-hero { padding-block: clamp(2.75rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4rem); max-width: 60rem; margin-inline: auto; }
.page-hero .lede { max-width: 44rem; }
.wide-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-sections { display: grid; gap: 3rem; padding-block: clamp(4rem, 10vw, 7rem); }
.about-n { display: block; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--oxblood); margin-bottom: .5rem; }
.about-section .h3 { margin-bottom: 1rem; }
.about-section .prose { color: var(--ink-soft); }
@media (min-width: 56em) { .about-sections { grid-template-columns: 1fr 1fr; gap: 4.5rem 6rem; } }
.signoff { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); }
.signoff .lede { margin: 0 auto 2rem; }

.contact { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); }
.contact-grid { display: grid; gap: 3rem; }
.contact-list > div { padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.contact-list > div:last-child { border-bottom: 1px solid var(--rule); }
.contact-list dd { margin: .35rem 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; overflow-wrap: anywhere; }
.contact-list dd mark.tofill { font-size: .62em; }
@media (min-width: 56em) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 6rem; } }

.faq { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); }
.faq-group { margin-top: 2.75rem; }
.faq-group .h3 { margin-bottom: 1rem; }
.faq .acc summary { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.faq-more { margin-top: 4rem; display: grid; gap: .75rem; justify-items: center; }

.legal { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); }
.legal-body { max-width: none; }
.legal-note { font-style: italic; color: var(--ink-soft); border-left: 2px solid var(--rule-strong); padding-left: 1rem; }
.legal-updated { color: var(--ink-soft); font-size: .85rem; margin-top: 2.5rem !important; }
.withdrawal-form { margin-top: 3rem !important; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--card); border: 1px solid var(--rule-strong); }
.withdrawal-form h2 { margin-top: 0; }
.withdrawal-form dl { margin-top: 1rem; }
.withdrawal-form dt { font-size: .8rem; color: var(--ink-soft); margin-top: 1.1rem; }
.withdrawal-form dd { margin: .3rem 0 0; }
.form-line { display: block; height: 2.1rem; border-bottom: 1px solid var(--ink-soft); }

.notfound { padding-block: clamp(4rem, 12vw, 8rem); }
.nf-num { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 24vw, 12rem); line-height: .9; color: var(--leather); margin-bottom: 1.5rem; }

.thanks { padding-block: clamp(4rem, 10vw, 7rem); }
.thanks .btn { margin-top: 2.5rem; }
.order-box { margin: 2.5rem auto 0; max-width: 30rem; text-align: left; background: var(--card); border: 1px solid var(--rule); padding: 1.75rem; }
.order-id { font-family: var(--serif); font-size: 1.4rem; margin: .25rem 0 1rem; overflow-wrap: anywhere; }
.order-items { margin: 1.25rem 0; border-top: 1px solid var(--rule); }
.order-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; transform: translate(-50%, 1rem); background: var(--ink); color: var(--paper); padding: .85rem 1.3rem; font-size: .85rem; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); max-width: calc(100vw - 2rem); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveal: pure CSS scroll-driven animation, no script work on load.
   Browsers without animation-timeline simply show the content. */
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 60%; }
  }
}

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

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .no-print, .skip, .toast, dialog { display: none !important; }
  .legal { padding: 0; }
  .withdrawal-form { border: 0; padding: 0; background: none; }
}

/* Markets */
.markets { padding-block: clamp(4rem, 9vw, 6.5rem); border-top: 1px solid var(--rule); }
.markets-grid { display: grid; gap: 2.5rem; }
.market-list { display: grid; border-top: 1px solid var(--rule-strong); }
.market { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule-strong); }
.market-date { font-family: var(--serif); line-height: 1; text-align: center; color: var(--wine); }
.market-day { display: block; font-size: 2.2rem; font-weight: 500; }
.market-month { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-top: .25rem; color: var(--gold-ink); }
.market-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.market-city { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 56em) { .markets-grid { grid-template-columns: 2fr 3fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; } }

/* ---------- Opening soon (under construction mode, src/construction.ts) ---------- */
.soon { flex: 1; display: grid; place-items: center; padding: clamp(2rem, 8vw, 5rem) var(--gutter); }
.soon-card { width: 100%; max-width: 36rem; text-align: center; }
.soon-brand { flex-direction: column; gap: 1rem; }
.soon-brand .brand-mark { width: 4.5rem; }
.soon-brand .brand-a { font-size: 1.15rem; }
.soon-brand .brand-b { font-size: 1.45rem; }
.soon-motif { color: var(--gold-ink); margin: 2rem 0 1.25rem; }
.soon .h1 { margin: 0; }
.soon .lede { margin-inline: auto; max-width: 30rem; }
.soon-markets { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.soon-markets .eyebrow { margin: 0 0 1rem; }
.soon-markets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-family: var(--serif); font-size: 1.2rem; }
.soon-date { color: var(--ink-soft); font-style: italic; }
.soon-links { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.75rem; font-size: .95rem; }
.soon-links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: var(--ink); text-underline-offset: .25em; }
.soon-en { margin: 2.5rem auto 0; max-width: 28rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.soon .eyebrow { margin: 0 0 .75rem; }
.soon-status { margin: 1.5rem auto 0; max-width: 30rem; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.soon-craft { list-style: none; margin: 2.5rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--rule); display: grid; gap: 1.1rem; text-align: left; }
.soon-craft li { line-height: 1.6; color: var(--ink-soft); }
.soon-craft strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
