/* --------------------------------------------------------------------------
   0. Self-hosted typefaces
   No runtime call to fonts.googleapis.com. Almost no premium furniture site
   in the research set calls Google at load time, even the ones using
   Google-origin families, and self-hosting removes a third-party round trip.

   Switzer: Indian Type Foundry, ITF Free Font Licence, free for commercial
   use, no attribution. Files are shipped exactly as distributed: the FFL
   forbids subsetting or format conversion.
   Cormorant Garamond: SIL OFL.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ==========================================================================
   Whyni Wood - Core stylesheet
   Solid wood furniture and homeware, made to order. Cape Town.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour: taken from the Whyni Wood logo.
     Deep teal core with a brass accent. Names kept from the previous
     palette so the whole stylesheet keeps working. */
  --clr-bark:      #01181d;  /* darkest, headings / footer / hero base */
  --clr-deep:      #012228;  /* the logo background itself */
  --clr-teal:      #06333b;  /* raised surfaces on dark */
  --clr-walnut:    #1d3237;  /* body text on light */
  --clr-oak:       #2c4a50;  /* mid tone, borders */
  --clr-amber:     #c08a3e;  /* primary accent / CTA */
  --clr-amber-dk:  #8a5f24;  /* accent on light backgrounds */
  --clr-amber-tint:#835a22;  /* accent on the tinted sections */
  --clr-sand:      #dfe5e4;  /* section tint */
  --clr-linen:     #f4f6f5;  /* page background */
  --clr-white:     #ffffff;
  --clr-muted:     #53686d;  /* secondary text */

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm:   clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-2xl:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --fs-3xl:  clamp(2.75rem, 2rem + 3.6vw, 5rem);

  /* Spacing */
  --sp-2xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
  --sp-xs:  clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --sp-sm:  clamp(0.75rem, 0.6rem + 0.75vw, 1.125rem);
  --sp-md:  clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --sp-lg:  clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --sp-xl:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --sp-2xl: clamp(3rem, 2.2rem + 4vw, 5.5rem);
  --sp-3xl: clamp(4rem, 3rem + 5vw, 7rem);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radius + elevation */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --shadow-1: 0 1px 3px rgba(1, 24, 29, 0.09);
  --shadow-2: 0 6px 18px rgba(1, 24, 29, 0.11);
  --shadow-3: 0 16px 40px rgba(1, 24, 29, 0.15);

  /* Motion */
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 500ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.003em;
  color: var(--clr-walnut);
  background: var(--clr-linen);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.12;
  color: var(--clr-bark);
  margin: 0 0 var(--sp-sm);
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--clr-amber-dk); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--clr-bark); }

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--clr-amber);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--clr-bark);
  color: var(--clr-linen);
  padding: var(--sp-sm) var(--sp-md);
  z-index: 200;
}
.skip-link:focus { left: var(--sp-md); top: var(--sp-md); }

.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;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-3xl); }
.section--tint { background: var(--clr-sand); }
.section--dark { background: var(--clr-deep); color: #cfdbdc; }
.section--dark h2, .section--dark h3 { color: var(--clr-linen); }

.section-head {
  max-width: 62ch;
  margin-bottom: var(--sp-xl);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--sp-xs);
}
.section--dark .eyebrow { color: var(--clr-amber); }

.lede {
  font-size: var(--fs-lg);
  color: var(--clr-muted);
  line-height: 1.6;
}
.section--dark .lede { color: #b3c5c8; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  min-height: 48px;
  padding: var(--sp-sm) var(--sp-lg);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--clr-amber);
  color: var(--clr-bark);
  border-color: var(--clr-amber);
}
.btn--primary:hover {
  background: var(--clr-amber-dk);
  border-color: var(--clr-amber-dk);
  color: var(--clr-linen);
  box-shadow: var(--shadow-2);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-linen);
  border-color: rgba(244, 246, 245, 0.5);
}
.btn--ghost:hover {
  background: rgba(244, 246, 245, 0.12);
  border-color: var(--clr-linen);
  color: var(--clr-linen);
}

