:root {
  color-scheme: light;
  --ink: #191d19;
  --muted: #505950;
  --paper: #fbfcf9;
  --mist: #eef1eb;
  --line: #d0d6cd;
  --dark: #151915;
  --accent: #e0efa6;
  --accent-hover: #eff8c8;
  --gutter: clamp(1.25rem, 5.4vw, 6rem);
  --header-height: 5rem;
  --radius: 1.4rem;
  --type: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--type);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4772a2; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .quote-copy :focus-visible { outline-color: var(--accent); }
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 88rem);
  margin-inline: auto;
}
.section-space { padding-block: clamp(4rem, 7.7vw, 7.5rem); }
.skip-link {
  position: fixed;
  z-index: 12;
  top: 0.7rem;
  left: var(--gutter);
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

/* Site navigation */
.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  background: linear-gradient(180deg, #0d100dd6, #0d100d45);
  color: white;
}
.js-ready .site-header { position: fixed; }
.site-header.is-scrolled, .site-header.menu-open {
  background: var(--dark);
  box-shadow: 0 1px 0 #ffffff21;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
  border-bottom: 1px solid #ffffff39;
}
.site-header.is-scrolled .header-inner, .site-header.menu-open .header-inner { border-bottom-color: transparent; }
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: block;
  width: 4.45rem;
  aspect-ratio: 436 / 176;
  flex: none;
  overflow: hidden;
  mix-blend-mode: screen;
}
.brand-mark img {
  width: 114.68%;
  max-width: none;
  height: auto;
  transform: translate(-8.4%, -31.2%);
}
@supports (mask-mode: luminance) {
  .brand-mark {
    background: currentColor;
    mix-blend-mode: normal;
    mask-image: url("assets/dex.png");
    mask-mode: luminance;
    mask-size: 114.68% 284.1%;
    mask-position: 65.625% 48.15%;
    mask-repeat: no-repeat;
  }
  .brand-mark img { visibility: hidden; }
}
.brand-name {
  padding-left: 0.8rem;
  border-left: 1px solid #ffffff55;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}
.navigation, .hero-actions, .rating, .social-link, .footer-links {
  display: flex;
  align-items: center;
}
.navigation { gap: clamp(0.8rem, 1.65vw, 1.7rem); }
.navigation a {
  padding-block: 0.65rem;
  color: #f3f4ef;
  font-size: 0.94rem;
  text-decoration: none;
}
.navigation a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.header-action {
  justify-self: end;
  min-height: 2.7rem;
  padding-inline: 1.22rem;
  background: #f7f9f4;
  color: var(--ink);
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-action:hover { background: var(--accent); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: var(--accent-hover); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #374234; }
.button-glass { border-color: #ffffff96; background: #1014105c; color: white; }
.button-glass:hover { border-color: white; background: #ffffff23; }
.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  flex: none;
  place-content: center;
  gap: 0.36rem;
  padding: 0;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  background: #15191570;
  color: white;
}
.menu-toggle span { width: 1.1rem; height: 2px; background: currentColor; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.24rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.24rem) rotate(-45deg); }

/* Full-width opening photograph */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #282d24;
  color: white;
}
.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { z-index: -2; object-fit: cover; object-position: 60% 61%; }
.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, #10130fe3 0%, #10130fae 29%, #10130f36 62%, #10130f08 86%),
    linear-gradient(0deg, #0b100bbd 0%, transparent 22%, transparent 82%, #0b100b44 100%);
  content: "";
}
.hero-inner {
  display: grid;
  min-height: clamp(39rem, 84svh, 56rem);
  grid-template-rows: 1fr auto;
  padding-block: calc(var(--header-height) + 3.4rem) 1.65rem;
}
.hero-copy {
  align-self: center;
  width: 100%;
  max-width: 65rem;
  justify-self: center;
  text-align: center;
  padding-block: 1rem 2.1rem;
}
.location {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin-bottom: 1.3rem;
  color: #f3f5eb;
  font-weight: 580;
  font-size: 0.94rem;
}
.location-pin {
  position: relative;
  display: inline-block;
  width: 0.82rem;
  height: 0.82rem;
  margin: -0.18rem 0.16rem 0 0.08rem;
  transform: rotate(-45deg);
  border: 1.6px solid var(--accent);
  border-radius: 50% 50% 50% 0;
}
.location-pin::after {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
h1, h2, h3 { line-height: 1.04; }
h1, h2 { letter-spacing: -0.054em; }
h1 {
  font-size: clamp(4.2rem, 7.8vw, 8.35rem);
  font-weight: 630;
  line-height: 0.96;
}
h1 span { color: var(--accent); }
.hero-description {
  max-width: 31.2rem;
  margin-top: 1.4rem;
  color: #f0f0e9;
  font-size: clamp(1.02rem, 1.35vw, 1.23rem);
  line-height: 1.5;
}
.hero-actions { flex-wrap: wrap; gap: 0.7rem; margin-top: 1.65rem; }
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ffffff45;
}
.rating { width: fit-content; gap: 0.65rem; color: white; font-size: 0.91rem; text-decoration: none; }
.rating:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.rating-stars { color: #f2d3a0; font-size: 1.02rem; letter-spacing: 0.1em; }
.hero-credit, .material-image figcaption { font-size: 0.8rem; }
.hero-credit { color: #f0f1e9; }

/* Client logos */
.clients { border-bottom: 1px solid var(--line); background: var(--mist); }
.clients-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: 1rem;
}
.clients-intro h2 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); letter-spacing: -0.035em; }
.client-controls { display: flex; align-items: center; gap: 0.15rem; margin: 0.1rem 0 -0.48rem -0.5rem; }
.client-controls button {
  min-height: 2.75rem;
  padding: 0.3rem 0.5rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #394635;
  font-size: 0.82rem;
  font-weight: 620;
}
.client-controls button:hover { background: #dde4d9; }
.client-controls .client-play { min-width: 3.65rem; }
.client-logos {
  --logo-gap: 0.65rem;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--logo-gap)) / 3);
  gap: var(--logo-gap);
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  list-style: none;
}
.js-ready .client-logos { scrollbar-width: none; }
.js-ready .client-logos::-webkit-scrollbar { display: none; }
.client-logos li {
  display: grid;
  height: clamp(4.5rem, 5.9vw, 6rem);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: white;
  scroll-snap-align: start;
}
.client-logos .logo-dark { border-color: #232923; background: #232923; }
.client-logos img { width: 72%; height: 57%; max-width: 12rem; object-fit: contain; }

/* Materials */
h2 { font-size: clamp(2.55rem, 4.95vw, 5.25rem); font-weight: 570; }
h3 { letter-spacing: -0.04em; }
.catalog-head, .service-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.35rem 2rem;
  margin-bottom: clamp(1.55rem, 3vw, 2.65rem);
}
.section-intro p {
  max-width: 33rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.material-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.material-tabs a {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.92rem 0.38rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  background: white;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 620;
  text-decoration: none;
}
.material-tabs a:hover { border-color: #7d897b; }
.material-tabs [aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.swatch {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #0002;
}
.swatch-wood { background: #ad7649 url("assets/piso-vinilico.webp") 48% 92% / 520%; }
.swatch-baseboard { background: #e6e3d9 url("assets/rodape.webp") 62% 52% / 410%; }
.swatch-carpet { background: #817e74 url("assets/carpete.webp") 48% 89% / 520%; }
.material-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}
.material-panel:not([hidden]) ~ .material-panel:not([hidden]) { margin-top: 1.4rem; }
.material-image {
  position: relative;
  min-height: clamp(20rem, 33vw, 30rem);
  background: #d3c5b6;
}
.material-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.material-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.28rem 0.65rem;
  border-radius: 99rem;
  background: #1b1d1bd6;
  color: white;
}
.material-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.55rem, 3.4vw, 3.7rem);
}
.material-info h3 { font-size: clamp(2.15rem, 3.45vw, 3.7rem); font-weight: 590; letter-spacing: -0.048em; }
.material-info > p { max-width: 28rem; margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; }
.measure-guide {
  margin: clamp(1.2rem, 2vw, 2.1rem) 0;
  padding-left: 0.85rem;
  border-left: 2px solid #8d9e6e;
}
.measure-guide dt { color: #45503f; font-size: 0.88rem; font-weight: 650; }
.measure-guide dd { margin-top: 0.18rem; }

/* Completed projects and customer reviews */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: clamp(1.55rem, 3vw, 2.65rem);
}
.projects { background: #202820; color: #fafcf6; }
.projects .social-link { color: var(--accent); text-decoration-color: #a8b78b; }
.project-grid, .review-grid { display: grid; gap: clamp(1rem, 2.5vw, 2.5rem); }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { padding-top: 1rem; border-top: 1px solid #6b7567; }
.project-card h3 { font-size: clamp(1.45rem, 2.05vw, 2.2rem); font-weight: 580; }
.project-card > p { margin: 0.3rem 0 1.05rem; color: #d4dbcd; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.project-pair figure { position: relative; }
.project-pair a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  background: #41483d;
  cursor: zoom-in;
}
.project-pair a:focus-visible { outline-color: var(--accent); }
.project-pair img { width: 100%; height: 100%; object-fit: cover; }
.project-pair figcaption {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.22rem 0.65rem;
  border-radius: 99rem;
  background: #1b2019e8;
  color: white;
  font-size: 0.82rem;
  font-weight: 650;
  pointer-events: none;
}
.project-pair figure:last-child figcaption { background: var(--accent); color: var(--ink); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.65rem;
  padding: clamp(1.3rem, 2.4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f7f1;
}
.review-card blockquote { margin: 0; font-size: clamp(1.2rem, 1.65vw, 1.65rem); line-height: 1.35; letter-spacing: -0.025em; }
.review-card figcaption { color: #465142; font-size: 0.95rem; font-weight: 620; }
.review-score {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.56rem;
  border-radius: 99rem;
  background: var(--accent);
  color: #2c391d;
  font-size: 0.9rem;
}

/* How the service works */
.service { border-block: 1px solid #dce2d7; background: #f0f3ed; }
.service-head { align-items: center; }
.social-link {
  width: fit-content;
  min-height: 2.8rem;
  flex: none;
  gap: 0.55rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration-color: #899682;
  text-underline-offset: 0.25em;
}
.instagram-icon {
  position: relative;
  display: inline-grid;
  width: 1.08rem;
  height: 1.08rem;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 0.32rem;
}
.instagram-icon::before { width: 0.47rem; height: 0.47rem; border: 1.3px solid currentColor; border-radius: 50%; content: ""; }
.instagram-icon::after { position: absolute; top: 15%; right: 15%; width: 0.12rem; height: 0.12rem; border-radius: 50%; background: currentColor; content: ""; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3.5vw, 3.5rem);
  padding: 0;
  list-style: none;
}
.process-steps li { padding-top: 1.25rem; border-top: 1px solid #aebaa9; }
.process-steps h3 { max-width: 20rem; font-size: clamp(1.4rem, 2.1vw, 2.15rem); font-weight: 590; line-height: 1.15; }
.process-steps p { max-width: 27rem; margin-top: 0.8rem; color: var(--muted); }

/* Quote and showroom */
.quote { background: var(--dark); color: #fafcf6; }
.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.quote-copy h2 { font-size: clamp(2.95rem, 5.75vw, 6.1rem); }
.quote-copy h2 span { display: block; }
.quote-copy p { max-width: 25rem; margin-top: 1.15rem; color: #d8dfd4; font-size: 1.06rem; }
.direct-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 0.28em;
}
.quote-form {
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.15rem, 2.8vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.field { display: grid; min-width: 0; align-content: start; gap: 0.38rem; font-size: 0.93rem; font-weight: 630; }
.field input, .field select {
  width: 100%;
  min-width: 0;
  min-height: 3.12rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid #a7b0a4;
  border-radius: 0.63rem;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
.field input::placeholder, .field select:invalid { color: #626a60; }
.field select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 48%, #4f584a 50%), linear-gradient(135deg, #4f584a 50%, transparent 52%);
  background-position: calc(100% - 1rem) 52%, calc(100% - 0.73rem) 52%;
  background-size: 0.3rem 0.3rem;
  background-repeat: no-repeat;
}
.field :is(input, select):focus-visible { outline-offset: 1px; }
.optional, .form-note { color: var(--muted); font-weight: 400; }
.form-submit { width: 100%; margin-top: 0.15rem; }
.form-note { font-size: 0.88rem; text-align: center; }
.site-footer { border-top: 1px solid #ffffff26; background: #101310; color: #e8eee4; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr auto;
  align-items: start;
  gap: 1.5rem 3rem;
  padding-block: clamp(2.5rem, 4.8vw, 4.5rem);
}
.site-footer .brand { color: white; }
.site-footer h2 { margin-bottom: 0.55rem; font-size: 1.1rem; font-weight: 650; letter-spacing: -0.02em; }
.site-footer address { color: #c8d0c4; font-style: normal; }
.footer-links { flex-wrap: wrap; gap: 0.15rem 1.15rem; }
.footer-link, .footer-phone { display: inline-flex; min-height: 2rem; align-items: center; }
.footer-link { color: #e5eadd; font-size: 0.93rem; text-decoration-color: #87937f; text-underline-offset: 0.25em; }
.footer-phone { font-weight: 600; text-decoration: none; }
.site-footer a:hover, .direct-link:hover { color: var(--accent-hover); }

@media (max-width: 65rem) {
  .catalog-head { align-items: flex-start; flex-direction: column; }
  .quote-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; }
}
@media (max-width: 64rem) {
  :root { --header-height: 4.5rem; }
  html:not(.js-ready) .site-header { position: relative; background: var(--dark); }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
    padding-block: 0.62rem;
  }
  .header-action { grid-area: 1 / 2; min-height: 2.75rem; }
  .menu-toggle { display: grid; grid-area: 1 / 3; }
  .navigation {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.2rem 1.3rem;
    padding: 0.55rem 0 0.3rem;
    border-top: 1px solid #ffffff36;
  }
  .navigation.is-collapsible:not(.is-open) { display: none; }
}
@media (max-width: 53rem) {
  .hero-inner { min-height: clamp(36rem, 81svh, 49rem); }
  .material-panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .material-image { min-height: 21rem; }
  .client-logos { grid-auto-columns: calc((100% - var(--logo-gap)) / 2); }
  .service-head { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
  .quote-inner { grid-template-columns: minmax(0, 1fr); }
  .quote-copy h2 span { display: inline; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  :root { --radius: 1rem; --gutter: clamp(1.05rem, 5.3vw, 1.8rem); }
  .site-header .brand-name { display: none; }
  .brand-mark { width: 3.95rem; }
  .header-action { padding-inline: 0.95rem; }
  .hero-inner { min-height: clamp(35.5rem, 82svh, 47rem); padding-block: calc(var(--header-height) + 1.7rem) 1.2rem; }
  .hero-image { object-position: 63% 61%; }
  .hero::after {
    background: linear-gradient(90deg, #0c100ce6, #0c100c96 57%, #0c100c46), linear-gradient(0deg, #0b100bba, transparent 29%, transparent 84%, #0b100b66);
  }
  .hero-copy { padding-block: 1.4rem 2rem; }
  h1 { font-size: clamp(2.62rem, 12.8vw, 4.95rem); line-height: 1; }
  .hero-description { max-width: 28rem; margin-top: 1.05rem; }
  .hero-actions { gap: 0.55rem; margin-top: 1.35rem; }
  .hero-actions .button { padding-inline: 0.83rem; font-size: 0.9rem; }
  .hero-foot { gap: 0.65rem; }
  .rating { gap: 0.4rem; font-size: 0.84rem; }
  .rating-stars { font-size: 0.9rem; }
  .hero-credit { font-size: 0.78rem; }
  .clients-inner { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; padding-block: 0.6rem 0.8rem; }
  .clients-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 0.4rem; }
  .client-controls { margin: 0; gap: 0; }
  .client-controls button { padding-inline: 0.34rem; }
  .client-logos { grid-auto-columns: 64%; }
  .material-tabs { gap: 0.38rem; }
  .material-tabs a { padding: 0.34rem 0.68rem 0.34rem 0.42rem; gap: 0.38rem; }
  .swatch { width: 1.38rem; height: 1.38rem; }
  .material-panel { grid-template-columns: minmax(0, 1fr); }
  .material-image { min-height: 0; aspect-ratio: 1.48; }
  .material-info { padding: 1.4rem; }
  .project-grid, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .project-grid { gap: 1.9rem; }
  .review-card { gap: 1rem; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .process-steps p { margin-top: 0.45rem; }
  .field-pair, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .quote-copy h2 { font-size: clamp(2.7rem, 10vw, 3.7rem); }
}
@media (max-width: 22rem) {
  .clients-intro h2 { font-size: 1.12rem; }
  .client-controls .client-play { min-width: 3.25rem; }
  .site-header .brand-mark { width: 3.5rem; }
  .header-action { padding-inline: 0.72rem; }
  .material-tabs a { padding-inline: 0.53rem; }
  .swatch { width: 1rem; height: 1rem; }
  .hero-foot { flex-wrap: wrap; gap: 0.35rem; }
  .rating-stars { letter-spacing: 0.04em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Continuous logo strip with its heading above. */
.clients-inner { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
.client-logos.is-looping { overflow-x: hidden; scroll-snap-type: none; scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  .client-logos.is-looping { overflow-x: auto; }
  .client-logos [aria-hidden="true"] { display: none; }
}

/* Continuous gallery of DEX installations. */
.gallery { background: var(--paper); overflow: hidden; }
.gallery-toggle { border-color: var(--line); background: transparent; color: var(--ink); }
.gallery-toggle:hover { background: var(--accent); }
.gallery-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.gallery-viewport.is-animated { scrollbar-width: none; }
.gallery-viewport.is-animated::-webkit-scrollbar { display: none; }
.gallery-strip {
  display: flex;
  gap: 1rem;
  width: max-content;
  margin: 0;
  padding: 0 1rem 0 var(--gutter);
  list-style: none;
}
.gallery-strip li { flex: 0 0 auto; width: clamp(15rem, 24vw, 24rem); }
.gallery-strip a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--mist); cursor: zoom-in; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip a:focus-visible { outline-offset: -5px; }
.gallery-dialog { max-width: 94vw; max-height: 94svh; padding: 0.8rem; border: 0; border-radius: 1rem; background: var(--dark); color: white; }
.gallery-dialog::backdrop { background: #080c08e8; }
.gallery-dialog form { display: flex; justify-content: flex-end; margin-bottom: 0.65rem; }
.gallery-dialog button { background: var(--paper); color: var(--ink); }
.gallery-dialog > img { max-width: 87vw; max-height: calc(90svh - 5.5rem); width: auto; height: auto; object-fit: contain; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) {
  .gallery-strip [aria-hidden="true"] { display: none; }
}

/* Showroom video in its original vertical format. */
.showroom { background: var(--mist); border-block: 1px solid var(--line); }
.showroom-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.showroom-copy { max-width: 38rem; }
.showroom-copy > p { max-width: 29rem; margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.showroom-copy .showroom-location { font-size: 0.96rem; }
.showroom-copy .button { margin-top: 1.5rem; }
.showroom-video { display: block; width: min(100%, 23rem); height: auto; aspect-ratio: 512 / 910; justify-self: center; border-radius: var(--radius); background: #151915; }
@media (max-width: 40rem) {
  .showroom-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Editorial opening with warm, restrained contrast. */
.hero-inner { min-height: clamp(40rem, 88svh, 58rem); padding-block: calc(var(--header-height) + 3rem) 2rem; }
.hero-copy { max-width: 68rem; padding-block: 2rem 3rem; }
.hero-copy .location { color: #e5ddce; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2.2rem; }
.hero-copy .location-pin { display: none; }
.hero-copy .location::before, .hero-copy .location::after { content: ""; width: 1.8rem; height: 1px; background: #d9c7a480; }
.hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.6vw, 5.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy h1 span { display: block; color: #faf6ee; }
.hero-copy h1 .hero-bridge { font-family: var(--type); font-size: .28em; font-weight: 400; line-height: 1.5; letter-spacing: .12em; margin: 1.1rem 0; }
.hero-copy h1 .hero-signature { color: #e4d1ac; font-style: italic; }
.hero::after { background: linear-gradient(180deg, #0d15124d 0%, #10181255 20%, #101611b8 65%, #101611ed 100%); }
.hero-foot { justify-content: center; border-top: 0; padding-top: 1.3rem; position: relative; }
.hero-foot::before { content: ""; position: absolute; top: 0; left: calc(50% - 2rem); width: 4rem; height: 1px; background: #e4d1ac66; }
.hero-foot .rating { gap: .85rem; font-size: .8rem; color: #eee9df; }
.hero-foot .rating-stars { color: #d9c49c; font-size: .85rem; letter-spacing: .14em; }
@media (max-width: 40rem) {
  .hero-inner { min-height: clamp(35rem, 82svh, 45rem); padding-block: calc(var(--header-height) + 2rem) 1.5rem; }
  .hero-copy { padding-block: 1.5rem 2.5rem; }
  .hero-copy .location { font-size: .7rem; margin-bottom: 1.8rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 10.2vw, 4rem); line-height: 1.12; }
  .hero-copy h1 .hero-bridge { font-size: .35em; margin: 1rem 0; }
  .hero-copy h1 .hero-opening { max-width: 10ch; margin-inline: auto; }
  .hero-copy h1 .hero-signature { max-width: 12ch; margin-inline: auto; }
}
