/* Cleara — site styles. Colours and fonts come only from tokens.css variables. */

:root {
  --ink: var(--c-black);
  --ink-soft: color-mix(in srgb, var(--c-black) 74%, var(--c-ivory));
  --ink-faint: color-mix(in srgb, var(--c-black) 62%, var(--c-ivory));
  --rule: var(--c-ivory-dark);
  --rule-strong: color-mix(in srgb, var(--c-black) 18%, var(--c-ivory));
  --rule-gold: color-mix(in srgb, var(--c-gold) 55%, transparent);
  --ivory-soft: color-mix(in srgb, var(--c-ivory) 78%, var(--c-emerald));
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
h1, h2, h3, h4 {
  font-family: var(--f-heading);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-emerald); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--c-gold); }
::selection { background: var(--c-emerald); color: var(--c-ivory); }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--c-emerald); color: var(--c-ivory);
  padding: .75rem 1.25rem; font-size: .875rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.on-dark { background: var(--c-emerald); color: var(--c-ivory); }
.on-deep { background: var(--c-emerald-deep); color: var(--c-ivory); }
.on-stone { background: color-mix(in srgb, var(--c-ivory-dark) 55%, var(--c-ivory)); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--f-body); font-size: .72rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--c-emerald); margin: 0 0 1.5rem;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: var(--c-gold); }
.on-dark .eyebrow, .on-deep .eyebrow { color: var(--c-gold); }
.eyebrow--plain::before { display: none; }

.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; font-weight: 400; }
.display em, .h2 em { font-style: italic; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 400; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 500; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); max-width: 38em; }
.on-dark .lede, .on-deep .lede { color: var(--ivory-soft); }
.muted { color: var(--ink-soft); }
.on-dark .muted, .on-deep .muted { color: var(--ivory-soft); }
.small { font-size: .875rem; }
.numeral {
  font-family: var(--f-heading); font-style: italic; font-weight: 400;
  font-size: 1.25rem; color: var(--c-emerald); letter-spacing: .04em;
}
.on-dark .numeral, .on-deep .numeral { color: var(--c-gold); }

/* Fine-line ornament (rule · diamond · rule) */
.orn { width: 120px; height: 12px; color: var(--c-gold); }
.orn--center { margin: 0 auto 2rem; }
.rule-gold { border: 0; height: 1px; background: var(--c-gold); width: 4rem; margin: 2rem 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.25rem; padding: .9rem 1.75rem;
  font-family: var(--f-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--c-emerald); background: var(--c-emerald); color: var(--c-ivory);
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--c-emerald-deep); border-color: var(--c-emerald-deep); }
.btn--ghost { background: transparent; color: var(--c-emerald); }
.btn--ghost:hover { background: var(--c-emerald); color: var(--c-ivory); }
.on-dark .btn, .on-deep .btn { background: transparent; border-color: var(--c-gold); color: var(--c-ivory); }
.on-dark .btn:hover, .on-deep .btn:hover { background: var(--c-gold); color: var(--c-black); }
.on-dark .btn--solid, .on-deep .btn--solid { background: var(--c-gold); color: var(--c-black); }
.on-dark .btn--solid:hover, .on-deep .btn--solid:hover { background: var(--c-ivory); border-color: var(--c-ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--c-emerald);
  border-bottom: 1px solid var(--c-gold); padding-bottom: .35rem;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow, .on-deep .link-arrow { color: var(--c-ivory); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-ivory);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav__list { display: flex; gap: 2.25rem; }
.nav__list a {
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: .5rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 2.75rem; padding: .65rem 1.25rem; font-size: .72rem; }

.nav-toggle {
  display: none; align-items: center; gap: .75rem;
  background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font: 500 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.nav-toggle__bars { position: relative; width: 26px; height: 9px; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .site-header__inner { height: 72px; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-ivory); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--rule); }
  .nav__list a {
    display: block; padding: 1.1rem 0;
    font-family: var(--f-heading); font-size: 1.6rem; font-weight: 400;
    letter-spacing: 0; text-transform: none;
  }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--c-emerald); font-style: italic; }
  .nav .btn { margin-top: 1.5rem; min-height: 3.25rem; }
}

/* ---------- Photo placeholders ----------
   Swap a .ph figure for <img src="/img/…" alt="…" loading="lazy" width height> when photos exist. */
