/* =========================================================
   Reis Building Materials — styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-bg: #f4f4ec;          /* page off-white */
  --c-paper: #f7f7ef;
  --c-ink: #111312;         /* near-black text / trade bg */
  --c-ink-2: #3a3b37;       /* dark card body */
  --c-stone: #e2ddd4;       /* light card body / CTA panel */
  --c-cream: #f1ede2;       /* text on dark */
  --c-muted: #5b5c56;
  --c-line: #c9c6bc;
  --c-green: #7a9a3c;       /* stock bar */

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;

  --container: 1270px;
  --gutter: clamp(20px, 6vw, 86px);
  --section-y: clamp(72px, 9vw, 120px);
  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.center { text-align: center; }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.h2, .hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.005em;
}
.h2 { font-size: clamp(44px, 6.6vw, 96px); }
.h2--xl { font-size: clamp(44px, 7vw, 104px); }
.lead { font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; line-height: 1.4; max-width: 46ch; margin-top: 22px; }
.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 30px;
  font-family: var(--f-display); font-weight: 600; font-size: 21px;
  text-transform: uppercase; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--c-cream); color: var(--c-ink); border-color: var(--c-cream); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: var(--c-cream); border-color: rgba(241,237,226,.7); background: rgba(17,19,18,.35); }
.btn-outline-light:hover { background: var(--c-cream); color: var(--c-ink); }
.btn-dark { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.btn-dark:hover { background: var(--c-ink-2); }
.btn-outline-dark { color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline-dark:hover { background: var(--c-ink); color: var(--c-cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--c-cream);
  transition: background .35s, padding .35s, box-shadow .35s;
  padding-block: 26px;
}
.site-header.is-scrolled { background: rgba(17,19,18,.94); padding-block: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { font-family: var(--f-display); font-weight: 600; font-size: 60px; line-height: .8; letter-spacing: -.01em; }
.logo-sub { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: .95; text-transform: uppercase; }
.primary-nav ul { display: flex; gap: clamp(24px, 3vw, 42px); }
.primary-nav a {
  font-family: var(--f-display); font-weight: 500; font-size: 23px;
  position: relative; padding-block: 4px;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; position: relative; z-index: 2; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(100svh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-cream); overflow: hidden; background: #2a2b28;
  padding-top: 140px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(.35) brightness(.7); }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,19,18,.78) 0%, rgba(17,19,18,.45) 55%, rgba(17,19,18,.2) 100%),
              linear-gradient(0deg, rgba(17,19,18,.55), transparent 35%);
}
.hero-content { position: relative; margin-bottom: auto; margin-top: clamp(40px, 12vh, 170px); }
.hero-title { font-size: clamp(48px, 8.4vw, 124px); margin-top: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: block; }
.hero-lead { font-size: clamp(17px, 1.75vw, 24px); font-weight: 500; max-width: 40ch; margin: 26px 0 46px; line-height: 1.4; }
.hero-location { position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 21px; font-weight: 500; padding-block: 44px 50px; }

/* ---------- Category cards ---------- */
.categories { padding-bottom: clamp(60px, 7vw, 90px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--c-stone); display: flex; flex-direction: column; overflow: hidden; }
.card--dark { background: var(--c-ink-2); color: var(--c-cream); }
.card-img { aspect-ratio: 402 / 394; overflow: hidden; }
.card:nth-child(n+4) .card-img { aspect-ratio: 402 / 433; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 28px 26px 34px; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; }
.card p { font-size: 18px; font-weight: 500; line-height: 1.35; margin: 14px 0 26px; max-width: 26ch; opacity: .9; }
.card-link { font-family: var(--f-display); font-weight: 600; font-size: 21px; text-transform: uppercase; display: inline-flex; gap: 10px; }
.card-link span { transition: transform .3s; }
.card-link:hover span { transform: translateX(5px); }

/* ---------- Steps ---------- */
.steps-section { padding-top: clamp(40px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 70px; }
.step h3 {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.2vw, 44px);
  text-transform: uppercase; display: flex; align-items: center; gap: .25em; white-space: nowrap;
}
.step:not(:last-child) h3::after { content: ''; flex: 1; height: 2px; background: var(--c-line); margin-left: 22px; transform-origin: left; }
.step p { font-size: 19px; font-weight: 500; line-height: 1.4; margin-top: 16px; max-width: 30ch; }

/* ---------- Trade ---------- */
.trade { background: var(--c-ink); color: var(--c-cream); }
.trade-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 60px; align-items: center; }
.trade .lead { max-width: 44ch; }
.perks { display: flex; flex-wrap: wrap; gap: 16px 64px; margin: 40px 0 44px; }
.perks li { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; }
.trade-img { margin: 0; overflow: hidden; aspect-ratio: 420 / 548; }
.trade-img img { width: 100%; height: 115%; object-fit: cover; }

