/* ==========================================================================
   Scott Randolph's Tree Service — REDESIGN layer (home v2)
   Loaded only on index-v2.html, AFTER tokens/base/components.
   Orano-inspired: cinematic dark hero + intro gate, editorial spaced type,
   thin grid lines, accent bars, 3D line-tree / chain motifs, lighter body.
   Everything is scoped under body.v2 so it can never touch the other pages.
   ========================================================================== */

/* ---------- Tokens specific to the redesign ---------- */
.v2 {
  --r-bg-dark: #0e0b23;          /* near-black navy, a touch deeper than ink-900 */
  --r-bg-dark-2: #15112f;
  --r-line: rgba(255,255,255,0.07);
  --r-accent: #ef6326;           /* safety orange = the "yellow bar" equivalent */
  --r-accent-soft: #f8a877;
  --r-green: #8cc79e;
  --r-track: 0.18em;             /* editorial letter-spacing for labels */
  --r-track-tight: 0.06em;
}

/* Lock scroll while the intro gate is up */
.v2.gate-open { overflow: hidden; }

/* ==========================================================================
   Intro gate (the "ENTER" curtain)
   Full-viewport fixed overlay over the real home (which stays in the DOM for SEO).
   ========================================================================== */
.gate {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--r-bg-dark);
  color: #fff;
  display: none;                 /* progressive enhancement: only JS arms the gate */
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
.gate.is-on { display: grid; }
.gate.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__media {
  position: relative;
  background: #000;
  overflow: hidden;
  pointer-events: none;          /* decorative — never intercept the ENTER click */
}
/* Icon sizing (the shared .ic has no intrinsic size outside buttons) */
.gate .ic { width: 18px; height: 18px; }
.gate__enter-label .ic { width: 24px; height: 24px; }
.gate__skip svg { display: none; }   /* drop the oversized arrow; keep the label */
.gate__photo {
  position: absolute; inset: 0;
  background: url('../assets/photos/hero-arborist.jpg') center 28% / cover no-repeat;
  filter: grayscale(0.5) contrast(1.06) brightness(0.72);
  transform: scale(1.04);
}
/* Duotone tint toward brand navy + legibility fade into the text panel */
.gate__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,11,35,0) 55%, rgba(14,11,35,0.96) 100%),
    linear-gradient(180deg, rgba(14,11,35,0.45) 0%, rgba(14,11,35,0.2) 40%, rgba(14,11,35,0.7) 100%);
}
.gate__media::before { /* subtle navy color wash for the duotone feel */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--r-bg-dark); mix-blend-mode: color; opacity: 0.35;
}
.gate__panel {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.6rem, 5vw, 5.5rem);
  gap: var(--space-5);
}
.gate__logo { line-height: 0; }
.gate__logo img { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; }
.gate__eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: var(--r-track);
  text-transform: uppercase; color: var(--r-accent-soft);
  display: flex; align-items: center; gap: var(--space-3);
}
.gate__eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--r-accent); }
.gate__title {
  font-family: var(--font-display);
  font-weight: 700; color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em; line-height: 1.04;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  margin: 0;
}
.gate__title .hl { color: var(--r-green); }
.gate__sub { color: rgba(255,255,255,0.78); max-width: 46ch; font-size: var(--fs-md); line-height: 1.6; }
.gate__enter {
  display: inline-flex; align-items: stretch; width: max-content;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.7);
}
.gate__enter-bar { width: 12px; background: var(--r-accent); transition: width var(--t) var(--ease); }
.gate__enter-label {
  background: #fff; color: var(--r-bg-dark);
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: var(--r-track); text-transform: uppercase;
  font-size: var(--fs-base);
  padding: 1.05rem 2.6rem;
  display: inline-flex; align-items: center; gap: var(--space-3);
}
.gate__enter:hover .gate__enter-bar { width: 22px; }
.gate__enter:hover .gate__enter-label { color: var(--r-accent); }
.gate__foot {
  margin-top: var(--space-4);
  display: flex; align-items: center; gap: var(--space-5);
  font-size: var(--fs-sm); color: rgba(255,255,255,0.6);
}
.gate__foot a { color: rgba(255,255,255,0.85); font-weight: 700; }
.gate__foot a:hover { color: var(--r-accent-soft); }
.gate__skip {
  position: absolute; top: clamp(1.4rem,3vw,2.2rem); right: clamp(1.4rem,4vw,3rem);
  background: none; border: 0; color: rgba(255,255,255,0.6); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: var(--r-track-tight); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.gate__skip:hover { color: #fff; }
@media (max-width: 880px) {
  .gate { grid-template-columns: 1fr; }
  .gate__media { position: absolute; inset: 0; }
  .gate__photo::after {
    background:
      linear-gradient(180deg, rgba(14,11,35,0.45) 0%, rgba(14,11,35,0.55) 45%, rgba(14,11,35,0.95) 100%);
  }
  .gate__panel { justify-content: flex-end; padding-bottom: clamp(3rem,10vw,5rem); }
}

/* ==========================================================================
   Thin grid-line motif (for dark sections)
   ========================================================================== */
.rgrid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--r-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--r-line) 1px, transparent 1px);
  background-size: clamp(120px, 16vw, 220px) clamp(120px, 16vw, 220px);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
}