.ph {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; width: 100%;
  background: linear-gradient(160deg, var(--c-emerald) 0%, var(--c-emerald-deep) 100%);
  color: var(--ivory-soft);
  display: grid; place-items: center; text-align: center;
}
.ph::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--rule-gold); pointer-events: none;
}
.ph figcaption, .ph__label {
  position: relative; max-width: 80%;
  font-family: var(--f-body); font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.9;
}
.ph__label::before {
  content: ""; display: block; width: 9px; height: 9px; margin: 0 auto 1.1rem;
  border: 1px solid var(--c-gold); transform: rotate(45deg);
}
.ph--ivory {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c-ivory-dark) 70%, var(--c-ivory)) 0%, var(--c-ivory-dark) 100%);
  color: var(--c-emerald);
}
.ph--ivory::before { border-color: color-mix(in srgb, var(--c-emerald) 22%, transparent); }
.ph--ivory .ph__label::before { border-color: var(--c-emerald); }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph--tall { aspect-ratio: 3 / 4; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero h1 { margin-bottom: 1.75rem; }
.hero .lede { max-width: 34em; }
.hero .ph { aspect-ratio: 4 / 5; }
.hero .ph { background: linear-gradient(160deg, color-mix(in srgb, var(--c-emerald) 70%, var(--c-emerald-deep)) 0%, var(--c-emerald-deep) 100%); }
.hero__aside { position: relative; }
.hero__aside::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 55%; height: 55%;
  border-right: 1px solid var(--c-gold); border-bottom: 1px solid var(--c-gold); pointer-events: none;
}

.page-hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.page-hero .display { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 15em; }
.page-hero .lede { margin-top: 1.5rem; }

.area-strip { border-top: 1px solid var(--rule-gold); }
.area-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 0;
  padding: 1.35rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory-soft);
}
.area-strip li { display: flex; align-items: center; }
.area-strip li + li::before {
  content: ""; width: 5px; height: 5px; margin: 0 1.6rem; border: 1px solid var(--c-gold); transform: rotate(45deg);
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head .h2 { margin: 0; }
.section-head p { margin: 0; }
.section-head--center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: var(--c-gold); }
.section-head--center .lede { margin: 1.25rem auto 0; }

/* ---------- Promises (The Cleara Standard) ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-gold); }
.promise { padding: 2.25rem 2rem 0 0; }
.promise + .promise { padding-left: 2rem; border-left: 1px solid var(--rule); }
.promise .numeral { display: block; margin-bottom: 1.5rem; }
.promise h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.promise p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Service menu (home) ---------- */
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); }
.menu li { border-top: 1px solid var(--rule-gold); }
.menu li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-gold); }
.menu a {
  display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.6rem 0; text-decoration: none; color: inherit;
}
.menu .numeral { font-size: 1.1rem; }
.menu__name { font-family: var(--f-heading); font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.2; }
.menu__note { display: block; font-family: var(--f-body); font-size: .9rem; color: var(--ivory-soft); margin-top: .35rem; line-height: 1.5; }
.menu__arrow { color: var(--c-gold); transition: transform .3s var(--ease); }
.menu a:hover .menu__arrow { transform: translateX(5px); }
.menu a:hover .menu__name { font-style: italic; }

/* ---------- Clients ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.clients li {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: baseline;
  padding: 1.35rem 0; border-top: 1px solid var(--rule-strong);
}
.clients li:last-child { border-bottom: 1px solid var(--rule-strong); }
.clients strong { font-family: var(--f-heading); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.clients span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.area { padding: 0 2rem 0 0; }
.area + .area { padding-left: 2rem; border-left: 1px solid var(--rule-strong); }
.area__mark { width: 100%; height: 1px; background: var(--c-gold); margin-bottom: 1.75rem; max-width: 3rem; }
.area h3 { font-size: 1.65rem; margin-bottom: 1rem; }
.area h3 span { display: block; font-family: var(--f-body); font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .6rem; }
.area p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; counter-reset: step; }
.step { border-top: 1px solid var(--rule-gold); padding-top: 1.75rem; }
.step .numeral { display: block; font-size: 2.6rem; line-height: 1; margin-bottom: 1.25rem; }
.step h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta .h2 { max-width: 16em; margin: 0 auto 1.25rem; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.cta .lede { margin: 0 auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Services page ---------- */
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; border-top: 1px solid var(--c-gold); }
.toc a {
  display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; font-family: var(--f-heading); font-size: 1.3rem;
}
.toc a:hover { font-style: italic; }
.toc .numeral { font-size: 1rem; min-width: 2.5rem; }