/* ---------- Inventory ---------- */
.inventory { color: var(--c-cream); overflow: hidden; background: #2a2b28; padding-bottom: clamp(60px, 6vw, 80px); }
.inventory-media { position: absolute; inset: 0; }
.inventory-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.inventory-inner { position: relative; }
.search-box { max-width: 918px; margin: 0 auto 44px; }
.search-field {
  display: flex; align-items: center; gap: 16px; background: #fff; color: var(--c-muted);
  padding: 0 24px; height: 78px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.search-field input { flex: 1; border: 0; outline: 0; font: 500 24px var(--f-body); color: var(--c-ink); background: transparent; min-width: 0; }
.search-field:focus-within { outline: 2px solid var(--c-green); }
.results { background: #fff; color: var(--c-ink); padding: 14px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.results li {
  display: flex; align-items: center; gap: 18px; padding: 8px 18px;
  font-size: 23px; font-weight: 500; cursor: default; transition: background .2s;
}
.results li:hover, .results li:nth-child(2) { background: #efeee8; }
.results:hover li:nth-child(2):not(:hover) { background: transparent; }
.sw { width: 32px; height: 26px; flex: none; }
.sw--floor { background: #c7ab86; } .sw--door { background: #eceae4; border: 1px solid #ddd; }
.sw--win { border: 2px solid #999; background: linear-gradient(#999,#999) center/2px 100% no-repeat, linear-gradient(#999,#999) center/100% 2px no-repeat; }
.sw--van { background: linear-gradient(#f2f2f2 40%, #7c5c3d 40%); } .sw--shi { background: #3a3b37; height: 14px; } .sw--toi { background: #e8e8e8; border-radius: 50% 50% 20% 20%; }
.stock { margin-left: auto; width: 122px; height: 6px; background: #dedcd3; border-radius: 3px; overflow: hidden; }
.stock i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--c-green); border-radius: 3px; transform-origin: left; }
.no-results { font-size: 18px !important; color: var(--c-muted); }

/* ---------- Final CTA ---------- */
.final-cta { padding: 0 18px 24px; background: var(--c-bg); }
.final-frame { position: relative; padding: clamp(60px, 6vw, 80px) clamp(16px, 7vw, 98px); overflow: hidden; background: #8a8781; }
.final-media { position: absolute; inset: 0; }
.final-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.95); }
.final-card {
  position: relative; background: rgba(226,221,212,.96); text-align: center;
  padding: clamp(56px, 8vw, 150px) clamp(20px, 4vw, 40px) clamp(56px, 7vw, 110px);
}
.final-card .lead { margin: 18px auto 44px; }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-inline: 20px; }
.footer-logo { display: flex; flex-direction: column; }
.footer-logo .logo-mark { font-size: 104px; }
.footer-logo .logo-sub { font-size: 22px; margin-top: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px clamp(40px, 7vw, 100px); }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { font-family: var(--f-display); font-weight: 600; font-size: 23px; transition: opacity .2s; }
.footer-cols a:hover { opacity: .6; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 90px 20px 0; padding-top: 18px; border-top: 1px solid var(--c-line);
  font-family: var(--f-display); font-weight: 600; font-size: 21px;
}

/* ---------- Pre-animation states (JS only) ---------- */
.js .hero-anim, .js .reveal, .js .card, .js .step { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-anim, .js .reveal, .js .card, .js .step { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .trade-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .perks { gap: 14px 36px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 0; background: var(--c-ink);
    display: flex; align-items: center; padding: 0 var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 14px; }
  .primary-nav a { font-size: 44px; font-weight: 600; text-transform: uppercase; }
  .logo-mark { font-size: 46px; }
  .logo-sub { font-size: 16px; }
  .logo { position: relative; z-index: 2; }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step h3::after { display: none; }
  .trade-grid { grid-template-columns: 1fr; }
  .trade-img { aspect-ratio: 4 / 3; }
  .footer-cols { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-img, .card:nth-child(n+4) .card-img { aspect-ratio: 4 / 3; }
  .btn { width: 100%; min-height: 56px; font-size: 19px; }
  .hero-location { font-size: 17px; align-items: flex-start; }
  .search-field { height: 62px; }
  .search-field input, .results li { font-size: 19px; }
  .stock { width: 70px; }
  .final-cta { padding: 0 0 16px; }
  .footer-logo .logo-mark { font-size: 80px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-top { padding-inline: 0; }
  .footer-bottom { margin-inline: 0; }
}
.results li[hidden] { display: none; }

/* =========================================================
   Inner pages
   ========================================================= */
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Page hero */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--c-cream); overflow: hidden; background: #2a2b28; padding: 180px 0 80px; }
.page-hero-content { position: relative; }
.page-hero .hero-title { font-size: clamp(48px, 8vw, 116px); margin-top: 18px; }
.page-hero .hero-lead { margin-bottom: 0; }

/* Category chip nav */
.chip-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 70px; }
.chip-nav a { font-family: var(--f-display); font-weight: 600; font-size: 20px; text-transform: uppercase; border: 2px solid var(--c-ink); padding: 8px 18px; transition: background .25s, color .25s; }
.chip-nav a:hover { background: var(--c-ink); color: var(--c-cream); }

/* Material rows */
.mat-list { display: grid; gap: clamp(60px, 8vw, 110px); }
.mat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.mat-row--flip .mat-img { order: 2; }
.mat-img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.mat-img img { width: 100%; height: 100%; object-fit: cover; }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 28px 0 36px; }
.tick-list li { font-weight: 500; padding-left: 22px; position: relative; }
.tick-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--c-green); }

/* Spec cards */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.spec-grid--3 { grid-template-columns: repeat(3, 1fr); }
.spec-card { background: var(--c-stone); padding: 34px 28px 40px; }
.spec-card--dark { background: var(--c-ink-2); color: var(--c-cream); }
.spec-num { font-family: var(--f-display); font-weight: 600; font-size: 20px; opacity: .6; }
.spec-card h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); text-transform: uppercase; line-height: 1; margin: 40px 0 14px; }
.spec-card p { font-weight: 500; line-height: 1.45; opacity: .9; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(64px, 9vw, 128px); line-height: 1; }
.stat span { font-family: var(--f-display); font-weight: 500; font-size: 22px; text-transform: uppercase; }

/* CTA band */
.band { background: var(--c-ink); color: var(--c-cream); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Forms */
.form-wrap { max-width: 1000px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; background: #fff; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--c-line); }
.form--single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-display); font-weight: 600; font-size: 18px; text-transform: uppercase; }
.field input:not([type=checkbox]), .field select, .field textarea {
  font: 500 17px var(--f-body); color: var(--c-ink); background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px 16px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-green); outline-offset: 0; border-color: transparent; }
