/* ============================================
   R. Elkin Tree Surgery / N.W. Arborist
   Design system: cream / charcoal / olive / rust
   ============================================ */

:root {
  /* Brand colors, extracted from logo */
  --cream: #F4F3EE;
  --cream-soft: #FBFBF9;
  --paper: #FFFFFF;
  --charcoal: #292A27;
  --charcoal-soft: #4A4B45;

  --olive: #455F32;
  --olive-dark: #344824;
  --forest: #1F2C18;
  --cta: #A9532A;
  --cta-dark: #8C4422;
  --olive-light: #DCE6CC;
  --olive-pale: #EEF2E3;

  --rust: #773C1E;
  --rust-dark: #5C2D15;
  --rust-light: #F4F3EE;

  --urgent: #B2412B;
  --urgent-dark: #8C311F;

  --sky: #BFD9E8;
  --sun: #E8B65C;


  /* Type */
  --font-display: 'Public Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Shape */
  --radius-sm: 0.25rem;
  --radius-md: 0.4rem;
  --radius-lg: 0.5rem;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(41, 42, 39, 0.08);
  --shadow-md: 0 8px 24px rgba(41, 42, 39, 0.12);
  --shadow-lg: 0 16px 40px rgba(41, 42, 39, 0.16);

  --container: 1180px;
  --ease-bounce: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 1.05rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
section { position: relative; }

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust);
  background: var(--rust-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--charcoal-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) rotate(-0.5deg); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary {
  background: var(--olive);
  color: var(--cream-soft);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--olive-dark); }
.btn-urgent {
  background: var(--urgent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(178, 65, 43, 0.35);
}
.btn-urgent:hover { background: var(--urgent-dark); }
.btn-outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}
.btn-outline:hover { background: var(--olive); color: var(--cream-soft); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.61s; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41,42,39,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 84px;
  width: 84px;
  border-radius: 50%;
  transform: translateY(20px);
  position: relative;
  z-index: 2;
  /* Shadow only at the bottom, so the header background masks the top half */
  box-shadow: 0 16px 22px -10px rgba(41, 42, 39, 0.55);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}
.brand:hover img {
  transform: translateY(16px) scale(1.04);
  box-shadow: 0 18px 26px -10px rgba(41, 42, 39, 0.6);
}
.brand-motto {
  padding-left: 0.75rem;
  margin-left: 0.5rem;
  border-left: 1.5px solid var(--olive);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a { position: relative; padding: 0.3rem 0; white-space: nowrap; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--rust);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.phone-link { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; color: var(--olive-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.4rem; }
.nav-toggle span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; transition: 0.25s ease; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 112px;   /* clears the logo badge, which hangs below the header bar */
  padding-bottom: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: linear-gradient(180deg,
    #BFD9E8 0%, #CFE1EC 16%, #E1E9E9 38%,
    #F1EEE6 60%, #F7EDE3 80%, #F0E3D1 100%);
}
/* low warm sun sitting behind the tree */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: min(1200px, 96%);
  height: 62%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 182, 92, 0.24), rgba(232, 182, 92, 0) 72%);
  pointer-events: none;
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 3;
  width: 100%;   /* the hero is a column flex box; auto side margins would shrink-wrap these */
}
/* headline on the left, the running instruction on the right, so the whole lower
   half of the hero is left free for the tree */
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: var(--space-sm) var(--space-lg);
  align-items: end;
  padding-bottom: var(--space-xs);
}
.hero-copy { max-width: 640px; }
.hero .eyebrow { margin-bottom: 0.8rem; }
.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.1rem);
  margin-bottom: 0.7rem;
}
.hero h1 .underline {
  position: relative;
  color: var(--olive-dark);
  display: inline-block;
}
.hero h1 .underline svg { position: absolute; left: 0; bottom: -0.18em; width: 100%; height: 0.3em; }
.hero p.lead { font-size: 1.08rem; color: var(--charcoal-soft); max-width: 570px; margin-bottom: var(--space-sm); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.9rem; font-weight: 700; color: var(--olive-dark); }
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-sky { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero-sun {
  position: absolute; top: 6%; right: 7%;
  width: 96px; height: 96px; opacity: 0.85;
  animation: spin-slow 60s linear infinite;
}
.hero-cloud { position: absolute; opacity: 0.5; filter: blur(1px); }
/* Falling leaves are parked for now, to come back as an autumn update. The rule is kept
   so restoring them is just re-adding the <svg class="hero-leaf"> elements to .hero-sky. */
.hero-leaf { position: absolute; top: 34%; opacity: 0; animation: fall linear infinite; }
.hero-cloud.c1 { top: 13%; left: 2%; width: 165px; animation: drift 26s ease-in-out infinite; }
.hero-cloud.c2 { top: 27%; right: 30%; width: 105px; animation: drift 21s ease-in-out infinite reverse; }
.hero-cloud.c3 { top: 7%; left: 52%; width: 128px; animation: drift 32s ease-in-out infinite; }

/* ============ INTERACTIVE HERO OAK ============ */
.tree-scene {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  padding-bottom: 0;
  max-width: 1520px;   /* the artwork is allowed wider than the text column */
  position: relative;  /* the explanation card anchors to this */
}

/* the instruction and the explanation share one slot beside the headline, so the
   artwork below is never covered by either of them */
.hero-panel { position: relative; }

.tree-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem var(--space-sm);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(69, 95, 50, 0.16);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}
.tree-step-num {
  font: 700 0.7rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(69, 95, 50, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.85rem;
}
.tree-prompt {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  min-height: 2.7em;
  text-wrap: balance;
}
.tree-progress { display: flex; gap: 0.42rem; }
.tree-progress .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(69, 95, 50, 0.22);
  transition: 0.3s var(--ease-out);
}
.tree-progress .dot.is-active { background: var(--sun); transform: scale(1.35); }
.tree-progress .dot.is-done { background: var(--olive); }

/* the artwork itself: every layer is placed as a percentage of this box, so the
   whole scene scales as one picture whatever the viewport does */