.btn--outline {
  background: transparent;
  color: var(--clr-bark);
  border-color: var(--clr-oak);
}
.btn--outline:hover {
  background: var(--clr-bark);
  border-color: var(--clr-bark);
  color: var(--clr-linen);
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   Dark, full bleed. Logo hard left, nav centred, utilities hard right.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-deep);
  border-bottom: 1px solid rgba(192, 138, 62, 0.18);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(1, 18, 22, 0.35); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-md);
  min-height: 78px;
  max-width: none;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  justify-self: start;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clr-linen);
  white-space: nowrap;
}
.brand:hover { color: var(--clr-amber); }
.brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--clr-linen);
}

/* ---- Centre nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-self: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-md), 2.2vw, var(--sp-xl));
}
.nav__link,
.nav__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  padding-block: var(--sp-xs);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfdbdc;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover,
.nav__trigger:hover { color: var(--clr-linen); }

.nav__link::after,
.nav__trigger::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--clr-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item:hover .nav__trigger::after,
.nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--clr-linen); }

.nav__chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--dur) var(--ease);
}
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }

/* ---- Utilities, hard right ---- */
.utils {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  justify-self: end;
}
.util {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  color: #cfdbdc;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.util:hover { color: var(--clr-amber); background: rgba(244, 246, 245, 0.07); }
.util svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.util__badge {
  position: absolute;
  top: 6px; right: 5px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-deep);
  background: var(--clr-amber);
  border-radius: 999px;
}

/* Search panel drops from the header */
.search-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 96;
  padding-block: var(--sp-lg);
  background: var(--clr-deep);
  border-bottom: 1px solid rgba(192, 138, 62, 0.22);
  box-shadow: 0 18px 40px rgba(1, 18, 22, 0.4);
  display: none;
}
.search-panel.is-open { display: block; }
.search-panel form { display: flex; gap: var(--sp-sm); }
.search-panel input {
  flex: 1;
  min-height: 52px;
  padding: 0 var(--sp-md);
  font-family: inherit;
  font-size: var(--fs-lg);
  color: var(--clr-linen);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(244, 246, 245, 0.3);
}
.search-panel input::placeholder { color: #7d9599; }
.search-panel input:focus { outline: none; border-bottom-color: var(--clr-amber); }
.search-panel p { font-size: var(--fs-xs); color: #7d9599; margin-top: var(--sp-sm); margin-bottom: 0; }

/* ---- Mobile toggle ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 22px; height: 1.5px;
  margin-inline: auto;
  background: var(--clr-linen);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero, full bleed
   Photography fills the viewport, copy sits over it, category tiles sit
   under it. Short headline, generous space, nothing competing.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(92vh, 900px);
  padding-block: var(--sp-3xl);
  overflow: hidden;
  background: #01181d;
  color: var(--clr-linen);
  text-align: center;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.82;
  transform: scale(1.04);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(0, -1.5%, 0); }
}

/* Vignette so type stays readable over any photograph */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 72% 62% at 50% 44%, rgba(1,34,40,0.08), rgba(1,24,29,0.62) 80%),
    linear-gradient(rgba(1,24,29,0.34), rgba(1,34,40,0.20) 42%, rgba(1,24,29,0.78));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 54rem;
  margin-inline: auto;
}

.hero .eyebrow {
  color: #8ea3a7;
  margin-bottom: var(--sp-md);
}

.hero__title {
  color: var(--clr-linen);
  font-size: clamp(2.75rem, 1.8rem + 4.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  text-shadow: 0 2px 24px rgba(20, 12, 6, 0.45);
}
.hero__title em {
  display: block;
  font-style: italic;
  color: #b8c8ca;
}

.hero__text {
  font-size: var(--fs-lg);
  color: #d3e0e1;
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
  text-shadow: 0 1px 12px rgba(20, 12, 6, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md) var(--sp-2xl);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(244, 246, 245, 0.18);
  font-size: var(--fs-sm);
  color: #a9bcbf;
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--clr-linen);
  line-height: 1.2;
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: var(--sp-lg);
  z-index: 2;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9bcbf;
}
.hero__cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: linear-gradient(var(--clr-amber), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { opacity: 0.35; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;    transform: scaleY(1);   transform-origin: top; }
}

