/* ManavKala — design system
   Ivory and charcoal carry the page; terracotta and olive are used sparingly.
   Type: Cormorant Garamond (display) + Manrope (UI and body). */

:root {
  --ivory: #F5F0E8;
  --sand: #E8DDCC;
  --sand-2: #DDD0BB;
  --charcoal: #25221E;
  --ink-2: #57514A;
  --ink-3: #615A51;
  --terracotta: #A85C3B;
  --terracotta-ink: #904A2B; /* text-safe on ivory and sand */
  --olive: #74765A;
  --olive-deep: #4E5040;
  --brass: #A88B57;
  --line: rgba(37, 34, 30, 0.13);
  --line-2: rgba(37, 34, 30, 0.26);
  --danger: #9A3A22;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1480px;
  --sec: clamp(88px, 11vw, 176px);
  --hdr-h: 76px;

  --t-display: clamp(3.3rem, 8.4vw, 8.4rem);
  --t-h1: clamp(2.6rem, 5.4vw, 4.9rem);
  --t-h2: clamp(2.2rem, 4.1vw, 3.75rem);
  --t-h3: clamp(1.5rem, 2vw, 1.9rem);
  --t-lede: clamp(1.06rem, 1.25vw, 1.2rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.72rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font: 400 var(--t-body)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 1px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr { 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: 12px; top: -60px; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.page-narrow { max-width: 820px; padding-block: clamp(48px, 7vw, 96px) var(--sec); }
.muted { color: var(--ink-3); }

/* ── Type ── */
.display, .h1, .h2, .h3, .pdp-title, .card-title, .tile-title, .article-title, .wordmark, .col-row-title, .edit-title, .drawer-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.display { font-size: var(--t-display); line-height: 0.92; letter-spacing: -0.025em; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 400; color: var(--ink-2); }
.display-md { font-size: clamp(3rem, 7vw, 6.5rem); }
.h1 { font-size: var(--t-h1); line-height: 1; margin-bottom: 0.35em; }
.h2 { font-size: var(--t-h2); line-height: 1.02; }
.h3 { font-size: var(--t-h3); line-height: 1.15; }
.lede { font-size: var(--t-lede); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.eyebrow, .card-meta, .tile-no, .tag, .plate, legend, .fs > legend {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--terracotta-ink); margin-bottom: 1.4rem; }
.prose { max-width: 40rem; }
.prose h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; margin: 2.2em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--terracotta); }
.tbc { font-size: var(--t-small); color: var(--terracotta-ink); border-left: 2px solid var(--terracotta-ink); padding-left: 12px; }

/* ── Buttons & links ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid var(--charcoal); border-radius: 0;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; background: transparent; color: var(--charcoal);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: var(--terracotta-ink); border-color: var(--terracotta-ink); }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:disabled:hover { background: transparent; color: var(--charcoal); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.72rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.btn + .btn { margin-left: 8px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.link-arrow:hover { border-color: var(--charcoal); gap: 14px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .count {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--terracotta-ink); color: var(--ivory); font-size: 0.62rem; font-weight: 600; line-height: 1;
}
.count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ── Announcement & header ── */
.announce { background: var(--charcoal); color: var(--sand); text-align: center; font-size: 0.75rem; letter-spacing: 0.06em; }
.announce p { margin: 0; padding: 9px var(--gutter); }
.announce a { color: var(--ivory); margin-left: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 240, 232, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header.is-solid { background: rgba(245, 240, 232, 0.96); border-color: var(--line); }
.hdr {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--hdr-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  transition: height 0.35s var(--ease);
}
.site-header.is-solid .hdr { height: 64px; }
.wordmark { font-size: 1.6rem; line-height: 1; text-decoration: none; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.wordmark span { font-style: italic; text-transform: none; letter-spacing: 0.02em; color: var(--terracotta-ink); margin-left: 0.04em; font-size: 1.12em; }
.wordmark-lg { font-size: 2.2rem; }
.hdr-menu { display: none; margin-left: -10px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.3vw, 36px); justify-content: center; }
.primary-nav a { font-size: 0.86rem; font-weight: 500; text-decoration: none; padding: 8px 0; position: relative; color: var(--ink-2); transition: color 0.25s; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--charcoal); }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }
.hdr-actions { display: flex; gap: 2px; margin-right: -10px; }

