/* ============================================================
   M-Tex Lakástextil — modern redesign
   ============================================================ */

/* ─── tokens ─────────────────────────────────────────────── */
:root {
  --ink:        #1a1614;
  --ink-soft:   #2a2421;
  --paper:      #fdfbf7;
  --cream:      #f5f1ea;
  --cream-deep: #ece5d6;
  --line:       #e3ddd2;
  --muted:      #6b635a;
  --muted-2:    #8a8275;
  --rose:       #c97b5a;   /* terracotta */
  --rose-deep:  #a85f43;
  --sage:       #687a5b;
  --gold:       #b08855;
  --beige:      #e6d4b8;   /* warm beige — hero overlay text */

  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container:    1240px;
  --gap:          clamp(24px, 4vw, 56px);
  --radius:       14px;
  --radius-lg:    22px;

  --ease:         cubic-bezier(.2, .7, .2, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);

  --shadow-sm:    0 1px 2px rgba(26, 22, 20, .06), 0 2px 8px rgba(26, 22, 20, .04);
  --shadow-md:    0 4px 14px rgba(26, 22, 20, .08), 0 14px 40px rgba(26, 22, 20, .06);
  --shadow-lg:    0 8px 24px rgba(26, 22, 20, .10), 0 30px 80px rgba(26, 22, 20, .12);
}

/* ─── reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
em { font-style: italic; }

/* ─── helpers ─────────────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.skip-link {
  position: absolute; top: -40px; left: 12px; padding: 8px 14px;
  background: var(--ink); color: var(--paper); border-radius: 6px;
  z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1rem + 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 18px;
  font-variation-settings: "opsz" 120;
}
.display em { color: var(--rose); font-style: italic; }

.lede {
  font-size: clamp(1.0625rem, .85rem + .6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 56ch;
}

/* ─── buttons ─────────────────────────────────────────────── */
.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--solid { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--solid:hover { --bg: var(--rose-deep); --bd: var(--rose-deep); }

.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(26,22,20,.18); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }

.btn--ghost-light { --bg: var(--beige); --fg: var(--ink); --bd: var(--beige); }
.btn--ghost-light:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }

.btn--block { width: 100%; padding: 16px 26px; }

/* ─── header ─────────────────────────────────────────────── */
/* Header is always cream-backed so brand + nav read as ink everywhere.
   Pinned state just shrinks the padding slightly to signal scroll. */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(253, 251, 247, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding .35s var(--ease);
}
.site-header.is-pinned { padding: 11px 0; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
/* Brand tile is always dark — guarantees contrast over the hero photo
   (which can be bright or busy) and over the pinned cream header. The
   <text> inside the SVG is hard-coded to paper, so dark-tile + light-M
   always reads cleanly. Targets the SVG rect directly to bypass any
   currentColor inheritance ambiguity. */
.brand__mark { color: var(--ink); line-height: 0; }
.brand__mark svg rect { fill: var(--ink); }
/* Footer brand keeps its inverted treatment */
.brand--footer .brand__mark svg rect { fill: var(--cream); }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: .75; margin-top: 2px;
}


.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  opacity: .85;
  transition: opacity .2s;
}
.nav a:hover { opacity: 1; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: 10px 20px; font-size: .88rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; padding: 100px 32px 32px;
  background: var(--paper); color: var(--ink);
  z-index: 90;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; font-family: var(--font-body); font-size: 1rem; }

