/* ==========================================================================
   VERDURA — Heritage Plumbing Atelier (growth tier, business)
   Palette: Forest moss + chili coral + warm linen
   Type:    Cormorant Garamond display + Inter body + JetBrains Mono meta
   ========================================================================== */

:root {
  /* Brand */
  --moss:        #1f3a30;
  --moss-deep:   #15281f;
  --moss-night:  #0d1d18;
  --chili:       #d94f3c;
  --chili-soft:  #f08470;
  --chili-tint:  rgba(217, 79, 60, 0.08);

  /* Neutrals */
  --linen:       #efe9dd;
  --linen-warm:  #f5f0e6;
  --linen-deep:  #e3dccc;
  --paper:       #faf6ec;
  --ink:         #181612;
  --ink-soft:    #3a342c;
  --ink-mute:    #6f685c;
  --rule:        #d3ccba;

  /* Mapped tokens (compat) */
  --primary:     var(--moss);
  --accent:      var(--chili);
  --bg:          var(--linen);
  --bg-alt:      var(--linen-warm);
  --dark:        var(--moss-night);
  --muted:       var(--ink-mute);

  /* Type */
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container-w: 1280px;
  --container-px: 1.75rem;

  /* Easing */
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--moss); color: var(--paper); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface, var(--linen));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--chili); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--container-px); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 9999;
  padding: .75rem 1.25rem; background: var(--moss); color: var(--paper);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .05em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Focus */
:focus-visible { outline: 2px solid var(--chili); outline-offset: 3px; border-radius: 2px; }

/* Wire loading guard */
[wire\:loading], [wire\:loading\.delay], [wire\:loading\.inline-block], [wire\:loading\.inline] { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scroll progress */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--chili); z-index: 9999; transition: width .08s linear;
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid var(--moss); background: var(--paper); color: var(--moss);
  font-size: 1.1rem; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background .25s, color .25s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--moss); color: var(--paper); }

/* ============================== TYPOGRAPHY ================================ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; color: var(--moss-night); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--moss); }
h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 600; }
p  { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--chili);
}
.eyebrow::before {
  content: ""; display: block; width: 26px; height: 1px; background: var(--chili);
}
.eyebrow--light { color: var(--chili-soft); }
.eyebrow--light::before { background: var(--chili-soft); }

/* ================================ BUTTONS ================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--sans); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border-radius: var(--radius, 2px); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              transform .25s var(--ease-out), box-shadow .35s var(--ease-out),
              border-color .25s var(--ease-out);
  will-change: transform;
}
.btn__arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--moss); color: var(--paper); border-color: var(--moss); box-shadow: 0 6px 18px -10px rgba(31,58,48,.55); }
.btn--solid:hover { background: var(--chili); border-color: var(--chili); color: var(--paper); box-shadow: 0 14px 32px -12px rgba(217,79,60,.55); }
.btn--ghost { background: transparent; color: var(--moss); border-color: var(--moss); }
.btn--ghost:hover { background: var(--moss); color: var(--paper); }
.btn--ghost-light { color: var(--linen); border-color: rgba(239,233,221,.55); }
.btn--ghost-light:hover { background: var(--linen); color: var(--moss-night); border-color: var(--linen); }
.btn--link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--moss);
  border-radius: 0; padding-bottom: .25rem; color: var(--moss);
}
.btn--link:hover { color: var(--chili); border-bottom-color: var(--chili); transform: translateX(2px); }

.btn--magnetic { position: relative; }

/* ============================== SITE HEADER =============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--linen);
  border-bottom: 1px solid var(--rule);
}
.site-header__rail {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  padding: .55rem var(--container-px);
  background: var(--moss-night); color: var(--linen);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  overflow: clip; white-space: nowrap;
}
.site-header__rail-item { display: inline-flex; align-items: center; gap: .55rem; opacity: .85; }
.site-header__rail-item:nth-child(2),
.site-header__rail-item:nth-child(3) { opacity: .65; }
.site-header__rail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--chili); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,79,60,.55); } 50% { box-shadow: 0 0 0 7px rgba(217,79,60,0); } }

.site-header__bar { padding: 1.05rem 0; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__logo { display: inline-flex; align-items: center; gap: .8rem; }
.site-nav__logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--moss); border: 1px solid var(--rule); }
.site-nav__logo-text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--moss-night);
}
.site-nav__logo-text em {
  font-family: var(--mono); font-size: .58rem; font-style: normal; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); margin-top: .35rem;
}

.site-nav__links { display: flex; gap: 2rem; margin-left: auto; }
.site-nav__links a {
  position: relative;
  font-size: .92rem; font-weight: 500; color: var(--moss-night); padding: .35rem 0;
}
.site-nav__links a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--chili); transform: scaleX(0); transform-origin: right center;
  transition: transform .35s var(--ease-out);
}
.site-nav__links a:hover { color: var(--chili); }
.site-nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.site-nav__links a.is-active::after { transform: scaleX(1); transform-origin: left center; }

.site-nav__cta { padding: .7rem 1.15rem; font-size: .85rem; }
.site-nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem;
}
.site-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--moss-night); transition: transform .25s, opacity .25s; }
.nav__cart { display: none; }

/* ================================ HERO ==================================== */
.hero {
  position: relative;
  background: var(--surface, var(--linen));
  padding-bottom: 0;
}
.hero__sheet { position: relative; }

