/* Harbour & Stone Landscaping
   Palette: forest, paper, charcoal, stone. One family (Archivo) used at two widths:
   expanded for display, normal for reading. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1d3a2e;
  --forest-deep: #12261d;
  --forest-soft: #2c4b3d;
  --paper: #ecebe4;
  --paper-2: #e2e0d6;
  --charcoal: #262826;
  --ink-soft: #55584f;
  --stone: #a49a89;
  --stone-light: #cfc8ba;
  --line: rgba(38, 40, 38, 0.16);
  --line-light: rgba(236, 235, 228, 0.22);
  --error: #9b2c1f;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.4rem + 3.2vw, 4.1rem);
  --step-4: clamp(3rem, 1.2rem + 6.6vw, 7.25rem);

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --max: 1360px;
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--forest); color: var(--paper); }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 1px; }
.on-dark :focus-visible, .hero :focus-visible, .quote :focus-visible, .site-footer :focus-visible,
.site-header.is-over-hero :focus-visible, .mobile-menu :focus-visible { outline-color: var(--stone-light); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--forest); color: var(--paper); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  background: var(--forest); color: var(--paper);
  border: 1px solid var(--forest); border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 500; font-stretch: 112%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--charcoal);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-light { background: var(--paper); color: var(--forest-deep); border-color: var(--paper); }
.btn-light::before { background: var(--stone-light); }
.btn-small { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.btn-link:hover { text-decoration-thickness: 2px; }
.btn-link-light { color: var(--paper); }

.photo-credit { font-size: .75rem; line-height: 1.4; color: var(--ink-soft); }
.photo-credit a { color: inherit; }
.note { margin-top: 2rem; font-size: var(--step--1); color: var(--ink-soft); }
.placeholder-note, .placeholder-tag { font-size: .8125rem; color: var(--stone-light); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--charcoal);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.site-header.is-over-hero { color: var(--paper); }
.site-header.is-solid { background: rgba(236,235,228,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; flex-shrink: 0; }
.logo-mark { width: 2.1rem; height: 2.1rem; fill: currentColor; }
.logo-mark rect:nth-child(2) { fill: var(--stone); }
.logo-word { display: flex; flex-direction: column; font-stretch: var(--wide); font-weight: 600; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.01em; }
.logo-word small { font-size: .7rem; font-weight: 400; font-stretch: 112%; letter-spacing: .06em; opacity: .75; margin-top: .2rem; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.9rem; }
.nav a { text-decoration: none; font-size: .9375rem; position: relative; padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 1.2rem; }
.header-phone { font-size: .9375rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.header-phone:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-header.is-over-hero .btn-small { background: var(--paper); color: var(--forest-deep); border-color: var(--paper); }
.site-header.is-over-hero .btn-small::before { background: var(--stone-light); }

.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; position: relative; z-index: 60; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; position: absolute; left: .55rem; right: .55rem; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-lines { top: 50%; }
.menu-lines::before { content: ""; left: 0; right: 0; top: -6px; }
.menu-lines::after { content: ""; left: 0; right: 0; top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--forest-deep); color: var(--paper);
  padding: 7rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: .3rem; }
.mobile-menu a { text-decoration: none; font-size: clamp(1.9rem, 8vw, 2.8rem); font-stretch: var(--wide); font-weight: 350; letter-spacing: -.02em; line-height: 1.25; }
.mobile-call { font-size: 1.1rem !important; font-stretch: 100% !important; }
.mobile-call span { opacity: .6; font-size: .85rem; }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: var(--paper); display: flex; align-items: flex-end; overflow: hidden; background: var(--forest-deep); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 70%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(18,38,29,.55) 0%, rgba(18,38,29,0) 26%),
  linear-gradient(0deg, rgba(18,38,29,.88) 0%, rgba(18,38,29,.45) 38%, rgba(18,38,29,0) 70%); }
.hero-courses { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; }
.hero-courses span { display: block; background: var(--forest-deep); margin-block: -1px; }
.hero-courses span:nth-child(even) { background: var(--forest); }
.hero-content { position: relative; z-index: 4; padding-bottom: clamp(2.5rem, 2rem + 4vw, 5.5rem); padding-top: 8rem; }
.hero-title {
  font-size: var(--step-4); font-stretch: var(--wide); font-weight: 350;
  line-height: .95; letter-spacing: -.035em; max-width: 11ch;
  text-wrap: balance;
}
.hero-title .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-bottom { margin-top: clamp(1.75rem, 1rem + 2.5vw, 3rem); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; }
.hero-lede { max-width: 34rem; font-size: var(--step-1); line-height: 1.45; color: rgba(236,235,228,.9); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero-credit { position: absolute; z-index: 4; right: var(--gutter); top: 6rem; color: rgba(236,235,228,.62); writing-mode: vertical-rl; transform: rotate(180deg); font-size: .6875rem; }

/* ---------- Intro ---------- */
.intro { padding-block: var(--section); }
.intro-statement {
  font-size: var(--step-2); font-stretch: 108%; font-weight: 380;
  line-height: 1.28; letter-spacing: -.015em; max-width: 30em;
}
.intro-statement .w { display: inline-block; }
.intro-meta { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.intro-meta p { padding: 1.2rem 1.5rem 0 0; font-size: .9375rem; color: var(--ink-soft); }
.intro-meta p + p { padding-left: 1.5rem; border-left: 1px solid var(--line); }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head h2, .projects-head h2, .about h2, .faq h2, .quote h2 {
  font-size: var(--step-3); font-stretch: var(--wide); font-weight: 350; line-height: 1; letter-spacing: -.03em; text-wrap: balance;
}
.section-head p { max-width: 32rem; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { padding-bottom: var(--section); position: relative; }
.service-list { counter-reset: none; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem 4rem;
  padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem) 0; border-bottom: 1px solid var(--line);
  position: relative; cursor: default;
}
.service h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; transition: transform .6s var(--ease), color .4s; }
.service p { color: var(--ink-soft); max-width: 34rem; align-self: center; }
.service-img { display: none; }
.service:hover h3 { transform: translateX(.6rem); color: var(--forest); }
.service-preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: min(26vw, 380px); aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; border-radius: var(--radius);
  opacity: 0; visibility: hidden;
}
.service-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Projects ---------- */
.projects { background: var(--forest-deep); color: var(--paper); overflow: hidden; }
.projects-pin { padding-block: var(--section); }
.projects-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.projects-head p { color: rgba(236,235,228,.75); max-width: 32rem; }
.projects-track { display: flex; gap: clamp(1rem, .5rem + 1.5vw, 2rem); padding-inline: var(--gutter); width: max-content; }
.project { margin: 0; width: clamp(17rem, 12rem + 26vw, 34rem); flex-shrink: 0; }
.project:nth-child(even) { margin-top: clamp(2rem, 1rem + 4vw, 6rem); }
.project-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest); border-radius: var(--radius); }
.project:nth-child(3n+1) .project-img { aspect-ratio: 5 / 4; }
.project-img img { width: 100%; height: 115%; object-fit: cover; }
.project figcaption { margin-top: 1rem; display: grid; gap: .2rem; }
.project figcaption strong { font-weight: 500; font-stretch: 112%; }
.project figcaption span { font-size: .8125rem; color: rgba(236,235,228,.6); }
.project figcaption a { color: inherit; }

