/*
 * Real Estate SEO Services.
 *
 * The page is a piece of architecture, coloured from the owner's art: the
 * evergreen of its pins and icons, the limestone of the villa, brass and lamp
 * light from the golden hour. Each section is one thing from a property's
 * world: skyline, floor plan, arched windows, city blocks, yard signs, a tower
 * going up, a blueprint, a pair of doors.
 *
 * Everything is scoped under .re-page. landing.css still loads (the button
 * set and the shared FAQ accordion).
 *
 * Motion contract: [data-reveal] gets .is-in from real-estate-seo.js and each
 * child staggers off its own --i. [data-scrub] gets --p (0..1) tied to scroll
 * position, both ways; every rule reading it defaults to 1, so with no JS the
 * page rests in its finished state. Hiding is gated on .re-js. Everything
 * settles under prefers-reduced-motion at the foot of this file.
 *
 * Order: tokens, type, buttons, motion, hero, results, why, services, core +
 * strip, cases, who, cost, tools, process, choose, ready, FAQ, responsive,
 * reduced motion.
 */
.re-page {
  --re-pine: #0f3d33;
  --re-green: #0e5a49;
  --re-sage: #e8efe9;
  --re-street: #edf1ec;
  --re-paper: #fefdf9;
  --re-brass: #b8894a;
  --re-lamp: #ffd28a;
  --re-ink: #14261f;
  --re-muted: #51635b;
  --re-line: rgba(15, 61, 51, 0.14);

  --re-display: "Urbanist", var(--heading-font);
  --re-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --re-sec-y: clamp(64px, 8vw, 120px);
  --re-top: clamp(96px, 9vw, 124px); /* the theme's header-clearing offset */

  background: #fff;
  color: var(--re-ink);
  overflow-x: clip;
}

.re-sec {
  position: relative;
  padding-block: var(--re-sec-y);
}

/* ---------- Type ---------- */
.re-page .re-h2 {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--re-pine);
  text-wrap: balance;
}

.re-page .re-h3 {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-lead {
  max-width: 68ch;
  margin: 14px auto 0;
  color: var(--re-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
}

.re-page .re-on-dark {
  color: #fff;
}

.re-page .re-lead.re-on-dark {
  color: rgba(255, 255, 255, 0.78);
}

.re-head-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(36px, 4.5vw, 60px);
}

.re-head-center .re-h3 {
  margin-top: 30px;
}

.re-page .re-hero-text,
.re-page .re-room p,
.re-page .re-arch p,
.re-page .re-block p,
.re-page .re-strip p,
.re-page .re-case-body p:not(.re-case-meta),
.re-page .re-piece p,
.re-page .re-step p,
.re-page .re-note p,
.re-page .re-faq .faq-ans p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Buttons ---------- */
/* style.css repaints the disc and arrow on hover, so every variant restates
   disc colour and arrow fill at rest AND on hover. */
.re-page .btn-strategy.re-btn {
  background-color: var(--re-green);
  border-color: var(--re-green);
  transition:
    padding 0.42s var(--re-ease),
    background-color 0.42s var(--re-ease),
    border-color 0.42s var(--re-ease),
    box-shadow 0.42s var(--re-ease),
    transform 0.42s var(--re-ease);
}

.re-page .btn-strategy.re-btn .btn-text {
  color: #fff;
  transition: color 0.42s var(--re-ease);
}

.re-page .btn-strategy.re-btn:hover {
  background-color: var(--re-pine);
  border-color: var(--re-pine);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 61, 51, 0.3);
}

.re-page .btn-strategy.re-btn .icon-circle,
.re-page .btn-strategy.re-btn:hover .icon-circle {
  background: #fff;
  transition:
    right 0.42s var(--re-ease),
    background-color 0.42s var(--re-ease);
}

.re-page .btn-strategy.re-btn .icon-circle svg path,
.re-page .btn-strategy.re-btn:hover .icon-circle svg path {
  fill: var(--re-green);
}

.re-page .btn-strategy.re-btn-light {
  background-color: #fff;
  border-color: #fff;
}

.re-page .btn-strategy.re-btn-light .btn-text {
  color: var(--re-pine);
}

.re-page .btn-strategy.re-btn-light .icon-circle {
  background: var(--re-green);
}

.re-page .btn-strategy.re-btn-light .icon-circle svg path {
  fill: #fff;
}

