/* =====================================================================
   TACK RACK KENYA — Front-of-house stylesheet
   A high-end editorial system: bone paper, ink type, saddle-tan accent.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bone:        #F7F4EF;
  --bone-deep:   #EFEAE1;
  --paper:       #FFFFFF;
  --ink:         #14110E;
  --ink-soft:    #23201C;
  --ink-veil:    rgba(20, 17, 14, .06);

  /* Text */
  --text:        #14110E;
  --text-muted:  #6B655C;
  --text-faint:  #9A9288;
  --text-invert: #F7F4EF;

  /* Accent — saddle leather */
  --tan:         #8A5A2B;
  --tan-bright:  #A8703A;
  --tan-pale:    #E7D9C6;
  --brass:       #B99149;

  /* Feedback */
  --success:     #3F6B4A;
  --danger:      #8C3A2E;
  --warning:     #9A6B1F;

  /* Lines */
  --rule:        rgba(20, 17, 14, .12);
  --rule-soft:   rgba(20, 17, 14, .07);
  --rule-invert: rgba(247, 244, 239, .18);

  /* Type */
  --display: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --gutter:   clamp(1.25rem, 4vw, 3.5rem);
  --measure:  74rem;
  --measure-narrow: 44rem;
  --section:  clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --dur:       .5s;

  /* Elevation */
  --lift-1: 0 1px 2px rgba(20,17,14,.04), 0 4px 14px rgba(20,17,14,.05);
  --lift-2: 0 2px 6px rgba(20,17,14,.06), 0 18px 44px rgba(20,17,14,.10);
  --lift-3: 0 30px 80px rgba(20,17,14,.20);

  --header-h: 76px;
}

/* ---------------------------------------------------------------------
   2. Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--bone);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ink); color: var(--bone); }

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

/* ---------------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------------- */
.display,
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 90;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.18; }

h4, h5, h6 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
}

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}

.eyebrow--center { justify-content: center; }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 48ch;
}

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }

.serif-italic {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
}

/* ---------------------------------------------------------------------
   4. Layout primitives
   --------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide   { max-width: 90rem; }
.shell--narrow { max-width: var(--measure-narrow); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head__text { max-width: 40rem; }
.section-head__text h2 { margin-top: .9rem; }
.section-head__text .lede { margin-top: 1rem; }

.rule { height: 1px; background: var(--rule); border: 0; }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

/* ---------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --btn-bd: var(--ink);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease), transform .35s var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tan);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
  z-index: -1;
}

.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }

.btn:hover, .btn:focus-visible {
  color: #fff;
  border-color: var(--tan);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule); }
.btn--ghost:hover { border-color: var(--tan); }

.btn--light   { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: var(--rule-invert); }

.btn--tan     { --btn-bg: var(--tan); --btn-fg: #fff; --btn-bd: var(--tan); }
.btn--tan::after { background: var(--ink); }

.btn--sm      { padding: .7rem 1.3rem; font-size: .7rem; }
.btn--lg      { padding: 1.15rem 2.4rem; font-size: .82rem; }
.btn--block   { display: flex; width: 100%; }

.btn[disabled] { opacity: .45; pointer-events: none; }

/* Text link with an animated underline */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: .35rem;
}

.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform .45s var(--ease-out);
}

.link:hover::after { transform-origin: left; animation: link-wipe .55s var(--ease-out); }

@keyframes link-wipe {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  51%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.link svg { transition: transform .4s var(--ease-out); }
.link:hover svg { transform: translateX(4px); }

.link--light { color: var(--bone); }

/* ---------------------------------------------------------------------
   6. Header
   --------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 244, 239, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background-color .5s var(--ease), border-color .5s var(--ease),
              transform .5s var(--ease), color .5s var(--ease);
}

/* Transparent over the home hero until the user scrolls */
.header--over {
  background: transparent;
  border-color: transparent;
  color: var(--bone);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--hidden { transform: translateY(-100%); }

.header__inner {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  margin-right: auto;
}

/* The logo ships in two renditions — ink for light surfaces, bone for dark.
   Both are in the markup so the swap is instant with no second request. */
.brand__logo {
  display: block;
  height: 58px;
  width: auto;
}

.brand__logo--bone { display: none; }

/* Header sitting transparent over the dark hero */
.header--over .brand__logo--ink  { display: none; }
.header--over .brand__logo--bone { display: block; }

/* The footer is always dark */
.footer .brand__logo--ink  { display: none; }
.footer .brand__logo--bone { display: block; height: 64px; }

@media (max-width: 640px) {
  .brand__logo { height: 40px; }
  .footer .brand__logo--bone { height: 54px; }
}

/* Retained for any surface still using the wordmark as text */
.brand__mark {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}

.brand__sub {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .55;
  white-space: nowrap;
}

/* --- Primary nav --- */
.nav { display: flex; align-items: center; gap: 2.1rem; }

.nav__link {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding-block: .4rem;
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__link[aria-current="page"] { color: var(--tan); }
.header--over .nav__link[aria-current="page"] { color: var(--bone); }

/* --- Mega menu --- */
.nav__item { position: relative; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.nav__toggle svg { transition: transform .35s var(--ease); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }

.mega {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--lift-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  color: var(--text);
}

.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner {
  max-width: 90rem;
  margin-inline: auto;
  padding: clamp(2rem, 3.5vw, 3rem) var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 3vw, 3rem);
}

.mega__col h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}

.mega__col .mega__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1.1rem;
  display: block;
}

.mega__list li + li { margin-top: .1rem; }

.mega__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .42rem 0;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}