.field input[type=checkbox] { accent-color: var(--c-ink); width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.check { font-weight: 500; display: flex; align-items: center; background: var(--c-bg); border: 1px solid var(--c-line); padding: 12px 14px; cursor: pointer; }
.check:has(input:checked) { border-color: var(--c-ink); background: var(--c-stone); }
.form-status { font-weight: 600; color: #4b6b1c; min-height: 1em; }
.steps--compact { margin-bottom: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.info-block + .info-block { margin-top: 38px; }
.info-block .eyebrow { margin-bottom: 6px; opacity: .65; }
.info-big { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1.1; display: block; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; font-weight: 500; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.map-wrap { margin-top: 80px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); display: block; }

@media (max-width: 960px) {
  .mat-row { grid-template-columns: 1fr; }
  .mat-row--flip .mat-img { order: 0; }
  .spec-grid, .spec-grid--3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .spec-grid, .spec-grid--3, .stats, .form, .check-grid, .tick-list { grid-template-columns: 1fr; }
  .page-hero { min-height: 52vh; padding: 140px 0 56px; }
  .map-wrap iframe { height: 300px; }
}
.js .spec-card { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .spec-card { opacity: 1; } }
.info-big { overflow-wrap: anywhere; } .contact-grid > * { min-width: 0; }

/* ---------- Logo image ---------- */
.logo img { height: 44px; width: auto; transition: height .35s; }
.site-header.is-scrolled .logo img { height: 36px; }
.footer-logo img { height: auto; width: clamp(240px, 30vw, 380px); }
@media (max-width: 600px) { .logo img, .site-header.is-scrolled .logo img { height: 30px; } }

/* Spec tag (materials page) */
.spec-tag { display: inline-block; margin-top: 22px; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; border: 2px solid var(--c-ink); padding: 6px 14px; }

/* =========================================================
   Inventory pages
   ========================================================= */
.crumb { text-decoration: underline; text-underline-offset: 4px; }
.spec-tag--light { border-color: var(--c-cream); color: var(--c-cream); }
.inv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 18px; }
.inv-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-line); padding: 0 16px; height: 54px; flex: 1 1 280px; max-width: 420px; color: var(--c-muted); }
.inv-search:focus-within { outline: 2px solid var(--c-green); }
.inv-search input { border: 0; outline: 0; background: none; font: 500 17px var(--f-body); flex: 1; min-width: 0; color: var(--c-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-display); font-weight: 600; font-size: 17px; text-transform: uppercase; background: none; border: 2px solid var(--c-ink); color: var(--c-ink); padding: 7px 14px; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover, .chip.is-active { background: var(--c-ink); color: var(--c-cream); }
.inv-stock { font-weight: 600; display: flex; align-items: center; gap: 8px; cursor: pointer; margin-left: auto; }
.inv-stock input { accent-color: var(--c-ink); width: 18px; height: 18px; }
.inv-count { font-family: var(--f-display); font-weight: 600; font-size: 18px; text-transform: uppercase; color: var(--c-muted); margin-bottom: 12px; }
.inv-table-wrap { background: #fff; border: 1px solid var(--c-line); }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th { font-family: var(--f-display); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; text-align: left; padding: 16px 20px; background: var(--c-ink); color: var(--c-cream); }
.inv-table td { padding: 18px 20px; border-top: 1px solid #e7e4dc; font-weight: 500; vertical-align: middle; }
.inv-table tbody tr { transition: background .2s; }
.inv-table tbody tr:hover { background: #faf9f4; }
.inv-table tr[hidden] { display: none; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 16px; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--in { color: #5a7d22; } .status--low { color: #b07a12; } .status--order { color: #6b6b66; }
.td-action { text-align: right; }
.add-btn { font-family: var(--f-display); font-weight: 600; font-size: 16px; text-transform: uppercase; background: none; border: 2px solid var(--c-ink); padding: 6px 14px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.add-btn:hover, .add-btn[aria-pressed="true"] { background: var(--c-ink); color: var(--c-cream); }
.inv-empty { padding: 28px 20px; font-weight: 500; color: var(--c-muted); }
.inv-note { margin-top: 18px; color: var(--c-muted); font-weight: 500; }
.quote-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--c-ink); color: var(--c-cream); padding: 12px 0; box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
.quote-tray[hidden] { display: none; }
.quote-tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote-tray p { font-family: var(--f-display); font-size: 20px; text-transform: uppercase; }
.quote-tray .btn { min-height: 48px; width: auto; }
.inv-others { display: flex; flex-wrap: wrap; gap: 12px; }
.inv-others a { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; border: 2px solid rgba(241,237,226,.5); padding: 10px 22px; transition: background .2s, color .2s; }
.inv-others a:hover { background: var(--c-cream); color: var(--c-ink); }

@media (max-width: 760px) {
  .inv-stock { margin-left: 0; }
  .inv-table thead { display: none; }
  .inv-table, .inv-table tbody, .inv-table tr, .inv-table td { display: block; width: 100%; }
  .inv-table tr { padding: 16px 18px; border-top: 1px solid #e7e4dc; }
  .inv-table tr:first-child { border-top: 0; }
  .inv-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .inv-table td::before { content: attr(data-label); font-family: var(--f-display); font-weight: 600; text-transform: uppercase; color: var(--c-muted); text-align: left; }
  .inv-table td:first-child { text-align: left; font-size: 19px; margin-bottom: 6px; }
  .inv-table td:first-child::before { display: none; }
  .td-action { padding-top: 12px !important; }
  .td-action .add-btn { width: 100%; }
}

/* =========================================================
   Materials page (editorial redesign)
   ========================================================= */
.page-materials { --c-stone-2: #e9e5dc; }

/* Hero */
.mx-hero { background: var(--c-ink); color: var(--c-cream); padding: 170px 0 90px; position: relative; overflow: hidden; }
.mx-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 30%, rgba(241,237,226,.07), transparent 70%); pointer-events: none; }
.mx-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.mx-hero-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .9; font-size: clamp(56px, 7.4vw, 118px); margin: 18px 0 0; }
.mx-hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.mx-hero-title .line > span { display: block; }
.mx-hero-title .line:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--c-cream); }
.mx-hero-lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; max-width: 42ch; margin: 28px 0 40px; opacity: .85; }

/* Mosaic */
.mx-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(120px, 13vw, 190px); gap: 10px; }
.mx-tile { position: relative; overflow: hidden; display: block; background: #222; }
.mx-tile:nth-child(1) { grid-row: span 2; }
.mx-tile:nth-child(5) { grid-column: span 2; }
.mx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; filter: grayscale(.25) brightness(.8); }
.mx-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.75), transparent 55%); }
.mx-tile-label { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); text-transform: uppercase; display: flex; align-items: baseline; gap: 8px; }
.mx-tile-label em { font-style: normal; font-size: .7em; opacity: .7; }
.mx-tile:hover img, .mx-tile:focus-visible img { transform: scale(1.08); filter: none; }

