/* Maison Lumière — direction éditoriale : ivoire, encre, bordeaux.
   Titres Cormorant Garamond, texte Nunito (polices locales, OFL). */

@font-face {
  font-family: "Cormorant";
  src: url("../webfonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../webfonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../webfonts/nunito.ttf");
  font-weight: 200 1000;
  font-display: swap;
}

.account-badge { display:flex; align-items:center; gap:12px; font-size:13px; flex-wrap:wrap; }
.account-badge button { font-size:inherit; }
.size-guide-trigger { margin:0 0 20px; }
.size-guide { width:min(540px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:clamp(24px,5vw,48px); border:1px solid #ddd2c2; background:#fffdf9; color:#1f1c1a; }
.size-guide::backdrop { background:rgb(31 28 26 / .55); }
.size-guide > button { float:right; }
.size-guide h2 { clear:both; font:44px/1.1 "Cormorant",Georgia,serif; margin:20px 0; }
.size-guide li { margin:16px 0; }
:root {
  --ivory: #f6f1ea;
  --paper: #fffdf9;
  --sand: #ebe2d4;
  --line: #ddd2c2;
  --ink: #1f1c1a;
  --muted: #6d645a;
  --wine: #6b1f2a;
  --wine-dark: #521520;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", Arial, sans-serif;
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--wine);
}
:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}
h3 {
  font-size: 1.5rem;
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
}
small,
.help {
  color: var(--muted);
  font-size: 0.85rem;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}
.wrap {
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.section {
  padding-block: clamp(56px, 8vw, 110px);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
}
.skip:focus {
  left: 8px;
}

/* ---------- buttons ---------- */
.button,
button.button,
form button[type="submit"],
form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: 600 0.82rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.button:hover,
form button[type="submit"]:hover,
form > button:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}
.button.ghost {
  background: transparent;
  color: var(--ink);
}
.button.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.button.full {
  width: 100%;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-button:hover {
  color: var(--wine);
}

/* ---------- header ---------- */
.announcement {
  background: var(--wine);
  color: #f3e6e3;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand small {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--muted);
}
.links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.links a {
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.links a:hover,
.links a[aria-current="page"] {
  border-color: currentColor;
  color: var(--ink);
}
.links .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.links .count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
}
.menu-button {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: transparent;
  font: 600 0.75rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
#notification {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  border-radius: var(--radius);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
#notification.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  line-height: 0.95;
}
.hero h1 em {
  font-style: italic;
  color: var(--wine);
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 44ch;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero figure {
  position: relative;
  margin: 0;
}
.hero figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-position: 50% 25%;
}
.hero figcaption {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--paper);
  padding: 14px 20px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  box-shadow: 0 10px 30px rgba(31, 28, 26, 0.12);
}
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--muted);
}
.ticker div {
  display: inline-block;
  padding-block: 14px;
  animation: ticker 38s linear infinite;
}
.ticker span {
  margin-inline: 28px;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- section head ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 0;
}
.section-head a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 24px;
}
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.product-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product:hover .product-media img {
  transform: scale(1.04);
}
.wish {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  cursor: pointer;
  transition:
    color 0.2s,
    transform 0.2s;
}
.wish:hover {
  transform: scale(1.06);
}
.wish[aria-pressed="true"] {
  color: var(--wine);
}
.product-info {
  padding-top: 14px;
}
.product-info h3 {
  font-size: 1.45rem;
  margin: 0 0 4px;
}
.product-info h3 a {
  text-decoration: none;
}
.product-info p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.product-info strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- categories ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
}
.category img {
  width: 100%;
  aspect-ratio: 4 / 5;
  transition: transform 0.8s;
}
.category:hover img {
  transform: scale(1.04);
}
.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 10, 0.6), transparent 55%);
}
.category span {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--serif);
  font-size: 2rem;
}
.category small {
  display: block;
  color: rgba(255, 253, 249, 0.85);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.category:hover {
  color: var(--paper);
}

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.split.reverse > :first-child {
  order: 2;
}
.band {
  background: var(--paper);
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  counter-reset: v;
}
.values li {
  list-style: none;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.values li::before {
  counter-increment: v;
  content: "0" counter(v);
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--wine);
  margin-bottom: 8px;
}
.values {
  padding: 0;
}

/* ---------- journal ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.journal-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 18px;
}
.journal-card .eyebrow {
  margin-bottom: 8px;
}
.journal-card h3 a {
  text-decoration: none;
}
.journal-card p:last-child {
  color: var(--muted);
}

/* ---------- newsletter / instagram ---------- */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  padding: clamp(32px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}
.news h2 {
  margin: 0;
}
.news p {
  color: #cfc6bb;
}
.news form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.news label {
  flex: 1 1 240px;
  color: #cfc6bb;
}
.news input {
  background: transparent;
  border-color: #6d645a;
  color: var(--paper);
}
.news form > button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  align-self: end;
}
.news form > button:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}
.news [role="status"],
.news .help {
  flex-basis: 100%;
  color: #cfc6bb;
}
.instagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.instagram figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.instagram img {
  width: 100%;
  aspect-ratio: 1;
  transition: transform 0.6s;
}
.instagram figure:hover img {
  transform: scale(1.05);
}
.instagram figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(20, 12, 10, 0.65), transparent);
  color: var(--paper);
  font-size: 0.8rem;
}