.mega__list a:hover { color: var(--ink); padding-left: .4rem; }
.mega__list a span { font-size: .72rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }

.mega__feature {
  background: var(--ink);
  color: var(--bone);
  padding: 1.75rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background-image: radial-gradient(120% 100% at 100% 0%, rgba(185,145,73,.28), transparent 60%);
}

.mega__feature p {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.28;
  letter-spacing: -.02em;
}

/* --- Header actions --- */
.header__actions { display: flex; align-items: center; gap: .7rem; flex: none; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.icon-btn:hover { background: var(--ink-veil); }
.header--over .icon-btn:hover { background: rgba(247,244,239,.14); }

.icon-btn__badge {
  position: absolute;
  top: 2px; right: 1px;
  min-width: 18px; height: 18px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  background: var(--tan);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  border: 2px solid var(--bone);
  transition: transform .35s var(--ease-out);
}

.header--over .icon-btn__badge { border-color: transparent; }
.icon-btn__badge[hidden] { display: none; }
.icon-btn__badge.is-bumped { animation: badge-bump .5s var(--ease-out); }

@keyframes badge-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.header__cta { display: none; }
@media (min-width: 1100px) { .header__cta { display: inline-flex; } }

.burger { display: none; }

/* --- Mobile nav --- */
@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }

  .burger {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .burger span {
    display: block;
    width: 20px; height: 1.5px;
    background: currentColor;
    transition: transform .4s var(--ease), opacity .3s var(--ease);
  }
  .burger span + span { margin-top: 5px; }

  body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bone);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility .4s;
}

body.nav-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-open { overflow: hidden; }

.drawer__group + .drawer__group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-soft); }

.drawer__title {
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.drawer__group a {
  display: block;
  padding: .5rem 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.drawer__group a:hover { color: var(--ink); }
.drawer .btn { margin-top: 1.75rem; }

/* ---------------------------------------------------------------------
   7. Hero — split-screen editorial
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
  color: var(--bone);
  isolation: isolate;
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.02fr 1fr; }
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + clamp(3rem, 8vh, 6rem)) var(--gutter) clamp(3rem, 8vh, 5rem);
  max-width: 46rem;
  margin-left: auto;
  width: 100%;
}

@media (min-width: 900px) {
  .hero__copy { padding-left: max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter))); }
}

.hero__copy .eyebrow { color: var(--brass); }

.hero h1 {
  margin-top: 1.6rem;
  font-weight: 300;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}

.hero__lede {
  margin-top: 1.75rem;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.68;
  color: rgba(247, 244, 239, .72);
  max-width: 40ch;
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.hero__meta {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-invert);
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem 3rem;
}

.hero__stat dt {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .5);
}

.hero__stat dd {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -.02em;
  margin-top: .3rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 42svh;
}

@media (min-width: 900px) { .hero__visual { min-height: 100svh; } }

.hero__visual img,
.hero__visual svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-drift 24s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.13); }
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink) 0%, rgba(20,17,14,.55) 28%, rgba(20,17,14,.12) 62%, transparent 100%);
}

@media (max-width: 899px) {
  .hero__visual::after { background: linear-gradient(to bottom, rgba(20,17,14,.9), rgba(20,17,14,.35)); }
}

/* Hero carousel — real products in place of the static hero photograph.
   The studio shots are cut out on white, so the panel behind them is white
   too: on bone the photograph's own background showed as a paler rectangle
   floating inside the frame. White against the ink copy column also gives the
   hero a clean split rather than a stock photo bled under a gradient. */
.hero__visual--carousel {
  /* Ink behind the panel, so the transparent header keeps a dark ground to sit
     on right across the page — over the white panel its bone-coloured nav was
     invisible. */
  background: var(--ink);
  /* Taller than the static hero image: this one carries a caption and a row
     of controls underneath the photograph. */
  min-height: 62svh;
}

/* The static hero's dark wash exists to blend a photograph into the copy
   column. Over a white panel it reads as a smudge, so it goes. */
.hero__visual--carousel::after { content: none; }

.hero-carousel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

/* On wide screens the panel starts below the header rather than under it. */
@media (min-width: 900px) {
  .hero-carousel {
    top: var(--header-h);
    border-left: 1px solid rgba(20, 17, 14, .1);
  }
}

/* Native scroll-snap so the carousel is swipeable with no JavaScript at all;
   the script only adds autoplay, arrows and dots on top. */
.hero-carousel__track {
  flex: 1;
  /* Without this the track refuses to shrink below its content and pushes the
     caption and controls off the bottom of the hero. */
  min-height: 0;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.hero-carousel__track::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__track { scroll-behavior: auto; }
}

.hero-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-width: 0;
  display: flex;
}

.hero-carousel__link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* No header allowance on small screens — there the visual sits below the
     copy, not underneath the transparent header. */
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 0;
  text-decoration: none;
  color: var(--ink);
  gap: 1rem;
}

