/* ============================================================
   Edmonds Deck Restoration & Refinishing — design system
   Style: cinematic dark-luxe with cedar / amber warmth, woodgrain,
   parallax-aware scroll reveals, premium typography.
   ============================================================ */

:root {
  /* core palette — sampled from cedar/forest photos */
  --ink:        #0b0f0c;   /* page bg, deepest */
  --bark:       #131814;   /* surface */
  --char:       #1c2220;   /* elevated surface */
  --moss:       #2a3a2f;   /* deep accent green */
  --cedar:      #c87a3a;   /* primary accent */
  --amber:      #ecb061;   /* highlight */
  --cream:      #f4efe6;   /* foreground text */
  --mist:       #b9bdb3;   /* muted text */
  --whisper:    #6f756d;   /* dimmest readable */
  --line:       rgba(244, 239, 230, 0.08);
  --line-strong: rgba(244, 239, 230, 0.18);

  /* type */
  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.45, 0, 1, 1);
  --dur-fast:    180ms;
  --dur:         320ms;
  --dur-slow:    640ms;

  /* layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain — global ambient texture */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.045;
  background-image:
    radial-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  animation: grain 3.6s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2%, 1%); }
  40%  { transform: translate(1%, -2%); }
  60%  { transform: translate(-1%, 2%); }
  80%  { transform: translate(2%, 0%); }
  100% { transform: translate(0, 0); }
}

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

::selection { background: var(--cedar); color: var(--ink); }

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

/* utility -------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cedar);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cedar);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  color: var(--cream);
}

h1 {
  font-size: clamp(48px, 8.6vw, 132px);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-variation-settings: "opsz" 96;
}

h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-variation-settings: "opsz" 60;
  line-height: 1.2;
}

p { margin: 0 0 1.2em; color: var(--mist); }

/* scroll progress ----------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
}
.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cedar), var(--amber));
  transform-origin: left center;
  transition: width 80ms linear;
}

/* nav ----------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.nav.is-scrolled {
  padding: 14px var(--gutter);
  background: rgba(11, 15, 12, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand__mark svg { width: 100%; height: 100%; }

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name span:last-child {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--cedar);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--cream); }
.nav__links a.is-active::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--cedar);
  color: var(--cream);
  border-radius: 999px;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav__cta:hover {
  background: var(--cedar);
  color: var(--ink);
  transform: translateY(-1px);
}
.nav__cta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(236, 176, 97, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(236, 176, 97, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(236, 176, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 176, 97, 0); }
}

.nav__burger { display: none; }

/* hero ---------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.95);
  transform: scale(1.08);
  animation: kenburns 22s var(--ease) infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -2%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(11, 15, 12, 0.95) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 12, 0.4) 0%, rgba(11, 15, 12, 0.2) 40%, rgba(11, 15, 12, 0.95) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.hero__loc {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__loc svg { width: 12px; height: 12px; }

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero__rating .stars {
  display: inline-flex;
  gap: 2px;
}
.hero__rating .stars svg { width: 12px; height: 12px; }

.hero__title {
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 1100ms var(--ease) forwards;
}
.hero__title .word:nth-child(1) { animation-delay: 120ms; }
.hero__title .word:nth-child(2) { animation-delay: 220ms; }
.hero__title .word:nth-child(3) { animation-delay: 320ms; }
.hero__title .word:nth-child(4) { animation-delay: 420ms; }
.hero__title .word:nth-child(5) { animation-delay: 520ms; }
.hero__title .word:nth-child(6) { animation-delay: 620ms; }

@keyframes rise {
  0%   { transform: translateY(110%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--cream);
  opacity: 0;
  transform: translateY(20px);
  animation: rise2 900ms var(--ease) 800ms forwards;
}
@keyframes rise2 {
  to { opacity: 0.9; transform: translateY(0); }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise2 900ms var(--ease) 1000ms forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: pointer;
  border: 0;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary {
  background: var(--cedar);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(200, 122, 58, 0.7);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(244, 239, 230, 0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms var(--ease);
  z-index: -1;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--amber);
  box-shadow: 0 22px 50px -16px rgba(236, 176, 97, 0.6);
}
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost {
  background: rgba(244, 239, 230, 0.04);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(244, 239, 230, 0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cedar);
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
}
.btn--primary .arrow { background: var(--ink); color: var(--cedar); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--ghost .arrow { background: var(--cedar); color: var(--ink); }

/* scroll-cue */
.hero__cue {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--whisper);
}
.hero__cue .line {
  width: 50px;
  height: 1px;
  background: var(--whisper);
  position: relative;
  overflow: hidden;
}
.hero__cue .line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: var(--cedar);
  animation: shimmer 2.4s var(--ease) infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* trust strip -------------------------------------------- */

