/* ==========================================================================
   Solada Care Group — site stylesheet (V2)
   Layout concept: a quiet ivory "house" of generous margins; photography is
   the room, typography the architecture. Editorial asymmetry, thin rules,
   arch-shaped frames echoing a doorway.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (fixed, from brief) */
  --olive: #34483C;
  --olive-deep: #28382E;
  --sage: #A7B7A1;
  --clay: #C7A98D;
  --sand: #EAE2D6;
  --ivory: #F7F4EE;
  --cream: #FAF8F3;
  --charcoal: #252824;

  /* Derived working tones */
  --ink: #252824;
  --ink-soft: #505650;          /* body secondary, 7:1 on ivory */
  --clay-ink: #8A6A50;          /* clay dark enough for small text on ivory */
  --sage-ink: #5E7163;
  --rule: rgba(37, 40, 36, 0.14);
  --rule-strong: rgba(37, 40, 36, 0.26);
  --rule-light: rgba(247, 244, 238, 0.2);
  --focus: #8A6A50;

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(3rem, 1.6rem + 5.6vw, 6.75rem);
  --fs-h1: clamp(2.75rem, 1.7rem + 4vw, 5.25rem);
  --fs-h2: clamp(2.35rem, 1.6rem + 2.9vw, 4.25rem);
  --fs-h3: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.75rem;

  /* Space & shape */
  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --radius: 16px;
  --radius-sm: 6px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--clay); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  background: var(--olive); color: var(--ivory);
  padding: 12px 18px; border-radius: var(--radius-sm);
  transform: translateY(-160%); transition: transform .3s var(--ease);
  text-decoration: none; font-weight: 600; font-size: var(--fs-small);
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 600px) { .hide-sm { display: none; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Film grain — very light, adds paper warmth to large ivory areas */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-olive { background: var(--olive); color: var(--ivory); }
.bg-charcoal { background: var(--charcoal); color: var(--ivory); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--clay-ink);
  line-height: 1.4;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .bg-olive .eyebrow, .bg-charcoal .eyebrow { color: var(--clay); }
.eyebrow--plain::before { display: none; }

.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.display { font-size: var(--fs-display); line-height: .98; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.accent-italic { color: var(--sage-ink); }
.bg-olive .accent-italic, .on-dark .accent-italic { color: var(--sage); }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.bg-olive .lead, .on-dark .lead { color: rgba(247, 244, 238, .82); }
.body-copy { color: var(--ink-soft); max-width: 36em; }
.body-copy + .body-copy { margin-top: 1.1em; }
.bg-olive .body-copy { color: rgba(247, 244, 238, .8); }
.small { font-size: var(--fs-small); }

.stack > * + * { margin-top: var(--stack, 24px); }
.stack-sm { --stack: 16px; }
.stack-lg { --stack: 36px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  --btn-bg: var(--olive); --btn-fg: var(--ivory); --btn-bd: var(--olive);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 24px 0 26px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease-out), box-shadow .45s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -14px rgba(37,40,36,.45);
}
.btn:hover { --btn-bg: var(--olive-deep); --btn-bd: var(--olive-deep); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn__arrow { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(4px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--olive); --btn-bd: rgba(52,72,60,.55); box-shadow: none; }
.btn--secondary:hover { --btn-bg: rgba(52,72,60,.06); --btn-bd: var(--olive); --btn-fg: var(--olive-deep); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--olive); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: var(--cream); --btn-bd: var(--cream); --btn-fg: var(--olive-deep); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(247,244,238,.55); box-shadow: none; }
.btn--ghost-light:hover { --btn-bg: rgba(247,244,238,.1); --btn-bd: var(--ivory); --btn-fg: var(--ivory); }
.btn--small { min-height: 42px; padding: 0 16px 0 18px; font-size: .875rem; gap: 10px; }
.btn--small .btn__arrow { width: 15px; height: 15px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9375rem; color: var(--olive); text-decoration: none;
  padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.text-link:hover { background-size: 40% 1px; }
.text-link .btn__arrow { width: 16px; height: 16px; }
.text-link:hover .btn__arrow { transform: translateX(4px); }
.bg-olive .text-link, .on-dark .text-link { color: var(--ivory); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .5s var(--ease); }
[data-header="overlay"] .site-header:not(.is-scrolled) { color: var(--ivory); }
.site-header.is-scrolled {
  background: rgba(247, 244, 238, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.is-scrolled .site-header__inner { height: 70px; }
[data-header="solid"] .site-header { background: rgba(247, 244, 238, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo__mark { width: 30px; height: 34px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 1.85rem; letter-spacing: .01em; line-height: .9; }
.logo__sub { font-size: .625rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; opacity: .78; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); align-items: center; }
.nav__link {
  position: relative; text-decoration: none; font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  padding-block: 8px; opacity: .9; transition: opacity .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; font-weight: 600; }

.header-cta { flex: none; }
[data-header="overlay"] .site-header:not(.is-scrolled) .header-cta .btn { --btn-bg: var(--ivory); --btn-fg: var(--olive); --btn-bd: var(--ivory); }
[data-header="overlay"] .site-header:not(.is-scrolled) .header-cta .btn:hover { --btn-bg: var(--cream); }

.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 10px;
  height: 44px; min-width: 44px; padding: 0 4px 0 10px; background: none; border: 0; cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.menu-toggle__lines { position: relative; width: 24px; height: 12px; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines::before { top: 0; width: 24px; }
.menu-toggle__lines::after { top: 10px; width: 16px; right: 0; left: auto; }

@media (max-width: 1080px) {
  .nav, .header-cta--desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta--mobile { display: inline-flex; margin-left: auto; }
}
@media (min-width: 1081px) { .header-cta--mobile { display: none; } }
@media (max-width: 420px) {
  .menu-toggle__label { display: none; }
  .logo__name { font-size: 1.6rem; }
  .logo__mark { width: 26px; height: 30px; }
  .site-header__inner { gap: 14px; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--olive); color: var(--ivory);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 0px) 0 calc(env(safe-area-inset-bottom, 0px) + 28px);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.menu__close { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; height: 44px; cursor: pointer; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); padding: 0 4px; }
.menu__close svg { width: 22px; height: 22px; }
.menu__body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 40px; padding-top: clamp(20px, 6vh, 56px); }
.menu__list { display: grid; gap: 2px; }
.menu__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1.12; text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid var(--rule-light);
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .7s var(--ease-out), color .3s;
}
.menu__link[aria-current="page"] { font-style: italic; color: var(--sage); }
.menu__link span { font-family: var(--sans); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) .menu__link { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(2) .menu__link { transition-delay: .23s; }
.menu.is-open .menu__list li:nth-child(3) .menu__link { transition-delay: .28s; }
.menu.is-open .menu__list li:nth-child(4) .menu__link { transition-delay: .33s; }
.menu.is-open .menu__list li:nth-child(5) .menu__link { transition-delay: .38s; }
.menu.is-open .menu__list li:nth-child(6) .menu__link { transition-delay: .43s; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot p { font-size: var(--fs-small); color: rgba(247,244,238,.72); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Split / editorial layouts
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__content { min-width: 0; }
.split__media { position: relative; min-width: 0; }
.bleed-left { margin-left: calc(var(--gutter) * -1); }
@media (min-width: 1449px) { .bleed-left { margin-left: calc((100vw - var(--max)) / -2); } }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--bleed { border-radius: 0 var(--radius) var(--radius) 0; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }
.caption { margin-top: 14px; font-size: .8125rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.caption::before { content: ""; width: 18px; height: 1px; background: var(--rule-strong); }

.fact-line { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.fact { display: grid; gap: 2px; }
.fact__label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-ink); }
.fact__value { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }

.sprig { position: absolute; width: 120px; height: 120px; color: var(--sage); opacity: .6; pointer-events: none; }

@media (max-width: 900px) {
  .split .ratio-45 { aspect-ratio: 4 / 3; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .bleed-left { margin-left: calc(var(--gutter) * -1); margin-right: 0; }
}

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__intro { color: var(--ink-soft); max-width: 32em; }
.bg-olive .section-head__intro { color: rgba(247,244,238,.8); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Safeguarding & quality (dark olive)
   -------------------------------------------------------------------------- */
.quality { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.quality__intro { position: sticky; top: 120px; display: grid; gap: 28px; }
.quality__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--rule-light); }
.q-item { padding: 26px 0 28px; border-bottom: 1px solid var(--rule-light); display: grid; gap: 8px; align-content: start; }
.q-item__title { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.q-item__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }
.q-item__text { font-size: .9375rem; line-height: 1.6; color: rgba(247,244,238,.76); }
.reg-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px; border: 1px solid var(--rule-light); border-radius: var(--radius); background: rgba(247,244,238,.04); }
.reg-note svg { width: 30px; height: 30px; color: var(--sage); }
.reg-note p { font-size: .9375rem; line-height: 1.6; color: rgba(247,244,238,.84); }
.reg-note strong { color: var(--ivory); font-weight: 600; }
@media (max-width: 960px) { .quality { grid-template-columns: 1fr; } .quality__intro { position: static; } }
@media (max-width: 600px) { .quality__list { grid-template-columns: 1fr; } .q-item { padding: 20px 0 22px; } }

/* --------------------------------------------------------------------------
   Values
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.values__intro { position: sticky; top: 120px; display: grid; gap: 24px; }
.values__list { border-top: 1px solid var(--rule-strong); }
.value {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: baseline;
  padding: 22px 0 24px; border-bottom: 1px solid var(--rule); position: relative;
}
.value__name {
  font-family: var(--serif); font-size: clamp(2.3rem, 1.6rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.01em;
  transition: transform .7s var(--ease-out), color .5s var(--ease);
  display: flex; align-items: center;
}
.value__name::before { content: ""; width: 0; height: 1px; margin-right: 0; background: var(--clay-ink); transition: width .7s var(--ease-out), margin-right .7s var(--ease-out); flex: none; }
.value:hover .value__name { color: var(--olive); font-style: italic; }
.value:hover .value__name::before { width: 34px; margin-right: 16px; }
.value__text { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; }
.value--first .value__name { color: var(--olive); }
@media (max-width: 960px) { .values { grid-template-columns: 1fr; } .values__intro { position: static; } }
@media (max-width: 600px) { .value { grid-template-columns: 1fr; } .value__name { font-size: 2.5rem; } }

/* --------------------------------------------------------------------------
   Careers preview
   -------------------------------------------------------------------------- */
.careers-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.careers-preview__media { position: relative; }
.careers-preview__media .frame { aspect-ratio: 5 / 4; }
.careers-preview__media .frame--inset { position: absolute; width: 38%; aspect-ratio: 3 / 4; right: -6%; bottom: -12%; border: 8px solid var(--cream); border-radius: var(--radius); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--ink); background: transparent; }
@media (max-width: 900px) { .careers-preview { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page hero (secondary pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; color: var(--ivory); background: var(--charcoal); isolation: isolate; overflow: hidden; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroScale 22s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(24,28,24,.9) 0%, rgba(24,28,24,.62) 38%, rgba(24,28,24,.3) 70%, rgba(24,28,24,.42) 100%), linear-gradient(90deg, rgba(24,28,24,.35), rgba(24,28,24,0) 70%); }
.page-hero__content { width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px 64px; align-items: end; }
.page-hero__title { font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -0.012em; animation: fadeUp 1s var(--ease-out) .1s both; }
.page-hero .eyebrow { color: #E2D2C0; animation: fadeUp .9s var(--ease-out) both; }
.page-hero__aside { display: grid; gap: 24px; animation: fadeUp 1s var(--ease-out) .35s both; }
.page-hero__aside p { text-shadow: 0 1px 18px rgba(0,0,0,.35); color: rgba(247,244,238,.9); font-size: var(--fs-lead); line-height: 1.55; }
.page-hero__title em { color: #D9CBB9; }
@media (max-width: 900px) {
  .page-hero { min-height: 0; }
  .page-hero__content { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 160px); }
  .page-hero__aside p { font-size: 1.0625rem; }
}

.page-intro { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); padding-bottom: clamp(48px, 6vw, 80px); }
.page-intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 72px; align-items: end; }
@media (max-width: 900px) { .page-intro__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Generic content components (secondary pages)
   -------------------------------------------------------------------------- */
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); line-height: 1.14; letter-spacing: -0.005em; max-width: 22em; }
.statement em { color: var(--sage-ink); }
.bg-olive .statement em { color: var(--sage); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.mv { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); display: grid; gap: 20px; align-content: start; }
.mv--olive { background: var(--olive); color: var(--ivory); }
.mv--sand { background: var(--sand); }
.mv__quote { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.2; }
.mv--olive .eyebrow { color: var(--clay); }

.feature-list { border-top: 1px solid var(--rule); }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.feature-list li strong { color: var(--ink); font-weight: 600; }
.feature-list svg { width: 20px; height: 20px; color: var(--olive); margin-top: 3px; }
.bg-olive .feature-list, .bg-olive .feature-list li { border-color: var(--rule-light); color: rgba(247,244,238,.82); }
.bg-olive .feature-list li strong { color: var(--ivory); }
.bg-olive .feature-list svg { color: var(--sage); }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.person { display: grid; gap: 20px; align-content: start; }
.person__portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--sand); display: grid; place-items: center; position: relative; overflow: hidden; }
.person__portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(52,72,60,.18); border-radius: 999px 999px 8px 8px; }
.person__mono { font-family: var(--serif); font-size: clamp(4rem, 3rem + 3vw, 6rem); color: var(--olive); line-height: 1; position: relative; }
.person__portrait--olive { background: var(--olive); }
.person__portrait--olive::before { border-color: rgba(247,244,238,.22); }
.person__portrait--olive .person__mono { color: var(--ivory); }
.person__name { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.person__role { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-ink); margin-top: 6px; }
.person__bio { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .people { grid-template-columns: 1fr; gap: 44px; }
  .person { grid-template-columns: 112px 1fr; column-gap: 20px; align-items: start; }
  .person__portrait { aspect-ratio: 1; }
  .person__portrait::before { inset: 8px; }
  .person__mono { font-size: 2.6rem; }
  .person__bio { grid-column: 1 / -1; }
}

/* Alternating feature rows (Our Homes) */
.rows { display: grid; gap: clamp(72px, 10vw, 150px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.row:nth-child(even) .row__media { order: 2; }
.row__media .frame { aspect-ratio: 5 / 4; }
.row__media--tall .frame { aspect-ratio: 4 / 5; max-width: 480px; }
.row__index { font-family: var(--serif); font-style: italic; color: var(--clay-ink); font-size: 1.25rem; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row:nth-child(even) .row__media { order: 0; } .row__media--tall .frame { max-width: none; aspect-ratio: 4 / 3; } }

.number-panel { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(28px, 3vw, 44px); background: var(--olive); color: var(--ivory); border-radius: var(--radius); }
.number-panel__num { font-family: var(--serif); font-size: clamp(5rem, 4rem + 4vw, 8rem); line-height: .8; }
.number-panel p { color: rgba(247,244,238,.84); }
.number-panel strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: var(--ivory); margin-bottom: 8px; }
@media (max-width: 480px) { .number-panel { grid-template-columns: 1fr; } }

/* Home profiles */
.homes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.home-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.home-card__visual { aspect-ratio: 16 / 9; background: var(--sand); position: relative; display: grid; place-items: center; overflow: hidden; }
.home-card__visual svg { width: min(58%, 260px); height: auto; color: var(--olive); opacity: .9; }
.home-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-card__body { padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; }
.home-card__top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.home-card__name { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(199,169,141,.22); color: #6E533E; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay-ink); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.home-card dl { margin: 6px 0 0; display: grid; border-top: 1px solid var(--rule); }
.home-card dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.home-card dt { color: var(--ink-soft); }
.home-card dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .homes-grid { grid-template-columns: 1fr; } }

/* Process detail (For Professionals) */
.process { counter-reset: p; border-top: 1px solid var(--rule-strong); }
.process__item { display: grid; grid-template-columns: 90px minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 40px; padding-block: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--rule); align-items: baseline; transition: background-color .5s var(--ease); }
.process__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--clay-ink); }
.process__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1.12; }
.process__text { color: var(--ink-soft); }
@media (max-width: 820px) { .process__item { grid-template-columns: 56px minmax(0, 1fr); } .process__text { grid-column: 2; } .process__num { font-size: 2rem; } }