.re-page .btn-strategy.re-btn-light:hover {
  background-color: var(--re-lamp);
  border-color: var(--re-lamp);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.re-page .btn-strategy.re-btn-light:hover .btn-text {
  color: var(--re-pine);
}

.re-page .btn-strategy.re-btn-light:hover .icon-circle {
  background: var(--re-pine);
}

.re-page .btn-strategy.re-btn-light:hover .icon-circle svg path {
  fill: #fff;
}

/* ---------- Motion primitives ---------- */
.re-page.re-js [data-reveal] > :not([aria-hidden="true"]),
.re-page.re-js [data-reveal] > ul > li {
  opacity: 0;
}

.re-page [data-reveal].is-in > :not([aria-hidden="true"]),
.re-page [data-reveal].is-in > ul > li {
  opacity: 1;
  animation: re-reveal 0.85s var(--re-ease) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes re-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

.re-page.re-js .re-rise {
  opacity: 0;
  transform: translateY(26px);
  animation: re-rise 0.9s var(--re-ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}

@keyframes re-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.re-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding-block: calc(var(--re-top) + 12px) clamp(48px, 5vw, 72px);
  background: var(--re-paper);
}

.re-hero-photo {
  position: absolute;
  inset: 0 0 0 8%;
}

.re-hero-photo img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  object-position: left center;
  translate: 0 var(--d, 0);
}

.re-page.re-js .re-hero-photo img {
  animation: re-dolly 2.4s var(--re-ease) both;
}

@keyframes re-dolly {
  from {
    opacity: 0;
    scale: 1.07;
  }
}

/* Golden-hour light moving slowly over the villa. */
.re-hero-sun {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 120, 0.5), transparent);
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: re-sun 16s ease-in-out infinite alternate;
}

@keyframes re-sun {
  to {
    transform: translate(-14vw, 10%);
  }
}

.re-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  width: 100%;
}

.re-page .re-hero-title {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--re-pine);
}

.re-page .re-hero-sub {
  margin: 16px 0 0;
  font-family: var(--re-display);
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--re-green);
}

.re-page .re-hero-text {
  margin: 14px 0 0;
  color: var(--re-muted);
  font-size: 16px;
  line-height: 1.68;
}

.re-hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.re-hero-points li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--re-ink);
}

/* A small map pin for a bullet. */
.re-hero-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: radial-gradient(circle, #fff 0 22%, var(--re-green) 25%);
}

.re-hero-stage {
  margin-right: clamp(-48px, -3vw, 0px);
  translate: var(--tx, 0) var(--ty, 0);
  transition: translate 0.5s var(--re-ease);
}

.re-art {
  position: relative;
  aspect-ratio: 1585 / 992;
  container-type: inline-size;
  filter: drop-shadow(0 30px 40px rgba(15, 61, 51, 0.22));
}

.re-art-layer {
  position: absolute;
  inset: 0;
}

.re-art-layer img {
  display: block;
  width: 100%;
  height: auto;
}

/* The three clips tile the canvas exactly: nothing doubles at rest. */
.re-art-serp {
  clip-path: polygon(0 0, 100% 0, 100% 16.13%, 58.68% 16.13%, 58.68% 100%, 0 100%);
}

.re-art-chart {
  clip-path: inset(16.13% 0 47.08% 58.68%);
}

.re-art-map {
  clip-path: inset(52.92% 0 0 58.68%);
}

.re-page.re-js .re-art-serp {
  animation: re-art-serp 1.1s var(--re-ease) 0.25s both;
}

.re-page.re-js .re-art-chart {
  animation: re-art-card 1s var(--re-ease) 0.75s both;
}

.re-page.re-js .re-art-map {
  animation: re-art-card 1s var(--re-ease) 1s both;
}

@keyframes re-art-serp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

@keyframes re-art-card {
  from {
    opacity: 0;
    transform: translate(7%, 3%);
  }
}

/* Sits over the query printed in the art so it can be typed. */
.re-art-query {
  position: absolute;
  left: 21.3%;
  top: 11%;
  width: 30%;
  height: 4.6%;
  display: flex;
  align-items: center;
  background: #fff;
  color: #1f2321;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.76cqw;
  line-height: 1;
  white-space: pre;
}

.re-art-query.is-typing::after {
  content: "";
  width: 1px;
  height: 1.2em;
  margin-left: 1px;
  background: var(--re-ink);
  animation: re-caret 0.9s steps(2, jump-none) infinite;
}

