/*
  base.css: design tokens and shared building blocks for the whole page.
  Every section stylesheet builds on these; nothing here is specific to one section.

  Brand: none exists, so these tokens come from the business's own job photos.
  Almost every photo looks up at a climber against a bright Florida sky, so the
  page is light and airy (cloud and sky), with dark canopy green for weight and
  the crew's hi-vis yellow as the one small accent. Yellow is only used on dark
  surfaces or as a fill under dark text, never as text on light backgrounds.
  Bark and sapwood colour only the drawn tree trunk in the removal section.
  Tone: steady, capable, neighbourly. Not flashy, not corporate, not macho.
  Type: Epilogue, one variable family. Heavy weights with tight spacing for
  headings (sentence case), regular weight for body text.
  Motion: Yash wants every demo to have a wow effect, so several sections move on
  scroll (GSAP). Every section is fully readable without it: motion only starts
  when <html> has the "motion-ready" class (set by src/scripts/base.js).
*/

:root {
  /* Colours */
  --cloud: #f5f8f9;        /* page background */
  --sky: #d9e9f4;          /* hero and alternate light sections */
  --ink: #0f2219;          /* body text on light (15.6:1 on cloud) */
  --muted: #44554c;        /* secondary text on light (7.4:1 on cloud, 6.3:1 on sky) */
  --line: #c4d3da;         /* borders and dividers on light */
  --pine: #1c5236;         /* links and small marks on light (8.9:1 on cloud) */
  --canopy: #0d2a1d;       /* dark sections, primary buttons on light */
  --hivis: #f3dc2b;        /* the one accent: on canopy (12.6:1) or as a fill under ink text (13.7:1) */
  --on-dark: #eef4ef;      /* text on canopy (14.4:1) */
  --on-dark-muted: #b8cbbf;/* secondary text on canopy (9.6:1) */
  --bark: #6b4b35;         /* drawn trunk only */
  --sapwood: #ead6ad;      /* drawn stump face only */

  /* Type */
  --font: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.04rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.14rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.9vw, 3.75rem);
  --fs-display: clamp(2.5rem, 1.4rem + 5vw, 5.5rem);

  /* Spacing scale (4 to 128) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 4px;           /* one corner radius; no shadows, surfaces are separated by colour */
  --container: 1200px;
  --gutter: var(--s4);
  --header-h: 64px;

  /* Matches the GSAP "power3.out" feel for CSS transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Focus ring colour; dark sections switch it to --hivis so it stays visible. */
  --focus: var(--pine);
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) { :root { --gutter: var(--s6); --fs-body: 1.125rem; --header-h: 72px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* clip, not hidden, so position: sticky and pinning still work; on <main>, not
   <body>, because a body value is handed to the viewport and phones zoom out. */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
input, button { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
h3 { line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
p { text-wrap: pretty; }
a { color: var(--pine); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Lenis smooth scrolling (rules from the Lenis package). Lenis does the
   smoothing itself, so the browser's own smooth scrolling is switched off. */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* Shared building blocks */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--hivis); color: var(--ink); padding: var(--s3) var(--s4);
  border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: var(--s4); }

/* Small label above a heading: the stage of the climb plus what the section is. */
.kicker {
  display: flex; align-items: center; gap: var(--s3);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pine);
}
.kicker::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.on-dark .kicker { color: var(--hivis); }

/* Buttons. Primary on light = canopy fill; on dark = hi-vis fill with ink text. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 52px; padding: var(--s3) var(--s5);
  border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--canopy); color: var(--on-dark); }
.btn-primary svg { color: var(--hivis); }
.btn-primary:hover { background: var(--pine); }
.btn-ghost { border-color: currentColor; color: var(--canopy); }
.btn-ghost:hover { background: var(--canopy); color: var(--on-dark); }
.on-dark .btn-primary { background: var(--hivis); color: var(--ink); }
.on-dark .btn-primary svg { color: var(--ink); }
.on-dark .btn-primary:hover { background: #fff07a; }
.on-dark .btn-ghost { color: var(--on-dark); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--canopy); }

.on-dark { --focus: var(--hivis); background: var(--canopy); color: var(--on-dark); }
.on-dark a:not(.btn) { color: var(--on-dark); }

/* Star row. The fifth star is filled to 70% to show 4.7 honestly. */
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 18px; height: 18px; }
.on-dark .stars { color: var(--hivis); }

/* HomeSampleNotice: the "sample website" strip above the header. */
.sample-notice {
  --focus: var(--hivis);
  background: var(--ink);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { color: var(--on-dark); font-weight: 700; }

/* HomeHeader: sticky header with the wordmark, section links and call button. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cloud) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex; align-items: center; gap: var(--s3);
  color: var(--ink); text-decoration: none; min-height: 44px;
}
.wordmark__mark {
  display: grid; place-items: center;
  height: 40px; padding-inline: var(--s2);
  background: var(--canopy); color: var(--hivis);
  border-radius: var(--radius);
  font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em;
}
.wordmark__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; }

.site-nav { display: none; }
.site-header__call { min-height: 44px; padding-inline: var(--s4); }
.site-header__call-long { display: none; }

@media (min-width: 560px) {
  .site-header__call-short { display: none; }
  .site-header__call-long { display: inline; }
}
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .site-nav__list { display: flex; gap: var(--s5); }
  .site-nav a {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
    padding-block: var(--s3); background: linear-gradient(var(--pine), var(--pine)) 0 100% / 0 2px no-repeat;
    transition: background-size 0.25s var(--ease-out);
  }
  .site-nav a:hover { background-size: 100% 2px; }
}

/* HomeDescent: fixed rope gauge on wide screens. A pale capsule keeps it
   readable over both light and dark sections. */
.descent { display: none; }
@media (min-width: 1300px) {
  .motion-ready .descent {
    display: grid; justify-items: center; gap: var(--s3);
    position: fixed; right: 16px; top: 50%; z-index: 40;
    transform: translateY(-50%);
    padding: var(--s3) 0; width: 36px;
    background: var(--cloud); border: 1px solid var(--line); border-radius: 18px;
  }
  .descent__rail { position: relative; width: 4px; height: 44vh; background: var(--line); border-radius: 2px; }
  .descent__fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--canopy); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
  .descent__tick { position: absolute; left: 50%; width: 10px; height: 2px; background: var(--muted); transform: translateX(-50%); }
  .descent__marker {
    position: absolute; left: 50%; top: 0; width: 18px; height: 18px;
    border: 4px solid var(--canopy); border-radius: 50%; background: var(--hivis);
    transform: translate(-50%, -50%);
  }
  .descent__label {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
    min-height: 5.5em; text-align: center;
  }
}

/* HomeHero: slogan, rating and call on the left (top on phones), climber photo on the right. */
/* container-type lets the photo measure the real page width (cqw) instead of 100vw, which includes the scrollbar. */
.hero { background: var(--sky); position: relative; container-type: inline-size; }
.hero__grid { display: grid; gap: var(--s6); padding-block: var(--s6) 0; }
.hero__copy { display: grid; gap: var(--s4); align-content: start; }
.hero__title { font-size: var(--fs-display); max-width: 12ch; }
.hero__lead { font-size: var(--fs-lead); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.hero__hint { font-size: var(--fs-sm); color: var(--muted); margin-top: calc(var(--s2) * -1); }
.hero__rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3);
  justify-self: start; color: var(--ink); text-decoration: none; min-height: 44px;
}
.hero__rating-text { border-bottom: 1px solid var(--muted); }
.hero__rating:hover .hero__rating-text { border-color: var(--ink); }

/* Photo: full width on phones, a tall column on desktop. The mask is what the
   opening animation unrolls from the top; the rope is the yellow line that
   leads it down. */
.hero__photo { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero__mask { overflow: hidden; height: min(78vh, 640px); }
.hero__img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; }
.hero__rope {
  position: absolute; left: var(--gutter); top: 0; width: 4px; height: 100%;
  background: var(--hivis); transform-origin: top;
}
.hero__rope::after {
  /* The ring at the end of the rope. */
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 18px; height: 18px;
  transform: translateX(-50%); border: 4px solid var(--hivis); border-radius: 50%;
  background: var(--canopy);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: var(--s8);
    padding-block: 0;
    min-height: calc(100vh - var(--header-h) - 37px);
  }
  .hero__copy { align-content: center; padding-block: var(--s8); }
  .hero__photo { margin-inline: 0 calc(var(--gutter) * -1); }
  .hero__mask { height: 100%; min-height: 560px; }
  .hero__rope { left: 0; }
}
@media (min-width: 1264px) {
  /* Past the container width the photo runs to the window edge. */
  .hero__photo { margin-right: calc((var(--container) - 2 * var(--gutter) - 100cqw) / 2); }
}

