/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
form,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

iframe {
  display: block;
  border: 0;
}

/* ---------- Tokens ---------- */
:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #faf9f6;
  --paper: #f0eee7;
  --paper-2: #e7e4da;
  --line: rgba(10, 10, 10, 0.14);
  --line-light: rgba(250, 249, 246, 0.28);
  --gray-600: #58564f;
  --gray-500: #7a776e;
  --charcoal: #262624;

  /* One family for the whole site — weight and italics carry the hierarchy that
     used to come from mixing a serif/script/sans set. --serif and --script are
     kept as aliases so the many existing font-family: var(--serif|--script)
     rules below don't all need touching; they just resolve to the same face. */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--font);
  --sans: var(--font);
  --script: var(--font);

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gap: clamp(16px, 3vw, 28px);
  --section-pad: clamp(64px, 10vw, 128px);
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

p {
  line-height: 1.65;
  color: var(--gray-600);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gray-600);
}

.hero .eyebrow {
  color: rgba(250, 249, 246, 0.75);
}

.note {
  font-size: 0.85rem;
  color: var(--gray-600);
  border-left: 2px solid var(--line);
  padding-left: 14px;
  max-width: 46ch;
}

.note strong {
  color: var(--black);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--black);
  color: var(--white);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Split-text word reveal ---------- */
.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  vertical-align: bottom;
}

.split-word__inner {
  display: inline-block;
  will-change: transform;
}

/* ---------- Reveal ---------- */
/* Initial hidden state + animation are applied inline by GSAP in main.js,
   so content stays visible by default if JavaScript fails to load. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.82rem;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--charcoal);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
}

.btn--ghost:hover {
  opacity: 0.6;
}

/* Editorial text link with a growing underline, used for soft/navigational
   CTAs where a boxed button would be one button too many. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: inherit;
  position: relative;
  padding-bottom: 3px;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0.55;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}

.link-arrow:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.link-arrow span {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(5px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}

.btn--ghost-dark:hover {
  opacity: 0.7;
  border-color: var(--white);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-mark {
  width: clamp(200px, 26vw, 320px);
  height: auto;
  filter: invert(1);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  background: transparent;
}

/* mix-blend-mode reads as black on light sections and white on dark ones automatically,
   so the bar stays visible without needing its own accent color. */
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--white);
  mix-blend-mode: difference;
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding-block: 18px;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  padding-block: 12px;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--ease);
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding-block: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Logo artwork is solid black line-work on a transparent ground, so an inverted
   (white) rendering is how it adapts to dark backgrounds rather than a second asset. */
.site-header:not(.is-scrolled) .brand-logo {
  filter: invert(1);
}

.site-header:not(.is-scrolled) .btn--ghost {
  color: var(--white);
}

/* Hero is solid black behind the transparent header, so the filled primary
   button needs to become an outline until the header scrolls onto a light section. */
.site-header:not(.is-scrolled) .btn--primary {
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}

.site-header:not(.is-scrolled) .btn--primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.site-header__ctas {
  display: none;
  align-items: center;
  gap: 10px;
}

.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background-color 0.35s;
}

.site-header:not(.is-scrolled) .hamburger span {
  background: var(--white);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-header.nav-open .hamburger span {
  background: var(--white);
}

.site-header.nav-open .brand-logo {
  filter: invert(1);
}

.site-header:not(.is-scrolled) .site-nav a {
  color: var(--white);
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
  }

  .site-header__ctas {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 8vh, 56px);
  padding: 100px clamp(24px, 8vw, 60px) 60px;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav nav a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  font-weight: 500;
}

.mobile-nav__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Floating WhatsApp: one circular button, every breakpoint ---------- */
.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.25);
  transition: transform 0.35s var(--ease);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 600px) {
  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 22px;
    height: 22px;
  }
}

/* ---------- Hero ---------- */
/* Dark graph-paper ground instead of a background photo — echoes the same grid
   motif used later in "How It Works", bookending the site in one visual system
   rather than leaning on a dimmed stock interior shot. */