/* ---------- page title ---------- */
.title {
  padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.title h1 {
  margin-bottom: 12px;
}
.title p {
  color: var(--muted);
  font-size: 1.1rem;
}
.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 24px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}

/* ---------- shop toolbar ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px 24px;
  padding-block: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.toolbar label {
  flex: 1 1 200px;
  max-width: 320px;
}
.toolbar [data-result-count] {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- forms ---------- */
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem var(--sans);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: none;
}
.form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.status,
[role="status"] {
  margin: 0;
  font-size: 0.9rem;
}
.form-panel [role="status"]:not(:empty) {
  padding: 12px 14px;
  background: var(--sand);
}
.auth {
  display: grid;
  place-items: center;
  padding-block: clamp(48px, 8vw, 110px);
}
.auth .form-panel {
  width: min(460px, 100%);
}
.auth h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

/* ---------- product detail ---------- */
.detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-block: 32px clamp(56px, 8vw, 100px);
}
.detail figure {
  margin: 0;
  background: var(--sand);
  position: sticky;
  top: 100px;
}
.detail figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
}
.detail h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}
.detail .price {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.sizes {
  border: 0;
  padding: 0;
  margin: 24px 0 8px;
}
.sizes legend {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.sizes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size {
  display: block;
}
.size input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.size span {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-weight: 600;
}
.size input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.size input:focus-visible + span {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}
.buy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.buy button[type="submit"] {
  flex: 1 1 220px;
}
.wish-large {
  position: static;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0 18px;
  min-height: 48px;
  display: inline-flex;
  gap: 8px;
  font: 600 0.82rem var(--sans);
}
[data-product-status] {
  margin-top: 14px;
  min-height: 1.5em;
}
details {
  border-top: 1px solid var(--line);
  padding-block: 16px;
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}
details[open] summary::after {
  content: "−";
}
details p {
  margin: 12px 0 0;
  color: var(--muted);
}
.accordion {
  margin-top: 32px;
}
.missing {
  text-align: center;
}

/* ---------- cart & checkout ---------- */
[data-cart] {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
[data-cart] > .empty {
  grid-column: 1 / -1;
}
.cart-list {
  border-top: 1px solid var(--line);
}
.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 110px;
  aspect-ratio: 3 / 4;
}
.cart-row h3 {
  font-size: 1.5rem;
  margin: 0;
}
.cart-row h3 a {
  text-decoration: none;
}
.cart-row p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.cart-side {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 1.1rem;
  cursor: pointer;
}
.stepper output {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}
.summary {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.summary h2 {
  font-size: 2rem;
}
.summary dl {
  margin: 0 0 24px;
}
.summary dl div {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
  color: var(--muted);
}
.summary dd {
  margin: 0;
}
.summary .total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}
.summary-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.summary-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.summary-list img {
  width: 60px;
  aspect-ratio: 3 / 4;
}
.summary-list small {
  display: block;
}
.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.confirmation {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.confirmation:focus {
  outline: none;
}
.confirmation ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: var(--muted);
}

/* ---------- empty states ---------- */
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(48px, 7vw, 96px) 16px;
  border: 1px dashed var(--line);
}
.empty p {
  margin-inline: auto;
  color: var(--muted);
}
.big404 {
  font-family: var(--serif);
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.9;
  color: var(--wine);
  margin: 0;
}

/* ---------- article ---------- */
[data-article] {
  display: grid;
  grid-template-columns: 1fr minmax(0, 680px) 1fr;
}
[data-article] > * {
  grid-column: 2;
}
.article-head {
  padding-block: clamp(40px, 6vw, 80px) 32px;
  text-align: center;
}
.article-head p {
  margin-inline: auto;
}
.article-cover {
  grid-column: 1 / -1 !important;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 3 / 2;
  margin-bottom: 56px;
}
.article-body h2 {
  font-size: 2.1rem;
  margin-top: 1.4em;
}
.article-body p {
  font-size: 1.08rem;
}
.article-product {
  max-width: 300px;
  margin: 48px auto 0;
  text-align: center;
}
.article-product > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}
.article-more {
  grid-column: 1 / -1 !important;
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin: 80px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.article-more .journal-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- contact ---------- */
.contact-info dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}
.contact-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-info dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
}
.map {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.9) sepia(0.15);
}
.faq {
  max-width: 820px;
}
.faq summary {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

/* ---------- footer ---------- */
.footer {
  margin-top: clamp(56px, 8vw, 110px);
  padding-block: 64px 32px;
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer nav strong {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer nav a {
  text-decoration: none;
}
.footer nav a:hover {
  text-decoration: underline;
}
.credit {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  max-width: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
  }
  .links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .links.open {
    display: flex;
  }
  .links a {
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
  }
  .hero,
  .split,
  .detail,
  .checkout,
  [data-cart],
  .news {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .hero figcaption {
    left: 16px;
  }
  .detail figure,
  .summary {
    position: static;
  }
  .products,
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories,
  .values {
    grid-template-columns: 1fr;
  }
  .category img {
    aspect-ratio: 16 / 10;
  }
  .instagram {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .products {
    gap: 32px 14px;
  }
  .product-info h3 {
    font-size: 1.2rem;
  }
  .product-info p {
    flex-direction: column;
    gap: 0;
  }
  .journal-grid,
  .article-more .journal-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 84px 1fr;
  }
  .cart-row img {
    width: 84px;
  }
  .cart-side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
  }
  .toolbar label {
    max-width: none;
  }
  .toolbar [data-result-count] {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

[hidden] {
  display: none !important;
}
@media (max-width: 560px) {
  .brand {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }
}

/* checkout choices */
.choice {
  border: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.choice legend {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.option {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
}
.option input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
  accent-color: var(--ink);
}
.option strong {
  display: block;
  font-size: 0.95rem;
}
.option:has(input:checked) {
  border-color: var(--ink);
}
button.loading {
  cursor: progress;
  opacity: 0.85;
}
.form-panel [role="status"] a {
  font-weight: 700;
}

/* ---------- size guide: measurements + care ---------- */
.size-table { width:100%; border-collapse:collapse; margin:18px 0 12px; font-size:15px; }
.size-table caption { text-align:left; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:#7a6f63; margin-bottom:8px; }
.size-table th, .size-table td { padding:9px 8px; border-bottom:1px solid #e8dfd2; text-align:left; }
.size-table thead th { font-weight:600; font-size:13px; color:#5c5248; }
.size-table tbody th { font-weight:600; white-space:nowrap; }
.size-guide h3 { font:28px/1.2 "Cormorant",Georgia,serif; margin:26px 0 8px; }
.size-guide .care li { margin:8px 0; }

/* ---------- account menu ---------- */
.account-menu { position:relative; }
.account-menu summary { list-style:none; cursor:pointer; padding:6px 14px; border:1px solid #d9cdbd; border-radius:999px; background:#fffdf9; white-space:nowrap; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-menu summary::after { content:""; display:inline-block; width:6px; height:6px; margin:0 0 3px 9px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
.account-menu[open] summary { background:#1f1c1a; color:#fffdf9; border-color:#1f1c1a; }
.account-menu > div { position:absolute; right:0; top:calc(100% + 8px); z-index:40; display:grid; gap:4px; min-width:180px; padding:10px; background:#fffdf9; border:1px solid #e3d8c9; box-shadow:0 14px 34px rgb(31 28 26 / .14); }
.account-menu > div a, .account-menu > div button { display:block; text-align:left; padding:8px 10px; }
.account-menu > div a:hover, .account-menu > div button:hover { background:#f4ede3; }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(piece) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