@media (min-width: 900px) {
  /* The panel itself already clears the header, so no extra allowance here. */
  .hero-carousel__link { padding-top: clamp(1.75rem, 4vh, 3rem); }
}

.hero-carousel__frame {
  position: relative;
  flex: 1;
  min-height: 0;
  display: block;
  overflow: hidden;
}

/* Overrides the absolute full-bleed rule the static hero image uses: these are
   product cut-outs, so they have to be contained, not cropped. */
.hero__visual--carousel .hero-carousel__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: none;
  transition: transform .6s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-carousel__link:hover .hero-carousel__frame img,
  .hero-carousel__link:focus-visible .hero-carousel__frame img { transform: scale(1.04); }
}

.hero-carousel__link:focus-visible .hero-carousel__frame {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.hero-carousel__label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.hero-carousel__cat {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero-carousel__name {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.hero-carousel__price {
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(20, 17, 14, .55);
}

/* Controls sit in the column below the track rather than floating over the
   caption, which is what they did at first — the two collided. */
.hero-carousel__controls {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem) clamp(1.4rem, 4vh, 2.25rem);
}

.hero-carousel__controls[hidden] { display: none; }

.hero-carousel__arrow {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(20, 17, 14, .16);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

/* `.hero__visual svg` pins the hero artwork to the corners, which also caught
   these icons and stacked both chevrons in the top-left of the panel. */
.hero-carousel__arrow svg {
  position: static;
  inset: auto;
  width: 1.1rem;
  height: 1.1rem;
  animation: none;
}

.hero-carousel__arrow:hover,
.hero-carousel__arrow:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Everything stays left: the floating WhatsApp button occupies the bottom
   right corner and would sit on top of a centred or right-aligned control. */
.hero-carousel__dots {
  flex: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-carousel__dot {
  display: block;
  width: 1.75rem;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(20, 17, 14, .18);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}

/* A larger invisible hit area — a 2px target is unusable on a phone. */
.hero-carousel__dot::before {
  content: "";
  position: absolute;
  width: 1.75rem;
  height: 2.25rem;
  transform: translateY(-1.1rem);
}

.hero-carousel__dots li { position: relative; display: flex; }

.hero-carousel__dot[aria-current="true"] {
  background: var(--brass);
  transform: scaleY(2);
}

.hero-carousel__dot:hover { background: rgba(20, 17, 14, .45); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .55);
}

.hero__scroll i {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(247,244,239,.7));
  animation: scroll-pulse 2.4s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.4); opacity: .3; transform-origin: top; }
  50%      { transform: scaleY(1);  opacity: 1;  transform-origin: top; }
}

@media (max-width: 899px) { .hero__scroll { display: none; } }

/* ---------------------------------------------------------------------
   8. Marquee strip
   --------------------------------------------------------------------- */
.marquee {
  background: var(--ink-soft);
  color: rgba(247, 244, 239, .62);
  padding-block: .95rem;
  overflow: hidden;
  border-block: 1px solid rgba(247,244,239,.08);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  opacity: .8;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   9. The Curation — three pillars
   --------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(24rem, 46vw, 34rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}

.pillar__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pillar__media img, .pillar__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .8s var(--ease);
  filter: grayscale(.35) contrast(1.05);
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20,17,14,.94) 0%, rgba(20,17,14,.55) 42%, rgba(20,17,14,.18) 100%);
  transition: background .6s var(--ease);
}

