﻿
/* ==========================================================================
   Moda Floors homepage — design system "The Flooring Material Library"
   Palette: #EF854E orange (action, selection), #222222 charcoal (type, dark rooms)
   Neutrals: white + warm off-white. Wood colour comes only from photos & textures.
   Type: Fraunces (display) + Instrument Sans (text)
   Light: always from the upper left. Right edges ~25% darker, front edges ~45%.
   ========================================================================== */
:root {
  /* Brand palette (reference HTML) — Customizer may override via design tokens. */
  --orange: #EF854E;
  --orange-press: #E2733A;
  --char: #222222;
  --char-2: #2c2b2a;
  --char-3: #3a3836;
  --paper: #ffffff;
  --linen: #F7F3EE;
  --linen-2: #EFE9E1;
  --text: #222222;
  --soft: #5C5650;
  --line: rgba(34, 34, 34, .13);
  --line-2: rgba(34, 34, 34, .26);
  --on-char: #F3EEE8;
  --on-char-soft: #B9B2AA;
  --on-char-line: rgba(243, 238, 232, .14);

  --sh-1: 0 1px 1px rgba(34, 26, 18, .06), 0 4px 8px -4px rgba(34, 26, 18, .14);
  --sh-2: 0 1px 2px rgba(34, 26, 18, .06), 0 12px 22px -12px rgba(34, 26, 18, .32);
  --sh-3: 0 2px 4px rgba(34, 26, 18, .08), 0 24px 40px -20px rgba(34, 26, 18, .45), 0 60px 80px -50px rgba(34, 26, 18, .5);

  --r: 2px;
  --r-2: 4px;

  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: var(--moda-section-desktop, 88px);
  --hdr: 72px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --t: 240ms;

  /* Global type stacks — do not redefine per section. */
  --moda-font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --moda-font-body: "Instrument Sans", Arial, sans-serif;
  --f-display: var(--moda-font-heading);
  --f-text: var(--moda-font-body);

  --moda-h1: 64px;
  --moda-h2: 46px;
  --moda-h3: 32px;
  --moda-h4: 26px;
  --moda-h5: 22px;
  --moda-h6: 18px;
  --moda-body-size: 16px;
  --moda-body-line-height: 1.7;
  --moda-section-desktop: 88px;
  --moda-section-tablet: 64px;
  --moda-section-mobile: 44px;
  --moda-mobile-gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--moda-font-body);
  font-size: var(--moda-body-size, 16px);
  font-weight: 400;
  line-height: var(--moda-body-line-height, 1.7);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

/* Focus: charcoal ring on light grounds, orange ring on charcoal grounds (both >= 3:1) */
:focus-visible { outline: 2px solid var(--char); outline-offset: 3px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--orange); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; background: var(--char); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }

/* Photo frames keep a linen-wood surface if an image fails */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #e4dbcf, #cfc2b1 60%, #bfae98); }
.ph > img { width: 100%; height: 100%; object-fit: cover; }
img.is-missing { opacity: 0 !important; }

/* ---------- Type (global scale; sizes come from design tokens) ---------- */
.display {
  font-family: var(--moda-font-heading); font-optical-sizing: auto; font-weight: 360;
  letter-spacing: -.022em; line-height: var(--mf-heading-lh, 1.08); text-wrap: balance;
}
.h1 { font-size: var(--mf-h1-size, var(--moda-h1)); }
.h2 { font-size: var(--mf-h2-size, var(--moda-h2)); }
.h3 { font-family: var(--moda-font-heading); font-size: var(--mf-h3-size, var(--moda-h3)); font-weight: 420; letter-spacing: -.012em; line-height: 1.15; }
.display em, .h3 em { font-style: italic; font-weight: 320; }
.lead { font-size: var(--moda-body-size, 16px); color: var(--soft); max-width: 54ch; line-height: var(--moda-body-line-height, 1.7); }
.muted { color: var(--soft); }
.small { font-size: .9rem; }

/* Library index label: number + rule + name */
.idx { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 22px; }
.idx b { font-variant-numeric: tabular-nums; color: var(--char); font-weight: 650; }
.idx::before { content: ""; order: 1; width: 28px; height: 2px; background: var(--orange); }
.idx b { order: 0; } .idx span { order: 2; }
.dark .idx, .on-dark .idx { color: var(--on-char-soft); }
.dark .idx b, .on-dark .idx b { color: var(--on-char); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: start;
  align-content: start;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .lead { margin: 0; }
.gallery .sec-head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
  row-gap: 16px;
}
.gallery .gal-cta { margin-top: 12px; margin-bottom: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--char); padding-bottom: 3px; background: linear-gradient(var(--char), var(--char)) 0 100% / 100% 1px no-repeat; transition: background-size var(--t) var(--ease); }
.tlink:hover { background-size: 35% 1px; background-image: linear-gradient(var(--orange), var(--orange)); }
.tlink svg { width: 14px; height: 14px; flex: none; transition: transform var(--t) var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.dark .tlink, .on-dark .tlink { color: var(--on-char); background-image: linear-gradient(var(--on-char), var(--on-char)); }
.dark .tlink:hover, .on-dark .tlink:hover { background-image: linear-gradient(var(--orange), var(--orange)); }

/* ---------- Buttons: square-shouldered, plank proportions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r);
  font-weight: 650; font-size: .98rem; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color 180ms, color 180ms;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: #FFFFFF; box-shadow: inset 0 -3px 0 rgba(34, 34, 34, .16), 0 10px 20px -12px rgba(160, 70, 20, .7); }
.btn--orange:hover { background: var(--orange-press); transform: translateY(-1px); box-shadow: inset 0 -3px 0 rgba(34, 34, 34, .2), 0 16px 26px -14px rgba(160, 70, 20, .75); }
.btn--char { background: var(--char); color: #fff; }
.btn--char:hover { background: var(--char-3); transform: translateY(-1px); }
.btn--line { background: transparent; color: var(--char); box-shadow: inset 0 0 0 1.5px var(--char); }
.btn--line:hover { background: var(--char); color: #fff; }
.btn--line-light { background: transparent; color: var(--on-char); box-shadow: inset 0 0 0 1.5px rgba(243, 238, 232, .55); }
.btn--line-light:hover { background: var(--on-char); color: var(--char); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Utility bar + header
   ========================================================================== */
.util { background: var(--char); color: var(--on-char-soft); font-size: .82rem; }
.util__in { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.util a { color: var(--on-char); text-decoration: none; }
.util a:hover { color: var(--orange); }
.util__primary { display: flex; align-items: center; gap: 22px; min-width: 0; }
.util__status { display: inline-flex; align-items: center; gap: 8px; }
.util__dot { width: 7px; height: 7px; border-radius: 50%; background: #7d776f; flex: none; }
.util__dot.is-open { background: var(--orange); }
.util__right { margin-left: auto; display: flex; gap: 22px; }
@media (max-width: 767px) {
  .util__in {
    display: block;
    padding-block: 8px;
    min-height: 0;
  }
  .util__primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
  }
  .util__addr,
  .util__status { display: block; line-height: 1.35; }
  .util__status { display: inline-flex; }
  .util__right { display: none; }
}

/* Sticky header: natural at top; fixed + transform after utility bar scrolls away. */
.hdr-slot { position: relative; z-index: 80; }
.hdr {
  position: relative; z-index: 80;
  width: 100%;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 280ms ease, box-shadow 280ms ease;
  will-change: transform;
}
@supports (backdrop-filter: blur(8px)) { .hdr { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.2) blur(10px); } }
.hdr.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.hdr.is-raised { box-shadow: 0 10px 24px -20px rgba(34, 26, 18, .5); }
.hdr.is-hidden {
  transform: translateY(-105%);
  pointer-events: none;
}
.hdr.is-visible { transform: translateY(0); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .hdr { transition: box-shadow 200ms ease; }
  .hdr.is-hidden { transform: translateY(0); pointer-events: auto; }
}
.hdr__in { display: flex; align-items: center; gap: 22px; height: var(--hdr); min-width: 0; }
.brand,
.moda-header__brand,
.brand .custom-logo-link,
.custom-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 220px;
  flex: 0 1 auto;
  text-decoration: none;
  line-height: 0;
  overflow: hidden;
}
.brand .custom-logo-link,
.custom-logo-link {
  max-width: 100%;
}
.brand img,
.brand .custom-logo,
.custom-logo-link img,
img.custom-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 54px !important;
  object-fit: contain;
}
.ftr__logo img,
.ftr__brand .custom-logo,
.moda-footer-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 90px;
  height: auto;
  object-fit: contain;
}
.nav { margin-left: auto; height: 100%; }
.nav__list,
.nav ul.nav__list {
  display: flex; align-items: stretch; flex-wrap: nowrap;
  gap: 2px; height: 100%; list-style: none; margin: 0; padding: 0;
}
.nav__item,
.nav__list > li {
  position: relative; display: flex; align-items: center; flex: none; list-style: none; margin: 0;
}
.nav__link,
.nav__list > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px;
  padding: 0 13px; border: 0; background: none; border-radius: var(--r);
  font-size: .95rem; font-weight: 560; color: var(--char); text-decoration: none; white-space: nowrap;
  font-family: var(--f-text); cursor: pointer;
}
.nav__link::after,
.nav__list > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after,
.nav__list > li > a:hover::after, .nav__list > li.is-current > a::after { transform: scaleX(1); }
.nav__chev { width: 10px; height: 10px; transition: transform var(--t) var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 12px 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-2); z-index: 20; list-style: none; margin: 0; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: block; }
.nav__sub-link { display: block; padding: 8px 16px; text-decoration: none; font-size: .92rem; color: var(--char); white-space: nowrap; }
.nav__sub-link:hover { background: var(--linen); }
.hdr__cta { flex: none; }
.hdr__call { display: none; }
.hdr__menu { display: none; margin-left: auto; height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--char); color: #fff; font-weight: 600; align-items: center; gap: 10px; }
.hdr__menu i { display: grid; gap: 4px; width: 16px; }
.hdr__menu i::before, .hdr__menu i::after { content: ""; height: 2px; background: currentColor; }
.hdr__menu i { border-top: 2px solid currentColor; padding-top: 3px; }
@media (max-width: 1100px) {
  .nav, .hdr__cta { display: none; }
  .hdr__call { display: none !important; }
  .hdr__menu { display: inline-flex; margin-left: auto; flex-shrink: 0; }
}
@media (max-width: 767px) {
  .brand,
  .moda-header__brand,
  .brand .custom-logo-link,
  .custom-logo-link {
    max-width: 165px;
  }
  .brand img,
  .brand .custom-logo,
  .custom-logo-link img,
  img.custom-logo {
    max-height: 42px !important;
  }
}