/* ── Drawers ── */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(37, 34, 30, 0.4); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease); overflow-y: auto;
}
.drawer-left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer-right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer-top .drawer-panel { left: 0; right: 0; bottom: auto; width: 100%; transform: translateY(-100%); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 1.8rem; }
.drawer-nav { list-style: none; margin: 0; padding: 28px 24px; }
.drawer-nav a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; text-decoration: none; }
.drawer-nav a[aria-current] { font-style: italic; color: var(--terracotta-ink); }
.drawer-sub { list-style: none; margin: 0; padding: 20px 24px 40px; border-top: 1px solid var(--line); }
.drawer-sub a { display: block; padding: 9px 0; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.search-bar { max-width: var(--maxw); margin-inline: auto; padding: 20px var(--gutter); display: flex; align-items: center; gap: 14px; }
.search-bar > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; flex: none; }
.search-bar input { flex: 1; border: 0; border-bottom: 1px solid var(--line-2); background: none; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); padding: 8px 0; border-radius: 0; }
.search-bar input:focus { outline: none; border-color: var(--charcoal); }

/* Bag drawer */
.bag-body { flex: 1; display: flex; flex-direction: column; }
.bag-items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; }
.bag-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 84px; height: 105px; object-fit: cover; background: var(--sand); }
.bag-item h3 { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.bag-item h3 a { text-decoration: none; }
.bag-item .opt-line { font-size: 0.8rem; color: var(--ink-3); margin: 2px 0 10px; }
.bag-item .line-price { font-size: 0.9rem; white-space: nowrap; }
.bag-item .remove { background: none; border: 0; padding: 4px 0; font-size: 0.75rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; display: block; margin-top: 8px; }
.bag-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); background: var(--ivory); position: sticky; bottom: 0; }
.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.92rem; }
.totals .grand { font-weight: 600; font-size: 1rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.totals dd { margin: 0; }
.totals .note { font-size: 0.78rem; color: var(--ink-3); }
.bag-empty { padding: 48px 24px; }
.bag-empty p { color: var(--ink-2); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 52px; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; background: none; border: 0; }
.qty button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.qty input { width: 36px; text-align: center; border: 0; background: none; -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: 38px; }
.qty-sm button { width: 34px; }

/* ── Sections ── */
.sec { padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 26rem); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--ink-2); }