.tree-stage {
  position: relative;
  /* Width-driven, so the aspect ratio is always exact: a height-driven box with
     max-width gets its ratio broken the moment the clamp bites, which silently
     stretches every layer placed as a percentage inside it.
     The 470px is the header, headline block and wave below. Below the 780px floor
     the artwork stops shrinking and the hero grows past the fold instead. */
  aspect-ratio: 3300 / 1580;
  width: min(100%, max(780px, calc((100svh - 470px) * 2.0886)));
  height: auto;
  margin-inline: auto;
}
/* a soft turf haze and a cast shadow, so the oak sits on the ground rather than
   floating above the cream */
/* The ground the oak stands on. It starts transparent so the hero's warm light shows
   through, turns to turf by the foot of the tree, and hands over to .hero-ground at
   exactly the same colour, which in turn hands over to the olive trust strip. That is
   what joins the grass at the base of the tree to the dark green band below it. */
.tree-stage::before {
  content: "";
  position: absolute;
  left: -60%; right: -60%; bottom: 0;
  height: 21%;
  background: linear-gradient(180deg,
    rgba(152,154,88,0) 0%,
    rgba(151,154,87,0.16) 40%,
    rgba(149,153,86,0.52) 66%,
    rgba(144,152,84,0.90) 86%,
    #8A9A55 100%);
  z-index: 0;
  pointer-events: none;
}
.tree-stage::after {
  content: "";
  position: absolute;
  left: 26%; right: 26%; bottom: 1.6%;
  height: 6%;
  background: radial-gradient(closest-side, rgba(48,62,32,0.26), rgba(48,62,32,0) 76%);
  z-index: 1;
  pointer-events: none;
}

.tl {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.25s ease;
}
/* Deliberately larger than its manifest box (was 50.15% wide at top 95.19%) so the
   stump and the chip pile have lawn to sit on. Same centre, same bottom edge.
   The photographed mound has hard ends; fading them stops it reading as a bright
   lens laid on the lawn rather than part of it. */
.tl-ground {
  left: 19.1670%; top: 94.1030%; width: 64.0000%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.tl-chips  { left: 41.3636%; top: 88.5443%; width: 17.5758%; z-index: 2; opacity: 0; }

/* Everything that stays put when the stem goes over. The butt is the same trunk
   pixels as the tree layer, clipped to below the felling cut and held still, so the
   stump does not travel with the falling tree. The sawn stump fades in over it. */
.stump-group { position: absolute; inset: 0; z-index: 3; transform-origin: 50% 95%; }
.tl-butt   { left: 19.9091%; top: 4.7468%; width: 61.3030%; z-index: 1;
             opacity: 0; clip-path: inset(91.4166% 0 0 0); }
.stump-group.is-cut .tl-butt { opacity: 1; }
.tl-stump  { left: 42.8788%; top: 86.2658%; width: 14.5455%; z-index: 2; opacity: 0; }

.tree-fall { position: absolute; inset: 0; z-index: 4; transform-origin: 55.79% 94.94%; }
.tree-fall.is-felling .tl-tree { clip-path: inset(0 0 8.5834% 0); }
/* No sway. A continuously rotating layer is resampled every frame, which visibly
   softens the leaf detail. The tree is held still so it renders pixel for pixel;
   the movement in the hero comes from the drifting leaves instead. */
.tree-sway { position: absolute; inset: 0; }

.tl-limbL  { left: 10.8788%;  top: 26.1392%; width: 14.5455%; z-index: 1; transform-origin: 100% 38%; --tilt: -2.2deg; --dx: -9%; }
.tl-limbR  { left: 79.1212%; top: 38.8608%; width: 14.8485%; z-index: 1; transform-origin: 0% 30%;   --tilt:  2.2deg; --dx:  9%; }
.tl-tree   { left: 19.9091%; top:  4.7468%; width: 61.3030%; z-index: 2; }
.tl-deadA  { left: 25.5758%; top: 18.6076%; width: 18.9394%; z-index: 3; transform-origin: 86% 95%;  --tilt: -2.6deg; --dx: -6%; }
.tl-deadB  { left: 55.9697%; top: 26.8354%; width: 17.8485%; z-index: 3; transform-origin: 14% 95%;  --tilt:  2.6deg; --dx:  6%; }
.tl-fungus { left: 44.0606%; top: 76.9620%; width:  5.9091%; z-index: 4; opacity: 0; transform: scale(0.3); transform-origin: 76% 55%; }
/* The face cut is a real hole punched through the trunk with a mask, so whatever is
   behind the tree shows through it. Painting a wedge on top only ever looks like a
   wedge painted on top. The thin pale line is the fresh sawn face catching the light. */
.tree-fall.is-notched .tl-tree,
.stump-group.is-notched .tl-butt {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2023 1433' preserveAspectRatio='none'><path fill-rule='evenodd' fill='%23000' d='M0 0 H2023 V1433 H0 Z M1115 1260 L981 1310 L1115 1360 Z M875 1301 H995 V1319 H875 Z'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2023 1433' preserveAspectRatio='none'><path fill-rule='evenodd' fill='%23000' d='M0 0 H2023 V1433 H0 Z M1115 1260 L981 1310 L1115 1360 Z M875 1301 H995 V1319 H875 Z'/></svg>");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* the piece under the cursor lifts out of the picture */
.tl.is-hot {
  filter: drop-shadow(0 0 9px rgba(232, 182, 92, 0.95)) drop-shadow(0 0 26px rgba(232, 182, 92, 0.5));
}

.tl.is-going { animation: limb-drop 900ms cubic-bezier(0.42, 0.02, 0.78, 0.6) forwards; }
@keyframes limb-drop {
  0%   { transform: rotate(0deg) translate(0, 0); opacity: 1; }
  13%  { transform: rotate(calc(var(--tilt) * 0.4)) translate(0, 0); opacity: 1; }
  100% { transform: rotate(calc(var(--tilt) * 18)) translate(var(--dx), 64%); opacity: 0; }
}

.tl-fungus.is-in { animation: fungus-grow 900ms var(--ease-bounce) forwards; }
@keyframes fungus-grow {
  0%   { opacity: 0; transform: scale(0.22) rotate(-7deg); }
  55%  { opacity: 1; }
  72%  { transform: scale(1.08) rotate(1.5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.tree-fall.is-felling { animation: oak-fell 1600ms linear forwards; }
/* The acceleration lives in the keyframe spacing rather than an easing curve, so the
   stem visibly starts to go instead of sitting still for the first third. */
@keyframes oak-fell {
  0%   { transform: rotate(0deg) translate(0, 0); opacity: 1; }
  5%   { transform: rotate(-1.6deg) translate(0, 0); }
  12%  { transform: rotate(1.2deg) translate(0, 0); }
  30%  { transform: rotate(8deg) translate(0.1%, 0.05%); }
  50%  { transform: rotate(22deg) translate(0.6%, 0.3%); }
  70%  { transform: rotate(44deg) translate(2%, 1.2%); }
  86%  { transform: rotate(70deg) translate(4.4%, 2.4%); opacity: 1; }
  100% { transform: rotate(96deg) translate(7.5%, 3.8%); opacity: 0; }
}
/* the whole scene takes the weight as it lands. Shaking the stage rather than the
   stump avoids replacing the stump's own fade-in animation part way through it. */
.tree-stage.is-thud { animation: thud 330ms ease-out; }
@keyframes thud {
  0%, 100% { transform: translateY(0); }
  20%      { transform: translateY(5px); }
  48%      { transform: translateY(-2px); }
  74%      { transform: translateY(1px); }
}

.tl-stump.is-in { animation: fade-up 420ms ease-out 1150ms forwards; }
.tl-chips.is-in { animation: fade-up 700ms ease-out 620ms forwards; }
@keyframes fade-up { from { opacity: 0; } to { opacity: 1; } }

.stump-group.is-grinding { animation: stump-grind 1100ms ease-in forwards; transform-origin: 50% 95.44%; }
@keyframes stump-grind {
  0%   { transform: translate(0, 0) scaleY(1); opacity: 1; }
  10%  { transform: translate(-0.7%, 0) scaleY(1); }
  20%  { transform: translate(0.7%, 0) scaleY(0.94); }
  30%  { transform: translate(-0.6%, 0) scaleY(0.88); }
  40%  { transform: translate(0.6%, 0) scaleY(0.78); }
  55%  { transform: translate(-0.4%, 0) scaleY(0.62); opacity: 1; }
  100% { transform: translate(0, 4%) scaleY(0.14); opacity: 0; }
}

.chip-burst { position: absolute; left: 50.03%; top: 90.5%; width: 0; height: 0; z-index: 6; pointer-events: none; }
.chip-burst .chip { position: absolute; border-radius: 1px; will-change: transform, opacity; }

/* click targets: a generous invisible area with a pin marking where to aim */
.tree-hit {
  position: absolute;
  z-index: 20;
  border: 0;
  padding: 0;
  background: none;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.4s var(--ease-out);
}
.tree-hit.is-live { opacity: 1; pointer-events: auto; }
.tree-hit .pin {
  position: absolute;
  left: var(--px); top: var(--py);
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  transition: background 0.2s ease, transform 0.2s var(--ease-bounce);
}
.tree-hit .pin::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--sun);
  animation: pin-ping 1.9s ease-out infinite;
}
@keyframes pin-ping {
  0%        { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}
.tree-hit:hover .pin, .tree-hit:focus-visible .pin { background: var(--urgent); transform: scale(1.18); }
.tree-hit:focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 4px; border-radius: 14px; }
.tree-hit .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The explanation that opens once a job is finished. It lives in the tree scene and is
   anchored just above it, so on the last step it can simply re-centre over the artwork
   instead of sitting off in the corner. */
/* Every card, not just the closing one, sits over the middle of the artwork and
   has to be dismissed with "Next job". It used to tuck in above the tree so the
   art stayed visible, but the drop animation has already finished by the time
   the card opens, so there is nothing left to watch, and covering the tree makes
   it obvious that the step is done and something is being asked of you. */
.tree-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 78%);
  z-index: 40;
  background: #fff;
  border: 1px solid rgba(69, 95, 50, 0.16);
  border-radius: var(--radius-md);
  /* the enormous spread is the scrim: it dims the artwork behind the card, and
     .hero's overflow:hidden clips it so the rest of the page is untouched */
  box-shadow: var(--shadow-lg), 0 0 0 100vmax rgba(41, 42, 39, 0.28);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
/* the closing card carries more copy and the quote button, so it runs wider */
.tree-card.is-final { width: min(500px, 88%); }
.tree-card.is-shown { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.tree-card h3 { font-family: var(--font-display); color: var(--olive-dark); font-size: 1.28rem; margin-bottom: 0.45rem; }
.tree-card p { font-size: 0.94rem; color: var(--charcoal-soft); line-height: 1.6; margin-bottom: 1rem; }
.tree-card-actions { display: flex; gap: 0.6rem 0.9rem; flex-wrap: wrap; align-items: center; }
.tree-card.is-final .tree-card-link {
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}
.tree-card.is-final .tree-card-link:hover { background: var(--rust-dark); color: #fff; }
.tree-card-link { font-weight: 700; font-size: 0.88rem; color: var(--rust); text-decoration: underline; }
.tree-card-link:hover { color: var(--rust-dark); }

.tree-replay {
  display: inline-block;
  margin: 0;
  background: none;
  border: 0;
  font: 700 0.92rem var(--font-body);
  color: var(--olive);
  cursor: pointer;
  padding: 0.4rem 0.8rem;
}
.tree-replay:hover { color: var(--olive-dark); text-decoration: underline; }

/* The firewood offer, in its own slim bar below the trust strip. This slot
   held the autumn competition banner from September to October 2026; back to
   firewood sales now that has finished. */
.firewood-bar { background: var(--cream); padding: var(--space-md) 0; }
.firewood-bar .container { display: flex; justify-content: center; }
.hero-firewood-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--rust);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  max-width: 480px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}
.hero-firewood-banner:hover { transform: translateY(-2px); background: var(--rust-dark); }
.hero-firewood-banner .flame { font-size: 1.1rem; flex-shrink: 0; }
.hero-firewood-banner .arrow { flex-shrink: 0; font-size: 1.1rem; }
@media (max-width: 560px) {
  .hero-firewood-banner { max-width: 100%; font-size: 0.85rem; }
}


@media (max-width: 900px) {
  /* On a phone the artwork is width-bound, so the way to give it the screen is to stop
     everything above it eating the height: tighter copy, and the running prompt as a bare
     line instead of a card. */
  .hero { padding-top: 112px; text-align: center; min-height: 0; }
  .hero .eyebrow { margin-bottom: 0.55rem; }
  .hero h1 { font-size: clamp(1.85rem, 7.6vw, 2.45rem); margin-bottom: 0.5rem; }
  .hero p.lead { font-size: 0.95rem; margin-bottom: 0.7rem; }
  .hero-ctas { gap: 0.55rem; }
  .hero-ctas .btn { padding: 0.68rem 1.15rem; font-size: 0.93rem; }
  .hero-top { grid-template-columns: 1fr; align-items: stretch; gap: 0.5rem; padding-bottom: 0; }
  .tree-guide {
    align-items: center;
    text-align: center;
    padding: 0.3rem 0 0;
    gap: 0.45rem;
    background: none;
    border: 0;
    backdrop-filter: none;
  }
  .tree-step-num { display: none; }
  /* fixed to three lines so a longer prompt does not nudge the tree up and down */
  .tree-prompt { font-size: 0.94rem; min-height: 4.3em; }
  .hero-sun { width: 62px; top: 3%; right: 5%; }
  .hero-cloud { display: none; }
  /* bleeds past the text column so the oak reads at phone width */
  .tree-scene { padding: 0; }
  /* flex-shrink would pull it back under the declared width; centring gives an even
     bleed off both edges without a negative margin fighting justify-content */
  .tree-stage { width: 136%; height: auto; flex: 0 0 auto; margin-inline: 0; }
  /* Anchored to the bottom of the prompt row and growing upward over the headline, so
     it never shoves the tree down the screen. In flow it cost the artwork 127px at the
     exact moment you want to see what changed. */
  /* The card covers the tree and has to be dismissed to move on, which is how the old
     animation worked and reads far better on a phone than pushing the artwork around. */
  .tree-card,
  .tree-card.is-final {
    position: absolute;
    left: 12px; right: 12px;
    top: 50%; bottom: auto;
    width: auto;
    transform: translateY(-44%) scale(0.98);
    padding: 0.85rem 0.95rem 0.95rem;
    background: #fff;
    box-shadow: var(--shadow-lg), 0 0 0 100vmax rgba(41, 42, 39, 0.28);
  }
  .tree-card.is-shown,
  .tree-card.is-final.is-shown { transform: translateY(-50%); }
  .tree-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
  .tree-card p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 0.7rem; }
  .tree-card-actions { gap: 0.5rem 0.8rem; }
}
@media (max-width: 560px) {
  .tree-hit .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .tree-card { padding: var(--space-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sun, .hero-cloud, .hero-leaf, .tree-hit .pin::after { animation: none !important; }
  .tl.is-going, .tl-fungus.is-in, .tree-fall.is-felling,
  .tl-stump.is-in, .tl-chips.is-in, .tl-stump.is-grinding { animation-duration: 1ms !important; }
}


@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(18px); } }
@keyframes fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translateY(420px) translateX(40px) rotate(220deg); opacity: 0; }
}
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* replaces the old wave divider: turf at the top, olive at the bottom, so the hero
   runs straight into the trust strip with no cream seam */