/* Dropdown panels: a short, crisp drop */
.mega {
  position: absolute; top: calc(100% + 1px); left: -20px; z-index: 5;
  width: min(760px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 28px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) 240px; gap: 28px;
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--char);
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
  box-sizing: border-box;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega--wide { left: -260px; width: min(880px, calc(100vw - 32px)); grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; }
@media (max-height: 700px) {
  .mega { max-height: calc(100vh - var(--hdr) - 24px); overflow-y: auto; }
}
.mega h4 { font-size: .76rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }
.mega a:not(.mega__feat) { display: block; padding: 6px 0; text-decoration: none; font-size: .95rem; color: var(--char); }
.mega a:not(.mega__feat):hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mega__tones { display: grid; gap: 2px; }
.mega__tones button { display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; font-size: .95rem; color: var(--char); text-align: left; }
.mega__tones button:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tone-dot { width: 16px; height: 16px; border-radius: 2px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.mega__feat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 16px; color: #fff; text-decoration: none; overflow: hidden; background: var(--char); }
.mega__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s var(--ease); }
.mega__feat:hover img { transform: scale(1.04); }
.mega__feat b { position: relative; font-family: var(--f-display); font-weight: 420; font-size: 1.2rem; line-height: 1.2; }
.mega__feat small { position: relative; margin-top: 4px; font-size: .84rem; color: rgba(255, 255, 255, .86); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20, 18, 16, .55); opacity: 0; transition: opacity 260ms var(--ease); }
.drawer__panel { position: relative; width: min(420px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); padding: 16px 22px 32px; transform: translateX(100%); transition: transform 300ms var(--ease); display: flex; flex-direction: column; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__top img { height: 34px; width: auto; }
.drawer__close { width: 48px; height: 48px; border: 0; border-radius: var(--r); background: var(--linen-2); display: grid; place-items: center; }
.drawer__close svg { width: 18px; height: 18px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--f-display); font-size: 1.3rem; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 200ms; }
.drawer details[open] summary::after { transform: rotate(225deg); }
.drawer details div { padding: 0 0 14px; display: grid; }
.drawer details a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--soft); }
.drawer__link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.3rem; }
.drawer__foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.drawer__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.drawer__actions .btn {
  flex: 1 1 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  font-size: .86rem;
}
.drawer__btn-short { display: none; }
.drawer__btn-full { display: inline; }
@media (max-width: 380px) {
  .drawer__btn-full { display: none; }
  .drawer__btn-short { display: inline; }
}
.drawer__meta { font-size: .9rem; color: var(--soft); margin: 0; }
.drawer__admin-note { margin: 12px 0; padding: 12px; background: var(--linen); border-radius: 8px; font-size: .9rem; color: var(--soft); }
.nav__admin-note { margin: 0; font-size: .82rem; color: var(--soft); max-width: 28ch; }

/* ==========================================================================
   Hero: editorial copy left, room photograph right, sample fan across the seam
   ========================================================================== */
.hero { position: relative; background: #ffffff; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(40px, 5vw, 80px); }
.hero__where { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--soft); margin-bottom: 26px; }
.hero__where svg { width: 18px; height: 18px; color: var(--char); flex: none; }
.hero__where a { color: var(--char); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.hero h1,
.hero .display.h1,
.hero #hero-title,
.hero .moda-hero-heading {
  max-width: 11.5ch;
  font-family: var(--moda-font-heading) !important;
  font-optical-sizing: auto;
  font-weight: 360;
  letter-spacing: -.022em;
  line-height: var(--mf-heading-lh, 1.08);
  font-size: var(--mf-h1-size, var(--moda-h1));
  color: var(--char);
  text-wrap: unset;
}
.hero .moda-hero-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 12.5ch;
  margin: 0;
}
.hero .moda-hero-heading .hero__hline {
  display: block;
  max-width: 100%;
}
.hero h1 em,
.hero .display.h1 em,
.hero .moda-hero-heading em {
  position: relative;
  display: inline;
  white-space: nowrap;
  font-style: italic;
  font-weight: 320;
  text-decoration: none;
}
.hero h1 em::after,
.hero .display.h1 em::after,
.hero .moda-hero-heading em::after {
  content: "";
  position: absolute;
  left: .04em;
  right: .02em;
  bottom: .02em;
  height: .085em;
  background: #EF854E;
  transform-origin: 0 50%;
  pointer-events: none;
}
.hero__lead { margin-top: 26px; color: var(--soft); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--soft);
  max-width: 54ch;
}
.hero__fact { margin: 0; width: 100%; }
.hero__fact dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0;
}
.hero__facts b {
  display: inline;
  flex: none;
  color: var(--char);
  font-weight: 600;
  white-space: nowrap;
}
.hero__fact-val {
  color: var(--soft);
  min-width: 0;
}
.hero__fact a.hero__fact-val {
  color: inherit;
  text-decoration: none;
}
.hero__fact a.hero__fact-val:hover {
  color: var(--orange);
}

.hero__visual { position: relative; min-height: clamp(500px, calc(100vh - 210px), 700px); margin-right: calc(var(--gut) * -1); }
.hero__photo { position: absolute; inset: 0 0 clamp(70px, 8vw, 110px) 0; box-shadow: var(--sh-2); }
.hero__photo img { object-position: 42% 62%; transform: scale(1.06); will-change: transform; }
.hero__credit { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 6px 10px; background: rgba(255, 255, 255, .92); font-size: .76rem; color: var(--char); text-decoration: none; }
.hero__credit:hover { text-decoration: underline; }

/* ---- Physical sample fan ---- */
.fan { position: absolute; z-index: 4; left: -9%; right: 6%; bottom: 6px; height: 330px; perspective: 1600px; perspective-origin: 40% -40%; pointer-events: none; }
.fan__rig { position: absolute; left: 46%; top: 52%; width: 0; height: 0; transform-style: preserve-3d;
  transform: scale(.94) rotateX(calc(50deg + var(--px, 0deg))) rotateZ(calc(-66deg + var(--pz, 0deg))); }