/* ---------- Process (sticky scroll story) ---------- */
.process { padding-block: var(--section); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.process-visual { position: sticky; top: 13vh; }
.process-frame { position: relative; aspect-ratio: 4 / 5; max-height: 74vh; max-width: calc(74vh * 0.8); margin-inline: auto; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.process-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.process-img.is-active { clip-path: inset(0 0 0 0); }
.process-img.is-past { clip-path: inset(0 0 0 0); }
.steps { border-top: 1px solid var(--charcoal); }
.step { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 2rem 0; min-height: 62vh; align-content: center; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 0; }
.has-motion .step:not(.is-active) { opacity: .32; }
.step-num { font-size: var(--step-3); font-stretch: var(--wide); font-weight: 300; line-height: 1; color: var(--stone); font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .8rem; }
.step p { color: var(--ink-soft); max-width: 28rem; }
.step .photo-credit { margin-top: 1rem; font-size: .75rem; }
.step-img { display: none; }

/* ---------- About ---------- */
.about { padding-bottom: var(--section); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.about-img { position: relative; }
.about-frame { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--paper-2); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img .photo-credit { margin-top: .6rem; }
.about-copy { display: grid; gap: 1.3rem; justify-items: start; max-width: 36rem; }
.about-copy h2 { margin-bottom: .6rem; }
.about-lead { font-size: var(--step-1); line-height: 1.45; }
.about-copy p:not(.about-lead) { color: var(--ink-soft); }
.about-copy .btn { margin-top: .8rem; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.faq-intro p { margin-top: 1.4rem; color: var(--ink-soft); max-width: 22rem; }
.faq-intro a { color: var(--forest); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; font-size: var(--step-1); font-weight: 450; letter-spacing: -.01em; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item summary:hover { color: var(--forest); }
.faq-body { overflow: hidden; }
.faq-body p { padding-bottom: 1.5rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Quote ---------- */
.quote { background: var(--forest); color: var(--paper); padding-block: var(--section); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.quote-intro > p { margin-top: 1.4rem; color: rgba(236,235,228,.82); max-width: 26rem; }
.quote-direct { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); display: grid; gap: .35rem; justify-items: start; }
.quote-direct > p:first-child { color: rgba(236,235,228,.7); font-size: .9375rem; }
.quote-phone { font-size: var(--step-2); font-stretch: var(--wide); font-weight: 350; text-decoration: none; letter-spacing: -.02em; }
.quote-email { text-decoration: none; overflow-wrap: anywhere; }
.quote-phone:hover, .quote-email:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.placeholder-note { margin-top: .6rem; }

.quote-form { display: grid; gap: 1.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, .chips legend { font-size: .9375rem; font-weight: 500; }
.optional { font-weight: 400; opacity: .65; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper);
  background: rgba(18,38,29,.45); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: .85rem 1rem; min-height: 3.25rem;
  transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.6rem; }
.field select option { color: var(--charcoal); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236,235,228,.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--paper); background: rgba(18,38,29,.7); }
.field.has-error input, .field.has-error textarea { border-color: #e8a493; }
.field-error { font-size: .875rem; color: #f2b8a8; min-height: 0; }
.field-error:empty { display: none; }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips legend { margin-bottom: .7rem; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: .55rem .95rem; border: 1px solid var(--line-light); border-radius: 999px; font-size: .9375rem; transition: background-color .3s, color .3s, border-color .3s; }
.chip input:hover + span { border-color: rgba(236,235,228,.55); }
.chip input:checked + span { background: var(--paper); color: var(--forest-deep); border-color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--stone-light); outline-offset: 2px; }
.chips .field-error { width: 100%; }

.check { display: flex; gap: .8rem; align-items: flex-start; font-weight: 400 !important; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.check input { flex-shrink: 0; width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--paper); }
.check a { color: var(--paper); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.btn-submit { background: var(--paper); color: var(--forest-deep); border-color: var(--paper); min-width: 12rem; }
.btn-submit::before { background: var(--stone-light); }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { font-size: .9375rem; max-width: 30rem; }
.form-status.is-error { color: #f2b8a8; }
.form-success { padding: 2rem; border: 1px solid var(--line-light); border-radius: var(--radius); display: grid; gap: .8rem; }
.form-success h3 { font-size: var(--step-2); font-stretch: var(--wide); font-weight: 350; letter-spacing: -.02em; }
.form-success p { color: rgba(236,235,228,.82); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--paper); padding-top: clamp(4rem, 3rem + 3vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.4fr; gap: 2.5rem 3rem; padding-bottom: 3.5rem; }
.footer-brand p { margin-top: 1.2rem; color: rgba(236,235,228,.7); max-width: 18rem; }
.logo-light .logo-mark rect:nth-child(2) { fill: var(--stone); }
.footer-col h2 { font-size: .9375rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .5rem; }
.footer-col li, .footer-col p { font-size: .9375rem; color: rgba(236,235,228,.75); }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-col .placeholder-tag { margin-bottom: .7rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 2rem; border-top: 1px solid var(--line-light); font-size: .8125rem; color: rgba(236,235,228,.6); }

/* ---------- Simple pages ---------- */
.page { padding: 9rem 0 var(--section); }
.page h1 { font-size: var(--step-3); font-stretch: var(--wide); font-weight: 350; letter-spacing: -.03em; line-height: 1; margin-bottom: 2rem; }
.prose { max-width: 42rem; display: grid; gap: 1.1rem; }
.prose h2 { font-size: var(--step-1); font-weight: 600; margin-top: 1.2rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .4rem; }
.page .site-header { color: var(--charcoal); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section-head, .projects-head, .faq-grid, .quote-grid, .about-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .service-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); order: -1; margin-bottom: .4rem; }
  .service:hover h3 { transform: none; }
  .service-preview { display: none; }
  .intro-meta { grid-template-columns: 1fr; }
  .intro-meta p, .intro-meta p + p { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .projects-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 1rem; scrollbar-width: thin; }
  .project { scroll-snap-align: start; width: min(78vw, 24rem); }
  .project:nth-child(even) { margin-top: 0; }
  .about-frame { aspect-ratio: 16 / 11; }
  .hero-credit { writing-mode: horizontal-tb; transform: none; top: auto; bottom: .6rem; right: var(--gutter); left: var(--gutter); text-align: right; font-size: .625rem; }
  .hero-content { padding-bottom: 3.5rem; }
}
@media (max-width: 560px) {
  .header-cta .btn-small { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-courses { display: none; }
}

/* Simple pages: solid header from the start */
.page-simple .site-header { background: rgba(236,235,228,.96); box-shadow: 0 1px 0 var(--line); }
.page-simple .menu-toggle { display: none !important; }
.page-simple .nav { display: block; }
@media (max-width: 1080px) { .page-simple .nav { display: none; } }

/* Desktop pinned gallery: size cards from viewport height so the whole row fits on screen */
@media (min-width: 821px) {
  .projects-pin { padding-block: clamp(4rem, 9vh, 7rem); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .projects-head { margin-bottom: clamp(1.5rem, 4vh, 3rem); }
  .project { width: auto; }
  .project-img { height: 48vh; width: auto; aspect-ratio: 4 / 5; }
  .project:nth-child(3n+1) .project-img { aspect-ratio: 5 / 4; }
  .project:nth-child(even) { margin-top: 5vh; }
}

/* Process on smaller screens: no sticky frame, image sits inside each step */
@media (max-width: 820px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-visual { display: none; }
  .step { min-height: 0; grid-template-columns: 3rem minmax(0, 1fr); padding: 1.8rem 0; }
  .has-motion .step:not(.is-active) { opacity: 1; }
  .step-img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); margin-top: 1.2rem; }
}

/* WebGL ripple layer over the hero photo */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 70%; pointer-events: none; }

/* Footer wordmark */
.footer-mark { overflow: hidden; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.footer-mark span { display: block; white-space: nowrap; font-size: clamp(2.6rem, 9.6vw, 9.4rem); font-stretch: var(--wide); font-weight: 300; letter-spacing: -.045em; line-height: .82; color: var(--forest-soft); padding-bottom: .12em; }

/* Browser surfaces themed from the palette */
html { scrollbar-color: var(--forest-soft) var(--paper-2); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--forest-soft); border-radius: 6px; border: 3px solid var(--paper-2); }
.projects-track::-webkit-scrollbar-track { background: var(--forest-deep); }
.projects-track::-webkit-scrollbar-thumb { border-color: var(--forest-deep); background: var(--stone); }
.projects-track { scrollbar-color: var(--stone) var(--forest-deep); }
input, textarea { caret-color: var(--stone-light); }
.field select:focus-visible, .field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgba(207,200,186,.25); }
.btn { will-change: transform; }
