/* J.H. Gelbloom Surveying. Leaf green with the logo's copper; Prata over Manrope. */

:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(24% 0.052 158); --color-paper-2: oklch(19.5% 0.045 158); --color-paper-3: oklch(29.5% 0.05 158);
  --color-ink: oklch(93% 0.022 88); --color-ink-2: oklch(81% 0.035 150); --color-muted: oklch(69% 0.045 150);
  --color-rule: oklch(35% 0.05 158);
  --color-accent: oklch(87% 0.19 118); --color-accent-2: oklch(92% 0.13 118); --color-accent-deep: oklch(46% 0.12 128); --color-accent-ink: oklch(22% 0.05 158); --color-focus: oklch(92% 0.13 118);
  --font-display: "Prata", Georgia, serif; --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.005em; --display-weight: 400;
}

/* JHG: the one accent is the logo's own copper, lifted so it reads on leaf green; chartreuse is set aside. */
:root {
  --color-accent: oklch(74% 0.135 55);
  --color-accent-2: oklch(80% 0.12 60);
  --color-accent-deep: oklch(44% 0.115 52);
  --color-accent-ink: oklch(20% 0.05 158);
  --color-focus: oklch(80% 0.15 55);
  --color-cream-muted: oklch(46% 0.04 158);
  --color-scrim: oklch(14% 0.04 158);
  /* The hero wash: the page's green at three strengths over the photograph. */
  --hero-clear: oklch(24% 0.052 158 / 0); --hero-wash: oklch(24% 0.052 158 / 0.82); --hero-shade: oklch(19.5% 0.045 158 / 0.62);
  --banner-height: 136px; --nav-height: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%; }

html { scroll-padding-top: calc(var(--nav-height) + var(--space-lg)); }
body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); font-synthesis: none; }
h1, h2, h3 { color: var(--color-ink); font-weight: 400; line-height: 1.08; }
h1 { max-width: 24ch; font-size: var(--text-display-s); }
h2 { max-width: 22ch; }
h3 { font-size: var(--text-title); line-height: 1.2; }
.lead { color: var(--color-ink); max-width: 44ch; }
a { text-decoration-color: var(--color-accent); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { color: var(--color-ink); text-decoration-thickness: 2px; }
strong { font-weight: 500; color: var(--color-ink); }
ul, ol { margin: 0; padding: 0; }
.small { font-size: var(--text-sm); }
.muted { color: var(--color-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* Controls, eight states: a copper pill beside a pill outlined in copper. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-accent); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 700 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); color: var(--color-accent-ink); }
.btn--small { min-height: 40px; padding: 0 var(--space-md); }

/* Header: the logo on cream, since its black type needs a light ground, over the bar that stays. */
.banner { background: var(--color-ink); color: var(--color-paper); --color-focus: var(--color-accent-deep); }
.banner .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--banner-height); }
.logo { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.logo img { display: block; height: 104px; width: auto; }
.banner__office { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-3xs); text-align: right; }
.banner__office a { font-size: var(--text-lg); font-weight: 500; color: var(--color-paper); text-decoration-color: var(--color-accent-deep); }
.banner__office a:hover { color: var(--color-paper); }
.banner__office span { font-size: var(--text-sm); color: var(--color-cream-muted); }
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.nav { display: flex; align-items: center; gap: var(--space-xl); width: 100%; }
.nav > ul { display: flex; gap: var(--space-xl); list-style: none; }
.nav a:not(.btn) { display: inline-block; padding-block: var(--space-xs); font-weight: 500; color: var(--color-ink); text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--color-accent); }
.nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--color-ink); }
.nav > .btn { margin-left: auto; }
.menu { display: none; }