.hero__masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem var(--container-px) 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__masthead-left { display: flex; align-items: center; gap: 1rem; }
.hero__issue-rule { width: 60px; height: 1px; background: var(--ink-mute); opacity: .5; }

.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: end;
  padding: 3rem var(--container-px) 4.5rem;
}

.hero__lede { padding-bottom: 1rem; }
.hero__prefix {
  display: block; margin-top: 1.25rem;
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--moss); line-height: 1.4;
}
.hero h1 {
  margin-top: .9rem; margin-bottom: 1.4rem;
  font-size: clamp(2.85rem, 6.4vw, 5.6rem);
  letter-spacing: -0.025em;
}
.hero__title-mark { color: var(--chili); }

.hero__subtitle {
  display: block;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--ink-soft); line-height: 1.5; max-width: 38ch; margin-bottom: 1.5rem;
  border-left: 2px solid var(--chili); padding-left: 1rem;
}
.hero__copy { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; max-width: 50ch; margin-bottom: 2rem; }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__credentials {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(3, auto); gap: 2.25rem;
  border-top: 1px solid var(--rule); padding-top: 1.5rem;
}
.hero__credentials li {
  display: flex; flex-direction: column; gap: .25rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute);
}
.hero__credential-num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1;
  color: var(--moss-night); letter-spacing: -0.02em;
}

/* hero plate (image) */
.hero__plate { position: relative; }
.hero__figure {
  position: relative; aspect-ratio: 4/5;
  background: var(--linen-deep);
  /* `clip`, not `hidden`: `overflow: clip` makes this a SCROLL CONTAINER,
     and a scroll container between the viewport and a `view()`-timeline
     element (`.hero__figure img` below) silently kills the timeline — the
     parallax would never run. `clip` clips identically. */
  overflow: clip;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s var(--ease-out); }
.hero:hover .hero__figure img { transform: scale(1.08); }
.hero__figure figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.1rem 1.25rem;
  background: var(--background, linear-gradient(180deg, transparent, rgba(13,29,24,.92)));
  color: var(--linen);
  display: flex; flex-direction: column; gap: .35rem;
}
.hero__figure-tag {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--chili-soft);
}
.hero__figure-cap { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.4; max-width: 38ch; }

.hero__chip {
  position: absolute; padding: 1.1rem 1.25rem; border-radius: var(--radius, 2px);
  background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 22px 45px -22px rgba(13,29,24,.35);
  display: flex; flex-direction: column; gap: .25rem; min-width: 170px;
  animation: chip-float 6s ease-in-out infinite;
}
.hero__chip--rate { top: 8%; left: -8%; animation-delay: 0s; }
.hero__chip--rating { bottom: 14%; right: -7%; animation-delay: -3s; background: var(--moss-night); border-color: var(--moss-night); color: var(--linen); }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__chip-eyebrow {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute);
}
.hero__chip--rating .hero__chip-eyebrow { color: var(--chili-soft); }
.hero__chip-figure {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--moss-night);
}
.hero__chip--rating .hero__chip-figure { color: var(--linen); }
.hero__chip-figure small { font-size: 1rem; font-weight: 400; color: var(--ink-mute); margin-left: .15rem; }
.hero__chip--rating .hero__chip-figure small { color: var(--chili-soft); }
.hero__chip-foot { font-size: .78rem; color: var(--ink-mute); }
.hero__chip--rating .hero__chip-foot { color: var(--wb-on-dark, rgba(239,233,221,.7)); }

/* hero marquee */
.hero__marquee {
  background: var(--moss-night); color: var(--linen);
  padding: 1rem 0; overflow: hidden; position: relative;
  border-top: 1px solid rgba(239,233,221,.08);
}
.hero__marquee-track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: 1.7rem; font-weight: 500;
  color: var(--linen);
  animation: marquee 38s linear infinite;
}
.hero__marquee-track span { color: var(--linen); }
.hero__marquee-track span:nth-child(odd) { color: var(--chili-soft); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }

/* ================================= ABOUT ================================== */
.about { padding: 7rem 0; background: var(--surface, var(--linen)); }
.about__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 3rem 3rem;
  align-items: start;
}
.about__col-meta { display: flex; flex-direction: column; gap: .75rem; padding-top: .25rem; position: sticky; top: 120px; }
.about__chapter { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--moss); }
.about__col-headline { grid-column: 2 / 4; }
.about__title { font-size: clamp(2.4rem, 4.5vw, 3.8rem); max-width: 18ch; }
.about__col-figure { display: flex; flex-direction: column; gap: 1.25rem; grid-row: 3; }
.about__figure { position: relative; aspect-ratio: 3/4; background: var(--linen-deep); overflow: clip; }
.about__figure img { width: 100%; height: 100%; object-fit: cover; }
.about__figure-stamp {
  position: absolute; top: 1rem; right: 1rem;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--chili); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: 0 12px 24px -10px rgba(217,79,60,.5);
}
.about__sigil { display: flex; flex-direction: column; gap: .8rem; }
.about__sigil li {
  display: flex; gap: .75rem; align-items: baseline;
  font-size: .92rem; color: var(--ink-soft); padding: .55rem 0;
  border-bottom: 1px dashed var(--rule);
}
.about__sigil strong {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; color: var(--chili); font-weight: 600;
}
.about__col-body { grid-row: 3; }
.about__copy p { margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.75; }
.about__lead { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.5; color: var(--moss-night); margin-bottom: 1.5rem; }

/* counters band */
.counters {
  background: var(--moss-night); color: var(--linen);
  padding: 4rem 0; position: relative; overflow: clip;
}
.counters::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 30%, rgba(217,79,60,.12), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(31,58,48,.5), transparent 50%);
  pointer-events: none;
}
.counters__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2rem; text-align: left; } /* auto-fit: owner-supplied counters may be absent — never leave an empty column */
.counter { display: flex; flex-direction: column; gap: .35rem; padding: 0 0 0 1.25rem; border-left: 1px solid rgba(239,233,221,.18); }
.counter:first-child { border-left: 0; padding-left: 0; }
.counter:not([hidden]):not(.counter:not([hidden]) ~ .counter) { border-left: 0; padding-left: 0; } /* first VISIBLE counter: owner-supplied counters may be hidden */
.counter__num {
  font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 500; color: var(--linen); line-height: 1;
}
.counter__suffix { font-family: var(--serif); font-size: 2.2rem; color: var(--chili); margin-left: -.4rem; align-self: flex-start; }
.counter__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,233,221,.65); margin-top: .35rem; }

/* ============================== SERVICES ================================== */
.services { padding: 7rem 0; background: var(--surface, var(--paper)); position: relative; }
.services--page { padding: 5rem 0 7rem; }
.services__header { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.services__title { font-size: clamp(2.2rem, 3.8vw, 3.4rem); max-width: 18ch; margin-top: 1rem; }
.services__intro { font-size: 1.05rem; color: var(--ink-soft); max-width: 38ch; padding-bottom: .25rem; border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.services__header--page { display: flex; flex-direction: column; gap: .9rem; max-width: 750px; margin-bottom: 4rem; }
.services__title--page { max-width: 22ch; }
.services__intro--page { border: 0; padding: 0; max-width: 60ch; }

[data-list] { display: contents; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 2rem;
}
.services__grid > div:only-child { display: contents; }

.service-card {
  grid-column: span 4;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface, var(--linen-warm));
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius, 2px);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .35s;
  overflow: clip;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--surface, var(--chili)); transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -28px rgba(13,29,24,.35); border-color: var(--moss); }
.service-card:hover::before { transform: scaleX(1); }

/* asymmetric variants — visual variety from a single template row */
.services__grid > .service-card:nth-child(7n+1) { grid-column: span 5; }
.services__grid > .service-card:nth-child(7n+2) { grid-column: span 4; transform: translateY(2.5rem); }
.services__grid > .service-card:nth-child(7n+3) { grid-column: span 3; }
.services__grid > .service-card:nth-child(7n+4) { grid-column: span 4; }
.services__grid > .service-card:nth-child(7n+5) { grid-column: span 3; transform: translateY(2.5rem); }
.services__grid > .service-card:nth-child(7n+6) { grid-column: span 5; }
.services__grid > .service-card:nth-child(7n+7) { grid-column: span 6; }

.services__grid > .service-card:nth-child(7n+2):hover,
.services__grid > .service-card:nth-child(7n+5):hover { transform: translateY(calc(2.5rem - 6px)); }

.service-card__number {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--chili); margin-bottom: 1.1rem;
}
.service-card__figure { aspect-ratio: 4/3; overflow: clip; margin-bottom: 1.25rem; background: var(--linen-deep); }
.service-card__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service-card:hover .service-card__figure img { transform: scale(1.06); }
.service-card__title { font-size: 1.45rem; line-height: 1.2; margin-bottom: .35rem; color: var(--moss-night); }
.service-card__sub { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.service-card__body { font-size: .96rem; color: var(--ink-soft); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.service-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--rule); padding-top: 1rem;
}
.service-card__price { font-family: var(--serif); font-size: 1.15rem; color: var(--moss-night); font-weight: 600; }
.service-card__link {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--moss);
  transition: color .25s, transform .25s var(--ease-out);
}
.service-card__link:hover { color: var(--chili); transform: translateX(3px); }