.pl { position: absolute; width: 132px; height: 430px; margin: -215px 0 0 -66px; transform-style: preserve-3d; }
.pl__face, .pl__edge, .pl__shadow { position: absolute; backface-visibility: hidden; }
.pl__face { inset: 0; background-color: var(--wood, #b08458); background-image: var(--tex, repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 9px)); background-size: 132px 430px; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .22); }
.pl__face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .2) 48%, rgba(255, 255, 255, 0) 62%); background-size: 260% 100%; background-position: var(--sheen, 70%) 0; mix-blend-mode: soft-light; }
.pl__edge--r { top: 0; left: 100%; width: var(--th, 11px); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); background-color: var(--wood); background-image: var(--tex); background-size: 132px 430px; background-position: 100% 0; filter: brightness(.66) saturate(.9); }
.pl__edge--b { left: 0; top: 100%; width: 100%; height: var(--th, 11px); transform-origin: 50% 0; transform: rotateX(-90deg); background-color: var(--wood); background-image: var(--tex); background-size: 132px 430px; background-position: 0 100%; filter: brightness(.5) saturate(.9); }
.pl__edge--b::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 4px); }
.pl__shadow { inset: 6px -10px -18px 6px; background: rgba(28, 20, 12, .55); filter: blur(14px); transform: translateZ(calc(var(--th, 11px) * -1 - 1px)); }
.pl__tag { position: absolute; left: 50%; bottom: 46px; margin-left: -46px; width: 92px; transform-origin: 50% 50%; padding: 5px 8px 6px; background: rgba(255, 255, 255, .94); color: var(--char); font: 600 10.5px/1.15 var(--f-text); letter-spacing: .02em; transform: translateZ(1px) rotate(var(--tr, 66deg)); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pl__tag small { display: block; font-weight: 500; color: var(--soft); font-size: 9.5px; }
.pl--1 { --tr: 73deg; transform: translate3d(-128px, 34px, 0) rotateZ(-7deg); }
.pl--2 { --tr: 65deg; transform: translate3d(0, 0, 12px) rotateZ(1deg); }
.pl--3 { --tr: 57deg; transform: translate3d(128px, -40px, 24px) rotateZ(9deg); }
.pl--2 .pl__tag { box-shadow: inset 3px 0 0 var(--orange), 0 1px 2px rgba(0, 0, 0, .2); padding-left: 11px; }

@media (prefers-reduced-motion: no-preference) {
  .js .fan.is-ready .pl--1 { animation: pl-in-1 1.05s var(--ease) both; }
  .js .fan.is-ready .pl--2 { animation: pl-in-2 1.05s .14s var(--ease) both; }
  .js .fan.is-ready .pl--3 { animation: pl-in-3 1.05s .28s var(--ease) both; }
  .js .fan:not(.is-ready) .pl { opacity: 0; }
}
@keyframes pl-in-1 { from { opacity: 0; transform: translate3d(-150px, 10px, 170px) rotateZ(-18deg); } 40% { opacity: 1; } to { transform: translate3d(-128px, 34px, 0) rotateZ(-7deg); } }
@keyframes pl-in-2 { from { opacity: 0; transform: translate3d(0, -30px, 210px) rotateZ(-9deg); } 40% { opacity: 1; } to { transform: translate3d(0, 0, 12px) rotateZ(1deg); } }
@keyframes pl-in-3 { from { opacity: 0; transform: translate3d(150px, -70px, 250px) rotateZ(22deg); } 40% { opacity: 1; } to { transform: translate3d(128px, -40px, 24px) rotateZ(9deg); } }

.fan__note { position: absolute; right: var(--gut); bottom: 30px; z-index: 5; font-size: .78rem; color: var(--soft); }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero h1,
  .hero .moda-hero-heading { max-width: 13ch; }
  .hero__visual { min-height: 0; aspect-ratio: 4 / 3.7; margin-inline: calc(var(--gut) * -1); margin-top: 8px; }
  .hero__photo { inset: 0 0 26% 0; box-shadow: none; }
  .fan { left: 50%; right: auto; bottom: -6px; width: 520px; height: 300px; margin-left: -260px; perspective-origin: 50% 0; }
  .fan__rig { top: 54%; transform: scale(.72) rotateX(calc(58deg + var(--px, 0deg))) rotateZ(calc(-74deg + var(--pz, 0deg))); }
  .fan__note { right: var(--gut); bottom: 2px; }
}
@media (max-width: 520px) {
  .hero__visual { aspect-ratio: 4 / 3.6; }
  .fan__rig { transform: scale(.6) rotateX(58deg) rotateZ(-74deg); }
  .hero__facts { gap: 12px; max-width: none; }
}

/* ==========================================================================
   Flooring categories: three photographic tiles
   ========================================================================== */
.explore { background: var(--paper); }
.cats-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.cats-title { /* inherits global H2 / Fraunces via design tokens */ color: var(--char); }
.cats-sub { margin-top: 12px; color: var(--soft); }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 1.9vw, 28px); }
.cat { display: block; height: 100%; color: var(--char); text-decoration: none; border-radius: 10px; }
.cat__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 5 / 4; max-height: 280px; overflow: hidden; border-radius: 10px;
  background: #e7e1d8;
}
.cat__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.001); transition: transform 280ms var(--ease);
}
.cat__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding-top: 18px; }
.cat__name { display: block; font-size: clamp(1.35rem, 1.1rem + .55vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.012em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: transparent; transition: text-decoration-color 240ms var(--ease); }
.cat__line { display: block; margin-top: 6px; font-size: 1rem; line-height: 1.45; color: var(--soft); }
.cat__arrow { display: grid; place-items: center; width: 40px; height: 40px; margin-top: -4px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--char); transition: box-shadow 240ms var(--ease), color 240ms var(--ease); }
.cat__arrow svg { width: 16px; height: 16px; transition: transform 260ms var(--ease); }
.cat:hover .cat__media img { transform: scale(1.035); }
.cat:hover .cat__name { text-decoration-color: var(--orange); }
.cat:hover .cat__arrow { box-shadow: inset 0 0 0 1.5px var(--orange); color: var(--orange-press); }
.cat:hover .cat__arrow svg { transform: translateX(3px); }
/* keyboard: orange ring on the photo, charcoal outline around the whole tile (3:1+ on white) */
.cat:focus-visible { outline: 2px solid var(--char); outline-offset: 6px; }
.cat:focus-visible .cat__media { box-shadow: 0 0 0 3px var(--orange); }
.cat:focus-visible .cat__name { text-decoration-color: var(--orange); }
.cat:focus-visible .cat__arrow svg { transform: translateX(3px); }
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; gap: 36px; }
  .cat__media { aspect-ratio: 4 / 3; max-height: 260px; }
  .cat__row { padding-top: 14px; }
  .cat__arrow { width: 44px; height: 44px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .cat__arrow { width: 36px; height: 36px; }
  .cat__line { font-size: .95rem; }
}

/* Sample explorer: one filter surface, results toolbar, grid, load more */
.tones { margin-top: clamp(80px, 9vw, 128px); }
.xp-head { margin-bottom: clamp(24px, 3vw, 36px); }
.xp-title { /* inherits global H2 / Fraunces via design tokens */ color: var(--char); }
.xp-sub { margin-top: 10px; color: var(--soft); }

.xp-filters { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr); gap: 28px 0; align-items: start; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px); background: var(--linen); border-radius: 12px; min-width: 0; }
.xp-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.xp-group + .xp-group { padding-left: clamp(20px, 2.6vw, 36px); margin-left: clamp(20px, 2.6vw, 36px); box-shadow: inset 1px 0 0 var(--line); }
.xp-label { display: block; padding: 0; margin-bottom: 14px; font-size: .9rem; font-weight: 650; color: var(--char); }