/* Marquee */
.mx-marquee { background: var(--c-stone); border-block: 1px solid var(--c-line); overflow: hidden; padding: 18px 0; }
.mx-marquee-track { display: flex; gap: 40px; width: max-content; animation: mx-marq 38s linear infinite; }
.mx-marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 46px); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.mx-marquee-track span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.2px var(--c-ink); }
.mx-marquee-track span[aria-hidden] { font-size: 22px; align-self: center; opacity: .5; }
@keyframes mx-marq { to { transform: translateX(-50%); } }

/* Sticky index */
.mx-index { position: sticky; top: 64px; z-index: 30; background: rgba(244,244,236,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.mx-index-inner { display: flex; gap: clamp(14px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.mx-index-inner::-webkit-scrollbar { display: none; }
.mx-index a { font-family: var(--f-display); font-weight: 600; font-size: 19px; text-transform: uppercase; padding: 16px 0 13px; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; gap: 6px; align-items: baseline; color: var(--c-muted); transition: color .25s, border-color .25s; }
.mx-index a em { font-style: normal; font-size: 13px; }
.mx-index a:hover, .mx-index a.is-active { color: var(--c-ink); border-color: var(--c-ink); }

/* Rows */
.mx-row { padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 110px; }
.mx-row--light { background: var(--c-bg); }
.mx-row--stone { background: var(--c-stone-2); }
.mx-row--dark { background: var(--c-ink); color: var(--c-cream); }
.mx-row-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mx-row--flip .mx-media { order: 2; }

.mx-media { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: #ccc; }
.mx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.mx-media:hover img { transform: scale(1.05); }
.mx-num { position: absolute; top: -0.12em; right: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(110px, 14vw, 220px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); pointer-events: none; mix-blend-mode: overlay; }
.mx-row--flip .mx-num { right: auto; left: 18px; }
.mx-media-cta { position: absolute; left: 0; bottom: 0; background: var(--c-ink); color: var(--c-cream); font-family: var(--f-display); font-weight: 600; font-size: 18px; text-transform: uppercase; padding: 14px 22px; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.mx-media:hover .mx-media-cta, .mx-media:focus-visible .mx-media-cta { transform: none; }

.mx-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .9; font-size: clamp(56px, 7vw, 112px); margin: 10px 0 22px; }
.mx-lead { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.45; max-width: 36ch; }
.mx-spec { display: flex; align-items: center; gap: 16px; margin: 30px 0 28px; padding: 16px 0; border-block: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.mx-spec span { font-family: var(--f-display); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.mx-spec strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; }
.mx-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 36px; }
.mx-feats li { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; font-weight: 600; background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.07); transition: transform .3s, background .3s; }
.mx-row--dark .mx-feats li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.mx-feats li:hover { transform: translateY(-2px); background: #fff; }
.mx-row--dark .mx-feats li:hover { background: rgba(255,255,255,.1); }
.mx-feats li span { font-family: var(--f-display); font-size: 14px; opacity: .5; }
.mx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.mx-link { font-family: var(--f-display); font-weight: 600; font-size: 20px; text-transform: uppercase; display: inline-flex; gap: 8px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.mx-link span { transition: transform .3s; }
.mx-link:hover span { transform: translateX(5px); }

/* CTA */
.mx-cta { position: relative; color: var(--c-cream); padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; background: #1c1c1a; }
.mx-cta-media { position: absolute; inset: 0; }
.mx-cta-media img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) brightness(.35); }
.mx-cta-inner { position: relative; }

/* JS pre-animation */
.js .mx-reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .mx-reveal { opacity: 1; }
  .mx-marquee-track { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .mx-hero-grid { grid-template-columns: 1fr; }
  .mx-row-grid { grid-template-columns: 1fr; }
  .mx-row--flip .mx-media { order: 0; }
}
@media (max-width: 960px) { .mx-index { top: 58px; } }
@media (max-width: 600px) {
  .mx-hero { padding: 130px 0 60px; }
  .mx-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .mx-tile:nth-child(1) { grid-row: span 1; }
  .mx-tile:nth-child(5) { grid-column: span 1; }
  .mx-feats { grid-template-columns: 1fr; }
  .mx-actions .btn { width: 100%; }
}
/* fixes */
.mx-hero-grid > * { min-width: 0; }
.mx-mosaic { grid-template-areas: "a a b" "a a c" "d e f"; }
.mx-tile:nth-child(1) { grid-area: a; } .mx-tile:nth-child(2) { grid-area: b; } .mx-tile:nth-child(3) { grid-area: c; }
.mx-tile:nth-child(4) { grid-area: d; } .mx-tile:nth-child(5) { grid-area: e; grid-column: auto; } .mx-tile:nth-child(6) { grid-area: f; }
@media (max-width: 600px) {
  .mx-hero-title { font-size: clamp(40px, 12vw, 56px); }
  .mx-mosaic { grid-template-areas: "a a" "b c" "d e" "f f"; grid-auto-rows: 120px; }
  .mx-tile:nth-child(1) { grid-row: auto; }
}
@media (min-width: 601px) { .mx-hero-title { font-size: clamp(52px, 6vw, 100px); } }

/* =========================================================
   Trade Accounts page (redesign)
   ========================================================= */
/* Hero */
.tx-hero { position: relative; color: var(--c-cream); background: var(--c-ink); padding: 190px 0 110px; overflow: hidden; }
.tx-hero-media { position: absolute; inset: 0; }
.tx-hero-media img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(1) brightness(.3); }
.tx-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,18,.92) 0%, rgba(17,19,18,.55) 70%, rgba(17,19,18,.35)); }
.tx-hero-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: end; }
.tx-hero-grid > * { min-width: 0; }
.tx-hero-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .9; font-size: clamp(48px, 7vw, 112px); margin: 18px 0 0; }
.tx-hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.tx-hero-title .line > span { display: block; }
.tx-hero-title .line:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--c-cream); }
.tx-hero-lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; max-width: 44ch; margin: 28px 0 40px; opacity: .88; }
.tx-hero-badges { display: grid; gap: 1px; background: rgba(241,237,226,.2); border: 1px solid rgba(241,237,226,.2); }
.tx-hero-badges li { background: rgba(17,19,18,.65); backdrop-filter: blur(6px); padding: 22px 26px; display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; }
.tx-hero-badges strong { font-size: 15px; opacity: .55; }

