/* ============================================================
   405 Custom Cabinetry - homepage concept
   Design language: #3 Bold Contrast (type, spacing, motion,
   composition ONLY). Every colour below is taken from 405's own
   material: their Squarespace theme tokens and their carved
   maple-and-walnut logo. No stock palette. No em dashes.
   ============================================================ */

:root {
  /* --- Ink family: their theme --black-hsl 222,12.5%,15.69% (#23262D),
         deepened one step for hero contrast, plus their
         --darkAccent-hsl 0,0%,21.96% (#383838). --- */
  --ink:        #14161a;
  --ink-2:      #23262d;
  --charcoal:   #383838;
  --charcoal-2: #4a4f58;

  /* --- Light family: their --lightAccent-hsl 60,4.35%,95.49% --- */
  --bone:       #f4f4f3;
  --bone-2:     #e9e9e6;
  --white:      #ffffff;

  /* --- Accent: their --accent-hsl 46.82,100%,50% (#ffc700),
         literally painted on their icon chips in custom.css --- */
  --amber:       #ffc700;
  --amber-deep:  #7d6200;
  --amber-soft:  rgba(255, 199, 0, 0.16);
  --amber-line:  rgba(255, 199, 0, 0.35);

  /* --- Wood family, sampled from their carved logo --- */
  --walnut: #8a4b20;
  --maple:  #e7c295;

  /* --- Text --- */
  --text-dark:        #14161a;
  --text-body:        #4a4f58;
  --text-muted:       #686e77;
  --text-light:       rgba(255, 255, 255, 0.92);
  --text-light-muted: rgba(255, 255, 255, 0.72);

  /* --- Type: Bold Contrast --- */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Layout --- */
  --container:  min(90%, 1240px);
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --nav-height: 84px;
  --section-pad: clamp(3.25rem, 7vw, 6rem);
  --radius:     4px;

  /* --- Motion: Bold Contrast snappy spring --- */
  --ease-snap:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.05vw, 1.06rem);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }

/* ---------------- shared type ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber-deep);
}
.eyebrow::before {
  content: ""; width: 2.1rem; height: 2px;
  background: var(--amber); flex-shrink: 0;
}
.on-dark .eyebrow { color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: var(--text-dark);
  text-wrap: balance;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

h1 { font-size: clamp(2.75rem, 7.6vw, 6.2rem); }
h2 { font-size: clamp(2.05rem, 4.8vw, 3.8rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); letter-spacing: -0.03em; }
h4 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); letter-spacing: -0.02em; }

.lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.65; }
.on-dark p { color: var(--text-light-muted); }

/* ---------------- buttons ---------------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.6rem 0.95rem 1.9rem;
  border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out);
  will-change: transform;
}
.btn-pill__icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-snap), background 0.45s var(--ease-out);
}
.btn-pill__icon svg { width: 11px; height: 11px; display: block; }
.btn-pill:hover .btn-pill__icon { transform: translateX(3px); }

.btn-pill--primary { background: var(--amber); color: var(--ink); }
.btn-pill--primary .btn-pill__icon { background: rgba(20, 22, 26, 0.14); }
.btn-pill--primary:hover { background: var(--white); }

.btn-pill--dark { background: var(--ink); color: var(--white); }
.btn-pill--dark .btn-pill__icon { background: rgba(255, 255, 255, 0.16); }
.btn-pill--dark:hover { background: var(--charcoal); }

.btn-pill--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-pill--ghost .btn-pill__icon { background: rgba(255, 255, 255, 0.14); }
.btn-pill--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-pill--ghost:hover .btn-pill__icon { background: rgba(20, 22, 26, 0.12); }

.btn-pill--lg { padding: 1.1rem 1.8rem 1.1rem 2.2rem; font-size: 0.82rem; }

.text-link {
  position: relative; display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-deep);
  padding-block: 0.65rem;
}
.on-dark .text-link { color: var(--amber); }
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0.4rem;
  width: 100%; height: 1px; background: currentColor; opacity: 0.4;
  transition: opacity 0.4s var(--ease-out);
}
.text-link:hover::after { opacity: 1; }

/* ---------------- navigation ---------------- */
/* z-index 400 sits ABOVE .mobile-menu (300) on purpose: rule 20 requires the
   hamburger to stay clickable while the overlay is open. The nav's own
   stacking context would otherwise trap the toggle underneath the panel. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.nav--solid {
  background: rgba(20, 22, 26, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav__container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; width: var(--container); margin-inline: auto;
}
.nav__logo img {
  width: auto; height: 50px; max-width: 150px;
  object-fit: contain; border-radius: 3px;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav__link {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.35s var(--ease-out);
}
.nav__link:hover { color: var(--amber); }

.nav__toggle {
  display: none; position: relative; z-index: 320;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span {
  display: block; position: relative;
  width: 24px; height: 2px; background: var(--white);
  transition: background 0.3s var(--ease-out);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 24px; height: 2px; background: var(--white);
  transition: transform 0.42s var(--ease-snap), top 0.3s var(--ease-out);
}
.nav__toggle span::before { top: -8px; }
.nav__toggle span::after { top: 8px; }
/* While the overlay is up the bar itself goes invisible so only the logo and
   the X float over the menu, with no solid seam across the top. */