.services__cta {
  margin-top: 4rem; padding: 2.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border: 1px solid var(--rule);
  background: var(--linen-warm);
}
.services__cta p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--moss-night); }

/* services process (services-page only) */
.services__process {
  margin-top: 6rem;
  padding: 3rem;
  background: var(--moss-night);
  color: var(--linen);
  position: relative;
  overflow: clip;
}
.services__process .eyebrow { color: var(--chili-soft); }
.services__process .eyebrow::before { background: var(--chili-soft); }
.services__process-title {
  color: var(--linen); font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 22ch; margin: .75rem 0 2.5rem;
}
.services__process-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid rgba(239,233,221,.18); padding-top: 2rem;
}
.services__process-list li { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.services__process-num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--chili); line-height: 1;
}
.services__process-list h4 { color: var(--linen); font-family: var(--serif); font-size: 1.35rem; }
.services__process-list p { color: var(--wb-on-dark, rgba(239,233,221,.7)); font-size: .92rem; line-height: 1.6; }

/* =========================== TESTIMONIALS ================================= */
.testimonials {
  position: relative; padding: 7rem 0; overflow: clip;
  background: var(--wb-dark-surface, var(--moss-night)); color: var(--linen);
  isolation: isolate;
}
.testimonials__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 80% 20%, rgba(217,79,60,.18), transparent 45%),
                    radial-gradient(circle at 15% 85%, rgba(31,58,48,.45), transparent 50%);
}
.testimonials__head { max-width: 780px; margin-bottom: 4rem; }
.testimonials__title {
  color: var(--linen); font-size: clamp(2rem, 3.5vw, 3.2rem); margin-top: .9rem; margin-bottom: 1rem;
}
.testimonials__intro { color: var(--wb-on-dark, rgba(239,233,221,.7)); font-size: 1.08rem; max-width: 55ch; }

.testimonials__rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.testimonials__rail > div:only-child { display: contents; }

.quote-card {
  position: relative;
  background: var(--wb-tint, rgba(239,233,221,.06));
  border: 1px solid rgba(239,233,221,.12);
  padding: 2rem 1.85rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform .5s var(--ease-out), background .35s, border-color .35s;
}
.quote-card:hover { transform: translateY(-6px); background: var(--wb-tint, rgba(239,233,221,.1)); border-color: var(--border, rgba(217,79,60,.5)); }
.testimonials__rail > .quote-card:nth-child(3n+1) { transform: translateY(-1.5rem); }
.testimonials__rail > .quote-card:nth-child(3n+3) { transform: translateY(1.5rem); }
.testimonials__rail > .quote-card:nth-child(3n+1):hover { transform: translateY(calc(-1.5rem - 6px)); }
.testimonials__rail > .quote-card:nth-child(3n+3):hover { transform: translateY(calc(1.5rem - 6px)); }

.quote-card__mark {
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--chili);
  position: absolute; top: -.5rem; left: 1.4rem; opacity: .85;
}
.quote-card__body {
  font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.5; color: var(--linen);
  position: relative; padding-top: 1.4rem;
}
.quote-card__credit {
  display: flex; align-items: center; gap: 1rem;
  border-top: 1px solid rgba(239,233,221,.18); padding-top: 1.1rem;
}
.quote-card__credit img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card__credit strong { display: block; font-family: var(--sans); font-weight: 600; color: var(--linen); }
.quote-card__credit span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,233,221,.55); }

/* about-page testimonials in light paper variant */
.testimonials--page { background: var(--paper); color: var(--ink); }
.testimonials--page .testimonials__bg { display: none; }
.testimonials__head--light .eyebrow { color: var(--chili); }
.testimonials__head--light .eyebrow::before { background: var(--chili); }
.testimonials__title--dark { color: var(--moss-night); }
.testimonials__intro--dark { color: var(--ink-soft); }
.testimonials__paper-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonials__paper-rail > div:only-child { display: contents; }
.quote-card--paper { background: var(--linen-warm); border-color: var(--rule); }
.quote-card--paper:hover { background: var(--paper); border-color: var(--chili); }
.testimonials__paper-rail > .quote-card--paper:nth-child(3n+1) { transform: rotate(-.6deg); }
.testimonials__paper-rail > .quote-card--paper:nth-child(3n+2) { transform: rotate(.4deg); }
.testimonials__paper-rail > .quote-card--paper:nth-child(3n+3) { transform: rotate(-.3deg); }
.quote-card__mark--paper { color: var(--chili); }
.quote-card--paper .quote-card__body { color: var(--moss-night); }
.quote-card__credit--paper { border-top-color: var(--rule); }
.quote-card__credit--paper strong { color: var(--moss-night); }
.quote-card__credit--paper span { color: var(--ink-mute); }

