/* Rick's Landscaping. "Sunlit yard, straight lines." See DESIGN.md */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2?v=2") format("woff2-variations"), url("../fonts/archivo-var.woff2?v=2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2c3552;
  --navy-soft: #4a5371;
  --navy-deep: #262e48;
  --turf: #2f7d3a;
  --turf-dark: #266a30;
  --leaf: #59ab5d;
  --leaf-on-navy: #66b969; /* the logo green, a touch lighter so titles clear 5:1 on navy */
  --pine: #f1b26e;
  --pine-deep: #d9954e;
  --pine-wash: #fbeedc;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: rgba(44, 53, 82, 0.14);
  --line-strong: rgba(44, 53, 82, 0.28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-wipe: cubic-bezier(0.76, 0, 0.24, 1);

  --gutter: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --container: 1320px;
  --section: clamp(3rem, 6vw, 5.1rem);
  --radius: 16px;
  --header-h: 72px;
  --shadow-float: 0 18px 40px -22px rgba(44, 53, 82, 0.45);
  --wordmark: url("../img/wordmark.svg?v=2");
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  -webkit-tap-highlight-color: rgba(47, 125, 58, 0.14);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--navy-soft) #e6e9e0;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 420;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--turf);
  overflow-x: clip;
}
@media (min-width: 1100px) { body { font-size: 1.125rem; } }

img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { touch-action: manipulation; }
p, h1, h2, h3, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
strong { font-weight: 680; }
table { border-collapse: collapse; }

::selection { background: var(--pine); color: var(--navy); }
:focus-visible { outline: 3px solid var(--turf); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.75rem 1.1rem; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 640; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }

.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.i-sm { width: 0.95em; height: 0.95em; }

/* ---------- Type ---------- */
.hero-title, .h2, .contact-title {
  font-stretch: 116%;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 0.98;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.15rem, 4.6vw, 4rem); }
.hl { color: var(--turf); }
.section-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--navy-soft); font-size: 1.0625rem; max-width: 52ch; }
@media (min-width: 1100px) { .section-sub { font-size: 1.1875rem; } }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  height: var(--btn-h); padding: 0 1.4rem; border-radius: 999px;
  font-size: 1rem; font-weight: 640; font-stretch: 104%; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: scale 0.16s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { scale: 0.97; }
.btn-primary { background: var(--turf); color: #fff; }
.btn-primary:has(.btn-chip) { padding-right: 0.42rem; gap: 0.85rem; }
.btn-chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.24s var(--ease-out), background-color 0.2s ease;
}
.btn-chip .i { width: 18px; height: 18px; }
.btn-secondary { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-sm { --btn-h: 44px; padding: 0 1.15rem; font-size: 0.9375rem; }
.btn-lg { --btn-h: 58px; padding: 0 1.7rem; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--navy); }
  .btn-secondary:hover { background: var(--turf); border-color: var(--turf); color: #fff; }
  .btn-ghost:hover { background: var(--turf); border-color: var(--turf); color: #fff; }
  .menu .btn-primary:hover { background: var(--turf-dark); }
}
@media (max-width: 760px) { .btn { --btn-h: 50px; } .btn-lg { --btn-h: 54px; } }

.text-link {
  display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 640; text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .text-link:hover { color: var(--turf); border-color: var(--turf); } }

/* ---------- Wordmark (Rick's real logo lettering, traced) ---------- */
.wordmark {
  display: block; aspect-ratio: 1400 / 784; background: currentColor;
  -webkit-mask: var(--wordmark) center / contain no-repeat;
  mask: var(--wordmark) center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--header-h);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(247, 248, 244, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity 0.3s ease;
}
.site-header[data-scrolled="true"]::before { opacity: 1; }
.site-header[data-hidden="true"] { transform: translateY(-110%); }
.header-inner {
  height: 100%; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  display: flex; align-items: center; gap: 2rem;
}
.brand { color: var(--navy); display: block; width: 92px; flex: none; transition: color 0.3s ease; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav a {
  position: relative; text-decoration: none; font-weight: 560; font-size: 0.9875rem; padding-block: 0.5rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px; border-radius: 2px;
  background: var(--pine); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 640;
  font-variant-numeric: tabular-nums; font-size: 0.9875rem;
}
.header-phone .i { color: var(--turf); }
@media (hover: hover) and (pointer: fine) { .header-phone { transition: color 0.2s ease; } .header-phone:hover { color: var(--turf); } }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .header-phone-num { display: none; }
  .header-phone {
    width: 46px; height: 46px; border-radius: 50%; justify-content: center;
    background: var(--turf); color: #fff;
  }
  .header-phone .i { color: #fff; width: 21px; height: 21px; }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid var(--navy); color: var(--navy);
    transition: transform 0.16s var(--ease-out), color 0.3s ease, border-color 0.3s ease;
  }
  .menu-toggle:active { transform: scale(0.95); }
  .brand { width: 84px; }
}
.menu-toggle-lines { position: relative; width: 18px; height: 12px; }
.menu-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.5s var(--ease-wipe), top 0.5s var(--ease-wipe);
}
.menu-toggle-lines span:first-child { top: 1px; }
.menu-toggle-lines span:last-child { top: 9px; }
.menu-open .menu-toggle-lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines span:last-child { top: 5px; transform: rotate(-45deg); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand, .menu-open .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
/* over the full-screen hero photo: light header with a soft top shade */
.over-hero .site-header[data-scrolled]::before, .over-hero .site-header::before { opacity: 0; }
.over-hero .site-header::after {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 27, 45, 0.5), rgba(22, 27, 45, 0));
}
.over-hero .brand, .over-hero .nav a, .over-hero .header-phone { color: #fff; }
.over-hero .header-phone .i { color: #fff; }
@media (max-width: 1020px) { .over-hero .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.7); } }
/* colours flip as the wipe passes them: the logo (left) once the panel reaches it, the toggle (right) once it leaves */
.brand { transition: color 0.2s ease 0s; }
.menu-open .brand { transition-delay: 0.3s; }
@media (max-width: 1020px) {
  .menu-toggle { transition: scale 0.16s var(--ease-out), color 0.2s ease 0.38s, border-color 0.2s ease 0.38s; }
  .menu-open .menu-toggle { transition-delay: 0s, 0s, 0s; }
  .menu-toggle:active { transform: none; scale: 0.95; }
}