/* ─── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--beige);
  isolation: isolate;
  padding: clamp(110px, 18vh, 200px) 0 clamp(60px, 10vh, 110px);
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  opacity: .8;  /* 80% fullness — 20% of the ink hero background bleeds through */
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: kenburn 18s ease-out forwards;
}
@keyframes kenburn {
  to { transform: scale(1); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    /* aggressive left vignette — near-opaque under the text column,
       fading to a lighter wash on the right so the bedroom still
       breathes through */
    linear-gradient(90deg,
      rgba(15, 12, 10, .92) 0%,
      rgba(15, 12, 10, .82) 30%,
      rgba(15, 12, 10, .55) 55%,
      rgba(15, 12, 10, .25) 85%,
      rgba(15, 12, 10, .15) 100%
    ),
    /* vertical scrim — heavier under the stats row at the bottom */
    linear-gradient(180deg,
      rgba(15, 12, 10, .35) 0%,
      rgba(15, 12, 10, .25) 40%,
      rgba(15, 12, 10, .45) 70%,
      rgba(15, 12, 10, .80) 100%
    );
}
.hero__inner { max-width: 920px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1rem + 7vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.025em;
  margin-top: 24px;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
  color: var(--beige);
  /* tight hard edge + wider soft halo — works on any backdrop */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 2px 6px rgba(0, 0, 0, .65),
    0 6px 28px rgba(0, 0, 0, .55);
}
.hero__title em {
  font-style: italic;
  color: #f0c89a;   /* slightly warmer beige for the italic accent */
  font-weight: 400;
}
.hero__lede {
  font-size: clamp(1.0625rem, .85rem + .55vw, 1.3rem);
  max-width: 56ch;
  line-height: 1.55;
  margin-top: 24px;
  color: var(--paper);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 2px 10px rgba(0, 0, 0, .6);
}
.hero__lede strong { color: var(--paper); font-weight: 600; }
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 36px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px 48px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(230, 212, 184, .28);
  max-width: 880px;
}
.hero__stats dt {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 10px;
  font-weight: 500;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 2px 8px rgba(0, 0, 0, .6);
}
.hero__stats dd {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--paper);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 2px 12px rgba(0, 0, 0, .6);
}
.hero .eyebrow {
  color: var(--beige);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 2px 8px rgba(0, 0, 0, .6);
}

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(230, 212, 184, .45); border-radius: 12px;
  display: grid; place-items: center;
}
.hero__scroll span {
  width: 2px; height: 8px; background: var(--beige);
  border-radius: 2px;
  animation: scroll 1.8s var(--ease-out) infinite;
}
@keyframes scroll {
  0% { transform: translateY(-6px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* ─── sections ─────────────────────────────────────────────── */
.section {
  padding: clamp(80px, 11vh, 140px) 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 8vh, 84px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head__lede {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 60ch;
}
.section-head--center .section-head__lede { margin-inline: auto; }

.grid--split {
  display: grid;
  gap: clamp(40px, 7vw, 88px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .grid--split { grid-template-columns: 1.1fr 1fr; }
  .grid--split-reverse { grid-template-columns: 1fr 1.1fr; }
  .grid--split-reverse > :first-child { order: 0; }
}

/* ─── about ─────────────────────────────────────────────── */
.about { background: var(--paper); }
.about__copy { max-width: 56ch; }
.checklist {
  margin-top: 32px;
  display: grid; gap: 14px;
}
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.checklist li::before {
  content: ''; width: 7px; height: 7px; border-radius: 999px;
  background: var(--rose); margin-top: 9px; flex-shrink: 0;
}
.about__image {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
/* Make every <picture> wrapper and its <img> fill the parent figure.
   aspect-ratio on the figure doesn't always propagate a computed
   height to descendants via percentage, so we anchor with absolute
   positioning + inset:0. !important guards against any stale or
   overriding rule (notably the global 'img { height: auto }' reset
   and the .swatch img layering rule). */
.swatch picture,
figure picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.swatch picture > img,
figure picture > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.about__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__image:hover img { transform: scale(1.04); }
.about__image figcaption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(253,251,247,.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 999px;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}

/* Google Maps iframe variant of .about__image */
.about__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.92);
}
/* override the uppercase pill style for the address caption */
.about__map figcaption {
  text-transform: none;
  font-size: .82rem;
  letter-spacing: .01em;
}
.about__map figcaption a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.about__map figcaption a:hover { color: var(--rose-deep); }

/* ─── marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--ink-soft);
}
.marquee__track {
  display: flex; gap: 36px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, .8rem + 1.2vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
}
.marquee__track span:nth-child(odd) { color: var(--paper); }
.marquee__track span:nth-child(even) { color: rgba(253,251,247,.35); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─── products / catalog ─────────────────────────────────────────────── */
.products { background: var(--cream); }

.catalog {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.catalog__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.catalog__tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px 24px 22px;
  text-align: left;
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .25s var(--ease), border-color .25s;
  min-height: 96px;
}
.catalog__tabs button:last-child { border-right: 0; }
.catalog__tabs button:hover { color: var(--ink); background: var(--paper); }
.catalog__tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: var(--rose);
}
.catalog__tabnum {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: .85rem;
  color: var(--rose-deep);
  letter-spacing: .04em;
}
.catalog__tabs button > span:last-child {
  font-size: .98rem;
  letter-spacing: -.005em;
  line-height: 1.2;
}

.catalog__panel {
  padding: clamp(28px, 4vw, 56px);
}
.catalog__panel-grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
}

/* landscape banner above the items grid — matches the editorial
   collages and gives each category a strong visual lead-in */
.catalog__hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
}
.catalog__hero-img img,
.catalog__hero-img picture { width: 100%; height: 100%; }
.catalog__hero-img img { object-fit: cover; }
.catalog__hero-img figcaption {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(253,251,247,.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 999px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  z-index: 3;
}

.catalog__items {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .catalog__items { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .catalog__items { grid-template-columns: repeat(3, 1fr); }
}

.catalog-item {
  padding: 24px 24px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.catalog-item:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: var(--shadow-sm);
}
.catalog-item header {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 2px;
}
.catalog-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--ink);
}
.catalog-item__meta {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}
.catalog-item p {
  font-size: .92rem; color: var(--muted); line-height: 1.55;
}
.catalog-item__sizes {
  font-size: .82rem;
  color: var(--muted-2);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  line-height: 1.6;
}
.catalog-item__sizes strong {
  color: var(--ink); font-weight: 600;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  display: inline-block; margin-right: 6px;
}
.pill-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pill-list li {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--ink);
  font-weight: 500;
}
.catalog-item__sublist {
  display: grid; gap: 10px;
}
.catalog-item__sublist li {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.catalog-item__sublist li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 1px; background: var(--rose);
}
.catalog-item__sublist strong {
  color: var(--ink);
  font-weight: 600;
}

