/* ═══════════════════════════════════════════════════════════════
   ARECA — Home Design & Arte Mexicano
   Design system: palette sampled from the 2026 catalogs,
   typography: Italiana · Cormorant Garamond · Jost
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* palette — sampled from the PDFs (docs/BRAND.md) */
  --offwhite: #F7F2EC;
  --ivory: #EFE9E0;
  --sand: #CDC2B4;
  --linen: #CFBCAF;
  --travertine: #BDA68F;
  --warmsand: #CAAA91;
  --ochre: #B67B4C;
  --wood: #A9744C;
  --terracotta: #A66E53;
  --clay: #68402C;
  --brown: #40291D;
  --night: #2C2315;
  --olive: #595839;
  --sage: #8A8A6D;

  /* semantic */
  --bg: var(--offwhite);
  --bg-alt: var(--ivory);
  --text: #3A2619;
  --text-soft: #6B5545;
  --hairline: rgba(64, 41, 29, 0.14);
  --accent: var(--terracotta);

  /* type */
  --font-display: 'Italiana', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', sans-serif;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

/* ── reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--travertine); color: #fff; }

/* ── shared primitives ────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 14vh, 10rem); position: relative; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: block;
  margin-bottom: 1.5rem;
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: var(--brown);
}
h2.display { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 1.25rem; }
.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.55;
  color: var(--clay);
}
.body-copy { max-width: 34em; color: var(--text); }
.body-copy + .body-copy { margin-top: 1.25em; }

.btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  border: 1px solid currentColor;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  cursor: pointer;
}
.btn--solid { background: var(--brown); color: var(--offwhite); border-color: var(--brown); }
.btn--solid:hover { background: var(--clay); border-color: var(--clay); }
.btn--ghost:hover { background: var(--brown); color: var(--offwhite); border-color: var(--brown); }
.btn--light { color: var(--offwhite); }
.btn--light:hover { background: var(--offwhite); color: var(--night); }

/* ── reveal motion ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.reveal-img.is-visible img { transform: scale(1); }

/* ── nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.4s ease;
  color: var(--offwhite);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1; position: relative; z-index: 70; }
.nav__logo { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.35em; }
.nav__sub { font-size: 0.55rem; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.75; margin-top: 0.3rem; white-space: nowrap; }
@media (max-width: 420px) { .nav__sub { letter-spacing: 0.22em; font-size: 0.52rem; } }
.nav__links { display: flex; gap: 2.1rem; list-style: none; }
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s;
  padding-block: 0.4rem;
}
.nav__links a:hover { opacity: 1; }
.nav.is-solid {
  background: rgba(247, 242, 236, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--brown);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav.is-hidden { transform: translateY(-100%); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  border: 1px solid currentColor;
  border-radius: 2rem;
  padding: 0 0.75rem;
  opacity: 0.92;
}
.lang-toggle button { letter-spacing: inherit; font-size: inherit; opacity: 0.72; transition: opacity 0.3s; padding: 0.85rem 0.4rem; }
.lang-toggle button.is-active { opacity: 1; }
.lang-toggle .sep { opacity: 0.4; }

.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 6px; padding: 0.9rem 0.55rem; min-width: 44px; min-height: 44px; }
.nav__burger span { width: 26px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.3s; }

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--offwhite);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -6% 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  animation: hero-drift 26s var(--ease-out) both;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(26, 17, 9, 0.82) 0%, rgba(26, 17, 9, 0.25) 45%, rgba(26, 17, 9, 0.35) 100%);
}
.hero__content { padding-block: clamp(6rem, 16vh, 9rem) clamp(4.5rem, 12vh, 7rem); width: 100%; }
.hero .eyebrow { color: var(--sand); }
.hero__title {
  font-size: clamp(2.9rem, 8.2vw, 6.6rem);
  color: var(--offwhite);
  max-width: 11em;
}
.hero__lede {
  margin-top: 1.75rem;
  max-width: 34em;
  color: #EFE3D3;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
}
.hero__cta { margin-top: 2.75rem; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(247, 242, 236, 0.65);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(to bottom, rgba(247,242,236,0.7), transparent);
  animation: scroll-pulse 2.6s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero [data-hero-stagger] { opacity: 0; transform: translateY(34px); animation: hero-rise 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0.2s); }
@keyframes hero-rise { to { opacity: 1; transform: none; } }

/* ── marquee ──────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--hairline);
  padding-block: 1.4rem;
  overflow: hidden;
  background: var(--bg);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__group { display: flex; align-items: baseline; white-space: nowrap; padding-right: 1.5rem; }
.marquee__group span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--clay);
  padding-inline: 1.5rem;
}
.marquee__group i {
  font-style: normal;
  color: var(--travertine);
  font-size: 0.8rem;
  align-self: center;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── about ────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about__pull { position: sticky; top: 16vh; }
.about__pull .display { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 10em; }
.about__figure { margin-top: 3rem; position: relative; }
.about__figure img { width: 82%; }
.about__figure::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: 46%;
  aspect-ratio: 1;
  background: var(--linen);
  z-index: -1;
}
.about__story .lede { margin-bottom: 2rem; }
.about__stats {
  margin-top: 3.5rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.about__stat { padding: 1.6rem 1rem 0 0; }
.about__stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--terracotta);
  line-height: 1.1;
}
.about__stat span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); }

/* ── process ──────────────────────────────────────────────── */
.process { background: var(--bg-alt); }
.process__head { max-width: 40em; margin-bottom: clamp(3rem, 7vh, 5rem); }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
.process__step { border-top: 1px solid var(--hairline); padding-top: 2rem; }
.process__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.2rem;
  color: var(--wood);
  line-height: 1;
  display: block;
  margin-bottom: 1.3rem;
}
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  color: var(--brown);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}
.process__step p { color: var(--text-soft); font-size: 0.98rem; }