/* ---------- Mobile menu: identical wipe in and out ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.5s var(--ease-wipe), visibility 0s linear 0.5s;
  visibility: hidden;
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease-wipe), visibility 0s linear 0s; }
.menu-panel {
  height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 1.75rem;
}
.menu-links { display: grid; gap: 0.15rem; }
.menu-links a {
  display: block; text-decoration: none; font-size: clamp(2.2rem, 10vw, 3rem); font-weight: 780; font-stretch: 116%;
  letter-spacing: -0.03em; line-height: 1.12; padding-block: 0.1rem;
}
.menu-links li, .menu-photo, .menu-contact {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.menu.is-open .menu-links li, .menu.is-open .menu-photo, .menu.is-open .menu-contact { opacity: 1; transform: none; }
.menu-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-contact { display: grid; gap: 0.9rem; margin-top: auto; }
.menu-contact .btn { width: 100%; justify-content: space-between; padding-left: 1.4rem; }
.menu-line { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 560; color: rgba(255, 255, 255, 0.88); overflow-wrap: anywhere; }
.menu-line .i { color: var(--leaf); }
.menu-social { display: flex; gap: 0.75rem; }
.menu-social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28); color: #fff;
}

/* ---------- Hero: full screen, Rick's jobs one after another (the yard photo in three depth layers) ---------- */
.top-anchor { position: absolute; top: 0; left: 0; }
.hero-v {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  background: var(--navy-deep); color: #fff;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 24, 36, 0.45) 0%, rgba(20, 24, 36, 0) 20%),
    linear-gradient(90deg, rgba(20, 24, 36, 0.72) 0%, rgba(20, 24, 36, 0.4) 34%, rgba(20, 24, 36, 0) 60%),
    linear-gradient(0deg, rgba(20, 24, 36, 0.62) 0%, rgba(20, 24, 36, 0) 42%);
}
.hero-x { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(2.75rem, 9vh, 6.5rem); }
.hero-x .hero-title { color: #fff; font-size: clamp(2.6rem, 6.3vw, 6.5rem); max-width: 10.6em; text-shadow: 0 2px 30px rgba(15, 20, 35, 0.22); }
.hero-sub { margin-top: 1.4rem; color: rgba(255, 255, 255, 0.9); font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.55; max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hero-rating { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.35rem; font-size: 0.9375rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.hero-rating .stars { display: inline-flex; gap: 0.15rem; color: var(--pine); }
.hero-rating .stars .i { width: 1.05rem; height: 1.05rem; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.8); color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Rick's own badge, stuck on the photo like a sticker (outer = scroll depth, disc = load-in) */
.hero-badge { position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(2.75rem, 9vh, 6.5rem); width: clamp(110px, 12vw, 184px); aspect-ratio: 1; }
.badge-disc {
  width: 100%; height: 100%; rotate: -8deg; overflow: hidden;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 7px #fff, 0 22px 50px -18px rgba(10, 14, 28, 0.6);
  display: grid; place-items: center;
}
.badge-disc picture { width: 86%; }
.badge-disc img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-badge .badge-disc { opacity: 0; animation: badge-failsafe 0s linear 3s forwards; }
  .badge-ready .hero-badge .badge-disc { animation: none; }
}
@keyframes badge-failsafe { to { opacity: 1; } }

/* progress: three bars, the current one fills while its photo is up (click to jump); motion only */
.hero-progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-progress {
    position: absolute; z-index: 5; display: grid; grid-template-columns: repeat(3, 56px); gap: 8px;
    right: calc(var(--gutter) + clamp(110px, 12vw, 184px) + clamp(1.25rem, 2.5vw, 2.25rem));
    bottom: clamp(2.75rem, 9vh, 6.5rem);
  }
}
.hero-bar { position: relative; height: 24px; }
.hero-bar::before, .hero-bar i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.hero-bar::before { background: rgba(255, 255, 255, 0.35); }
.hero-bar i { background: #fff; transform: scaleX(0); transform-origin: left; }

/* scenes: each a full-screen photo; the first is the yard in three layers on identical boxes, so they line up at rest.
   scene = clip-path wipe, inner = transition drift, layer = scroll depth, img = mouse depth */
.v1-media { position: absolute; inset: 0; z-index: 1; }
.v1-scene { position: absolute; inset: 0; overflow: hidden; }
.v1-scene + .v1-scene { visibility: hidden; }
.v1-inner { position: absolute; inset: 0; will-change: transform; }
.v1-layer { position: absolute; inset: -7% -3% -10%; max-width: none; will-change: transform; --pos: 50% 36%; --pos-m: 64% 40%; }
.v1-layer img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.v1-far { z-index: 1; }
.v1-yard { z-index: 2; }
.v1-bench { z-index: 3; }
.v1-planters { --pos: 50% 62%; --pos-m: 22% 56%; }
.v1-corten { --pos: 0% 46%; --pos-m: 57% 50%; }
/* the corten's white branch pattern is busy behind the headline: a little extra shade on that scene only */
.v1-scene-busy .v1-inner::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(20, 24, 36, 0.42) 0%, rgba(20, 24, 36, 0.28) 45%, rgba(20, 24, 36, 0) 75%); }