.catalog-item--service { background: var(--cream); border-color: transparent; }
.catalog-item--highlight {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.catalog-item--highlight h3 { color: var(--paper); }
.catalog-item--highlight p { color: rgba(253,251,247,.75); }
.catalog-item--highlight:hover { transform: translateY(-3px); border-color: var(--rose); }

.btn--small { padding: 10px 18px; font-size: .85rem; align-self: flex-start; }

.catalog__panel { display: none; }
.catalog__panel.is-active { display: block; animation: fadeUp .5s var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .catalog__tabs {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .catalog__tabs button { scroll-snap-align: start; min-height: 84px; }
  .catalog__hero-img { aspect-ratio: 4 / 3; }
}

.products__footnote {
  margin-top: 56px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}
.products__footnote a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s;
}
.products__footnote a:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

/* ─── why ─────────────────────────────────────────────── */
.why { background: var(--paper); }
/* gap-as-divider: the container fills with the line color, then a 1px
   gap lets that color show through as a perfect grid line — works for
   any column count produced by auto-fit, with no nth-child math. */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.features li {
  padding: 36px 28px;
  background: var(--paper);
  position: relative;
  transition: background .3s var(--ease);
}
.features li:hover { background: var(--cream); }
.features__num {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: .04em;
}
.features h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em;
  margin: 14px 0 12px;
  line-height: 1.2;
}
.features p { color: var(--muted); line-height: 1.6; }

/* ─── heritage ─────────────────────────────────────────────── */
.heritage { background: var(--cream); }
.heritage__image {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  position: relative;
}
.heritage__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.heritage__image figcaption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(253,251,247,.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 999px;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}

.timeline { margin-top: 40px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 12px; bottom: 12px; left: 8px;
  width: 1px; background: var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 32px 40px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
}
.timeline li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--rose); box-shadow: 0 0 0 4px var(--cream);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: -.01em;
}
.timeline h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em;
  margin-bottom: 6px;
}
.timeline p { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ─── process ─────────────────────────────────────────────── */
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: rgba(253,251,247,.7); }
.process .display { color: var(--paper); }
.process .display em { color: #f0c89c; }
.process-steps {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.process-steps li {
  padding: 32px 28px 36px;
  border: 1px solid rgba(253,251,247,.14);
  border-radius: var(--radius);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.process-steps li:hover {
  background: rgba(253,251,247,.04);
  transform: translateY(-4px);
  border-color: rgba(253,251,247,.3);
}
.process-steps__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: #f0c89c;
  display: block;
  margin-bottom: 24px;
  line-height: 1;
}
.process-steps h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  margin-bottom: 10px;
}
.process-steps p { color: rgba(253,251,247,.72); font-size: .95rem; line-height: 1.55; }

/* ─── quote ─────────────────────────────────────────────── */
.quote { background: var(--cream); padding-block: clamp(80px, 12vh, 140px); }
.quote__block {
  max-width: 880px; margin: 0 auto; text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, .9rem + 1.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
  font-style: italic;
  font-variation-settings: "opsz" 144;
}
.quote blockquote span {
  font-size: 2em; color: var(--rose);
  line-height: 0; display: inline-block; vertical-align: -.3em;
  margin-right: 6px;
}
.quote figcaption {
  margin-top: 28px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.quote figcaption strong { color: var(--ink); font-weight: 600; }

/* ─── contact ─────────────────────────────────────────────── */
.contact { background: var(--paper); }
.contact__copy { max-width: 50ch; }
.contact__list { margin-top: 36px; display: grid; gap: 22px; }
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact__list a, .contact__list address {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
  transition: color .2s;
}
.contact__list a:hover { color: var(--rose-deep); }
.contact__label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.contact__form {
  background: var(--cream);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(26,22,20,.06);
}
.field__note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.form-status {
  grid-column: 1 / -1;
  font-size: .92rem;
  color: var(--sage);
  text-align: center;
  min-height: 1.4em;
}
.form-status.is-error { color: var(--rose-deep); }

/* ─── footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(64px, 9vh, 100px) 0 28px;
}
.site-footer__inner {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .site-footer__inner { grid-template-columns: 1.3fr 2fr; gap: 80px; }
}
.brand--footer .brand__mark { color: var(--cream); }
.brand--footer .brand__mark svg rect { fill: var(--cream); }
.brand--footer .brand__name { color: var(--cream); }
.brand--footer .brand__sub { color: rgba(245,241,234,.65); }
.site-footer__brand p {
  margin-top: 22px;
  color: rgba(245,241,234,.7);
  max-width: 38ch;
  font-size: .95rem; line-height: 1.6;
}
.site-footer__cols {
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.site-footer__cols h4 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1rem;
  margin-bottom: 18px;
  color: var(--cream);
}
.site-footer__cols ul { display: grid; gap: 10px; }
.site-footer__cols a {
  color: rgba(245,241,234,.7);
  font-size: .92rem;
  transition: color .2s;
}
.site-footer__cols a:hover { color: var(--cream); }
.contact-list li { color: rgba(245,241,234,.7); font-size: .92rem; }

.site-footer__legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,241,234,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: .82rem;
  color: rgba(245,241,234,.6);
}
.site-footer__legal a:hover { color: var(--cream); }

/* ─── reveal animations ─────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .hero__scroll span { animation: none; }
}

/* ─── responsive ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .contact__form { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 6px; }
  .hero__stats { gap: 28px; }
}

@media (max-width: 720px) {
  /* On narrow viewports there's no 'right side' to leave bright —
     blanket the whole width with a heavy dark scrim so text reads
     wherever the photo gets bright (lamps, walls, sheers). */
  .hero::before {
    background: linear-gradient(180deg,
      rgba(15, 12, 10, .78) 0%,
      rgba(15, 12, 10, .70) 30%,
      rgba(15, 12, 10, .72) 65%,
      rgba(15, 12, 10, .92) 100%);
  }
  .hero__title {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .9),
      0 2px 8px rgba(0, 0, 0, .7),
      0 4px 18px rgba(0, 0, 0, .55);
  }
  .hero__lede {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .85),
      0 2px 10px rgba(0, 0, 0, .65);
  }
}