.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule-light); border: 1px solid var(--rule-light); border-radius: var(--radius); overflow: hidden; }
.grid-card { background: var(--olive); padding: clamp(24px, 2.4vw, 34px); display: grid; gap: 14px; align-content: start; }
.grid-card svg { width: 34px; height: 34px; color: var(--sage); }
.grid-card h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; font-weight: 400; }
.grid-card p { font-size: .9375rem; color: rgba(247,244,238,.78); line-height: 1.6; }
@media (max-width: 1020px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-cards { grid-template-columns: 1fr; } }

.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--sand); }
.callout--olive { background: var(--olive); color: var(--ivory); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

.quiet-note { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border-radius: 12px; background: rgba(167,183,161,.2); border: 1px solid rgba(94,113,99,.25); font-size: .9375rem; line-height: 1.6; color: var(--ink); }
.quiet-note svg { width: 22px; height: 22px; color: var(--sage-ink); margin-top: 2px; }

/* Opportunities */
.opps { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.opps__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 18px 26px; border-bottom: 1px solid var(--rule); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.opps__empty { padding: clamp(36px, 5vw, 64px) 26px; display: grid; justify-items: center; text-align: center; gap: 16px; }
.opps__empty > svg { width: 48px; height: 48px; color: var(--sage-ink); }
.opps__empty h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.opps__empty p { color: var(--ink-soft); max-width: 30em; }
.opp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--rule); }
.opp:last-child { border-bottom: 0; }
.opp__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.opp__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: .875rem; color: var(--ink-soft); }

/* Pathway cards (Contact) */
.contact-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.contact-path { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--rule-strong); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--cream); transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease-out), color .5s; position: relative; }
.contact-path:hover, .contact-path:focus-visible { background: var(--olive); color: var(--ivory); border-color: var(--olive); transform: translateY(-3px); }
.contact-path__icon { width: 36px; height: 36px; color: var(--olive); transition: color .5s; }
.contact-path:hover .contact-path__icon, .contact-path:focus-visible .contact-path__icon { color: var(--sage); }
.contact-path h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; font-weight: 400; }
.contact-path p { color: var(--ink-soft); font-size: .95rem; transition: color .5s; }
.contact-path:hover p, .contact-path:focus-visible p { color: rgba(247,244,238,.8); }
.contact-path__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; margin-top: 6px; }
.contact-path__go svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.contact-path:hover .contact-path__go svg { transform: translateX(4px); }
@media (max-width: 900px) { .contact-paths { grid-template-columns: 1fr; } }

/* Legal / prose pages */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); line-height: 1.15; margin-top: 2.2em; margin-bottom: .6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.prose ul { margin-top: .8em; display: grid; gap: .5em; padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--olive); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-shell__aside { position: sticky; top: 110px; display: grid; gap: 24px; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } .form-shell__aside { position: static; } }

