/* =========================================================================
   Tottem boutique — design system
   Style épuré/moderne : fond papier chaud, encre quasi-noire, un seul accent
   terracotta repris du motif du logo (cercle + triangles). Mobile-first.
   ========================================================================= */

/* ---- Fonts --------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Design tokens --------------------------------------------------------*/
:root {
  --ink: #17140f;
  --ink-soft: #4a443b;
  --paper: #faf8f4;
  --stone: #f1ece2;
  --stone-dark: #e7dfd0;
  --line: #e2d9c7;
  --mute: #948c7c;
  --white: #ffffff;

  --accent: #b5482a;
  --accent-dark: #8c381f;
  --accent-soft: #f3e1da;

  --success: #2f6b4f;
  --success-soft: #e3ede7;
  --error: #b3261e;
  --error-soft: #f6e2e0;

  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 20, 15, 0.06), 0 1px 1px rgba(23, 20, 15, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 20, 15, 0.10);
  --shadow-lg: 0 20px 48px rgba(23, 20, 15, 0.16);

  --header-h: 72px;
  --container-max: 1280px;

  color-scheme: light;
}

/* ---- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Typography -----------------------------------------------------------*/
h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.h1, h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
.h2, h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.h3, h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede { color: var(--ink-soft); font-size: 1.05rem; }
.muted { color: var(--mute); }

/* ---- Layout ---------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) { .container { padding-inline: 32px; } }
@media (min-width: 1200px) { .container { padding-inline: 48px; } }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--stone { background: var(--stone); }
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; }

/* ---- Buttons ---------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--accent); }

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--ghost { background: transparent; color: var(--ink-soft); padding: 10px 14px; }
.btn--ghost:hover { color: var(--ink); }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.8rem; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 21px; height: 21px; }

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Header ----------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.search-form { position: relative; display: none; }
@media (min-width: 640px) {
  .search-form { display: flex; align-items: center; }
  .search-form input {
    width: 190px;
    padding: 9px 14px 9px 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.86rem;
    transition: width 0.2s ease, border-color 0.2s ease;
  }
  .search-form input:focus { width: 240px; border-color: var(--accent); }
  .search-form svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--mute); pointer-events: none; }
}

/* Mobile menu */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
  background: var(--paper); padding: 24px 20px; overflow-y: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; padding: 14px 4px; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* ---- Cart drawer -------------------------------------------------------------*/
.overlay {
  position: fixed; inset: 0; background: rgba(23, 20, 15, 0.45);
  z-index: 49; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(420px, 100vw);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--stone); }

.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__thumb {
  width: 68px; height: 68px; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--stone); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.cart-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 600; font-size: 0.92rem; }
.cart-line__meta { color: var(--mute); font-size: 0.8rem; margin-top: 2px; }
.cart-line__variant { color: var(--mute); font-size: 0.78rem; margin-top: 2px; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty-stepper button {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--ink-soft);
}
.qty-stepper button:hover { color: var(--accent); }
.qty-stepper input {
  width: 34px; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: 0.9rem;
}
.qty-stepper--sm button { width: 26px; height: 26px; }

.remove-line { color: var(--mute); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 2px; }
.remove-line:hover { color: var(--error); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--mute); }
.cart-empty svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--line); }

.cart-summary-row { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 0; }
.cart-summary-row.total { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; padding-top: 10px; }

/* ---- Toast ------------------------------------------------------------------*/
.toast-region { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in 0.25s ease;
}
.toast--success::before { content: '✓'; color: #7fd8a8; font-weight: 800; }
.toast--error { background: var(--error); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Hero ---------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3.5rem, 10vw, 7rem);
}
.hero__motif {
  position: absolute; top: 50%; right: -6%; width: min(560px, 52vw);
  transform: translateY(-50%); color: var(--white); opacity: 0.22; pointer-events: none;
}
@media (max-width: 720px) { .hero__motif { opacity: 0.12; width: 70vw; } }
.hero__inner { position: relative; max-width: 640px; }
.hero .eyebrow { color: #e8a88f; }
.hero h1 { margin-top: 14px; }
.hero p.lede { color: #d8d2c6; margin-top: 18px; max-width: 46ch; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Value props ---------------------------------------------------------*/
.value-props { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .value-props { grid-template-columns: repeat(3, 1fr); } }
.value-prop { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value-prop__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 14px; }
.value-prop h3 { margin-bottom: 6px; }

/* ---- Section head ---------------------------------------------------------*/
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin-top: 8px; }

/* ---- Product grid & card ---------------------------------------------------*/
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: block; group: card; }
.product-card__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md);
  overflow: hidden; background: var(--stone); margin-bottom: 14px;
}
.product-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card__frame img { transform: scale(1.045); }

.product-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--stone-dark);
  background: linear-gradient(155deg, var(--stone), var(--stone-dark));
}