@keyframes re-caret {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.re-art-ping {
  position: absolute;
  width: 3.4cqw;
  aspect-ratio: 1;
  margin: -1.7cqw 0 0 -1.7cqw;
  border-radius: 50%;
  border: 2px solid var(--re-green);
  animation: re-ping 2.6s ease-out infinite;
}

.re-art-ping-chart {
  left: 91.6%;
  top: 28.7%;
}

.re-art-ping-map {
  left: 78%;
  top: 75.5%;
  width: 6cqw;
  margin: -3cqw 0 0 -3cqw;
  animation-delay: 1.3s;
}

@keyframes re-ping {
  from {
    opacity: 0.8;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* ---------- Results: the skyline ---------- */
.re-sky {
  position: relative;
  overflow: hidden;
  padding-top: var(--re-sec-y);
  background: linear-gradient(180deg, #0f3d33 0%, #1a5a55 46%, #b98a58 84%, #efb574 100%);
}

.re-sky-far {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 58%;
  fill: rgba(15, 61, 51, 0.42);
}

.re-sky .container {
  position: relative;
}

.re-towers {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-tower {
  --q: clamp(0, var(--p, 1) * 1.3 - var(--t) * 0.1, 1);
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 26px clamp(14px, 1.8vw, 26px) 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #0c2f28, #0a2620);
  box-shadow: inset 0 2px 0 rgba(255, 210, 138, 0.35);
  translate: 0 calc((1 - var(--q)) * 100%);
  will-change: translate;
}

/* Roof plant, so the tops read as buildings. */
.re-tower::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 18%;
  width: 26%;
  height: 12px;
  border-radius: 4px 4px 0 0;
  background: #0c2f28;
}

.re-tower:first-child::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 12px);
  left: 30%;
  width: 3px;
  height: 46px;
  background: #0c2f28;
}

.re-tower-plaque {
  display: block;
}

.re-tower-num {
  display: block;
  font-family: var(--re-display);
  font-size: clamp(38px, 4.4vw, 66px);
  font-weight: 800;
  line-height: 1;
  color: var(--re-lamp);
}

.re-tower-label {
  display: block;
  min-height: 2.7em;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.35;
}

.re-tower-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
  grid-auto-rows: 18px;
  gap: 11px 10px;
  height: var(--h);
  margin-top: 20px;
  overflow: hidden;
}

.re-tower-body i {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.055);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

.re-tower-body i.on {
  background: var(--re-lamp);
  box-shadow: 0 0 12px rgba(255, 210, 138, 0.55);
}

.re-tower-body i.on.cool {
  background: #fff3dc;
}

/* ---------- Why: the floor plan ---------- */
.re-why {
  background: var(--re-paper);
}

.re-how-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.re-how-title img {
  width: 64px;
  height: auto;
}

.re-page .re-how-title h3 {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--re-pine);
}

.re-plan {
  --hall: 84px;
  --wall: 4px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto var(--hall) auto;
}

.re-rooms {
  display: contents;
}

.re-hall {
  grid-row: 2;
  grid-column: 1 / -1;
  position: relative;
  background: var(--re-sage);
}

.re-hall::before,
.re-hall-trail {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  margin-top: -1px;
}

.re-hall::before {
  right: 0;
  background: repeating-linear-gradient(90deg, rgba(15, 61, 51, 0.3) 0 8px, transparent 8px 16px);
}

.re-hall-trail {
  width: calc(var(--p, 1) * 100%);
  height: 3px;
  background: var(--re-brass);
}

.re-walker {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 1) * 100%);
  z-index: 3;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: var(--re-brass);
  box-shadow: 0 0 0 6px rgba(184, 137, 74, 0.25);
}

.re-room {
  position: relative;
  grid-column: var(--col);
  margin-left: calc(var(--wall) * -1);
  padding: 26px 26px 92px;
  border: var(--wall) solid var(--re-pine);
  background: #fff;
  transition: background-color 0.7s ease;
}

.re-room:nth-child(-n + 2) {
  margin-left: 0;
}

.re-room-up {
  grid-row: 1;
}

.re-room-down {
  grid-row: 3;
  padding: 92px 26px 26px;
}

/* The light comes on from the ceiling. */
.re-room::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 0, rgba(255, 210, 138, 0.42), transparent 70%);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.re-room.is-lit::before {
  opacity: 1;
}

.re-room-down::before {
  background: radial-gradient(90% 80% at 50% 100%, rgba(255, 210, 138, 0.42), transparent 70%);
}

.re-room > * {
  position: relative;
}

.re-room img {
  display: block;
  width: 76px;
  height: auto;
  transition: scale 0.6s var(--re-ease), filter 0.6s ease;
}