/* --------------------------------------------------------------------------
   6b. Category tiles, straight under the hero
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  background: rgba(44, 74, 80, 0.25);
}
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 26vw, 330px);
  padding: var(--sp-lg);
  overflow: hidden;
  background: var(--clr-bark);
  color: var(--clr-linen);
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 30%, rgba(1, 24, 29, 0.88));
}
.tile:hover img { transform: scale(1.06); opacity: 0.85; }

.tile__label {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.1;
}
.tile__label span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9bcbf;
  margin-top: var(--sp-2xs);
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; transform: scale(1.04); }
  .hero__cue::after { animation: none; }
}

/* --------------------------------------------------------------------------
   7. Launch offer banner
   -------------------------------------------------------------------------- */
.offer {
  background: var(--clr-deep);
  color: #cfdbdc;
  border-bottom: 1px solid rgba(192, 138, 62, 0.28);
  text-align: center;
  padding-block: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.offer strong { font-weight: 700; color: var(--clr-linen); }
.offer a {
  color: var(--clr-linen);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer a:hover { color: var(--clr-amber); }

/* --------------------------------------------------------------------------
   8. Product grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border: 1px solid rgba(44, 74, 80, 0.16);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0a3d47, #2c4a50 55%, #3d5f66);
  overflow: hidden;
}
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(101deg, rgba(0,0,0,0.07) 0 3px, transparent 3px 12px);
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.card__tag {
  position: absolute;
  top: var(--sp-sm); left: var(--sp-sm);
  z-index: 2;
  padding: 4px 10px;
  background: rgba(1, 24, 29, 0.82);
  color: var(--clr-linen);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-lg);
}
.card__title { margin-bottom: var(--sp-xs); font-size: var(--fs-lg); }
.card__text { font-size: var(--fs-sm); color: var(--clr-muted); margin-bottom: var(--sp-md); }
.card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-sm);
  margin-top: auto;
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(44, 74, 80, 0.16);
}
.card__price { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--clr-bark); }
.card__price span { font-size: var(--fs-xs); font-family: var(--font-body); color: var(--clr-muted); }
.card__link { font-size: var(--fs-sm); font-weight: 600; }
.card__link::after { content: " \2192"; }

/* --------------------------------------------------------------------------
   9. Process steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--sp-lg);
  border-top: 2px solid var(--clr-oak);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--clr-oak);
  margin-bottom: var(--sp-xs);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2xs); }
.step p { font-size: var(--fs-sm); color: var(--clr-muted); }

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--sp-sm);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(140deg, #06333b, #2c4a50);
}
.gallery__item:nth-child(3n) { background: linear-gradient(140deg, #6b4f33, #a98960); }
.gallery__item:nth-child(4n) { background: linear-gradient(140deg, #43301f, #7d6247); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(88deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 10px);
}
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--sp-md) var(--sp-sm) var(--sp-sm);
  background: linear-gradient(transparent, rgba(1, 24, 29, 0.85));
  color: var(--clr-linen);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Split feature (about)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--sp-2xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #012228, #2c4a50 70%, #c08a3e);
  box-shadow: var(--shadow-3);
  position: relative;
}
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(97deg, rgba(0,0,0,0.07) 0 3px, transparent 3px 13px);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: var(--sp-sm);
  font-size: var(--fs-sm);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--clr-oak);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.quote {
  padding: var(--sp-lg);
  background: var(--clr-white);
  border-left: 2px solid var(--clr-oak);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--shadow-1);
}
.quote p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--clr-bark);
  margin-bottom: var(--sp-sm);
}
.quote cite {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-2xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.form__row {
  display: grid;
  gap: var(--sp-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-bottom: var(--sp-md);
}
.field { display: flex; flex-direction: column; gap: var(--sp-2xs); margin-bottom: var(--sp-md); }
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: var(--sp-sm);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--clr-walnut);
  background: var(--clr-white);
  border: 1.5px solid rgba(44, 74, 80, 0.35);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--clr-amber);
  box-shadow: 0 0 0 3px rgba(181, 128, 60, 0.18);
  outline: none;
}
.form__note { font-size: var(--fs-xs); color: var(--clr-muted); margin-top: var(--sp-sm); }

.contact-list li {
  display: flex;
  gap: var(--sp-sm);
  padding-block: var(--sp-sm);
  border-bottom: 1px solid rgba(44, 74, 80, 0.2);
  font-size: var(--fs-sm);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list dt,
.contact-list .label {
  flex: 0 0 7.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  background:
    linear-gradient(rgba(1, 24, 29, 0.90), rgba(1, 24, 29, 0.90)),
    repeating-linear-gradient(95deg, #06333b 0 6px, #012228 6px 16px);
  color: var(--clr-linen);
}
.cta-band h2 { color: var(--clr-linen); }
.cta-band p { color: #c2b4a2; max-width: 48ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; margin-top: var(--sp-lg); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--clr-bark);
  color: #a9bcbf;
  padding-block: var(--sp-2xl) var(--sp-lg);
  font-size: var(--fs-sm);
}
.site-footer a { color: #cfdbdc; }
.site-footer a:hover { color: var(--clr-amber); }

.footer-grid {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(244, 246, 245, 0.14);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ea3a7;
  margin-bottom: var(--sp-sm);
}
.site-footer .brand { color: var(--clr-linen); margin-bottom: var(--sp-sm); }
.footer-grid li { margin-bottom: var(--sp-xs); }

.socials { display: flex; gap: var(--sp-sm); }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(244, 246, 245, 0.28);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.socials a:hover { background: var(--clr-amber); border-color: var(--clr-amber); }
.socials a:hover svg { fill: var(--clr-bark); }
.socials svg { width: 19px; height: 19px; fill: #cfdbdc; transition: fill var(--dur) var(--ease); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
  justify-content: space-between;
  padding-top: var(--sp-lg);
  font-size: var(--fs-xs);
  color: #8ea3a7;
}

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list { gap: var(--sp-md); }
  .nav__link, .nav__trigger { font-size: 11px; letter-spacing: 0.08em; }
}

@media (max-width: 860px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-md) var(--gutter) var(--sp-xl);
    background: var(--clr-deep);
    border-bottom: 1px solid rgba(192, 138, 62, 0.2);
    box-shadow: var(--shadow-2);
    transform: translateY(-120%);
    transition: transform var(--dur) var(--ease);
  }
  .nav.is-open { transform: translateY(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__trigger {
    display: flex;
    width: 100%;
    padding-block: var(--sp-md);
    font-size: var(--fs-sm);
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(244, 246, 245, 0.12);
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: var(--sp-md); }

  .hero__meta { gap: var(--sp-md); }
}

@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .footer-base { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav, .cta-band, .site-footer, .offer { display: none; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   20. Layer order for photographs inside components
   The hero's own background rules live in section 6.
   -------------------------------------------------------------------------- */
.hero::after { z-index: 1; }
.hero__inner { z-index: 2; }

/* Product photos inside cards, now that real images exist */
.card__media img { z-index: 1; }
.card__media::after { z-index: 2; pointer-events: none; opacity: 0.35; }
.card__tag { z-index: 3; }

.gallery__item img { z-index: 1; }
.gallery__item::after { z-index: 2; opacity: 0.3; }
.gallery__caption { z-index: 3; }

/* --------------------------------------------------------------------------
   21. Contrast fix for tinted sections
   --clr-amber-dk clears 4.5:1 on linen and white, but only reaches 4.01:1
   on the sand tint. Tinted sections get a darker tone so eyebrows and
   inline links stay WCAG AA.
   -------------------------------------------------------------------------- */
.section--tint .eyebrow { color: var(--clr-muted); }
.section--tint a:not(.btn) { color: var(--clr-walnut); text-decoration: underline; text-underline-offset: 3px; }
.section--tint a:not(.btn):hover { color: var(--clr-bark); }
.section--tint a:not(.btn):hover {
  color: var(--clr-bark);
}

/* --------------------------------------------------------------------------
   22. Three pathways
   From the competitor research: a R350 board buyer and a R15,000 table
   buyer need different entry points. Sebastian Cox does this well.
   -------------------------------------------------------------------------- */
.paths {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.path {
  display: flex;
  flex-direction: column;
  padding: var(--sp-xl);
  background: var(--clr-white);
  border: 1px solid rgba(44, 74, 80, 0.2);
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.path:hover {
  transform: translateY(-4px);
  border-color: var(--clr-oak);
  box-shadow: var(--shadow-2);
}
.path__num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--clr-oak);
  line-height: 1;
  margin-bottom: var(--sp-sm);
}
.path h3 { margin-bottom: var(--sp-xs); }
.path p { font-size: var(--fs-sm); color: var(--clr-muted); margin-bottom: var(--sp-md); }
.path__meta {
  margin-top: auto;
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(44, 74, 80, 0.18);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.path .btn { margin-top: var(--sp-sm); }

/* Form error messaging (UX rule: name the invalid field, not just a banner) */
.field__error {
  display: none;
  font-size: var(--fs-xs);
  color: #9b2c1f;
  margin-top: var(--sp-2xs);
}
.field.is-invalid .field__error { display: block; }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #9b2c1f;
}

/* --------------------------------------------------------------------------
   23. Mega menu
   Full-width dropdown under the header, columns of real categories.
   Opens on hover for pointers, on click/Enter for keyboard and touch.
   -------------------------------------------------------------------------- */
.nav__item { position: static; }

.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 95;
  background: var(--clr-deep);
  border-top: 1px solid rgba(192, 138, 62, 0.18);
  border-bottom: 1px solid rgba(192, 138, 62, 0.22);
  box-shadow: 0 18px 40px rgba(1, 24, 29, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility 0s linear var(--dur);
}
.nav__item:hover .mega,
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mega__inner {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 260px);
  padding-block: var(--sp-2xl);
}
.mega__col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-amber);
  margin-bottom: var(--sp-sm);
}
.mega__col li { margin-bottom: var(--sp-xs); }
.mega__col a {
  font-size: var(--fs-sm);
  color: #cfdbdc;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mega__col a:hover { color: var(--clr-amber); padding-left: 4px; }
.mega__col a .count { color: #7d9599; font-size: var(--fs-xs); }

/* Promo panel on the right of the menu */
.mega__promo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  padding: var(--sp-md);
  text-decoration: none;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--clr-bark);
  color: var(--clr-linen);
  isolation: isolate;
}
.mega__promo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform var(--dur-slow) var(--ease);
}
.mega__promo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(transparent 40%, rgba(1,24,29,0.55));
}
.mega__promo-text {
  position: relative;
  padding: var(--sp-xs) var(--sp-sm);
  background: rgba(1, 24, 29, 0.82);
  border-radius: var(--r-sm);
  backdrop-filter: blur(3px);
}
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo strong {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  white-space: nowrap;
  font-weight: 600;
  display: block;
  text-shadow: 0 1px 10px rgba(20,12,6,0.7);
}
.mega__promo > .mega__promo-text > span:first-child {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-amber);
  text-shadow: 0 1px 10px rgba(20,12,6,0.7);
}