.pillar:hover .pillar__media img,
.pillar:hover .pillar__media svg { transform: scale(1.07); filter: grayscale(0) contrast(1.05); }

.pillar:hover::after {
  background: linear-gradient(to top, rgba(20,17,14,.96) 0%, rgba(20,17,14,.62) 48%, rgba(20,17,14,.22) 100%);
}

.pillar__index {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.75rem, 3vw, 2.75rem);
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .1em;
  color: rgba(247, 244, 239, .45);
}

.pillar h3 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -.025em;
}

.pillar__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .8rem;
  display: block;
}

.pillar__desc {
  margin-top: .9rem;
  font-size: .93rem;
  line-height: 1.6;
  color: rgba(247, 244, 239, .68);
  max-width: 34ch;
}

.pillar__links {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease-out), opacity .45s var(--ease), margin-top .5s var(--ease);
}

.pillar:hover .pillar__links,
.pillar:focus-within .pillar__links { max-height: 12rem; opacity: 1; }

.pillar__links a {
  font-size: .7rem;
  letter-spacing: .06em;
  padding: .4rem .85rem;
  border: 1px solid rgba(247,244,239,.24);
  border-radius: 999px;
  color: rgba(247,244,239,.82);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.pillar__links a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.pillar__cta {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---------------------------------------------------------------------
   10. Product cards
   --------------------------------------------------------------------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.5rem) clamp(1.1rem, 2vw, 1.85rem);
}

.grid-products--4 { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-deep);
  border-radius: 3px;
  isolation: isolate;
}

.card__media img, .card__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), opacity .5s var(--ease);
}

.card:hover .card__media img,
.card:hover .card__media svg { transform: scale(1.05); }

.card__flags {
  position: absolute;
  top: .8rem; left: .8rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.flag {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--bone);
  line-height: 1;
}

.flag--new   { background: var(--brass); color: var(--ink); }
.flag--stock { background: rgba(247,244,239,.92); color: var(--danger); }

/* Quick-add overlay */
.card__quick {
  position: absolute;
  left: .8rem; right: .8rem; bottom: .8rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(.6rem);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out);
}

.card:hover .card__quick,
.card:focus-within .card__quick { opacity: 1; transform: translateY(0); }

@media (hover: none) {
  .card__quick { opacity: 1; transform: none; }
}

.card__quick .btn {
  width: 100%;
  background: rgba(247, 244, 239, .94);
  color: var(--ink);
  border-color: transparent;
  backdrop-filter: blur(8px);
  padding-block: .8rem;
}

.card__body { padding-top: 1.05rem; }

.card__cat {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.card__title {
  margin-top: .45rem;
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.25;
}

.card__title a { display: block; }
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

.card:hover .card__title { color: var(--tan); }

.card__desc {
  margin-top: .5rem;
  font-size: .855rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.card__foot {
  margin-top: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
}

.card__price { font-weight: 600; font-variant-numeric: tabular-nums; }

.card__enquire {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tan);
}

.stock-dot {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  color: var(--text-muted);
}

.stock-dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.stock-dot--low_stock::before    { background: var(--warning); }
.stock-dot--on_order::before     { background: var(--brass); }
.stock-dot--out_of_stock::before { background: var(--text-faint); }

/* ---------------------------------------------------------------------
   11. Spotlight — high-contrast feature
   --------------------------------------------------------------------- */
.spotlight {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 82% 12%, rgba(185,145,73,.20), transparent 62%);
  pointer-events: none;
}

.spotlight__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: var(--section);
}

@media (min-width: 900px) {
  .spotlight__inner { grid-template-columns: .95fr 1.05fr; }
}

.spotlight h2 {
  font-weight: 300;
  margin-top: 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.spotlight .eyebrow { color: var(--brass); }

.spotlight p {
  margin-top: 1.5rem;
  color: rgba(247, 244, 239, .7);
  font-size: 1.04rem;
  line-height: 1.7;
  max-width: 44ch;
}

.spotlight__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(247,244,239,.14);
  border: 1px solid rgba(247,244,239,.14);
  border-radius: 4px;
  overflow: hidden;
}

.spot-card {
  position: relative;
  background: var(--ink);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 15rem;
  transition: background-color .5s var(--ease);
}

.spot-card:hover { background: #1B1815; }

.spot-card__media {
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  overflow: hidden;
  background: #211D19;
}

.spot-card__media img, .spot-card__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.2);
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}

.spot-card:hover .spot-card__media img,
.spot-card:hover .spot-card__media svg { transform: scale(1.06); filter: grayscale(0); }

