/* ==========================================================================
   Joseph Maron, LPC — "A gentle descent"
   One system: colors from the logo, two typefaces, one spacing scale,
   one button. Everything else is the photographs.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL OFL) ------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Figtree";
  font-style: italic; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2-variations");
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* exact logo colors (sRGB) */
  --paper: #f7f3eb;        /* logo background */
  --ink: #30312b;          /* wordmark */
  --greige: #d1beae;       /* top stone */
  --terracotta: #af7254;   /* middle stone */
  --sage: #86867b;         /* bottom stone */
  /* the stones' shadow tones, for text and buttons that need contrast */
  --terracotta-deep: #8f5538;
  --sage-deep: #5f635a;
  --ink-soft: #4f5049;
  /* the world between the photos */
  --sky: #c9d8e6;
  --sky-haze: #dde4e6;
  --sage-haze: #e6e8dd;
  --clay-paper: #f1e6db;   /* paper warmed toward the clay stone */
  --clay-deeper: #ead9c9;

  /* type: two faces, six sizes */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-display: clamp(3.25rem, 2.1rem + 4.6vw, 6rem);
  --t-h2: clamp(2.375rem, 1.8rem + 2.3vw, 3.75rem);
  --t-h3: clamp(1.625rem, 1.45rem + 0.7vw, 2rem);
  --t-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;

  /* one spacing scale */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;

  --measure: 62ch;
  --radius: 1.75rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  --header-h: 4.5rem;
  --panel: rgba(247, 243, 235, 0.9);
}

/* ---- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 60em) { body { font-size: 1.125rem; } }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s-2); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a, button { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }   /* short fades only */
::selection { background: var(--greige); color: var(--ink); }

a { color: inherit; text-decoration-color: var(--terracotta); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: #7a4830; }
:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 0.25rem; }

.skip {
  position: absolute; left: var(--s-2); top: -4rem; z-index: 100;
  padding: var(--s-1) var(--s-2); background: var(--paper); color: var(--ink);
  border-radius: 999px; text-decoration: none;
}
.skip:focus { top: var(--s-2); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- The one button ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.85rem 1.75rem;
  border-radius: 999px; border: 0;
  background: var(--terracotta); color: var(--paper);   /* the logo's middle stone, exactly */
  /* 1.1875rem bold is "large text" in WCAG terms (14pt bold or larger), which lets the cream label pass on the logo terracotta */
  font-weight: 600; font-size: max(var(--t-body), 1.1875rem); line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--terracotta-deep); color: var(--paper); }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1.1875rem; white-space: nowrap; }   /* same floor: the fill is the same color */

/* ---- Header: quiet, along for the whole descent ----------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 243, 235, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(48, 49, 43, 0.08);
}
.site-header__row {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--header-h);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  max-width: 82rem; margin-inline: auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.8rem;
  text-decoration: none; color: var(--ink); min-width: 0;
}
.brand__mark { width: 2rem; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.brand__tag {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.28rem; white-space: nowrap;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.site-nav__list > li { position: relative; }
.site-nav__link, .site-nav__toggle {
  display: inline-block; padding: 0.55rem 0.8rem; border-radius: 999px;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  font-size: var(--t-small); font-weight: 500; color: var(--ink);
}
.site-nav__link:hover, .site-nav__toggle:hover { background: rgba(48, 49, 43, 0.06); color: var(--ink); }
.site-nav__toggle[aria-expanded="true"] { background: rgba(48, 49, 43, 0.08); }
.site-nav__link[aria-current="page"], .submenu a[aria-current="page"] { font-weight: 600; background: rgba(48, 49, 43, 0.06); }   /* you are here */
.site-nav__toggle .chev { display: inline-block; width: 0.55em; height: 0.55em; margin-left: 0.4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-0.2em) rotate(45deg); }
.submenu {
  position: absolute; top: calc(100% + 0.4rem); left: 0; z-index: 60;
  min-width: 17rem; padding: 0.5rem; margin: 0; list-style: none;
  background: var(--paper); border: 1px solid rgba(48, 49, 43, 0.1); border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(48, 49, 43, 0.08);
}
.submenu[hidden] { display: none; }
.submenu a { display: block; padding: 0.55rem 0.8rem; border-radius: 0.6rem; text-decoration: none; font-size: var(--t-small); }
.submenu a:hover { background: rgba(48, 49, 43, 0.06); color: var(--ink); }
.menu-btn { display: none; }