@media (max-width: 1080px) {
  .mega__inner { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .mega__promo { display: none; }
}

@media (max-width: 860px) {
  .nav__item { position: relative; }
  .nav__trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-block: var(--sp-md);
    font-size: var(--fs-lg);
    border-bottom: 1px solid rgba(44, 74, 80, 0.16);
  }
  .nav__trigger::after { display: none; }
  .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
  }
  .mega.is-open { display: block; }
  .nav__item:hover .mega:not(.is-open) { display: none; }
  .mega__inner { grid-template-columns: 1fr; gap: var(--sp-md); padding-block: var(--sp-md); }
  .mega__promo { display: none; }
}

/* --------------------------------------------------------------------------
   24. Section rhythm
   Alternating surfaces so sections read as separate bands rather than one
   continuous colour.
   -------------------------------------------------------------------------- */
.section--paper { background: var(--clr-white); }
.section--edge  { border-top: 1px solid rgba(44, 74, 80, 0.14); }

/* --------------------------------------------------------------------------
   25. Newsletter band
   -------------------------------------------------------------------------- */
.signup {
  background: var(--clr-white);
  border-top: 1px solid rgba(44, 74, 80, 0.14);
  padding-block: var(--sp-2xl);
}
.signup__inner {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.signup h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-xs); }
.signup p { color: var(--clr-muted); font-size: var(--fs-sm); margin-bottom: 0; max-width: 46ch; }

