/* ==========================================================================
   Nusaybah Modest Wear — design system
   Monochrome, matched to the business card: white grounds, ink black, the eight-petal flower.
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #FFFFFF;
  --paper: #FFFFFF;
  --sand: #F3F3F1;
  --linen: #E6E6E3;
  --stone: #BDBDBA;
  --ink: #141414;
  --ink-soft: #333333;
  --muted: #5C5C5C;
  --olive: #141414;
  --olive-deep: #141414;
  --gold: #141414;
  --gold-soft: #BDBDBA;
  --line: rgba(20, 20, 20, 0.12);
  --line-strong: rgba(20, 20, 20, 0.3);

  /* Semantic */
  --bg: var(--ivory);
  --surface: var(--paper);
  --text: var(--ink);
  --text-muted: var(--muted);
  --accent: var(--gold);
  --focus: var(--olive);

  /* Type */
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --fs-2xl: clamp(1.4rem, 1.1rem + 1.3vw, 2.15rem);
  --fs-3xl: clamp(1.9rem, 1.3rem + 2.8vw, 3.6rem);

  /* Space (spacious scale) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: clamp(4.5rem, 3rem + 6vw, 8rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --max: 1320px;
  --header-h: 80px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 700ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--sand { background: var(--sand); }
.section--olive { background: var(--ink); color: #F3F3F1; position: relative; overflow: hidden; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--olive .eyebrow { color: #F3F3F1; }
.lede { font-size: var(--fs-lg); color: var(--text-muted); max-width: 34em; font-weight: 300; }
.section--olive .lede { color: rgba(243, 243, 241, 0.82); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.section-head h2 { font-size: var(--fs-2xl); margin-top: var(--s-3); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

.motif {
  width: 28px; height: 28px; margin-inline: auto;
  background: url("../assets/flower.svg") center/contain no-repeat;
}
.section--olive .motif, .banner .motif { background-image: url("../assets/flower-light.svg"); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-6);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding-block: var(--s-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-med) var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink); color: var(--sand);
  font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; padding: 10px var(--gutter);
}
.announce span + span::before { content: "·"; margin-inline: 0.9em; color: var(--gold-soft); }
@media (max-width: 640px) { .announce span + span { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4);
}
.brand { display: flex; align-items: center; justify-content: center; }
.brand img { height: 24px; width: auto; mix-blend-mode: multiply; }
.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.brand-sub {
  font-family: var(--font-body); font-size: 11px; font-weight: 400; line-height: 1;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink);
  margin-right: -0.32em; /* balance the trailing letter-spacing so it centres */
}
@media (min-width: 900px) { .brand-sub { font-size: 13px; } .brand-lockup { gap: 7px; } }
@media (min-width: 900px) { .brand img { height: 30px; } }

.nav-primary { display: none; }
.nav-primary ul { display: flex; gap: var(--s-6); }
.nav-primary a {
  font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  padding-block: var(--s-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-med) var(--ease);
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { background-size: 100% 1px; }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--s-1); }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center;
  border-radius: 50%; transition: background var(--t-fast) var(--ease);
}
.icon-btn:hover { background: rgba(20, 20, 20, 0.06); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.bag-count {
  position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--olive); color: var(--paper);
  font-size: 11px; line-height: 18px; text-align: center; font-weight: 500;
  transform: scale(0); transition: transform var(--t-med) var(--ease);
}
.bag-count.has-items { transform: scale(1); }
.bag-count.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

.menu-toggle { justify-self: start; }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-content: flex-start; }
  .nav-primary { display: flex; justify-content: center; }
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 20, 0.4);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 92vw);
  background: var(--paper); display: flex; flex-direction: column;
  transition: transform 420ms var(--ease), visibility 420ms;
  visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.drawer-title { font-family: var(--font-display); font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s-5); overscroll-behavior: contain; }
.drawer-foot { padding: var(--s-5); border-top: 1px solid var(--line); background: var(--surface); }

.mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 2rem; padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.mobile-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.mobile-nav-meta { margin-top: var(--s-6); display: grid; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-muted); }