.re-page.re-js .re-room:not(.is-lit) img {
  filter: grayscale(1);
  scale: 0.92;
}

.re-page .re-room h4 {
  margin: 12px 0 6px;
  font-family: var(--re-display);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-room p {
  margin: 0;
  color: var(--re-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* A gap in the hall wall, a leaf hinged on its left jamb, and the dashed
   swing arc a plan draws for every door. */
.re-page .re-door {
  position: absolute;
  bottom: calc(var(--wall) * -1);
  left: 25%;
  width: 62px;
  height: var(--wall);
  margin-left: -31px;
  background: var(--re-sage);
}

.re-room-down .re-door {
  top: calc(var(--wall) * -1);
  bottom: auto;
  left: 75%;
  scale: 1 -1;
}

.re-door::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 60px;
  height: 60px;
  border-top: 1.5px dashed var(--re-brass);
  border-right: 1.5px dashed var(--re-brass);
  border-radius: 0 60px 0 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

.re-door-leaf {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: var(--wall);
  background: var(--re-pine);
  transform-origin: 0 50%;
  transition: rotate 0.7s var(--re-ease);
}

.re-room.is-lit .re-door-leaf {
  rotate: -88deg;
}

.re-room.is-lit .re-door::before {
  opacity: 1;
}

.re-page .re-room-node {
  position: absolute;
  bottom: calc(var(--hall) / -2 - var(--wall));
  left: 25%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 0 -15px -15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--re-pine);
  color: var(--re-pine);
  font-family: var(--re-display);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.re-page .re-room-down .re-room-node {
  top: calc(var(--hall) / -2 - var(--wall));
  bottom: auto;
  left: 75%;
  margin: -15px 0 0 -15px;
}

.re-room.is-lit .re-room-node {
  background: var(--re-pine);
  color: #fff;
}

/* ---------- Services: arched windows ---------- */
.re-facade {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-arch {
  flex: 0 1 calc((100% - 3 * clamp(18px, 2vw, 28px)) / 4);
  min-width: 0;
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  padding: 0 24px 28px;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, #0e5a49, #0f3d33 62%);
  color: #fff;
  transition: translate 0.5s var(--re-ease), box-shadow 0.5s var(--re-ease);
}

.re-arch:hover {
  translate: 0 -6px;
  box-shadow: 0 26px 44px -20px rgba(15, 61, 51, 0.55);
}

/* Lamp light, following the pointer. */
.re-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 28%), rgba(255, 210, 138, 0.42), transparent 72%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.re-arch:hover::before {
  opacity: 1;
}

/* Inner frame line. */
.re-arch::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 210, 138, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.re-fan {
  position: absolute;
  top: 9px;
  left: 9px;
  width: calc(100% - 18px);
  height: auto;
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  transition: stroke 0.5s ease;
}

.re-arch:hover .re-fan {
  stroke: rgba(255, 210, 138, 0.8);
}

.re-arch-ico {
  position: absolute;
  top: calc(50cqw - 26px);
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  color: var(--re-lamp);
}

.re-arch-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.re-page .re-arch h3 {
  position: relative;
  min-height: 2.5em;
  margin: 0 0 8px;
  padding-top: calc(50cqw + 22px);
  box-sizing: content-box;
  font-family: var(--re-display);
  font-size: clamp(19px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.re-page .re-arch p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Core work: city blocks ---------- */
.re-core {
  background: var(--re-street);
}

.re-blocks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 52px;
  margin: 0;
  padding: 16px;
  list-style: none;
}

.re-block {
  grid-column: span 4;
  position: relative;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  outline: 2px dashed rgba(15, 61, 51, 0.2); /* the block's kerb */
  outline-offset: 14px;
  transition: translate 0.4s var(--re-ease), box-shadow 0.4s var(--re-ease);
}

.re-block:nth-child(4),
.re-block:nth-child(7) {
  grid-column: span 7;
}

.re-block:nth-child(5),
.re-block:nth-child(6) {
  grid-column: span 5;
}

/* Parks. */
.re-block:nth-child(2),
.re-block:nth-child(5) {
  background: #d9e7dc;
}

.re-block:hover {
  translate: 0 -5px;
  box-shadow: 0 20px 34px -22px rgba(15, 61, 51, 0.5);
}

.re-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--re-green);
  rotate: -45deg;
  transition: translate 0.4s var(--re-ease);
}

.re-pin img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  rotate: 45deg;
}

.re-block:hover .re-pin {
  translate: 0 -5px;
}

.re-blocks.is-in .re-pin {
  animation: re-pin-drop 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) backwards;
  animation-delay: calc(var(--i, 0) * 80ms + 280ms);
}