.hero-ground {
  height: clamp(46px, 5.4vw, 74px);
  background: linear-gradient(180deg, #8A9A55 0%, #6E8648 40%, #57723D 72%, #455F32 100%);
  position: relative;
  z-index: 2;
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--olive);
  padding: var(--space-md) 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: 1;
  min-width: 200px;
}
.trust-item svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--sun); }
.trust-item small { display: block; font-family: var(--font-body); font-weight: 600; opacity: 0.75; font-size: 0.75rem; }

/* ============ SERVICES ============ */
.services { padding: var(--space-2xl) 0 var(--space-xl); background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
  border: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}
.service-icon {
  width: 64px; height: 64px;
  margin-bottom: var(--space-sm);
  color: var(--olive);
}
.service-card:hover .service-icon { animation: wiggle 0.6s ease; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.92rem; color: var(--charcoal-soft); }
.service-link { display: inline-block; margin-top: 0.6rem; font-weight: 700; font-size: 0.9rem; color: var(--olive); }
.service-link:hover { color: var(--olive-dark); }

/* ============ HOW IT WORKS ============ */
.how { padding: var(--space-xl) 0; background: var(--olive-pale); position: relative; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}
.how-step { text-align: center; position: relative; }
.how-step-num {
  width: 60px; height: 60px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--cream-soft);
  border: 3px dashed var(--rust);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--rust);
  transition: transform 0.3s var(--ease-bounce);
}
.how-step:hover .how-step-num { transform: scale(1.12) rotate(8deg); }
.how-step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.how-step p { font-size: 0.9rem; color: var(--charcoal-soft); }