@media (max-width: 64em) {
  .site-nav__list { display: none; }
  .site-nav[data-open="true"] .site-nav__list {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: var(--s-2) var(--gutter) var(--s-4);
    background: var(--paper); border-bottom: 1px solid rgba(48, 49, 43, 0.1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav__link, .site-nav__toggle { display: block; width: 100%; text-align: left; font-size: var(--t-body); padding: 0.75rem 0.5rem; }
  .submenu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0.5rem 1rem; background: transparent; }
  .submenu a { font-size: var(--t-body); }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; order: 2;
    min-height: 2.75rem; min-width: 2.75rem; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid rgba(48, 49, 43, 0.25);
    background: transparent; cursor: pointer; font-size: var(--t-small); font-weight: 500; white-space: nowrap;
  }
  .menu-btn__lines { display: inline-block; width: 1.1rem; height: 0.8rem; position: relative; }
  .menu-btn__lines::before, .menu-btn__lines::after, .menu-btn__lines span {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  }
  .menu-btn__lines::before { top: 0; } .menu-btn__lines span { top: 50%; margin-top: -1px; } .menu-btn__lines::after { bottom: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::before { top: 50%; margin-top: -1px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines::after { bottom: auto; top: 50%; margin-top: -1px; transform: rotate(-45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines span { opacity: 0; }
  .site-nav .btn { order: 1; }
  .brand__tag { display: none; }
}
@media (max-width: 40em) {
  .brand { gap: 0.55rem; }
  .brand__name { font-size: 0.82rem; letter-spacing: 0.09em; }
  .brand__mark { width: 1.6rem; }
  .site-nav { gap: 0.5rem; }
  .site-nav .btn--small { padding-inline: 0.8rem; }
  .menu-btn { padding: 0.5rem 0.7rem; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ---- The descent ------------------------------------------------------- */
/* Each photo is shown at its own proportions, full width, never magnified:
   the box is exactly as tall as the photo. Photos overlap the next scene by a
   fifth of their height and dissolve into each other there; where a scene is
   taller than its photo, the page gradient bridges the gap. */
.descent {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(to bottom,
    var(--sky) 0%, var(--sky) 14%, var(--sky-haze) 30%, var(--sage-haze) 48%,
    #ece9dc 62%, var(--paper) 74%, var(--clay-paper) 88%, var(--clay-paper) 100%);
}
.scene {
  position: relative;
  --ratio: 0.75;                                         /* photo height / width */
  --photo-h: calc(100vw * var(--ratio));
  --overlap: calc(var(--photo-h) * 0.2);
  min-height: calc(var(--photo-h) - var(--overlap));
}
.scene__bg {
  position: absolute; left: 0; right: 0;
  top: var(--photo-top, calc(-1 * var(--overlap)));
  height: var(--photo-h);
  z-index: 0; pointer-events: none; overflow: hidden;
}
.scene__bg img {
  position: absolute; left: 0; top: -2.5rem;
  width: 100%; height: calc(100% + 5rem);              /* room for the drift, never an exposed edge */
  object-fit: cover; object-position: 50% 50%;
  /* the image overhangs its clipped box by 2.5rem each way (room for the drift), so the
     fades start at the clip edge, not at the image edge: no hairline where photos meet */
  -webkit-mask-image: linear-gradient(to bottom, transparent 2.5rem, #000 calc(20% + 2rem), #000 calc(80% - 2rem), transparent calc(100% - 2.5rem));
          mask-image: linear-gradient(to bottom, transparent 2.5rem, #000 calc(20% + 2rem), #000 calc(80% - 2rem), transparent calc(100% - 2.5rem));
}
.scene__bg--top { top: -3rem; }
.scene__bg--top img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(80% - 2rem), transparent calc(100% - 2.5rem));
          mask-image: linear-gradient(to bottom, #000 0, #000 calc(80% - 2rem), transparent calc(100% - 2.5rem));
}
.scene__content {
  position: relative; z-index: 1;
  max-width: 82rem; margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
@media (max-width: 43.75em) {
  .scene { --ratio: 2.1667; }                           /* 9:19.5 slices on phones */
}

/* ---- Words in the sky: centered, floating ----------------------------- */
/* The top band (01-cirrus) is 5:3; the box is 4:3, so cover trims its sides a little. */
.sky-text { text-align: center; max-width: 46rem; margin-inline: auto; }
.sky-text .lead { max-width: 40rem; margin-inline: auto; }
.lead { font-size: var(--t-lead); line-height: 1.5; }
.kicker {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.3;
  color: var(--ink-soft);
}
.scene--sky { --hero-top: 14vw; min-height: calc(var(--hero-top) + var(--photo-h) * 0.82); }
.scene--sky .scene__content { padding-top: calc(var(--hero-top) + 3vw); padding-bottom: 8vw; }
.scene--sky .scene__bg--hero { top: var(--hero-top); bottom: 0; height: auto; }   /* fills to the crisp bottom edge */
.scene--sky .scene__bg--hero img {
  object-position: 50% 0;                                /* crop the forest at the bottom, never the sky */
  -webkit-mask-image: linear-gradient(to bottom, transparent 2.5rem, #000 calc(20% + 2rem));
          mask-image: linear-gradient(to bottom, transparent 2.5rem, #000 calc(20% + 2rem));
}
.hero h1 { margin-top: var(--s-3); }
.hero .lead { margin-top: var(--s-4); }
.hero__actions { margin-top: var(--s-5); display: flex; flex-direction: column; align-items: center; gap: var(--s-2); }
.hero__note { color: var(--ink); font-weight: 600; }   /* this line can land near the tree line: full ink, bolder */
.hero__note a { color: var(--ink); }
.hero .lift {
  display: inline-block; padding: var(--s-4) var(--s-5) var(--s-5);   /* the glow reaches below the openings line */
  border-radius: 50% / 50%;
  background: radial-gradient(closest-side, rgba(247, 243, 235, 0.55), rgba(247, 243, 235, 0));
}
/* narrow desktop windows and tablets: the forest rises close to the words, so the block sits higher (the photo stays put) */
@media (min-width: 43.76em) and (max-width: 64em) {
  .scene--sky .scene__content { padding-top: calc(var(--hero-top) - 1vw); padding-bottom: 12vw; }
  .hero__actions { margin-top: var(--s-4); }
}
@media (max-width: 43.75em) {
  .scene--sky { --hero-top: 34vw; }
  .scene--sky .scene__content { padding-top: calc(var(--hero-top) + 4vw); padding-bottom: 18vw; }
  .hero__actions { margin-top: var(--s-4); }
  .hero .lift { padding: var(--s-4) var(--s-2); }
}


/* ---- Photo blocks: full-bleed, crisp edges, between the solid bands ------- */
.scene--block { --overlap: 0px; min-height: 0; }
.scene--block .scene__bg { top: 0; height: 100%; }
.scene--block .scene__bg img { -webkit-mask-image: none; mask-image: none; }
.scene--valley { min-height: calc(var(--photo-h) * 0.9); }
.scene--valley .scene__content { padding-top: 10vw; padding-bottom: 10vw; }
.scene--forest { min-height: calc(var(--photo-h) * 0.72 + var(--s-8)); background: var(--sage); }   /* + the card's overlap; the trunks dissolve into the sage strip below */
.scene--forest .scene__bg img {
  object-position: 50% 35%;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
}

/* ---- Bands: the logo's stones as flat color, breaking up the descent ------- */
.band { position: relative; z-index: 1; padding-block: clamp(var(--s-6), 8vw, var(--s-8)); }
.band--greige { background: var(--greige); }
.band__inner {
  max-width: 82rem; margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  display: grid; place-items: center;
}
.band .lift { padding: 0; background: none; }

/* ---- Strips: a shorter bar of stone color with a cream card overlapping it -- */
.strip { position: relative; padding-top: var(--s-6); padding-bottom: var(--s-7); }
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(14rem, 42%, 26rem); }
.strip--terracotta::before { background: var(--terracotta); }
.strip--sage::before { background: var(--sage); }
/* after the forest the card rides up into the fade, so photo, sage and card read as one movement */
.scene--forest + .strip--sage { margin-top: calc(-1 * var(--s-8)); padding-top: 0; z-index: 2; }
.scene--forest + .strip--sage::before { top: var(--s-8); height: clamp(14rem, 42%, 26rem); }
.strip__content {
  position: relative; z-index: 1; max-width: 82rem; margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.strip .panel { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(48, 49, 43, 0.08); box-shadow: 0 18px 50px rgba(48, 49, 43, 0.10); }

.welcome { text-align: center; max-width: 44rem; }
/* with the headshot: photo and words side by side on wide screens, stacked and centred on phones */
.welcome--with-photo { max-width: 70rem; width: 100%; display: grid; gap: var(--s-5); align-items: center; justify-items: center; }
.welcome__photo { width: min(19rem, 70vw); }
.welcome__photo .stone { box-shadow: 0 0 0 5px var(--paper), 0 16px 36px rgba(48, 49, 43, 0.14); }   /* a thin cream matte lifts the portrait off the greige */
@media (min-width: 52em) {
  .welcome--with-photo { grid-template-columns: 19rem minmax(0, 1fr); gap: var(--s-7); text-align: left; justify-items: start; }
  .welcome__photo { width: 100%; }
  .welcome--with-photo .lift { max-width: 44rem; }
}
.welcome__who { font-weight: 500; color: var(--ink); line-height: 1.4; }
.welcome__who span { display: block; }
.welcome__line {
  margin-top: var(--s-3);
  font-family: var(--font-display); font-weight: 500;
  font-size: calc(var(--t-h2) * 0.92); line-height: 1.15; text-wrap: balance;
}
.welcome__caps {
  margin-top: var(--s-4);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); letter-spacing: 0.14em;
}
@media (max-width: 43.75em) {
  .scene--valley { min-height: 0; }
  .scene--valley .scene__content { padding-top: 18vw; padding-bottom: 18vw; }
  .scene--forest { min-height: calc(var(--photo-h) * 0.5 + var(--s-8)); }
}

/* ---- Words on the ground: settled, left-aligned, on a soft overlay ----- */
.panel {
  position: relative;
  background: var(--panel);
  -webkit-backdrop-filter: blur(18px) saturate(0.9); backdrop-filter: blur(18px) saturate(0.9);
  border: 1px solid rgba(247, 243, 235, 0.7);
  border-radius: var(--radius);
  padding: clamp(var(--s-4), 5vw, var(--s-7)) clamp(var(--s-3), 5vw, var(--s-7));
}
.panel--narrow { max-width: 50rem; }
.panel--wide { max-width: 64rem; }
@media (min-width: 64em) { .panel--right { margin-left: auto; } }
.label {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3;
  color: var(--ink-soft); margin-bottom: var(--s-2);
}
.label--sage { color: var(--sage-deep); }
.label--clay { color: var(--terracotta-deep); }
.panel h2 + p, .panel h2 + .lead { margin-top: var(--s-3); }
.panel p { max-width: var(--measure); }
.more { margin-top: var(--s-4); font-weight: 500; }
.more a { text-decoration-thickness: 0.1em; }
.more + .more { margin-top: var(--s-2); }
.verification-mark { margin-top: var(--s-3); min-height: 2rem; }   /* Psychology Today's seal script fills the anchor */
.verification-mark .sx-verified-seal { display: inline-block; text-decoration: none; }

.topics { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-5) var(--s-6); }
@media (min-width: 46em) { .topics { grid-template-columns: 1fr 1fr; } }
.topics h3 { margin-bottom: var(--s-1); }
.topics p { max-width: 36ch; }
.topics .more { margin-top: var(--s-2); }
.aside-link { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid rgba(48, 49, 43, 0.12); max-width: var(--measure); }

.about { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 52em) { .about:has(.about__photo) { grid-template-columns: minmax(14rem, 19rem) 1fr; gap: var(--s-7); } }   /* two columns only when a photo is present */
.about__photo { width: min(19rem, 70vw); margin: 0 auto; }
@media (min-width: 52em) { .about__photo { width: 100%; margin: 0; position: sticky; top: calc(var(--header-h) + var(--s-4)); } }
.stone {
  aspect-ratio: 1 / 1.08; overflow: hidden;
  border-radius: 47% 53% 45% 55% / 55% 46% 54% 45%;   /* a river stone */
  background: var(--greige);
}
.stone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.scene--stream { min-height: calc(var(--photo-h) * 0.7); }          /* a wordless pass by the stream, dissolving into the stones */
.scene--crisp-top { --photo-top: 0px; }
.scene--crisp-top .scene__bg img {
  /* no mask: the stones photo (later in the DOM, so painted on top) fades in over this one. Fading both
     left a band where neither photo was solid, which read as a smear on narrow windows */
  -webkit-mask-image: none; mask-image: none;
}
.facts { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 46em) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .facts li { padding-inline: var(--s-4); border-left: 1px solid rgba(48, 49, 43, 0.14); }
  .facts li:first-child { padding-left: 0; border-left: 0; }
  .facts li:last-child { padding-right: 0; }
}
.facts dt { font-weight: 600; color: var(--terracotta-deep); }
.facts dd { margin: 0; }
.facts .facts__value { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--t-h3); line-height: 1.15; margin: var(--s-1) 0; }
.facts .facts__value, .facts p { max-width: 24ch; }

.scene--stones .scene__content { padding-top: 9vw; padding-bottom: 10vw; }
.linklist { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-4); font-weight: 500; }
.linklist a { display: inline-block; padding: 0.55rem 0; }

@media (max-width: 43.75em) {
  .scene--stones .scene__content { padding-top: 18vw; padding-bottom: 18vw; }
  .scene--stream { min-height: calc(var(--photo-h) * 0.5); }
  .strip::before { height: clamp(12rem, 30%, 20rem); }
}

/* ---- The landing: the office ------------------------------------------- */
.scene--office { min-height: 0; background: linear-gradient(to bottom, rgba(241, 230, 219, 0) 0, var(--clay-paper) 18vh, var(--clay-paper) 100%); }
.scene--office .scene__content { padding-top: 6vw; padding-bottom: var(--s-8); }
.office { display: grid; gap: var(--s-6); align-items: center; justify-items: center; text-align: center; }   /* one column until an office photo joins it */
.office__text { max-width: 40rem; }
.office__text .btn { margin-top: var(--s-4); }
.office__phone { margin-top: var(--s-3); }
.office__phone a { white-space: nowrap; font-weight: 500; }

/* ---- Footer: generous, warm ------------------------------------------ */
.site-footer {
  background: var(--clay-deeper); color: var(--ink);
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid rgba(143, 85, 56, 0.16);
}
.site-footer__inner {
  max-width: 82rem; margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  display: grid; gap: var(--s-6);
}
@media (min-width: 56em) { .site-footer__inner { grid-template-columns: minmax(16rem, 22rem) 1fr; gap: var(--s-8); } }
.site-footer__logo { width: min(15rem, 60vw); height: auto; }
.site-footer p { max-width: var(--measure); }
.site-footer__lines { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: #7a4830; }
.site-footer__contact { margin-top: var(--s-3); font-weight: 500; }
.site-footer__contact a { white-space: nowrap; }
.site-footer__nav { display: grid; gap: var(--s-4); }
@media (min-width: 40em) { .site-footer__nav { grid-template-columns: 1fr 1fr; } }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; align-content: start; }
.site-footer__nav li { padding: 0; }
.site-footer__nav li a { display: inline-block; padding: 0.45rem 0; }   /* a comfortable tap target */
.site-footer__nav li a { text-decoration-color: rgba(143, 85, 56, 0.45); }
.site-footer__legal { grid-column: 1 / -1; padding-top: var(--s-4); border-top: 1px solid rgba(143, 85, 56, 0.18); display: grid; gap: var(--s-2); font-size: var(--t-small); }
.site-footer__legal p { max-width: none; }

/* ---- Motion: only the gentle drift of the view, and only if welcome --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, button { transition: none; }
  .scene__bg img { transform: none !important; }
}