@media (max-width: 960px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(22, 27, 45, 0.55) 0%, rgba(22, 27, 45, 0) 22%),
      linear-gradient(0deg, rgba(22, 27, 45, 0.92) 0%, rgba(22, 27, 45, 0.7) 38%, rgba(22, 27, 45, 0) 70%);
  }
  .hero-x { bottom: clamp(1.75rem, 5vh, 3rem); }
  .hero-badge { width: clamp(88px, 22vw, 120px); top: calc(var(--header-h) + 40px); bottom: auto; }
  .js .hero-progress { left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 4px); bottom: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .v1-layer img { object-position: var(--pos-m); }
}
@media (max-width: 520px) {
  .hero-ctas { display: grid; grid-template-columns: 1fr; margin-top: 1.5rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-primary { justify-content: space-between; padding-left: 1.4rem; }
  .hero-sub { margin-top: 1rem; }
  .hero-rating { margin-top: 1.1rem; }
}

/* ---------- Materials strip (one marquee) ---------- */
.strip {
  margin-top: 0;
  border-block: 1px solid var(--line);
  overflow: hidden; padding-block: 1.05rem;
}
.strip-track { display: flex; width: max-content; }
.strip-list { display: flex; flex: none; }
.strip-list li {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em;
}
.strip-list li::after {
  content: ""; width: 0.9em; height: 0.9em; margin-inline: clamp(1.1rem, 2.4vw, 2rem);
  background: var(--leaf);
  -webkit-mask: url("../img/leaf.svg?v=1") center / contain no-repeat; mask: url("../img/leaf.svg?v=1") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: strip 46s linear infinite; }
}
@keyframes strip { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem); align-items: center;
}
.about-visual { position: relative; padding: 0 clamp(1rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem) 0; }
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  outline: 2px solid var(--navy); outline-offset: 9px;
  background: var(--pine-wash);
}
.arch picture, .arch img { width: 100%; height: 100%; }
.arch img { object-fit: cover; object-position: 50% 62%; scale: 1.1; will-change: transform; }
.about-badge {
  position: absolute; right: 0; bottom: 0; width: clamp(128px, 15vw, 212px); aspect-ratio: 1; overflow: hidden;
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 7px #fff, var(--shadow-float);
  rotate: 6deg;
}
.about-badge picture { width: 86%; }
.about-copy { display: grid; gap: 1.4rem; max-width: 40rem; }
.about-copy > p:not(.lead) { color: var(--navy-soft); }
.values { display: grid; gap: 0; margin-top: 0.75rem; border-top: 1px solid var(--line); }
.values li {
  display: grid; grid-template-columns: minmax(8.5rem, auto) 1fr; gap: 1rem; align-items: baseline;
  padding-block: 1.05rem; border-bottom: 1px solid var(--line);
}
.values strong { font-size: 1.1875rem; font-weight: 760; font-stretch: 112%; letter-spacing: -0.01em; }
.values span { color: var(--navy-soft); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 30rem; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .values li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- Services ---------- */
.services { background: var(--white); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
.svc-media { position: sticky; top: calc(var(--header-h) + 3vh); align-self: start; }
.svc-media-frame { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.svc-shot { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0.85s var(--ease-wipe); }
.svc-shot.is-shown { clip-path: inset(0 0 0 0); }
.svc-shot:nth-child(1) { z-index: 1; clip-path: inset(0 0 0 0); }
.svc-shot:nth-child(2) { z-index: 2; }
.svc-shot:nth-child(3) { z-index: 3; }
.svc-shot:nth-child(4) { z-index: 4; }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-media-caption { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--navy-soft); transition: opacity 0.16s ease; }
.svc-media-caption.is-swapping { opacity: 0; }
.svc-list { display: grid; }
.svc { padding-block: clamp(2rem, 4.5vw, 3.25rem); border-top: 1px solid var(--line); }
.svc:first-child { padding-top: 0; border-top: 0; }
.svc-inline { display: none; }
.svc-name {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 790; font-stretch: 114%; letter-spacing: -0.025em; line-height: 1.04;
  transition: color 0.4s ease;
}
.svc-desc { margin-top: 0.85rem; color: var(--navy-soft); max-width: 44ch; }
.svc-points { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.75rem; }
.svc-points li { position: relative; padding-left: 1.35rem; font-size: 0.9875rem; line-height: 1.45; }
.svc-points li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 0.62rem; height: 0.62rem; border-radius: 2px;
  background: var(--pine); rotate: 45deg; scale: 0.85;
}
.svc-also {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
  color: var(--navy-soft); max-width: 62ch;
}
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-media { display: none; }
  .svc-inline { display: block; margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
  .svc-inline img { width: 100%; height: 100%; object-fit: cover; }
  .svc:first-child { padding-top: 0; }
}
@media (max-width: 560px) {
  .svc-points { grid-template-columns: 1fr; }
}

/* ---------- Finished yards (pinned horizontal gallery) ---------- */
.work { position: relative; background: var(--paper); }
.work-pin {
  position: relative; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-block: var(--section);
}
.work-track {
  --h: min(58vh, 560px);
  display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem);
  width: max-content; padding-inline: var(--gutter) calc(var(--gutter) * 2);
}
.work-intro { flex: none; width: clamp(17rem, 27vw, 25rem); display: grid; gap: 1.1rem; scroll-snap-align: start; }
.work-card { flex: none; width: calc(var(--h) * var(--ar)); scroll-snap-align: center; }
.work-img { height: var(--h); border-radius: var(--radius); overflow: hidden; background: #dfe3d8; }
.work-img picture, .work-img img { width: 100%; height: 100%; }
.work-img img { object-fit: cover; }
.work-card figcaption { margin-top: 0.85rem; font-size: 0.9375rem; color: var(--navy-soft); max-width: 46ch; }
.work-outro {
  flex: none; width: clamp(16rem, 24vw, 22rem); display: grid; gap: 1.4rem; justify-items: start;
  padding-inline: clamp(0.5rem, 2vw, 2rem); scroll-snap-align: end;
}
.work-outro-title { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 790; font-stretch: 114%; letter-spacing: -0.025em; line-height: 1.04; }
.work-head { display: none; }
.work-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem); height: 2px; display: none; }
.work-progress span { display: block; height: 100%; background: var(--navy); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) {
  /* phones: heading and description on top like every other section, tall portrait frames below */
  .work-head { display: grid; gap: 0.75rem; margin-bottom: 1.75rem; }
  .work-intro { display: none; }
  .work-track { --h: min(50svh, 460px); gap: 1rem; }
  .work-card { width: 80vw; }
  .work-outro { width: 74vw; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .work-pin {
    overflow: hidden; scroll-snap-type: none; height: 100vh; height: 100svh; padding-block: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
  .js .work-progress { display: block; }
  .js .work-img img { scale: 1.14; will-change: transform; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.reviews-head { max-width: 50rem; }
.rating { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 0.2rem; color: var(--pine-deep); }
.stars .i { width: 1.35rem; height: 1.35rem; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review-feature {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4vw, 3.25rem);
  border-top: 2px solid var(--navy);
}
.review-feature blockquote p {
  font-size: clamp(1.7rem, 3.9vw, 3.6rem); font-weight: 720; font-stretch: 110%; letter-spacing: -0.022em;
  line-height: 1.1; max-width: 34ch; text-wrap: balance;
}
.review-feature blockquote p::first-letter { text-transform: none; }
.review figcaption { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; }
.review-name { font-weight: 720; font-size: 1.0625rem; }
.review-meta { color: var(--navy-soft); font-size: 0.9375rem; }
.review-pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.review-pair blockquote p { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 46ch; }
@media (max-width: 760px) { .review-pair { grid-template-columns: 1fr; } }

/* ---------- Hours and service area ---------- */
.visit-title { max-width: 18ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.visit-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-areas: "hours map" "area map"; gap: clamp(1.25rem, 2.5vw, 2rem);
}
.hours-card, .area-card { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.hours-card { grid-area: hours; }
.area-card { grid-area: area; display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.1rem; }
.card-title {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 1.375rem; font-weight: 760; font-stretch: 112%; letter-spacing: -0.015em;
}
.card-title .i { color: var(--turf); }
.status {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 640;
  padding: 0.35rem 0.8rem; border-radius: 999px; background: #eef2ea;
}
.status::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--navy-soft); }
.status[data-open="true"] { background: #e3f0e2; color: var(--turf-dark); }
.status[data-open="true"]::before { background: var(--turf); box-shadow: 0 0 0 4px rgba(47, 125, 58, 0.16); }
.hours { width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.62rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--navy-soft); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--navy); font-weight: 720; }
.today-tag {
  display: inline-block; margin-left: 0.6rem; padding: 0.15rem 0.55rem; border-radius: 999px; vertical-align: 0.08em;
  background: #e3f0e2; color: var(--turf-dark); font-size: 0.75rem; font-weight: 680; letter-spacing: 0.01em;
}
.card-note { margin-top: 1.1rem; font-size: 0.9375rem; color: var(--navy-soft); }
.area-text { color: var(--navy-soft); max-width: 36ch; }
.area-text strong { color: var(--navy); }
.area-contact { display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.area-contact a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 560; word-break: break-word; }
.area-contact .i { color: var(--turf); }
@media (hover: hover) and (pointer: fine) { .area-contact a:hover { text-decoration: underline; } }
.map-arch { grid-area: map; container-type: inline-size; padding: 11px; display: flex; }
.map-arch-frame {
  position: relative; flex: 1; min-height: 480px; overflow: hidden;
  border-radius: 50cqw 50cqw var(--radius) var(--radius) / 50cqw 50cqw var(--radius) var(--radius);
  outline: 2px solid var(--navy); outline-offset: 9px;
  background: #e4e9de;
}
/* the iframe runs taller than the arch so Google's place card sits out of view; the map and its credits stay */
.map-arch iframe { position: absolute; left: 0; top: -116px; width: 100%; height: calc(100% + 116px); border: 0; filter: saturate(0.85); pointer-events: none; }
.map-arch-frame.is-live iframe { pointer-events: auto; }
.map-shield { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.4rem; cursor: pointer; }
.map-shield span {
  padding: 0.55rem 1rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.875rem; font-weight: 600;
  opacity: 0; transition: opacity 0.2s ease;
}
.map-shield:hover span, .map-shield:focus-visible span { opacity: 1; }
.map-arch-frame.is-live .map-shield { display: none; }
@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; grid-template-areas: "hours" "map" "area"; }
  .map-arch-frame { min-height: 400px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq-head { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 2.5rem); align-content: start; }
.faq-call { margin-top: 0.6rem; font-weight: 560; }
.faq-call a { font-weight: 680; white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left;
  padding-block: 1.35rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 650; font-stretch: 104%; line-height: 1.35;
  transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .faq-q:hover { color: var(--turf); } }
.faq-icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor;
  translate: -50% -50%;
}
.faq-icon::after { rotate: 90deg; }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-q:active .faq-icon { scale: 0.92; }
.faq-icon { transition: transform 0.45s var(--ease-out), scale 0.14s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p {
  padding: 0 3.5rem 1.6rem 0; color: var(--navy-soft); max-width: 60ch;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
}
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: 0.06s; }
.faq-a a { color: var(--navy); font-weight: 600; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-a p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--turf); color: #fff; padding-block: clamp(3rem, 6.6vw, 5.4rem); }
.contact .contact-title { color: #fff; }
.contact .btn-primary { background: #fff; color: var(--turf-dark); }
.contact .btn-secondary { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .contact .btn-primary:hover, .contact .btn-secondary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
}
.contact-inner { display: grid; gap: 1.6rem; justify-items: start; }
.contact-title { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 15ch; }
.chip {
  display: inline-block; width: 1.75em; height: 0.86em; border-radius: 999px; overflow: hidden;
  vertical-align: baseline; translate: 0 0.08em; margin-inline: 0.04em;
  box-shadow: 0 0 0 3px var(--turf);
}
.chip picture, .chip img { width: 100%; height: 100%; }
.chip img { object-fit: cover; }
.chip-b img { object-position: 50% 45%; }
.contact-sub { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: rgba(255, 255, 255, 0.9); max-width: 52ch; text-wrap: pretty; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.5rem; }
.contact-mail { font-size: 0.9375rem; color: var(--navy-soft); }
.contact-mail a { font-weight: 560; }
@media (max-width: 520px) {
  .contact-ctas { display: grid; width: 100%; }
  .contact-ctas .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: rgba(255, 255, 255, 0.84);
  padding-block: clamp(2.4rem, 4.8vw, 3.9rem) max(2rem, env(safe-area-inset-bottom));
}
.footer-cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem 2rem; }
.fcol { flex: none; }
.fcol li { white-space: nowrap; }
.footer-logo { display: block; width: clamp(150px, 13vw, 196px); color: #fff; }
.footer-tagline { margin-top: 1.1rem; color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; }
.fcol-title {
  color: #fff; font-size: clamp(1.375rem, 1.9vw, 1.625rem); font-weight: 780; font-stretch: 114%;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.1rem;
}
.fcol ul { display: grid; gap: 0.55rem; font-size: 0.9875rem; }
.fcol a { text-decoration: none; color: rgba(255, 255, 255, 0.84); transition: color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .fcol a:hover { color: var(--pine); } }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.7);
}
.footer-base a { color: rgba(255, 255, 255, 0.9); transition: color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .footer-base a:hover { color: var(--pine); } }
@media (max-width: 1180px) {
  .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-cols { gap: 2.25rem 1.25rem; }
  .fbrand + .fcol { grid-column: 1 / -1; }
}

/* phones: let the headline flow naturally ("Every yard, / better than / we found it.") */
@media (max-width: 640px) {
  .hero-title .line, .hero-title .line > span { display: inline; }
  .hero-title .line { overflow: visible; padding: 0; margin: 0; }
}

/* ---------- Motion helpers ---------- */
.split-line-mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { animation: rise 1.05s var(--ease-out) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 0.09s; }
  .hero-x .hero-sub, .hero-x .hero-ctas, .hero-x .hero-rating { animation: fade-up 1s var(--ease-out) 0.3s both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .hero-title .line > span { animation: none; }
  .hero-title { animation: fade-up 1s var(--ease-out) both; }
}
@keyframes rise { from { transform: translate3d(0, 105%, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

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