/* ── ambience band ────────────────────────────────────────── */
.band {
  position: relative;
  height: clamp(340px, 62vh, 560px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.band__img {
  position: absolute;
  inset: -14% 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 62% 85% at center, rgba(26, 17, 9, 0.62), rgba(26, 17, 9, 0.38));
}
.band__quote {
  color: var(--offwhite);
  text-align: center;
  max-width: 21em;
  padding-inline: var(--gutter);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  text-shadow: 0 1px 3px rgba(26, 17, 9, 0.55), 0 4px 34px rgba(26, 17, 9, 0.85);
}

/* ── projects ─────────────────────────────────────────────── */
.projects__head { text-align: center; max-width: 44em; margin-inline: auto; margin-bottom: clamp(3.5rem, 8vh, 6rem); }
.projects__head .lede { margin-top: 1.4rem; }

.project { margin-top: clamp(4rem, 9vh, 7rem); }
.project:first-of-type { margin-top: 0; }
.project__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.8rem 2rem; margin-bottom: 0.9rem; }
.project__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--brown); letter-spacing: 0.03em; }
.project__loc { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-soft); }
.project__intro { max-width: 38em; color: var(--text-soft); margin-bottom: 2.2rem; }

.rooms-nav { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.8rem; margin-bottom: 1.6rem; }
.rooms-nav::-webkit-scrollbar { display: none; }
.rooms-nav button {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  white-space: nowrap;
}
.rooms-nav button:hover { color: var(--brown); }
.rooms-nav button.is-active { color: var(--brown); border-color: var(--hairline); background: var(--bg-alt); }

.room-stage { position: relative; }
.room-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--clay);
  margin-bottom: 1.2rem;
  min-height: 1.5em;
}