/* Bag */
.bag-empty { text-align: center; padding-block: var(--s-8); color: var(--text-muted); }
.bag-empty .motif { margin-bottom: var(--s-4); width: 36px; height: 36px; }
.bag-item { display: grid; grid-template-columns: 84px 1fr; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.bag-item .swatch { aspect-ratio: 3/4; }
.bag-item h4 { font-size: 1.3rem; }
.bag-item-meta { font-size: var(--fs-sm); color: var(--text-muted); }
.bag-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 28px; text-align: center; font-size: var(--fs-sm); }
.remove-link { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.bag-total { display: flex; justify-content: space-between; font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.bag-note { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--s-4); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-5);
  font-size: var(--fs-sm); letter-spacing: 0.04em; width: max-content; max-width: calc(100vw - 2rem); text-align: center;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Fabric "swatch" imagery (placeholder for photography) ---------- */
.swatch {
  --c: #3E4636;
  position: relative; overflow: hidden; background-color: var(--c);
  background-image:
    radial-gradient(120% 70% at 30% 0%, rgba(255,255,255,0.22), transparent 60%),
    repeating-linear-gradient(96deg,
      rgba(0,0,0,0) 0, rgba(0,0,0,0.10) 3.5%, rgba(255,255,255,0.07) 7%,
      rgba(0,0,0,0.16) 11%, rgba(0,0,0,0) 15%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.22));
}
.swatch::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.swatch--alt {
  background-image:
    radial-gradient(90% 60% at 80% 10%, rgba(255,255,255,0.2), transparent 60%),
    repeating-linear-gradient(84deg,
      rgba(0,0,0,0) 0, rgba(255,255,255,0.08) 4%, rgba(0,0,0,0.14) 9%, rgba(0,0,0,0) 13%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25));
}
.swatch--detail {
  background-image:
    radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,0.18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(0,0,0,0.08) 0 2px, rgba(255,255,255,0.04) 2px 5px),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.2));
}
.arch { border-radius: 999px 999px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: var(--s-7) var(--s-9); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
.hero-copy h1 { font-size: var(--fs-3xl); font-weight: 400; margin-block: var(--s-4) var(--s-5); }
.hero-copy h1 em { font-style: italic; color: var(--olive); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-visual { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-4); align-items: end; }
.hero-visual > .photo-frame { position: relative; z-index: 1; }
.hero-visual > .hero-img-1 { aspect-ratio: 3 / 4.6; }
.hero-visual > .hero-img-2 { aspect-ratio: 3 / 4; margin-bottom: 18%; }
.hero-visual .bloom { width: 125%; left: -12%; top: -14%; opacity: 0.06; z-index: 0; }
.hero-badge { z-index: 2; }
.hero-badge {
  position: absolute; left: 54%; top: 6%; transform: translateX(-50%);
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; text-align: center;
  box-shadow: 0 10px 30px rgba(26,23,20,0.10);
}
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.hero-badge text { font-family: var(--font-body); font-size: 8.5px; letter-spacing: 0; text-transform: uppercase; fill: var(--ink); }
.hero-badge .motif { width: 26px; height: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-meta { display: flex; gap: var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { font-size: var(--fs-sm); color: var(--text-muted); }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--text); }
@media (min-width: 900px) {
  .hero { padding-block: var(--s-8) var(--s-9); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); }
}

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
@media (min-width: 900px) { .collections { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.collection-card { display: block; text-align: center; }
.collection-card .frame { position: relative; aspect-ratio: 3 / 4.2; background: var(--sand); }
.collection-card .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform var(--t-slow) var(--ease); }
.collection-card .frame { overflow: hidden; border-radius: 999px 999px 0 0; }
.collection-card:hover .frame img { transform: scale(1.04); }
.collection-card h3 { font-size: 1.6rem; margin-top: var(--s-4); }
.collection-card p { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--s-1); }

/* ---------- Product card + grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-5); } }
@media (min-width: 1200px) { .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.product-card .media .swatch { position: absolute; inset: 0; transition: opacity var(--t-slow) var(--ease), transform 1.2s var(--ease); }
.product-card .media .swatch--alt { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .media .swatch--alt { opacity: 1; }
  .product-card:hover .media .swatch { transform: scale(1.03); }
}
.product-tag {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2;
  background: var(--paper); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 9px; font-weight: 500;
}
.quick-add {
  position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 2;
  min-height: 44px; background: rgba(255, 255, 255, 0.95); color: var(--ink);
  font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  transform: translateY(calc(100% + var(--s-3))); transition: transform var(--t-med) var(--ease), background var(--t-fast);
}
.quick-add:hover { background: var(--ink); color: var(--paper); }
.product-card:hover .quick-add, .quick-add:focus-visible { transform: none; }
@media (hover: none) { .quick-add { display: none; } }
.product-info { padding-top: var(--s-3); display: grid; gap: 2px; }
.product-info h3 { font-size: 1.3rem; font-weight: 500; }
.product-info h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-info .colour { font-size: var(--fs-sm); color: var(--text-muted); }
.product-info .price { font-size: var(--fs-sm); letter-spacing: 0.04em; margin-top: 2px; }
.dots { display: flex; gap: 6px; margin-top: var(--s-2); }
.dots span { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); }
@media (min-width: 900px) { .product-info h3 { font-size: 1.45rem; } }

/* ---------- Editorial split ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
.split .swatch { aspect-ratio: 4 / 5; }
.split-copy h2 { font-size: var(--fs-2xl); margin-block: var(--s-3) var(--s-5); }
.split-copy p + p { margin-top: var(--s-4); }
.split-copy .link-arrow, .split-copy .btn { margin-top: var(--s-6); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
  .split--reverse .split-media { order: 2; }
}
.split-media { position: relative; }
.split-media .caption {
  position: absolute; bottom: var(--s-4); left: var(--s-4); background: var(--paper);
  padding: var(--s-2) var(--s-3); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Promise / values ---------- */