/* =============================== CONTACT ================================== */
.contact { padding: 7rem 0; background: var(--surface, var(--linen)); }
.contact__layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}
.contact__aside { padding-right: 2rem; }
.contact__title { font-size: clamp(2rem, 3.4vw, 3rem); margin: 1rem 0 1.25rem; max-width: 16ch; }
.contact__intro { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 2rem; max-width: 42ch; }
.contact__list { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2rem; }
.contact__list li {
  display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--rule);
}
.contact__list-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.contact__list-value { font-family: var(--serif); font-size: 1.2rem; color: var(--moss-night); line-height: 1.4; transition: color .25s; }
a.contact__list-value:hover { color: var(--chili); }

.contact__hours { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.contact__hours h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 1rem; }
.contact__hours ul { display: flex; flex-direction: column; gap: .55rem; }
.contact__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--ink-soft); }
.contact__hours strong { color: var(--moss-night); font-family: var(--serif); font-weight: 600; }

/* postcard */
.contact__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 3rem 2.75rem;
  box-shadow: 0 30px 70px -32px rgba(13,29,24,.35);
}
.contact__card::after {
  content: ""; position: absolute; inset: -1px;
  border: 1px dashed transparent;
  background-image:
    repeating-linear-gradient(0deg, var(--rule) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 16px);
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-size: 1px 100%, 1px 100%, 100% 1px, 100% 1px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.contact__card-stamp {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 96px; height: 110px;
  border: 2px solid var(--moss-night);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--mono); text-align: center; padding: .25rem;
  transform: rotate(6deg);
  background: var(--linen-warm);
}
.contact__card-stamp span { font-size: .55rem; letter-spacing: .25em; color: var(--ink-mute); }
.contact__card-stamp strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--moss-night); margin: .15rem 0; line-height: 1; letter-spacing: -.01em; }
.contact__card-stamp em { font-style: normal; font-size: .55rem; letter-spacing: .15em; color: var(--chili); text-transform: uppercase; }

.contact__card-eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--chili);
}
.contact__card-title { font-size: 1.85rem; margin-top: .6rem; margin-bottom: 1.75rem; color: var(--moss-night); }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form__field { display: flex; flex-direction: column; gap: .35rem; }
.contact-form__field span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-form__field input, .contact-form__field textarea {
  font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--moss-night);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: .55rem 0;
  transition: border-color .3s var(--ease-out);
  resize: vertical; outline: none;
}
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: var(--ink-mute); opacity: .65; }
.contact-form__field input:focus, .contact-form__field textarea:focus { border-bottom-color: var(--chili); outline: none; }
.contact-form__submit { margin-top: .5rem; align-self: flex-start; }
.contact-form__small { font-size: .82rem; color: var(--ink-mute); margin-top: .25rem; font-style: italic; }

/* contact strip variant (about-page, services-page) */
.contact--strip { background: var(--moss-night); color: var(--linen); padding: 5rem 0; }
.contact__strip-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.contact__strip-title { color: var(--linen); font-size: clamp(2rem, 3vw, 2.6rem); margin: .75rem 0 1rem; max-width: 18ch; }
.contact__strip-intro { color: var(--wb-on-dark, rgba(239,233,221,.75)); font-size: 1.02rem; max-width: 50ch; }
.contact__strip-info { display: flex; flex-direction: column; gap: 1.5rem; padding-left: 2rem; border-left: 1px solid rgba(239,233,221,.18); }
.contact__strip-list { display: flex; flex-direction: column; gap: .8rem; }
.contact__strip-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: baseline; }
.contact__strip-list span:first-child { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wb-on-dark, rgba(239,233,221,.55)); }
.contact__strip-list a, .contact__strip-list span:nth-child(2) { font-family: var(--serif); font-size: 1.1rem; color: var(--linen); }
.contact__strip-list a:hover { color: var(--chili-soft); }
.contact__strip-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* contact full-page variant */
.contact--page { padding: 4rem 0 7rem; }

/* ================================ FAQS ==================================== */
.faqs { padding: 7rem 0; background: var(--surface, var(--linen)); }
.faqs--contact { background: var(--linen-warm); }
.faqs__layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.faqs__aside { position: sticky; top: 120px; }
.faqs__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 1rem 0 1rem; max-width: 16ch; }
.faqs__intro { color: var(--ink-soft); margin-bottom: 2rem; max-width: 38ch; }

.faqs__list { display: flex; flex-direction: column; }
.faqs__list > div:only-child { display: flex; flex-direction: column; }