@keyframes re-pin-drop {
  from {
    opacity: 0;
    translate: 0 -70px;
  }
}

.re-page .re-block h3 {
  margin: 0 0 8px;
  font-family: var(--re-display);
  font-size: clamp(20px, 1.7vw, 23px);
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-block p {
  margin: 0;
  color: var(--re-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* CTA strip: full container width. */
.re-strip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(32px, 3.4vw, 42px) clamp(26px, 4vw, 52px);
  border-radius: 20px;
  background: var(--re-pine);
  color: #fff;
}

/* A bar of light crosses as the strip is hovered. */
.re-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 210, 138, 0.2), transparent);
  transition: left 1.1s var(--re-ease);
  pointer-events: none;
}

.re-strip:hover::before {
  left: 110%;
}

.re-page .re-strip h3 {
  margin: 0 0 8px;
  font-family: var(--re-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.re-page .re-strip p {
  margin: 0;
  max-width: 76ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.re-strip > div:last-child {
  flex: none;
}

/* ---------- Cases: the slider ---------- */
/* The root is the grid: slider.js appends .slider-dots as its last child, so
   arrows and dots are placed into one centred row beneath the viewport. */
.re-slider {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 20px 14px;
}

.re-slider .slider-viewport {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
}

.re-slider .slider-track {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-page .re-slider .slider-arrow {
  position: static;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--re-pine);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, scale 0.3s var(--re-ease);
}

.re-page .re-slider .slider-arrow:hover {
  background: var(--re-green);
  scale: 1.08;
}

.re-page .re-slider .slider-arrow svg {
  width: 22px;
  height: 22px;
}

.re-slider .slider-prev {
  grid-column: 2;
  grid-row: 2;
}

.re-slider .slider-next {
  grid-column: 4;
  grid-row: 2;
}

.re-page .re-slider .slider-dots {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-page .re-slider .slider-dot {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 61, 51, 0.25);
  cursor: pointer;
  transition: width 0.4s var(--re-ease), background-color 0.3s ease;
}

.re-page .re-slider .slider-dot.is-active {
  width: 30px;
  background: var(--re-green);
}

/* No JS: nothing moves the track, so the cases stack. */
.re-page:not(.re-js) .re-slider .slider-track {
  display: block;
}

.re-page:not(.re-js) .re-slider .slider-slide + .slider-slide {
  margin-top: 20px;
}

.re-page:not(.re-js) .re-slider .slider-arrow {
  display: none;
}

.re-case {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  height: 100%;
  padding: clamp(16px, 2vw, 24px);
  background: var(--re-sage);
}

.re-case-art {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.re-case-art img {
  display: block;
  width: 100%;
  height: auto;
  transition: scale 1.2s var(--re-ease);
}

/* The incoming plate settles as its slide lands. */
.re-page.re-js .slider-slide:not(.is-current) .re-case-art img {
  scale: 1.07;
}

.re-page .re-case-body h3 {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--re-pine);
}

.re-page .re-case-meta {
  margin: 4px 0 12px;
  color: var(--re-brass);
  font-size: 14.5px;
  font-weight: 600;
}

.re-page .re-case-body h4 {
  margin: 12px 0 2px;
  font-family: var(--re-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-case-body p {
  margin: 0;
  color: var(--re-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.re-case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.re-case-num {
  display: block;
  font-family: var(--re-display);
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--re-green);
}

.re-case-label {
  display: block;
  color: var(--re-muted);
  font-size: 14px;
  line-height: 1.3;
}

/* ---------- Who: the gallery wall ---------- */
.re-who {
  background: var(--re-paper);
}

.re-wall {
  display: flex;
  gap: clamp(20px, 2.6vw, 36px);
}

.re-wall-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.4vw, 48px);
}

.re-wall-col:nth-child(2) {
  margin-top: 72px;
}

.re-frame {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--re-sage);
}

.re-frame-square {
  aspect-ratio: 1;
}

.re-frame-wide {
  aspect-ratio: 3 / 2;
}

.re-frame-tall {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 16px 16px;
}

.re-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.14;
  translate: 0 var(--d, 0);
  transition: scale 0.9s var(--re-ease);
}

.re-piece:hover .re-frame img {
  scale: 1.2;
}

.re-page [data-reveal].is-in > .re-frame {
  animation: re-wipe 1.15s var(--re-ease) backwards;
}

@keyframes re-wipe {
  from {
    opacity: 1;
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

.re-page .re-piece h3 {
  margin: 0 0 6px;
  font-family: var(--re-display);
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-piece p {
  margin: 0;
  color: var(--re-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ---------- Cost: yard signs ---------- */
.re-signs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  margin: 0;
  padding: 46px clamp(10px, 2vw, 30px) 0;
  list-style: none;
}

/* The rail. */
.re-signs::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  border-radius: 9px;
  background: var(--re-pine);
}

.re-sign {
  position: relative;
  transform-origin: 50% -46px;
}

.re-sign-hooks::before,
.re-sign-hooks::after {
  content: "";
  position: absolute;
  top: -46px;
  width: 3px;
  height: 46px;
  background: repeating-linear-gradient(180deg, var(--re-brass) 0 6px, transparent 6px 9px);
}

.re-sign-hooks::before {
  left: 20%;
}

.re-sign-hooks::after {
  right: 20%;
}

.re-sign-board {
  padding: 24px 18px 26px;
  border: 2px solid var(--re-pine);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 34px -26px rgba(15, 61, 51, 0.6);
  text-align: center;
  transition: background-color 0.4s ease;
}

.re-sign:hover .re-sign-board {
  background: #fff8ea;
}

.re-sign-board svg {
  width: 62px;
  height: 58px;
  fill: none;
  stroke: var(--re-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.re-page .re-sign-board h4 {
  margin: 10px 0 8px;
  font-family: var(--re-display);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  color: var(--re-pine);
  text-wrap: balance;
}

.re-page .re-sign-price {
  margin: 0;
  font-family: var(--re-display);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--re-green);
}

.re-page .re-sign-per {
  margin: 4px 0 0;
  color: var(--re-muted);
  font-size: 14.5px;
}

.re-page.re-js .re-sign {
  opacity: 0;
}

.re-page .re-signs.is-in .re-sign {
  opacity: 1;
  animation: re-swing 2.2s ease-out backwards;
  animation-delay: calc(var(--s) * 140ms);
}

.re-page .re-signs.is-in .re-sign:hover {
  animation: re-swing-again 1.5s ease-out;
}

@keyframes re-swing {
  0% {
    opacity: 0;
    rotate: 9deg;
  }
  20% {
    opacity: 1;
    rotate: -6deg;
  }
  42% {
    rotate: 3.6deg;
  }
  64% {
    rotate: -2deg;
  }
  84% {
    rotate: 0.8deg;
  }
}

@keyframes re-swing-again {
  20% {
    rotate: 2.6deg;
  }
  45% {
    rotate: -1.8deg;
  }
  72% {
    rotate: 0.8deg;
  }
}

.re-spec {
  margin-top: clamp(40px, 4.6vw, 60px);
  text-align: center;
}

.re-spec ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.re-spec li {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--re-sage);
  color: var(--re-pine);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.re-spec li:hover {
  background: var(--re-green);
  color: #fff;
}

.re-spec .re-lead {
  margin-top: 20px;
}

/* ---------- Tools: two rails ---------- */
.re-tools {
  overflow: hidden;
  background: var(--re-street);
}

.re-rail {
  display: flex;
  width: max-content;
  margin-bottom: 16px;
  animation: re-rail 46s linear infinite;
}

.re-rail-back {
  animation-direction: reverse;
}

.re-rail:hover {
  animation-play-state: paused;
}

@keyframes re-rail {
  to {
    transform: translateX(-50%);
  }
}

.re-rail ul {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}

.re-rail li {
  display: grid;
  place-items: center;
  width: clamp(170px, 17vw, 240px);
  height: 92px;
  padding: 16px 24px;
  border-radius: 14px;
  background: #fff;
}

.re-rail img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}

/* ---------- Process: the tower ---------- */
.re-build {
  --fl: clamp(50px, 7vh, 66px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
}

.re-site {
  position: sticky;
  top: var(--re-top);
  align-self: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(var(--fl) * 6 + 170px);
  padding: 0 24px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, #dfeae3, #f6efe0);
}

.re-site-tower {
  position: relative;
  width: min(260px, 72%);
  height: calc(var(--fl) * 6);
  margin-inline: auto;
}

.re-site-ground {
  display: block;
  height: 14px;
  margin-inline: -24px;
  background: var(--re-pine);
}

.re-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--f) * var(--fl));
  height: var(--fl);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--re-green);
  border-top: 3px solid var(--re-pine);
  transition: opacity 0.35s ease, translate 0.6s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.re-page.re-js .re-floor:not(.is-lit) {
  opacity: 0;
  translate: 0 -44px;
}

.re-floor i {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.5s ease 0.35s;
}

.re-floor.is-lit i:nth-child(odd),
.re-floor.is-lit:nth-child(3n) i:nth-child(2) {
  background: var(--re-lamp);
}

.re-crane {
  position: absolute;
  left: 10%;
  bottom: calc(var(--p, 1) * var(--fl) * 6 - 2px);
  width: 76%;
  height: auto;
  fill: none;
  stroke: var(--re-brass);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.re-crane rect {
  fill: var(--re-brass);
}

.re-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-step {
  padding: 22px 0 22px 26px;
  border-left: 3px solid var(--re-sage);
  transition: border-color 0.5s ease, opacity 0.5s ease, translate 0.5s var(--re-ease);
}

.re-step.is-lit {
  border-color: var(--re-green);
}

.re-page.re-js .re-step:not(.is-lit) {
  opacity: 0.62;
  translate: 10px 0;
}

.re-page .re-step h3 {
  margin: 0 0 8px;
  font-family: var(--re-display);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--re-pine);
}

.re-page .re-step p {
  margin: 0;
  color: var(--re-muted);
  font-size: 16px;
  line-height: 1.6;
}

.re-page .re-step p + p {
  margin-top: 4px;
}

/* ---------- Choose: the blueprint ---------- */
.re-choose {
  background-color: var(--re-pine);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow: hidden;
}

.re-sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.re-house {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: visible;
}

.re-house path {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, (var(--p, 1) - var(--k, 0) * 0.7) / 0.3, 1));
}

.re-house .re-dim {
  stroke: var(--re-lamp);
  stroke-width: 1.2;
}

.re-notes {
  position: static;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.re-note {
  position: relative;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(15, 61, 51, 0.88);
  transition: border-color 0.35s ease;
}

.re-note:hover {
  border-color: var(--re-lamp);
}

/* Leaders from each note to a point on the drawing, built by initLeaders. */
.re-leaders {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--re-lamp);
  stroke-width: 1;
  opacity: clamp(0, (var(--p, 1) - 0.72) / 0.2, 1);
}

.re-leaders circle {
  fill: var(--re-lamp);
  stroke: none;
}

.re-note-ico {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  background: var(--re-lamp);
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.re-page .re-note h3 {
  margin: 0 0 6px;
  font-family: var(--re-display);
  font-size: clamp(19px, 1.5vw, 21px);
  font-weight: 700;
  color: #fff;
}

.re-page .re-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Ready: the doors ---------- */
.re-ready {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 40vw, 620px);
  padding-block: 44px;
  background: var(--re-ready-bg) center / cover no-repeat;
}

.re-ready .container {
  position: relative;
}

.re-ready-card {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 60px -28px rgba(15, 61, 51, 0.5);
  text-align: center;
}

.re-page .re-ready-card p {
  margin: 12px 0 20px;
  color: var(--re-muted);
  font-size: 16px;
  line-height: 1.65;
}

.re-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 50.2%;
  background: var(--re-pine);
  will-change: translate;
}