.form { background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 48px); box-shadow: 0 30px 60px -48px rgba(37,40,36,.5); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .875rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--clay-ink); margin-left: 2px; }
.field .opt { font-weight: 500; color: var(--ink-soft); font-size: .8125rem; margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--rule-strong);
  background: var(--ivory); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2334483C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(37,40,36,.42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(52,72,60,.14); background: #fff; }
.field__hint { font-size: .8125rem; color: var(--ink-soft); line-height: 1.5; }
.field__error { display: none; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: #8E3B2E; }
.field__error svg { width: 15px; height: 15px; flex: none; }
.field.has-error .field__error { display: flex; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #8E3B2E; box-shadow: 0 0 0 3px rgba(142,59,46,.1); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--ivory); font-size: .9375rem; font-weight: 500; cursor: pointer; transition: all .3s var(--ease); }
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--rule-strong); transition: all .3s var(--ease); background: #fff; }
.choice input:checked + span { border-color: var(--olive); background: rgba(52,72,60,.06); }
.choice input:checked + span::before { border: 4px solid var(--olive); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: var(--ink-soft); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); }
.consent a { color: var(--olive); }
.form__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form__foot p { font-size: .8125rem; color: var(--ink-soft); max-width: 30em; }
.form__summary { display: none; margin-bottom: 22px; padding: 16px 18px; border-radius: 10px; background: rgba(142,59,46,.07); border: 1px solid rgba(142,59,46,.3); color: #6F2E24; font-size: .9rem; }
.form__summary.is-visible { display: block; }
.form__summary strong { display: block; margin-bottom: 4px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .btn__arrow { animation: nudge .9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.form-success { display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 4vw, 56px); background: var(--olive); color: var(--ivory); border-radius: var(--radius); }
.form-success svg { width: 48px; height: 48px; color: var(--sage); }
.form-success h3 { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.08; font-weight: 400; }
.form-success p { color: rgba(247,244,238,.84); max-width: 34em; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   CTA band (secondary pages)
   -------------------------------------------------------------------------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px 64px; align-items: end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding-top: clamp(72px, 9vw, 120px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 36px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 88px); }
.footer__brand { display: grid; gap: 22px; align-content: start; max-width: 380px; }
.footer__brand p { color: rgba(247,244,238,.72); font-size: .95rem; }
.footer__place { display: inline-flex; gap: 10px; align-items: center; font-size: .875rem; color: var(--sand); }
.footer__place svg { width: 18px; height: 18px; color: var(--clay); }
.footer__col h2 { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { text-decoration: none; color: rgba(247,244,238,.86); font-size: .95rem; transition: color .3s; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; padding-bottom: 2px; }
.footer__col a:hover { color: var(--ivory); background-size: 100% 1px; }
.footer__word { font-family: var(--serif); font-size: min(30vw, 27rem); line-height: .8; letter-spacing: -0.02em; color: rgba(247,244,238,.06); margin: 0 0 -0.06em; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--rule-light); font-size: .8125rem; color: rgba(247,244,238,.6); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: rgba(247,244,238,.72); text-decoration: none; }
.footer__legal a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo { color: var(--ivory); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Shared keyframes
   -------------------------------------------------------------------------- */
@keyframes heroScale { from { transform: scale(1.1); } to { transform: scale(1.0); } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.4%, -1%, 0); } }

/* ==========================================================================
   HOME (V2) — editorial compositions
   Rhythm: framed hero → principles → bleed/overlap → image panels →
   numeral + collage → sticky journey → gateways → olive → full-bleed city →
   typographic values → mirrored overlap → framed close (bookends the hero)
   ========================================================================== */
:root { --frame: 10px; --frame-r: 22px; --edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); }

/* ---- 1. Hero ---------------------------------------------------------- */
.hh { position: relative; padding: var(--frame) var(--frame) 0; background: var(--ivory); }
.hh__frame {
  position: relative; height: calc(100svh - var(--frame)); min-height: 660px; max-height: 1060px;
  border-radius: var(--frame-r); overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--charcoal);
}
.hh__media { position: absolute; inset: -7% 0 -7% 0; z-index: -3; will-change: transform; }
.hh__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 54%;
  animation: hhIn 2.6s var(--ease-out) both, drift 34s ease-in-out 2.6s infinite alternate;
}
@keyframes hhIn { from { transform: scale(1.16); filter: brightness(.55) saturate(.8); } to { transform: scale(1.04); filter: none; } }
.hh__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22,26,22,.55) 0%, rgba(22,26,22,0) 24%),
    linear-gradient(0deg, rgba(22,26,22,.82) 0%, rgba(22,26,22,.38) 34%, rgba(22,26,22,0) 60%),
    linear-gradient(90deg, rgba(22,26,22,.5) 0%, rgba(22,26,22,.08) 52%, rgba(22,26,22,0) 70%);
}
.hh__glow { position: absolute; z-index: -2; right: 14%; top: 34%; width: 38vw; height: 38vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,206,150,.2), rgba(255,206,150,0) 62%); animation: glow 8s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .5; transform: translate3d(0,0,0); } to { opacity: 1; transform: translate3d(-3%, 4%, 0); } }
.hh__meta {
  position: absolute; left: clamp(20px, 3.4vw, 52px); right: clamp(20px, 3.4vw, 52px); top: calc(var(--header-h) + 22px);
  display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; border-top: 1px solid rgba(247,244,238,.22);
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,244,238,.82);
  animation: fadeUp 1s var(--ease-out) 1.2s both;
}
.hh__coords { font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.hh__title {
  position: absolute; left: clamp(20px, 3.4vw, 52px); bottom: clamp(30px, 4.2vw, 60px); margin: 0;
  font-family: var(--serif); font-size: clamp(3.4rem, 7.3vw, 9.4rem); line-height: .9; letter-spacing: -0.022em;
  text-shadow: 0 2px 40px rgba(0,0,0,.18);
}
.hh__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; white-space: nowrap; }
.hh__title .line > span { display: inline-block; animation: lineUp 1.35s var(--ease-out) both; animation-delay: calc(.45s + var(--i) * .15s); }
.hh__title .line--indent { padding-left: 1.05em; }
.hh__title .line--indent-sm { padding-left: .5em; }
.hh__title em { color: #E6D8C6; }

.hh__panel {
  position: absolute; right: var(--frame); bottom: 0; z-index: 2; width: min(480px, 35vw);
  background: var(--ivory); color: var(--ink); border-top-left-radius: var(--frame-r);
  padding: 30px clamp(24px, 2.4vw, 38px) 28px clamp(26px, 2.6vw, 40px);
  display: grid; gap: 22px; animation: panelIn 1.2s var(--ease-out) .9s both;
}
.hh__panel::before, .hh__panel::after {
  content: ""; position: absolute; width: var(--frame-r); height: var(--frame-r); pointer-events: none;
  background: radial-gradient(circle at 0 0, transparent calc(var(--frame-r) - .5px), var(--ivory) var(--frame-r));
}
.hh__panel::before { right: 0; top: calc(var(--frame-r) * -1); }
.hh__panel::after { left: calc(var(--frame-r) * -1); bottom: 0; }
@keyframes panelIn { from { transform: translateY(100%); } to { transform: none; } }
.hh__lede { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.hh__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hh__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.hh__facts li { display: grid; gap: 4px; font-size: .8125rem; line-height: 1.4; color: var(--ink-soft); }
.hh__fact-big { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--olive); }

/* Keep the title clear of the panel on mid widths */
@media (max-width: 1280px) and (min-width: 761px) {
  .hh__title { bottom: auto; top: calc(var(--header-h) + 90px); font-size: clamp(3.4rem, 8.4vw, 7rem); }
  .hh__meta { display: none; }
}

@media (max-width: 760px) {
  :root { --frame: 8px; --frame-r: 18px; }
  .hh__frame { height: min(76svh, 680px); min-height: 520px; }
  .hh__media { inset: 0; }
  .hh__media img { object-position: 60% 62%; }
  .hh__frame::after { background:
    linear-gradient(180deg, rgba(22,26,22,.6) 0%, rgba(22,26,22,0) 26%),
    linear-gradient(0deg, rgba(22,26,22,.85) 0%, rgba(22,26,22,.3) 42%, rgba(22,26,22,0) 62%); }
  .hh__glow { display: none; }
  .hh__meta { top: calc(var(--header-h) + 4px); padding-top: 14px; font-size: .75rem; letter-spacing: .16em; }
  .hh__coords { display: none; }
  .hh__title { left: 18px; right: 18px; bottom: 22px; font-size: min(12vw, 3.9rem); }
  .hh__title .line--indent { padding-left: .7em; }
  .hh__title .line--indent-sm { padding-left: .35em; }
  .hh__panel { position: relative; right: auto; width: auto; border-radius: 0; padding: 22px 10px 6px; gap: 18px; animation: fadeUp 1s var(--ease-out) .9s both; }
  .hh__panel::before, .hh__panel::after { display: none; }
  .hh__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; order: -1; }
  .hh__ctas .btn { padding: 0 12px; min-height: 52px; font-size: .875rem; gap: 8px; }
  .hh__ctas .btn__arrow { width: 15px; height: 15px; }
  .hh__lede { font-size: 1rem; }
  .hh__facts { gap: 10px; }
  .hh__fact-big { font-size: 1.25rem; }
}
@media (max-width: 360px) { .hh__ctas { grid-template-columns: 1fr; } }

/* ---- 2. Principles ---------------------------------------------------- */
.hp { padding-block: clamp(36px, 4vw, 56px) 0; }
.hp__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp__item { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-content: start; padding: 2px clamp(16px, 2vw, 30px); border-left: 1px solid var(--rule); }
.hp__item:first-child { padding-left: 0; border-left: 0; }
.hp__item > svg { width: 34px; height: 34px; color: var(--olive); grid-row: span 2; }
.hp__title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.12; }
.hp__text { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 1020px) {
  .hp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .hp__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .hp { padding-block: 28px 4px; }
  .hp__list { column-gap: 0; row-gap: 0; border-top: 1px solid var(--rule); }
  .hp__item { grid-template-columns: 1fr; padding: 18px 14px 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); row-gap: 8px; }
  .hp__item:nth-child(even) { padding: 18px 0 18px 14px !important; border-left: 1px solid var(--rule) !important; }
  .hp__item > svg { width: 28px; height: 28px; grid-row: auto; }
  .hp__title { font-size: 1.2rem; }
  .hp__text { font-size: .875rem; }
}