.trust-strip {
  background: var(--bark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.trust-pill__ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 122, 58, 0.12);
  color: var(--cedar);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-pill__ic svg { width: 18px; height: 18px; }
.trust-pill strong { display: block; color: var(--cream); font-weight: 500; font-size: 14px; }
.trust-pill span.sub { display: block; color: var(--whisper); font-size: 12px; letter-spacing: 0.04em; margin-top: 2px; }

@media (max-width: 880px) {
  .trust-strip__inner { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
}
@media (max-width: 560px) {
  .trust-strip__inner { grid-template-columns: 1fr; }
}

/* process steps ------------------------------------------ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--bark);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background var(--dur) var(--ease);
  min-height: 220px;
}
.step:hover { background: var(--char); }
.step__num {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 56px);
  color: var(--cedar);
  line-height: 1;
  font-feature-settings: "tnum";
  font-weight: 350;
}
.step__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  color: var(--cream);
  margin: 0;
  line-height: 1.15;
}
.step__sum { font-size: 14px; color: var(--mist); margin: 0; }

@media (max-width: 880px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* marquee ------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: var(--bark);
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 64px;
  animation: scroll 38s linear infinite;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.marquee__track span { white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; opacity: 0.9; }
.marquee__track span::after {
  content: "✦";
  color: var(--cedar);
  font-size: 0.6em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* sections ------------------------------------------------- */

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.section--bark { background: var(--bark); }
.section--char { background: var(--char); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}

.section__head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: 28px;
}
.section__head--center .eyebrow { justify-content: center; }

.section__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--mist);
  max-width: 48ch;
}

/* about split -------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--char);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.split__media:hover img { transform: scale(1.04); }

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.split__media .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 15, 12, 0.78);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.split__media .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.split__copy h2 { margin-bottom: 0.4em; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat {
  min-width: 120px;
}
.stat__n {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 350;
  color: var(--cedar);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  margin-top: 8px;
}

/* services grid ------------------------------------------ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.svc {
  background: var(--bark);
  padding: 44px 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background var(--dur) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 30% 0%, rgba(200, 122, 58, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
}
.svc:hover { background: var(--char); }
.svc:hover::before { opacity: 1; }

.svc__num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cedar);
  letter-spacing: 0.18em;
  font-feature-settings: "tnum";
}
.svc__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-variation-settings: "opsz" 60;
  line-height: 1.1;
  margin: 0;
}
.svc__sum { font-size: 15px; color: var(--mist); margin: 0; }

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.svc__tags span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.svc:hover .svc__tags span { color: var(--cream); border-color: var(--cedar); }

.svc__arrow {
  position: absolute;
  top: 38px;
  right: 38px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc:hover .svc__arrow {
  background: var(--cedar);
  color: var(--ink);
  border-color: var(--cedar);
  transform: rotate(-45deg);
}

/* gallery / mosaic --------------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--char); }
.mosaic figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease), filter var(--dur) var(--ease);
  filter: brightness(0.92) saturate(0.96);
}
.mosaic figure:hover img { transform: scale(1.05); filter: brightness(1) saturate(1.05); }
.mosaic figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color var(--dur) var(--ease);
  pointer-events: none;
}
.mosaic figure:hover::after { border-color: rgba(236, 176, 97, 0.4); }

.mosaic figure:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.mosaic figure:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.mosaic figure:nth-child(3) { grid-column: span 4; aspect-ratio: 4/5; }
.mosaic figure:nth-child(4) { grid-column: span 4; aspect-ratio: 4/5; }
.mosaic figure:nth-child(5) { grid-column: span 4; aspect-ratio: 4/5; }
.mosaic figure:nth-child(6) { grid-column: span 12; aspect-ratio: 21/9; }

.mosaic figure figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  background: linear-gradient(0deg, rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0));
  padding: 24px 4px 4px;
}
.mosaic figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* full gallery page mosaic */
.mosaic--full figure:nth-child(n) { aspect-ratio: 4/5; grid-column: span 4; }
.mosaic--full figure.tall { grid-column: span 4; aspect-ratio: 4/5; }
.mosaic--full figure.wide { grid-column: span 8; aspect-ratio: 16/10; }
.mosaic--full figure:nth-child(1) { grid-column: span 8; aspect-ratio: 16/10; }
.mosaic--full figure:nth-child(4) { grid-column: span 8; aspect-ratio: 16/10; }
.mosaic--full figure:nth-child(7) { grid-column: span 8; aspect-ratio: 16/10; }

/* review card -------------------------------------------- */

.testimonial {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: clamp(180px, 22vw, 320px);
  color: var(--cedar);
  line-height: 0.6;
  opacity: 0.18;
}
.testimonial__body { position: relative; }
.testimonial__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--amber);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  color: var(--cream);
  font-weight: 350;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  font-variation-settings: "opsz" 60;
}
.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.testimonial__author::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--cedar);
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.scope-list li {
  font-size: 14px;
  color: var(--mist);
  padding-left: 22px;
  position: relative;
}
.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--cedar);
}