/* ============ GALLERY ============ */
.gallery { padding: var(--space-2xl) 0 var(--space-xl); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 0.9rem 1rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(41,42,39,0.85));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(41,42,39,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ============ ABOUT ============ */
.about { padding: var(--space-xl) 0; background: var(--rust-light); overflow: hidden; }
/* second team member on the Meet The Team page: photo flips to the right, calmer ground */
.about-alt { background: var(--cream-soft); }
.about-alt .container { grid-template-columns: 1.15fr 0.85fr; }
.about-alt .about-photo { order: 2; }
.about-alt .about-text { order: 1; }
.about-alt .about-text .eyebrow { background: var(--rust-light); }
@media (max-width: 980px) {
  .about-alt .container { grid-template-columns: 1fr; }
  .about-alt .about-photo { order: 1; }
  .about-alt .about-text { order: 2; }
}
.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo > img:not(.cg-badge) {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream-soft);
}
/* City & Guilds badge on the about photo */
.cg-badge {
  position: absolute;
  bottom: -16px;
  left: -18px;
  width: 96px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  animation: bob 4s ease-in-out infinite;
  transition: filter 0.3s ease;
}
.cg-badge:hover { filter: brightness(1.05) drop-shadow(0 4px 8px rgba(0,0,0,0.2)); animation-play-state: paused; }