/* Collection tabs: compact content-sized pills; scroll inside container if needed */
.seg {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  width: fit-content;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.seg__opt { position: relative; display: block; flex: 0 0 auto; width: auto; min-width: 0; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 7px;
  text-align: center;
  font-size: .9rem;
  font-weight: 560;
  line-height: 1.2;
  color: var(--soft);
  white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
  pointer-events: none;
}
.seg__opt:hover span { color: var(--char); background: var(--linen); }
.seg__opt input:checked + span { background: var(--char); color: #fff; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Color swatches: single horizontal row (All Colors + selected); scroll if needed */
.tone input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.tone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  min-height: 44px;
  padding: 2px 0;
  cursor: pointer;
  text-align: center;
}
.tone__chip {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  border-radius: 50%;
  background-color: var(--c, transparent);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(34, 34, 34, .14);
  transition: box-shadow 180ms var(--ease), transform 180ms var(--ease);
  pointer-events: none;
}
.tone__chip--all,
.tone__chip--empty,
.tone__chip--fallback {
  background-color: transparent;
  background-image: conic-gradient(from 210deg, #e3d0b0 0 20%, #cdb08a 0 40%, #9c7350 0 60%, #9a948b 0 80%, #4a3628 0 100%);
  box-shadow: inset 0 0 0 1px rgba(34, 34, 34, .14);
}
.tone.is-disabled,
.tone[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.tone.is-disabled .tone__name,
.tone[aria-disabled="true"] .tone__name {
  color: var(--soft);
  font-weight: 500;
  opacity: 1;
}
.tone.is-disabled input:checked ~ .tone__chip .tone__ok,
.tone[aria-disabled="true"] input:checked ~ .tone__chip .tone__ok {
  transform: scale(0);
}
.tone__name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--soft);
  text-align: center;
  line-height: 1.35;
  margin-top: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  transition: color 180ms;
  pointer-events: none;
}
.grid.is-loading { opacity: .45; pointer-events: none; transition: opacity 160ms var(--ease); }
.xp-loading { margin: 12px 0 0; font-size: .92rem; color: var(--soft); }
.tone__ok { position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: var(--char); display: grid; place-items: center; transform: scale(0); transition: transform 180ms var(--ease); box-shadow: 0 0 0 2px var(--linen); }
.tone__ok svg { width: 10px; height: 10px; }
.tone:hover .tone__chip { transform: scale(1.05); }
.tone input:checked ~ .tone__chip { box-shadow: 0 0 0 2px var(--linen), 0 0 0 4px var(--orange); }
.tone input:checked ~ .tone__chip .tone__ok { transform: scale(1); }
.tone input:checked ~ .tone__name { color: var(--char); font-weight: 650; }
.tone input:focus-visible ~ .tone__chip { outline: 2px solid var(--char); outline-offset: 6px; }

/* results toolbar */
.xp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; min-height: 48px; margin: 18px 0 22px; }
.xp-count { font-size: .98rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.xp-count b { color: var(--char); font-weight: 650; }
.xp-clear { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: .95rem; font-weight: 600; color: var(--char); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.xp-clear svg { width: 12px; height: 12px; }
.xp-clear:hover { color: var(--orange-press); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 1.9vw, 26px); }
.smp { display: block; text-decoration: none; color: var(--char); border-radius: 8px; }
.smp.is-in { animation: smp-in 200ms var(--ease) both; }
@keyframes smp-in { from { opacity: 0; } to { opacity: 1; } }
.smp__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #e6dfd5; }
.smp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease); }
.smp__tone { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 600; color: var(--char); }
.smp__tone i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.grid[data-tone-set] .smp__tone { display: none; }   /* redundant once a tone is chosen */
.smp__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-top: 14px; }
.smp__name { display: block; font-weight: 650; font-size: 1rem; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color 200ms; font-family: var(--moda-font-heading); margin-bottom: 8px; }
.smp__line { display: block; margin-top: 3px; font-size: .88rem; color: var(--soft); }
.smp__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-family: var(--moda-font-body, var(--f-text));
  font-size: var(--moda-body-size, .88rem);
  line-height: 1.45;
  color: var(--soft);
}
.smp { cursor: pointer; }
.smp:focus-visible { outline: 2px solid var(--char); outline-offset: 5px; }
.smp__go { width: 18px; height: 18px; margin-top: 2px; color: var(--soft); transition: transform 200ms var(--ease), color 200ms; }
.smp:hover .smp__img img { transform: scale(1.035); }
.smp:hover .smp__name, .smp:focus-visible .smp__name { text-decoration-color: var(--orange); }
.smp:hover .smp__go, .smp:focus-visible .smp__go { transform: translateX(3px); color: var(--char); }
.smp:focus-visible { outline: 2px solid var(--char); outline-offset: 5px; }

.res__empty { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; text-align: center; background: var(--linen); border-radius: 12px; color: var(--soft); }
.res__empty b { color: var(--char); font-size: 1.1rem; font-weight: 650; }
.xp-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.xp-more .btn { min-width: 220px; }
.xp-note { margin-top: 24px; text-align: center; font-size: .86rem; color: var(--soft); }