/* Perks */
.tx-perks-section { background: var(--c-bg); }
.tx-head .h2 { font-size: clamp(40px, 5.4vw, 80px); }
.tx-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tx-perk { position: relative; background: var(--c-ink); color: var(--c-cream); padding: 44px 34px 48px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.tx-perk:hover { transform: translateY(-6px); }
.tx-perk-num { position: absolute; right: 18px; top: -10px; font-family: var(--f-display); font-weight: 700; font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(241,237,226,.14); pointer-events: none; }
.tx-perk-icon { width: 58px; height: 58px; color: var(--c-cream); margin-bottom: 70px; }
.tx-perk-icon svg { width: 100%; height: 100%; }
.tx-perk h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3vw, 44px); text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.tx-perk p { font-weight: 500; line-height: 1.5; opacity: .8; max-width: 32ch; }
.tx-perk::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c-green); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.tx-perk:hover::after { transform: scaleX(1); }

/* Compare */
.tx-compare-section { background: #e9e5dc; }
.tx-compare-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tx-compare-grid > * { min-width: 0; }
.tx-table-wrap { background: #fff; border: 1px solid var(--c-line); overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th, .tx-table td { padding: 20px 22px; text-align: left; border-top: 1px solid #ebe8e0; font-weight: 500; }
.tx-table thead th { border-top: 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; text-transform: uppercase; color: var(--c-muted); }
.tx-table thead .tx-col-hl { background: var(--c-ink); color: var(--c-cream); }
.tx-table tbody th { font-family: var(--f-display); font-weight: 600; font-size: 19px; text-transform: uppercase; }
.tx-table td:last-child { background: #f7f6f0; font-weight: 600; }
.tx-check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-green); color: #fff; font-size: 12px; margin-right: 10px; vertical-align: 1px; }

/* Steps */
.tx-steps-section { background: var(--c-bg); }
.tx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--c-ink); }
.tx-steps li { padding: 34px 30px 10px 0; position: relative; }
.tx-steps li + li { padding-left: 30px; border-left: 1px solid var(--c-line); }
.tx-step-num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-ink); color: var(--c-cream); font-family: var(--f-display); font-weight: 600; font-size: 22px; margin-bottom: 28px; }
.tx-steps h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 2.8vw, 40px); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.tx-steps p { font-weight: 500; line-height: 1.5; max-width: 32ch; }

/* Apply */
.tx-apply { background: var(--c-ink); color: var(--c-cream); scroll-margin-top: 60px; }
.tx-apply-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.tx-apply-grid > * { min-width: 0; }
.tx-apply-side { position: sticky; top: 120px; }
.tx-side-list { margin: 34px 0; display: grid; gap: 12px; }
.tx-side-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.tx-side-list li::before { content: '✓'; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-green); color: #fff; font-size: 12px; flex: none; }
.tx-side-call { border-top: 1px solid rgba(241,237,226,.2); padding-top: 26px; display: grid; gap: 4px; }
.tx-side-call span { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; opacity: .6; }
.tx-side-call a { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; }
.tx-side-call small { opacity: .6; font-weight: 500; }
.tx-form { border: 0; box-shadow: 0 30px 60px rgba(0,0,0,.35); color: var(--c-ink); }

/* FAQ */
.tx-faq-section { background: var(--c-bg); }
.tx-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.tx-faq-grid > * { min-width: 0; }
.tx-faq { border-top: 1px solid var(--c-line); }
.tx-faq:last-child { border-bottom: 1px solid var(--c-line); }
.tx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; }
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary i { position: relative; width: 20px; height: 20px; flex: none; }
.tx-faq summary i::before, .tx-faq summary i::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; transition: transform .3s; }
.tx-faq summary i::after { transform: rotate(90deg); }
.tx-faq[open] summary i::after { transform: rotate(0); }
.tx-faq p { padding: 0 40px 26px 0; font-weight: 500; font-size: 18px; line-height: 1.55; max-width: 60ch; }

.js .tx-reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .tx-reveal { opacity: 1; } }

/* Responsive */
@media (max-width: 1024px) {
  .tx-hero-grid, .tx-compare-grid, .tx-apply-grid, .tx-faq-grid { grid-template-columns: 1fr; }
  .tx-apply-side { position: static; }
  .tx-perks { grid-template-columns: 1fr; }
  .tx-perk-icon { margin-bottom: 36px; }
}
@media (max-width: 760px) {
  .tx-hero { padding: 140px 0 70px; }
  .tx-steps { grid-template-columns: 1fr; }
  .tx-steps li, .tx-steps li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
  .tx-table th, .tx-table td { padding: 14px 12px; font-size: 15px; }
  .tx-table tbody th { font-size: 16px; }
  .tx-check { display: none; }
}

/* =========================================================
   Quote page (redesign)
   ========================================================= */
.qx-hero { background: var(--c-ink); color: var(--c-cream); padding: 180px 0 100px; position: relative; overflow: hidden; }
.qx-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 90% 20%, rgba(241,237,226,.08), transparent 70%); }
.qx-hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.qx-hero-grid > * { min-width: 0; }
.qx-hero-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .9; font-size: clamp(48px, 7vw, 112px); margin-top: 18px; }
.qx-hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.qx-hero-title .line > span { display: block; }
.qx-hero-title .line:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--c-cream); }
.qx-hero-lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; max-width: 44ch; margin-top: 26px; opacity: .88; }
.qx-flow { display: grid; border-left: 1px solid rgba(241,237,226,.25); }
.qx-flow li { display: flex; gap: 20px; align-items: flex-start; padding: 16px 0 16px 26px; position: relative; }
.qx-flow li::before { content: ''; position: absolute; left: -6px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--c-cream); }
.qx-flow li span { font-family: var(--f-display); font-weight: 600; opacity: .5; padding-top: 6px; }
.qx-flow strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 28px; text-transform: uppercase; line-height: 1.1; }
.qx-flow div { font-weight: 500; opacity: .8; }
.qx-flow div strong { opacity: 1; }