.spot-card h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.spot-card h4 a::before { content: ""; position: absolute; inset: 0; }

.spot-card span {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247,244,239,.42);
  margin-top: auto;
}

/* ---------------------------------------------------------------------
   12. Trust / craft strip
   --------------------------------------------------------------------- */
.craft {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 700px)  { .craft { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .craft { grid-template-columns: repeat(4, 1fr); } }

.craft__item {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  transition: background-color .4s var(--ease);
}

.craft__item:hover { background: var(--bone); }

.craft__item svg { color: var(--tan); margin-bottom: 1.1rem; }

.craft__item h4 {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -.015em;
}

.craft__item p {
  margin-top: .55rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   13. Brand wall
   --------------------------------------------------------------------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}

.brand-wall__item {
  background: var(--bone);
  min-height: 7rem;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  transition: background-color .4s var(--ease);
}

.brand-wall__item:hover { background: var(--paper); }

.brand-wall__item img { max-height: 2.6rem; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .4s, filter .4s; }
.brand-wall__item:hover img { opacity: 1; filter: grayscale(0); }

.brand-wall__item span {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -.01em;
  color: var(--text-muted);
  transition: color .4s var(--ease);
}

.brand-wall__item:hover span { color: var(--ink); }

/* ---------------------------------------------------------------------
   14. CTA banner
   --------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  background: var(--tan);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(120deg, #7A4E24 0%, #A8703A 52%, #8A5A2B 100%);
}

.cta-banner__inner {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .cta-banner__inner { grid-template-columns: 1fr auto; gap: 3.5rem; }
}

.cta-banner h2 {
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 20ch;
}

.cta-banner p {
  margin-top: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 46ch;
  font-size: 1.02rem;
}

.cta-banner .btn { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }
.cta-banner .btn::after { background: var(--ink); }
.cta-banner .btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }

.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------------------------------------------------------------------
   15. Page header (interior pages)
   --------------------------------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  margin-top: 1rem;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
}

.page-head .lede { margin-top: 1.25rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.crumbs a:hover { color: var(--tan); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .45; }
.crumbs li { display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------------
   16. Shop — filter bar
   --------------------------------------------------------------------- */
.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(247,244,239,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  padding-block: .9rem;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}

.filters__count {
  margin-left: auto;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .62rem 2.4rem .62rem 1.1rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  max-width: 15rem;
  text-overflow: ellipsis;
}

.select select:hover  { border-color: var(--tan); }
.select select:focus  { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(138,90,43,.14); }

.select::after {
  content: "";
  position: absolute;
  right: 1rem;
  width: 7px; height: 7px;
  border-right: 1.4px solid var(--text-muted);
  border-bottom: 1.4px solid var(--text-muted);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.search-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 12rem;
  max-width: 20rem;
}

.search-field input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .62rem 1.1rem .62rem 2.4rem;
  font-size: .82rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.search-field input:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(138,90,43,.14); }
.search-field svg { position: absolute; left: .95rem; color: var(--text-faint); pointer-events: none; }

.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: all .3s var(--ease);
}

.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip span { font-size: .66rem; opacity: .55; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------
   17. Pagination
   --------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid;
  place-items: center;
  padding-inline: .6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  transition: all .3s var(--ease);
}

.pagination a:hover { border-color: var(--rule); background: var(--paper); }
.pagination .is-current { background: var(--ink); color: var(--bone); border-color: var(--ink); font-weight: 600; }
.pagination .is-disabled { opacity: .3; pointer-events: none; }

/* ---------------------------------------------------------------------
   18. Product detail
   --------------------------------------------------------------------- */
.product {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 940px) {
  .product { grid-template-columns: 1.08fr .92fr; align-items: start; }
}

.gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }

@media (max-width: 939px) { .gallery { position: static; } }

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__main img, .gallery__main svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), opacity .35s var(--ease);
}

.gallery__main.is-zoomed img { transform: scale(1.8); cursor: zoom-out; }

/* --- Caption: what this particular photograph shows --- */
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: 2.5rem 1.1rem .9rem;
  color: var(--bone);
  font-size: .85rem;
  line-height: 1.45;
  background: linear-gradient(to top, rgba(20,17,14,.88) 0%, rgba(20,17,14,.6) 45%, transparent 100%);
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.gallery__main.is-zoomed .gallery__caption { opacity: 0; }

.gallery__count {
  flex: none;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.gallery__desc { color: rgba(247, 244, 239, .92); }

/* --- Prev / next --- */
.gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 244, 239, .92);
  color: var(--ink);
  cursor: pointer;
  /* Visible enough to be found, quiet enough not to fight the photograph. */
  opacity: .62;
  transition: opacity .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--lift-1);
}