.hero {
  position: relative;
  padding-top: clamp(110px, 15vw, 150px);
  padding-bottom: clamp(48px, 7vw, 80px);
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
  background-image:
    linear-gradient(rgba(250, 249, 246, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 249, 246, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__headline {
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  color: var(--white);
  max-width: 21ch;
  line-height: 1.15;
  margin-top: 12px;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.hero__content {
  min-width: 0;
}

.hero__lede {
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  color: rgba(250, 249, 246, 0.78);
  max-width: 40ch;
  margin-top: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
}

.link-arrow--light {
  color: var(--white);
}

@media (min-width: 980px) {
  .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* Mobile: the form is the conversion point and visitors land here first, so
   the hero is compressed hard — smaller headline, tighter spacing, no
   secondary link — to get the form on screen with minimal scrolling. */
@media (max-width: 639px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .hero__layout {
    gap: 22px;
  }

  .hero__headline {
    font-size: 1.85rem;
    max-width: 15ch;
    margin-top: 8px;
  }

  .hero__lede {
    font-size: 0.92rem;
    margin-top: 10px;
  }

  .hero__actions {
    display: none;
  }
}

/* ---------- Hero enquiry form (also used as .lead-form) ---------- */
.hero__form-wrap {
  min-width: 0;
}

.lead-form {
  background: var(--white);
  color: var(--black);
  min-width: 0;
  padding: clamp(28px, 3.6vw, 36px);
  display: grid;
  gap: 18px;
  align-content: start;
}

.lead-form h2 {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.lead-form label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  margin-top: 8px;
  display: block;
}

.lead-form input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.lead-form button[type="submit"] {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 17px;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 2px;
  transition: background-color 0.3s, transform 0.3s var(--ease);
}

.lead-form button[type="submit"] svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.lead-form button[type="submit"]:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}

.lead-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: center;
}

.form-msg {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* No reserved space until JS actually puts a message in it — a grid item
   with display:none is skipped entirely, so no empty gap is left behind. */
.form-msg:empty {
  display: none;
}

.form-msg.is-success {
  color: #1a6b3c;
}

.form-msg.is-error {
  color: #a4231f;
}

/* Mobile: every extra pixel here pushes the submit button further down
   the first screen a visitor sees. */
@media (max-width: 639px) {
  .lead-form {
    padding: 22px;
    gap: 14px;
  }

  .lead-form input {
    padding: 13px 14px;
  }
}

/* ---------- Trust strip: infinite GSAP marquee ---------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-strip__row {
  padding-block: 18px;
}

/* Overflow: hidden clips the duplicated, oversized track; GSAP (initTrustTicker
   in main.js) translates it by exactly half its width on an infinite loop —
   since the content is duplicated, that half-width point is visually identical
   to the start, so the reset is invisible and the scroll never seems to stop. */
.trust-strip__marquee {
  overflow: hidden;
  width: 100%;
}

.trust-strip__stats {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.trust-strip__stats li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}

.trust-strip__stats li::after {
  content: "•";
  display: inline-block;
  margin-inline: 22px;
  color: var(--gray-500);
}

@media (min-width: 760px) {
  .trust-strip__row {
    padding-block: 20px;
  }

  .trust-strip__stats li {
    font-size: 0.88rem;
  }
}

/* ---------- Value prop ---------- */
.value-prop {
  padding-block: var(--section-pad);
  background: var(--white);
}

.value-prop h2 {
  max-width: 20ch;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}

/* Mobile: horizontal scroll-snap instead of 3 full-height stacked cards.
   Bleeds to the viewport edge (negative margin matching .container's own
   padding) so the next card peeks and hints that it scrolls. */
.value-prop__grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(20px, 5vw, 48px);
  margin-inline: calc(-1 * clamp(20px, 5vw, 48px));
  padding-inline: clamp(20px, 5vw, 48px);
  padding-bottom: 6px;
  scrollbar-width: none;
}

.value-prop__grid::-webkit-scrollbar {
  display: none;
}

.value-prop__card {
  flex: none;
  width: 78%;
  max-width: 340px;
  scroll-snap-align: start;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.value-prop__num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gray-500);
  font-style: italic;
}

.value-prop__card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.value-prop__card p {
  font-size: 0.95rem;
  max-width: 38ch;
}

@media (min-width: 780px) {
  .value-prop__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }

  .value-prop__card {
    width: auto;
    max-width: none;
  }
}

/* ---------- CTA banners ---------- */
.cta-banner {
  padding-block: clamp(48px, 7vw, 72px);
}

.cta-banner__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.cta-banner__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-banner__text p {
  max-width: 46ch;
  font-size: 0.98rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
}

/* Both buttons share the row equally instead of stacking on narrow screens —
   text wraps to a second line rather than overflowing if it doesn't fit. */
.cta-banner__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  text-align: center;
  padding-inline: 14px;
}

