/* ==========================================================================
   Taana Carpets — Core stylesheet
   --------------------------------------------------------------------------
   1. Design tokens        6. Header & navigation    11. Feature grids
   2. Reset & base         7. Hero & page hero       12. Process / timeline
   3. Typography           8. Section heads          13. Gallery & lightbox
   4. Layout helpers       9. Collection cards       14. Forms & contact
   5. Buttons & links     10. Editorial blocks       15. Footer & utilities
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */

/* Aspekta (SIL Open Font License) — self-hosted, see assets/fonts/aspekta/.
   Fraunces is loaded from Google Fonts in each page's <head>. */
@font-face {
  font-family: "Aspekta";
  src: url("../assets/fonts/aspekta/aspekta-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../assets/fonts/aspekta/aspekta-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../assets/fonts/aspekta/aspekta-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../assets/fonts/aspekta/aspekta-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette — warm neutrals with a clay accent */
  --ivory: #f8f4ee;
  --cream: #f1eadf;
  --sand: #e4d7c4;
  --taupe: #b49d80;
  --clay: #8a5636;
  --clay-dark: #6f4329;
  --gold: #b8955e;
  --charcoal: #1d1a17;
  --espresso: #2a231e;
  --ink: #2a2420;
  --muted: #675c52;
  --muted-light: #b9ad9f;
  --line: rgba(42, 36, 32, 0.14);
  --line-light: rgba(248, 244, 238, 0.18);
  --error: #a3372a;
  --success: #3f6b4a;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Aspekta", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1320px;
  --max-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
  --t-slow: 1.2s;

  --shadow-soft: 0 24px 60px -30px rgba(29, 26, 23, 0.35);
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

/* :where() keeps this reset at zero specificity, so a list's own class
   (e.g. .custom-list, .breadcrumb) can still set its margins */
:where(ul[class], ol[class]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

::selection {
  background: var(--clay);
  color: var(--ivory);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.85rem;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 3. Typography
   ========================================================================== */
/* Fraunces runs wider and heavier than a Garamond, so sizes sit a step lower */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: inherit;
}

h1,
.h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  font-weight: 300;
  line-height: 1.05;
}

h2,
.h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
  font-weight: 300;
}

h3,
.h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
}

h4 {
  font-size: 1.15rem;
}

h1 em,
h2 em,
h3 em,
.serif-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--clay);
}

.on-dark h1 em,
.on-dark h2 em,
.on-dark h3 em {
  color: var(--gold);
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

/* Breathing room between a section heading and the paragraph under it
   (collapses with any margin a component already sets on the heading) */
h2 + p {
  margin-top: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
}

.on-dark .lead,
.on-dark p {
  color: rgba(248, 244, 238, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.on-dark .eyebrow {
  color: var(--gold);
}

.eyebrow--center::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.text-center {
  text-align: center;
}

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

/* 4. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--max-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--flush-top {
  padding-top: 0;
}

.section--cream {
  background: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.section--espresso {
  background: var(--espresso);
  color: var(--ivory);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.split--wide-media {
  grid-template-columns: 1.15fr 1fr;
}

.split--wide-text {
  grid-template-columns: 1fr 1.15fr;
}

.split--top {
  align-items: start;
}

/* Both columns share one height (e.g. a photo matching the text beside it) */
.split--stretch {
  align-items: stretch;
}

.stack > * + * {
  margin-top: 1.5rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Media frames keep crops consistent and enable hover zoom */
.media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.media--portrait {
  aspect-ratio: 4 / 5;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--square {
  aspect-ratio: 1;
}

.media--landscape {
  aspect-ratio: 3 / 2;
}

.media--wide {
  aspect-ratio: 16 / 9;
}

.media--cinema {
  aspect-ratio: 21 / 9;
}

.zoom:hover img,
.zoom:focus-within img {
  transform: scale(1.06);
}

/* 5. Buttons & links
   ========================================================================== */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  --btn-bd: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.95rem 2rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.btn:hover {
  --btn-bg: var(--clay);
  --btn-bd: var(--clay);
}

.btn:active {
  transform: translateY(1px);
}

.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
  --btn-bd: var(--ivory);
}

.btn--light:hover {
  --btn-bg: var(--gold);
  --btn-bd: var(--gold);
  --btn-fg: var(--charcoal);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--charcoal);
  --btn-bd: var(--charcoal);
}

.btn--outline:hover {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  --btn-bd: var(--charcoal);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-bd: rgba(248, 244, 238, 0.6);
}

.btn--outline-light:hover {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
  --btn-bd: var(--ivory);
}

.btn--whatsapp {
  --btn-bg: #1f6f4a;
  --btn-bd: #1f6f4a;
  --btn-fg: #fff;
}

.btn--whatsapp:hover {
  --btn-bg: #18583a;
  --btn-bd: #18583a;
}

.btn--sm {
  min-height: 2.6rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.7rem;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--t-fast), gap var(--t-fast) var(--ease);
}

.link-arrow::after {
  content: "\2192";
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease);
}

.link-arrow:hover {
  color: var(--clay);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.on-dark .link-arrow {
  color: var(--ivory);
}

.on-dark .link-arrow:hover {
  color: var(--gold);
}

/* 6. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 238, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

/* Home page: the header sits on the banner until the page scrolls */
.site-header--overlay:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--ivory);
}