.gallery__arrow--prev { left: .8rem; }
.gallery__arrow--next { right: .8rem; }

.gallery__main:hover .gallery__arrow,
.gallery__arrow:focus-visible { opacity: 1; }

.gallery__arrow:hover { background: var(--ink); color: var(--bone); transform: translateY(-50%) scale(1.06); }

@media (hover: none) {
  .gallery__arrow { opacity: .9; }
}

.gallery__hint {
  margin-top: .6rem;
  font-size: .76rem;
  color: var(--text-faint);
}

.gallery__thumbs {
  display: flex;
  gap: .6rem;
  margin-top: .7rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scrollbar-width: thin;
}

.gallery__thumb {
  flex: none;
  width: 5.2rem;
  aspect-ratio: 1;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--bone-deep);
  cursor: pointer;
  padding: 0;
  opacity: .6;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}

.gallery__thumb img, .gallery__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--ink); }

.product__info .eyebrow { margin-bottom: 1rem; }

.product__title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -.025em;
}

.product__brand {
  margin-top: .9rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product__price-row {
  margin-top: 1.5rem;
  padding-block: 1.35rem;
  border-block: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product__price {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.product__price--quote {
  font-size: 1.06rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--text-muted);
  max-width: 30ch;
  line-height: 1.5;
}

.product__lede { margin-top: 1.5rem; font-size: 1.02rem; line-height: 1.7; color: var(--text-muted); }

.product__form { margin-top: 1.75rem; display: grid; gap: 1rem; }

.qty-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  flex: none;
}

.qty button {
  width: 42px; height: 100%;
  min-height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: color .25s, background-color .25s;
}

.qty button:hover { color: var(--ink); background: var(--bone); }

.qty input {
  width: 3rem;
  text-align: center;
  border: 0;
  background: none;
  font-size: .9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-row .btn { flex: 1 1 12rem; }

.product__aside {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.product__aside a { color: var(--tan); text-decoration: underline; text-underline-offset: 3px; }

/* Accordion */
.accordion { margin-top: 2.25rem; border-top: 1px solid var(--rule); }

.accordion__item { border-bottom: 1px solid var(--rule); }

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}

.accordion__head:hover { color: var(--tan); }

.accordion__icon {
  position: relative;
  width: 12px; height: 12px;
  flex: none;
}

.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s;
}

.accordion__icon::before { inset: 5.25px 0; height: 1.5px; }
.accordion__icon::after  { inset: 0 5.25px; width: 1.5px; }

.accordion__item.is-open .accordion__icon::after { transform: scaleY(0); opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}

.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }

.accordion__panel > div { overflow: hidden; }

.accordion__body {
  padding-bottom: 1.4rem;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--text-muted);
  white-space: pre-line;
}

.accordion__body p + p { margin-top: .85rem; }

/* ---------------------------------------------------------------------
   19. Quote list table
   --------------------------------------------------------------------- */
.quote-table { width: 100%; border-collapse: collapse; }

.quote-table thead th {
  text-align: left;
  padding: 0 1rem 1rem 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--ink);
}

.quote-table td { padding: 1.35rem 1rem 1.35rem 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.quote-table td:last-child, .quote-table th:last-child { padding-right: 0; text-align: right; }

.quote-item { display: flex; align-items: center; gap: 1.15rem; }

.quote-item__media {
  width: 5.5rem;
  aspect-ratio: 4 / 5;
  flex: none;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bone-deep);
}

.quote-item__media img, .quote-item__media svg { width: 100%; height: 100%; object-fit: cover; }

.quote-item__title { font-family: var(--display); font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.3; }
.quote-item__title a:hover { color: var(--tan); }
.quote-item__meta { margin-top: .3rem; font-size: .76rem; color: var(--text-faint); }

.icon-remove {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  color: var(--text-faint);
  transition: all .3s var(--ease);
}

.icon-remove:hover { color: var(--danger); border-color: var(--danger); }

@media (max-width: 760px) {
  .quote-table, .quote-table tbody, .quote-table tr, .quote-table td { display: block; width: 100%; }
  .quote-table thead { display: none; }
  .quote-table tr { padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
  .quote-table td { border: 0; padding: 0; }
  .quote-table td + td { margin-top: 1rem; }
  .quote-table td:last-child { text-align: left; }
}

.quote-summary {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.5rem, 2.6vw, 2rem);
}

.quote-summary h3 { font-size: 1.35rem; }

.quote-summary dl { margin-top: 1.25rem; display: grid; gap: .7rem; }
.quote-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.quote-summary dt { color: var(--text-muted); }
.quote-summary dd { font-weight: 600; font-variant-numeric: tabular-nums; }