@media (min-width: 480px) {
  .cta-banner__actions {
    width: auto;
  }

  .cta-banner__actions .btn {
    flex: none;
    white-space: nowrap;
    padding-inline: 30px;
  }
}

.cta-banner--dark {
  background: var(--black);
  color: var(--white);
}

.cta-banner--dark .cta-banner__text h2 {
  color: var(--white);
  font-family: var(--serif);
}

.cta-banner--dark .cta-banner__text p {
  color: rgba(250, 249, 246, 0.75);
}

.cta-banner--dark .btn--primary {
  background: var(--white);
  color: var(--black);
}

.cta-banner--dark .btn--primary:hover {
  background: var(--paper);
}

.cta-banner--light {
  background: var(--paper-2);
  color: var(--black);
}

.cta-banner--light .cta-banner__text h2 {
  color: var(--black);
  font-family: var(--serif);
}

.cta-banner--light .cta-banner__text p {
  color: rgba(10, 10, 10, 0.72);
}

.cta-banner--light .btn--primary {
  background: var(--black);
  color: var(--white);
}

.cta-banner--light .btn--primary:hover {
  background: var(--charcoal);
}

.cta-banner--light .btn--outline {
  border-color: var(--black);
  color: var(--black);
}

.cta-banner--light .btn--outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

@media (min-width: 760px) {
  .cta-banner__row {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------- Spread: the sofa (showcase photo interlocked with the statement) ---------- */
.spread--sofa {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-block: var(--section-pad);
  overflow: hidden;
}

.spread__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

.spread__image {
  position: relative;
  min-width: 0;
}

.showcase-sofa__clip {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  will-change: clip-path;
}

.showcase-sofa__clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  will-change: transform;
}

/* A placard tag overlapping the photo's corner reads less like a stock
   "photo + caption" block and ties the caption physically to the image. */
.spread__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-style: italic;
  font-size: 0.85rem;
  padding: 9px 16px;
  max-width: calc(100% - 40px);
}

.spread__text {
  min-width: 0;
}

.spread__text h2 {
  color: var(--white);
  max-width: 15ch;
}

.spread__text .manifesto__statement {
  position: relative;
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: clamp(30px, 4vw, 44px);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.3;
  color: var(--white);
}

.manifesto__quotemark {
  position: absolute;
  top: -0.3em;
  left: -0.06em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 8.5rem);
  line-height: 1;
  font-weight: 700;
  color: rgba(250, 249, 246, 0.1);
}

.spread__text .manifesto__statement em {
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.spread__text .manifesto__support {
  margin-top: 22px;
  max-width: 48ch;
  color: rgba(250, 249, 246, 0.75);
  font-size: 1rem;
}

.spread__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.spread__links .link-arrow {
  font-size: 0.98rem;
}

@media (min-width: 640px) {
  .spread__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 34px;
  }
}

@media (min-width: 980px) {

  /* align-items: stretch (the grid default) makes both columns match the
     row's full height, so the photo isn't boxed to a fixed aspect ratio
     while the text column runs on taller than it. */
  .spread__grid {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }

  .spread__image {
    height: 100%;
  }

  .showcase-sofa__clip {
    aspect-ratio: auto;
    height: 100%;
    min-height: 460px;
  }

  /* Staggering the text column down from the image breaks the strict
     side-by-side grid alignment so the pairing reads less templated. */
  .spread__text {
    margin-top: clamp(30px, 5vw, 64px);
  }
}

/* ---------- Process (how it works) ---------- */
/* Graph-paper grid, drawn with two repeating line gradients rather than an image.
   --cell-w/--cell-h are set by initProcessGrid() in main.js to the actual measured
   box pitch, so one grid cell is exactly one box — not a fixed-size pattern that
   just happens to roughly line up. The 36px values are the pre-JS fallback. */
.process {
  --cell-w: 36px;
  --cell-h: 36px;
  padding-block: var(--section-pad);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell-w) var(--cell-h);
}