/* CTA strip ---------------------------------------------- */

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(200, 122, 58, 0.18), transparent 60%),
    linear-gradient(180deg, var(--char), var(--bark));
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 40%, rgba(236, 176, 97, 0.06) 50%, transparent 60%);
  pointer-events: none;
}
.cta-strip h2 { margin: 0 0 12px; }
.cta-strip p { margin: 0; max-width: 50ch; }
.cta-strip__phone {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* contact page ------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-grid h1 { margin-bottom: 0.3em; }

.info-card {
  background: var(--bark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}
.info-card h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cedar);
  margin: 0 0 14px;
}
.info-card .big {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--cream);
  line-height: 1.2;
  display: block;
}
.info-card a { color: var(--cream); }
.info-card a:hover { color: var(--cedar); }

.hours-table {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.hours-table li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--mist);
}
.hours-table li:last-child { border: 0; }
.hours-table li span:first-child { color: var(--cream); letter-spacing: 0.04em; }

.form {
  background: var(--bark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--whisper);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--cream);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cedar); }
.field input::placeholder, .field textarea::placeholder { color: var(--whisper); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* footer ------------------------------------------------- */

.footer {
  background: var(--ink);
  padding: 80px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--mist);
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}
.footer ul a:hover { color: var(--cedar); }

.footer__brand h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  margin: 0 0 14px;
  line-height: 1.2;
}
.footer__brand p { font-size: 14px; max-width: 36ch; }

.footer__base {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--whisper);
  letter-spacing: 0.08em;
}

/* reveals ------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms var(--ease);
}
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 450ms; }

/* cursor accent ------------------------------------------ */

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 122, 58, 0.16), transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
  transition: transform 200ms var(--ease), opacity var(--dur) var(--ease);
  opacity: 0;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* sub-pages: page header --------------------------------- */

.page-head {
  padding: 180px var(--gutter) 90px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(200, 122, 58, 0.14), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.page-head__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-head__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  margin-bottom: 32px;
}
.page-head__crumbs span { color: var(--cedar); }
.page-head h1 { font-size: clamp(48px, 7vw, 100px); margin: 0; max-width: 16ch; }
.page-head p { max-width: 60ch; margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); color: var(--mist); }

/* services list page ------------------------------------- */

.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-list__item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background var(--dur) var(--ease);
  overflow: hidden;
}
.svc-list__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 122, 58, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.svc-list__item:hover::before { opacity: 1; }
.svc-list__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cedar);
  letter-spacing: 0.18em;
  padding-top: 8px;
}
.svc-list__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); margin: 0 0 12px; transition: transform var(--dur) var(--ease); }
.svc-list__item:hover .svc-list__title { transform: translateX(8px); }
.svc-list__sum { max-width: 60ch; font-size: 15px; color: var(--mist); margin: 0 0 12px; }
.svc-list__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-list__tags span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.svc-list__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc-list__item:hover .svc-list__arrow { background: var(--cedar); color: var(--ink); border-color: var(--cedar); transform: rotate(-45deg); }

/* responsive ---------------------------------------------- */

@media (max-width: 980px) {
  .section__head { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; }
  .testimonial__mark { font-size: 160px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .mosaic figure:nth-child(n) { grid-column: span 12 !important; aspect-ratio: 16/10 !important; }
  .mosaic figure.tall { aspect-ratio: 4/5 !important; }
  .nav__links { display: none; }
  .svc-list__item { grid-template-columns: 60px 1fr; }
  .svc-list__arrow { grid-column: 2; justify-self: end; margin-top: 12px; }
  .cta-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero { padding: 130px var(--gutter) 100px; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .hero__cue { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: 10px; }
  .stat-row { gap: 24px; }
  .scope-list { grid-template-columns: 1fr; }
}

/* reduced motion ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__media img { animation: none; transform: scale(1); }
  .marquee__track { animation: none; }
  .reveal, .reveal-clip, .reveal-stagger > * { opacity: 1; transform: none; clip-path: none; }
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--cedar);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 9999;
  font-weight: 600;
}
.skip:focus { left: 8px; }

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

/* Live Google reviews widget support (added for Places ToS compliance,
   2026-08-07) — minimal, additive rules only. */
.reviews-loading { list-style: none; color: var(--muted, #666); }
.reviews-attribution { font-size: 0.85rem; color: var(--muted, #666); margin-top: 0.5rem; }
.reviews-attribution a { color: inherit; }
.hours-loading { list-style: none; color: var(--muted, #666); }
.hours-attribution { font-size: 0.85rem; color: var(--muted, #666); margin-top: 0.5rem; }
.hours-attribution a { color: inherit; }
[data-reviews-live] { list-style: none; padding: 0; }
[data-reviews-live] .stars { letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.testimonial-quote { color: var(--amber); }
.testimonial-quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; color: var(--cream); font-weight: 350; letter-spacing: -0.01em; margin: 0 0 32px; }
.testimonial-quote .review-meta { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