/* Opening: hide only the photo and rope until the script plays them in. A CSS
   fallback shows them at 1.4 s even if the script never starts. */
.motion .hero__mask { clip-path: inset(0 0 100% 0); animation: hero-show 0s 1.4s forwards; }
.motion .hero__rope { transform: scaleY(0); animation: hero-show 0s 1.4s forwards; }
.motion-ready .hero__mask, .motion-ready .hero__rope { animation: none; }
@keyframes hero-show { to { clip-path: inset(0); transform: none; } }

/* HomeMarquee: one line of services on canopy green, yellow ring between items. */
.marquee { overflow: hidden; padding-block: var(--s5); }
.marquee__track { display: flex; width: max-content; }
.marquee__list {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  padding-inline: var(--gutter);
  font-size: clamp(1.125rem, 0.95rem + 0.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em;
}
.marquee__list li { display: inline-flex; align-items: center; gap: var(--s6); white-space: nowrap; }
.marquee__list li::after {
  content: ""; width: 12px; height: 12px; border: 3px solid var(--hivis); border-radius: 50%;
}
/* Without motion the list simply wraps inside the page width. */
.marquee:not(.is-moving) .marquee__track { width: auto; }
.marquee.is-moving .marquee__list { flex-wrap: nowrap; padding-inline: 0 var(--s6); }

/* HomeTrim: heading and their own quote, then three photos hanging from ropes. */
.trim { padding-block: var(--s9) var(--s9); }
.trim__intro { display: grid; gap: var(--s5); }
.trim__head { display: grid; gap: var(--s5); }
.trim__title { font-size: var(--fs-h2); max-width: 18ch; }
.trim__text { display: grid; gap: var(--s5); max-width: 60ch; }
.trim__quote {
  border-left: 4px solid var(--canopy); padding-left: var(--s5);
  font-size: var(--fs-lead); font-style: italic; font-weight: 500;
}
.trim__quote footer { margin-top: var(--s2); font-size: var(--fs-sm); font-style: normal; font-weight: 600; color: var(--muted); }

.trim__photos { display: grid; gap: var(--s7); margin-top: var(--s8); }
.trim__item { display: grid; justify-items: center; }
/* The rope each photo hangs from, ending in a small ring at the card. */
.trim__rope { width: 2px; height: var(--s7); background: var(--canopy); position: relative; transform-origin: top; }
.trim__rope::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px;
  transform: translateX(-50%); border: 3px solid var(--canopy); border-radius: 50%; background: var(--hivis);
}
.trim__card { width: 100%; transform-origin: 50% 0; }
.trim__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.trim__item:nth-child(2) .trim__card img { aspect-ratio: 4 / 3; }
.trim__card figcaption { margin-top: var(--s3); font-weight: 700; }