.process h2 {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.steps-list {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

/* Mobile: horizontal scroll-snap instead of 4 stacked full-width boxes —
   initProcessGrid() in main.js measures whatever layout is active, so the
   graph-paper cell sizing still lines up with the boxes either way. */
.steps-list--row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(20px, 5vw, 48px);
  margin-inline: calc(-1 * clamp(20px, 5vw, 48px));
  padding-inline: clamp(20px, 5vw, 48px);
  scrollbar-width: none;
}

.steps-list--row::-webkit-scrollbar {
  display: none;
}

.steps-list--row li {
  flex: none;
  width: 78%;
  max-width: 320px;
  scroll-snap-align: start;
  flex-direction: column;
}

.steps-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--black);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell-w) var(--cell-h);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.steps-list li:hover {
  background: var(--black);
  color: var(--white);
}

.steps-list__num {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gray-500);
  flex: none;
  width: 30px;
  transition: color 0.3s var(--ease);
}

.steps-list li:hover .steps-list__num {
  color: rgba(250, 249, 246, 0.5);
}

.steps-list h3 {
  margin-bottom: 4px;
}

.steps-list p {
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}

.steps-list li:hover p {
  color: rgba(250, 249, 246, 0.75);
}

@media (min-width: 900px) {
  .steps-list--row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.2vw, 26px);
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .steps-list--row li {
    width: auto;
    max-width: none;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
  }
}

/* ---------- Services (sticky visual interlocked with the directory list) ---------- */
.index-section {
  padding-block: var(--section-pad);
  background: var(--white);
}

.index-section__lede {
  max-width: 50ch;
  font-size: 1.02rem;
  margin-top: 18px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.index-layout {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.index-visual {
  min-width: 0;
}

/* Mobile: heading + tabs before the image (column-reverse from DOM order) so
   visitors get context before the visual. Desktop resets this below. */
.index-content {
  order: -1;
  min-width: 0;
}

.index-visual__frame {
  overflow: hidden;
  aspect-ratio: 16/11;
}

.index-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-visual__desc {
  margin-top: 18px;
  font-size: 0.98rem;
  min-height: 4.8em;
}

.index-visual .btn {
  margin-top: 18px;
}

/* Mobile: a horizontal scroll-snap pill strip instead of a tall vertical list.
   The image it controls sits directly above, always in view — the old vertical
   list let a tap far down the list update an image already scrolled off-screen. */
.index-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 20px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.index-list::-webkit-scrollbar {
  display: none;
}

.index-row {
  flex: none;
  scroll-snap-align: start;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.index-row__name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.index-row__teaser {
  display: none;
}

.index-row:hover,
.index-row.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

@media (min-width: 980px) {
  .index-layout {
    grid-template-columns: 5fr 7fr;
  }

  .index-content {
    order: 0;
  }

  .index-visual {
    position: sticky;
    top: 110px;
    align-self: start;
  }

  /* Desktop reverts to the original tall vertical list — the sticky image
     beside it stays in view the whole time, so the mobile fix isn't needed. */
  .index-list {
    display: grid;
    overflow: visible;
    gap: 0;
    padding-bottom: 0;
  }

  .index-row {
    width: 100%;
    text-align: left;
    padding: 18px 0;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: inherit;
    transition: padding-left 0.3s var(--ease);
  }

  .index-list .index-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .index-row__name {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 400;
    flex: none;
    min-width: 8ch;
  }

  .index-row__teaser {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
  }

  .index-row:hover,
  .index-row.is-active {
    padding-left: 10px;
    background: transparent;
    color: inherit;
  }

  .index-row.is-active .index-row__name {
    color: var(--black);
    font-style: italic;
  }
}

/* ---------- Showcase: full-bleed image proof, no copy competing with the photos ---------- */
.showcase {
  padding-top: var(--section-pad);
  background: var(--white);
  overflow: hidden;
}

.showcase__head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.showcase__head h2 {
  max-width: 16ch;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.work__filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.work__filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: none;
  padding: 10px 20px;
  border: 1px solid var(--line);
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Breaks out of .container to run edge-to-edge; the 2px gap on a black ground
   reads as mortar lines between tiles, like a gallery wall, not empty margin. */
.showcase__grid {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--black);
}

.showcase__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: zoom-in;
}

.showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.showcase__item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0) 42%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.showcase__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.showcase__item:hover img {
  transform: scale(1.07);
}

.showcase__item:hover::after,
.showcase__item:hover .showcase__cap {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .showcase__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1080px) {
  .showcase__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Testimonials: styled after an actual Google review card ---------- */
.testimonials {
  padding-block: var(--section-pad);
  background: var(--paper);
}

.testimonials__layout {
  max-width: 62ch;
  text-align: center;
  margin-inline: auto;
}

.testimonials__layout .eyebrow,
.testimonials__layout h2 {
  text-align: center;
}

.testimonials__layout h2 {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.testimonials__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.testimonials__summary-icon {
  height: 18px;
  width: auto;
}

.testimonials__summary-stars {
  height: 14px;
  width: auto;
}

.testimonials__summary span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-600);
}

.testimonials__card {
  position: relative;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 34px);
  max-width: 560px;
  margin-inline: auto;
}