/* Body */
.qx-body { background: var(--c-bg); padding: 80px 0 120px; }
.qx-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.qx-grid > * { min-width: 0; }
.qx-form { display: grid; gap: 22px; }
.qx-block { background: #fff; border: 1px solid var(--c-line); padding: clamp(24px, 3.5vw, 40px); margin: 0; min-width: 0; }
.qx-block legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); text-transform: uppercase; margin-bottom: 24px; padding: 0; }
.qx-block legend + * { clear: both; }
.qx-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink); color: var(--c-cream); font-size: 18px; flex: none; }
.qx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.qx-block > .field { margin-bottom: 20px; }
.qx-hint { color: var(--c-muted); font-weight: 500; margin: -8px 0 18px; clear: both; }

/* Material tiles */
.qx-mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qx-mat { position: relative; cursor: pointer; border: 2px solid var(--c-line); background: var(--c-bg); transition: border-color .2s, transform .25s; display: block; }
.qx-mat:hover { transform: translateY(-3px); border-color: #999; }
.qx-mat input { position: absolute; opacity: 0; pointer-events: none; }
.qx-mat-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.qx-mat-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .3s, transform .6s; }
.qx-mat-name { display: block; padding: 12px 14px; font-family: var(--f-display); font-weight: 600; font-size: 20px; text-transform: uppercase; }
.qx-mat-tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.9); border: 2px solid var(--c-ink); transition: background .2s; }
.qx-mat-tick::after { content: ''; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px; border: solid var(--c-cream); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .2s; }
.qx-mat:has(input:checked) { border-color: var(--c-ink); }
.qx-mat:has(input:checked) .qx-mat-img img { filter: none; transform: scale(1.05); }
.qx-mat:has(input:checked) .qx-mat-name { background: var(--c-ink); color: var(--c-cream); }
.qx-mat:has(input:checked) .qx-mat-tick { background: var(--c-green); border-color: var(--c-green); }
.qx-mat:has(input:checked) .qx-mat-tick::after { transform: rotate(45deg) scale(1); }
.qx-mat:has(input:focus-visible) { outline: 2px solid var(--c-green); outline-offset: 3px; }

/* Drop zone */
.qx-drop { margin-top: 20px; display: flex; align-items: center; gap: 20px; border: 2px dashed var(--c-line); padding: 26px; cursor: pointer; background: var(--c-bg); transition: border-color .2s, background .2s; flex-wrap: wrap; }
.qx-drop:hover, .qx-drop.is-over { border-color: var(--c-ink); background: #efede5; }
.qx-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qx-drop svg { width: 40px; height: 40px; flex: none; }
.qx-drop-text { font-weight: 500; line-height: 1.4; }
.qx-drop-text small { color: var(--c-muted); }
.qx-drop-files { flex-basis: 100%; font-weight: 600; color: #4b6b1c; }
.qx-drop-files:empty { display: none; }
.qx-drop:has(input:focus-visible) { outline: 2px solid var(--c-green); }

.qx-submit { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.qx-submit .btn { min-height: 66px; padding: 0 44px; font-size: 23px; gap: 12px; }

/* Sidebar */
.qx-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.qx-summary { background: var(--c-ink); color: var(--c-cream); padding: 30px; }
.qx-summary-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; min-height: 36px; }
.qx-summary-list li { font-family: var(--f-display); font-weight: 600; font-size: 17px; text-transform: uppercase; border: 1px solid rgba(241,237,226,.4); padding: 6px 12px; }
.qx-summary-list .qx-empty { border: 0; padding: 0; font-family: var(--f-body); text-transform: none; font-weight: 500; opacity: .6; font-size: 16px; }
.qx-progress { height: 6px; background: rgba(241,237,226,.15); border-radius: 3px; overflow: hidden; }
.qx-progress span { display: block; height: 100%; width: 0; background: var(--c-green); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.qx-progress-label { margin-top: 10px; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; opacity: .7; }
.qx-call { background: var(--c-stone); padding: 26px 30px; display: grid; gap: 4px; }
.qx-call .eyebrow { margin: 0; opacity: .6; }
.qx-call a { font-family: var(--f-display); font-weight: 600; font-size: 40px; line-height: 1; }
.qx-call small { color: var(--c-muted); font-weight: 500; }
.qx-trade { border: 1px solid var(--c-line); padding: 26px 30px; }
.qx-trade strong { font-family: var(--f-display); font-size: 24px; text-transform: uppercase; }
.qx-trade p { font-weight: 500; margin: 8px 0 16px; color: var(--c-muted); }

.js .qx-reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .qx-reveal { opacity: 1; } }

@media (max-width: 1024px) {
  .qx-hero-grid, .qx-grid { grid-template-columns: 1fr; }
  .qx-side { position: static; grid-template-columns: 1fr 1fr; }
  .qx-summary { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .qx-hero { padding: 140px 0 70px; }
  .qx-fields, .qx-side { grid-template-columns: 1fr; }
  .qx-mats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qx-mat-name { font-size: 17px; padding: 10px; }
  .qx-submit .btn { width: 100%; }
  .qx-call a { font-size: 34px; }
}

/* =========================================================
   Contact page (redesign)
   ========================================================= */
.cx-hero { position: relative; background: var(--c-ink); color: var(--c-cream); padding: 190px 0 150px; overflow: hidden; }
.cx-hero-media { position: absolute; inset: 0; }
.cx-hero-media img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(1) brightness(.28); }
.cx-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,18,.9), rgba(17,19,18,.4)); }
.cx-hero-inner { position: relative; }
.cx-hero-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .9; font-size: clamp(56px, 9vw, 150px); margin-top: 18px; }
.cx-hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.cx-hero-title .line > span { display: block; }
.cx-hero-title .line:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--c-cream); }
.cx-hero-lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; max-width: 46ch; margin: 26px 0 44px; opacity: .88; }
.cx-bigphone { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 26px; border-top: 1px solid rgba(241,237,226,.3); padding-top: 22px; }
.cx-bigphone-label { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .6; margin-bottom: 6px; }
.cx-bigphone-num { font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 6vw, 92px); line-height: 1; }
.cx-bigphone-arrow { font-size: clamp(32px, 4vw, 60px); transition: transform .35s; }
.cx-bigphone:hover .cx-bigphone-arrow { transform: translateX(10px); }