body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------------- mobile menu ---------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-height) + 1.5rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.42s var(--ease-out), visibility 0.42s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8.5vw, 3rem); letter-spacing: -0.035em;
  line-height: 1.25; color: var(--white);
  padding-block: 0.35rem;
  transition: color 0.3s var(--ease-out);
}
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu__divider {
  height: 1px; background: rgba(255, 255, 255, 0.14);
  margin: 1.8rem 0;
}
.mobile-menu__meta {
  font-size: 0.9rem; color: var(--text-light-muted); line-height: 1.9;
}
.mobile-menu__meta a {
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 500;
  letter-spacing: 0; color: var(--amber); padding-block: 0.5rem;
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 620px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 22, 26, 0.86) 0%, rgba(20, 22, 26, 0.62) 30%, rgba(20, 22, 26, 0.94) 100%),
    linear-gradient(96deg, rgba(20, 22, 26, 0.78) 0%, rgba(20, 22, 26, 0.1) 62%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}
.hero h1 { margin-top: 1.4rem; max-width: 15ch; }
.hero h1 .amber { color: var(--amber); }
.hero__sub {
  margin-top: 1.4rem; max-width: 46ch;
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  color: var(--text-light-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero__strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: clamp(1.75rem, 4.5vw, 3.25rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero__strip span {
  padding: 1.1rem 0.4rem 0;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-top: 2px solid transparent;
  margin-top: -1px;
}
.hero__strip span:first-child { border-top-color: var(--amber); color: var(--white); }

/* ---------------- intro ---------------- */
.intro { background: var(--bone); padding-block: var(--section-pad); }
.intro__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 6vw, 5rem); align-items: start;
}
.intro h2 { margin-top: 1.3rem; max-width: 13ch; }
.intro__body p + p { margin-top: 1.2rem; }
.intro__facts {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--bone-2);
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
}
.intro__fact strong {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.03em;
  color: var(--text-dark); line-height: 1.15;
}
.intro__fact span {
  display: block; margin-top: 0.45rem;
  font-size: 0.86rem; letter-spacing: 0.01em; color: var(--text-muted);
}

/* ---------------- signature: the work index ---------------- */
.index-sec { background: var(--ink); padding-block: var(--section-pad); overflow: hidden; }
.index-sec__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.25rem;
}
.index-sec h2 { margin-top: 1.2rem; max-width: 14ch; }
.index-sec__note { max-width: 34ch; font-size: 0.95rem; }

.index {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.index__rail { display: flex; flex-direction: column; }
.index__btn {
  position: relative; text-align: left;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline;
  gap: 0 1rem;
  width: 100%; min-height: 60px;
  padding: 1.05rem 0.5rem 1.05rem 1.1rem;
  background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.13);
  cursor: pointer;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.index__rail .index__btn:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.index__btn::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: 0;
  width: 2px; background: var(--amber);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.index__btn:hover { color: var(--white); background: rgba(255, 255, 255, 0.035); }
.index__btn[aria-selected="true"] { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.index__btn[aria-selected="true"]::before { transform: scaleY(1); }
.index__num {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--amber); opacity: 0.8;
}
.index__name {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.2;
}
.index__count {
  grid-column: 2; font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-light-muted);
  margin-top: 0.25rem;
}