.testimonials__card-mark {
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(20px, 3vw, 28px);
  height: 22px;
  width: auto;
}

.testimonials__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.testimonials__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.98rem;
}

.testimonials__name-row .words__verified {
  height: 15px;
  width: auto;
}

.testimonials__when {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.testimonials__card-stars {
  height: 16px;
  width: auto;
  margin-top: 16px;
}

.testimonials__card .testimonials__quote {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--black);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.testimonials__nav button {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.testimonials__nav button:hover {
  background: var(--black);
  color: var(--white);
}

.testimonials__nav .words__dots {
  display: flex;
  gap: 6px;
}

.testimonials__nav .words__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.3s, transform 0.3s;
}

.testimonials__nav .words__dots span.is-active {
  background: var(--black);
  transform: scale(1.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: clamp(20px, 5vw, 40px);
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
}

/* ---------- Craft ---------- */
.craft {
  padding-top: var(--section-pad);
  background: var(--white);
}

.craft__layout {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.craft__copy {
  min-width: 0;
}

.craft__copy p {
  margin-top: 16px;
  margin-bottom: 24px;
}

.craft__bullets {
  display: grid;
  gap: 18px;
}

.craft__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.craft__bullets li span:last-child {
  font-size: 0.95rem;
  color: var(--gray-600);
  padding-top: 4px;
}

.craft__bullets strong {
  color: var(--black);
}

/* Shared icon chip: a thin-bordered circle around a small line-icon, used for
   both the feature bullets and the stat highlights. */
.craft__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--black);
}

.craft__icon svg {
  width: 18px;
  height: 18px;
}

.craft__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  align-content: start;
  padding-top: clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--line);
  min-width: 0;
}

.craft__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.craft__stat .craft__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}

.craft__stat .craft__icon svg {
  width: 16px;
  height: 16px;
}

.craft__stat .counter,
.craft__stat-static {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.craft__stat span:last-child {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.craft__guarantee {
  margin-top: var(--section-pad);
  background: var(--black);
  color: rgba(250, 249, 246, 0.85);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  max-width: 100%;
}

@media (min-width: 980px) {
  .craft__layout {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .craft__stats {
    border-top: none;
    border-left: 1px solid var(--line);
    padding-left: clamp(32px, 4vw, 48px);
    padding-top: 0;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: var(--section-pad);
  background: var(--white);
}

.faq__layout {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.faq__intro {
  min-width: 0;
}

.faq__intro p:last-child {
  margin-top: 16px;
}

.faq__intro .link-arrow {
  display: inline-flex;
}

.faq-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
}

.faq-item__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.faq-item__icon::before {
  width: 14px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 14px;
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__q {
  color: var(--black);
  font-weight: 600;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__a p {
  padding-bottom: 20px;
  max-width: 60ch;
  font-size: 0.95rem;
}

@media (min-width: 980px) {
  .faq__layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .faq__intro {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* ---------- Visit (nested inside .craft as its closing spread) ---------- */
.visit-wrap {
  background: var(--paper-2);
  padding-block: var(--section-pad);
}

.visit__layout {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.visit__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.visit__details .eyebrow {
  margin-bottom: 10px;
}

.visit__details h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 16px;
}

.visit__address {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--black);
}

.visit__details .note {
  margin-bottom: 26px;
}

.visit__map {
  overflow: hidden;
  min-height: 320px;
  min-width: 0;
  border: 1px solid var(--line);
}

.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

@media (min-width: 980px) {
  .visit__layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(44px, 6vw, 64px);
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-light);
}

.brand--footer .brand-logo {
  filter: invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-ctas {
  display: flex;
  gap: 10px;
}

.site-footer__bottom {
  padding-block: 20px;
  font-size: 0.78rem;
  color: rgba(250, 249, 246, 0.55);
}

@media (min-width: 760px) {
  .site-footer__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}