.site-header--overlay:not(.is-scrolled) .brand__logo--ink {
  display: none;
}

.site-header--overlay:not(.is-scrolled) .brand__logo--light {
  display: block;
}

.site-header--overlay:not(.is-scrolled) .nav__link {
  color: var(--ivory);
}

.site-header--overlay:not(.is-scrolled) .nav__link:hover,
.site-header--overlay:not(.is-scrolled) .nav__link[aria-current="page"] {
  color: var(--gold);
}

.site-header--overlay:not(.is-scrolled) .nav__toggle span {
  background: var(--ivory);
}

.site-header--overlay:not(.is-scrolled) .nav .btn {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
  --btn-bd: var(--ivory);
}

.site-header--overlay:not(.is-scrolled) .nav .btn:hover {
  --btn-bg: var(--gold);
  --btn-bd: var(--gold);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(29, 26, 23, 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height var(--t-med) var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--clay);
}

/* Logo: "ink" version (dark lettering) on light backgrounds, "light" version
   (white lettering, the original artwork) on dark ones */
.brand__logo {
  display: block;
  width: auto;
  height: 3.25rem;
  transition: height var(--t-med) var(--ease);
}

.site-header .brand__logo--light {
  display: none;
}

.site-header.is-scrolled .brand__logo {
  height: 2.75rem;
}

.mobile-nav .brand__logo {
  height: 2.75rem;
}

.footer-about .brand__logo {
  width: min(100%, 17rem);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.nav__link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--t-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--clay);
}

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

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}

.nav__toggle span:nth-child(1) {
  top: 16px;
}

.nav__toggle span:nth-child(2) {
  top: 21.5px;
}

.nav__toggle span:nth-child(3) {
  top: 27px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile drawer (activated in responsive.css) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 26, 23, 0.5);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: none;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-right: -10px;
  font-size: 1.75rem;
  line-height: 1;
}

.mobile-nav__list li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.9rem 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1.2;
  transition: color var(--t-fast), padding var(--t-fast);
}

.mobile-nav__list a span {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] {
  color: var(--clay);
  padding-left: 0.4rem;
}

.mobile-nav__footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mobile-nav__footer .btn {
  width: 100%;
  margin-bottom: 1.5rem;
}

.mobile-nav__footer a:not(.btn) {
  display: block;
  color: var(--ink);
}

/* Phone numbers: one line, each number kept whole (see applyConfig in main.js) */
.phone-group a {
  white-space: nowrap;
}