/* ---- 3. About --------------------------------------------------------- */
.ha { padding-block: clamp(56px, 6vw, 96px) clamp(40px, 5vw, 72px); overflow: hidden; }
.ha__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: center; padding-right: var(--edge); }
.ha__media { position: relative; padding-bottom: clamp(60px, 7vw, 110px); }
.ha__main { position: relative; height: clamp(520px, 80vh, 820px); overflow: hidden; border-radius: 0 var(--frame-r) var(--frame-r) 0; background: var(--sand); }
.ha__drift { position: absolute; inset: -8% 0; }
.ha__drift img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ha__inset { position: absolute; right: clamp(-90px, -5vw, -40px); bottom: 0; width: clamp(200px, 21vw, 320px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 10px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(37,40,36,.45); background: var(--sand); z-index: 2; }
.ha__inset img { width: 100%; height: 100%; object-fit: cover; }
.ha__content { display: grid; gap: 26px; align-content: center; min-width: 0; }
.ha__pull { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); line-height: 1.2; color: var(--olive); padding-left: 20px; border-left: 1px solid var(--clay); max-width: 20em; }
.ha .body-copy + .body-copy { margin-top: .9em; }
@media (max-width: 900px) {
  .ha__grid { grid-template-columns: 1fr; padding-right: 0; gap: 36px; }
  .ha__media { margin-right: 16px; padding-bottom: 44px; }
  .ha__main { height: min(118vw, 620px); }
  .ha__inset { right: -8px; width: 44%; border-width: 6px; border-radius: 14px; }
  .ha__content { padding-inline: var(--gutter); }
}

/* ---- 4. Services (expanding image panels) ----------------------------- */
.hs { padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 110px); }
.hs__head { margin-bottom: clamp(32px, 4vw, 56px); }
.hs__track { display: flex; gap: 10px; padding-inline: var(--frame); height: clamp(560px, 80vh, 780px); max-width: 1680px; margin-inline: auto; }
.hs__panel {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end;
  border-radius: var(--frame-r); overflow: hidden; isolation: isolate; color: var(--ivory); text-decoration: none; background: var(--charcoal);
  transition: flex-grow 1.1s var(--ease-out), opacity .9s var(--ease), transform 1s var(--ease-out);
}
.hs__img { position: absolute; inset: 0; z-index: -2; }
.hs__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.8s var(--ease-out), filter 1s var(--ease); }
.hs__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,26,22,.05) 0%, rgba(22,26,22,.15) 40%, rgba(22,26,22,.84) 100%); transition: opacity .8s var(--ease); }
.hs__body { width: 100%; padding: clamp(24px, 2.4vw, 40px); display: grid; gap: 10px; }
.hs__num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: #E6D8C6; }
.hs__label { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,244,238,.78); }
.hs__title { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.5vw, 3rem); line-height: 1.02; max-width: 12em; }
.hs__text { font-size: .92rem; line-height: 1.55; color: rgba(247,244,238,.88); max-width: 30em; }
.hs__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: .875rem; font-weight: 600; padding-bottom: 4px; width: max-content;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.hs__more svg { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
.hs__panel:hover .hs__more svg, .hs__panel:focus-visible .hs__more svg { transform: translateX(5px); }
@media (hover: hover) and (min-width: 761px) {
  .hs__track:hover .hs__panel { flex-grow: .78; }
  .hs__track .hs__panel:hover, .hs__track .hs__panel:focus-visible { flex-grow: 1.55; }
  .hs__panel:hover .hs__img img { transform: scale(1.09); }
}
.hs__hint { display: none; }
@media (max-width: 1020px) and (min-width: 761px) { .hs__track { height: 600px; } .hs__title { font-size: 1.9rem; } .hs__text { font-size: .9rem; } }
@media (max-width: 760px) {
  .hs__track { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding-inline: 16px; gap: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__panel { flex: 0 0 84%; height: min(128vw, 560px); scroll-snap-align: start; border-radius: 18px; }
  .hs__hint { display: flex; justify-content: space-between; margin-top: 16px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-ink); }
}

/* ---- 5. Small homes (numeral + collage) ------------------------------- */
.hsm { padding-block: clamp(72px, 8vw, 120px) clamp(64px, 7vw, 110px); overflow: hidden; }
.hsm__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.hsm__intro { display: grid; gap: 22px; align-content: start; }
.hsm__numeral { font-family: var(--serif); font-size: clamp(11rem, 19vw, 20rem); line-height: .74; color: var(--olive); letter-spacing: -0.04em; margin-top: 10px; display: flex; align-items: flex-start; gap: 14px; }
.hsm__numeral small { font-size: clamp(1.3rem, 1rem + 1vw, 2rem); font-style: italic; letter-spacing: 0; line-height: 1; margin-top: .35em; color: var(--clay-ink); }
.hsm__numcap { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-ink); margin-top: -6px; }
.hsm__collage { position: relative; height: clamp(620px, 58vw, 820px); }
.hsm__collage figure { margin: 0; position: absolute; overflow: hidden; border-radius: 18px; background: var(--ivory); }
.hsm__collage img { width: 100%; height: 100%; object-fit: cover; }
.hsm__a { right: calc(var(--edge) * -1 + 0px); top: 0; width: 60%; height: 90%; border-radius: 18px 0 0 18px !important; }
.hsm__drift { position: absolute; inset: -7% 0; }
.hsm__c { left: 4%; top: 2%; width: 30%; aspect-ratio: 4 / 5; }
.hsm__b { left: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 10px solid var(--sand); border-radius: 22px !important; box-shadow: 0 30px 60px -34px rgba(37,40,36,.5); z-index: 2; }
.hsm__quote { position: absolute; left: 4%; top: 39%; width: 32%; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + .9vw, 1.85rem); line-height: 1.15; color: var(--olive); }
.hsm__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--rule-strong); }
.hsm__points li { padding: 24px clamp(14px, 1.6vw, 24px) 0; border-left: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.hsm__points li:first-child { padding-left: 0; border-left: 0; }
.hsm__points h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; font-weight: 400; }
.hsm__points p { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 1100px) { .hsm__points { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 900px) {
  .hsm__grid { grid-template-columns: 1fr; }
  .hsm__numeral { font-size: 9.5rem; }
  .hsm__collage { height: auto; display: grid; margin-right: calc(var(--gutter) * -1); }
  .hsm__collage figure { position: relative; inset: auto; }
  .hsm__a { width: 100%; height: min(118vw, 620px); right: auto; }
  .hsm__c, .hsm__quote { display: none; }
  .hsm__b { width: 60%; margin-top: -28%; margin-left: -6px; border-width: 6px; }
}
@media (max-width: 600px) {
  .hsm__points { grid-template-columns: 1fr; row-gap: 0; margin-top: 44px; }
  .hsm__points li { padding: 16px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 16px; }
  .hsm__points h3 { font-size: 1.15rem; }
  .hsm__points p { font-size: .875rem; }
}

/* ---- 6. Referral journey (sticky photograph) -------------------------- */
.hj { padding: var(--frame); background: var(--ivory); }
.hj__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.hj__stage { position: sticky; top: var(--frame); height: calc(100svh - var(--frame) * 2); min-height: 600px; border-radius: var(--frame-r); overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--charcoal); }
.hj__img { position: absolute; inset: -6% 0; z-index: -2; }
.hj__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hj__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22,26,22,.85) 0%, rgba(22,26,22,.3) 46%, rgba(22,26,22,.1) 70%, rgba(22,26,22,.4) 100%); }
.hj__overlay { position: absolute; left: clamp(24px, 3vw, 48px); right: clamp(24px, 3vw, 48px); bottom: clamp(28px, 3.4vw, 52px); display: grid; gap: 18px; }
.hj__overlay .eyebrow { color: #E2D2C0; }
.hj__overlay .h2 { max-width: 11em; }
.hj__intro { color: rgba(247,244,238,.86); max-width: 30em; font-size: 1.0625rem; line-height: 1.6; }
.hj__count { position: absolute; top: clamp(90px, 12vh, 120px); right: clamp(24px, 3vw, 48px); display: flex; align-items: baseline; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: rgba(247,244,238,.8); font-variant-numeric: tabular-nums; }
.hj__count b { font-family: var(--serif); font-weight: 400; font-size: 3rem; letter-spacing: 0; color: var(--ivory); line-height: 1; }
.hj__steps { position: relative; padding: clamp(80px, 16vh, 180px) clamp(28px, 5vw, 96px) clamp(60px, 10vh, 120px) clamp(64px, 7vw, 128px); }
.hj__rail { position: absolute; left: clamp(28px, 3.2vw, 56px); top: clamp(80px, 16vh, 180px); bottom: clamp(200px, 28vh, 300px); width: 1px; background: var(--rule-strong); }
.hj__fill { position: absolute; inset: 0; background: var(--olive); transform-origin: top; transform: scaleY(0); }
.hj__list { display: grid; }
.hj__step { position: relative; min-height: 44vh; display: grid; gap: 14px; align-content: center; padding-block: 24px; opacity: .38; transition: opacity .8s var(--ease); }
.hj__step::before { content: ""; position: absolute; left: calc(clamp(64px, 7vw, 128px) * -1 + clamp(28px, 3.2vw, 56px) - 5px); top: calc(50% - 5px); width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--olive); transition: background-color .6s var(--ease), transform .6s var(--ease-out); }
.hj__step.is-active, .hj__step.is-past { opacity: 1; }
.hj__step.is-active::before, .hj__step.is-past::before { background: var(--olive); }
.hj__step.is-active::before { transform: scale(1.35); }
.hj__num { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 2.4rem + 3vw, 5.6rem); line-height: .9; color: var(--clay-ink); }
.hj__title { font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); line-height: 1.05; max-width: 14em; }
.hj__text { color: var(--ink-soft); max-width: 32em; }
.hj__foot { display: grid; gap: 22px; justify-items: start; padding-top: 36px; margin-top: 20px; border-top: 1px solid var(--rule-strong); }
.hj__foot p { color: var(--ink-soft); font-size: .95rem; max-width: 34em; }
.js .hj__step.is-active, .js .hj__step.is-past { opacity: 1; }
html:not(.js) .hj__step { opacity: 1; }
@media (max-width: 900px) {
  .hj__grid { grid-template-columns: 1fr; }
  .hj__stage { position: relative; top: 0; height: min(92vw, 560px); min-height: 440px; }
  .hj__count { display: none; }
  .hj__steps { padding: 44px var(--gutter) 40px calc(var(--gutter) + 34px); }
  .hj__rail { left: calc(var(--gutter) + 5px); top: 60px; bottom: 210px; }
  .hj__step { min-height: 0; padding-block: 18px 22px; opacity: 1 !important; }
  .hj__step::before { left: -34px; top: 34px; }
  .hj__num { font-size: 2.8rem; }
  .hj__title { font-size: 1.7rem; }
  .hj__text { font-size: .98rem; }
}