/* compare slider */
.compare {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut, 50%);
  width: 1px;
  background: rgba(247, 242, 236, 0.9);
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: var(--cut, 50%);
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(247, 242, 236, 0.94);
  color: var(--brown);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 22px rgba(26, 17, 9, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.compare__label {
  position: absolute;
  bottom: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: rgba(26, 17, 9, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.45rem 1rem;
  pointer-events: none;
}
.compare__label--before { left: 1.1rem; }
.compare__label--after { right: 1.1rem; }
.compare input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.compare:focus-within { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.room-gallery__track img:focus-visible, .mosaic img:focus-visible, .room-single img:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
/* single-image stage (no before photo) */
.room-single { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.room-single img { width: 100%; height: 100%; object-fit: cover; }

.room-gallery { margin-top: 1rem; }
.room-gallery__label { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.8rem; }
.room-gallery__track { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.6rem; scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.room-gallery__track img {
  flex: 0 0 auto;
  height: 130px;
  width: auto;
  background: #fff;
  cursor: pointer;
  transition: opacity 0.35s;
}
.room-gallery__track img:hover { opacity: 0.82; }

/* ── collections ──────────────────────────────────────────── */
.collections__head { text-align: center; max-width: 42em; margin-inline: auto; margin-bottom: clamp(3.5rem, 8vh, 6rem); }
.collection { margin-top: clamp(4.5rem, 10vh, 7.5rem); }
.collection:first-of-type { margin-top: 0; }
.collection__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: 0.8rem; }
.collection__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--brown); letter-spacing: 0.03em; }
.collection__count { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); padding-bottom: 0.55rem; }
.collection__lede { max-width: 36em; margin-bottom: 2.4rem; font-size: clamp(1.1rem, 1.9vw, 1.35rem); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.2rem; }
.card { cursor: pointer; }
.card__img {
  aspect-ratio: 4 / 5;
  background: #FCFAF6;
  border: 1px solid rgba(64, 41, 29, 0.07);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.card__img img {
  max-width: 84%;
  max-height: 86%;
  object-fit: contain;
  transition: transform 0.8s var(--ease-out);
}
.card:hover .card__img img { transform: scale(1.045); }
.card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(64, 41, 29, 0.05), transparent 36%);
  opacity: 0;
  transition: opacity 0.5s;
}
.card:hover .card__img::after { opacity: 1; }
.card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}
.card__tag { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: var(--text-soft); line-height: 1.4; margin-top: 0.2rem; }
.collection__more { margin-top: 2.6rem; text-align: center; }

/* decor mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.mosaic figure {
  aspect-ratio: 1;
  background: #FCFAF6;
  border: 1px solid rgba(64, 41, 29, 0.07);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mosaic img { max-width: 82%; max-height: 82%; object-fit: contain; transition: transform 0.8s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.06); }

/* ── materials ────────────────────────────────────────────── */
.materials { background: var(--night); color: var(--ivory); }
.materials .eyebrow { color: var(--travertine); }
.materials h2.display { color: var(--offwhite); }
.materials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; margin-top: 1rem; }
.materials__list { list-style: none; border-top: 1px solid rgba(239, 233, 224, 0.16); }
.materials__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid rgba(239, 233, 224, 0.16);
  transition: padding-left 0.4s var(--ease-out);
}
.materials__list li:hover { padding-left: 0.9rem; }
.materials__list b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.06em; }
.materials__list span { font-family: var(--font-serif); font-style: italic; font-size: 0.98rem; color: var(--sand); }
.materials__lede { color: var(--sand); margin-bottom: 2.2rem; }
.swatches { display: grid; grid-template-columns: repeat(11, 1fr); gap: 0.45rem; row-gap: 2.4rem; }
.swatch { aspect-ratio: 1 / 1.5; position: relative; }
.swatch i {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: -0.15rem;
  right: -0.15rem;
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--sand);
  text-align: center;
}
.swatches { margin-bottom: 2.4rem; }