.product-card__tag {
  position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card__tag--low { background: #fdeee0; color: #8a4a10; }
.product-card__tag--out { background: var(--error-soft); color: var(--error); }

.product-card__frame-link { display: block; width: 100%; height: 100%; }

.product-card__quick {
  position: absolute; right: 10px; bottom: 10px; opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
  background: var(--white); box-shadow: var(--shadow-sm); width: 38px; height: 38px;
}
.product-card__quick:hover { background: var(--ink); color: var(--white); }
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .product-card__quick { opacity: 1; transform: none; } }

.product-card__category { font-size: 0.72rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.04em; }
.product-card__name { font-weight: 600; margin-top: 3px; }
.product-card__price { font-family: var(--font-display); font-weight: 700; margin-top: 5px; }
.product-card__price .from { font-size: 0.72rem; color: var(--mute); font-family: var(--font-body); font-weight: 500; }

/* ---- Filters bar -----------------------------------------------------------*/
.filters-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.pill {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); background: var(--white);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filters-bar__sort { margin-left: auto; }
.filters-bar select { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 0.84rem; font-weight: 600; }

/* ---- Skeleton loading -------------------------------------------------------*/
.skeleton { position: relative; overflow: hidden; background: var(--stone); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.skeleton-card .product-card__frame { }
.skeleton-line { height: 14px; border-radius: 4px; margin-top: 8px; background: var(--stone); }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }

/* ---- Empty / error states ---------------------------------------------------*/
.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-soft); }
.empty-state svg { width: 60px; height: 60px; margin: 0 auto 18px; color: var(--line); }
.empty-state h3 { margin-bottom: 8px; }

.demo-banner {
  background: var(--accent-soft); color: var(--accent-dark); text-align: center;
  font-size: 0.82rem; font-weight: 600; padding: 9px 16px;
}
.demo-banner a { text-decoration: underline; }

/* ---- Breadcrumb --------------------------------------------------------------*/
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 0.82rem; color: var(--mute); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---- Product detail page -----------------------------------------------------*/
.product-view { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .product-view { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

.gallery__main {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone);
  display: flex; align-items: center; justify-content: center;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--stone);
  border: 2px solid transparent;
}
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info__category { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 700; }
.product-info h1 { margin-top: 8px; }
.product-info__price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; margin-top: 14px; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; margin-top: 10px; }
.stock-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.stock-pill--ok { color: var(--success); } .stock-pill--ok::before { background: var(--success); }
.stock-pill--low { color: #8a4a10; } .stock-pill--low::before { background: #d98a2b; }
.stock-pill--out { color: var(--error); } .stock-pill--out::before { background: var(--error); }

.product-info__desc { margin-top: 20px; color: var(--ink-soft); }

.variant-picker { margin-top: 22px; }
.variant-picker__label { font-size: 0.84rem; font-weight: 600; margin-bottom: 8px; }
.variant-picker__label span { font-weight: 500; color: var(--mute); }
.variant-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-swatches button {
  min-width: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 0.85rem; font-weight: 600; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.variant-swatches button:hover:not(:disabled) { border-color: var(--ink); }
.variant-swatches button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.variant-swatches button:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.add-to-cart-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.price-tiers { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.price-tiers table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.price-tiers th, .price-tiers td { padding: 10px 16px; text-align: left; }
.price-tiers thead { background: var(--stone); font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.price-tiers tbody tr:not(:last-child) { border-bottom: 1px solid var(--line); }

.sticky-add-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -6px 20px rgba(23,20,15,0.06);
}
@media (min-width: 900px) { .sticky-add-bar { display: none; } }

/* ---- Cart / checkout pages ---------------------------------------------------*/
.checkout-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.2fr 0.9fr; } }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 20px; }
.panel h2 { margin-bottom: 4px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--white); }
.field--row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field--row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field-error { color: var(--error); font-size: 0.78rem; margin-top: 6px; }
.field.has-error input { border-color: var(--error); }

.order-recap-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-recap-line img, .order-recap-line .product-card__placeholder { width: 52px; height: 52px; border-radius: var(--radius-sm); }
.order-recap-line__info { flex: 1; font-size: 0.88rem; }
.order-recap-line__price { font-weight: 600; font-size: 0.88rem; }

/* ---- Confirmation page ---------------------------------------------------*/
.confirm-hero { text-align: center; max-width: 560px; margin-inline: auto; }
.confirm-hero__check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.confirm-hero__check svg { width: 30px; height: 30px; }
.order-no-pill {
  display: inline-block; margin-top: 10px; padding: 8px 18px; border-radius: 999px;
  background: var(--stone); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.03em;
}

/* ---- Footer -----------------------------------------------------------------*/
.site-footer { background: var(--ink); color: #cfc9bc; padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-display); color: var(--white); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:hover, .footer-grid ul li:hover { color: var(--white); }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: #9c9585; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: #8a8474;
}

/* ---- Misc pages (404, about) --------------------------------------------------*/
.center-page { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