/* ---- 7. Gateways ------------------------------------------------------ */
.hgw { padding-block: clamp(64px, 8vw, 120px); }
.hgw__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.hgw__stage { position: relative; min-height: clamp(560px, 76vh, 760px); border-radius: var(--frame-r); overflow: hidden; background: var(--charcoal); }
.hgw__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 2s var(--ease-out); }
.hgw__stage img.is-active { opacity: 1; transform: scale(1.0); }
.hgw__stage img[data-g-img="1"] { object-position: 22% 70%; }
.hgw__side { display: grid; align-content: center; gap: 22px; min-width: 0; }
.hgw__list { margin-top: 18px; border-top: 1px solid var(--rule-strong); }
.hgw__item { position: relative; display: grid; gap: 10px; padding: 26px 0 28px; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.hgw__label { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-ink); }
.hgw__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hgw__title { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 1.8vw, 3.1rem); line-height: 1.02; transition: color .5s var(--ease), transform .8s var(--ease-out); }
.hgw__arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; color: var(--olive); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, transform .7s var(--ease-out); }
.hgw__arrow svg { width: 20px; height: 20px; }
.hgw__text { color: var(--ink-soft); font-size: .95rem; max-width: 30em; }
.hgw__item.is-active .hgw__title { color: var(--olive); font-style: italic; transform: translateX(6px); }
.hgw__item.is-active .hgw__arrow, .hgw__item:hover .hgw__arrow, .hgw__item:focus-visible .hgw__arrow { background: var(--olive); border-color: var(--olive); color: var(--ivory); transform: translateX(4px); }
.hgw__thumb { display: none; }
@media (max-width: 900px) {
  .hgw__grid { grid-template-columns: 1fr; }
  .hgw__stage { display: none; }
  .hgw__list { border-top: 0; display: grid; gap: 28px; margin-top: 8px; }
  .hgw__item { padding: 0 0 22px; }
  .hgw__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 8px; }
  .hgw__item:nth-child(n) .hgw__title { font-style: normal; transform: none; color: var(--ink); }
  .hgw__arrow { width: 44px; height: 44px; }
}

/* ---- 8. Quality (tightened) ------------------------------------------- */
.hq { padding-block: clamp(72px, 8vw, 128px); }

/* ---- 9. Vision -------------------------------------------------------- */
.hv { padding: 0 var(--frame); background: var(--ivory); }
.hv__frame { position: relative; height: 94svh; min-height: 640px; max-height: 1000px; border-radius: var(--frame-r); overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--charcoal); }
.hv__media { position: absolute; inset: -12% 0; z-index: -2; }
.hv__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: drift 40s ease-in-out infinite alternate; }
.hv__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(34,46,38,.88) 0%, rgba(34,46,38,.45) 34%, rgba(34,46,38,0) 60%), linear-gradient(90deg, rgba(34,46,38,.55) 0%, rgba(34,46,38,0) 60%); }
.hv__coords { position: absolute; left: clamp(24px, 3.4vw, 52px); top: clamp(28px, 4vw, 52px); display: inline-flex; gap: 10px; align-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,244,238,.88); }
.hv__coords svg { width: 18px; height: 18px; }
.hv__title { position: absolute; left: clamp(24px, 3.4vw, 52px); bottom: clamp(170px, 20vh, 230px); font-family: var(--serif); font-size: clamp(3rem, 6.6vw, 8rem); line-height: .94; letter-spacing: -0.02em; max-width: 12em; }
.hv__title em { color: var(--sage); }
.hv__card { position: relative; z-index: 2; margin: clamp(-150px, -12vw, -110px) 0 0 auto; width: min(600px, 100%); background: var(--ivory); border-radius: 20px; padding: clamp(28px, 3vw, 44px); display: grid; gap: 16px; box-shadow: 0 40px 70px -40px rgba(37,40,36,.5); }
.hv__lead { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + .7vw, 1.85rem); line-height: 1.22; color: var(--ink); }
@media (max-width: 760px) {
  .hv__frame { height: 78svh; min-height: 520px; }
  .hv__media { inset: 0; }
  .hv__media img { object-position: 30% 40%; }
  .hv__title { bottom: 110px; font-size: min(11.5vw, 3.6rem); right: 20px; }
  .hv__card { margin-top: -80px; }
}

/* ---- 10. Values (typographic sequence) -------------------------------- */
.hvl { padding-block: clamp(64px, 7vw, 110px) clamp(64px, 8vw, 120px); }
.hvl__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; padding-bottom: 20px; border-bottom: 1px solid var(--rule-strong); }
.hvl__head .body-copy { max-width: 30em; }
.hvl__words { margin: clamp(28px, 3.4vw, 48px) 0 clamp(36px, 4vw, 56px); font-family: var(--serif); font-size: clamp(2.6rem, 1.2rem + 5.4vw, 7.4rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.hvl__word { display: inline; cursor: default; transition: color .5s var(--ease); }
.hvl__word em { font-style: italic; color: var(--sage-ink); }
.hvl__word--key { color: var(--olive); font-style: italic; }
.hvl__word:hover, .hvl__word.is-hot { color: var(--olive); }
.hvl__word { white-space: nowrap; }
.hvl__word:not(:last-child)::after { content: ""; display: inline-block; width: .13em; height: .13em; border-radius: 50%; background: var(--clay); vertical-align: middle; margin: 0 .3em 0 .34em; transform: translateY(-.05em); }
.js .hvl__word.reveal { display: inline-block; }
.hvl__notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px clamp(24px, 3vw, 44px); counter-reset: v; }
.hvl__notes li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .9rem; line-height: 1.55; color: var(--ink-soft); transition: border-color .5s var(--ease), color .5s; }
.hvl__notes b { font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-ink); }
.hvl__notes li.is-hot { border-top-color: var(--olive); color: var(--ink); }
@media (max-width: 900px) { .hvl__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hvl__words { font-size: 2.55rem; line-height: 1.08; } .hvl__notes { gap: 16px 18px; } .hvl__notes li { padding-top: 10px; font-size: .8125rem; line-height: 1.5; } .hvl__notes b { font-size: .6875rem; letter-spacing: .14em; } }

/* ---- 11. Careers (mirrored) ------------------------------------------- */
.hcr { padding-block: clamp(56px, 6vw, 96px); overflow: hidden; }
.hcr__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(48px, 7vw, 120px); align-items: center; padding-left: var(--edge); }
.hcr__content { display: grid; gap: 24px; min-width: 0; }
.hcr__media { position: relative; padding-top: clamp(40px, 4vw, 64px); }
.hcr__main { position: relative; height: clamp(520px, 76vh, 780px); overflow: hidden; border-radius: var(--frame-r) 0 0 var(--frame-r); background: var(--sand); }
.hcr__drift { position: absolute; inset: -8% 0; }
.hcr__drift img { width: 100%; height: 100%; object-fit: cover; }
.hcr__inset { position: absolute; left: clamp(-90px, -5vw, -40px); top: 0; width: clamp(190px, 19vw, 290px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; border: 10px solid var(--cream); box-shadow: 0 30px 60px -30px rgba(37,40,36,.45); z-index: 2; background: var(--sand); }
.hcr__inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hcr__grid { grid-template-columns: 1fr; padding-left: 0; gap: 40px; }
  .hcr__content { padding-inline: var(--gutter); order: 2; }
  .hcr__media { margin-left: 16px; padding-top: 0; padding-bottom: 0; }
  .hcr__main { height: min(110vw, 600px); }
  .hcr__inset { left: -8px; top: auto; bottom: -30px; width: 40%; border-width: 6px; border-radius: 14px; }
}

/* ---- 12. Final (framed, top-left cut-out) ----------------------------- */
.hfin { position: relative; padding: var(--frame); background: var(--ivory); }
.hfin__frame { position: relative; height: clamp(640px, 88vh, 900px); border-radius: var(--frame-r); overflow: hidden; background: var(--charcoal); }
.hfin__media { position: absolute; inset: -8% 0; }
.hfin__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hfin__panel {
  position: absolute; left: var(--frame); top: var(--frame); z-index: 2; width: min(700px, 54vw);
  background: var(--ivory); border-bottom-right-radius: var(--frame-r);
  padding: clamp(40px, 5vw, 76px) clamp(32px, 4vw, 64px) clamp(36px, 4vw, 56px) clamp(24px, 3.4vw, 52px);
  display: grid; gap: 24px;
}
.hfin__panel::before, .hfin__panel::after {
  content: ""; position: absolute; width: var(--frame-r); height: var(--frame-r); pointer-events: none;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--frame-r) - .5px), var(--ivory) var(--frame-r));
}
.hfin__panel::before { right: calc(var(--frame-r) * -1); top: 0; }
.hfin__panel::after { left: 0; bottom: calc(var(--frame-r) * -1); }
.hfin__title { font-family: var(--serif); font-size: clamp(2.8rem, 1.4rem + 4vw, 5.8rem); line-height: .98; letter-spacing: -0.018em; }
@media (max-width: 900px) {
  .hfin__panel { position: relative; left: auto; top: auto; width: auto; border-radius: 0; padding: 48px calc(var(--gutter) - var(--frame)) 36px; }
  .hfin__panel::before, .hfin__panel::after { display: none; }
  .hfin__frame { height: min(90vw, 520px); }
  .hfin__media { inset: 0; }
}
@media (max-width: 600px) { .hfin .btn-row { display: grid; } .hfin .btn { width: 100%; } }