.faq {
  border-top: 1px solid var(--rule); padding: 1.4rem 0;
  transition: border-color .3s;
}
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq[open] { border-top-color: var(--moss); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--moss-night); line-height: 1.3;
  padding-right: .5rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  flex-shrink: 0; position: relative; width: 22px; height: 22px;
  border: 1px solid var(--moss); border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--moss);
  transition: transform .35s var(--ease-out), background .3s;
}
.faq__icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq[open] .faq__icon { background: var(--surface, var(--chili)); border-color: var(--chili); }
.faq[open] .faq__icon::before, .faq[open] .faq__icon::after { background: var(--surface, var(--paper)); }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  padding-top: .9rem; max-width: 65ch;
  color: var(--ink-soft); font-size: 1rem; line-height: 1.7;
}

/* ============================ PAGE BANNER ================================= */
.page-banner { background: var(--linen); padding: 5rem 0 3rem; border-bottom: 1px solid var(--rule); }
.page-banner__inner { display: flex; flex-direction: column; gap: 1.25rem; max-width: 920px; }
.page-banner__crumb { font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.page-banner__crumb a { color: var(--moss); }
.page-banner__crumb a:hover { color: var(--chili); }
.page-banner__title { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-banner__rule { display: block; width: 80px; height: 1px; background: var(--chili); margin: .5rem 0; }
.page-banner__lede { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); max-width: 60ch; line-height: 1.5; }

/* ============================ ABOUT PAGE ================================= */
.about--page { padding: 5rem 0 6rem; }
.about__page-grid { display: grid; grid-template-columns: 0.85fr 1.2fr; gap: 4rem; align-items: start; }
.about__page-figure figure { aspect-ratio: 4/5; overflow: clip; background: var(--linen-deep); margin-bottom: 1rem; }
.about__page-figure figure img { width: 100%; height: 100%; object-fit: cover; }
.about__page-figure figcaption {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding: 1rem 0;
  border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem;
}
.about__page-figure figcaption span { color: var(--chili); margin-right: .8rem; }
.about__sidebar { display: flex; flex-direction: column; gap: 2rem; }
.about__sidebar h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 1rem; }
.about__crew { display: flex; flex-direction: column; gap: .9rem; }
.about__crew li { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 0; border-bottom: 1px dashed var(--rule); }
.about__crew strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--moss-night); }
.about__crew span { font-size: .85rem; color: var(--ink-mute); }
.about__crew--badges li { display: grid; grid-template-columns: 80px 1fr; align-items: center; }
.about__crew--badges strong:empty { display: none; }
.about__crew--badges li:has(> strong:empty) { grid-template-columns: 1fr; } /* owner licence line: a text-sized row, not a badge pill */
.about__crew--badges strong {
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  background: var(--chili-tint); color: var(--chili); padding: .4rem .55rem; text-align: center;
}

.about__page-body { padding-top: 1rem; }
.about__page-title { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 1rem 0 2rem; max-width: 22ch; }
.about__page-prose h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--moss); margin: 2rem 0 .75rem; }
.about__page-prose p { margin-bottom: 1.1rem; font-size: 1.04rem; line-height: 1.75; max-width: 62ch; }
.about__pullquote {
  margin: 3rem 0 0;
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.45;
  color: var(--moss-night);
  padding: 2rem;
  border-left: 3px solid var(--chili);
  background: var(--linen-warm);
  max-width: 60ch;
}
.about__pullquote cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* studio timeline */
.studio-timeline { padding: 6rem 0; background: var(--moss-night); color: var(--linen); position: relative; overflow: clip; }
.studio-timeline::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(239,233,221,.25), transparent); }
.studio-timeline__title { color: var(--linen); font-size: clamp(2rem, 3.4vw, 2.9rem); margin: .9rem 0 3rem; max-width: 22ch; }
.studio-timeline__rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  border-top: 1px solid rgba(239,233,221,.18); padding-top: 2.5rem;
  counter-reset: timeline;
  list-style: none;
}
.studio-timeline__step { position: relative; padding-top: .25rem; }
.studio-timeline__step::before {
  content: ""; position: absolute; top: -2.5rem; left: 0; width: 14px; height: 14px;
  border-radius: 50%; background: var(--chili); transform: translateY(50%);
  box-shadow: 0 0 0 4px var(--moss-night);
}
.studio-timeline__year {
  display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--chili-soft); margin-bottom: .85rem;
}
.studio-timeline__step h3 { color: var(--linen); font-family: var(--serif); font-size: 1.6rem; margin-bottom: .5rem; }
.studio-timeline__step p { color: var(--wb-on-dark, rgba(239,233,221,.7)); font-size: .94rem; line-height: 1.6; }