/* ==========================================================================
   Hero (behind the gate) — cinematic, asymmetric, spaced editorial type
   ========================================================================== */
.rhero {
  position: relative; isolation: isolate;
  background: var(--r-bg-dark);
  color: #fff; overflow: hidden;
  padding-block: clamp(7rem, 6rem + 8vw, 11rem) clamp(3.5rem, 3rem + 4vw, 6rem);
}
.rhero__media {
  position: absolute; inset: 0; z-index: -2;
  background: url('../assets/photos/hero-arborist.jpg') 70% 30% / cover no-repeat;
  filter: grayscale(0.35) contrast(1.05) brightness(0.66);
}
.rhero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,11,35,0.94) 0%, rgba(14,11,35,0.72) 42%, rgba(14,11,35,0.30) 100%),
    linear-gradient(180deg, rgba(14,11,35,0.30) 0%, rgba(14,11,35,0.10) 30%, rgba(14,11,35,0.82) 100%);
}
.rhero .rgrid { z-index: -1; }
.rhero__inner { position: relative; max-width: 1180px; }
.rhero__eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: var(--r-track);
  text-transform: uppercase; color: var(--r-accent-soft);
  display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5);
}
.rhero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--r-accent); }
.rhero__title {
  font-family: var(--font-display); color: #fff;
  text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.05em; line-height: 1.03;
  font-size: clamp(2.6rem, 1.5rem + 4.8vw, 5.4rem);
  max-width: 16ch; margin: 0;
}
.rhero__title .hl { color: var(--r-green); }
.rhero__bar { width: 64px; height: 5px; background: var(--r-accent); margin: var(--space-6) 0; }
.rhero__sub {
  font-size: var(--fs-lg); color: rgba(255,255,255,0.82);
  max-width: 56ch; line-height: 1.6; margin: 0 0 var(--space-7);
}
.rhero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.rhero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.rhero__trust-item { display: flex; align-items: center; gap: var(--space-3); }
.rhero__trust-item .ic { width: 22px; height: 22px; color: var(--r-green); }
.rhero__trust-item b { color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: var(--r-track-tight); text-transform: uppercase; font-size: var(--fs-sm); }
/* 3D line-tree motif floating in the hero */
.rhero__tree {
  position: absolute; right: clamp(-3rem, -2vw, 1rem); bottom: -2rem;
  width: clamp(220px, 30vw, 460px); z-index: -1;
  opacity: 0.9; pointer-events: none;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(140,199,158,0.25));
}
@media (max-width: 760px) { .rhero__tree { display: none; } }

/* ==========================================================================
   Editorial section system (body.v2 overrides — lighter, premium, spaced)
   ========================================================================== */
.v2 .section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.v2 .eyebrow {
  letter-spacing: var(--r-track); font-weight: 700;
}
.v2 .section-head h2,
.v2 .split h2 {
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800;
  line-height: 1.08;
}
.v2 .section-head { max-width: 760px; }
.v2 .lead { font-size: var(--fs-lg); }

/* Numbered editorial section label, e.g. "01 / What we do" */
.r-index {
  font-family: var(--font-display); font-weight: 800;
  color: var(--r-accent); letter-spacing: var(--r-track-tight);
  font-size: var(--fs-sm); margin-right: var(--space-2);
}

/* Service cards: flatter, sharper, line-led */
.v2 .service-card {
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.v2 .service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--r-accent); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t) var(--ease);
}
.v2 .service-card:hover { transform: translateY(-4px); border-color: var(--slate-300); box-shadow: var(--shadow); }
.v2 .service-card:hover::before { transform: scaleY(1); }
.v2 .service-card h3 { text-transform: uppercase; letter-spacing: var(--r-track-tight); font-size: var(--fs-lg); }
.v2 .service-card__icon { border-radius: 4px; }