.signup__form { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.signup__form input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 0 var(--sp-md);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--clr-walnut);
  background: var(--clr-linen);
  border: 1px solid rgba(44, 74, 80, 0.28);
  border-radius: var(--r-sm);
}
.signup__form input::placeholder { color: var(--clr-muted); }
.signup__form input:focus {
  outline: none;
  border-color: var(--clr-amber-dk);
  background: var(--clr-white);
}
.signup__note { font-size: var(--fs-xs); color: var(--clr-muted); margin-top: var(--sp-sm); }

/* --------------------------------------------------------------------------
   27. Review carousel
   -------------------------------------------------------------------------- */
.reviews { text-align: center; }
.reviews h2 {
  font-size: var(--fs-xl);
  color: var(--clr-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--sp-xl);
}
.reviews__stage {
  position: relative;
  max-width: 56ch;
  margin-inline: auto;
  min-height: 230px;
}
.review {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 0s linear 600ms;
}
.review.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.review__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--sp-lg);
}
.review__stars svg { width: 18px; height: 18px; fill: var(--clr-amber); }
.review blockquote {
  margin: 0 0 var(--sp-lg);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-style: italic;
  line-height: 1.35;
  color: var(--clr-bark);
}
.review cite {
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-walnut);
}
.review cite span {
  display: block;
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: 2px;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
}
.reviews__dot {
  width: 26px; height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(44, 74, 80, 0.25);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.reviews__dot:hover { background: rgba(44, 74, 80, 0.5); }
.reviews__dot[aria-current="true"] { background: var(--clr-amber); }
.reviews__dot:focus-visible { outline: 2px solid var(--clr-amber); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .review { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: var(--sp-xl); }
  .reviews__stage { min-height: 0; }
  .reviews__nav { display: none; }
}

html.no-js .review { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: var(--sp-xl); }
html.no-js .reviews__stage { min-height: 0; }
html.no-js .reviews__nav { display: none; }

/* --------------------------------------------------------------------------
   28. Alternating feature rows
   The Another Country pattern: image one side, story the other, alternating
   down the page. Generous whitespace, underlined text links instead of
   buttons, headings in the brand colour.
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  align-items: center;
  padding-block: clamp(1rem, 3vw, 2.5rem);
}
.feature--flip .feature__media { order: 2; }

.feature__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--clr-sand);
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.03); }

.feature__body { max-width: 46ch; }
.feature__kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--sp-sm);
}
.feature__mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--clr-linen);
}
.feature__body h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  color: var(--clr-bark);
  margin-bottom: var(--sp-md);
}
.feature__body p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-walnut);
  margin-bottom: var(--sp-md);
}

/* Underlined text link, their signature CTA */
.link-under {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--clr-bark);
  border-bottom: 1px solid var(--clr-oak);
  padding-bottom: 3px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-under:hover { color: var(--clr-amber-dk); border-bottom-color: var(--clr-amber-dk); }

/* --------------------------------------------------------------------------
   29. Category row, text links under images
   -------------------------------------------------------------------------- */
.cats {
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.cat {
  display: block;
  text-align: center;
}
.cat__img {
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  margin-bottom: var(--sp-md);
  background: var(--clr-sand);
}
.cat__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__label {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--clr-bark);
  border-bottom: 1px solid var(--clr-oak);
  padding-bottom: 3px;
}
.cat:hover .cat__label { border-bottom-color: var(--clr-amber-dk); color: var(--clr-amber-dk); }

/* --------------------------------------------------------------------------
   30. Centred statement
   -------------------------------------------------------------------------- */
.statement {
  text-align: center;
  max-width: 44ch;
  margin-inline: auto;
}
.statement h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  color: var(--clr-bark);
  margin-bottom: var(--sp-md);
}
.statement p { color: var(--clr-muted); font-size: var(--fs-base); }