.service { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--rule); scroll-margin-top: 84px; }
.service:nth-of-type(even) { background: color-mix(in srgb, var(--c-ivory-dark) 40%, var(--c-ivory)); }
.service__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.service--flip .service__media { order: -1; }
.service--flip .service__grid { grid-template-columns: 5fr 7fr; }
.service .numeral { display: block; margin-bottom: 1rem; font-size: 1.15rem; }
.service h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; margin-bottom: 1.25rem; }
.service__body > p { color: var(--ink-soft); max-width: 36em; }
.scope { margin: 2rem 0 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.scope li { position: relative; padding: .7rem 0 .7rem 1.5rem; border-bottom: 1px solid var(--rule-strong); font-size: .95rem; }
.scope li::before {
  content: ""; position: absolute; left: 0; top: 1.3rem; width: 5px; height: 5px;
  border: 1px solid var(--c-emerald); transform: rotate(45deg);
}
.fit { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1.75rem; }
.fit strong { font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.note {
  font-size: .88rem; color: var(--ink-soft); border-left: 1px solid var(--c-gold);
  padding: .2rem 0 .2rem 1rem; margin: 0 0 1.75rem;
}

/* ---------- About ---------- */
.prose h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 400; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { margin: 0 0 1.25rem; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px;
  border: 1px solid var(--c-emerald); transform: rotate(45deg);
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.principle { border-top: 1px solid var(--rule-gold); padding-top: 1.75rem; }
.principle h3 { font-size: 1.55rem; margin: .75rem 0 .6rem; }
.principle p { margin: 0; font-size: .96rem; }
.facts { border-top: 1px solid var(--c-gold); }
.facts div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule-strong); }
.facts dt { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); padding-top: .3rem; }
.facts dd { margin: 0; font-family: var(--f-heading); font-size: 1.35rem; line-height: 1.35; }
.facts dd a { text-decoration: none; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .55rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--c-emerald); }
.field .hint { font-size: .8rem; color: var(--ink-soft); letter-spacing: 0; text-transform: none; font-weight: 400; }
.input, .field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--f-body); color: var(--ink);
  background: color-mix(in srgb, var(--c-ivory) 60%, var(--c-ivory-dark));
  border: 1px solid var(--rule-strong); border-radius: 0;
  padding: .85rem 1rem; min-height: 3.1rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--c-emerald) 50%), linear-gradient(135deg, var(--c-emerald) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - .95rem) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--c-emerald); outline-offset: 0; border-color: var(--c-emerald);
  background: var(--c-ivory);
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.5rem; margin-top: .4rem; }
.check { display: flex; align-items: flex-start; gap: .75rem; padding: .55rem 0; font-size: .95rem; cursor: pointer; line-height: 1.45; }
.check input {
  flex: 0 0 auto; width: 1.1rem; height: 1.1rem; min-height: 0; margin: .15rem 0 0; padding: 0;
  border: 1px solid var(--ink-faint); background: var(--c-ivory); display: grid; place-content: center;
}
.check input::before { content: ""; width: .55rem; height: .55rem; background: var(--c-emerald); transform: scale(0); transition: transform .15s var(--ease); }
.check input:checked { border-color: var(--c-emerald); }
.check input:checked::before { transform: scale(1); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: .5rem; }
.form__foot p { margin: 0; font-size: .82rem; color: var(--ink-soft); max-width: 30em; }

.panel { background: var(--c-emerald); color: var(--c-ivory); padding: clamp(2rem, 4vw, 3rem); position: relative; }
.panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--rule-gold); pointer-events: none; }
.panel h2 { font-size: 1.9rem; font-weight: 400; }
.panel dl { margin: 1.5rem 0 0; }
.panel dt { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold); margin-top: 1.4rem; }
.panel dd { margin: .3rem 0 0; font-family: var(--f-heading); font-size: 1.35rem; }
.panel dd a { text-decoration: none; }
.panel ol { margin-top: 1.25rem; counter-reset: n; }
.panel ol li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; padding: .7rem 0; border-top: 1px solid var(--rule-gold); font-size: .93rem; color: var(--ivory-soft); }
.panel ol li::before { content: counter(n, upper-roman); font-family: var(--f-heading); font-style: italic; color: var(--c-gold); font-size: 1.05rem; }