.values { display: grid; gap: var(--s-6); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.value { padding-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.section--olive .value { border-top-color: rgba(243, 243, 241, 0.28); }
.value svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.2; margin-bottom: var(--s-4); }
.section--olive .value svg { stroke: var(--gold-soft); }
.value h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.value p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--olive .value p { color: rgba(243, 243, 241, 0.78); }

/* ---------- Occasion banner ---------- */
.banner { position: relative; overflow: hidden; color: var(--paper); }
.banner { background: var(--ink); }
.banner .bloom { width: min(820px, 90vw); right: -18%; bottom: -46%; opacity: 0.07; }
@media (max-width: 899px) { .banner .bloom { width: 120vw; right: -40vw; bottom: -55vw; opacity: 0.08; } }
.banner-inner { position: relative; z-index: 1; padding-block: var(--s-9); min-height: min(78vh, 680px); display: grid; align-content: center; }
.banner h2 { font-size: var(--fs-3xl); font-weight: 400; max-width: 11em; margin-block: var(--s-3) var(--s-5); }
.banner p { max-width: 30em; color: rgba(252,250,246,0.88); font-weight: 300; font-size: var(--fs-lg); }
.banner .eyebrow { color: #F3F3F1; }
.banner .btn { margin-top: var(--s-6); align-self: start; justify-self: start; }

/* ---------- Instagram strip ---------- */
.gram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 900px) { .gram { grid-template-columns: repeat(6, 1fr); } }
.gram a { position: relative; aspect-ratio: 1; overflow: hidden; }
.gram img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gram a:hover img { transform: scale(1.06); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; max-width: 640px; margin-inline: auto; }
.newsletter h2 { font-size: var(--fs-2xl); margin-block: var(--s-4); }
.field-inline { display: flex; margin-top: var(--s-6); border-bottom: 1px solid var(--ink); }
.field-inline input { flex: 1; min-width: 0; border: 0; background: transparent; padding: var(--s-4) 0; font-size: var(--fs-base); }
.field-inline input:focus { outline: none; }
.field-inline:focus-within { border-bottom-width: 2px; }
.field-inline button { font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding-inline: var(--s-4); min-height: 52px; }
.form-msg { margin-top: var(--s-3); font-size: var(--fs-sm); min-height: 1.6em; }
.form-msg.is-error { color: #A3342B; }
.form-msg.is-ok { color: var(--olive); }
.fine { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(243, 243, 241, 0.78); padding-top: var(--s-9); font-size: var(--fs-sm); }
.footer-brand img { height: 26px; width: auto; filter: invert(1); mix-blend-mode: screen; opacity: 0.92; }
.footer-brand p { margin-top: var(--s-4); max-width: 26em; line-height: 1.7; }
.footer-grid { display: grid; gap: var(--s-7); grid-template-columns: repeat(2, 1fr); }
.footer-grid > .footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-grid > .footer-brand { grid-column: auto; } }
.site-footer h4 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); font-weight: 500; margin-bottom: var(--s-4); }
.site-footer li a { display: inline-block; padding-block: 6px; transition: color var(--t-fast); }
.site-footer li a:hover { color: var(--paper); }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(243, 243, 241, 0.25); border-radius: 50%; transition: background var(--t-fast), color var(--t-fast); }
.socials a:hover { background: var(--paper); color: var(--ink); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer-base { margin-top: var(--s-8); padding-block: var(--s-5); border-top: 1px solid rgba(243, 243, 241, 0.15); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: var(--fs-xs); letter-spacing: 0.06em; }
.pay { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.pay span { border: 1px solid rgba(243, 243, 241, 0.25); padding: 3px 8px; font-size: 10.5px; letter-spacing: 0.1em; }

/* ---------- Page header ---------- */
.page-head { padding-block: var(--s-8) var(--s-7); text-align: center; }
.page-head h1 { font-size: var(--fs-3xl); font-weight: 400; margin-top: var(--s-3); }
.page-head .lede { margin: var(--s-4) auto 0; }
.crumbs { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); display: flex; gap: var(--s-2); flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Shop toolbar ---------- */
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-block: 1px solid var(--line); margin-bottom: var(--s-7); }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; }
.chips { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-block: var(--s-3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-sm); white-space: nowrap; transition: all var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); flex: none; }
.sort select { border: 0; background: transparent; font-size: var(--fs-sm); padding: var(--s-2); cursor: pointer; min-height: 44px; }
.result-count { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s-5); }
@media (max-width: 720px) {
  .toolbar-inner { flex-direction: column; align-items: stretch; gap: 0; }
  .sort { justify-content: space-between; border-top: 1px solid var(--line); }
}

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: var(--s-7); padding-block: var(--s-5) var(--s-9); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.2fr 1fr; gap: var(--s-8); } }
.gallery { display: grid; gap: var(--s-3); }
.gallery-main { aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.gallery-main .swatch { position: absolute; inset: 0; transition: opacity var(--t-med) var(--ease); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.thumbs button { aspect-ratio: 3/4; position: relative; overflow: hidden; outline-offset: 2px; border: 1px solid transparent; }
.thumbs button .swatch { position: absolute; inset: 0; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
@media (min-width: 960px) {
  .gallery { grid-template-columns: 88px 1fr; align-items: start; }
  .thumbs { grid-template-columns: 1fr; order: -1; }
}
.pdp-info { align-self: start; }
@media (min-width: 960px) { .pdp-info { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.pdp-info h1 { font-size: var(--fs-2xl); margin-block: var(--s-3) var(--s-3); }
.pdp-price { font-size: var(--fs-xl); font-family: var(--font-display); }
.pdp-desc { color: var(--text-muted); margin-top: var(--s-5); font-weight: 300; font-size: var(--fs-lg); }
.option { margin-top: var(--s-6); border: 0; padding: 0; }
.option legend { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: var(--s-3); padding: 0; display: flex; justify-content: space-between; width: 100%; }
.option legend span { font-weight: 400; letter-spacing: 0.08em; text-transform: none; color: var(--text-muted); font-size: var(--fs-sm); }
.colour-opts { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.colour-opt { width: 44px; height: 44px; border-radius: 50%; padding: 4px; border: 1px solid transparent; }
.colour-opt span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.colour-opt[aria-pressed="true"] { border-color: var(--ink); }
.size-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: var(--s-2); }
.size-opt { min-height: 48px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); transition: all var(--t-fast); }
.size-opt:hover { border-color: var(--ink); }
.size-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-help { font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; margin-top: var(--s-3); display: inline-block; min-height: 44px; line-height: 44px; }
.pdp-actions { display: grid; grid-template-columns: 1fr 56px; gap: var(--s-2); margin-top: var(--s-6); }
.pdp-actions .icon-btn { width: 56px; height: 52px; border-radius: 0; border: 1px solid var(--ink); }
.pdp-actions .icon-btn[aria-pressed="true"] svg { fill: var(--ink); }
.pdp-perks { margin-top: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }
.pdp-perks li { display: flex; gap: var(--s-3); align-items: center; }
.pdp-perks svg { width: 18px; height: 18px; stroke: var(--olive); fill: none; stroke-width: 1.4; flex: none; }

.accordion { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; transition: transform var(--t-med) var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: var(--s-5); color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.75; }
.accordion .acc-body li { padding-left: 1em; position: relative; }
.accordion .acc-body li::before { content: "–"; position: absolute; left: 0; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper);
  border-top: 1px solid var(--line); padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  display: flex; gap: var(--s-3); align-items: center; justify-content: space-between;
  transform: translateY(110%); transition: transform var(--t-med) var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy .btn { min-height: 46px; padding-inline: var(--s-5); }
.sticky-buy strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; display: block; line-height: 1.2; }
.sticky-buy small { color: var(--text-muted); }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* Size guide dialog */
dialog.modal { border: 0; padding: 0; width: min(640px, calc(100vw - 2rem)); max-height: 86vh; background: var(--paper); color: var(--text); }
dialog.modal::backdrop { background: rgba(20, 20, 20, 0.45); }
.modal-inner { padding: var(--s-6); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-5); }
.modal-head h2 { font-size: 2rem; }
.table-wrap { overflow-x: auto; }
table.sizes { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.sizes th, table.sizes td { padding: var(--s-3); border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.sizes th { font-weight: 500; letter-spacing: 0.08em; }

/* ---------- Story page ---------- */
.quote { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 400; font-style: italic; line-height: 1.25; max-width: 22em; margin-inline: auto; text-align: center; }
.steps { display: grid; gap: var(--s-6); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; color: var(--gold); display: block; line-height: 1; margin-bottom: var(--s-4); }
.step h3 { font-size: 1.6rem; margin-bottom: var(--s-2); }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Help / contact ---------- */
.help-grid { display: grid; gap: var(--s-8); }
@media (min-width: 960px) { .help-grid { grid-template-columns: 1fr 1.3fr; } }
.help-nav { display: grid; gap: var(--s-4); align-content: start; }
.help-card { border: 1px solid var(--line); padding: var(--s-5); background: var(--surface); }
.help-card h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.help-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.help-card a.link-arrow { margin-top: var(--s-3); }
.help-section { scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.help-section + .help-section { margin-top: var(--s-8); }
.help-section h2 { font-size: var(--fs-xl); margin-bottom: var(--s-4); }

.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: var(--s-3) var(--s-4); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 0; font-size: var(--fs-base);
  transition: border-color var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1714' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 16px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field .err { font-size: var(--fs-xs); color: #A3342B; min-height: 1em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #A3342B; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 350ms; }
.no-js .reveal, .no-js .reveal-stagger > * { 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; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Cropped flower graphics (from the business card) ---------- */
.bloom {
  position: absolute; pointer-events: none; aspect-ratio: 1 / 1;
  background: url("../assets/flower.svg") center / contain no-repeat;
}
.bloom--light { background-image: url("../assets/flower-light.svg"); }
.section--olive > .container { position: relative; z-index: 1; }
.section--olive .bloom--corner { width: min(560px, 80vw); top: -42%; right: -14%; opacity: 0.07; }
@media (max-width: 899px) { .section--olive .bloom--corner { top: -12%; right: -40%; } }
.bloom-feature { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.bloom-feature .bloom { position: relative; width: 82%; }

/* Subtle site-wide watermark: a large, faint flower fixed behind the page */
body::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: min(900px, 120vw); aspect-ratio: 1 / 1; right: -22%; bottom: -30%;
  background: url("../assets/flower.svg") center / contain no-repeat;
  opacity: 0.035;
}
@media (max-width: 899px) { body::before { right: -45%; bottom: -20%; } }
.footer-contact { margin-top: var(--s-4); letter-spacing: 0.04em; color: var(--paper); }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { position: relative; overflow: hidden; }
.site-footer::after {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1 / 1; left: -180px; bottom: -260px;
  background: url("../assets/flower-light.svg") center / contain no-repeat; opacity: 0.05; pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

/* ---------- Product photography ---------- */
.product-card .media img, .gallery-main img, .thumbs button img, .bag-thumb img, .photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
.product-card .media img { transition: opacity var(--t-slow) var(--ease), transform 1.2s var(--ease); }
.product-card .media img.alt { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .media img.alt { opacity: 1; }
  .product-card:hover .media img { transform: scale(1.03); }
}
.bag-thumb { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.gallery-main { background: var(--sand); }
.photo-frame { position: relative; overflow: hidden; background: var(--sand); }
.photo-frame.arch { border-radius: 999px 999px 0 0; }
.pdp-features { margin-top: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.pdp-features li { display: flex; align-items: center; gap: var(--s-3); }
.pdp-features li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("../assets/flower.svg") center / contain no-repeat;
}

.split-photo { aspect-ratio: 4 / 5; }
.banner-photo { position: absolute; inset: 0; }
.banner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.banner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.45) 55%, rgba(20,20,20,0.15) 100%); }
@media (max-width: 899px) { .banner-photo::after { background: rgba(20,20,20,0.6); } }
.bag-thumb .swatch, .gallery-main .swatch { position: absolute; inset: 0; }
.size-opt.is-sold-out {
  color: var(--stone); border-color: var(--line); cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--stone) 50%, transparent calc(50% + 0.5px));
}
.size-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-3); }
.colour-opt.is-sold-out { position: relative; cursor: not-allowed; opacity: 0.45; }
.colour-opt.is-sold-out::after {
  content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px;
  background: var(--ink); transform: rotate(45deg);
}
@media (max-width: 959px) {
  .thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 22%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs button { scroll-snap-align: start; }
}
@media (min-width: 960px) {
  .thumbs { max-height: calc((88px * 4 / 3 + var(--s-3)) * 5); overflow-y: auto; scrollbar-width: thin; }
}

/* ---------- Hero slideshow ---------- */
.hero-slides { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.hero-slides .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slides .slide.is-active { opacity: 1; visibility: visible; }
.hero-slides .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: var(--s-4); z-index: 2; display: flex; justify-content: center; gap: 2px; }
.slide-dots button { width: 32px; height: 44px; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 20px; height: 2px; background: rgba(255, 255, 255, 0.55); transition: background var(--t-med) var(--ease); }
.slide-dots button[aria-current="true"]::before { background: #fff; }
.slide-dots button:focus-visible { outline-color: #fff; }
@media (max-width: 899px) {
  .hero { padding-top: 0; }
  .hero-grid { gap: var(--s-6); }
  .hero-slides { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 4 / 5; }
}
.product-card.is-sold-out .media img { opacity: 0.6; filter: grayscale(0.3); }
.pdp-soldout { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--ink); padding: 3px 8px; margin-left: var(--s-3); vertical-align: middle; }

/* ---------- Simple product type (matches the "MODEST WEAR" line of the logo) ---------- */
.product-info { gap: 4px; padding-top: var(--s-4); }
.product-info h3, .product-info h3 a {
  font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 1.5;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.product-info .price { font-size: 13px; letter-spacing: 0.06em; margin-top: 0; }
.product-info .dots { margin-top: var(--s-1); }
.product-info .dots span { width: 10px; height: 10px; }
@media (min-width: 900px) { .product-info h3, .product-info h3 a { font-size: 13px; } }

.pdp-info h1 {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); line-height: 1.2;
}
.pdp-price { font-family: var(--font-body); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.06em; }

.bag-item h4 { font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
.bag-total { font-size: var(--fs-base); letter-spacing: 0.06em; }
.bag-total strong { font-weight: 500; }
.sticky-buy strong { font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Menu type to match the logo ---------- */
.nav-primary ul { gap: var(--s-6); }
.nav-primary a { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: 0.2em; }
@media (min-width: 1200px) { .nav-primary a { font-size: 16px; } }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 0.18em; padding-block: var(--s-4);
}
.mobile-nav-meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.drawer-brand img { height: 20px; width: auto; mix-blend-mode: multiply; }
.drawer-brand .brand-sub { font-size: 9px; }

/* ---------- Headings in the logo style: serif capitals, widely spaced ---------- */
h1, h2, h3 { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; line-height: 1.25; }
.hero-copy h1, .page-head h1, .banner h2 { letter-spacing: 0.12em; line-height: 1.15; }
.collection-card h3, .step h3, .help-card h3 { font-size: 1.1rem; }
.value h3 { font-size: 1.05rem; }
.drawer-title { font-size: 1.15rem; }
.modal-head h2 { font-size: 1.25rem; }
.quote { text-transform: none; letter-spacing: 0; }
@media (max-width: 480px) { h1, h2, h3 { letter-spacing: 0.1em; } }
.hero-meta strong { text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.05rem; margin-bottom: 2px; }
/* keep each menu link on one line; tighten spacing on smaller laptops */
.nav-primary a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-primary ul { gap: var(--s-4); }
  .nav-primary a { font-size: 13px; letter-spacing: 0.14em; }
}

/* Tablets: keep the hero photo within the screen (phones and desktop unchanged) */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-slides { width: min(100%, calc(60svh * 0.8)); margin-inline: auto; justify-self: center; }
}

/* ---------- Editable content ---------- */
/* hide text that is about to be replaced by the latest content, so old wording never flashes */
html.c-loading [data-c], html.c-loading [data-c-list], html.c-loading [data-c-md], html.c-loading [data-c-img],
html.c-loading [data-s] { visibility: hidden; }
.legal { max-width: 760px; padding-bottom: var(--s-9); }
.legal h2 { font-size: 1.1rem; margin: var(--s-7) 0 var(--s-3); }
.legal p, .legal li { color: var(--text-muted); line-height: 1.75; }
.legal p + p { margin-top: var(--s-4); }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.acc-body ul { list-style: none; }