.index__stage { position: relative; min-width: 0; }
.index__viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  overflow: hidden;
  border-radius: var(--radius);
}
.index__viewport img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  visibility: hidden;
}
.index__viewport img.is-active { visibility: visible; z-index: 1; }
.index__wipe {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--amber);
  clip-path: inset(0 100% 0 0);
}
.index__wipe.run { animation: wipe 0.8s var(--ease-out); }
@keyframes wipe {
  0%   { clip-path: inset(0 100% 0 0); }
  45%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}
.index__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1.3rem, 3vw, 2.1rem);
  background: linear-gradient(0deg, rgba(20, 22, 26, 0.93) 0%, rgba(20, 22, 26, 0) 100%);
  pointer-events: none;
}
.index__caption h3 { color: var(--white); }
.index__caption p {
  margin-top: 0.55rem; max-width: 48ch;
  font-size: 0.95rem; color: rgba(255, 255, 255, 0.86);
}
.index__controls { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem; }
.index__arrow {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white); cursor: pointer;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.index__arrow svg { width: 14px; height: 14px; }
.index__arrow:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.index__dots { display: flex; gap: 0.4rem; margin-left: 0.35rem; }
.index__dot {
  width: 30px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center;
}
.index__dot::after {
  content: ""; display: block; width: 100%; height: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.4s var(--ease-out);
}
.index__dot[aria-current="true"]::after { background: var(--amber); }
.index__position {
  margin-left: auto;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em;
  color: var(--text-light-muted);
}

/* ---------------- services ---------------- */
.services { background: var(--bone); }
.service { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.service:nth-child(even) .service__media { order: 2; }
.service__media { position: relative; min-height: clamp(300px, 44vw, 540px); overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(20, 22, 26, 0.72) 0%, rgba(20, 22, 26, 0.34) 34%, rgba(20, 22, 26, 0) 62%);
}
.service__num {
  position: absolute; z-index: 2; left: clamp(1rem, 2.5vw, 2rem); top: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.04em;
  color: var(--white); opacity: 0.92; line-height: 1;
  text-shadow: 0 2px 24px rgba(20, 22, 26, 0.6);
}
.service__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.25rem, 5vw, 4.25rem) clamp(1.5rem, 5vw, 4.25rem);
  background: var(--white);
}
.service:nth-child(even) .service__body { background: var(--bone-2); }
.service__body h3 { margin-top: 1rem; }
.service__body p { margin-top: 1rem; max-width: 44ch; }
.service__body .text-link { margin-top: 1.1rem; align-self: flex-start; }

/* ---------------- process ---------------- */
.process { background: var(--ink); padding-block: var(--section-pad); }
.process h2 { margin-top: 1.2rem; max-width: 16ch; }
.process__grid {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.process__step { border-top: 2px solid var(--amber-line); padding-top: 1.3rem; }
.process__step:first-child { border-top-color: var(--amber); }
.process__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.4rem); letter-spacing: -0.05em;
  line-height: 1; color: var(--amber);
}
.process__step h4 { margin-top: 0.85rem; }
.process__step p { margin-top: 0.65rem; font-size: 0.98rem; }

/* ---------------- reviews ---------------- */
.reviews { background: var(--bone); padding-block: var(--section-pad); }
.reviews__grid {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.review {
  background: var(--white);
  border-top: 3px solid var(--amber);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.05), 0 18px 40px -28px rgba(20, 22, 26, 0.4);
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 15px; height: 15px; fill: var(--amber); }
.review blockquote {
  margin-top: 1.05rem; flex: 1;
  font-size: 1rem; line-height: 1.75; color: var(--text-body);
}
.review figcaption {
  margin-top: 1.35rem; padding-top: 1.05rem;
  border-top: 1px solid var(--bone-2);
  font-size: 0.84rem; color: var(--text-muted);
}
.review figcaption strong {
  display: block; font-weight: 600; font-size: 0.98rem; color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ---------------- showroom ---------------- */
.showroom { background: var(--white); }
.showroom__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.showroom__media { min-height: clamp(300px, 42vw, 520px); }
.showroom__media img { width: 100%; height: 100%; object-fit: cover; }
.showroom__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.25rem, 5vw, 4.25rem) clamp(1.5rem, 5vw, 4.25rem);
}
.showroom__body h2 { margin-top: 1.1rem; max-width: 12ch; }
.showroom__body p { margin-top: 1rem; max-width: 40ch; }
.showroom__details {
  margin-top: 1.8rem; display: grid; gap: 1.05rem;
  border-top: 1px solid var(--bone-2); padding-top: 1.5rem;
}
.showroom__detail dt {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-muted);
}
.showroom__detail dd { margin-top: 0.3rem; font-size: 1rem; color: var(--text-dark); }
.showroom__detail dd a {
  display: inline-block; padding-block: 0.65rem;
  transition: color 0.35s var(--ease-out);
}
.showroom__detail dd a:hover { color: var(--amber-deep); }
.showroom__body .btn-pill { margin-top: 1.8rem; align-self: flex-start; }