.mobile-nav__footer .phone-group a {
  display: inline;
}

/* 7. Hero & page hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - var(--header-h) - 2.6rem), 940px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.page-hero__media,
.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img,
.page-hero__media img,
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(22, 18, 15, 0.78) 0%, rgba(22, 18, 15, 0.5) 45%, rgba(22, 18, 15, 0.08) 80%),
    linear-gradient(0deg, rgba(22, 18, 15, 0.6) 0%, rgba(22, 18, 15, 0) 40%);
}

.hero__content {
  width: 100%;
  padding-block: clamp(4rem, 10vh, 7rem) clamp(2.5rem, 6vh, 4rem);
}

.hero__copy {
  max-width: 700px;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title em {
  color: var(--sand);
}

.hero__text {
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: rgba(248, 244, 238, 0.86);
}

.hero .eyebrow {
  color: var(--sand);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 3rem;
  margin-top: clamp(3rem, 8vh, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
}

.hero__meta li {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.7);
}

.hero__meta strong {
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: rgba(248, 244, 238, 0.75);
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--ivory), transparent);
  animation: scrollCue 2.4s var(--ease) infinite;
}

/* Home banner: wide image with the header laid over it */
.hero.hero--banner {
  min-height: 0;
  height: clamp(560px, 40vw, 820px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  align-items: center;
}

.hero--banner .hero__media img {
  object-position: 72% 50%;
}

/* Darken the left (text) and the top (header) so both stay readable */
.hero.hero--banner::before {
  background:
    linear-gradient(90deg, rgba(18, 13, 9, 0.8) 0%, rgba(18, 13, 9, 0.5) 36%, rgba(18, 13, 9, 0) 66%),
    linear-gradient(180deg, rgba(18, 13, 9, 0.6) 0%, rgba(18, 13, 9, 0) 32%);
}

.hero--banner .hero__content {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.hero--banner .hero__copy {
  max-width: 36rem;
}

.hero__eyebrow {
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold);
}

.hero--banner .hero__title {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ivory);
}

.hero__line {
  display: block;
}

.hero__rule {
  display: flex;
  gap: 1rem;
  margin: 1.6rem 0 1.35rem;
}

.hero__rule::before,
.hero__rule::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
}

.hero--banner .hero__text {
  max-width: 27rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(248, 244, 238, 0.82);
}

.page-hero {
  position: relative;
  min-height: clamp(380px, 58vh, 620px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(22, 18, 15, 0.74) 0%, rgba(22, 18, 15, 0.35) 60%, rgba(22, 18, 15, 0.15) 100%),
    linear-gradient(0deg, rgba(22, 18, 15, 0.55) 0%, rgba(22, 18, 15, 0) 55%);
}

.page-hero__content {
  width: 100%;
  padding-block: 6rem clamp(3rem, 7vh, 4.5rem);
}

.page-hero__content > div {
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  margin-bottom: 1.1rem;
}

.page-hero h1 em {
  color: var(--sand);
}

.page-hero p {
  max-width: 580px;
  font-size: 1.08rem;
  color: rgba(248, 244, 238, 0.86);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.72);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6rem;
  opacity: 0.6;
}

.breadcrumb a:hover {
  color: var(--ivory);
}

/* Marquee ribbon */
.marquee {
  overflow: hidden;
  padding-block: 1.6rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-style: italic;
  white-space: nowrap;
  color: var(--ink);
}

.marquee__item::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--clay);
  transform: rotate(45deg);
}

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

/* 8. Section heads
   ========================================================================== */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-head h2 {
  margin-bottom: 1.25rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem 5rem;
  align-items: end;
}

.section-head--split h2 {
  margin-bottom: 0;
}

.section-head--split .section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* 9. Collection cards
   ========================================================================== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.2vw, 2rem);
}

.collection-card {
  display: flex;
  flex-direction: column;
}