/* ── contact ──────────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); }
.contact__info .lede { margin-block: 1.6rem 2.4rem; }
.contact__channels { list-style: none; border-top: 1px solid var(--hairline); margin-top: 1rem; }
.contact__channels li { border-bottom: 1px solid var(--hairline); }
.contact__channels a, .contact__channels span { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0.15rem; font-size: 0.95rem; transition: padding-left 0.4s var(--ease-out); }
.contact__channels a:hover { padding-left: 0.8rem; color: var(--clay); }
.contact__channels b { font-weight: 400; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); align-self: center; white-space: nowrap; }

.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(64, 41, 29, 0.3);
  padding: 0.55rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.4s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.form__note { font-size: 0.85rem; color: var(--text-soft); font-style: italic; font-family: var(--font-serif); }
.form__success { display: none; padding: 2.5rem 0; }
.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields { display: none; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── footer ───────────────────────────────────────────────── */
.footer { background: var(--night); color: var(--sand); padding-block: clamp(4rem, 9vh, 6.5rem) 2.2rem; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.footer__brand img { width: 130px; height: auto; }
.footer__line { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.3vw, 1.6rem); color: var(--ivory); text-align: center; max-width: 24em; margin-inline: auto; }
.footer__meta { text-align: right; font-size: 0.8rem; line-height: 2.1; }
.footer__meta a { border-bottom: 1px solid rgba(205, 194, 180, 0.35); transition: color 0.3s, border-color 0.3s; }
.footer__meta a:hover { color: var(--offwhite); border-color: var(--offwhite); }
.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(239, 233, 224, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

/* ── modal / overlay ──────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(26, 17, 9, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__panel {
  position: relative;
  background: var(--offwhite);
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modal-in 0.55s var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(26px); } }
.modal__img { background: #FCFAF6; display: grid; place-items: center; padding: 2rem; min-height: 320px; }
.modal__img img { max-height: 52vh; object-fit: contain; }
.modal__body { padding: clamp(1.6rem, 4vw, 2.8rem); align-self: center; }
.modal__body .card__name { font-size: 1.5rem; }
.modal__body .card__tag { font-size: 1.15rem; margin-block: 0.4rem 1.2rem; }
.modal__desc { font-size: 0.95rem; color: var(--text); }
.modal__specs { margin-top: 1.6rem; border-top: 1px solid var(--hairline); font-size: 0.85rem; }
.modal__specs div { display: flex; gap: 1.2rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hairline); }
.modal__specs b { font-weight: 400; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-soft); flex: 0 0 7.5em; align-self: baseline; }
.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  background: rgba(247, 242, 236, 0.8);
  border-radius: 50%;
  z-index: 2;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--offwhite);
  display: none;
  flex-direction: column;
}
.overlay.is-open { display: flex; }
.overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem var(--gutter);
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.overlay__title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); }
.overlay__body { overflow-y: auto; padding: 2.2rem var(--gutter) 4rem; }
.overlay .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(26, 17, 9, 0.88); display: none; place-items: center; padding: 2rem; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; animation: modal-in 0.45s var(--ease-out); }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--night);
    color: var(--offwhite);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
  }
  .nav__links a { font-size: 0.95rem; letter-spacing: 0.3em; }
  .nav.menu-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__burger { display: flex; z-index: 70; }
  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.menu-open { color: var(--offwhite); background: transparent; box-shadow: none; }

  .about__grid, .materials__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__pull { position: static; }
  .process__steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .modal__panel { grid-template-columns: 1fr; max-height: 92vh; }
  .modal__img img { max-height: 38vh; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__meta { text-align: center; }
  .footer__brand { margin-inline: auto; }
  .compare, .room-single { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.1rem 0.8rem; }
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .swatch i { font-size: 0.5rem; }
  .band__quote { font-size: 1.25rem; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { padding: 0.95rem 1.7rem; }
  .room-gallery__track img { height: 100px; }
  .about__figure img { width: 100%; }
  .about__figure::after { display: none; }
  .about__stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
  .about__stat { padding-right: 0.4rem; }
}

/* ── reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img img, .hero [data-hero-stagger] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .modal__panel, .lightbox img { animation: none !important; }
  .hero__bg { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .hero__scroll::after { animation: none; }
  [data-parallax] { transform: none !important; }
}