.re-leaf-l {
  left: 0;
  translate: calc(var(--p, 1) * -101%) 0;
}

.re-leaf-r {
  right: 0;
  translate: calc(var(--p, 1) * 101%) 0;
}

/* Recessed panel. */
.re-leaf::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 2px solid rgba(255, 210, 138, 0.35);
  border-radius: 8px;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.03);
}

/* Pull handle at the meeting edge. */
.re-leaf::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 120px;
  margin-top: -60px;
  border-radius: 8px;
  background: var(--re-brass);
}

.re-leaf-l::after {
  right: 14px;
}

.re-leaf-r::after {
  left: 14px;
}

/* ---------- FAQ ---------- */
/* The shared accordion, re-inked. style.css paints #faq by id, so the page
   selector here has to carry the id too. */
.re-page #faq.re-faq {
  padding-block: var(--re-sec-y);
  background-image: none;
  background-color: var(--re-paper);
}

.re-page .re-faq .faq-title {
  font-family: var(--re-display);
  font-weight: 700;
  color: var(--re-pine);
}

.re-page .re-faq .faq-card {
  background: var(--re-pine);
}

.re-page .re-faq .faq-list details.is-open,
.re-page .re-faq .faq-list details[open] {
  border-color: var(--re-green);
}

.re-page .re-faq .faq-list details.is-open > summary,
.re-page .re-faq .faq-list details[open] > summary,
.re-page .re-faq .faq-list details.is-open summary::after {
  color: var(--re-green);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .re-arch {
    flex-basis: calc((100% - 2 * clamp(18px, 2vw, 28px)) / 3);
  }

  .re-sheet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .re-house {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 520px;
    margin-inline: auto;
  }

  .re-leaders {
    display: none;
  }

  .re-notes {
    align-content: start;
  }

  .re-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .re-hero {
    min-height: 0;
  }

  .re-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-hero-photo {
    inset: 0;
    opacity: 0.4;
  }

  .re-hero-stage {
    margin-right: 0;
  }

  /* The hall runs down the left; rooms stack in step order. */
  .re-plan {
    --hall: 46px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    padding-left: var(--hall);
  }

  .re-hall {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--hall);
  }

  .re-hall::before {
    inset: 0 auto 0 50%;
    width: 2px;
    height: auto;
    margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, rgba(15, 61, 51, 0.3) 0 8px, transparent 8px 16px);
  }

  .re-hall-trail {
    top: 0;
    left: 50%;
    width: 3px;
    height: calc(var(--p, 1) * 100%);
    margin: 0 0 0 -1px;
  }

  .re-walker {
    top: calc(var(--p, 1) * 100%);
    left: 50%;
  }

  .re-room,
  .re-room-down {
    grid-column: 1;
    grid-row: auto;
    order: var(--n);
    margin: calc(var(--wall) * -1) 0 0;
    padding: 22px;
  }

  .re-room:first-of-type,
  .re-room:nth-child(-n + 2) {
    margin-left: 0;
  }

  .re-room-down::before {
    background: radial-gradient(90% 80% at 50% 0, rgba(255, 210, 138, 0.42), transparent 70%);
  }

  .re-page .re-door {
    display: none;
  }

  .re-page .re-room-node,
  .re-page .re-room-down .re-room-node {
    top: 50%;
    bottom: auto;
    left: calc(var(--hall) / -2 - var(--wall));
    margin: -15px 0 0 -15px;
  }

  .re-arch {
    flex-basis: calc((100% - clamp(18px, 2vw, 28px)) / 2);
  }

  .re-block,
  .re-block:nth-child(n) {
    grid-column: span 6;
  }

  .re-block:last-child {
    grid-column: 1 / -1;
  }

  .re-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .re-case {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  /* The columns dissolve so the pieces fall back into the doc's order. */
  .re-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-wall-col {
    display: contents;
  }

  .re-piece {
    order: var(--o);
  }

  .re-build {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-site {
    display: none;
  }

  /* The rail keeps the climb when the tower goes. */
  .re-steps::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--re-green);
    transform: scaleY(var(--p, 1));
    transform-origin: top;
  }

  .re-step,
  .re-step.is-lit {
    border-color: var(--re-sage);
  }
}