@media (min-width: 900px) {
  .trim__intro { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s8); }
  .trim__photos { grid-template-columns: repeat(3, 1fr); align-items: start; gap: var(--s6); }
  /* Ropes of different lengths so the photos hang at staggered heights. */
  .trim__item:nth-child(1) .trim__rope { height: var(--s8); }
  .trim__item:nth-child(2) .trim__rope { height: var(--s10); }
  .trim__item:nth-child(3) .trim__rope { height: var(--s7); }
  .trim__item:nth-child(2) .trim__card img { aspect-ratio: 4 / 5; }
}

/* HomeCut: removal steps on the left, the drawn trunk and its cut on the right.
   Without motion (or before the script runs) the drawing shows its end state:
   the stump with the cross-section and 4.7 above it, no falling trunk. */
.cut { padding-block: var(--s9); }
.cut__grid { display: grid; gap: var(--s7); }
.cut__copy { display: grid; gap: var(--s5); align-content: start; }
.cut__title { font-size: var(--fs-h2); max-width: 14ch; }
.cut__text { font-size: var(--fs-lead); color: var(--on-dark); max-width: 42ch; }

.cut__steps { display: grid; gap: var(--s4); margin-top: var(--s2); }
.cut__step { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); align-items: start; color: var(--on-dark-muted); transition: color 0.3s var(--ease-out); }
.cut__step strong { display: block; color: var(--on-dark); font-size: var(--fs-h3); line-height: 1.25; }
.cut__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--on-dark-muted); font-weight: 800; color: var(--on-dark);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
/* With motion, the step that is playing is lit; the others wait dimmed. */
.motion-ready .cut__step:not(.is-active) strong { color: var(--on-dark-muted); }
.cut__step.is-active .cut__num { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }

.cut__stage { display: grid; justify-items: center; gap: var(--s4); }
.cut__svg { width: 100%; max-width: 460px; height: auto; overflow: hidden; }
.cut__caption { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2) var(--s3); }

/* Drawing colours (CSS, not attributes, so they come from the tokens) */
.cut__ground { stroke: var(--on-dark-muted); stroke-width: 2; stroke-linecap: round; fill: none; }
.cut__bark { fill: var(--bark); }
.cut__bark-line { stroke: var(--canopy); stroke-opacity: 0.4; stroke-width: 3; stroke-linecap: round; fill: none; }
.cut__shade { fill: var(--canopy); fill-opacity: 0.28; } /* shadow side of the trunk, for roundness */
.cut__sapwood { fill: var(--sapwood); }
.cut__fade-stop { stop-color: var(--canopy); }
.cut__fade-stop--clear { stop-opacity: 0; }
.cut__kerf { stroke: var(--hivis); stroke-width: 4; stroke-linecap: round; }
.cut__dust circle { fill: var(--hivis); opacity: 0; } /* the script sprays them */
.cut__slice-face { fill: var(--sapwood); stroke: var(--bark); stroke-width: 12; }
.cut__ring { fill: none; stroke: var(--bark); stroke-opacity: 0.55; stroke-width: 2; }
.cut__score { fill: var(--ink); font-family: var(--font); font-weight: 800; font-size: 64px; letter-spacing: -2px; }

/* End state by default; the script sets the start state when motion is on. */
.cut__log, .cut__kerf { visibility: hidden; }
.motion-ready .cut__log, .motion-ready .cut__kerf { visibility: visible; }

@media (min-width: 960px) {
  .cut { padding-block: 0; }
  .cut__grid {
    grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s8);
    min-height: calc(100vh - var(--header-h)); padding-block: var(--s8);
  }
  .cut__svg { max-height: calc(100vh - var(--header-h) - 160px); }
}

/* HomeClearing: clearing text and quote beside the stump photo, the service
   list, then a full-width sunset photo. On the sky colour, like the hero. */
.clearing { background: var(--sky); padding-top: var(--s9); }
.clearing__grid { display: grid; gap: var(--s7); align-items: center; }
.clearing__copy { display: grid; gap: var(--s5); max-width: 60ch; }
.clearing__title { font-size: var(--fs-h2); max-width: 16ch; }
.clearing__quote {
  border-left: 4px solid var(--canopy); padding-left: var(--s5);
  font-size: var(--fs-lead); font-style: italic; font-weight: 500;
}
.clearing__quote footer { margin-top: var(--s2); font-size: var(--fs-sm); font-style: normal; font-weight: 600; color: var(--muted); }