.collection-card[hidden] {
  display: none;
}

.collection-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 1.4rem;
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med);
}

.collection-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(29, 26, 23, 0.45), rgba(29, 26, 23, 0) 50%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}

.collection-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  background: rgba(248, 244, 238, 0.92);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.collection-card__quick {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  background: var(--ivory);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease-out),
    background var(--t-fast), color var(--t-fast);
}

.collection-card__quick:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.collection-card:hover .collection-card__media img,
.collection-card:focus-within .collection-card__media img {
  transform: scale(1.07);
}

.collection-card:hover .collection-card__media::after,
.collection-card:focus-within .collection-card__media::after {
  opacity: 1;
}

.collection-card:hover .collection-card__quick,
.collection-card:focus-within .collection-card__quick {
  opacity: 1;
  transform: none;
}

/* Deep links like collections.html#wool briefly frame the matching card */
.collection-card:target .collection-card__media {
  outline: 1px solid var(--clay);
  outline-offset: 8px;
}

.collection-card__index {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.collection-card h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 1.8vw, 1.7rem);
}

.collection-card p {
  flex: 1;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.collection-card .link-arrow {
  align-self: flex-start;
}

/* Bento grid of featured collections (homepage) */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 290px);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ivory);
  background: var(--sand);
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(22, 18, 15, 0.72) 0%, rgba(22, 18, 15, 0.08) 55%);
  transition: background var(--t-med);
}

.tile:hover img,
.tile:focus-visible img {
  transform: scale(1.06);
}

.tile:hover::before {
  background: linear-gradient(0deg, rgba(22, 18, 15, 0.8) 0%, rgba(22, 18, 15, 0.2) 65%);
}

.tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tile__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
}

.tile h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 400;
}

.tile__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 244, 238, 0.55);
  border-radius: 50%;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.tile:hover .tile__arrow {
  background: var(--ivory);
  color: var(--charcoal);
  transform: rotate(-45deg);
}

.bento .tile:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.bento .tile:nth-child(2) {
  grid-column: span 4;
}

.bento .tile:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2;
}

.bento .tile:nth-child(4) {
  grid-column: span 4;
}

.bento .tile:nth-child(5) {
  grid-column: span 6;
}

.bento .tile:nth-child(6) {
  grid-column: span 6;
}

/* Filter tabs (collections + gallery) */
.filter-bar {
  position: sticky;
  top: 68px;
  z-index: 20;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1rem;
  background: rgba(248, 244, 238, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all var(--t-fast) var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn[aria-pressed="true"] {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

.filter-count {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.collection-group + .collection-group {
  margin-top: var(--section);
}

.collection-group[hidden] {
  display: none;
}

.collection-group__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.collection-group__head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.collection-group__head p {
  max-width: 560px;
  justify-self: end;
  color: var(--muted);
}

/* Collection detail dialog */
.collection-dialog {
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.collection-dialog::backdrop {
  background: rgba(22, 18, 15, 0.7);
  backdrop-filter: blur(3px);
}

.collection-dialog[open] {
  animation: dialogIn 0.5s var(--ease-out);
}

.collection-dialog__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  max-height: calc(100vh - 2rem);
}

.collection-dialog__media {
  position: relative;
  min-height: 100%;
  background: var(--sand);
}

.collection-dialog__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-dialog__thumbs {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.collection-dialog__thumbs[hidden] {
  display: none;
}

/* Thumbnails stay on one row and shrink to fit however many photos there are */
.collection-dialog__thumb {
  position: relative;
  flex: 0 1 60px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid rgba(248, 244, 238, 0.5);
  background: var(--sand);
  opacity: 0.7;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.7);
  transition: opacity var(--t-fast), border-color var(--t-fast);
}

.collection-dialog__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-dialog__thumb:hover,
.collection-dialog__thumb:focus-visible,
.collection-dialog__thumb[aria-pressed="true"] {
  opacity: 1;
}

.collection-dialog__thumb[aria-pressed="true"] {
  border-color: var(--ivory);
}

.collection-dialog__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow-y: auto;
}

.collection-dialog__body h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.collection-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ivory);
  font-size: 1.6rem;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast);
}