/* ── Hero ── */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(72px, 9vw, 140px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-copy { padding-bottom: clamp(8px, 4vw, 64px); }
.hero-copy .display { margin-bottom: 0.42em; }
.hero-copy .lede { max-width: 25em; margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hero-art { margin: 0; position: relative; }
.hero-art::before { content: ''; position: absolute; inset: 8% -9% -6% 18%; background: var(--sand); z-index: -1; }
.hero-frame { display: block; overflow: hidden; border-radius: 999px 999px 0 0; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.hero-frame:hover img { transform: scale(1.025); }
.hero-art figcaption { display: flex; gap: 14px; margin-top: 16px; font-size: 0.8rem; color: var(--ink-3); }
.plate { color: var(--charcoal); }
.hero-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hero-index li a { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.85rem; color: var(--ink-2); transition: color 0.25s, padding 0.35s var(--ease); }
.hero-index li a span { font-size: 0.7rem; color: var(--terracotta-ink); padding-top: 2px; font-variant-numeric: tabular-nums; }
.hero-index li a:hover { color: var(--charcoal); padding-left: 6px; }
.hero-index .eyebrow { color: var(--ink-3); margin-bottom: 14px; }

/* ── Collections mosaic ── */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.tile { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.tile-media { display: block; overflow: hidden; background: var(--sand); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-text { display: grid; gap: 6px; }
.tile-no { color: var(--ink-3); }
.tile-title { font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; transition: color 0.3s; }
.tile:hover .tile-title { color: var(--terracotta-ink); }
.tile-blurb { color: var(--ink-2); font-size: 0.92rem; max-width: 26em; }
.tile-1 { grid-column: 1 / 7; grid-row: span 2; }
.tile-1 .tile-media { aspect-ratio: 4 / 5; }
.tile-2 { grid-column: 8 / 13; }
.tile-2 .tile-media { aspect-ratio: 9 / 10; }
.tile-3 { grid-column: 8 / 13; align-self: end; }
.tile-3 .tile-media { aspect-ratio: 9 / 7; }
.tile-4 { grid-column: 1 / 5; }
.tile-4 .tile-media { aspect-ratio: 4 / 5; }
.tile-5 { grid-column: 5 / 9; margin-top: clamp(40px, 7vw, 120px); }
.tile-5 .tile-media { aspect-ratio: 1; }
.tile-6 { grid-column: 9 / 13; }
.tile-6 .tile-media { aspect-ratio: 9 / 11; }

/* ── Product card ── */
.card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.card-media { position: relative; overflow: hidden; background: var(--sand); }
.card-link { display: block; position: relative; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s var(--ease); }
.card-tall .card-media img { aspect-ratio: 5 / 7; }
.card-square .card-media img { aspect-ratio: 1; }
.card-wide .card-media img { aspect-ratio: 4 / 3; }
.card-media .card-alt { position: absolute; inset: 0; height: 100%; opacity: 0; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.card:hover .card-media .card-alt { opacity: 1; }
.wish {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(245, 240, 232, 0.82); color: var(--charcoal);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: fill 0.25s; }
.wish:hover { background: var(--ivory); }
.wish[aria-pressed="true"] svg { fill: var(--terracotta); stroke: var(--terracotta); }
.wish.pop { animation: bump 0.45s var(--ease); }
.wish-lg { position: static; width: 52px; height: 52px; border-radius: 0; border: 1px solid var(--line-2); background: none; flex: none; }
.card-quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(245, 240, 232, 0.94); border: 0; color: var(--charcoal); text-decoration: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.25s;
}
.card-quick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.card:hover .card-quick, .card-quick:focus-visible { opacity: 1; transform: none; }
.card-quick:hover { background: var(--charcoal); color: var(--ivory); }
.card-body { display: grid; gap: 4px; }
.card-meta { display: flex; gap: 14px; color: var(--ink-3); margin: 0; font-size: 0.66rem; }
.card-title { font-size: 1.45rem; line-height: 1.12; }
.card-title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.card-title a:hover { background-size: 100% 1px; }
.card-price { margin: 2px 0 0; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-variant-numeric: tabular-nums; }
.tag { font-size: 0.6rem; letter-spacing: 0.14em; color: var(--olive-deep); border: 1px solid currentColor; padding: 2px 6px; }
.tag-sample { color: var(--terracotta-ink); }
@media (hover: none) {
  .card-media { background: none; }
  .card-link { background: var(--sand); }
  .card-quick { opacity: 1; transform: none; position: static; min-height: 40px; justify-content: flex-start; padding: 0; background: none; border-bottom: 1px solid var(--line); }
  .card-quick:hover { background: none; color: var(--terracotta-ink); }
}

/* ── Featured grid ── */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(44px, 5vw, 80px) clamp(20px, 2.4vw, 36px); align-items: start; }
.feat-1 { grid-column: 1 / 6; }
.feat-2 { grid-column: 7 / 10; margin-top: clamp(60px, 10vw, 180px); }
.feat-3 { grid-column: 10 / 13; }
.feat-4 { grid-column: 2 / 5; }
.feat-5 { grid-column: 6 / 10; margin-top: clamp(40px, 6vw, 100px); }
.feat-6 { grid-column: 10 / 13; margin-top: clamp(100px, 14vw, 240px); }

/* ── Making ── */
.making-sec { background: var(--sand); }
.making-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.making-media { position: relative; padding-bottom: 16%; }
.making-a { width: 78%; aspect-ratio: 9 / 11; object-fit: cover; }
.making-b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 5 / 6; object-fit: cover; outline: clamp(8px, 1.2vw, 16px) solid var(--sand); }
.making-copy .h2 { margin-bottom: 0.6em; }
.making-copy p:not(.lede):not(.eyebrow) { color: var(--ink-2); max-width: 32em; }
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 2.4rem 0 0; }
.materials div { padding: 16px 0; border-top: 1px solid var(--line-2); }
.materials dt { font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.materials dd { margin: 4px 0 0; font-size: 0.86rem; color: var(--ink-2); }

/* ── Spaces ── */
.spaces { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.space { margin: 0; position: relative; overflow: hidden; }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.space:hover img { transform: scale(1.03); }
.space figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; background: var(--ivory); padding: 6px 10px; }
.space-1 { grid-column: 1 / 9; grid-row: 1 / 3; aspect-ratio: 16 / 11; }
.space-2 { grid-column: 9 / 13; aspect-ratio: 9 / 10; }
.space-3 { grid-column: 9 / 11; aspect-ratio: 9 / 13; }
.space-4 { grid-column: 11 / 13; aspect-ratio: 9 / 13; }
.space-3, .space-4 { grid-row: 2; }

/* ── Custom ── */
.custom-sec { background: var(--charcoal); color: var(--ivory); }
.custom-sec .eyebrow { color: var(--brass); }
.custom-sec .h2 em, .custom-sec .lede, .custom-sec .steps p { color: #CFC6B8; }
.custom-sec .btn-dark { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.custom-sec .btn-dark:hover { background: var(--terracotta-ink); border-color: var(--terracotta-ink); color: var(--ivory); }
.custom-sec :focus-visible { outline-color: var(--brass); }
.custom-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.custom-copy .h2 { margin-bottom: 0.6em; }
.steps { list-style: none; margin: 2.4rem 0 2.8rem; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(245, 240, 232, 0.18); }
.steps span { font-size: 0.72rem; color: var(--brass); padding-top: 6px; letter-spacing: 0.1em; }
.steps h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 4px; }
.steps p { font-size: 0.9rem; }
.arch-frame { overflow: hidden; border-radius: 999px 999px 0 0; }
.arch-frame img { width: 100%; aspect-ratio: 9 / 11.5; object-fit: cover; }
.arch-sm { max-width: 360px; margin-top: 2.5rem; }

/* ── Story ── */
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 140px); align-items: center; }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.h2-quote { font-size: clamp(2.4rem, 4.8vw, 4.3rem); margin-bottom: 0.6em; }
.h2-quote em { color: var(--terracotta-ink) !important; }
.story-copy p:not(.lede):not(.eyebrow) { color: var(--ink-2); max-width: 34em; margin-bottom: 2rem; }

/* ── Care strip ── */
.care-strip { border-block: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.care-grid a { padding: 36px 28px 36px 0; text-decoration: none; transition: color 0.3s; }
.care-grid a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.care-grid h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 6px; }
.care-grid p { font-size: 0.86rem; color: var(--ink-2); max-width: 22em; }
.care-grid a:hover h2 { color: var(--terracotta-ink); }

/* ── Journal ── */
.journal-grid { display: grid; grid-template-columns: 6fr 4fr 4fr; gap: clamp(28px, 3vw, 48px); align-items: start; }
.journal-grid-2 { grid-template-columns: 1fr 1fr; }
.article-card { display: grid; gap: 14px; }
.article-media { display: block; overflow: hidden; background: var(--sand); }
.article-media img { width: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .article-media img { transform: scale(1.03); }
.article-title { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.1; }
.article-title a { text-decoration: none; }
.article-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.article-excerpt { color: var(--ink-2); font-size: 0.92rem; max-width: 30em; }

/* ── Newsletter & footer ── */
.newsletter { background: var(--sand); padding-block: clamp(72px, 9vw, 128px); }
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 8vw, 120px); align-items: end; }
.nl-form { margin-top: 28px; max-width: 520px; }
.field-inline { display: flex; align-items: stretch; border-bottom: 1px solid var(--charcoal); }
.field-inline label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.field-inline input { flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; font-size: 1rem; border-radius: 0; }
.field-inline input:focus { outline: none; }
.field-inline:focus-within { border-color: var(--terracotta-ink); }
.field-inline .btn { min-height: 48px; padding: 0 22px; }
.site-footer { background: var(--charcoal); color: #CFC6B8; padding-block: clamp(64px, 8vw, 112px) 32px; font-size: 0.88rem; }
.site-footer a { text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .wordmark { color: var(--ivory); }
.site-footer .wordmark span { color: var(--brass); }
.site-footer :focus-visible { outline-color: var(--brass); }
.ft-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(245, 240, 232, 0.14); }
.ft-brand p { margin-top: 16px; max-width: 22em; }
.ft-meaning { font-family: var(--serif); font-size: 1.15rem; color: var(--sand); }
.ft-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.ft-cols h2 { font-size: var(--t-label); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ivory); margin-bottom: 18px; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.78rem; }
.ft-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }

/* ── Breadcrumbs ── */
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.78rem; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--charcoal); text-decoration: underline; }

/* ── Listing ── */
.list-hero { padding-block: clamp(36px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.list-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.list-hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.listing { padding-bottom: var(--sec); }
.toolbar { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 40px; }
.toolbar .count { margin: 0 auto 0 0; font-size: 0.86rem; color: var(--ink-2); }
.filter-toggle { display: none; }
.filter-toggle svg { width: 18px; height: 18px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-3); }
.sort select { border: 0; background: none; font-size: 0.86rem; color: var(--charcoal); padding: 8px 4px; cursor: pointer; }
.listing-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.filters { position: sticky; top: calc(var(--hdr-h) + 24px); }
.filters-head, .filters-foot .filters-apply { display: none; }
.fgroup { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.fgroup legend { color: var(--charcoal); margin-bottom: 12px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.88rem; cursor: pointer; color: var(--ink-2); }
.check input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-2); margin: 0; flex: none; display: grid; place-items: center; background: var(--ivory); }
.check input:checked { background: var(--charcoal); border-color: var(--charcoal); }
.check input:checked::after { content: ''; width: 8px; height: 4px; border: solid var(--ivory); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.check:hover { color: var(--charcoal); }
.fcount { margin-left: auto; font-size: 0.72rem; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid .card { animation: rise 0.6s var(--ease) both; }
.empty { padding: 64px 0; max-width: 32em; }
.empty .h3 { margin-bottom: 12px; }
.empty p { color: var(--ink-2); margin-bottom: 24px; }
.more { display: grid; justify-items: center; gap: 16px; margin-top: 64px; font-size: 0.85rem; color: var(--ink-3); }
.related-cols { padding-top: 0; }
.col-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.col-links a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; margin-right: 24px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }
.col-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform 0.3s var(--ease); }
.col-links a:hover svg { transform: translateX(4px); }
.col-links a:hover { color: var(--terracotta-ink); }