/* Info cards (overlap hero) */
.cx-cards-section { background: var(--c-bg); }
.cx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: translateY(-70px); margin-bottom: -70px; position: relative; z-index: 2; }
.cx-card { background: #fff; border: 1px solid var(--c-line); padding: 34px 30px 36px; display: flex; flex-direction: column; box-shadow: 0 24px 50px rgba(0,0,0,.12); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
a.cx-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.cx-card--dark { background: var(--c-ink-2); color: var(--c-cream); border-color: var(--c-ink-2); }
.cx-card-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: var(--c-cream); margin-bottom: 30px; }
.cx-card--dark .cx-card-icon { background: var(--c-cream); color: var(--c-ink); }
.cx-card-icon svg { width: 22px; height: 22px; }
.cx-card .eyebrow { margin-bottom: 4px; opacity: .6; }
.cx-card strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 2.8vw, 40px); text-transform: uppercase; line-height: 1.05; }
.cx-card-sub { margin-top: 10px; font-weight: 500; opacity: .75; }

/* Form + map */
.cx-main { background: var(--c-bg); }
.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cx-grid > * { min-width: 0; }
.cx-inline { text-decoration: underline; text-underline-offset: 3px; }
.cx-form { margin-top: 34px; gap: 20px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cx-topics { border: 0; padding: 0; }
.cx-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cx-pills label { cursor: pointer; }
.cx-pills label { position: relative; }
.cx-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.cx-pills span { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: 17px; text-transform: uppercase; border: 2px solid var(--c-line); padding: 8px 16px; transition: all .2s; }
.cx-pills label:hover span { border-color: var(--c-ink); }
.cx-pills input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-cream); }
.cx-pills input:focus-visible + span { outline: 2px solid var(--c-green); outline-offset: 2px; }
.cx-form .btn { gap: 12px; }

.cx-map-wrap { position: sticky; top: 110px; display: grid; gap: 18px; }
.cx-map { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; border: 1px solid var(--c-line); background: #ddd; }
.cx-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.cx-map-tag { position: absolute; left: 16px; bottom: 16px; background: var(--c-ink); color: var(--c-cream); padding: 14px 18px; display: grid; gap: 2px; }
.cx-map-tag strong { font-family: var(--f-display); font-size: 20px; text-transform: uppercase; }
.cx-map-tag span { font-weight: 500; opacity: .75; font-size: 15px; }
.cx-appt { background: var(--c-stone); padding: 28px 30px; }
.cx-appt .eyebrow { margin-bottom: 8px; }
.cx-appt p:not(.eyebrow) { font-weight: 500; line-height: 1.5; margin-bottom: 16px; }

.js .cx-reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .cx-reveal { opacity: 1; } }

@media (max-width: 1024px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-map-wrap { position: static; }
}
@media (max-width: 760px) {
  .cx-hero { padding: 140px 0 110px; }
  .cx-cards { grid-template-columns: 1fr; transform: translateY(-50px); margin-bottom: -50px; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-bigphone { column-gap: 14px; }
  .cx-form .btn { width: 100%; }
}

/* =========================================================
   Homepage polish pass
   ========================================================= */
/* Hero */
.page-home .hero { min-height: max(100svh, 820px); }
.page-home .hero-media img { filter: grayscale(.5) brightness(.6); }
.page-home .hero-title .line:last-child > span { color: transparent; -webkit-text-stroke: 1.5px var(--c-cream); }
.hx-bar { position: relative; border-top: 1px solid rgba(241,237,226,.18); background: rgba(17,19,18,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hx-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 26px; }
.hx-loc { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 20px; font-weight: 500; max-width: 320px; line-height: 1.25; }
.hx-stats { display: flex; gap: clamp(24px, 4vw, 60px); }
.hx-stats li { display: flex; align-items: center; gap: 14px; }
.hx-stats strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.hx-stats span { font-family: var(--f-display); font-weight: 500; font-size: 15px; text-transform: uppercase; line-height: 1.15; opacity: .7; }
.hx-scroll { width: 30px; height: 50px; border: 2px solid rgba(241,237,226,.6); border-radius: 16px; position: relative; flex: none; }
.hx-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--c-cream); animation: hx-scroll 1.8s infinite; }
@keyframes hx-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Category cards: bento with image overlay */
.page-home .card-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 18px; }
.page-home .card { position: relative; background: #222; color: var(--c-cream); isolation: isolate; }
.page-home .card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.page-home .card:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.page-home .card:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.page-home .card:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.page-home .card:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.page-home .card:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.page-home .card-img, .page-home .card:nth-child(n+4) .card-img { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.page-home .card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,11,.9) 0%, rgba(12,12,11,.35) 45%, rgba(12,12,11,.05) 75%); transition: opacity .5s; }
.page-home .card-img img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.page-home .card:hover .card-img img { transform: scale(1.07); }
.page-home .card-body { margin-top: auto; padding: 26px 28px 28px; }
.page-home .card h3 { font-size: clamp(30px, 3vw, 46px); }
.page-home .card:nth-child(1) h3 { font-size: clamp(44px, 5vw, 76px); }
.page-home .card p { margin: 8px 0 0; max-width: 32ch; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .5s, margin .5s, opacity .4s; opacity: 0; }
.page-home .card:nth-child(1) p, .page-home .card:hover p, .page-home .card:focus-within p { max-height: 4.5em; opacity: .85; }
.page-home .card-link { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(241,237,226,.3); width: 100%; justify-content: space-between; }
.page-home .card-link::after { content: ''; position: absolute; inset: 0; }
.hx-card-num { position: absolute; top: 18px; left: 22px; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--c-cream); opacity: .8; z-index: 1; }

/* Steps: numbered nodes on a line */
.page-home .steps { position: relative; }
.page-home .step h3 span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-ink); color: var(--c-cream); font-size: 24px; margin-right: 10px; flex: none; }
.page-home .step h3 { gap: 6px; }