/* ---- Motion helpers (V2) ---------------------------------------------- */
.js .reveal-mask--side { clip-path: inset(0 100% 0 0); }
.js .reveal-mask--side-r { clip-path: inset(0 0 0 100%); }
.js .reveal-mask--side.is-in, .js .reveal-mask--side-r.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-mask.hsm__a, .js .reveal-mask.hsm__b, .js .reveal-mask.hsm__c { transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .reveal-lines .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * .12s); }
.js .reveal-lines.is-in .line > span { transform: none; }

/* --------------------------------------------------------------------------
   Motion: reveal system (only hides when JS is running & motion allowed)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal-mask img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal-mask.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-mask.is-in img { transform: scale(1); }
.js .provide__item .reveal-mask.is-in img { transition: transform 1.2s var(--ease-out); }
.js .provide__item:hover .reveal-mask.is-in img { transform: scale(1.045); }
.parallax { will-change: transform; }

/* SPA preview pages */
[data-route][hidden] { display: none !important; }
.page-view { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-mask { opacity: 1; transform: none; clip-path: none; }
  .js .reveal-mask img { transform: none; }
  .hero__media img, .page-hero__media img { animation: none; transform: none; }
}

/* Print basics */
@media print { .site-header, .menu, .site-footer, body::before { display: none !important; } }

/* Quality list: compact two-column grid on phones (home) */
@media (max-width: 600px) {
  .hq .quality__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .hq .q-item { padding: 16px 0 18px; gap: 6px; }
  .hq .q-item__title { font-size: 1.15rem; gap: 8px; }
  .hq .q-item__title::before { width: 5px; height: 5px; }
  .hq .q-item__text { font-size: .8125rem; line-height: 1.5; }
  .hq .quality__intro { gap: 20px; }
}


/* ================= NOLKET FINAL POLISH ================= */
.logo { gap: 10px; }
.logo__mark { width: 38px; height: 38px; overflow: visible; }
.logo__roof,.logo__walls,.logo__vein { fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; }
.logo__roof,.logo__walls { stroke-width:2.8; }
.logo__vein { stroke-width:1.6; }
.logo__sun { fill:var(--clay); }
.logo__leaf { fill:var(--sage); }
.logo__name { font-size:1.92rem; letter-spacing:-.02em; }
.logo__sub { color:var(--clay-ink); letter-spacing:.28em; }
.site-header[data-scrolled="true"] .logo__sub, body:not([data-header="overlay"]) .logo__sub { color:var(--clay-ink); }

/* Hero: cleaner editorial lockup, stronger photography, less template-like */
.hh__title .line--indent,.hh__title .line--indent-sm { padding-left:0; }
.hh__title { max-width: 11ch; bottom: clamp(38px,5vw,70px); }
.hh__panel { width:min(480px,34vw); background:rgba(247,244,238,.94); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:0 30px 80px -55px rgba(0,0,0,.65); }
.hh__media img { object-position:50% 52%; filter:saturate(.92) contrast(1.02); }