.clearing__stump-mask { overflow: hidden; border-radius: var(--radius); }
.clearing__stump img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.clearing__stump figcaption, .clearing__band figcaption { margin-top: var(--s3); font-weight: 700; }

.clearing__services { margin-top: var(--s8); padding-top: var(--s6); border-top: 2px solid var(--canopy); }
.clearing__services-title { font-size: var(--fs-h3); }
.clearing__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0 var(--s6); margin-top: var(--s4);
}
.clearing__list li {
  display: flex; align-items: center; gap: var(--s3);
  padding-block: var(--s3); border-bottom: 1px solid var(--line); font-weight: 600;
}
.clearing__list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--canopy); }

.clearing__band { margin-top: var(--s9); padding-bottom: var(--s9); }
.clearing__band-mask { overflow: hidden; border-radius: var(--radius); height: clamp(260px, 58vw, 640px); }
.clearing__band-img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 60%; }

@media (min-width: 960px) {
  .clearing__grid { grid-template-columns: 1fr 1.05fr; gap: var(--s8); }
}

/* HomeReviews: one review as the headline, three review quotes in a row. */
.reviews { padding-block: var(--s9); }
.reviews__head { display: grid; gap: var(--s4); max-width: 900px; }
.reviews__title { font-size: var(--fs-h2); }
.reviews__by { color: var(--muted); font-weight: 600; }

.reviews__list { display: grid; gap: var(--s6); margin-top: var(--s8); }
.review { display: grid; gap: var(--s4); align-content: start; padding-top: var(--s5); border-top: 3px solid var(--canopy); }
.review__quote { font-size: var(--fs-lead); line-height: 1.5; }
.review__name { font-weight: 700; }

.reviews__more { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); margin-top: var(--s8); color: var(--muted); }
.reviews__more a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 900px) {
  .reviews__list { grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
}

/* HomeContact: big phone number and details on canopy green, climber photo beside. */
.contact { padding-block: var(--s9); }
.contact__grid { display: grid; gap: var(--s8); align-items: center; }
.contact__copy { display: grid; gap: var(--s5); }
.contact__title { font-size: var(--fs-h2); max-width: 14ch; }
.contact__phone {
  justify-self: start;
  font-size: clamp(2rem, 1.2rem + 4vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  white-space: nowrap; text-decoration: none; color: var(--hivis) !important;
  background: linear-gradient(var(--hivis), var(--hivis)) 0 100% / 100% 3px no-repeat;
  padding-bottom: var(--s1);
}
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.contact__details { display: grid; gap: var(--s4); margin-top: var(--s4); }
.contact__details div { display: grid; gap: var(--s1); padding-top: var(--s4); border-top: 1px solid rgba(238, 244, 239, 0.2); }
.contact__details dt { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact__details dd { margin: 0; }
.contact__details a { overflow-wrap: anywhere; }

.contact__photo { justify-self: center; width: 100%; max-width: 520px; }
.contact__mask { overflow: hidden; border-radius: var(--radius); }
.contact__mask img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.contact__photo figcaption { margin-top: var(--s4); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; }
.contact__photo figcaption span { display: block; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--on-dark-muted); }

@media (min-width: 960px) {
  .contact__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s9); }
  .contact__details { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
}

/* HomeFooter: dark ink footer under the canopy contact section. */
.site-footer { --focus: var(--hivis); background: var(--ink); color: var(--on-dark); padding-block: var(--s8) var(--s6); }
.site-footer a { color: var(--on-dark); }
.site-footer__grid { display: grid; gap: var(--s5); }
.site-footer__name { font-weight: 800; font-size: var(--fs-h3); letter-spacing: -0.02em; }
.site-footer__slogan { color: var(--on-dark-muted); }
.site-footer__contact { line-height: 1.8; }
.site-footer__notice {
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid rgba(238, 244, 239, 0.2);
  font-size: var(--fs-sm); color: var(--on-dark-muted);
}
.site-footer__notice a { font-weight: 700; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr auto; align-items: end; }
  .site-footer__contact { text-align: right; }
}