/* City & Guilds badge in the footer */
.footer-cg-badge {
  display: block;
  width: 80px;
  border-radius: 10px;
  margin-top: 1rem;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.footer-cg-badge:hover { opacity: 1; }

.about-text .eyebrow { background: var(--cream-soft); }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: var(--space-sm); }
.about-text p { margin-bottom: var(--space-sm); color: var(--charcoal-soft); }
.about-creds { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: var(--space-sm); }
.cred-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--cream-soft);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.cred-pill svg { width: 18px; height: 18px; color: var(--olive); }

/* ============ REVIEWS ============ */
.reviews { padding: var(--space-2xl) 0 var(--space-xl); text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
  margin-bottom: var(--space-md);
}
.review-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-stars { color: var(--sun); margin-bottom: 0.6rem; letter-spacing: 0.15em; }
.review-card p.quote { padding: 0; /* .quote is also the quote form section, whose padding lands here */ font-size: 0.95rem; color: var(--charcoal-soft); margin-bottom: 0.8rem; font-style: italic; }
.review-author { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.review-google { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--charcoal-soft); margin-top: 0.5rem; }

/* ============ SERVICE AREA ============ */
.area { padding: var(--space-xl) 0; background: var(--olive); color: var(--cream-soft); overflow: hidden; }
.area .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.area h2 { color: var(--cream-soft); }
.area-text p { color: rgba(250,247,238,0.85); margin-bottom: var(--space-sm); }
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-sm); }
.area-list span,
.area-list a {
  background: rgba(250,247,238,0.12);
  border: 1px solid rgba(250,247,238,0.3);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream-soft);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.area-list a:hover { background: rgba(250,247,238,0.24); border-color: var(--sun); }

/* questions block on a location page sits inside the article column */
.location-faq { margin: 0 0 var(--space-lg); }
.location-faq .faq-item:first-child { border-top: 2px solid var(--olive-light); }
.area-map { position: relative; display: flex; align-items: center; justify-content: center; }
.area-map svg { width: 100%; max-width: 440px; }
/* town names and the map-data credit on the pencil map behind the pin */
.area-map-labels text { font-family: var(--font-body); font-weight: 700; font-size: 9.5px; fill: var(--cream-soft); opacity: 0.9; }
.area-map-credit { font-family: var(--font-body); font-size: 6px; fill: var(--cream-soft); opacity: 0.55; }
.radius-ping {
  transform-origin: center;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0% { r: 18; opacity: 0.7; } 100% { r: 130; opacity: 0; } }

/* ============ QUOTE FORM ============ */
.quote { padding: var(--space-2xl) 0 var(--space-xl); }
.quote-box {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.quote-side {
  /* brand olive, with a faint pencil sketch of forest pines (from the Kelsall town sketch) fading in on the right */
  background: var(--olive);
  color: var(--cream-soft);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.quote-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/areas/quote-pines.webp") no-repeat right -40px bottom -30px / auto 110%;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 75%);
  pointer-events: none;
}
.quote-side > * { position: relative; }
.quote-side h3 { color: var(--cream-soft); font-size: 1.6rem; margin-bottom: var(--space-sm); }
.quote-side p { color: rgba(250,247,238,0.85); margin-bottom: var(--space-sm); }
.quote-side .phone-cta { font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); }
.quote-form { padding: var(--space-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
/* quiet note alongside a field label, e.g. "Where the work is" */
.hint-inline { font-weight: 400; color: var(--charcoal-soft); font-size: 0.78rem; margin-left: 0.35rem; }
/* Flag a bad entry only once the person has actually had a go at the field.
   Plain :invalid would redden every empty required box the moment the page
   loads, which is shouting at someone before they have typed anything. */
input:user-invalid { border-color: var(--urgent); }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 1rem;
  border: 2px solid var(--olive-light);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive); }
textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--charcoal-soft); margin-top: 0.6rem; }

/* optional photo upload on the quote form */
.field-help { font-size: 0.8rem; color: var(--charcoal-soft); margin-top: 0.4rem; line-height: 1.5; }
input[type="file"] {
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 700;
  margin-right: 0.7rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--olive);
  color: var(--cream-soft);
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: var(--olive-dark); }
.file-list { margin-top: 0.6rem; }
.file-list ul { list-style: none; margin: 0 0 0.4rem; }
.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--olive-light);
}
.file-list li span:last-child { color: var(--charcoal-soft); white-space: nowrap; }
.file-note { font-size: 0.8rem; color: var(--charcoal-soft); }
.file-note.is-over { color: var(--urgent-dark); font-weight: 700; }
.form-success {
  display: none;
  background: var(--olive-pale);
  border: 2px solid var(--olive-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h4 { color: var(--olive-dark); margin-bottom: 0.4rem; }

/* ============ FAQ ============ */
.faq { padding: var(--space-xl) 0; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 2px solid var(--olive-light); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) 0;
  font-family: var(--font-display); font-size: 1.05rem; text-align: left;
}
.faq-q .icon { font-size: 1.4rem; color: var(--rust); transition: transform 0.3s var(--ease-bounce); flex-shrink: 0; margin-left: 1rem; }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.faq-a-inner { padding-bottom: var(--space-sm); }

/* ============ FOOTER ============ */
.site-footer { background: var(--charcoal); color: var(--cream-soft); padding: var(--space-xl) 0 var(--space-md); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.footer-col .area-links { display: flex; flex-direction: column; }
.footer-brand { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.8rem; }
.footer-brand img { height: 44px; width: 44px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-display); }
.footer-col h4 { color: var(--cream-soft); font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-col a, .footer-col p { display: block; color: rgba(250,247,238,0.7); font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--sun); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,247,238,0.1);
  color: rgba(250,247,238,0.7);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--olive); color: var(--cream-soft); }