.quote-summary__note {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   20. Forms
   --------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1.35rem 1.5rem;
}

@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.field { display: block; }
.field--full { grid-column: 1 / -1; }

.field__label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .55rem;
}

.field__label .req { color: var(--tan); }

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: .9rem 1rem;
  font-size: .95rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.field__textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }

.field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B655C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(138,90,43,.13);
}

.field__input::placeholder, .field__textarea::placeholder { color: var(--text-faint); }

.field.has-error .field__input,
.field.has-error .field__textarea,
.field.has-error .field__select { border-color: var(--danger); background: rgba(140,58,46,.03); }

.field__error {
  display: block;
  margin-top: .45rem;
  font-size: .78rem;
  color: var(--danger);
}

.field__hint { display: block; margin-top: .45rem; font-size: .78rem; color: var(--text-faint); }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Checkbox / radio */
.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex: none;
  margin-top: .18rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
}

.check input:checked { background: var(--ink); border-color: var(--ink); }

.check input:checked::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--bone);
  border-width: 0 1.6px 1.6px 0;
  transform: translateY(-1px) rotate(45deg);
}

/* ---------------------------------------------------------------------
   21. Quote request layout
   --------------------------------------------------------------------- */
.quote-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 940px) {
  .quote-layout { grid-template-columns: 1.15fr .85fr; align-items: start; }
}

.quote-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 939px) { .quote-aside { position: static; } }

.mini-list { display: grid; gap: 1rem; }

.mini-item { display: flex; gap: .9rem; align-items: center; }

.mini-item__media {
  width: 3.4rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bone-deep);
}

.mini-item__media img, .mini-item__media svg { width: 100%; height: 100%; object-fit: cover; }

.mini-item__title { font-size: .875rem; font-weight: 500; line-height: 1.35; }
.mini-item__meta  { font-size: .74rem; color: var(--text-faint); margin-top: .15rem; }
.mini-item__qty   { margin-left: auto; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-muted); }

.fieldset-title {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -.015em;
  margin-bottom: 1.35rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: .75rem;
}

.fieldset-title i {
  font-family: var(--sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--tan);
}

.fieldset + .fieldset { margin-top: clamp(2.25rem, 4vw, 3rem); }

/* ---------------------------------------------------------------------
   22. Heritage / CMS prose
   --------------------------------------------------------------------- */
.prose {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.prose > * + * { margin-top: 1.35rem; }

.prose h2, .prose h3 {
  color: var(--text);
  margin-top: 2.75rem;
  font-weight: 400;
}

.prose h3 { font-size: clamp(1.35rem, 2.2vw, 1.72rem); }

.prose strong { color: var(--text); font-weight: 600; }

.prose a { color: var(--tan); text-decoration: underline; text-underline-offset: 3px; }

.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .55rem; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.35rem; top: .72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tan);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--tan); font-weight: 600; font-size: .9em; }

.prose blockquote {
  border-left: 2px solid var(--tan);
  padding-left: 1.5rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.heritage-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.heritage-hero__media { position: absolute; inset: 0; }
.heritage-hero__media img, .heritage-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.heritage-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,14,.95), rgba(20,17,14,.5) 55%, rgba(20,17,14,.25));
}
.heritage-hero .shell { position: relative; z-index: 2; }
.heritage-hero h1 { font-weight: 300; margin-top: 1.2rem; }
.heritage-hero .eyebrow { color: var(--brass); }

.timeline { display: grid; gap: 0; border-top: 1px solid var(--rule); }

.timeline__row {
  display: grid;
  gap: .5rem 2.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 760px) { .timeline__row { grid-template-columns: 8rem 1fr; } }

.timeline__year {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--tan);
  letter-spacing: -.02em;
}

.timeline__body h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.timeline__body p  { font-size: .92rem; color: var(--text-muted); line-height: 1.68; max-width: 58ch; }

/* ---------------------------------------------------------------------
   23. Contact
   --------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 940px) { .contact-layout { grid-template-columns: 1fr 1.05fr; } }

.contact-block + .contact-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--rule-soft); }

.contact-block__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: .7rem;
}

.contact-block p, .contact-block a { font-size: 1.02rem; line-height: 1.65; }
.contact-block a:hover { color: var(--tan); }

.contact-block__big {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.map-frame {
  aspect-ratio: 16 / 10;
  background: var(--bone-deep);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35); }

.map-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  gap: .6rem;
  color: var(--text-faint);
  font-size: .85rem;
}

/* ---------------------------------------------------------------------
   24. Flash messages + empty states
   --------------------------------------------------------------------- */