/* ---------------- cta ---------------- */
.cta { background: var(--amber); padding-block: clamp(3rem, 7vw, 5.25rem); }
.cta__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: center;
}
.cta h2 { color: var(--ink); max-width: 14ch; }
.cta p { margin-top: 0.95rem; color: rgba(20, 22, 26, 0.72); max-width: 40ch; }
.cta__actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.cta__big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.8rem); letter-spacing: -0.04em;
  color: var(--ink); line-height: 1.05;
  padding-block: 0.35rem;
}
.cta__big:hover { color: var(--charcoal); }
.cta__email { font-size: 1rem; color: rgba(20, 22, 26, 0.75); word-break: break-word; padding-block: 0.5rem; display: inline-block; }
.cta__email:hover { color: var(--ink); }

/* ---------------- footer ---------------- */
.footer { background: var(--ink); padding-block: clamp(2.75rem, 5vw, 4rem); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.footer__logo img { width: auto; height: 56px; max-width: 170px; object-fit: contain; border-radius: 3px; }
.footer__grid p { margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; color: var(--text-light-muted); }
.footer__title {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--amber);
}
.footer__list { margin-top: 0.75rem; list-style: none; }
.footer__list a, .footer__list li {
  display: block; font-size: 0.95rem;
  color: var(--text-light-muted); padding-block: 0.5rem;
  transition: color 0.35s var(--ease-out);
}
.footer__list a:hover { color: var(--amber); }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
}

/* ---------------- 404 ---------------- */
.error-section {
  min-height: 100vh; min-height: 100svh;
  background: var(--ink);
  display: flex; align-items: center;
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
}
.error__code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 22vw, 15rem); line-height: 0.85;
  letter-spacing: -0.06em; color: var(--amber-soft);
}
.error__title { margin-top: 1rem; max-width: 16ch; }
.error__body { margin-top: 1.3rem; max-width: 44ch; font-size: 1.06rem; }
.error-section .btn-pill { margin-top: 2rem; }

/* ---------------- motion (scoped so no-JS shows everything) ---------------- */
html.js .reveal { opacity: 0; transform: translateY(30px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .index__wipe.run { animation: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .index { grid-template-columns: 1fr; }
  .index__rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .service, .showroom__grid { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
  .service__media { min-height: clamp(260px, 60vw, 400px); }
  .showroom__media { min-height: clamp(260px, 60vw, 400px); }
  .process__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .hero {
    height: auto; min-height: 100svh;
    padding-top: calc(var(--nav-height) + 1.5rem);
  }
  .hero__inner { padding-top: clamp(2rem, 12vw, 5rem); }
  .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip span { padding-top: 0.9rem; font-size: 0.62rem; }
  .hero__strip span:nth-child(3),
  .hero__strip span:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 0.6rem; padding-top: 0.9rem;
  }
  .intro__facts { grid-template-columns: 1fr; gap: 1.3rem; }
  .index__caption p { display: none; }
}

@media (max-width: 640px) {
  .hero__ctas .btn-pill { width: 100%; justify-content: space-between; }
  .index__rail { grid-template-columns: 1fr; }
  .index__viewport { aspect-ratio: 3 / 4; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__actions { width: 100%; }
}

@media (max-width: 400px) {
  .index__controls { flex-wrap: wrap; }
  .index__position { margin-left: 0; width: 100%; }
}
/* Samoya QA: keep the homepage hero to exactly one browser viewport. */
.hero{height:100vh;height:100svh;min-height:0;max-height:100svh;overflow:hidden}
.intro h2{max-width:16ch}
.intro__grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.intro h2{font-size:clamp(2.15rem,3.65vw,3rem);max-width:19ch}