/* Collections index */
.col-index { display: grid; gap: 0; padding-bottom: var(--sec); }
.col-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); text-decoration: none; }
.col-row:nth-child(even) .col-row-media { order: 2; }
.col-row-media { overflow: hidden; }
.col-row-media img { width: 100%; aspect-ratio: 9 / 6.4; object-fit: cover; transition: transform 1s var(--ease); }
.col-row:hover .col-row-media img { transform: scale(1.03); }
.col-row-text { display: grid; gap: 12px; max-width: 30em; color: var(--ink-2); }
.col-row-title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--charcoal); }
.col-row-count { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); }
.col-row-count svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.edit-card { display: grid; gap: 8px; text-decoration: none; color: var(--ink-2); }
.edit-card img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; margin-bottom: 8px; }
.edit-title { font-size: 2rem; color: var(--charcoal); }

/* ── Product page ── */
.pdp-top { padding-top: 28px; }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-bottom: var(--sec); }
.gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.gallery-main { grid-column: 2; grid-row: 1; background: var(--sand); }
.gallery-slide { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; cursor: zoom-in; }
.gallery-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(245, 240, 232, 0.88); border-radius: 50%; opacity: 0; transition: opacity 0.3s; }
.zoom-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.gallery-slide:hover .zoom-hint, .gallery-slide:focus-visible .zoom-hint { opacity: 1; }
.thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 12px; align-content: start; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--sand); opacity: 0.6; transition: opacity 0.25s, border-color 0.25s; }
.thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumb[aria-pressed="true"], .thumb:hover { opacity: 1; border-color: var(--charcoal); }
.buy { position: sticky; top: calc(var(--hdr-h) + 16px); }
.sample-note { font-size: 0.8rem; color: var(--terracotta-ink); border: 1px solid rgba(160, 83, 47, 0.35); padding: 10px 14px; margin-bottom: 24px; }
.pdp-title { font-size: clamp(2.4rem, 3.8vw, 3.5rem); line-height: 1; margin: 14px 0 10px; }
.pdp-materials { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 22px; }
.pdp-price { font-size: 1.35rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.avail { font-size: 0.82rem; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.avail-made-to-order::before { background: var(--brass); }
.avail-sold-out::before { background: var(--ink-3); }
.buy-form { display: grid; gap: 14px; margin: 28px 0 36px; }
.variants { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.variants legend { width: 100%; margin-bottom: 10px; padding: 0; color: var(--ink-3); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); font-size: 0.88rem; transition: border-color 0.2s, background-color 0.2s; }
.pill input:checked + span { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.pill input:focus-visible + span { outline: 2px solid var(--terracotta-ink); outline-offset: 2px; }
.buy-row { display: flex; gap: 10px; }
.accordions { border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: '+'; font-weight: 400; font-size: 1.2rem; line-height: 1; transition: transform 0.3s var(--ease); }
.accordions details[open] summary::after { transform: rotate(45deg); }
.accordions details > div { padding: 0 0 22px; color: var(--ink-2); font-size: 0.94rem; }
.spec { margin: 0; display: grid; gap: 8px; }
.spec div { display: grid; grid-template-columns: 120px 1fr; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; }
.related { background: var(--sand); }
.reviews blockquote { margin: 24px 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ivory); overflow: hidden; }
.lightbox::backdrop { background: rgba(37, 34, 30, 0.6); }
.lightbox[open] { animation: fade 0.35s var(--ease); }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: auto; }
.lb-stage img { max-width: min(92vw, 1000px); max-height: 88vh; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transition: transform 0.4s var(--ease); }
.lb-stage.is-zoomed img { transform: scale(2); cursor: zoom-out; }
.lb-close { position: absolute; top: 16px; right: 16px; background: var(--ivory); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: var(--ivory); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 0.75rem; color: var(--ink-3); margin: 0; }

/* ── Forms ── */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.82rem; font-weight: 500; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.hint { font-size: 0.78rem; color: var(--ink-3); margin: -2px 0 2px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: #FBF8F3; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input[type="file"] { padding: 11px 14px; font-size: 0.88rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325221E' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(160, 83, 47, 0.14); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { font-size: 0.8rem; color: var(--danger); margin: 0; min-height: 0; }
.field-error:empty { display: none; }
.form-status { font-size: 0.9rem; margin-top: 16px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--olive-deep); }
.form-status.is-info { color: var(--ink-2); border-left: 2px solid var(--brass); padding-left: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row-3 { grid-template-columns: 1.2fr 1.2fr 0.8fr; }
.fs { border: 0; padding: 0; margin: 0 0 32px; }
.fs > legend { margin-bottom: 18px; padding: 0; color: var(--charcoal); }
.consent { align-items: flex-start; font-size: 0.86rem; }
.consent input { margin-top: 3px; }

.custom-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); padding-block: clamp(36px, 5vw, 72px) var(--sec); align-items: start; }
.custom-intro { position: sticky; top: calc(var(--hdr-h) + 24px); }
.custom-intro .lede { margin-bottom: 1.5rem; }
.custom-form { background: #FBF8F3; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.custom-form .field input:not([type="checkbox"]), .custom-form .field select, .custom-form .field textarea { background: var(--ivory); }

/* Cart & checkout */
.cart-page .bag-items { padding: 0; border-top: 1px solid var(--line); }
.cart-page .bag-item { grid-template-columns: 120px 1fr auto; gap: 24px; padding: 24px 0; }
.cart-page .bag-item img { width: 120px; height: 150px; }
.cart-page .bag-item h3 { font-size: 1.5rem; }
.cart-page .bag-foot { position: static; padding: 28px 0 0; border: 0; max-width: 420px; margin-left: auto; }
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(36px, 5vw, 72px) var(--sec); align-items: start; }
.checkout-summary { position: sticky; top: calc(var(--hdr-h) + 24px); background: var(--sand); padding: 32px; }
.checkout-summary .h3 { margin-bottom: 16px; }
.summary-items { list-style: none; margin: 0 0 16px; padding: 0; }
.summary-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.summary-items img { width: 56px; height: 70px; object-fit: cover; }
.pay-box { border-top: 1px solid var(--line); padding-top: 24px; }
.pay-box .muted { font-size: 0.86rem; margin-bottom: 16px; }