.footer-bottom {
  border-top: 1px solid rgba(250,247,238,0.15);
  padding-top: var(--space-md);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(250,247,238,0.55);
}
/* ============ FLOATING EMERGENCY CTA ============ */
.emergency-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--urgent);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(178,65,43,0.45);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  animation: float-pulse 2.6s ease-in-out infinite;
}
.emergency-float svg { width: 22px; height: 22px; }
@keyframes float-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(178,65,43,0.45); } 50% { box-shadow: 0 10px 36px rgba(178,65,43,0.7); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about .container, .area .container { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .quote-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .phone-link span { display: none; }
  .brand-motto { display: none; }
  .header-actions { gap: 0.6rem; }
  .header-actions .btn-sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .emergency-float span.label { display: none; }
}

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

/* ============ Mobile nav drawer ============ */
.nav-drawer {
  position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
  background: var(--cream-soft);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  padding: var(--space-lg) var(--space-md);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: var(--space-md); font-family: var(--font-display); font-size: 1.3rem; }
.nav-drawer .btn { margin-top: var(--space-md); width: 100%; }

/* ============ LOCATION PAGES ============ */
.location-hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%);
  padding: calc(var(--space-xl) + 78px) 0 var(--space-lg);
  text-align: center;
}
.location-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}
.location-hero h1 em { color: var(--olive); font-style: normal; }
.location-hero .lede {
  max-width: 640px;
  margin: 0 auto var(--space-md);
  color: var(--charcoal-soft);
  font-size: 1.1rem;
}
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  color: var(--charcoal-soft);
}
.breadcrumb a { color: var(--olive); font-weight: 700; }
.location-body { padding: var(--space-xl) 0; }
.location-body .container { max-width: 820px; }
.location-body h2 {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-size: 1.6rem;
  margin: var(--space-lg) 0 var(--space-sm);
}
.location-body h2:first-child { margin-top: 0; }
.location-body p { color: var(--charcoal-soft); margin-bottom: var(--space-sm); line-height: 1.7; }
.location-services {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem var(--space-md);
  margin: var(--space-sm) 0 var(--space-md);
}
.location-services li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--charcoal-soft);
  line-height: 1.6;
}
.location-services li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 800;
}
.location-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.location-photos img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
/* Single media item: one full-width photo or video instead of the 2-up pair */
.location-photos.single { grid-template-columns: 1fr; }
.location-photos.single img { height: 400px; }
/* Two photos of equal weight, for before-and-after or a pair from the same job */
.location-photos.pair { grid-template-columns: 1fr 1fr; }
.location-photos.pair img { height: 420px; }
/* One upright photo, held to a sensible width so a portrait is not cropped to a letterbox */
.location-photos.portrait { grid-template-columns: minmax(0, 460px); justify-content: center; }
.location-photos.portrait img { height: 560px; }
.location-photos figure { margin: 0; }
.location-photos figcaption {
  margin-top: 0.5rem;
  font: 700 0.85rem var(--font-body);
  color: var(--olive-dark);
  text-align: center;
}
@media (max-width: 700px) {
  .location-photos.pair { grid-template-columns: 1fr; }
  .location-photos.pair img { height: 300px; }
  .location-photos.portrait img { height: 420px; }
}
.location-media {
  margin: var(--space-md) 0;
}
.location-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--charcoal);
}
.location-media figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  text-align: center;
}
.location-cta-strip {
  background: var(--olive-pale);
  border: 2px solid var(--olive-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  margin: var(--space-lg) 0 0;
}
.location-cta-strip strong { font-family: var(--font-display); font-size: 1.15rem; display: block; margin-bottom: 0.5rem; color: var(--charcoal); }
.footer-col .area-links { display: flex; flex-direction: column; gap: 0.35rem; }
@media (max-width: 700px) {
  .location-services { grid-template-columns: 1fr; }
  .location-photos { grid-template-columns: 1fr; }
  .location-photos img { height: 200px; }
  .location-photos.single img { height: 240px; }
}

/* ============ FIREWOOD PRICING ============ */
.firewood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
}
.firewood-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.firewood-card {
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.firewood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.firewood-card.featured { border-color: var(--sun); }
.firewood-card img { width: 100%; height: 200px; object-fit: cover; }
.firewood-card-body { padding: var(--space-sm) var(--space-md) var(--space-md); flex: 1; display: flex; flex-direction: column; }
.firewood-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.firewood-card .price { font-family: var(--font-display); font-size: 1.7rem; color: var(--olive); margin-bottom: 0.5rem; }
.firewood-card .price span { font-size: 0.95rem; color: var(--charcoal-soft); font-family: var(--font-body); }
.firewood-card p { color: var(--charcoal-soft); font-size: 0.92rem; line-height: 1.6; margin-bottom: var(--space-sm); flex: 1; }
.firewood-badge {
  display: inline-block;
  background: var(--sun);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
  align-self: flex-start;
}
.firewood-deal {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  color: var(--cream-soft);
  margin: var(--space-lg) 0;
}
.firewood-deal .eyebrow { background: rgba(255,255,255,0.15); color: var(--cream-soft); }
.firewood-deal h2 { color: #fff; margin-top: 0.6rem; font-size: 1.8rem; }
.firewood-deal p { color: rgba(250,247,238,0.9); max-width: 520px; margin: 0.6rem auto var(--space-md); }
@media (max-width: 820px) {
  .firewood-grid { grid-template-columns: 1fr; }
}


/* ============ PROFESSIONAL RESTYLE (Nov 2026) ============
   Photo-led, plain type, tight corners, no decoration. The oak's rules further up are
   now unused but kept: the section itself is in Website-source-media/retired-oak. */
.eyebrow,
.about-text .eyebrow,
.about-alt .about-text .eyebrow {
  background: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cta);
}
.btn { font-weight: 600; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:hover, .btn:active { transform: none; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--cta-dark); }
.btn-urgent { box-shadow: var(--shadow-md); }

/* ---------- homepage hero ---------- */
.photo-hero {
  display: flex;
  align-items: center;
  min-height: min(86svh, 760px);
  padding: 112px 0 var(--space-xl);
  background: var(--forest);
  color: #fff;
}
.photo-hero > .container { position: relative; z-index: 2; width: 100%; }
.photo-hero-copy { max-width: 590px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.photo-hero-copy .btn { text-shadow: none; }
.photo-hero .eyebrow { color: #fff; margin-bottom: 0.7rem; }
.photo-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; margin-bottom: 0.9rem; }
.photo-hero p.lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.92); margin-bottom: var(--space-md); }
.photo-hero .btn-outline { color: #fff; border-color: #fff; }
.photo-hero .btn-outline:hover { background: #fff; color: var(--forest); }
.hero-rating { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.1rem; color: #fff; font-size: 0.98rem; }
.hero-rating:hover { text-decoration: underline; }
.hero-rating-stars { color: #F2B632; letter-spacing: 0.08em; font-size: 1.1rem; }
.photo-hero-slides { position: absolute; inset: 0; overflow: hidden; }
.photo-hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 28, 15, 0.72) 0%, rgba(20, 28, 15, 0.5) 40%, rgba(20, 28, 15, 0) 68%);
}
.photo-hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.photo-hero-slides img.is-active { opacity: 1; }
.photo-hero-pause {
  position: absolute;
  z-index: 3;
  left: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 28, 15, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.photo-hero-pause:hover { background: rgba(20, 28, 15, 0.95); }

/* ---------- strips and sections ---------- */
.trust-strip { background: var(--forest); }
/* the same olive the turf under the oak fades into, so the two sections run together */
.area { background: var(--olive); }
.area .eyebrow { color: #fff; }
.trust-badge { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-sm); background: #fff; padding: 2px; object-fit: contain; }
.trust-item svg { color: #fff; }
.firewood-bar { background: #fff; padding: var(--space-sm) 0; }
.hero-firewood-banner { border-radius: var(--radius-md); }
.hero-firewood-banner:hover { transform: none; }
.reviews { padding: var(--space-xl) 0; }
.review-card { box-shadow: none; border: 1px solid #E4E3DC; }
.review-stars { color: #E0A82E; }
.services { padding: var(--space-xl) 0; }
.gallery, .quote { padding: var(--space-xl) 0; }

/* ---------- service tiles ---------- */
.service-card {
  padding: 0 0 var(--space-sm);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #E4E3DC;
  transition: border-color 0.2s ease;
}
.service-card:hover { transform: none; box-shadow: none; border-color: var(--olive); }
.service-photo { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; margin-bottom: 0.9rem; }
.service-card h3, .service-card p, .service-card .service-link { margin-left: var(--space-sm); margin-right: var(--space-sm); }

/* ---------- about ---------- */
.about-photo > img:not(.cg-badge) { border: 0; box-shadow: none; }
.cg-badge { animation: none; left: 12px; bottom: 12px; width: 84px; border-radius: var(--radius-sm); }
.about-alt { background: #fff; }
.cred-pill { border-radius: var(--radius-sm); background: #fff; box-shadow: none; border: 1px solid #E4E3DC; }
.area-list span, .area-list a { border-radius: var(--radius-sm); }

/* ---------- inner page headers ---------- */
.location-hero { background: var(--forest); color: #fff; padding: calc(var(--space-xl) + 56px) 0 var(--space-lg); overflow: hidden; }
.location-hero > .container { position: relative; z-index: 2; }
.location-hero h1, .location-hero h1 em { color: #fff; }
.location-hero .lede { color: rgba(255, 255, 255, 0.92); }
.location-hero .breadcrumb { color: rgba(255, 255, 255, 0.85); }
.location-hero .breadcrumb a { color: #fff; }
.location-body h2 { font-size: 1.5rem; }

@media (max-width: 900px) {
  /* A phone is too narrow for text over a photo: the photo sits on top, the copy under
     it on solid green, and the call button stays on the first screen. */
  .photo-hero { display: block; min-height: 0; padding: 79px 0 var(--space-md); text-align: center; }
  .photo-hero-slides { position: relative; inset: auto; aspect-ratio: 16 / 9; margin-bottom: var(--space-md); }
  .photo-hero-slides::after { display: none; }
  .photo-hero-pause { left: 0.6rem; bottom: 0.6rem; }
  .photo-hero-copy { max-width: none; }
  .photo-hero h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); margin-bottom: 0.6rem; }
  .photo-hero p.lead { font-size: 0.98rem; margin-bottom: var(--space-sm); }
  .photo-hero .hero-ctas { justify-content: center; gap: 0.55rem; }
  .photo-hero .hero-ctas .btn { padding: 0.68rem 1.1rem; font-size: 0.93rem; }
  .hero-rating { margin-top: 0.8rem; }
  .location-hero { padding-top: calc(var(--space-lg) + 80px); }
}

/* ---------- the interactive oak, as a section below the services ---------- */
.hero.tree-section { padding-top: var(--space-xl); min-height: 0; background: #fff; }
.hero.tree-section::after { display: none; }
.hero.tree-section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.6rem; }
.tree-section .tree-step-num { font-family: var(--font-body); }
.tree-section .tree-guide { background: var(--cream); backdrop-filter: none; border: 0; }
.services-more { text-align: center; margin-top: var(--space-lg); }

/* ---------- Our Work page: two big photos across, captions always showing ---------- */
.work { padding: var(--space-xl) 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
.work-grid .gallery-item { overflow: visible; box-shadow: none; border-radius: 0; margin: 0; }
.work-grid .gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.work-grid .gallery-item:hover img { transform: none; opacity: 0.92; }
.work-grid figcaption { padding-top: 0.6rem; color: var(--charcoal-soft); font-size: 0.95rem; }

@media (min-width: 901px) {
  .tree-section .tree-stage { width: min(100%, 980px); }
}
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}
@media (max-width: 900px) {
  .hero.tree-section { padding-top: var(--space-lg); }
  .tree-section .tree-guide { background: none; }
}

/* the original service icons, on the cards under each photo */
.service-card .service-icon { display: block; width: 46px; height: 46px; margin: 0 var(--space-sm) 0.55rem; color: var(--olive); }
.service-card:hover .service-icon { animation: none; }

/* ---------- pencil sketches on the town pages ----------
   Sit after the dark .location-hero rules above so they win. */
/* Optional pencil sketch of the town's landmarks along the bottom of the hero, over the sky gradient.
   A page opts in with class="location-hero has-sketch sketch-<town>"; each town's class below sets
   --sketch (desktop) and --sketch-sm (phone). The paths live here, next to where they are used, so every
   browser resolves them the same way. The sketch files are see-through apart from faint grey lines,
   so the text stays readable over them. */
.location-hero.has-sketch {
  background-image: var(--sketch), linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, 0 0;
  background-size: 100% auto, 100% 100%;
}
/* a soft cream glow lifts the small text off the pencil lines behind it */
.location-hero.has-sketch .breadcrumb,
.location-hero.has-sketch .lede {
  text-shadow: 0 0 4px var(--cream), 0 0 10px var(--cream), 0 0 18px var(--cream);
}
@media (max-width: 700px) {
  .location-hero.has-sketch {
    background-image: var(--sketch-sm), linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%);
    background-size: 180% auto, 100% 100%;
  }
}
.location-hero.has-sketch { color: var(--charcoal); padding-bottom: clamp(7rem, 15vw, 15rem); }
.location-hero.has-sketch h1 { color: var(--charcoal); }
.location-hero.has-sketch h1 em { color: var(--olive); }
.location-hero.has-sketch .lede { color: var(--charcoal-soft); }
.location-hero.has-sketch .breadcrumb { color: var(--charcoal-soft); }
.location-hero.has-sketch .breadcrumb a { color: var(--olive); }

/* before and after: already a two-up image with its own labels, so never cropped */
.location-photos.before-after { grid-template-columns: 1fr; }
.location-photos.before-after img { height: auto; }
.work-grid .gallery-item.wide { grid-column: 1 / -1; grid-row: auto; }
.work-grid .gallery-item.wide img { aspect-ratio: auto; }

/* ---------- rolling trust strip ----------
   The track holds two identical sets and moves by exactly half its width, so the join
   never shows. Each set is at least a full screen wide, so big monitors have no gap. */
.trust-strip { overflow: hidden; padding: var(--space-sm) 0; }
.trust-track { display: flex; width: max-content; animation: trust-roll 32s linear infinite; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 3.5rem;
  min-width: 100vw;
  padding-right: 3.5rem;
}
.trust-set .trust-item { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
@keyframes trust-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; width: auto; }
  .trust-set { flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; min-width: 0; width: 100%; padding: 0 var(--space-sm); }
  .trust-set[aria-hidden="true"] { display: none; }
}

/* ---------- header ----------
   Solid dark green, the same as the footer and the rolling strip, with the logo inside
   the bar. The old badge hung below it and sat on top of the text on every scroll. */
html { scroll-padding-top: 84px; }
.site-header { background: var(--forest); backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-header.scrolled { box-shadow: 0 4px 16px rgba(20, 28, 15, 0.28); }
.site-header .container { height: 72px; gap: var(--space-md); }
.brand { flex-shrink: 0; gap: 0.7rem; color: #fff; }
.brand img, .brand:hover img { width: 54px; height: 54px; transform: none; box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }
.brand-motto { padding: 0; margin: 0; border: 0; font-style: normal; font-size: 0.72rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0; }
.site-header .nav-links { color: #fff; font-weight: 500; font-size: 0.92rem; gap: 1.35rem; }
.site-header .nav-links a::after { height: 2px; background: #fff; border-radius: 0; }
.site-header .phone-link { color: #fff; white-space: nowrap; }
.site-header .header-actions { flex-shrink: 0; }
.nav-toggle span { background: #fff; }
.nav-drawer { top: 72px; background: var(--forest); color: #fff; }
.nav-drawer ul a { color: #fff; }

@media (max-width: 1180px) {
  /* a tablet or small laptop cannot fit it all: the number becomes just the phone icon */
  .site-header .phone-link span { display: none; }
  .brand-motto { display: none; }
}
@media (max-width: 900px) {
  .site-header .container { height: 64px; }
  .brand img, .brand:hover img { width: 48px; height: 48px; }
  .nav-drawer { top: 64px; }
  .photo-hero { padding-top: 65px; }
  .location-hero { padding-top: calc(var(--space-lg) + 64px); }
}

/* header icon is leaves and stump only, so the name always sits beside it. On a phone the
   name wraps to two lines, and the header phone icon goes: the floating call button
   is always on screen there. */
@media (max-width: 480px) {
  .site-header .phone-link { display: none; }
  .brand { gap: 0.55rem; }
  .brand-text { white-space: normal; max-width: 92px; }
  .brand-text strong { font-size: 0.86rem; line-height: 1.2; }
}
/* footer logo, large enough for the lettering to be read */
.footer-brand img { width: 96px; height: 96px; flex-shrink: 0; }

/* narrow phones: tighter header, and below 340px the name gives way so the menu stays on screen */
@media (max-width: 420px) {
  .site-header .container { padding: 0 0.9rem; gap: 0.5rem; }
  .site-header .header-actions { gap: 0.45rem; }
  .site-header .header-actions .btn-sm { padding: 0.5rem 0.8rem; font-size: 0.82rem; }
}
@media (max-width: 340px) {
  .brand-text { display: none; }
}

/* the larger footer logo needs a wider first column, and the email address must not run
   into the column beside it */
@media (min-width: 981px) {
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1.35fr 1fr; gap: var(--space-md); }
}
.footer-col a[href^="mailto:"] { overflow-wrap: anywhere; font-size: 0.86rem; }

/* Ryan likes the motto: it shows at every width with room for it, in its original italic.
   A phone header has no room, so there it leads the pop-out menu instead. */
@media (min-width: 481px) {
  .brand-text .brand-motto { display: block; font-style: italic; font-size: 0.76rem; color: rgba(255, 255, 255, 0.88); }
}
@media (max-width: 480px) {
  .brand-text .brand-motto { display: none; }
  .nav-drawer ul::before {
    content: "Up in the trees. Down to earth.";
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
  }
}