/* Newsletter with underline-only fields, their style */
.signup__form--line input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(44, 74, 80, 0.35);
  border-radius: 0;
  padding-inline: 0;
}
.signup__form--line input:focus {
  background: transparent;
  border-bottom-color: var(--clr-amber-dk);
}

@media (max-width: 760px) {
  .feature--flip .feature__media { order: 0; }
}

/* --------------------------------------------------------------------------
   31. Another Country homepage patterns
   Hero with overlay copy, product strip, alternating features, showroom.
   -------------------------------------------------------------------------- */

/* Hero with copy sitting over the image, their pattern */
.ac-hero {
  position: relative;
  margin-inline: auto;
  max-width: var(--wrap);
  padding-inline: var(--gutter);
  padding-block: var(--sp-lg) 0;
}
.ac-hero__frame {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--clr-sand);
}
.ac-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.ac-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Strong enough that white copy reads over any photograph, including a
     pale grey studio backdrop. */
  background:
    linear-gradient(180deg,
      rgba(1,24,29,0.00) 18%,
      rgba(1,24,29,0.30) 42%,
      rgba(1,24,29,0.30) 58%,
      rgba(1,24,29,0.00) 82%),
    linear-gradient(rgba(1,24,29,0.05), rgba(1,24,29,0.18));
  pointer-events: none;
}
.ac-hero__copy {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;              /* above the ::after scrim on the frame */
  transform: translate(-50%,-50%);
  width: min(90%, 620px);
  text-align: center;
  color: var(--clr-white);
}
.ac-hero__copy h1 {
  color: var(--clr-white);
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  font-weight: 400;
  margin-bottom: var(--sp-sm);
  text-shadow: 0 2px 28px rgba(1,18,22,0.7), 0 1px 4px rgba(1,18,22,0.5);
}
.ac-hero__copy p {
  color: rgba(255,255,255,0.95);
  font-size: var(--fs-base);
  margin-bottom: 0;
  text-shadow: 0 1px 18px rgba(1,18,22,0.75), 0 1px 3px rgba(1,18,22,0.6);
}