.collection-dialog__close:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 1.75rem 0;
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
}

.spec-list dt {
  margin-bottom: 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}

.dialog-subhead {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7rem;
  height: 1px;
  background: var(--clay);
}

.on-dark .tick-list li::before {
  background: var(--gold);
}

/* 10. Editorial blocks
   ========================================================================== */
.about-collage {
  position: relative;
}

/* Beside the text, the photo takes the text column's height exactly. The image
   is taken out of flow so its own proportions don't make the row taller. */
.about-collage__main {
  height: 100%;
  min-height: 26rem;
}

.about-collage__main img {
  position: absolute;
  inset: 0;
}

/* Circular badge: text on a circle path rotates around the logo mark */
.about-collage__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: clamp(112px, 12vw, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: var(--ivory);
}

.about-collage__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}

.about-collage__badge-ring text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 8.6px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-collage__badge .brand__mark {
  width: 34%;
  height: auto;
  color: var(--sand);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.stats--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.on-dark .stats {
  border-color: var(--line-light);
}

.stat__num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--clay);
}

.on-dark .stat__num {
  color: var(--gold);
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.on-dark .stat__label {
  color: var(--muted-light);
}

/* Materials explorer */
.materials {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.materials__tabs {
  border-top: 1px solid var(--line);
}

.materials__tab {
  width: 100%;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
  transition: color var(--t-fast), padding var(--t-med) var(--ease-out);
}

.materials__tab-num {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.materials__tab-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.materials__tab::after {
  content: "\2192";
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out);
}

.materials__tab:hover {
  color: var(--ink);
}

.materials__tab[aria-selected="true"] {
  color: var(--ink);
  padding-left: 0.75rem;
}

.materials__tab[aria-selected="true"] .materials__tab-name {
  font-style: italic;
  color: var(--clay);
}

.materials__tab[aria-selected="true"]::after {
  opacity: 1;
  transform: none;
  color: var(--clay);
}

.materials__panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.materials__panel[hidden] {
  display: none;
}

.materials__panel.is-entering .materials__media img {
  animation: softZoom 0.9s var(--ease-out);
}

.materials__panel.is-entering .materials__copy {
  animation: fadeUp 0.7s var(--ease-out);
}

.materials__media {
  aspect-ratio: 4 / 5;
}

.materials__copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.materials__copy p {
  color: var(--muted);
}

.meter-list {
  margin-block: 1.75rem;
}

.meter {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.meter__dots {
  display: flex;
  gap: 5px;
}

.meter__dots i {
  flex: 1;
  height: 3px;
  background: var(--sand);
}

.meter__dots i.on {
  background: var(--clay);
}

/* Craft techniques on dark */
.technique-list {
  counter-reset: technique;
  border-top: 1px solid var(--line-light);
}

.technique {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-light);
}

.technique::before {
  counter-increment: technique;
  content: counter(technique, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.technique h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 400;
}

.technique p {
  margin: 0;
  font-size: 0.95rem;
}

.craft-media {
  position: relative;
}

.craft-media__main {
  aspect-ratio: 4 / 5;
}

.craft-media__caption {
  position: absolute;
  left: clamp(-3rem, -4vw, -1rem);
  bottom: 3rem;
  max-width: 260px;
  padding: 1.5rem 1.75rem;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.craft-media__caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--clay);
}

.craft-media__caption span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Quote / philosophy */
.quote-block {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote-mark {
  display: block;
  margin: 0 auto 1rem;
  width: 44px;
  color: var(--clay);
}

/* Testimonials */
.testimonials {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.testimonials__viewport {
  display: grid;
}

.testimonial {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out), visibility 0.7s;
}

.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.testimonial blockquote {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.35;
}

.testimonial figcaption strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.testimonial figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.round-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.round-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

.round-btn svg {
  width: 18px;
  height: 18px;
}

.dots {
  display: flex;
  gap: 0.6rem;
}

.dots button {
  width: 28px;
  height: 20px;
  position: relative;
}

.dots button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--sand);
  transition: background var(--t-fast);
}

.dots button[aria-current="true"]::before {
  background: var(--clay);
}

/* CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(5.5rem, 12vw, 10rem);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  background: rgba(22, 18, 15, 0.62);
}

.cta-band h2 {
  max-width: 820px;
  margin: 0 auto 1.25rem;
}

.cta-band h2 em {
  color: var(--sand);
}

.cta-band p {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  color: rgba(248, 244, 238, 0.85);
}

.cta-band .eyebrow {
  color: var(--sand);
}

.cta-band .cluster {
  justify-content: center;
}

/* Inline CTA panel (inside content) */
.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem 4rem;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4rem);
  background: var(--espresso);
  color: var(--ivory);
}