/* Hero: the wash. The photograph is knocked back to a leaf-green duotone and handed off into the page's own green on the right and at the base, where the firm's line sits. The surveyor stays clear on the left, looking in toward the words. */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(560px, calc(100dvh - var(--banner-height) - var(--nav-height)), 860px); border-bottom: 3px solid var(--color-accent); background: var(--color-paper); color: var(--color-ink-2); }
.hero__field { position: absolute; inset: 0; z-index: 0; margin: 0; background: var(--color-paper); color: var(--color-ink-2); }
.hero__field > img { object-position: 42% 38%; filter: grayscale(1) contrast(1.12) brightness(0.96); mix-blend-mode: luminosity; opacity: 0.72; }
.hero__field::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--color-accent-deep); mix-blend-mode: soft-light; opacity: 0.55; }
.hero__field::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(100deg, var(--hero-clear) 0%, var(--hero-clear) 34%, var(--hero-wash) 60%, var(--color-paper) 78%), linear-gradient(180deg, var(--hero-shade) 0%, var(--hero-clear) 22%, var(--hero-clear) 58%, var(--color-paper) 100%); }
.hero__base { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); padding-block: var(--space-2xl); }
.hero__copy { grid-column: 2; display: grid; gap: var(--space-lg); max-width: 640px; }
.hero__copy h1 { max-width: 16ch; }
.hero__copy .lead { max-width: 38ch; }
.hero__copy .actions { margin-top: var(--space-xs); }

/* Sections */
.section { padding-block: var(--section-gap); }
.section--tall { padding-top: var(--section-gap-l); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.band { background: var(--color-paper-2); color: var(--color-ink-2); padding-block: var(--section-gap-s); }
.band--cream { background: var(--color-ink); color: var(--color-paper); --color-rule: color-mix(in oklab, var(--color-paper) 22%, var(--color-ink)); --color-focus: var(--color-accent-deep); }
.band--cream h2, .band--cream h3, .band--cream .lead, .band--cream strong { color: var(--color-paper); }
.band--cream .muted { color: var(--color-cream-muted); }
.band--cream a { color: var(--color-paper); text-decoration-color: var(--color-accent-deep); }
.band--cream a:hover { color: var(--color-paper); }

/* Who is asking: three ruled rows, the audience set large, its services beside it. */
.who { list-style: none; border-top: 1.5px solid var(--color-accent); }
.who > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.who h3 { font-size: var(--text-3xl); line-height: 1.1; }
.who__to { display: grid; gap: var(--space-md); max-width: 52ch; }
.who__to p { font-size: var(--text-lg); color: var(--color-ink); }

/* Every service, on cream, in three columns. */
.index { columns: 3; column-gap: var(--gap-columns); list-style: none; border-top: 1.5px solid var(--color-accent-deep); }
.index > li { break-inside: avoid; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.index > li > a, .index > li > span { display: block; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; text-decoration: none; }
.index > li > a:hover { text-decoration: underline; }
.index > li > small { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-cream-muted); }
.band--cream .lead { max-width: 40ch; }
.split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }

/* Who they are: the motto at display size beside the firm's own paragraph. */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.motto { font-family: var(--font-display); font-size: var(--text-display); line-height: 1.02; color: var(--color-ink); max-width: 11ch; text-wrap: balance; }
.motto cite { display: block; margin-top: var(--space-lg); font: 500 var(--text-sm)/1.4 var(--font-body); font-style: normal; color: var(--color-muted); }
.about__copy { display: grid; gap: var(--space-lg); }
.about__copy h2 { margin-bottom: var(--space-xs); }
.about__copy p { font-size: var(--text-lg); line-height: 1.55; }

/* Where: the towns as rows beside the escarpment. */
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.where__text { display: grid; gap: var(--space-xl); }
.towns { list-style: none; border-top: 1.5px solid var(--color-accent); }
.towns > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.towns b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); color: var(--color-ink); }
.towns span { font-size: var(--text-md); color: var(--color-muted); }
.photo { margin: 0; aspect-ratio: 4 / 3; min-height: 440px; }
.photo > img { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); max-width: 60ch; }
figure.where__photo { margin: 0; }