/* Search */
.search-page-form { display: flex; gap: 12px; max-width: 640px; margin-top: 12px; }
.search-page-form input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--charcoal); background: none; font-family: var(--serif); font-size: 1.8rem; padding: 6px 0; border-radius: 0; }
.search-page-form input:focus { outline: none; border-color: var(--terracotta-ink); }
.search-articles { margin: 64px 0 var(--sec); }
.search-articles h2 { margin-bottom: 16px; }
.search-articles a { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.4rem; }
.wrap > .grid:last-child { padding-bottom: var(--sec); }

/* Story & article */
.story-hero { padding-block: clamp(48px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.story-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 140px); padding-bottom: var(--sec); align-items: start; }
.story-split .arch-frame { position: sticky; top: calc(var(--hdr-h) + 24px); }
.article-head { max-width: 900px; padding-block: clamp(36px, 5vw, 72px) 40px; }
.article-head .card-meta { margin-bottom: 16px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { padding-block: 56px var(--sec); font-size: 1.06rem; margin-inline: auto; max-width: calc(40rem + 2 * var(--gutter)); }
.not-found { text-align: left; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 16px);
  background: var(--charcoal); color: var(--ivory); padding: 14px 22px; font-size: 0.88rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--sand); margin-left: 10px; }

/* ── Motion ── */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1180px) {
  .primary-nav ul { gap: 18px; }
  .primary-nav a { font-size: 0.8rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-index { grid-column: 1 / -1; }
  .hero-index ol { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
  .hdr { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .hdr-menu { display: inline-grid; justify-self: start; }
  .wordmark { font-size: 1.3rem; justify-self: center; }
  .primary-nav { display: none; }
  .hdr-actions { justify-self: end; }
  .hide-sm { display: none; }

  .sec-head { grid-template-columns: 1fr; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { max-width: 520px; width: 88%; margin-left: auto; }
  .hero-index ol { grid-template-columns: 1fr 1fr; }

  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile-1 { grid-column: 1 / -1; grid-row: auto; }
  .tile-1 .tile-media { aspect-ratio: 4 / 4.4; }
  .tile-2, .tile-3, .tile-4, .tile-5, .tile-6 { grid-column: auto; margin-top: 0; }
  .tile-3 { align-self: start; }
  .tile-5 { grid-column: 1 / -1; }
  .tile-5 .tile-media { aspect-ratio: 16 / 10; }

  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid > .feat { grid-column: auto; margin-top: 0; }
  .feat-1 { grid-column: 1 / -1 !important; }
  .feat-1 .card-tall .card-media img { aspect-ratio: 4 / 4.6; }
  .feat-5 { grid-column: 1 / -1 !important; }
  .feat-2, .feat-4, .feat-6 { margin-top: 48px !important; }

  .making-grid, .custom-grid, .story-grid, .nl-grid, .ft-top, .list-hero-grid, .col-row, .custom-page, .checkout, .story-split, .pdp { grid-template-columns: 1fr; }
  .custom-media { max-width: 440px; }
  .story-media { max-width: 520px; }
  .col-row:nth-child(even) .col-row-media { order: 0; }
  .custom-intro, .checkout-summary, .story-split .arch-frame, .buy { position: static; }
  .checkout-summary { order: -1; }
  .story-split .arch-frame { max-width: 480px; }

  .spaces { grid-template-columns: 1fr 1fr; }
  .space-1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .space-2 { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .space-3, .space-4 { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }

  .care-grid { grid-template-columns: 1fr 1fr; }
  .care-grid a { padding: 28px 16px 28px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .care-grid a:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; }

  .journal-grid { grid-template-columns: 1fr 1fr; }
  .journal-grid .article-card:first-child { grid-column: 1 / -1; }

  /* Mobile filter sheet */
  .listing-grid { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 70; max-height: 86vh; overflow-y: auto;
    background: var(--ivory); padding: 0 24px 24px; box-shadow: 0 -12px 40px rgba(37, 34, 30, 0.18);
    transform: translateY(105%); transition: transform 0.45s var(--ease); visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--ivory); padding: 16px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); z-index: 1; }
  .filters-head h2 { font-family: var(--serif); font-size: 1.6rem; }
  .filters-foot { display: flex; gap: 12px; position: sticky; bottom: -24px; background: var(--ivory); padding: 16px 0 24px; }
  .filters-foot .btn { flex: 1; margin: 0; }
  .filters-foot .filters-apply { display: inline-flex; }

  .grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main, .thumbs { grid-column: 1; }
  .thumbs { grid-row: 2; grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 600px) {
  :root { --sec: 80px; }
  .announce { font-size: 0.7rem; }
  .display { font-size: clamp(3.1rem, 15vw, 4.4rem); }
  .hero-art { width: 100%; }
  .hero-art::before { inset: 10% -16px -5% 30%; }
  .hero-index ol { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; gap: 44px; }
  .tile-2 .tile-media, .tile-3 .tile-media, .tile-4 .tile-media, .tile-6 .tile-media { aspect-ratio: 4 / 3.6; }
  .feat-grid { gap: 40px 14px; }
  .card-title { font-size: 1.2rem; }
  .card-meta { gap: 8px; font-size: 0.6rem; }
  .card-meta span:nth-child(2) { display: none; }
  .wish { top: 6px; right: 6px; width: 36px; height: 36px; }
  .grid { gap: 40px 14px; }
  .materials { grid-template-columns: 1fr; }
  .making-media { padding-bottom: 22%; }
  .care-grid { grid-template-columns: 1fr; }
  .care-grid a, .care-grid a:nth-child(even) { padding: 22px 0 !important; border-left: 0 !important; }
  .hero-index { display: none; }
  .journal-grid, .journal-grid-2, .edit-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; }
  .btn + .btn { margin: 10px 0 0; }
  .hero-ctas .btn { width: 100%; }
  .cart-page .bag-item { grid-template-columns: 88px 1fr; }
  .cart-page .bag-item img { width: 88px; height: 110px; }
  .cart-page .bag-item .line-price { grid-column: 2; }
  .toolbar { flex-wrap: wrap; gap: 8px 16px; }
  .sort span { display: none; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .qty { flex: none; }
  .checkout-summary { padding: 24px; }
  .search-page-form input { font-size: 1.4rem; }
}