@media (max-width: 1100px) {
  .xp-filters { grid-template-columns: 1fr; }
  .xp-group + .xp-group { padding-left: 0; margin-left: 0; box-shadow: none; }
  .xp-group:first-child { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .seg { scroll-snap-type: x proximity; }
  .seg__opt { scroll-snap-align: start; }
  .sw-row { gap: 12px; scroll-snap-type: x proximity; }
  .tone { scroll-snap-align: start; }
  .xp-bar { gap: 4px 12px; }
  .xp-count { font-size: .9rem; }
  .smp__go { display: none; }
  .xp-filters { margin-inline: 0; }
}
@media (max-width: 359px) { .grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   02 Room visualizer (linen / light section)
   ========================================================================== */
.studio { background: var(--linen); color: var(--char); padding-block: var(--sec); position: relative; overflow: hidden; }
.studio .h2,
.studio .display.h2,
.studio #studio-title { color: var(--char) !important; }
.studio .mf-badge { color: var(--soft); }
.studio__grid {
  position: relative; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  grid-template-areas: "head room" "ctrls room" "ctrls sum";
  grid-template-rows: auto 1fr auto; column-gap: clamp(28px, 4vw, 64px); row-gap: 0; align-items: start;
}
.studio__head { grid-area: head; }
.studio__head > p { color: var(--soft); margin-top: 18px; max-width: 42ch; }
.ctrls { grid-area: ctrls; margin-top: 30px; display: grid; gap: 26px; align-content: start; }
.room-fig { grid-area: room; margin: 0; min-width: 0; }
.summary { grid-area: sum; }
.ctrl { border: 0; padding: 0; margin: 0; min-width: 0; }
.ctrl legend { padding: 0; margin-bottom: 12px; display: flex; justify-content: space-between; width: 100%; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.ctrl legend output { text-transform: none; letter-spacing: 0; font-weight: 560; font-size: .9rem; color: var(--char); }
.ctrl__row { display: flex; flex-wrap: wrap; gap: 10px; }
.fin { position: relative; }
.fin input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fin__face { position: relative; display: block; width: 56px; height: 56px; border-radius: var(--r); background-color: var(--c, #a07850); background-size: 96px 384px; background-position: -20px -100px; box-shadow: 0 0 0 1px var(--line-2), 0 8px 14px -8px rgba(34, 26, 18, .35); transition: transform 180ms var(--ease), box-shadow 180ms; }
.fin__face::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; background: inherit; filter: brightness(.5); }
.fin__ok { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform 200ms var(--ease); }
.fin__ok svg { width: 12px; height: 12px; }
.fin input:hover + .fin__face { transform: translateY(-2px); }
.fin input:checked + .fin__face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--orange), 0 8px 14px -8px rgba(34, 26, 18, .35); }
.fin input:checked ~ .fin__ok { transform: scale(1); }
.fin input:focus-visible + .fin__face { outline: 2px solid var(--char); outline-offset: 7px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg2 label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 14px; border-radius: var(--r); background: var(--paper); color: var(--char); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 560; font-size: .95rem; cursor: pointer; transition: background-color 180ms, box-shadow 180ms; }
.seg2 input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg2 svg { width: 26px; height: 26px; flex: none; color: var(--soft); }
.seg2 label:has(input:checked) { background: rgba(239, 133, 78, .12); box-shadow: inset 0 0 0 1.5px var(--orange); }
.seg2 label:has(input:checked) svg { color: var(--orange); }
.seg2 label:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.seg2 small { display: block; font-weight: 400; font-size: .76rem; color: var(--soft); }

.room { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2b2a29; box-shadow: inset 0 0 0 1px var(--line); }
.room canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.room__busy { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--on-char-soft); font-size: .9rem; background: #2b2a29; transition: opacity 300ms var(--ease); }
.room__busy i { display: block; width: 120px; height: 2px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.room__busy i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--orange); animation: busy 1.1s var(--ease) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.room.is-ready .room__busy { opacity: 0; pointer-events: none; }
.room__fail { padding: 28px; color: #fff; }
.room__fail a { color: var(--orange); }
.room-fig figcaption { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .82rem; color: var(--soft); }
.room-fig figcaption svg { width: 14px; height: 14px; flex: none; color: var(--orange); }

.summary { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 20px 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.summary__k { font-size: .76rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.summary__v { font-family: var(--f-display); font-size: 1.32rem; line-height: 1.3; color: var(--char); margin-top: 4px; }
.summary__sim { margin-top: 8px; font-size: .88rem; color: var(--soft); }
.summary__sim a { color: var(--char); text-underline-offset: 3px; text-decoration-color: rgba(239, 133, 78, .8); }
.summary__sim a:hover { color: var(--orange); }
.noscript-note { padding: 18px; color: var(--soft); }
@media (max-width: 1040px) {
  .studio__grid { grid-template-columns: 1fr; grid-template-areas: "head" "room" "ctrls" "sum"; grid-template-rows: auto; }
  .room-fig { margin-top: 28px; }
  .ctrls { grid-template-columns: auto 1fr; gap: 20px 32px; margin-top: 24px; }
}
@media (max-width: 640px) {
  .room-fig { position: sticky; top: calc(var(--hdr) - 1px); z-index: 2; background: var(--linen); padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); }
  .room-fig figcaption { padding-inline: var(--gut); }
  .room { aspect-ratio: 4 / 3.2; }
  @media (max-height: 640px) { .room-fig { position: static; } }
  .room-fig figcaption { font-size: .78rem; }
  .ctrls { grid-template-columns: 1fr; gap: 20px; }
  .fin__face { width: 54px; height: 54px; }
  .ctrl__row { gap: 12px; }
  .summary { grid-template-columns: 1fr; padding: 18px; }
  .summary .btn { width: 100%; }
}

/* ==========================================================================
   Wide photograph moment
   ========================================================================== */
.band { position: relative; height: clamp(380px, 62vw, 760px); overflow: hidden; background: var(--char); }
.band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band__cap { position: absolute; left: var(--gut); bottom: var(--gut); max-width: 520px; padding: 22px 24px; background: var(--paper); box-shadow: var(--sh-3); }
.band__cap p { font-family: var(--moda-font-heading); font-size: var(--mf-h3-size, var(--moda-h3)); line-height: 1.25; letter-spacing: -.01em; }
.band__cap span { display: block; margin-top: 10px; font-size: .86rem; color: var(--soft); }
.band__cap a { color: var(--char); }
@media (max-width: 600px) { .band__cap { left: 12px; right: 12px; bottom: 12px; } }

/* ==========================================================================
   03 Collections: the sample wall
   ========================================================================== */
.coll { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.coll + .coll { margin-top: clamp(72px, 9vw, 128px); }
.coll--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.coll--flip .coll__media { order: 2; }
.coll__media { position: relative; }
.coll__media .ph { aspect-ratio: 1600 / 976; box-shadow: var(--sh-2); }
.coll__swatches { position: absolute; right: -18px; bottom: -34px; display: flex; gap: 0; }
.coll--flip .coll__swatches { right: auto; left: -18px; }
.sw { position: relative; width: clamp(64px, 8vw, 104px); aspect-ratio: 1 / 2.4; overflow: hidden; box-shadow: var(--sh-2); outline: 4px solid var(--paper); text-decoration: none; transition: transform 300ms var(--ease); }
.sw + .sw { margin-left: -1px; }
.sw img { width: 100%; height: 100%; object-fit: cover; }
.sw:hover, .sw:focus-visible { transform: translateY(-8px); z-index: 2; }
.sw span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 6px; font-size: .7rem; font-weight: 650; line-height: 1.15; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.coll__brand { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.coll__body .h2 { margin-top: 12px; }
.coll__body > p { margin-top: 16px; color: var(--soft); max-width: 46ch; }
.spec { margin: 26px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec div:nth-child(odd) { padding-right: 16px; }
.spec dt { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.spec dd { margin: 4px 0 0; font-weight: 600; color: var(--char); font-variant-numeric: tabular-nums; }
.spec__src { font-size: .8rem; color: var(--soft); margin-top: -14px; margin-bottom: 22px; }
/* Saint Augustine: one contained collection panel, then a quiet brand strip */
.sa { max-width: 1180px; margin: clamp(88px, 10vw, 136px) auto 0; padding: clamp(20px, 2.6vw, 36px); background: var(--linen); border-radius: 16px;
  display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); grid-template-areas: "prev head" "prev pick" "prev spec" "prev cta";
  grid-template-rows: auto auto auto 1fr; column-gap: clamp(32px, 4vw, 56px); align-items: start; }
.sa__head { grid-area: head; padding-top: 6px; }
.sa__eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.sa__title { margin-top: 10px; color: var(--char); }
.sa__sub { margin-top: 10px; color: var(--soft); max-width: 38ch; }

/* preview: the selected finish in its manufacturer room photo, with a close-up chip */
.sa__prev { grid-area: prev; position: relative; margin: 0; align-self: stretch; display: flex; flex-direction: column; }
.sa__frame { position: relative; flex: 1; min-height: 440px; overflow: hidden; border-radius: 12px; background: #e3dccf; }
.sa__frame img, .sa__chip-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sa__frame img { object-position: 50% 78%; }
.sa__frame img.is-back, .sa__chip-img img.is-back { opacity: 0; }
.sa__frame img.is-in, .sa__chip-img img.is-in { z-index: 2; animation: sa-in 220ms var(--ease) both; }
@keyframes sa-in { from { opacity: 0; } to { opacity: 1; } }
.sa__chip { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: grid; grid-template-columns: 64px auto; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; background: rgba(255, 255, 255, .96); border-radius: 10px; box-shadow: 0 8px 24px -12px rgba(34, 26, 18, .45); }
.sa__chip-img { position: relative; width: 64px; height: 64px; overflow: hidden; border-radius: 6px; background: #e3dccf; }
.sa__chip-txt { display: grid; gap: 1px; line-height: 1.25; }
.sa__name { font-weight: 650; font-size: 1rem; color: var(--char); }
.sa__chip-txt small { font-size: .78rem; color: var(--soft); }

/* finish picker */
.sa__pick { grid-area: pick; border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.sa__pick legend { padding: 0; margin-bottom: 12px; font-size: .88rem; font-weight: 650; color: var(--char); }
.fx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
.fx__opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; align-content: start; min-width: 0; cursor: pointer; }
.fx__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.fx__thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 7px; background: #e3dccf center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(34, 34, 34, .1); transition: box-shadow 180ms var(--ease); }
.fx__ok { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--char); display: grid; place-items: center; transform: scale(0); transition: transform 180ms var(--ease); box-shadow: 0 0 0 2px var(--linen); }
.fx__ok svg { width: 11px; height: 11px; }
.fx__name { font-size: .84rem; line-height: 1.25; color: var(--soft); hyphens: manual; }
.fx__opt:hover .fx__thumb { box-shadow: inset 0 0 0 1px rgba(34, 34, 34, .1), 0 0 0 1px var(--line-2); }
.fx__opt input:checked ~ .fx__thumb { box-shadow: 0 0 0 2px var(--linen), 0 0 0 4px var(--orange); }
.fx__opt input:checked ~ .fx__thumb .fx__ok { transform: scale(1); }
.fx__opt input:checked ~ .fx__name { color: var(--char); font-weight: 650; }
.fx__opt input:focus-visible ~ .fx__thumb { outline: 2px solid var(--char); outline-offset: 6px; }

/* specs: three quiet stats */
.sa__spec { grid-area: spec; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sa__spec li { padding: 12px 0 12px 14px; display: grid; gap: 2px; }
.sa__spec li:first-child { padding-left: 0; }
.sa__spec li + li { box-shadow: inset 1px 0 0 var(--line); }
.sa__spec b { font-size: 1.02rem; font-weight: 650; color: var(--char); font-variant-numeric: tabular-nums; }
.sa__spec span { font-size: .8rem; color: var(--soft); }
.sa__cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; }
.sa__cta .btn svg { width: 15px; height: 15px; }
.sa__view { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .93rem; font-weight: 600; color: var(--char); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.sa__view:hover { text-decoration-color: var(--orange); }
.sa__view svg { width: 13px; height: 13px; }

.brands { max-width: 1180px; margin: 28px auto 0; padding: 0 clamp(20px, 2.6vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(20px, 3vw, 40px); }
.brands__k { margin-right: auto; font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.brands ul { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 32px); }
.brands a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 560; color: var(--char); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color 200ms; }
.brands a:hover { text-decoration-color: var(--orange); }

@media (max-width: 1000px) { .fx__name { font-size: .8rem; } .sa__spec li { padding-left: 10px; } }
@media (max-width: 860px) {
  .sa { grid-template-columns: 1fr; grid-template-areas: "head" "prev" "pick" "spec" "cta"; grid-template-rows: auto; }
  .sa__prev { margin-top: 22px; }
  .sa__frame { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .fx__name { font-size: .8rem; }
}
@media (min-width: 600px) and (max-width: 860px) { .fx { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px 8px; } }
@media (max-width: 480px) {
  .sa { padding: 18px; border-radius: 14px; }
  .sa__frame { aspect-ratio: 1 / 1; }
  .sa__chip { left: 10px; bottom: 10px; grid-template-columns: 48px auto; padding: 6px 12px 6px 6px; }
  .sa__chip-img { width: 48px; height: 48px; }
  .fx { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .fx__name { font-size: .76rem; }
  .sa__spec { grid-template-columns: 1fr 1fr 1fr; }
  .sa__spec b { font-size: .95rem; }
  .sa__cta .sa__view { margin-inline: auto; }
  .brands { padding: 0; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 24px; }
  .brands ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; width: 100%; }
}
@media (max-width: 360px) { .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 900px) {
  .coll, .coll--flip { grid-template-columns: 1fr; }
  .coll--flip .coll__media { order: 0; }
  .coll__swatches { right: 12px; bottom: -28px; }
  .coll--flip .coll__swatches { left: 12px; }
  .coll__body { margin-top: 24px; }
}

/* ==========================================================================
   04 Gallery + lightbox
   ========================================================================== */
.gallery { background: var(--paper); }
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 8vw, 112px); gap: clamp(10px, 1.4vw, 18px); }
.gal__it { position: relative; padding: 0; border: 0; overflow: hidden; background: #d8cdbf; cursor: zoom-in; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gal__it:hover img { transform: scale(1.035); }
.gal__cap { position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 7px 10px; background: rgba(255, 255, 255, .95); color: var(--char); font-size: .8rem; font-weight: 560; text-align: left; transform: translateY(100%); transition: transform 240ms var(--ease); }
.gal__it:hover .gal__cap, .gal__it:focus-visible .gal__cap { transform: none; }
.gal__zoom { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--char); opacity: 0; transition: opacity 200ms; }
.gal__zoom svg { width: 16px; height: 16px; }
.gal__it:hover .gal__zoom, .gal__it:focus-visible .gal__zoom { opacity: 1; }
.g1 { grid-column: span 7; grid-row: span 5; }
.g2 { grid-column: span 5; grid-row: span 3; }
.g3 { grid-column: span 5; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 4; }
.g5 { grid-column: span 4; grid-row: span 4; }
.g6 { grid-column: span 4; grid-row: span 4; }
.g7 { grid-column: span 5; grid-row: span 4; }
.g8 { grid-column: span 7; grid-row: span 4; }
@media (hover: none) { .gal__cap { transform: none; } .gal__zoom { opacity: 1; } }
@media (max-width: 760px) {
  .gal { grid-auto-rows: 92px; }
  .g1, .g8 { grid-column: span 12; grid-row: span 3; }
  .g2, .g3, .g4, .g5, .g6, .g7 { grid-column: span 6; grid-row: span 2; }
  .gal__cap { font-size: .74rem; padding: 5px 7px; }
}
.lb { position: fixed; inset: 0; z-index: 250; display: grid; grid-template-rows: auto 1fr auto; background: rgba(22, 21, 20, .96); color: var(--on-char); opacity: 0; transition: opacity 220ms var(--ease); }
.lb.is-open { opacity: 1; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lb__count { font-size: .86rem; color: var(--on-char-soft); font-variant-numeric: tabular-nums; }
.lb__fig { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); transition: opacity 200ms; }
.lb__fig img.is-loading { opacity: .25; }
.lb__cap { padding: 14px 16px 18px; text-align: center; font-size: .92rem; color: var(--on-char); }
.lb__btn { width: 48px; height: 48px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background-color 180ms; }
.lb__btn:hover { background: rgba(255, 255, 255, .16); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; } .lb__next { right: 12px; }
@media (max-width: 600px) {
  .lb__fig { padding: 0 8px; }
  .lb__prev, .lb__next { top: auto; bottom: -58px; transform: none; }
  .lb__prev { left: 16px; } .lb__next { right: 16px; }
  .lb__cap { padding: 14px 76px 22px; }
}

/* ==========================================================================
   05 How to choose
   ========================================================================== */
.choose__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.choose__intro { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; }
.choose__intro p { margin-top: 18px; }
.qs { counter-reset: q; border-top: 1.5px solid var(--char); }
.q { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.q::before { counter-increment: q; content: counter(q, decimal-leading-zero); grid-row: 1 / span 3; grid-column: 1; font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--char); font-variant-numeric: tabular-nums; }
.q h3, .q p, .q ul { grid-column: 2; }
.q h3 { font-weight: 420; }
.q p { color: var(--soft); max-width: 62ch; margin-top: 6px; }
.q ul { margin-top: 12px; display: grid; gap: 6px; }
.q li { position: relative; padding-left: 20px; font-size: .96rem; }
.q li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--orange); }
@media (max-width: 860px) { .choose__grid { grid-template-columns: 1fr; } .choose__intro { position: static; } .q { grid-template-columns: 44px minmax(0, 1fr); } .q::before { font-size: 1.4rem; } }

/* ==========================================================================
   How it works + reviews
   ========================================================================== */
.journey { background: #ffffff; }
.jr-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; align-content: start; margin-bottom: clamp(32px, 4vw, 48px); }
.jr-eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.jr-title { margin-top: 12px; color: var(--char); }
.jr-aside p { color: var(--soft); max-width: 44ch; }
.jr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; }
.jr-call { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--char); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jr-call:hover { text-decoration-color: var(--orange); }

/* steps: one panel, a connected track */
.steps { --g: clamp(20px, 2.6vw, 36px); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); padding: clamp(28px, 3vw, 40px); background: var(--linen); border-radius: 16px; counter-reset: st; }
/* connector from each marker to the next one only */
.step:not(:last-child)::after { content: ""; position: absolute; left: 64px; right: calc(var(--g) * -1 + 12px); top: 26px; height: 1px; background: var(--line-2); }
.step { position: relative; counter-increment: st; }
.step__mark { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 6px var(--linen); color: var(--char); }
.step__mark svg { width: 24px; height: 24px; }
.step__n { display: block; margin-top: 22px; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-press); }
.step__n::after { content: counter(st); }
.step h3 { margin-top: 6px; font-weight: 420; color: var(--char); }
.step p { margin-top: 8px; color: var(--soft); font-size: .95rem; line-height: 1.55; }

/* reviews */
.rev { margin-top: clamp(72px, 8vw, 112px); }
.rev__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px 32px; margin-bottom: 24px; }
.rev__title { color: var(--char); }
.rev__note { margin-top: 8px; font-size: .9rem; color: var(--soft); }
.rev__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.rev__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .95rem; font-weight: 600; color: var(--char); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.rev__links a:hover { text-decoration-color: var(--orange); }
.rev__links svg { width: 12px; height: 12px; }
.rev__list { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 20px); }
.quote { display: flex; flex-direction: column; margin: 0; padding: clamp(22px, 2.4vw, 32px); background: var(--linen); border-radius: 14px; }
.quote--lead { grid-row: span 2; padding: clamp(28px, 3.4vw, 48px); justify-content: center; }
.quote.quote--lead figcaption { margin-top: 0; padding-top: 32px; }
.quote__mark { display: block; width: 28px; height: 22px; color: var(--orange); }
.quote blockquote { margin: 16px 0 0; font-size: 1rem; line-height: 1.6; color: var(--char); }
.quote--lead .quote__mark { width: 40px; height: 32px; }
.quote--lead blockquote { margin-top: 22px; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.quote__av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--paper); font-size: .82rem; font-weight: 650; color: var(--char); letter-spacing: .02em; }
.quote__who b { display: block; font-size: .95rem; font-weight: 650; color: var(--char); }
.quote__who span { font-size: .82rem; color: var(--soft); }