/* Compact premium footer */
.site-footer { padding-top:clamp(42px,5vw,64px); padding-bottom:calc(env(safe-area-inset-bottom,0px) + 22px); }
.footer__top { grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,.85fr)); gap:28px clamp(22px,3vw,42px); padding-bottom:30px; }
.footer__brand { gap:12px; max-width:340px; }
.footer__brand p { font-size:.875rem; line-height:1.55; }
.footer__col h2 { margin-bottom:12px; font-size:.68rem; }
.footer__col ul { gap:8px; }
.footer__col a { font-size:.875rem; }
.footer__bottom { padding-top:18px; gap:12px 22px; font-size:.75rem; }
.footer-credit{display:inline-flex;align-items:center;gap:7px;color:rgba(247,244,238,.58);font-size:9px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;white-space:nowrap}
.nolket-footer-link{position:relative;display:inline-block;background:linear-gradient(90deg,#006b43,#00b86e,#00e889,#00b86e,#006b43);background-size:300% 100%;background-position:0% 50%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:900;letter-spacing:.08em;text-decoration:none;animation:nolketGradient 4s ease-in-out infinite!important;transition:transform 180ms ease,filter 180ms ease;will-change:background-position}
.nolket-footer-link::after{content:"";position:absolute;left:0;bottom:-4px;width:100%;height:2px;border-radius:999px;background:linear-gradient(90deg,#00995d,#00e889);transform:scaleX(.35);transform-origin:left;opacity:.7;transition:transform 180ms ease,opacity 180ms ease}
.nolket-footer-link:hover{transform:translateY(-2px);filter:drop-shadow(0 0 8px rgba(0,232,137,.45))}
.nolket-footer-link:hover::after{transform:scaleX(1);opacity:1}
@keyframes nolketGradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@media(max-width:960px){.footer__top{grid-template-columns:1fr 1fr}.footer__brand{grid-column:1/-1}.footer__bottom{justify-content:center;text-align:center}.footer-credit{justify-self:center}}
@media(max-width:600px){.site-footer{padding-top:36px}.footer__top{grid-template-columns:1fr 1fr;gap:26px 22px;padding-bottom:24px}.footer__brand{grid-column:1/-1}.footer__col:last-child{grid-column:1/-1}.footer__bottom{display:grid;justify-items:center}.logo__mark{width:34px;height:34px}.logo__name{font-size:1.7rem}}
@media(prefers-reduced-motion:reduce){.nolket-footer-link{animation:none!important}}


/* ================= SOLADA V4 IMAGE + BRAND PASS ================= */
/* Refined mark: house + open door + leaf + rising sun */
.logo__mark{width:42px;height:42px}
.logo__roof,.logo__walls,.logo__door,.logo__vein{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.logo__roof,.logo__walls{stroke-width:3.2}
.logo__door{stroke-width:2.4}
.logo__vein{stroke-width:1.8}
.logo__name{font-size:2rem;letter-spacing:-.03em}
.logo__sub{margin-top:4px;letter-spacing:.30em;font-size:.59rem}

/* New hero photo focal point */
.hh__media img{object-position:50% 50%}

/* Pull the large Small Homes image into the composition instead of bleeding to the viewport edge */
@media (min-width:901px){
  .hsm__a{
    right:4%;
    top:3%;
    width:54%;
    height:86%;
    border-radius:18px!important;
  }
  .hsm__c{left:6%;top:3%;width:29%}
  .hsm__b{left:4%;bottom:1%;width:54%}
  .hsm__quote{left:6%;width:31%}
}

/* A genuinely compact footer */
.site-footer{padding-top:clamp(32px,3.6vw,46px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 16px)}
.footer__top{gap:20px clamp(18px,2.2vw,32px);padding-bottom:20px}
.footer__brand{gap:9px;max-width:320px}
.footer__brand p{font-size:.82rem;line-height:1.45}
.footer__place{font-size:.78rem}
.footer__col h2{margin-bottom:9px;font-size:.64rem}
.footer__col ul{gap:6px}
.footer__col a{font-size:.82rem}
.footer__bottom{padding-top:14px;gap:10px 18px;font-size:.70rem}
.footer-credit{font-size:8.5px}
@media(max-width:600px){
  .site-footer{padding-top:28px}
  .footer__top{gap:20px 18px;padding-bottom:18px}
  .footer__brand{gap:8px}
  .footer__bottom{padding-top:12px}
}

/* Give generated editorial photography a natural finish rather than an overprocessed look */
.page-hero__media img,.hv__media img,.hcr__main img,.hcr__inset img{filter:saturate(.94) contrast(1.015)}


/* ================= SOLADA V6 DESKTOP POLISH ================= */
@media (min-width:901px){
  /* Stronger, cleaner homepage hero */
  .hh__frame{height:min(84svh,820px);min-height:640px;}
  .hh__media{inset:-3% 0 -3% 0;}
  .hh__media img{object-position:58% 54%;filter:saturate(.96) contrast(1.03);}
  .hh__frame::after{background:linear-gradient(90deg,rgba(20,24,20,.60) 0%,rgba(20,24,20,.36) 32%,rgba(20,24,20,.10) 58%,rgba(20,24,20,.06) 100%),linear-gradient(180deg,rgba(20,24,20,.10) 0%,rgba(20,24,20,.18) 100%);}
  .hh__meta{top:calc(var(--header-h) + 34px);left:clamp(28px,3vw,48px);right:auto;gap:18px;background:rgba(247,244,238,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:10px 14px;border-radius:999px;border:1px solid rgba(247,244,238,.26);}
  .hh__title{left:clamp(28px,3vw,48px);bottom:clamp(42px,6vw,78px);max-width:10.3ch;font-size:clamp(4.8rem,6.8vw,7.2rem);text-shadow:0 10px 30px rgba(0,0,0,.22);}
  .hh__panel{right:clamp(28px,3vw,48px);bottom:clamp(28px,3.6vw,48px);width:min(460px,31vw);gap:20px;padding:24px 24px 22px;}
  .hh__lede{font-size:1rem;line-height:1.55;}

  /* Bring About block into the middle */
  .ha__grid{width:min(1460px, calc(100% - 2 * var(--gutter)));margin-inline:auto;padding-inline:var(--gutter);grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(54px,6vw,96px);padding-right:var(--gutter);}
  .ha__main{border-radius:24px;box-shadow:0 28px 70px -42px rgba(37,40,36,.42);}
  .ha__inset{right:clamp(-32px,-2vw,-12px);}

  /* Small homes collage: no collisions */
  .hsm__grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(40px,5.2vw,84px);}
  .hsm__collage{height:clamp(620px,57vw,780px);}
  .hsm__a{right:0;top:4%;width:41%;height:72%;border-radius:18px!important;z-index:1;}
  .hsm__c{left:10%;top:2%;width:26%;z-index:2;}
  .hsm__quote{left:10%;top:40%;width:30%;}
  .hsm__b{left:0;bottom:2%;width:54%;z-index:1;}

  /* Referral journey: use a centred stage/content layout */
  .hj .container{width:min(1480px, calc(100% - 2 * var(--gutter)));}
  .hj__grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(36px,4.5vw,72px);align-items:start;}
  .hj__stage{border-radius:24px;height:calc(100svh - var(--frame) * 2.5);min-height:660px;box-shadow:0 30px 80px -48px rgba(24,28,24,.50);}
  .hj__img{inset:0;}
  .hj__img img{object-position:52% 50%;}
  .hj__count{right:28px;}
  .hj__steps{padding:clamp(82px,14vh,150px) clamp(26px,4vw,70px) clamp(60px,9vh,110px) clamp(72px,6vw,118px);}
  .hj__rail{left:clamp(32px,2.8vw,48px);}

  /* Careers block: bring composition inward */
  .hcr__grid{width:min(1460px, calc(100% - 2 * var(--gutter)));margin-inline:auto;padding-inline:var(--gutter);grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(54px,6vw,92px);padding-left:var(--gutter);}
  .hcr__main{border-radius:24px;box-shadow:0 28px 70px -42px rgba(37,40,36,.42);}
  .hcr__inset{left:clamp(-32px,-2vw,-12px);}
}

/* --------------------------------------------------------------------------
   V7 mobile refinement + premium logo update
   -------------------------------------------------------------------------- */
.logo--image { gap: 0; }
.logo__image { display: block; width: auto; height: 58px; max-width: min(100%, 280px); object-fit: contain; }
.site-header .logo__image { height: 54px; }
.menu .logo__image { height: 64px; max-width: 260px; }
.site-footer .logo__image { height: 64px; max-width: 280px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.18)); }

@media (max-width: 900px) {
  .site-header .logo__image { height: 42px; max-width: 164px; }
  .menu .logo__image { height: 52px; max-width: 220px; }
  .site-footer .logo__image { height: 54px; max-width: 220px; }

  /* Home principles: remove awkward empty cell */
  .hp__item:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 14px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }
  .hp__item:last-child > svg { grid-row: span 2; }

  /* About section: keep content visually centred */
  .ha__content {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  /* Small homes collage: show all supporting visuals on mobile */
  .hsm__collage {
    height: auto;
    margin-right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .hsm__collage figure { position: relative; inset: auto; }
  .hsm__a {
    grid-column: 1 / -1;
    width: 100%;
    height: min(118vw, 620px);
    right: auto;
    top: auto;
    border-radius: 18px !important;
  }
  .hsm__c,
  .hsm__b,
  .hsm__quote { display: block; }
  .hsm__c {
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px !important;
  }
  .hsm__b {
    left: auto;
    bottom: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 0;
    margin-left: 0;
    border-width: 5px;
    border-radius: 18px !important;
    box-shadow: 0 22px 42px -30px rgba(37,40,36,.42);
  }
  .hsm__quote {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    text-align: center;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
    line-height: 1.2;
    padding-top: 2px;
  }

  /* Tighter footer layout */
  .site-footer { padding-top: 30px; }
  .footer__top {
    gap: 20px 16px;
    padding-bottom: 18px;
    align-items: start;
  }
  .footer__brand {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(247,244,238,.12);
    max-width: none;
  }
  .footer__brand p { max-width: 26rem; }
  .footer__col:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
  .footer__bottom {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding-top: 14px;
  }
  .footer__legal { gap: 8px 16px; }
}

@media (max-width: 600px) {
  .site-header__inner { gap: 10px; }
  .site-header .logo__image { height: 37px; max-width: 142px; }
  .menu .logo__image { height: 46px; max-width: 190px; }
  .site-footer .logo__image { height: 48px; max-width: 190px; }
  .header-cta--mobile .btn { min-width: 92px; padding-inline: 14px; }

  /* More centered text blocks on mobile */
  .ha__content,
  .hcr__content {
    width: min(100%, 32rem);
    margin-inline: auto;
    padding-inline: 18px;
  }

  /* Values block: organised grid instead of loose word cloud */
  .hvl__words {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin: 24px 0 28px;
    font-size: clamp(1.55rem, 1.15rem + 2.2vw, 2.45rem);
    line-height: 1.04;
    text-wrap: initial;
  }
  .hvl__word,
  .js .hvl__word.reveal { display: block; }
  .hvl__word:not(:last-child)::after { display: none; }
  .hvl__word--key { grid-column: 1 / -1; }
  .hvl__notes { gap: 14px; }

  /* Tags/chips: neat two-column layout */
  .tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
  }
  .tag {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 38px;
    padding-inline: 10px;
  }
  .tags .tag:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: max-content;
    max-width: 100%;
    justify-self: start;
    justify-content: center;
    padding-inline: 18px;
  }

  /* Keep paired buttons on one row */
  .btn-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .btn-row .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
    padding-inline: 12px;
    font-size: .875rem;
    gap: 8px;
  }
  .btn-row .btn__arrow { width: 15px; height: 15px; }
  .hfin .btn-row { display: grid; }

  /* Footer mobile balance */
  .site-footer { padding-top: 26px; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    padding-bottom: 16px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__col:last-child ul { grid-template-columns: 1fr 1fr; }
  .footer__bottom {
    justify-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer__legal {
    justify-content: center;
    gap: 10px 18px;
  }
}


/* ================= SOLADA V7.1 QUICK FIXES ================= */
/* Keep the mobile / tablet home hero in the earlier stacked format */
@media (max-width: 900px) {
  .hh__frame {
    height: min(76svh, 680px);
    min-height: 520px;
    border-bottom-left-radius: var(--frame-r);
    border-bottom-right-radius: var(--frame-r);
  }
  .hh__media { inset: 0; }
  .hh__media img { object-position: 60% 62%; }
  .hh__frame::after {
    background:
      linear-gradient(180deg, rgba(22,26,22,.6) 0%, rgba(22,26,22,0) 26%),
      linear-gradient(0deg, rgba(22,26,22,.85) 0%, rgba(22,26,22,.3) 42%, rgba(22,26,22,0) 62%);
  }
  .hh__glow { display: none; }
  .hh__meta {
    top: calc(var(--header-h) + 4px);
    left: 18px;
    right: 18px;
    justify-content: flex-start;
    padding-top: 14px;
    font-size: .75rem;
    letter-spacing: .16em;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
  }
  .hh__coords { display: none; }
  .hh__title {
    left: 18px;
    right: 18px;
    bottom: 22px;
    top: auto;
    max-width: none;
    font-size: min(12vw, 3.9rem);
    text-shadow: 0 2px 40px rgba(0,0,0,.18);
  }
  .hh__panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 0;
    background: var(--ivory);
    box-shadow: none;
    border-top-left-radius: 0;
    padding: 22px 10px 6px;
    gap: 18px;
    animation: fadeUp 1s var(--ease-out) .9s both;
  }
  .hh__panel::before, .hh__panel::after { display: none; }
  .hh__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; order: -1; }
  .hh__ctas .btn { padding: 0 12px; min-height: 52px; font-size: .875rem; gap: 8px; }
  .hh__ctas .btn__arrow { width: 15px; height: 15px; }
  .hh__lede { font-size: 1rem; }
  .hh__facts { gap: 10px; }
  .hh__fact-big { font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .hh__ctas { grid-template-columns: 1fr; }
}

/* Careers collage: place the small photo at the bottom on desktop */
@media (min-width: 901px) {
  .hcr__media {
    padding-top: 0;
    padding-bottom: clamp(82px, 8vw, 120px);
  }
  .hcr__main {
    margin-left: clamp(70px, 5vw, 118px);
  }
  .hcr__inset {
    left: 0;
    top: auto;
    bottom: 0;
    width: clamp(210px, 18vw, 280px);
    border-width: 8px;
    border-radius: 18px;
  }
}

/* ================= SOLADA V8 TWO-POINT DESKTOP CORRECTION ================= */
@media (min-width: 901px) {
  /* Restore homepage hero composition to the earlier, cleaner version */
  .hh__frame {
    height: clamp(680px, 86vh, 900px);
    min-height: 680px;
  }
  .hh__media { inset: -8% 0; }
  .hh__media img {
    object-position: 50% 52%;
    filter: saturate(.92) contrast(1.02);
  }
  .hh__frame::after {
    background:
      linear-gradient(180deg, rgba(22,26,22,.34) 0%, rgba(22,26,22,.04) 34%),
      linear-gradient(0deg, rgba(22,26,22,.82) 0%, rgba(22,26,22,.22) 44%, rgba(22,26,22,0) 66%);
  }
  .hh__meta {
    left: clamp(20px,3.4vw,52px);
    right: clamp(20px,3.4vw,52px);
    top: calc(var(--header-h) + 22px);
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(247,244,238,.22);
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hh__title {
    left: clamp(20px,3.4vw,52px);
    bottom: clamp(30px,4.2vw,60px);
    max-width: 11ch;
    font-size: clamp(3.4rem,7.3vw,9.4rem);
    text-shadow: 0 2px 40px rgba(0,0,0,.18);
  }
  .hh__panel {
    right: var(--frame);
    bottom: 0;
    width: min(480px,35vw);
    gap: 22px;
    padding: 30px clamp(24px,2.4vw,38px) 28px clamp(26px,2.6vw,40px);
    background: var(--ivory);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .hh__lede { font-size: 1.0625rem; line-height: 1.6; }

  /* Careers: small supporting photo belongs at the bottom */
  .hcr__inset {
    top: auto;
    bottom: 24px;
    left: clamp(-32px,-2vw,-12px);
  }
}


/* ================= SOLADA V9 FINAL MOBILE TIDY + HERO LABELS ================= */
/* Hero labels: readable glass chips over both desktop and mobile photography */
.hh__meta {
  right: auto;
  width: max-content;
  max-width: calc(100% - 40px);
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
}
.hh__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(247,244,238,.30);
  border-radius: 999px;
  background: rgba(20,25,21,.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.36);
  white-space: nowrap;
}

@media (min-width: 901px) {
  .hh__meta {
    left: clamp(28px,3.4vw,54px);
    top: calc(var(--header-h) + 28px);
    font-size: .68rem;
    letter-spacing: .12em;
  }
}

@media (max-width: 900px) {
  .hh__meta {
    left: 16px;
    right: auto;
    top: calc(var(--header-h) + 12px);
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: auto;
    max-width: calc(100% - 32px);
    padding: 0;
    border: 0;
    background: none;
    font-size: clamp(.54rem, 2.35vw, .63rem);
    letter-spacing: .055em;
    line-height: 1;
  }
  .hh__meta span {
    min-height: 30px;
    padding: 0 8px;
  }
}

@media (max-width: 600px) {
  /* 1. Remove the dead green band before the Liverpool vision image */
  .hq {
    padding-top: 52px;
    padding-bottom: 18px;
  }
  .hq .quality__list { margin-bottom: 0; }
  .hq .q-item:last-child,
  .hq .q-item:nth-last-child(2) { padding-bottom: 12px; }

  /* 2. Careers chips: balanced 2 + 2 + 1 full row, no orphaned empty space */
  .hcr__content .tags {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
  }
  .hcr__content .tags .tag:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    justify-content: center;
    padding-inline: 12px;
  }

  /* 3. Small Homes collage: put the two supporting photos side-by-side */
  .hsm__collage {
    grid-template-areas:
      "main main"
      "star biscuit"
      "quote quote";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  .hsm__a { grid-area: main; }
  .hsm__c { grid-area: star; }
  .hsm__b { grid-area: biscuit; }
  .hsm__quote { grid-area: quote; }
  .hsm__c,
  .hsm__b {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0;
  }
  .hsm__b {
    border-width: 0;
    box-shadow: none;
  }
  .hsm__c img,
  .hsm__b img { object-fit: cover; }
  .hsm__quote {
    padding: 6px 4px 0;
    margin: 0;
    text-align: center;
  }
}

/* V10 mobile spacing polish: breathing room between Quality and Vision */
@media (max-width: 760px) {
  .hv {
    padding-top: 24px;
  }
}


/* ================= SOLADA V11 HERO SLOGAN ================= */
.hh__meta {
  position: absolute;
  z-index: 4;
  display: block;
  left: clamp(28px, 3.4vw, 54px);
  top: calc(var(--header-h) + 28px);
  right: auto;
  width: auto;
  max-width: calc(100% - 56px);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255,255,255,.98);
  font-family: var(--font-sans);
  font-size: clamp(.8rem, .92vw, .98rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,.42), 0 1px 2px rgba(0,0,0,.5);
}

.hh__meta span {
  display: none !important;
}

@media (max-width: 900px) {
  .hh__meta {
    left: 16px;
    top: calc(var(--header-h) + 14px);
    max-width: calc(100% - 32px);
    font-size: clamp(.68rem, 2.65vw, .82rem);
    letter-spacing: .065em;
    white-space: nowrap;
  }
}


/* ================= SOLADA V18 ISOLATED HERO SLOGAN =================
   Independent from the legacy .hh__meta rules so it cannot be hidden
   by older desktop/tablet/mobile overrides. Visible by default; motion
   is enhancement only. */
.hh__slogan {
  position: absolute;
  z-index: 5;
  top: clamp(120px, 14vh, 170px);
  right: clamp(38px, 5.2vw, 92px);
  width: min(34vw, 480px);
  margin: 0;
  color: #fffaf1;
  text-align: right;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  animation: soladaSloganEnter 1.15s cubic-bezier(.18,.82,.22,1) .35s both;
}
.hh__slogan::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 18px);
  width: clamp(38px, 4.5vw, 82px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,176,83,.95));
  transform-origin: right center;
  animation: soladaSloganRule 1.35s cubic-bezier(.18,.82,.22,1) .6s both;
}
.hh__slogan-line {
  display: block !important;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
  text-shadow: 0 3px 18px rgba(0,0,0,.58), 0 1px 3px rgba(0,0,0,.7);
}
.hh__slogan-line--one {
  font-size: clamp(1.65rem, 1.9vw, 2.35rem);
  line-height: 1;
  margin-bottom: .14em;
}
.hh__slogan-line--one em {
  color: #e6c47a;
  font-style: italic;
  text-shadow: 0 3px 18px rgba(0,0,0,.58), 0 0 18px rgba(218,176,83,.24);
  animation: soladaSloganGlow 4.8s ease-in-out 1.6s infinite alternate;
}
.hh__slogan-line--two {
  font-size: clamp(2.7rem, 3.35vw, 4.25rem);
  line-height: .95;
}
.hh__slogan-line--two em {
  color: #e6c47a;
  font-style: italic;
  text-shadow: 0 3px 18px rgba(0,0,0,.58), 0 0 18px rgba(218,176,83,.24);
  animation: soladaSloganGlow 4.8s ease-in-out 1.6s infinite alternate;
}
@keyframes soladaSloganEnter {
  from { transform: translate3d(0, 14px, 0) scale(.985); letter-spacing: .006em; }
  to   { transform: translate3d(0, 0, 0) scale(1); letter-spacing: 0; }
}
@keyframes soladaSloganRule {
  from { transform: scaleX(.15); }
  to   { transform: scaleX(1); }
}
@keyframes soladaSloganGlow {
  from { color: #e3c06f; }
  to   { color: #f1d99f; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .hh__slogan {
    top: calc(var(--header-h) + 44px);
    right: clamp(28px, 4vw, 54px);
    width: min(36vw, 390px);
  }
  .hh__slogan-line--one { font-size: clamp(1.3rem, 1.7vw, 1.75rem); }
  .hh__slogan-line--two { font-size: clamp(2.15rem, 3.1vw, 3.05rem); }
}

@media (max-width: 900px) {
  .hh__slogan {
    top: calc(var(--header-h) + 26px);
    left: 18px;
    right: 18px;
    width: auto;
    text-align: right;
    filter: drop-shadow(0 5px 16px rgba(0,0,0,.42));
  }
  .hh__slogan::before {
    right: auto;
    left: 0;
    top: 48%;
    width: clamp(32px, 12vw, 52px);
    background: linear-gradient(90deg, rgba(218,176,83,.95), transparent);
    transform-origin: left center;
  }
  .hh__slogan-line--one { font-size: clamp(1.08rem, 4.5vw, 1.38rem); }
  .hh__slogan-line--two { font-size: clamp(2rem, 8vw, 2.9rem); }
}

@media (max-width: 520px) {
  .hh__slogan {
    top: calc(var(--header-h) + 18px);
    left: 16px;
    right: 16px;
  }
  .hh__slogan::before { display: none; }
  .hh__slogan-line--one { font-size: .95rem; }
  .hh__slogan-line--two { font-size: clamp(2rem, 8.3vw, 2.55rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hh__slogan,
  .hh__slogan::before,
  .hh__slogan-line--one em,
  .hh__slogan-line--two em { animation: none !important; }
}


/* ================= SOLADA V21 CLIENT FEEDBACK / PRE-LIVE ================= */
.hs__head .reveal-lines .line + .line,
.hsm__intro .reveal-lines .line + .line,
.hv__title .line + .line { margin-top: .14em; }
.hsm__numeral { column-gap: clamp(18px, 1.5vw, 28px); }
.hsm__numeral small { white-space: nowrap; }
.development-note {
  margin-top: 24px; padding: 18px 20px; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 14px;
  border: 1px solid var(--rule-strong); border-radius: 14px; background: rgba(255,255,255,.55); color: var(--ink-soft);
}
.development-note svg { width: 24px; height: 24px; color: var(--olive); margin-top: 2px; }
.development-note strong { color: var(--ink); }
.application-shell { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(42px,6vw,94px); align-items: start; }
.application-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.application-form { display: grid; gap: 24px; }
.form-section { border: 1px solid var(--rule); border-radius: 18px; padding: clamp(20px,3vw,32px); background: rgba(255,255,255,.5); }
.form-section legend { padding: 0 10px; margin-left: -10px; font-family: var(--serif); font-size: clamp(1.45rem,1.1rem + .7vw,1.9rem); color: var(--olive); }
.form-section__hint { margin: 0 0 22px; max-width: 58em; }
.application-form__foot { padding-top: 4px; }
.application-form button[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.footer__status { margin-top: 10px; font-size: .82rem; line-height: 1.55; color: rgba(247,244,238,.68); max-width: 34em; }
@media (max-width: 900px) {
  .application-shell { grid-template-columns: 1fr; gap: 32px; }
  .application-intro { position: static; }
  .hs__head .reveal-lines .line + .line,
  .hsm__intro .reveal-lines .line + .line,
  .hv__title .line + .line { margin-top: .16em; }
  .hsm__numeral { column-gap: 18px; }
}