/* The quote: facts on the left, the form on the right. */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.quote__text { display: grid; gap: var(--space-xl); }
.facts { display: grid; gap: var(--space-xs); list-style: none; }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: 0 0 var(--space-sm); font-size: var(--text-lg); color: var(--color-ink); }
.facts dd a { text-decoration-color: var(--color-accent); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); padding: var(--space-xl); background: var(--color-paper-2); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.field label small { font-weight: 400; color: var(--color-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: border-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 140px; padding-block: var(--space-sm); resize: vertical; }
.field input[type="file"] { padding-block: var(--space-sm); line-height: 1.4; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); border-color: var(--color-muted); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.form__foot { grid-column: 1 / -1; display: grid; gap: var(--space-sm); }
.form__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.form__help[data-state="error"] { color: var(--color-error); }

/* Footer: a colophon block. */
.foot { background: var(--color-paper-2); border-top: 1px solid var(--color-rule); padding-block: var(--section-gap-s); }
.colophon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.colophon__firm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.colophon__firm img { width: 44px; height: auto; }
.colophon__firm p { max-width: 48ch; }
.colophon__links { display: grid; gap: var(--space-xs); list-style: none; justify-self: end; text-align: right; }
.colophon__links a { text-decoration: none; }
.colophon__links a:hover { text-decoration: underline; }
.credits { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); display: grid; gap: var(--space-xs); }
.credits p { max-width: none; }

/* A way past the nav */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }

/* Service page */
.service { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.service__copy { display: grid; gap: var(--space-lg); }
.service__copy p { font-size: var(--text-lg); line-height: 1.6; max-width: 58ch; }
.service__aside { display: grid; gap: var(--space-xl); }
.service__aside h3 { font-size: var(--text-xl); }
.related { list-style: none; border-top: 1.5px solid var(--color-accent); }
.related > li { padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.related a { display: block; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; color: var(--color-ink); text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related small { display: block; margin-top: var(--space-3xs); font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); }
.ask { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.ask h2 { max-width: 16ch; }
.ask .actions { justify-self: end; }
.band--cream .btn:not(.btn--primary) { border-color: var(--color-accent-deep); color: var(--color-paper); }
.band--cream .btn:not(.btn--primary):hover { background: color-mix(in oklab, var(--color-accent-deep) 14%, transparent); color: var(--color-paper); }
.hero--service { min-height: clamp(440px, 56dvh, 620px); }

@media (prefers-reduced-motion: reduce) {
  .btn, a, .field input, .field select, .field textarea { transition: none; }
}

/* 1024 */
@media (max-width: 72rem) {
  .hero__base { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero__field::after { background: linear-gradient(100deg, var(--hero-clear) 0%, var(--hero-clear) 26%, var(--hero-wash) 52%, var(--color-paper) 74%), linear-gradient(180deg, var(--hero-shade) 0%, var(--hero-clear) 22%, var(--hero-clear) 58%, var(--color-paper) 100%); }
  .about { gap: var(--space-2xl); }
  .where, .quote { gap: var(--space-2xl); }
  .index { columns: 2; }
  .nav > ul { gap: var(--space-lg); }
  .motto { font-size: var(--text-display-s); }
}

/* Phone and small tablet */
@media (max-width: 60rem) {
  :root { --banner-height: 72px; --nav-height: 56px; }
  .banner .container { min-height: auto; padding-block: var(--space-sm); }
  .logo { width: min(340px, 100%); }
  .logo img { height: auto; width: 100%; }
  .banner__office { display: none; }
  .nav > ul, .nav > .btn { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 1.5px solid var(--color-accent); border-radius: var(--radius-pill); color: var(--color-ink); font-size: var(--text-sm); font-weight: 700; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
  .menu[open] summary { background: var(--color-paper-3); }
  .menu__list { position: fixed; left: var(--space-sm); right: var(--space-sm); top: calc(var(--nav-height) + var(--space-xs)); z-index: var(--z-dropdown); display: grid; gap: var(--space-3xs); padding: var(--space-sm); background: var(--color-paper-2); border: 1px solid var(--color-rule); list-style: none; }
  .menu__list a { display: block; padding: var(--space-sm) var(--space-md); text-decoration: none; font-weight: 500; color: var(--color-ink); }
  .menu__list a:hover { background: var(--color-paper-3); }
  .menu__list a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
  .menu__list .btn { margin-top: var(--space-xs); justify-content: center; }
  .menu:not([open]) .menu__list { display: none; }
  .bar__quote { display: inline-flex; }
  .hero { min-height: 0; }
  .hero__field > img { object-position: 38% 30%; }
  .hero__field::after { background: linear-gradient(180deg, var(--hero-shade) 0%, var(--hero-clear) 14%, var(--hero-clear) 30%, var(--color-paper) 54%); }
  .hero__base { grid-template-columns: minmax(0, 1fr); padding-top: min(50dvh, 400px); padding-bottom: var(--space-xl); }
  .hero__copy { grid-column: 1; max-width: none; }
  .hero--service .hero__base { padding-top: min(36dvh, 280px); }
  .who > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-lg); }
  .who h3 { font-size: var(--text-2xl); }
  .index { columns: 1; }
  .split-head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--space-xl); }
  .about, .where, .quote, .colophon, .service, .ask { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .motto { font-size: var(--text-display-s); max-width: 14ch; }
  .photo { min-height: 0; }
  .form { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); }
  .colophon__links { justify-self: start; text-align: left; }
}

@media (min-width: 60.01rem) { .bar__quote { display: none; } }

@media (max-width: 24rem) {
  .actions .btn { flex: 1 1 100%; }
  .towns > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}

/* After the finish review */
.motto { margin: 0; }
.field input[type="file"]::file-selector-button { margin-right: var(--space-sm); min-height: 36px; padding: 0 var(--space-md); border: 1.5px solid var(--color-accent); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 700 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { background: var(--color-paper-3); }
.hero__field--service > img { object-position: 50% 60%; }
@media (max-width: 60rem) {
  .nav > .bar__quote { display: inline-flex; }
}

/* Photographs fill their frames. */
.hero__field > img, .photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo { position: relative; overflow: hidden; background: var(--color-paper-2); }
.photo > img { filter: saturate(0.9) contrast(1.08) brightness(0.92); }

/* Sections that end on their own content, and the quote's own band. */
.section--flush { padding-bottom: var(--section-gap-s); }
.head--flush { margin-bottom: 0; }
.quote-band { background: var(--color-paper-2); }
.quote-band .form { background: var(--color-paper); }
.quote-band .field input, .quote-band .field select, .quote-band .field textarea { background: var(--color-paper-2); }
.page-top { padding-top: var(--space-3xl); }
.quote__form { display: grid; gap: var(--space-md); }

/* A service's own words. */
.prose { display: grid; gap: var(--space-lg); align-content: start; }
.prose p, .prose li { font-size: var(--text-lg); line-height: 1.6; max-width: 58ch; }
.prose h2 { font-size: var(--text-2xl); max-width: 30ch; margin-top: var(--space-md); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-md); }
.prose h2 + *, .prose h3 + * { margin-top: calc(-1 * var(--space-sm)); }
.prose ul, .prose ol { display: grid; gap: var(--space-xs); padding-left: 1.25em; }
.prose li::marker { color: var(--color-accent); }
.prose blockquote { margin: 0; padding-left: var(--space-lg); border-left: 2px solid var(--color-accent); }
.prose a { color: var(--color-ink); }
.aside-head { font-size: var(--text-xl); margin-bottom: var(--space-md); }
.for { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; }
.for a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); text-decoration: none; }
.for a:hover { border-color: var(--color-accent); }