/* ============================== FOOTER ==================================== */
.site-footer { background: var(--moss-night); color: var(--linen); }
.site-footer__top { padding: 5rem 0 3rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
}
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--moss); margin-bottom: 1rem; border: 1px solid rgba(239,233,221,.2); }
.footer__brand-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; margin-bottom: .35rem; color: var(--linen); }
.footer__brand-name em { font-family: var(--mono); font-size: .58rem; font-style: normal; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--wb-on-dark, rgba(239,233,221,.55)); display: block; margin-top: .55rem; }
.footer__tagline { color: var(--wb-on-dark, rgba(239,233,221,.65)); font-size: .92rem; line-height: 1.6; max-width: 32ch; margin: 1rem 0; }
.footer__hours { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--wb-on-dark, rgba(239,233,221,.55)); line-height: 1.7; }
.footer__links h3, .footer__social h3 {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--chili-soft); font-weight: 500; margin-bottom: 1.25rem;
}
.footer__links a, .footer__social a {
  display: block; padding: .35rem 0;
  font-family: var(--serif); font-size: 1.05rem; color: var(--wb-on-dark, rgba(239,233,221,.85));
  transition: color .25s, transform .25s var(--ease-out);
}
.footer__links a:hover, .footer__social a:hover { color: var(--chili-soft); transform: translateX(3px); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem var(--container-px); border-top: 1px solid rgba(239,233,221,.1);
  font-size: .85rem; color: var(--wb-on-dark, rgba(239,233,221,.55));
}
.footer__bottom-mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; }

/* ============================= ANIMATIONS ================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* hero CSS entrance (above-fold fast paint) */
.hero__lede > * { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }
.hero__lede > .eyebrow      { animation-delay: .15s; }
.hero__lede > .hero__prefix { animation-delay: .25s; }
.hero__lede > h1            { animation-delay: .35s; }
.hero__lede > .hero__subtitle { animation-delay: .55s; }
.hero__lede > .hero__copy   { animation-delay: .7s; }
.hero__lede > .hero__actions { animation-delay: .85s; }
.hero__lede > .hero__credentials { animation-delay: 1.05s; }
.hero__plate { opacity: 0; animation: fade-in 1.4s var(--ease-out) .35s forwards; }