/* "Why us" dark block: spaced type + the organic 3D line-tree as a faint motif */
.v2 .section--ink { background: var(--r-bg-dark); position: relative; isolation: isolate; overflow: hidden; }
.v2 .section--ink .container { position: relative; z-index: 1; }
.r-whyus-tree {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: clamp(660px, 72vw, 1240px); z-index: 0; opacity: 0.5;
  pointer-events: none; object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  -webkit-mask-image: radial-gradient(ellipse 60% 74% at 58% 50%, #000 38%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 74% at 58% 50%, #000 38%, transparent 80%);
}
@media (max-width: 900px) { .r-whyus-tree { opacity: 0.28; right: -20%; width: 620px; } }
.v2 .stat__num { letter-spacing: 0.02em; }

/* Why-us: punchy + scannable, strong emphasis over wordiness */
.v2 .section--ink .lead strong { color: #fff; font-weight: 800; }
.r-why-grid .feature h3 {
  text-transform: uppercase; letter-spacing: var(--r-track-tight);
  font-size: var(--fs-md); font-weight: 800; margin-bottom: var(--space-2);
}
.r-why-grid .feature p { color: rgba(255,255,255,0.62); font-size: var(--fs-sm); line-height: 1.45; margin: 0; }
/* More breathing room: keep the title, lead and feature headers from crowding */
.v2 .section--ink .eyebrow { margin-bottom: var(--space-4); }
.v2 .section--ink h2 { margin-bottom: var(--space-6); line-height: 1.12; }
.v2 .section--ink .lead { margin-bottom: var(--space-8); max-width: 40ch; }
.r-why-grid { margin-top: var(--space-2); row-gap: var(--space-7); column-gap: var(--space-6); }
.r-why-pledge { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.r-why-pledge__lead {
  color: var(--r-accent-soft); font-weight: 800; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: var(--r-track-tight);
  font-size: var(--fs-lg); margin-bottom: var(--space-2);
}
.r-why-pledge p:last-child { color: var(--color-text-invert-muted); margin: 0; }

/* Reviews / steps: editorial squared corners */
.v2 .review-card, .v2 .step, .v2 .card { border-radius: 6px; }

/* Big editorial CTA band */
.v2 .cta-band {
  background: var(--r-bg-dark);
  border-radius: 8px; position: relative; overflow: hidden;
  isolation: isolate;
}
.v2 .cta-band h2 { text-transform: uppercase; letter-spacing: 0.04em; }
.v2 .cta-band .rgrid { z-index: 0; }
.v2 .cta-band > * { position: relative; z-index: 1; }
.v2 .cta-band__chain {
  position: absolute; right: -40px; bottom: -40px; width: clamp(180px, 22vw, 300px);
  opacity: 0.55; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 52% 52%, #000 50%, transparent 76%);
  mask-image: radial-gradient(circle at 52% 52%, #000 50%, transparent 76%);
}

/* 3D line-tree divider between sections */
.r-divider {
  position: relative; background: var(--r-bg-dark); overflow: hidden;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.r-divider__row {
  position: relative; z-index: 1; width: 100%;
  display: block; margin: 0 auto; max-width: 1400px;
  opacity: 0.9; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 80% 86% at 50% 50%, #000 50%, transparent 86%);
  mask-image: radial-gradient(ellipse 80% 86% at 50% 50%, #000 50%, transparent 86%);
}
.r-divider .rgrid { mask-image: none; -webkit-mask-image: none; opacity: 0.6; }

/* Chainsaw "powers on": scroll-in entrance, then the Higgsfield video plays so
   the chain actually spins. The video inherits blend + mask from .r-divider__row. */
.r-saw { position: relative; max-width: 1400px; margin: 0 auto; opacity: 0; transform: scale(0.965); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-chainsaw].is-on .r-saw { opacity: 1; transform: scale(1); }
.r-saw__vid { display: block; width: 100%; height: auto; }

/* Photographic divider band (replaces the neon-wireframe chainsaw) */
.r-divider--photo { padding-block: 0; }
.r-divider--photo .r-saw { max-width: none; margin: 0; }
.r-divider__photo {
  display: block; width: 100%;
  height: clamp(230px, 30vw, 440px);
  object-fit: cover; object-position: center 58%;
}
.r-divider__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 105% at 50% 45%, rgba(0,0,0,0) 52%, rgba(9,11,15,0.34) 100%),
    linear-gradient(180deg, rgba(14,11,35,0.28) 0%, rgba(14,11,35,0) 22%, rgba(14,11,35,0) 74%, rgba(14,11,35,0.42) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .r-saw { opacity: 1; transform: none; transition: none; }
}

/* Service-area map (Leaflet, dark tiles, brand markers) */
.r-map {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--r-bg-dark);
}
.r-map__canvas { width: 100%; aspect-ratio: 4 / 3; min-height: 360px; background: var(--r-bg-dark); }
@media (max-width: 760px) { .r-map__canvas { aspect-ratio: 3 / 2; min-height: 300px; } }
.r-map .leaflet-container { background: var(--r-bg-dark); font-family: var(--font-sans); }
.r-map .leaflet-control-attribution { font-size: 10px; background: rgba(14,11,35,0.7); color: rgba(255,255,255,0.6); }
.r-map .leaflet-control-attribution a { color: rgba(255,255,255,0.8); }
.r-map .leaflet-bar a { background: var(--r-bg-dark-2); color: #fff; border-color: rgba(255,255,255,0.14); }
.r-map .leaflet-bar a:hover { background: #221b46; }
.r-map .leaflet-tooltip {
  background: var(--r-bg-dark-2); color: #fff; border: 1px solid var(--r-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.r-map .leaflet-tooltip-top::before { border-top-color: var(--r-accent); }

/* ==========================================================================
   Header / footer tuning for the dark home
   ========================================================================== */
/* Immersive dark header over the hero (logo sits in a light chip; nav goes light) */
.v2 .topbar { background: var(--r-bg-dark); border-bottom-color: rgba(255,255,255,0.06); }
.v2 .site-header {
  background: linear-gradient(180deg, rgba(14,11,35,0.94) 0%, rgba(14,11,35,0.62) 100%);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.v2 .site-header.is-stuck { background: rgba(14,11,35,0.95); backdrop-filter: blur(10px); border-bottom-color: rgba(255,255,255,0.08); }
.v2 .site-header .brand { background: #fff; padding: 6px 11px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.v2 .header__phone { color: #fff; }
.v2 .header__phone .ic { color: var(--r-green); }
.v2 .nav-toggle span { background: #fff; }
/* Light nav only where it's the inline desktop bar — the mobile drawer keeps its dark text on its light panel */
@media (min-width: 981px) {
  .v2 .nav__link { color: rgba(255,255,255,0.84); }
  .v2 .nav__link:hover, .v2 .nav__link[aria-current="page"] { color: #fff; }
}
.v2 .site-footer { background: var(--r-bg-dark); position: relative; overflow: hidden; }

/* ==========================================================================
   Editorial PHOTO service grid (blue-collar + premium)
   Full-bleed action photos, framed like a spec sheet, numbered like a field log.
   ========================================================================== */
.r-svc {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--green-900);
  border: 2px solid var(--green-900); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.r-svc__tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; text-decoration: none; isolation: isolate;
  background: var(--green-900);
}
.r-svc__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform 0.8s var(--ease-out);
  transform: scale(1.01);
}
.r-svc__tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg,
    rgba(9,26,15,0.95) 6%, rgba(11,32,18,0.62) 40%, rgba(11,32,18,0.12) 78%, rgba(11,32,18,0.22) 100%);
  transition: opacity var(--t) var(--ease);
}
.r-svc__tile:hover .r-svc__img,
.r-svc__tile:focus-visible .r-svc__img { transform: scale(1.07); }

/* Field-log index number, top-left */
.r-svc__n {
  position: absolute; top: 1rem; left: 1.15rem; z-index: 2;
  font-family: var(--font-display); font-weight: 800;
  color: var(--r-accent-soft); letter-spacing: var(--r-track-tight);
  font-size: var(--fs-sm); text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.r-svc__n::before { content: "// "; opacity: 0.6; color: var(--r-accent); }

/* Glass icon chip, top-right — keeps the icon language, reads premium */
.r-svc__ic {
  position: absolute; top: 0.85rem; right: 0.95rem; z-index: 2;
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.r-svc__ic .ic { width: 22px; height: 22px; color: #fff; }
.r-svc__tile:hover .r-svc__ic { background: var(--r-accent); transform: translateY(-2px); border-color: transparent; }

.r-svc__body { position: relative; z-index: 1; padding: 1.4rem 1.35rem 1.5rem; }
.r-svc__body h3 {
  text-transform: uppercase; letter-spacing: var(--r-track-tight);
  font-size: var(--fs-lg); line-height: 1.1; margin: 0; color: #fff;
}
.r-svc__body p {
  color: rgba(255,255,255,0.82); font-size: var(--fs-sm); line-height: 1.5;
  margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.r-svc__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: var(--r-track-tight);
  color: var(--r-accent-soft); margin-top: 0.8rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.r-svc__link .ic { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease); }
.r-svc__tile:hover .r-svc__body p,
.r-svc__tile:focus-visible .r-svc__body p { max-height: 8rem; opacity: 1; margin-top: 0.6rem; }
.r-svc__tile:hover .r-svc__link,
.r-svc__tile:focus-visible .r-svc__link { max-height: 3rem; opacity: 1; }
.r-svc__tile:hover .r-svc__link .ic { transform: translateX(4px); }

/* Accent top-bar wipe on hover (the "yellow bar" signature, brand orange) */
.r-svc__tile::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: var(--r-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.r-svc__tile:hover::before,
.r-svc__tile:focus-visible::before { transform: scaleX(1); }

/* Emergency tile: persistent alert bar + pulsing tag */
.r-svc__tile--alert::before { transform: scaleX(1); }
.r-svc__tag {
  position: absolute; top: 1rem; left: 1.15rem; z-index: 3;
  display: none; align-items: center; gap: 0.4rem;
  background: var(--r-accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 4px;
}
.r-svc__tile--alert .r-svc__n { display: none; }
.r-svc__tile--alert .r-svc__tag { display: inline-flex; }
.r-svc__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: r-pulse 1.8s infinite;
}
@keyframes r-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 980px) { .r-svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .r-svc { grid-template-columns: 1fr; } .r-svc__tile { aspect-ratio: 3 / 2; } }
/* Touch / no-hover: keep copy visible so nothing hides behind a hover */
@media (hover: none) {
  .r-svc__body p { max-height: 8rem; opacity: 1; margin-top: 0.6rem; }
  .r-svc__link { max-height: 3rem; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .r-svc__img, .r-svc__tile::before, .r-svc__tag::before { transition: none; animation: none; }
}

/* ==========================================================================
   Service-area map (Google Maps embed of Ashtabula County)
   ========================================================================== */
.r-areamap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: var(--sand-100); aspect-ratio: 4 / 3;
}
.r-areamap__frame { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .r-areamap { aspect-ratio: 3 / 2; } }

/* ==========================================================================
   Craftsman "EST. 1995" seal — a stamped heritage mark (premium + trade)
   ========================================================================== */
.r-seal {
  width: clamp(96px, 12vw, 132px); height: clamp(96px, 12vw, 132px);
  flex: none; color: var(--green-700);
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 12px rgba(15,61,30,0.18));
}
.r-seal__ring { animation: r-seal-spin 40s linear infinite; transform-origin: 50% 50%; }
.r-seal text { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.16em; }
.r-seal__mark { fill: var(--r-accent); }
@keyframes r-seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .r-seal__ring { animation: none; } }
.section--ink .r-seal { color: var(--r-green); }
.section--ink .r-seal text { fill: currentColor; }

/* Services header: seal sits beside the copy */
.r-svc-head { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); justify-content: center; flex-wrap: wrap; }
.r-svc-head .section-head { margin: 0; }
@media (max-width: 620px) { .r-svc-head .r-seal { display: none; } }

/* Quote section: light-theme contact rows (icons sized; dark text on sand) */
.r-quote-contact { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.r-quote-contact__row { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); font-size: var(--fs-md); }
.r-quote-contact__row .ic { width: 20px; height: 20px; flex: none; color: var(--green-700); }
.r-quote-contact__row a { color: var(--color-heading); font-weight: 700; }
.r-quote-contact__row a:hover { color: var(--color-accent); }

/* Numbered editorial eyebrow: "01 / What we do" */
.eyebrow .r-num {
  color: var(--r-accent); font-weight: 800;
  margin-right: 0.5rem; letter-spacing: var(--r-track-tight);
}
.eyebrow .r-num::after { content: " /"; color: var(--slate-400); font-weight: 600; }
.section--ink .eyebrow .r-num::after { color: rgba(255,255,255,0.35); }

/* ==========================================================================
   Motion / reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .gate { transition: none; }
  .gate__photo { transform: none; }
}