/* Trade collage */
.hx-collage { position: relative; overflow: visible; aspect-ratio: 4 / 4.6; }
.hx-collage > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.hx-collage .hx-collage-sm { position: absolute; width: 42%; aspect-ratio: 1; object-fit: cover; left: -14%; bottom: -6%; border: 8px solid var(--c-ink); }
.hx-badge { position: absolute; top: 22px; right: -14px; background: var(--c-cream); color: var(--c-ink); padding: 14px 20px; display: grid; gap: 2px; box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.hx-badge strong { font-family: var(--f-display); font-size: 28px; text-transform: uppercase; line-height: 1; }
.hx-badge span { font-family: var(--f-display); font-weight: 500; font-size: 15px; text-transform: uppercase; }
.page-home .perks li { display: flex; align-items: center; gap: 10px; }
.page-home .perks li::before { content: ''; width: 10px; height: 10px; background: var(--c-green); border-radius: 50%; }

/* Inventory rows as links */
.page-home .results li[data-href] { cursor: pointer; }
.page-home .results li[data-href]::after { content: '→'; margin-left: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.page-home .results li[data-href]:hover::after, .page-home .results li[data-href]:focus-visible::after { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hx-stats { display: none; }
  .page-home .card-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .page-home .card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .page-home .card:nth-child(1) { grid-column: span 2; }
  .page-home .card p { max-height: 4.5em; opacity: .85; }
  .hx-collage .hx-collage-sm { left: auto; right: 4%; }
}
@media (max-width: 600px) {
  .hx-scroll { display: none; }
  .hx-loc { font-size: 16px; }
  .page-home .card-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .page-home .card:nth-child(1) { grid-column: span 1; }
  .page-home .card:nth-child(1) h3 { font-size: 44px; }
  .hx-collage { aspect-ratio: 4 / 3.4; }
  .hx-collage .hx-collage-sm { width: 42%; bottom: -10%; border-width: 6px; }
  .hx-badge { right: 10px; }
  .page-home .step h3 span { width: 52px; height: 52px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .hx-scroll span { animation: none; } }
.hx-collage .hx-collage-sm { height: auto; } .hx-collage > img:first-child { height: 100%; }

/* =========================================================
   Homepage search results
   ========================================================= */
.sx-hits[hidden], #material-results[hidden] { display: none; }
.sx-hits li { padding: 0 !important; background: none !important; }
.sx-hit { display: flex; align-items: center; gap: 18px; width: 100%; padding: 12px 18px; transition: background .2s; }
.sx-hit:hover, .sx-hit:focus-visible { background: #efeee8; }
.sx-tag { flex: none; min-width: 92px; font-family: var(--f-display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--c-muted); }
.sx-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.sx-main strong { font-weight: 600; font-size: 21px; }
.sx-main small { font-size: 15px; color: var(--c-muted); font-weight: 500; }
.sx-hits mark { background: #e3ecc9; color: inherit; padding: 0 1px; }
.sx-go { font-size: 22px; }
.sx-none { padding: 18px !important; font-size: 18px !important; color: var(--c-muted); display: block !important; }
.sx-none a { text-decoration: underline; color: var(--c-ink); }
@media (max-width: 600px) {
  .sx-hit { flex-wrap: wrap; gap: 4px 12px; }
  .sx-tag { min-width: 0; flex-basis: 100%; }
  .sx-main strong { font-size: 18px; }
}
/* Search results: fixed height, scroll inside */
.sx-hits { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

/* Final CTA: solid black frame */
.final-frame { background: #000; }

/* =========================================================
   LUXURY MOTION LAYER
   ========================================================= */
/* Lenis */
html.lx-lenis, html.lx-lenis body { height: auto; }
html.lx-lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* Curtain / preloader */
.lx-curtain { position: fixed; inset: 0; z-index: 9999; background: #0c0d0c; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px; pointer-events: none; }
.lx-curtain-logo { width: min(320px, 60vw); height: auto; }
.lx-count { position: absolute; right: 5vw; bottom: 4vh; font-family: var(--f-display); font-weight: 600; font-size: clamp(64px, 12vw, 180px); line-height: 1; color: var(--c-cream); opacity: .9; }
.lx-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c-green); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .lx-curtain { display: none !important; } }
html:not(.js) .lx-curtain { display: none; }

/* Scroll progress */
.lx-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--c-green); transform-origin: left; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* Split headings */
.lx-split .lx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.lx-split .lx-wi { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* Eyebrow line draw */
.lx-eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.lx-eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.19,1,.22,1); }
.lx-eyebrow.is-in::before { transform: scaleX(1); }
.center .lx-eyebrow, .section-head.center .lx-eyebrow, .final-card .lx-eyebrow { justify-content: center; }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); z-index: -1; transition: left .8s cubic-bezier(.19,1,.22,1); pointer-events: none; }
.btn:hover::after { left: 130%; }
.btn-dark::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); }

/* Custom cursor */
.lx-cursor-dot, .lx-cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .3s; }
.lx-cursor-on .lx-cursor-dot, .lx-cursor-on .lx-cursor-ring { opacity: 1; }
.lx-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.lx-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid #fff; mix-blend-mode: difference; display: grid; place-items: center; transition: opacity .3s, width .45s cubic-bezier(.19,1,.22,1), height .45s cubic-bezier(.19,1,.22,1), margin .45s cubic-bezier(.19,1,.22,1), background .3s, border-color .3s; }
.lx-cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,1); }
.lx-cursor-ring.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--c-cream); border-color: var(--c-cream); mix-blend-mode: normal; }
.lx-cursor-ring.is-down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.lx-cursor-label { font-family: var(--f-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink); opacity: 0; transition: opacity .2s; }
.lx-cursor-ring.is-view .lx-cursor-label { opacity: 1; }
.lx-has-cursor .lx-cursor-ring.is-view ~ * { cursor: none; }

/* Link underline grow (nav + footer) */
.footer-cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s cubic-bezier(.19,1,.22,1), opacity .2s; }
.footer-cols a:hover { background-size: 100% 1px; opacity: 1; }

/* Image zoom smoothing */
.card-img img, .mx-media img, .mx-tile img, .qx-mat-img img { will-change: transform; }

/* 3D tilt containers */
.page-home .card, .tx-perk, .cx-card { transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .lx-progress, .lx-cursor-dot, .lx-cursor-ring { display: none; }
  .btn::after { display: none; }
}

/* Lenis fix: native smooth scroll must be off while Lenis runs */
html.lenis, html.lx-smooth { scroll-behavior: auto !important; }
html.lenis body { height: auto; }