@media (max-width: 960px) {
  .jr-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step:nth-child(2n)::after { display: none; }
  .step:nth-child(odd)::after { right: calc(var(--g) * -1 + 12px); }
  .rev__list { grid-template-columns: 1fr 1fr; }
  .quote--lead { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 600px) {
  /* vertical timeline */
  .steps { grid-template-columns: 1fr; gap: 0; padding: 24px 20px; }
  .step:not(:last-child)::after, .step:nth-child(2n):not(:last-child)::after { display: block; left: 23px; right: auto; top: 54px; bottom: 6px; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding-bottom: 26px; }
  .step:last-child { padding-bottom: 0; }
  .step__mark { width: 46px; height: 46px; grid-row: span 3; }
  .step__mark svg { width: 21px; height: 21px; }
  .step__n { margin-top: 2px; }
  .rev__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   07 Visit
   ========================================================================== */
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.visit__info .h2 { margin-bottom: 18px; }
.vrows { margin: 30px 0 30px; border-top: 1.5px solid var(--char); }
.vrow { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vrow dt { font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding-top: 2px; }
.vrow dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vrow a { color: var(--char); font-weight: 560; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.vrow a:hover { text-decoration-color: var(--orange); }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; padding: 3px 8px; margin: 0 -8px; }
.hours li.is-today { background: var(--linen); box-shadow: inset 3px 0 0 var(--orange); font-weight: 650; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .88rem; color: var(--soft); }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: #9a948c; }
.open-now.is-open i { background: var(--orange); box-shadow: 0 0 0 3px rgba(239, 133, 78, .25); }
.visit__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__media { display: grid; grid-template-rows: auto minmax(300px, 1fr); gap: 14px; }
.visit__photo { aspect-ratio: 792 / 470; }
.visit__photo img { object-position: 50% 60%; }
.map { position: relative; min-height: 300px; background: #ddd5ca; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.map__pin { position: absolute; left: 14px; top: 14px; padding: 12px 14px; background: var(--paper); box-shadow: var(--sh-2); font-size: .86rem; line-height: 1.4; max-width: 250px; border-left: 3px solid var(--orange); }
.map__pin b { display: block; font-family: var(--f-display); font-weight: 420; font-size: 1.05rem; }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vrow { grid-template-columns: 84px minmax(0, 1fr); } .hours li { font-size: .95rem; } .hours li span:last-child { white-space: nowrap; } }

/* ==========================================================================
   08 Consultation
   ========================================================================== */
.consult { background: var(--linen); color: var(--char); }
.consult .h2,
.consult .display.h2,
.consult #consult-title { color: var(--char) !important; }
.consult .mf-badge { color: var(--soft); }
.consult__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.consult__copy > p,
.consult__copy > div { margin-top: 18px; color: var(--soft); max-width: 44ch; }
.next { margin-top: 32px; border-top: 1px solid var(--line); }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.next b { display: block; font-weight: 600; color: var(--char); }
.next span { font-size: .93rem; color: var(--soft); }
.next i { font-style: normal; font-family: var(--f-display); font-size: 1.1rem; color: var(--orange); font-variant-numeric: tabular-nums; }
.consult__call { margin-top: 28px; display: grid; gap: 4px; color: var(--soft); font-size: .95rem; }
.consult__call a { color: var(--char); font-weight: 650; font-size: 1.15rem; text-decoration: none; }
.consult__call a:hover { color: var(--orange); }

.form { background: var(--paper); color: var(--text); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-2); }
.form__flag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 20px; background: var(--linen); border-left: 3px solid var(--orange); font-size: .84rem; line-height: 1.45; }
.form__flag svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.form h3 { font-family: var(--f-display); font-weight: 420; font-size: 1.5rem; }
.form__sub { color: var(--soft); font-size: .93rem; margin-top: 4px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 600; color: var(--char); padding: 0; }
.field .opt { font-weight: 400; color: var(--soft); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 150ms; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23222' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { box-shadow: inset 0 0 0 1px var(--char); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--char), 0 0 0 3px rgba(239, 133, 78, .45); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3261E; }
.field__hint { font-size: .8rem; color: var(--soft); }
.field__err { display: flex; gap: 6px; align-items: center; font-size: .84rem; color: #B3261E; font-weight: 560; }
.field__err:empty { display: none; }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #B3261E; color: #fff; font-size: .7rem; font-weight: 700; flex: none; }
.segf { border: 0; padding: 0; margin: 0; min-width: 0; }
.segf__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.segf label { position: relative; display: grid; place-items: center; min-height: 48px; padding: 4px 6px; border-radius: var(--r); text-align: center; font-size: .86rem; font-weight: 600; line-height: 1.15; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: background-color 150ms, box-shadow 150ms, color 150ms; }
.segf input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segf label:has(input:checked) { background: var(--char); color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
.segf label:has(input:focus-visible) { outline: 2px solid var(--char); outline-offset: 2px; }
.from-studio { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--linen); font-size: .86rem; box-shadow: inset 3px 0 0 var(--orange); }
.from-studio.is-on { display: flex; }
.from-studio button { border: 0; background: none; font-size: .84rem; font-weight: 600; text-decoration: underline; padding: 8px 4px; }
.form__submit { margin-top: 20px; }
.form__fine { font-size: .8rem; color: var(--soft); margin-top: 12px; }
.form__result { display: grid; gap: 14px; }
.form__result h3 { display: flex; align-items: center; gap: 10px; }
.form__result h3 svg { width: 24px; height: 24px; flex: none; }
.form__result .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__result pre { margin: 0; padding: 12px 14px; background: var(--linen); font: .84rem/1.5 var(--f-text); white-space: pre-wrap; word-break: break-word; }
.lc-frame { margin-top: 18px; }
.lc-frame iframe { width: 100%; height: 760px; border: 0; background: #fff; }
@media (max-width: 940px) { .consult__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } .segf__row { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Footer + mobile action bar
   ========================================================================== */
.ftr { background: #1b1b1b; color: var(--on-char-soft); padding: clamp(64px, 8vw, 96px) 0 28px; font-size: .94rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.brand, .ftr__logo { text-decoration: none; }
.wordmark { display: inline-block; font-family: var(--f-text); font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; color: var(--char); line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--orange-press); }
.ftr .wordmark { color: #fff; font-size: 1.45rem; }
.ftr .wordmark span { color: var(--orange); }
.drawer__top .wordmark { font-size: 1.1rem; }
.quote__av svg { width: 20px; height: 20px; color: var(--soft); }
.ftr__about { margin-top: 18px; max-width: 38ch; line-height: 1.6; color: var(--on-char-soft); }
.ftr {
  --moda-footer-heading-size: 20px;
  --moda-footer-heading-weight: 600;
}
.ftr .moda-footer-heading,
.ftr h4.moda-footer-heading,
.ftr .ftr__contact-heading,
.ftr .footer-column-heading,
.ftr .footer-accordion-heading,
.ftr .ftr__links > h4:first-child,
.ftr .widget > h4:first-child,
.ftr .widgettitle,
.ftr .wp-block-heading {
  font-family: var(--moda-font-heading, "Fraunces", Georgia, "Times New Roman", serif) !important;
  font-size: var(--moda-footer-heading-size) !important;
  font-weight: var(--moda-footer-heading-weight) !important;
  line-height: 1.3 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--on-char-soft) !important;
}
.ftr .ftr__acc-sum.moda-footer-heading {
  margin-bottom: 0;
}
.ftr ul { display: grid; gap: 4px; }
.ftr a { color: var(--on-char-soft); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.ftr a:hover { color: var(--orange); }
.ftr__contact-list { gap: 12px; margin: 0; padding: 0; list-style: none; }
.ftr__contact-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.45; padding: 0; }
.ftr__contact-ico { display: grid; place-items: start center; padding-top: 2px; color: var(--on-char-soft); }
.ftr__ico { width: 18px; height: 18px; display: block; }
.ftr__contact-text { display: grid; gap: 2px; min-width: 0; }
.ftr__contact b { display: block; color: #fff; font-weight: 600; }
.ftr__contact-text span, .ftr__contact-text a { color: var(--on-char-soft); }
.ftr__social { display: flex; gap: 18px; margin-top: 18px; }
.ftr__bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--on-char-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; }
@media (max-width: 960px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }

/* Footer accordion: desktop always expanded; mobile closed by default via JS. */
.ftr__acc { border: 0; margin: 0; padding: 0; min-width: 0; }
.ftr__brand { min-width: 0; }
.ftr__acc-sum {
  list-style: none; display: none; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 52px; padding: 4px 0; cursor: pointer;
  color: var(--on-char-soft) !important; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--on-char-line);
}
.ftr__acc-sum::-webkit-details-marker { display: none; }
.ftr__acc-sum::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease);
}
.ftr__acc[open] > .ftr__acc-sum::after { transform: rotate(225deg) translateY(-1px); }
.ftr__acc-body { min-width: 0; }
@media (max-width: 767px) {
  .ftr__brand { margin-bottom: 8px; }
  .ftr__acc-sum { display: flex; }
  /* Hide the column heading inside accordion body — summary already provides it. */
  .ftr__acc-body .ftr__links > h4:first-child,
  .ftr__acc-body .widget > h4:first-child,
  .ftr__acc-body .widget_block > h4:first-child,
  .ftr__acc-body .wp-block-heading:first-child,
  .ftr__acc-body h4:first-of-type,
  .ftr__acc-body .ftr__contact-heading,
  .ftr__acc-body .widgettitle { display: none !important; }
  .ftr__acc:not([open]) > .ftr__acc-body { display: none; }
  .ftr__acc[open] > .ftr__acc-body { display: block; padding: 12px 0 18px; }
}

/* Sticky mobile CTA bar removed by design. */
.mbar { display: none !important; }

/* ---------- Without JavaScript, hide controls that would do nothing ---------- */
.no-js .summary, .no-js .room__busy, .no-js .room-fig figcaption, .no-js .xp-note, .no-js [data-more] { display: none !important; }
.no-js .room { aspect-ratio: auto; }

/* ---------- Reveal (only when JS is present; content is visible without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__photo img, .band img { transform: none !important; }
}

/* Homepage content-structure refinement: existing brand type, spacing and colors retained. */
.benefits {background:var(--linen);}
.benefits__grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.benefit {padding:clamp(20px,2.6vw,34px);background:var(--paper);border:1px solid var(--line);border-radius:10px;}
.benefit__num {display:block;font-size:.76rem;font-weight:650;letter-spacing:.08em;color:var(--orange-press);margin-bottom:24px;}
.benefit h3 {font-family:var(--f-display);font-size:clamp(1.3rem,1.55vw,1.75rem);line-height:1.2;letter-spacing:-.012em;}
.benefit p {font-size:.95rem;line-height:1.6;color:var(--soft);margin-top:14px;}
.benefits__actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:32px;}
.tones-section {background:var(--paper);}
.tones--section {margin-top:0;}
/* Pending category imagery: CSS-only decorative previews, no invented product photography. */
.cat__media--pending {background:linear-gradient(155deg,#efe9e1 0%,#cbbba7 100%);}
.cat__media--pending:after {content:"";position:absolute;inset:0;opacity:.6;background:repeating-linear-gradient(0deg,transparent 0 42px,rgba(255,255,255,.6) 43px 45px,transparent 46px 89px),repeating-linear-gradient(90deg,transparent 0 116px,rgba(34,34,34,.13) 117px 119px,transparent 120px 235px);}
.cat__media--pending[data-category="carpet"] {background:repeating-linear-gradient(45deg,#d5c6b6 0 3px,#cbbba9 3px 6px);}
.cat__media--pending[data-category="accessories"] {background:repeating-linear-gradient(110deg,#c4a482 0 34px,#e2d2bc 34px 41px,#aa8767 41px 60px);}
@media (max-width:960px){.benefits__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:600px){.benefits__grid{grid-template-columns:1fr;}}

/* ===== Moda Floors theme corrections ===== */
.btn--orange, .btn--orange:hover, .btn--orange:focus-visible { color: #FFFFFF !important; }
.idx { display: none !important; }
.sec-head > div > .idx + .display,
.studio__head > .idx + .h2,
.choose__intro > .idx + .h2,
.visit__info > .idx + .h2,
.consult__copy > .idx + .h2 { margin-top: 0; }
.benefit__num { display: none !important; }
.benefit h3 { margin-top: 0; }
.gal-cta { margin: 12px 0 0; }
.gallery .gal { margin-top: 0; }
.rev__shortcode { min-height: 120px; }
.mf-hidden { display: none !important; }
.mf-hide-desktop { }
.mf-hide-tablet { }
.mf-hide-mobile { }
@media (min-width: 1025px) { .mf-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .mf-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .mf-hide-mobile { display: none !important; } }
.entry-content img { max-width: 100%; height: auto; }
.blog-wrap { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); }
.blog-wrap .entry-title { margin-bottom: 16px; }
.blog-wrap .entry-meta { color: var(--soft); font-size: .9rem; margin-bottom: 28px; }
.blog-wrap .entry-thumb { margin-bottom: 32px; border-radius: 8px; overflow: hidden; }
.blog-archive { display: grid; gap: 40px; padding: clamp(40px, 6vw, 80px) 0; }
.blog-card h2 { margin: 12px 0 8px; }
.blog-card p { color: var(--soft); }
.pagination { display: flex; gap: 12px; justify-content: center; padding: 40px 0; }

/* Restored section badges (no decorative numbers / orange rules) */
.mf-badge {
  display: block;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 12px;
}
.mf-badge[hidden], .mf-badge.is-hidden { display: none !important; }
.on-dark .mf-badge, .dark .mf-badge { color: var(--on-char-soft); }
.studio .mf-badge, .consult .mf-badge { color: var(--soft); }

/* Remove custom map overlay badge */
.map__pin { display: none !important; }

/* Hide prototype commentary */
.fan__note { display: none !important; }

/* ===== Homepage polish (preserve design, tighten consistency) ===== */
.sec { padding-block: var(--sec); }
.drawer__menu { display: flex; flex-direction: column; gap: 0; list-style: none; margin: 0; padding: 0; }
.drawer__menu .drawer__link,
.drawer__menu > li > a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.3rem; }
.drawer__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--f-display); font-size: 1.3rem; cursor: pointer; border-bottom: 1px solid var(--line); }
.drawer__sub { display: flex; flex-direction: column; padding: 8px 0 16px 12px; gap: 10px; }
.drawer__sub a { text-decoration: none; font-size: 1rem; color: var(--soft); }
.xp-head { margin-bottom: clamp(24px, 3vw, 36px); }
.xp-title { margin: 0 0 12px; }
.xp-sub { max-width: 62ch; color: var(--soft); }
.xp-filters { margin-bottom: 18px; }
.grid .smp { min-height: 100%; }
.smp__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.studio__head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.visit__info .mf-badge + .display,
.consult__copy .mf-badge + .display { margin-top: 0; }
.form--ghl {
  background: var(--paper);
  border-radius: var(--r-2, 4px);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: var(--sh-2);
  width: 100%;
  min-width: 0;
}
.form--ghl iframe { max-width: 100%; }
.hero__actions { align-items: center; }
.cat__grid { align-items: stretch; }
@media (max-width: 760px) {
  .form--ghl { padding: 8px; }
}

/* ==========================================================================
   Mobile-only UI (≤767px) — do not affect desktop layouts
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --moda-mobile-gutter: 20px;
    --moda-mobile-section-space: 44px;
    --gut: 20px;
    --sec: var(--moda-mobile-section-space);
  }

  .wrap {
    padding-left: var(--moda-mobile-gutter);
    padding-right: var(--moda-mobile-gutter);
  }

  .hdr__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    gap: 12px;
  }
  .brand { min-width: 0; max-width: min(165px, calc(100% - 118px)); }
  .brand img, .brand .custom-logo, .custom-logo-link img, img.custom-logo {
    max-height: 42px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  .hdr__menu {
    margin-left: auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    gap: 8px;
    white-space: nowrap;
  }

  .btn:not(.btn--block):not(.form__submit):not(.hdr__menu) {
    width: fit-content;
    max-width: 100%;
  }

  .hero__actions,
  .visit__btns,
  .sa__cta,
  .jr__cta,
  .jr-actions,
  .coll__cta,
  .benefits__cta,
  .benefits__actions,
  .gal-cta,
  .moda-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .hero__actions .btn,
  .visit__btns .btn,
  .sa__cta .btn,
  .jr__cta .btn,
  .jr-actions .btn,
  .coll__cta .btn,
  .benefits__cta .btn,
  .benefits__actions .btn,
  .gal-cta .btn,
  .moda-actions .btn {
    flex: 0 1 auto !important;
    width: fit-content !important;
    min-width: 0;
    max-width: 100%;
    padding-inline: 12px;
    font-size: .88rem;
    white-space: nowrap;
  }

  .sec {
    padding-top: var(--moda-mobile-section-space);
    padding-bottom: var(--moda-mobile-section-space);
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .hero__copy { padding-bottom: 0; }
  .hero__visual {
    min-height: 0;
    aspect-ratio: 4 / 3.4;
    margin-top: 12px;
  }
  .hero__photo { inset: 0 0 22% 0; }
  .fan { height: 240px; bottom: -4px; }
  .fan__note { bottom: 0; }

  .hero h1,
  .hero .display.h1,
  .hero .moda-hero-heading,
  .hero #hero-title,
  .sec .h2,
  .sec .display.h2,
  .sec .h3,
  .cats-title,
  .xp-title {
    line-height: 1.5 !important;
  }
  .hero .moda-hero-heading { max-width: 14ch; }

  .gal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
  }
  .gal__it,
  .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8 {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    min-width: 0;
    overflow: hidden;
  }
  .g1, .g8 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
  .gal__it img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gal__cap {
    transform: none;
    font-size: .72rem;
    padding: 6px 8px;
  }
  .gal__zoom {
    opacity: 1;
    width: 36px;
    height: 36px;
  }

  .ftr { padding-bottom: 28px; }
}

/* ==========================================================================
   SLS Product Manager pages inside Moda Floors layout
   ========================================================================== */
.sls-pm-main,
.mf-sls-main,
.sls-pm-shop,
.sls-pm-single,
.sls-pm-archive {
  max-width: calc(var(--wrap) + var(--gut) * 2);
  margin-inline: auto;
  padding-inline: var(--gut);
  padding-block: clamp(28px, 4vw, 56px);
}
.sls-pm-single .product_title,
.sls-pm-single h1 {
  font-family: var(--moda-font-heading);
  font-size: var(--mf-h1-size, var(--moda-h1));
  font-weight: 360;
  letter-spacing: -.022em;
  line-height: var(--mf-heading-lh, 1.08);
}
@media (max-width: 767px) {
  .sls-pm-main,
  .mf-sls-main,
  .sls-pm-shop,
  .sls-pm-single,
  .sls-pm-archive {
    padding-inline: var(--moda-mobile-gutter, 20px);
  }
}