/* deferred render hints for below-fold */
.about, .services, .testimonials, .contact, .faqs, .counters, .studio-timeline {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ============================== RESPONSIVE ================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; }
  .hero__plate { max-width: 600px; }
  .hero__chip--rate { left: 0; }
  .hero__chip--rating { right: 0; }

  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__col-meta { position: static; flex-direction: row; align-items: center; gap: 1.5rem; }
  .about__col-headline, .about__col-figure, .about__col-body { grid-column: auto; grid-row: auto; }

  .services__grid { grid-template-columns: repeat(6, 1fr); }
  .services__grid > .service-card,
  .services__grid > .service-card:nth-child(7n+1),
  .services__grid > .service-card:nth-child(7n+2),
  .services__grid > .service-card:nth-child(7n+3),
  .services__grid > .service-card:nth-child(7n+4),
  .services__grid > .service-card:nth-child(7n+5),
  .services__grid > .service-card:nth-child(7n+6),
  .services__grid > .service-card:nth-child(7n+7) { grid-column: span 3; transform: none; }
  .services__grid > .service-card:nth-child(7n+2):hover,
  .services__grid > .service-card:nth-child(7n+5):hover { transform: translateY(-6px); }

  .services__header { grid-template-columns: 1fr; gap: 1rem; }
  .services__intro { border-left: 0; padding-left: 0; }
  .services__process-list { grid-template-columns: repeat(2, 1fr); }

  .testimonials__rail { grid-template-columns: 1fr 1fr; }
  .testimonials__rail > .quote-card,
  .testimonials__rail > .quote-card:nth-child(3n+1),
  .testimonials__rail > .quote-card:nth-child(3n+3) { transform: none; }
  .testimonials__paper-rail { grid-template-columns: 1fr 1fr; }

  .contact__layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact__strip-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact__strip-info { padding-left: 0; border-left: 0; padding-top: 2rem; border-top: 1px solid rgba(239,233,221,.18); }

  .faqs__layout { grid-template-columns: 1fr; gap: 2rem; }
  .faqs__aside { position: static; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }

  .about__page-grid { grid-template-columns: 1fr; gap: 3rem; }
  .studio-timeline__rail { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 720px) {
  :root { --container-px: 1.25rem; }

  .site-header__rail { gap: 1.25rem; padding: .5rem var(--container-px); justify-content: flex-start; }
  .site-header__rail-item:nth-child(2),
  .site-header__rail-item:nth-child(3) { display: none; }

  .site-nav__links { display: none; position: fixed; top: 86px; left: 0; right: 0; background: var(--linen);
    flex-direction: column; padding: 1.5rem var(--container-px); gap: .25rem; box-shadow: 0 14px 28px -16px rgba(13,29,24,.25); border-top: 1px solid var(--rule); z-index: 99; }
  .site-nav__links.open { display: flex; }
  .site-nav__links a { padding: .85rem 0; font-family: var(--serif); font-size: 1.5rem; border-bottom: 1px dashed var(--rule); }
  .site-nav__cta { display: none; }
  .site-nav__toggle { display: flex; }
  .site-nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav__toggle.open span:nth-child(2) { opacity: 0; }
  .site-nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__masthead { display: none; }
  .hero__inner { padding: 2rem var(--container-px) 2.5rem; }
  .hero__chip { display: none; }
  .hero__credentials { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hero__marquee-track { font-size: 1.25rem; }

  .about, .services, .testimonials, .faqs, .contact { padding: 4.5rem 0; }
  .counters { padding: 3rem 0; }
  .counters__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem 1.5rem; }

  .services__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .services__grid > .service-card,
  .services__grid > .service-card:nth-child(7n+1),
  .services__grid > .service-card:nth-child(7n+2),
  .services__grid > .service-card:nth-child(7n+3),
  .services__grid > .service-card:nth-child(7n+4),
  .services__grid > .service-card:nth-child(7n+5),
  .services__grid > .service-card:nth-child(7n+6),
  .services__grid > .service-card:nth-child(7n+7) { grid-column: span 1; }
  .services__cta { padding: 1.5rem; }
  .services__cta p { font-size: 1.15rem; }
  .services__process { padding: 2rem 1.5rem; }
  .services__process-list { grid-template-columns: 1fr; gap: 1.5rem; }

  .testimonials__rail, .testimonials__paper-rail { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact__card { padding: 2rem 1.5rem; }
  .contact__card-stamp { width: 70px; height: 84px; top: 1rem; right: 1rem; }
  .contact-form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .studio-timeline__rail { grid-template-columns: 1fr; gap: 2rem; }
  .studio-timeline__step::before { display: none; }
}


/* ================================ MOTION (CSS scroll-driven; replaces
   this theme's only GSAP file) ================================
   Resting state is visible at rule level everywhere below — the hidden
   from-state lives ONLY inside each @keyframes, and every rule is gated
   behind @supports + no-preference, so a non-supporting or
   reduced-motion visitor sees complete, readable content, never a blank
   section. */
@keyframes wb-verdura-reveal {
  from { opacity: 0; translate: 0 32px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes wb-verdura-reveal-x {
  from { opacity: 0; translate: 24px 0; }
  to   { opacity: 1; translate: 0 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Single-instance section reveals — each gets its own view() timeline,
       so no stagger is needed even though one rule matches many blocks. */
    .about__col-headline, .about__col-body, .about__col-figure,
    .about__page-body, .about__page-figure,
    .services__cta, .testimonials__head, .services__header,
    .faqs__aside, .contact__aside, .contact__strip-text, .page-banner__inner,
    .contact__card {
      animation: wb-verdura-reveal .8s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* Contact strip info — was an x-axis GSAP fade. */
    .contact__strip-info {
      animation: wb-verdura-reveal-x .7s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* Repeating groups — approximate the old GSAP stagger with nth-child. */
    .service-card, .quote-card, .services__process-list li,
    .studio-timeline__step, .counter,
    .footer__brand, .footer__links, .footer__social {
      animation: wb-verdura-reveal .75s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .service-card:nth-child(2), .quote-card:nth-child(2), .services__process-list li:nth-child(2),
    .studio-timeline__step:nth-child(2), .counter:nth-child(2), .footer__links {
      animation-range: entry 8% entry 48%;
    }
    .service-card:nth-child(3), .quote-card:nth-child(3), .services__process-list li:nth-child(3),
    .studio-timeline__step:nth-child(3), .counter:nth-child(3), .footer__social {
      animation-range: entry 16% entry 56%;
    }
    .service-card:nth-child(4), .quote-card:nth-child(4), .services__process-list li:nth-child(4),
    .studio-timeline__step:nth-child(4), .counter:nth-child(4) {
      animation-range: entry 24% entry 64%;
    }
    .service-card:nth-child(n+5), .quote-card:nth-child(n+5), .services__process-list li:nth-child(n+5),
    .studio-timeline__step:nth-child(n+5), .counter:nth-child(n+5) {
      animation-range: entry 32% entry 72%;
    }

    /* Hero parallax — the CSS scroll-driven replacement for this theme's
       only scrub tween (`start: 'top top', end: 'bottom top'` -> `exit`,
       the hero leaving upward; `yPercent: 8` -> `translate: 0 8%`).
       Fine-pointer only, matching the original gate. `translate`, not
       `transform`, so it composes with rather than clobbers the
       `.hero:hover .hero__figure img { transform: scale(1.08) }` zoom. */
    @media (pointer: fine) {
      .hero__figure img {
        animation: wb-verdura-parallax linear both;
        animation-timeline: view();
        animation-range: exit;
      }
    }
  }
}
@keyframes wb-verdura-parallax {
  from { translate: 0 0; }
  to   { translate: 0 8%; }
}

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --chili: #c03726; /* was #d94f3c */
}