@media (max-width: 600px) {
  .hero { padding-top: clamp(120px, 22vh, 160px); }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 12px; padding-left: 28px; }
}

/* ─── focus ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── print ─────────────────────────────────────────────── */
@media print {
  body { color: #000; background: #fff; font-size: 11pt; line-height: 1.5; }
  /* hide chrome / decoration */
  .site-header, .menu-toggle, .mobile-menu, .nav, .nav-cta,
  .hero__bg, .hero__scroll, .hero__actions, .marquee,
  .catalog__tabs, .catalog__hero-img, .contact__form,
  .site-footer__legal { display: none !important; }
  /* every reveal element fully visible (no JS-staged states) */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* every catalog panel shown so the full catalog prints */
  .catalog__panel[hidden], .catalog__panel { display: block !important; page-break-inside: avoid; }
  .catalog { box-shadow: none; border: 1px solid #ccc; }
  /* strip dark hero — keep the content but on a white page */
  .hero { min-height: 0; padding: 24pt 0; background: #fff !important; color: #000 !important; }
  .hero::before, .swatch::after { display: none !important; }
  .hero__title, .hero__lede, .hero__stats dt, .hero__stats dd,
  .hero .eyebrow { color: #000 !important; text-shadow: none !important; }
  .process, .catalog-item--highlight { background: #fff !important; color: #000 !important; }
  .process h1, .process h2, .process h3, .process p, .process .eyebrow,
  .catalog-item--highlight h3, .catalog-item--highlight p { color: #000 !important; }
  /* surface URLs for printed links — but not for intra-page anchors */
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
  /* avoid orphan headings, keep sections together when possible */
  h1, h2, h3, h4 { page-break-after: avoid; }
  section { page-break-inside: avoid; }
}

/* ─── image fallback: textile-weave swatch ─────────────────────────────────────────────── */
.swatch {
  background-color: var(--cream-deep);
  background-image:
    /* subtle diagonal warp/weft */
    repeating-linear-gradient(
      45deg,
      rgba(176, 136, 85, .06) 0 2px,
      transparent 2px 8px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(176, 136, 85, .05) 0 2px,
      transparent 2px 8px
    ),
    /* base wash */
    radial-gradient(
      120% 80% at 20% 0%,
      var(--cream) 0%,
      var(--cream-deep) 60%,
      #d8cdb9 100%
    );
}
/* hide the <img> when it errors so the swatch shows through */
img.img-failed { opacity: 0; }
.swatch::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 50% at 50% 100%, rgba(26,22,20,.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.swatch img { position: relative; z-index: 1; }
.swatch figcaption { z-index: 2; }