.cta-panel h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 0.75rem;
}

.cta-panel h2 em,
.cta-panel .eyebrow {
  color: var(--gold);
}

.cta-panel p {
  color: rgba(248, 244, 238, 0.78);
}

/* Chips */
/* Tag row: one line when it fits (about 520px), otherwise two even rows.
   The breakpoints follow the row's own width, not the screen's. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  container-type: inline-size;
}

.chip {
  flex: 1 1 auto;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--muted);
}

/* Too narrow for one line: two tags per row */
@container (max-width: 33.5rem) {
  .chip {
    flex-basis: calc(50% - 0.25rem);
  }
}

/* Phones: the three short tags share a row, the long one gets its own */
@container (max-width: 24rem) {
  .chip {
    flex-basis: calc(33.333% - 0.34rem);
    padding-inline: 0.5rem;
  }

  .chip:last-child {
    flex-basis: 100%;
  }
}

.on-dark .chip {
  border-color: var(--line-light);
  color: rgba(248, 244, 238, 0.8);
}

/* Rug-making process: square photo grid, a caption on every tile */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.75rem);
  max-width: 1100px;
  margin-inline: auto;
}

.process-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
}

.process-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.86);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med) var(--ease);
}

.process-tile:hover img {
  transform: scale(1.06);
  filter: none;
}

/* Caption sits on a soft shade so it reads on light and dark photos alike */
.process-tile__label {
  position: absolute;
  inset: auto 0 0;
  padding: 2.25rem 0.9rem 0.8rem;
  background: linear-gradient(0deg, rgba(18, 13, 9, 0.72) 0%, rgba(18, 13, 9, 0) 100%);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Image strip */
.image-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.image-strip .media {
  aspect-ratio: 4 / 5;
}

.image-strip .media:nth-child(2) {
  margin-top: 4rem;
}

/* 11. Feature grids
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  padding: clamp(2rem, 3.4vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-med) var(--ease);
}

.feature:hover {
  background: var(--ivory);
}

.section--cream .feature:hover {
  background: var(--ivory);
}

.feature__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.75rem;
  color: var(--clay);
}

.feature h3 {
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--muted);
}

.on-dark .feature-grid,
.on-dark .feature {
  border-color: var(--line-light);
}

.on-dark .feature:hover {
  background: rgba(248, 244, 238, 0.04);
}

.on-dark .feature__icon {
  color: var(--gold);
}

/* Value cards with number */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.value-card {
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.value-card__num {
  display: block;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clay);
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sourcing / info cards with image */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.info-card .media {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  margin-bottom: 0.65rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sector panels */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.sector {
  position: relative;
  min-height: clamp(420px, 44vw, 600px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}

.sector img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(22, 18, 15, 0.85) 0%, rgba(22, 18, 15, 0.15) 60%);
}

.sector:hover img {
  transform: scale(1.05);
}

.sector h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 400;
}

.sector p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(248, 244, 238, 0.82);
}