/* ---------- Simple pages ---------- */
.notice {
  border: 1px solid var(--c-emerald); padding: 1rem 1.25rem; font-size: .9rem; margin: 0 0 2.5rem;
  background: color-mix(in srgb, var(--c-ivory-dark) 45%, var(--c-ivory));
}
.center-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: var(--section) 0; }
.center-page .display { margin-bottom: 1.5rem; }
.center-page .lede { margin: 0 auto; }
.center-page .btn-row { justify-content: center; }
.big-numeral { font-family: var(--f-heading); font-style: italic; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--c-gold); margin-bottom: 1rem; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-emerald-deep); color: var(--ivory-soft); font-size: .92rem; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding: clamp(4rem, 7vw, 5.5rem) 0 3.5rem; border-top: 1px solid var(--c-gold); }
.site-footer .brand img { height: 40px; }
.site-footer__tag { font-family: var(--f-heading); font-style: italic; font-size: 1.4rem; color: var(--c-ivory); margin: 1.5rem 0 0; line-height: 1.35; max-width: 14em; }
.site-footer h2 { font-family: var(--f-body); font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--c-gold); margin: .5rem 0 1.25rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-ivory); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--rule-gold); font-size: .78rem; letter-spacing: .04em;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.site-footer__bottom li { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise { padding-bottom: 2.25rem; }
  .areas { grid-template-columns: 1fr 1fr; gap: 3rem 0; }
  .area:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .toc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .split, .split--even, .service__grid, .service--flip .service__grid, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .section-head { gap: 1.25rem; }
  .hero__aside { max-width: 420px; }
  .hero .ph { aspect-ratio: 5 / 4; }
  .hero__aside::after { right: -10px; bottom: -10px; }
  .service--flip .service__media { order: 0; }
  .service .ph { aspect-ratio: 16 / 10; }
  .menu { grid-template-columns: 1fr; }
  .menu li:nth-last-child(2) { border-bottom: 0; }
  .principles { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .promises, .areas, .steps, .toc, .scope, .checks, .form { grid-template-columns: 1fr; }
  .promise, .promise + .promise, .area, .area + .area { padding: 1.75rem 0; border-left: 0; }
  .promise + .promise, .area + .area { border-top: 1px solid var(--rule); }
  .promise:last-child { padding-bottom: 0; }
  .areas { gap: 0; }
  .area + .area { border-top-color: var(--rule-strong); }
  .steps { gap: 2rem; }
  .clients li { grid-template-columns: 1fr; gap: .25rem; }
  .facts div { grid-template-columns: 1fr; gap: .25rem; }
  .site-footer__top { grid-template-columns: 1fr; gap: 2.25rem; }
  .area-strip li + li::before { margin: 0 .9rem; }
  .area-strip ul { letter-spacing: .18em; font-size: .66rem; }
  .btn-row .btn { width: 100%; }
  .menu a { grid-template-columns: 2.5rem 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
  body { background: none; }
}
.pt-0 { padding-top: 0; }
.field .check { font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field legend { padding: 0; margin-bottom: .55rem; }
@media (min-width: 861px) { .panel { position: sticky; top: 112px; } }

/* ---------- Palette A (60-30-10): light-blue sections ----------
   .on-blue = the 30% Light Blue sections. Emerald stays for buttons, the area strip, CTA and footer (the 10%). */
.on-blue { background: var(--c-ivory-dark); color: var(--c-emerald); }
.on-blue .eyebrow { color: var(--c-emerald); }
.on-blue .eyebrow::before, .on-blue .eyebrow::after { background: var(--c-emerald); }
.on-blue .lede, .on-blue .muted { color: color-mix(in srgb, var(--c-emerald) 82%, var(--c-ivory-dark)); }
.on-blue .numeral, .on-blue .menu__arrow { color: var(--c-emerald); }
.on-blue .btn--solid { background: var(--c-emerald); border-color: var(--c-emerald); color: #fff; }
.on-blue .btn--solid:hover { background: var(--c-emerald-deep); border-color: var(--c-emerald-deep); }
.on-blue .btn:not(.btn--solid) { background: transparent; border-color: var(--c-emerald); color: var(--c-emerald); }
.on-blue .btn:not(.btn--solid):hover { background: var(--c-emerald); color: #fff; }
.on-blue .hero__aside::after { border-color: var(--c-emerald); }
.on-blue [class*="rule"], .on-blue .menu li, .on-blue .menu a { border-color: color-mix(in srgb, var(--c-emerald) 22%, transparent); }
.page-hero { background: var(--c-ivory-dark); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--c-emerald); }
body { background: var(--c-ivory); }
.on-blue .menu__note { color: color-mix(in srgb, var(--c-emerald) 75%, var(--c-ivory-dark)); }

/* =========================================================
   Motion: hero building animation, scroll reveals, marquee.
   Everything is switched off for visitors who prefer reduced motion.
   ========================================================= */
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }
.hero__aside::after { display: none; }

/* building rises in, lights switch on one by one, arc draws, cleaner works, floor shines */
.ha-building { animation: ha-rise 1.1s cubic-bezier(.2,.7,.2,1) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ha-light { opacity: .12; animation: ha-on .5s ease-out forwards; }
.ha-light:nth-of-type(1) { animation-delay: 1.0s; }
.ha-light:nth-of-type(2) { animation-delay: 1.25s; }
.ha-light:nth-of-type(3) { animation-delay: 1.5s; }
.ha-arc { transform-box: fill-box; transform-origin: 50% 50%; animation: ha-draw 1.2s cubic-bezier(.6,0,.2,1) .5s both; }
.ha-cleaner { animation: ha-work 7s ease-in-out 1.6s infinite; }
.ha-shine { animation: ha-shine 4.5s ease-in-out 2s infinite; }
@keyframes ha-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ha-on { 0% { opacity: .12; } 40% { opacity: 1; } 55% { opacity: .4; } 100% { opacity: 1; } }
@keyframes ha-draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes ha-work { 0%, 100% { transform: translateX(-62px); } 50% { transform: translateX(18px); } }
@keyframes ha-shine { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(470px); } }

/* hero text: lines slide up in sequence on load */
.hero .eyebrow, .hero h1, .hero .lede, .hero .btn-row { animation: rise-in .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .15s; } .hero .lede { animation-delay: .3s; } .hero .btn-row { animation-delay: .45s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* scroll reveal (classes added by js/motion.js) */
.js-motion .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* header shrinks + gets a shadow once you scroll */
.site-header { transition: box-shadow .3s, background-color .3s; }
.site-header__inner { transition: height .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 20, 15, .08); }
.site-header.is-scrolled .site-header__inner { height: 66px; }

/* city strip becomes an endless marquee */
.area-strip.is-marquee { overflow: hidden; }
.area-strip.is-marquee .wrap { max-width: none; padding: 0; }
.area-strip.is-marquee ul { display: flex; flex-wrap: nowrap; width: max-content; justify-content: flex-start; animation: marquee 28s linear infinite; }
.area-strip.is-marquee li { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* service rows: line sweeps in on hover */
.menu a { position: relative; transition: padding-left .35s cubic-bezier(.2,.7,.2,1); }
.menu a:hover { padding-left: .6rem; }

/* buttons: soft lift */
.btn { transition: transform .25s, box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 59, 46, .18); }

@media (prefers-reduced-motion: reduce) {
  .ha-building, .ha-light, .ha-arc, .ha-cleaner, .ha-shine,
  .hero .eyebrow, .hero h1, .hero .lede, .hero .btn-row, .area-strip.is-marquee ul { animation: none !important; opacity: 1 !important; transform: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
}
/* hero art sits on a white card so it stands out from the light-blue hero */
.hero__grid { grid-template-columns: 1fr 1.12fr; }
.hero-art { background: #fff; border-radius: 22px; padding: clamp(14px, 2.4vw, 32px); box-sizing: border-box;
  box-shadow: 0 30px 60px -28px rgba(13, 59, 46, .35), 0 2px 6px rgba(13, 59, 46, .06); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__aside { max-width: 560px; } }

/* About: Clean + Clear = Cleara */
.name-eq { display: flex; align-items: flex-start; gap: clamp(1.5rem, 4vw, 4rem); margin: 2.5rem 0; flex-wrap: wrap; }
.name-word { display: block; font-family: var(--f-heading); font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1; color: var(--c-emerald); }
.name-x { font-style: italic; color: color-mix(in srgb, var(--c-emerald) 55%, var(--c-ivory)); }
.name-cap { display: block; margin-top: .8rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); max-width: 18rem; }
.name-plus { font-family: var(--f-heading); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--c-emerald); opacity: .6; line-height: 1.2; }