/* Product strip: four across, image then underlined label */
.strip {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.strip__item { display: block; text-align: center; }
/* Every tile is the same box, always. The two variants below differ only
   in how the image sits inside that fixed box. */
.strip__img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: var(--sp-sm);
  background: var(--clr-sand);
}
.strip__img img {
  width: 100%; height: 100%;
  object-fit: cover;          /* lifestyle: fill the tile, crop is fine */
  transition: transform 900ms var(--ease);
}

/* Product tiles: never crop the piece, so contain on white with a little
   padding. The BOX stays identical to the lifestyle tiles. */
.strip--products .strip__img {
  aspect-ratio: 1;
  background: var(--clr-white);
  padding: clamp(0.5rem, 1.4vw, 1.1rem);
  border: 1px solid rgba(44, 74, 80, 0.10);
}
.strip--products .strip__img img { object-fit: contain; }
.strip__item:hover .strip__img img { transform: scale(1.04); }
.strip__label {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--clr-bark);
  border-bottom: 1px solid var(--clr-oak);
  padding-bottom: 3px;
}
.strip__item:hover .strip__label { color: var(--clr-amber-dk); border-bottom-color: var(--clr-amber-dk); }

/* Showroom / visit block, two buttons side by side */
.visit__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-top: var(--sp-lg); }
.btn--line {
  background: transparent;
  color: var(--clr-bark);
  border: 1px solid var(--clr-oak);
}
.btn--line:hover { background: var(--clr-bark); border-color: var(--clr-bark); color: var(--clr-linen); }

/* --------------------------------------------------------------------------
   32. Hero carousel
   Slides cross-fade, arrows either side, dots beneath. Vanilla JS, no
   dependency. Pauses on hover and focus, stops under reduced motion.
   -------------------------------------------------------------------------- */
.ac-hero__frame { position: relative; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease), visibility 0s linear 900ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-slide__copy {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 3;
  transform: translate(-50%,-50%);
  width: min(90%, 620px);
  text-align: center;
  color: var(--clr-white);
}
.hero-slide__copy h2,
.hero-slide__copy h1 {
  color: var(--clr-white);
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  font-weight: 400;
  margin-bottom: var(--sp-sm);
  text-shadow: 0 2px 30px rgba(1,18,22,0.85), 0 2px 8px rgba(1,18,22,0.7), 0 1px 3px rgba(1,18,22,0.6);
}
.hero-slide__copy p {
  color: rgba(255,255,255,0.95);
  font-size: var(--fs-base);
  margin-bottom: 0;
  text-shadow: 0 1px 20px rgba(1,18,22,0.9), 0 1px 6px rgba(1,18,22,0.75), 0 1px 3px rgba(1,18,22,0.6);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  color: var(--clr-white);
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--dur) var(--ease);
}
.hero-arrow:hover { opacity: 1; }
.hero-arrow--prev { left: var(--sp-xs); }
.hero-arrow--next { right: var(--sp-xs); }
.hero-arrow svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  filter: drop-shadow(0 1px 6px rgba(1,18,22,0.6));
}