.sector .tick-list {
  font-size: 0.88rem;
  color: rgba(248, 244, 238, 0.86);
}

.sector .tick-list li::before {
  background: var(--gold);
}

/* Customisation cards */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.custom-card .media {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
}

.custom-card__num {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--clay);
}

.custom-card h3 {
  margin-bottom: 0.65rem;
}

.custom-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Collaboration split list */
.collab {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.collab__card {
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.collab__card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.collab__card p {
  color: var(--muted);
}

.collab__card .tick-list {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

/* Custom solution list on home */
.custom-list {
  margin-block: 2rem;
  border-top: 1px solid var(--line);
}

.custom-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.custom-list li > span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--clay);
  padding-top: 0.35rem;
}

.custom-list h3 {
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.custom-list p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* 12. Process / timeline
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.75rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clay);
}

.step::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 2.4rem;
  right: -1.5rem;
  height: 1px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.on-dark .step::after {
  background: var(--line-light);
}

.on-dark .step::before {
  color: var(--gold);
}

.timeline {
  position: relative;
  --progress: 0;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.timeline::before {
  background: var(--line);
}

.timeline::after {
  background: var(--clay);
  transform-origin: top;
  transform: translateX(-50%) scaleY(var(--progress));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 1px solid var(--clay);
  background: var(--ivory);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: background var(--t-med);
}

.timeline__item.is-visible::before {
  background: var(--clay);
}

.timeline__item:nth-child(even) .timeline__media {
  order: 2;
}

.timeline__media {
  aspect-ratio: 5 / 4;
}

.timeline__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--taupe);
}

.timeline__copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.timeline__copy p {
  color: var(--muted);
}

.timeline__copy .tick-list {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

/* Technique comparison */
.compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.compare__card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.compare__card .media {
  aspect-ratio: 3 / 2;
}

.compare__body {
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
}

.compare__body h3 {
  margin-bottom: 0.65rem;
}

.compare__body > p {
  font-size: 0.95rem;
  color: var(--muted);
}

.compare__body .spec-list {
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.compare__body .spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.compare__body .spec-list dd {
  font-size: 1.05rem;
  text-align: right;
}

/* 13. Gallery & lightbox
   ========================================================================== */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 18vw, 260px);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.gallery-preview .media:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview .media figcaption,
.masonry__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(22, 18, 15, 0.75), rgba(22, 18, 15, 0));
  color: var(--ivory);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease-out);
}

.gallery-preview .media:hover figcaption {
  opacity: 1;
  transform: none;
}

.masonry {
  columns: 3 320px;
  column-gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.masonry__item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: clamp(0.75rem, 1.4vw, 1.25rem);
  break-inside: avoid;
  overflow: hidden;
  background: var(--sand);
  text-align: left;
  cursor: zoom-in;
}

.masonry__item[hidden] {
  display: none;
}

.masonry__item img {
  width: 100%;
  transition: transform var(--t-slow) var(--ease-out);
}

.masonry__item:hover img,
.masonry__item:focus-visible img {
  transform: scale(1.05);
}

.masonry__item:hover .masonry__caption,
.masonry__item:focus-visible .masonry__caption {
  opacity: 1;
  transform: none;
}

.masonry__caption strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.masonry__item.is-filtering {
  animation: fadeIn 0.6s var(--ease);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(18, 15, 13, 0.96);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.7);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(3.5rem, 8vw, 7rem);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  transition: opacity 0.35s var(--ease);
}

.lightbox__img.is-loading {
  opacity: 0;
}

.lightbox__caption {
  padding: 1.25rem var(--gutter) 1.75rem;
  text-align: center;
}