/* The services page: one group per kind of client. */
.group + .group { padding-top: 0; }
.group__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.related--wide a { font-size: var(--text-xl); }
.related--wide > li { padding-block: var(--space-md); }
.related--wide small { font-size: var(--text-md); max-width: 60ch; }

/* The form's messages and files, drawn by Gradient's form script too. */
.form__status { grid-column: 1 / -1; display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); border-left: 3px solid var(--color-success); background: var(--color-paper-3); color: var(--color-ink); }
.form__status:focus { outline: none; }
.form__status--error, .form [role="alert"] { border-left-color: var(--color-error); }
.form__status ul { padding-left: 1.25em; }
.form__status a { color: var(--color-ink); }
.form--sent { grid-template-columns: minmax(0, 1fr); }
.form--sent .form__status { font-size: var(--text-lg); }
.field__help { font-size: var(--text-sm); color: var(--color-muted); }
.field__error { font-size: var(--text-sm); color: var(--color-error); }
.files { display: grid; gap: var(--space-2xs); list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.files:empty { display: none; }
.files li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.files li[data-cms-failed] { color: var(--color-error); }
.files button { padding: 0; border: 0; background: none; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); cursor: pointer; }
.form__foot .btn { justify-self: start; }

@media (max-width: 60rem) {
  .group__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .page-top { padding-top: var(--space-2xl); }
}