.hero-dots {
  position: absolute;
  left: 50%; bottom: var(--sp-md);
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 26px; height: 3px;
  padding: 0; border: 0; border-radius: 2px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.hero-dot[aria-current="true"] { background: var(--clr-white); }
.hero-dot:focus-visible { outline: 2px solid var(--clr-white); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
html.no-js .hero-slide { position: relative; opacity: 1; visibility: visible; }
html.no-js .hero-slide + .hero-slide { display: none; }
html.no-js .hero-arrow, html.no-js .hero-dots { display: none; }

/* --------------------------------------------------------------------------
   33. Bento grid, fills space without clutter
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;   /* backfill gaps left by spanning cells */
}
.bento__cell {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  padding: var(--sp-md);
  overflow: hidden;
  background: var(--clr-sand);
  isolation: isolate;
}
.bento__cell img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.bento__cell::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(transparent 45%, rgba(1,24,29,0.7));
}
.bento__cell:hover img { transform: scale(1.04); }
.bento__label {
  color: var(--clr-white);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(1,18,22,0.6);
}
.bento__label span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.bento__cell--wide { grid-column: span 2; }
.bento__cell--tall { grid-row: span 2; min-height: 100%; }

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--tall { grid-row: span 1; min-height: 240px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
}

/* Quiet stat band */
.facts {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  text-align: center;
}
.facts__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  color: var(--clr-bark);
  line-height: 1.1;
  margin-bottom: var(--sp-2xs);
}
.facts__item span {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* --------------------------------------------------------------------------
   34. Hero slide motion
   A slow Ken Burns drift on the active slide. This is the cheap stand in for
   video: no extra weight, no new tooling, and on a furniture site it reads
   calmer than a short looping clip.
   -------------------------------------------------------------------------- */
.hero-slide img {
  transform: scale(1.02);
  transition: transform 900ms var(--ease);
}
.hero-slide.is-active img {
  animation: heroDrift 14s ease-out forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(0, -1.2%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active img { animation: none; transform: scale(1.02); }
}

/* --------------------------------------------------------------------------
   35. Wider use of the page
   The layout was sitting in a narrow column with large margins either side.
   Give the full bleed blocks more of the viewport.
   -------------------------------------------------------------------------- */
.ac-hero { max-width: min(1600px, 94vw); padding-inline: 0; }
.wrap--wide { max-width: min(1500px, 92vw); }

.bento { grid-auto-rows: minmax(0, 1fr); }
.bento__cell { min-height: clamp(220px, 24vw, 320px); }

/* Product strip breathes wider on large screens */
@media (min-width: 1200px) {
  .strip { gap: clamp(1.25rem, 2.6vw, 2.5rem); }
}

/* --------------------------------------------------------------------------
   32. Editorial pair (home: ethos + craft)
   Two columns side by side, the second dropped down so the images
   interlock and the whitespace does the work. Stacks on small screens.
   -------------------------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.editorial__col--offset { margin-top: clamp(5rem, 14vw, 12rem); }

.editorial__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: var(--clr-sand);
}
.editorial__media--tall { aspect-ratio: 4 / 4.6; }
.editorial__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.editorial__col:hover .editorial__media img { transform: scale(1.03); }

.editorial__body {
  position: relative;
  max-width: 44ch;
  padding-top: var(--sp-xl);
}
.editorial__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--clr-amber-dk);
  padding-bottom: var(--sp-sm);
  margin-bottom: var(--sp-md);
  border-bottom: 1px solid var(--clr-amber);
  width: 3.5rem;
}
.editorial__body h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  color: var(--clr-bark);
  margin-bottom: var(--sp-md);
}
.editorial__body p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-walnut);
  margin-bottom: var(--sp-md);
}

@media (max-width: 760px) {
  .editorial { grid-template-columns: 1fr; row-gap: var(--sp-2xl); }
  .editorial__col--offset { margin-top: 0; }
  .editorial__media--tall { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial__col:hover .editorial__media img { transform: none; }
}

/* Facts band: slimmer than a full section, text size unchanged */
.section--facts { padding-block: var(--sp-xl); }