.lightbox__caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.lightbox__caption span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.65);
}

.lightbox .round-btn {
  border-color: rgba(248, 244, 238, 0.3);
  color: var(--ivory);
}

.lightbox .round-btn:hover {
  background: var(--ivory);
  color: var(--charcoal);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: var(--gutter);
}

.lightbox__next {
  right: var(--gutter);
}

/* 14. Forms & contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.field label .req {
  color: var(--clay);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(42, 36, 32, 0.32);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 2rem;
  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' fill='none' stroke='%232a2420' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  cursor: pointer;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8f8478;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--clay);
  box-shadow: 0 1px 0 0 var(--clay);
}

.field__error {
  min-height: 1.3em;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--error);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-bottom-color: var(--error);
}

.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea {
  border-bottom-color: var(--success);
}

.field .form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--clay);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.form-grid .form-actions,
.form-grid .form-status {
  grid-column: 1 / -1;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--success);
  background: rgba(63, 107, 74, 0.08);
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
  animation: fadeUp 0.6s var(--ease-out);
}

.form-status.is-error {
  border-color: var(--error);
  background: rgba(163, 55, 42, 0.07);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.contact-card {
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--espresso);
  color: var(--ivory);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.contact-card > p {
  color: rgba(248, 244, 238, 0.75);
}

.contact-list {
  margin-block: 2rem;
  border-top: 1px solid var(--line-light);
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  color: var(--gold);
}

.contact-list small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact-list a,
.contact-list address,
.contact-list span {
  font-style: normal;
  font-size: 1rem;
  color: var(--ivory);
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-card .btn {
  width: 100%;
}

.contact-card .btn + .btn {
  margin-top: 0.75rem;
}

.map-placeholder {
  position: relative;
  aspect-ratio: 21 / 8;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--sand);
  background-image:
    linear-gradient(rgba(42, 36, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 36, 32, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  text-align: center;
}

.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder__pin {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: var(--ivory);
  box-shadow: 0 0 0 12px rgba(138, 86, 54, 0.18);
}

.map-placeholder__pin svg {
  width: 26px;
  height: 26px;
}

.map-placeholder h3 {
  margin-bottom: 0.4rem;
}

.map-placeholder p {
  max-width: 420px;
  margin-inline: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

code {
  padding: 0.1em 0.4em;
  background: rgba(42, 36, 32, 0.08);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.88em;
}

/* FAQ accordion */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.2rem;
  transition: transform var(--t-med) var(--ease-out), background var(--t-fast);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--charcoal);
  color: var(--ivory);
}

.faq summary:hover {
  color: var(--clay);
}

.faq__answer {
  padding: 0 3.5rem 1.75rem 0;
  color: var(--muted);
}

/* 15. Footer & utilities
   ========================================================================== */
.site-footer {
  background: var(--charcoal);
  color: rgba(248, 244, 238, 0.72);
  font-size: 0.95rem;
}

/* About · Explore · Collections · Get in Touch. The two link columns hold short
   labels, so "Get in Touch" gets the extra width (both phone numbers on one line). */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1.3fr;
  gap: 3rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.site-footer .brand {
  color: var(--ivory);
  margin-bottom: 1.5rem;
}

.footer-about p {
  max-width: 340px;
}

.footer-col h3 {
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
}

/* Footer lists have no class, so the global list reset misses them */
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col address {
  font-style: normal;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.footer-contact small {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.footer-contact a,
.footer-contact address {
  color: var(--ivory);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ivory);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom a:hover {
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--ivory);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility var(--t-med),
    background var(--t-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--clay);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f6f4a;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}

.whatsapp-float:hover {
  background: #18583a;
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--taupe);
}

.divider-ornament::before,
.divider-ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: currentColor;
}

.divider-ornament svg {
  width: 18px;
  height: 18px;
}

.mt-0 {
  margin-top: 0;
}

.mt-lg {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.mb-lg {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