@media (max-width: 767px) {
  .re-hero-points {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Two by two: towers stand still, their windows still come on. */
  .re-towers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .re-tower {
    translate: none;
    border-radius: 10px;
  }

  .re-tower:first-child::after {
    display: none;
  }

  .re-tower-body {
    height: calc(var(--h) * 0.34);
  }

  .re-sky {
    padding-bottom: 28px;
  }

  .re-blocks {
    gap: 44px;
    padding: 14px;
  }

  .re-block,
  .re-block:nth-child(n) {
    grid-column: 1 / -1;
    outline-offset: 12px;
  }

  .re-arch {
    flex-basis: min(100%, 340px);
  }

  .re-page .re-arch h3 {
    min-height: 0;
  }

  .re-signs {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .re-sign {
    transform-origin: 50% -46px;
  }

  /* One rail per sign once they stack. */
  .re-sign::before {
    content: "";
    position: absolute;
    top: -46px;
    left: 10%;
    right: 10%;
    height: 6px;
    border-radius: 6px;
    background: var(--re-pine);
  }

  .re-signs::before {
    display: none;
  }

  .re-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-leaf::before {
    inset: 14px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .re-page *,
  .re-page *::before,
  .re-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .re-page.re-js .re-rise,
  .re-page.re-js [data-reveal] > :not([aria-hidden="true"]),
  .re-page.re-js [data-reveal] > ul > li,
  .re-page.re-js .re-sign {
    opacity: 1;
    transform: none;
  }

  .re-rail {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .re-rail ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .re-rail ul[aria-hidden="true"] {
    display: none;
  }

  .re-art-ping {
    display: none;
  }
}