.flash-stack {
  position: fixed;
  top: calc(var(--header-h) + .9rem);
  right: var(--gutter);
  z-index: 200;
  display: grid;
  gap: .6rem;
  max-width: min(24rem, calc(100vw - 2 * var(--gutter)));
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .95rem 1.1rem;
  background: var(--ink);
  color: var(--bone);
  border-radius: 4px;
  box-shadow: var(--lift-2);
  font-size: .875rem;
  line-height: 1.5;
  animation: flash-in .5s var(--ease-out) both;
}

.flash--success { background: var(--success); }
.flash--error   { background: var(--danger); }

.flash button {
  margin-left: auto;
  background: none;
  border: 0;
  color: inherit;
  opacity: .65;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 .1rem;
}

.flash button:hover { opacity: 1; }

@keyframes flash-in {
  from { opacity: 0; transform: translateX(1.5rem); }
  to   { opacity: 1; transform: translateX(0); }
}

.flash.is-leaving { animation: flash-out .35s var(--ease) forwards; }

@keyframes flash-out {
  to { opacity: 0; transform: translateX(1.5rem); }
}

.empty {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  border: 1px dashed var(--rule);
  border-radius: 4px;
}

.empty svg { color: var(--text-faint); margin-inline: auto; margin-bottom: 1.5rem; }
.empty h3 { font-size: 1.6rem; font-weight: 400; }
.empty p { margin-top: .8rem; color: var(--text-muted); max-width: 38ch; margin-inline: auto; }
.empty .btn { margin-top: 1.9rem; }

/* ---------------------------------------------------------------------
   25. Footer
   --------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(247, 244, 239, .68);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: .875rem;
}

.footer__top {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule-invert);
}

@media (min-width: 780px)  { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer__brand .brand__mark { color: var(--bone); font-size: 1.6rem; }
.footer__brand .brand__sub  { color: rgba(247,244,239,.45); }

.footer__pitch {
  margin-top: 1.25rem;
  max-width: 32ch;
  line-height: 1.7;
  color: rgba(247, 244, 239, .58);
}

.footer h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.15rem;
}

.footer__links li + li { margin-top: .55rem; }

.footer__links a {
  position: relative;
  display: inline-block;
  transition: color .3s var(--ease), transform .3s var(--ease);
}

.footer__links a:hover { color: var(--bone); transform: translateX(3px); }

.footer__contact { display: grid; gap: .9rem; }
.footer__contact a:hover { color: var(--bone); }
.footer__contact strong { display: block; color: var(--bone); font-weight: 500; }

.footer__social { display: flex; gap: .5rem; margin-top: 1.5rem; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--rule-invert);
  border-radius: 999px;
  transition: all .35s var(--ease);
}

.footer__social a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); transform: translateY(-2px); }

.footer__bottom {
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(247, 244, 239, .42);
}

.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--bone); }

/* ---------------------------------------------------------------------
   26. Floating WhatsApp
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.15rem;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  box-shadow: var(--lift-2);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: transform .4s var(--ease-out), background-color .35s var(--ease);
}

.wa-float:hover { transform: translateY(-3px); background: #25D366; color: #fff; }
.wa-float span { display: none; }
@media (min-width: 640px) { .wa-float span { display: inline; } }

/* ---------------------------------------------------------------------
   27. Scroll reveal
   --------------------------------------------------------------------- */
/* Scoped to .js so content is never hidden when scripting is unavailable —
   without this, a JS failure would leave the whole catalog invisible. The .js
   class is set by an inline script in <head>, before first paint. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.65rem);
  transition: opacity .85s var(--ease-out), transform .95s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------
   28. Error page
   --------------------------------------------------------------------- */
.error-page {
  min-height: 78svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 5rem;
}

.error-page__code {
  font-family: var(--display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 300;
  line-height: .85;
  color: var(--tan);
  opacity: .22;
  letter-spacing: -.04em;
}

.error-page h1 { margin-top: -.4em; font-weight: 300; }
.error-page p  { margin-top: 1.25rem; color: var(--text-muted); max-width: 42ch; margin-inline: auto; }
.error-page .btn { margin-top: 2.25rem; }

/* ---------------------------------------------------------------------
   29. Utilities
   --------------------------------------------------------------------- */
.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 300;
  padding: .85rem 1.35rem;
  background: var(--ink);
  color: var(--bone);
  border-radius: 0 0 4px 4px;
  font-size: .8rem;
  font-weight: 600;
  transition: top .3s var(--ease);
}

.skip-link:focus { top: 0; }

.bg-paper { background: var(--paper); }
.bg-bone  { background: var(--bone-deep); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
