/* ==========================================================================
   Jagdish Gorsia Lettings & Property Management
   main.css · tokens → base → layout → components → sections → motion → review
   Design notes: docs/03-creative-world.md · Interactions: docs/04-interaction-map.md
   ========================================================================== */

/* ---------------------------------------------------------------- fonts
   Both SIL Open Font License, self-hosted (no third-party requests). */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  /* Colour, taken from the environment: slate, river, valley, brick, stone */
  --slate-900: #18222b;
  --slate-800: #1f2b35;
  --slate-700: #2b3a46;
  --slate-600: #4a5965;
  --taff-700: #155652;
  --taff-600: #1c6b66;
  --taff-300: #79c4b7;
  --valley-600: #4c7a3d;
  --brick-700: #8f3822;
  --brick-600: #a8432a;
  --sand-100: #efe6d8;
  --mist-100: #e5ecea;
  --lime-50: #f7f4ee;
  --paper: #f4f0e8;
  --white: #fffdf9;
  --field-border: #6b7883; /* ≥3:1 against the field and the page (WCAG 1.4.11) */

  --ink: var(--slate-900);
  --ink-soft: var(--slate-600);
  --line: rgb(24 34 43 / 0.14);
  --line-strong: rgb(24 34 43 / 0.3);
  --line-light: rgb(244 240 232 / 0.16);
  --text-light-soft: rgb(244 240 232 / 0.78);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem; /* 17px */
  --text-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
  --text-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  --text-h2: clamp(2.1rem, 1.45rem + 2.9vw, 3.6rem);
  --text-hero: clamp(2.7rem, 1.5rem + 5.4vw, 6.3rem);

  /* Motion: a drone glide. Never bouncy. */
  --ease-glide: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-sash: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro: 180ms;
  --t-ui: 320ms;
  --t-reveal: 700ms;
  --t-line: 900ms;
  --stagger: 80ms;

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --section: clamp(72px, 10vw, 140px);
  --radius: 3px;
  --header-h: 72px;
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
/* .motion is set in <head> unless the visitor prefers reduced motion. Every animation hangs off it. */
html.motion { scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--lime-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
/* Zero specificity, so any component's own padding (e.g. .timeline, .trust) still applies. */
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

a { color: var(--taff-600); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.is-dark a:not(.btn) { color: var(--paper); }

:focus-visible { outline: 2px solid var(--taff-600); outline-offset: 3px; }
.is-dark :focus-visible { outline-color: var(--taff-300); }
main:focus { outline: none; }
::selection { background: var(--taff-300); color: var(--slate-900); }

/* ----------------------------------------------------------- typography */
h1, h2, h3, .h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
.h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.lead { font-size: var(--text-lead); line-height: 1.55; color: var(--ink-soft); max-width: 38em; }
.is-dark .lead { color: var(--text-light-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taff-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.is-dark .eyebrow { color: var(--taff-300); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  background: var(--slate-900);
  color: var(--paper);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- layout */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__text { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.125rem; max-width: 40em; }

/* ---------------------------------------------------------------- icons */
.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }

/* -------------------------------------------------------------- buttons */
.btn {
  --pad-x: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem var(--pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  translate: var(--tx, 0px) var(--ty, 0px);
  transition:
    background-color var(--t-micro) var(--ease-glide),
    border-color var(--t-micro) var(--ease-glide),
    color var(--t-micro) var(--ease-glide),
    translate var(--t-ui) var(--ease-glide);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon--arrow { transition: transform var(--t-micro) var(--ease-glide); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--brick-600); color: #fff; }
.btn--primary:hover { background: var(--brick-700); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgb(244 240 232 / 0.55); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); background: rgb(244 240 232 / 0.08); }
.btn--light { background: var(--paper); color: var(--slate-900); }
.btn--light:hover { background: #fff; }
.is-dark a.btn--light { color: var(--slate-900); }
.btn--sm { --pad-x: 1rem; min-height: 44px; font-size: var(--text-sm); }
.btn--lg { --pad-x: 1.6rem; min-height: 56px; font-size: var(--text-base); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--taff-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link .icon { transition: transform var(--t-micro) var(--ease-glide); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light, .is-dark .text-link { color: var(--taff-300); }
.is-dark a.text-link { color: var(--taff-300); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--paper);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slate-900);
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transition: opacity var(--t-ui) var(--ease-glide);
}
.site-header.is-solid::before,
.site-header--solid::before,
.site-header.is-open::before { opacity: 1; }
html:not(.js) .site-header::before { opacity: 0.92; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; margin-right: auto; min-height: 48px; color: inherit; text-decoration: none; }
.site-header a.brand { color: var(--paper); }
.brand__mark { width: 46px; height: auto; flex: none; }
.brand__mark path, .footer__mark path { stroke: currentColor; stroke-width: 6; }
.brand__mark .mono-river, .footer__mark .mono-river { stroke: var(--taff-300); }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__sub { margin-top: 0.2rem; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.82; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.site-nav a { position: relative; display: inline-block; padding-block: 0.6rem; color: var(--paper); font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-ui) var(--ease-glide);
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header-call { display: none; align-items: center; gap: 0.5rem; min-height: 44px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.site-header a.header-call { color: var(--paper); }
.header-call .icon { width: 18px; height: 18px; color: var(--taff-300); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
}
html:not(.js) .menu-toggle { display: none; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--t-ui) var(--ease-glide), background-color var(--t-micro);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.menu-panel {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--slate-900);
  animation: menu-in var(--t-ui) var(--ease-glide);
}
.menu-panel__list { display: grid; }
.menu-panel__list a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-decoration: none;
}
.menu-panel__actions { display: grid; gap: 0.75rem; margin-top: auto; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 720px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .menu-toggle, .menu-panel { display: none !important; }
}
@media (min-width: 1280px) { .header-call { display: inline-flex; } }

/* ------------------------------------------------------- entrance curtain */
.intro-curtain { display: none; }
html.intro .intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--slate-900);
  pointer-events: none;
  animation: sash-lift 500ms var(--ease-sash) 550ms both;
}
html.intro .intro-curtain::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--taff-300);
}
.intro-curtain__svg { width: clamp(96px, 13vw, 136px); height: auto; }
.intro-curtain__svg path { stroke: var(--paper); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-curtain__svg .mono-river { stroke: var(--taff-300); }
html.intro .intro-curtain .mono-j { animation: draw 420ms var(--ease-glide) 0ms forwards; }
html.intro .intro-curtain .mono-g { animation: draw 460ms var(--ease-glide) 90ms forwards; }
html.intro .intro-curtain .mono-river { animation: draw 380ms var(--ease-glide) 260ms forwards; }
html.intro-skip .intro-curtain { animation: fade-out 200ms linear both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sash-lift { from { transform: none; } to { transform: translateY(-100%); visibility: hidden; } }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  background: var(--slate-900);
  color: var(--paper);
}
.hero__media { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 0; }
.hero__media picture, .hero__media img, .hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video { opacity: 0; transition: opacity var(--t-line) var(--ease-glide); }
.hero__media video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(24 34 43 / 0.6) 0%, rgb(24 34 43 / 0) 24%),
    linear-gradient(0deg, rgb(24 34 43 / 0.9) 0%, rgb(24 34 43 / 0.5) 40%, rgb(24 34 43 / 0) 70%);
}
.hero__scrim::after { content: ""; position: absolute; inset: 0; background: var(--slate-900); opacity: var(--dim, 0); }
@media (min-width: 900px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgb(24 34 43 / 0.55) 0%, rgb(24 34 43 / 0) 22%),
      linear-gradient(90deg, rgb(24 34 43 / 0.75) 0%, rgb(24 34 43 / 0.38) 42%, rgb(24 34 43 / 0) 68%),
      linear-gradient(0deg, rgb(24 34 43 / 0.6) 0%, rgb(24 34 43 / 0) 48%);
  }
}
.hero__content { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(96px, 13vh, 136px); }
.hero__title { display: grid; gap: 1.1rem; font-weight: inherit; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 34em;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--taff-300); flex: none; }
.hero__display {
  display: block;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__line > span { display: block; }
.hero__sub { max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: rgb(244 240 232 / 0.92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__tenant {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.hero a.hero__tenant { color: var(--paper); }
.hero__tenant .icon { width: 1.1em; height: 1.1em; color: var(--taff-300); transition: transform var(--t-micro) var(--ease-glide); }
.hero__tenant:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.hero__tenant:hover .icon { transform: translateX(3px); }

.hero__meta { position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 40px); display: flex; align-items: center; gap: 0.6rem; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  background: rgb(24 34 43 / 0.55);
  border: 1px solid rgb(244 240 232 / 0.22);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--t-ui) var(--ease-glide);
}
.hero__tag .icon { width: 16px; height: 16px; color: var(--taff-300); }
.hero__tag.is-changing { opacity: 0; }
.hero__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.7rem;
  background: rgb(24 34 43 / 0.55);
  border: 1px solid rgb(244 240 232 / 0.22);
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero__toggle:hover { border-color: var(--paper); }
.hero__toggle .icon { width: 18px; height: 18px; }
.hero__toggle-icon--play, .hero__toggle.is-paused .hero__toggle-icon--pause { display: none; }
.hero__toggle.is-paused .hero__toggle-icon--play { display: inline-flex; }
.hero__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__toggle.has-text .hero__toggle-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
@media (max-width: 767px) {
  .hero__meta { top: calc(var(--header-h) + 12px); bottom: auto; }
}

/* ---------------------------------------------------------- proof strip */
.proof {
  position: relative;
  overflow: clip;
  padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 80px);
  background: var(--slate-800);
  color: var(--paper);
}
.river-thread { position: absolute; top: 0; left: 0; width: 100%; height: clamp(40px, 5.5vw, 80px); }
.river-thread path { fill: none; stroke: var(--taff-300); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.motion .river-thread path { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-glide); }
html.motion .proof.is-in .river-thread path, html.js-fail .river-thread path { stroke-dashoffset: 0; }

.stats { display: grid; gap: 1.75rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.stat { display: grid; align-content: start; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 2.3rem + 3.8vw, 5.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__plus { color: var(--taff-300); transition: opacity var(--t-ui) var(--ease-glide); }
.stat__label { max-width: 20em; color: var(--text-light-soft); }

.trust { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: clamp(40px, 5vw, 64px); padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.trust li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-light-soft); font-size: var(--text-sm); }
.trust .icon { width: 22px; height: 22px; color: var(--taff-300); }

/* --------------------------------------------------------------- approach */
.approach { background: var(--sand-100); }
.approach__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .approach__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.pillars { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.pillar { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.pillar .icon { width: 30px; height: 30px; margin-bottom: 0.9rem; color: var(--taff-600); }
.pillar h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }

/* --------------------------------------------------------------- services */
.services__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(24px, 3vw, 36px);
  background: var(--lime-50);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px circle at var(--sx, 50%) var(--sy, 50%), rgb(121 196 183 / 0.26), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-ui) var(--ease-glide);
}
.services.has-spotlight .service:hover::before { opacity: 1; }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.6rem; }
.service__icon { width: 36px; height: 36px; fill: none; stroke: var(--taff-600); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service__num { font-family: var(--font-display); font-size: var(--text-sm); color: var(--ink-soft); font-variant-numeric: lining-nums; }
.service__title { font-size: 1.375rem; }
.service__detail { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-ui) var(--ease-glide); }
.service__detail > div { min-height: 0; overflow: hidden; }
.service__detail p { padding-top: 0.15rem; color: var(--ink-soft); font-size: 1rem; }
.service__link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: var(--text-sm); font-weight: 600; }
.service__more { display: none; }
.services__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(32px, 4vw, 48px); }
.services__cta p { font-family: var(--font-display); font-size: var(--text-h3); }

@media (max-width: 767px) {
  html.js .service__detail { grid-template-rows: 0fr; }
  html.js .service:not(.is-open) .service__detail > div { visibility: hidden; transition: visibility 0s var(--t-ui); }
  html.js .service.is-open .service__detail { grid-template-rows: 1fr; }
  html.js .service__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    min-height: 44px;
    margin-top: -0.35rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--taff-600);
    font-size: var(--text-sm);
    font-weight: 600;
  }
  .service__more-icon { position: relative; width: 12px; height: 12px; }
  .service__more-icon::before, .service__more-icon::after {
    content: "";
    position: absolute;
    left: 0; top: 5.25px;
    width: 12px; height: 1.5px;
    background: currentColor;
    transition: transform var(--t-ui) var(--ease-glide);
  }
  .service__more-icon::after { transform: rotate(90deg); }
  .service.is-open .service__more-icon::after { transform: rotate(0deg); }
}

/* -------------------------------------------------------------------- HMO */
.hmo { background: var(--sand-100); }
.hmo__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hmo__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.hmo__art { width: 100%; max-width: 520px; margin-inline: auto; }
.hmo-art { width: 100%; height: auto; overflow: visible; }
.hmo-art__lines path { fill: none; stroke: var(--slate-900); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hmo-art__rooms { fill: none; stroke: var(--taff-600); stroke-width: 1.6; stroke-dasharray: 4 5; }
.hmo-art__keys circle { fill: var(--brick-600); }
.hmo-art__keys text { fill: #fff; font: 600 12px var(--font-body); text-anchor: middle; }
html.motion .hmo-art__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1300ms var(--ease-glide); transition-delay: calc(var(--i) * 70ms); }
html.motion .hmo-art__rooms { opacity: 0; transition: opacity var(--t-reveal) var(--ease-glide) 1000ms; }
html.motion .hmo-art__keys g { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity var(--t-ui) var(--ease-glide), transform var(--t-ui) var(--ease-glide); transition-delay: calc(1200ms + var(--i) * var(--stagger)); }
html.motion [data-draw].is-in .hmo-art__lines path, html.js-fail .hmo-art__lines path { stroke-dashoffset: 0; }
html.motion [data-draw].is-in .hmo-art__rooms, html.js-fail .hmo-art__rooms { opacity: 1; }
html.motion [data-draw].is-in .hmo-art__keys g, html.js-fail .hmo-art__keys g { opacity: 1; transform: none; }
.hmo__text .lead { margin-top: 1.25rem; }
.ticks { display: grid; gap: 0.65rem; margin-block: 1.75rem 2.25rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.85rem; }
.ticks li::before {
  content: "";
  flex: none;
  width: 14px; height: 8px;
  margin-top: 0.42em;
  border-left: 2px solid var(--valley-600);
  border-bottom: 2px solid var(--valley-600);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ areas */
.areas { background: var(--mist-100); }
.areas__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.taff-map { border: 1px solid var(--line); background: var(--lime-50); }
.taff-map__svg { width: 100%; height: auto; }
.taff-map__caption { padding: 0.6rem 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.8125rem; }
.map-paper { fill: var(--lime-50); }
.map-grid { fill: none; stroke: rgb(24 34 43 / 0.06); stroke-width: 1; }
.map-contours path { fill: none; stroke: rgb(76 122 61 / 0.3); stroke-width: 1.2; }
.map-water { fill: rgb(121 196 183 / 0.35); }
.map-water__label, .map-river__label { font: italic 500 13px var(--font-display); letter-spacing: 0.04em; fill: var(--taff-700); }
.map-river-base { fill: none; stroke: rgb(28 107 102 / 0.14); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-river { fill: none; stroke: var(--taff-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.map-pin { cursor: pointer; }
.map-pin__halo { fill: rgb(168 67 42 / 0.16); transform-box: fill-box; transform-origin: center; transition: transform var(--t-ui) var(--ease-glide), fill var(--t-ui) var(--ease-glide); }
.map-pin__dot { fill: var(--brick-600); stroke: var(--lime-50); stroke-width: 3; }
.map-pin__label { font: 600 15px var(--font-body); fill: var(--slate-900); paint-order: stroke; stroke: var(--lime-50); stroke-width: 4px; stroke-linejoin: round; }
.map-pin:hover .map-pin__halo, .map-pin.is-active .map-pin__halo { transform: scale(1.5); fill: rgb(168 67 42 / 0.24); }
html.motion .map-pin { opacity: 0; transition: opacity var(--t-ui) var(--ease-glide); }
html.motion .map-pin.is-shown, html.js-fail .map-pin { opacity: 1; }
.map-north path { fill: var(--slate-900); }
.map-north text, .map-scale text { font: 600 11px var(--font-body); letter-spacing: 0.08em; fill: var(--slate-600); }
.map-scale path { fill: none; stroke: var(--slate-600); stroke-width: 1.5; }

.area-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.area-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--t-micro), color var(--t-micro), border-color var(--t-micro);
}
.area-tab:hover { border-color: var(--ink); }
html.js .area-tab.is-active { background: var(--slate-900); border-color: var(--slate-900); color: var(--paper); }
.area-cards { display: grid; gap: 1.5rem; }
html.js .area-cards.is-enhanced { grid-template-areas: "stack"; }
html.js .area-cards.is-enhanced .area-card { grid-area: stack; opacity: 0; visibility: hidden; transition: opacity var(--t-ui) var(--ease-glide), visibility 0s var(--t-ui); }
html.js .area-cards.is-enhanced .area-card.is-active { opacity: 1; visibility: visible; transition: opacity var(--t-ui) var(--ease-glide); }
.area-card { background: var(--lime-50); border: 1px solid var(--line); }
.area-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-100); }
.area-card__media picture, .area-card__media img, .area-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.area-card__media figcaption {
  position: absolute;
  right: 0.5rem; bottom: 0.5rem;
  padding: 0.2rem 0.45rem;
  background: rgb(24 34 43 / 0.66);
  color: var(--paper);
  border-radius: 2px;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}
.area-card__body { display: grid; gap: 0.55rem; padding: 1.5rem; }
.area-card__coords { color: var(--ink-soft); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.area-card__title { font-size: 1.75rem; }
.area-card__body p:not(.area-card__coords) { color: var(--ink-soft); }
.areas__note { margin-top: 1.25rem; color: var(--ink-soft); font-size: var(--text-sm); }

/* Valley illustration (decorative, labelled "Illustration") */
.vv-sky { fill: #dde8e5; }
.vv-hill-back { fill: #b8ccae; }
.vv-hill { fill: #8fae7c; }
.vv-wall--r1 { fill: #b5715a; }
.vv-wall--r2 { fill: #cdbda7; }
.vv-wall--r3 { fill: #d8cbb7; }
.vv-roof { fill: #4a5965; }
.vv-roof--r2 { fill: #56656f; }
.vv-roof--r3 { fill: #63717b; }
.vv-win { fill: #18222b; opacity: 0.55; }
.vv-river { fill: #79c4b7; }

/* ------------------------------------------------------------ how it works */
.how { background: var(--lime-50); }
.timeline { position: relative; display: grid; gap: 2.25rem; padding-left: 3.5rem; }
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  left: 19px; top: 20px;
  width: 2px;
  height: var(--line-len, calc(100% - 40px));
  background: var(--line-strong);
}
.timeline::after { background: var(--taff-600); transform-origin: top; transform: scaleY(var(--p, 1)); }
html.motion .timeline::after { transform: scaleY(var(--p, 0)); }
.timeline__step { position: relative; }
.timeline__marker {
  position: absolute;
  z-index: 1;
  left: -3.5rem; top: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--lime-50);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  transition: background-color var(--t-ui) var(--ease-glide), border-color var(--t-ui) var(--ease-glide), color var(--t-ui) var(--ease-glide);
}
.timeline__step.is-lit .timeline__marker, html:not(.motion) .timeline__marker, html.js-fail .timeline__marker { background: var(--taff-600); border-color: var(--taff-600); color: #fff; }
.timeline__step h3 { margin-bottom: 0.4rem; padding-top: 0.35rem; font-size: 1.375rem; }
.timeline__step p { max-width: 24em; color: var(--ink-soft); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-left: 0; padding-top: 4.25rem; }
  .timeline::before, .timeline::after { left: 20px; top: 19px; width: var(--line-len, calc((100% - 6rem) * 0.75 + 6rem)); height: 2px; }
  .timeline::after { transform-origin: left; transform: scaleX(var(--p, 1)); }
  html.motion .timeline::after { transform: scaleX(var(--p, 0)); }
  .timeline__marker { left: 0; top: -4.25rem; }
}
html.js-fail .timeline::after { transform: none; }

/* -------------------------------------------------------------------- fees */
.fees { background: var(--white); }
.fees__grid { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .fees__grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.fees .section-head { margin-bottom: 0; }
.fee-list { margin: 0; border-top: 1px solid var(--line); }
.fee { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.fee dt { font-weight: 600; }
.fee dd { margin: 0; color: var(--taff-700); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.fees__subhead { margin: 2.25rem 0 0; font-size: 1.125rem; }
.trust--light { display: grid; gap: 0.65rem; margin-top: 1rem; padding-top: 0; border-top: 0; }
.trust--light li { color: var(--ink-soft); }
.trust--light .icon { color: var(--taff-600); }

/* -------------------------------------------------------------- complaints */
.complaints { background: var(--lime-50); border-top: 1px solid var(--line); }
.complaints__inner { max-width: 820px; }
.complaints__note { max-width: 62ch; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--text-sm); }

/* ------------------------------------------------------------------- rent */
.rent { background: var(--slate-900); color: var(--paper); }
.rent__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .rent__grid { grid-template-columns: 6fr 5fr; gap: 5rem; } }
.rent .lead { margin-top: 1.25rem; margin-bottom: 2rem; }
.rent__art { overflow: hidden; border: 1px solid var(--line-light); aspect-ratio: 5 / 3; }
.rent__art svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--sand-100); padding-bottom: calc(var(--section) + clamp(24px, 4vw, 56px)); }
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 7fr 4fr; gap: 4.5rem; align-items: start; } }
.contact .lead { margin-top: 1.1rem; }
.form-notice { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border-left: 3px solid var(--taff-600); background: rgb(255 253 249 / 0.6); font-size: var(--text-sm); }
.enquiry { display: grid; gap: 1.5rem; margin-top: 2rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; align-content: start; gap: 0.45rem; }
.field > label { font-size: var(--text-sm); font-weight: 600; }
.field__opt { color: var(--ink-soft); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color var(--t-micro) var(--ease-glide);
}
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318222B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-900); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--taff-600); outline-offset: 1px; border-color: var(--taff-600); }
.field [aria-invalid="true"] { border-color: var(--brick-600) !important; }
.field__hint { color: var(--ink-soft); font-size: 0.875rem; }
.field__error { color: var(--brick-700); font-size: 0.875rem; font-weight: 600; }
.field--check { display: flex; align-items: flex-start; gap: 0.75rem; }
.field--check input { flex: none; width: 24px; height: 24px; margin: 0.05rem 0 0; accent-color: var(--taff-600); }
.field--check label { font-size: var(--text-sm); font-weight: 400; }
.field--check .field__error { flex-basis: 100%; }
.field--check { flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status.is-error { color: var(--brick-700); }
.form-status.is-success { color: var(--taff-700); }
.form-status.is-info { color: var(--ink); font-weight: 500; padding: 0.9rem 1.1rem; border-left: 3px solid var(--taff-600); background: rgb(255 253 249 / 0.6); }

.switch { min-width: 0; margin: 0; padding: 0; border: 0; }
.switch legend { margin-bottom: 0.6rem; padding: 0; font-size: var(--text-sm); font-weight: 600; }
.switch__track {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 360px);
  padding: 4px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: var(--white);
}
.switch__input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.switch__option {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t-ui) var(--ease-glide);
}
.switch__input:checked + .switch__option { color: var(--paper); }
.switch__input:focus-visible + .switch__option { outline: 2px solid var(--taff-600); outline-offset: 3px; }
.switch__thumb {
  position: absolute;
  z-index: 0;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--radius);
  background: var(--slate-900);
  transition: transform var(--t-ui) var(--ease-glide);
}
#role-tenant:checked ~ .switch__thumb { transform: translateX(100%); }

.contact__aside { display: grid; gap: 1.5rem; }
.contact-card { padding: 1.75rem; background: var(--slate-900); color: var(--paper); }
.contact-card h3 { margin-bottom: 1.25rem; font-size: 1.5rem; }
.contact-list { display: grid; gap: 0.9rem; margin-bottom: 1rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.85rem; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 0.15rem; color: var(--taff-300); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.role-panels { display: grid; }
.role-panel { padding: 1.5rem; border: 1px solid var(--line-strong); }
.role-panel h3 { margin-bottom: 0.9rem; font-size: 1.3rem; }
.role-panel p { color: var(--ink-soft); }
html:not(.js) .role-panel + .role-panel { margin-top: 1rem; }
html.js .role-panels { grid-template-areas: "stack"; }
html.js .role-panel { grid-area: stack; opacity: 0; visibility: hidden; transition: opacity var(--t-ui) var(--ease-glide), visibility 0s var(--t-ui); }
html.js .role-panel.is-active { opacity: 1; visibility: visible; transition: opacity var(--t-ui) var(--ease-glide); }
.next-steps { display: grid; gap: 0.75rem; counter-reset: step; }
.next-steps li { display: flex; gap: 0.75rem; color: var(--ink-soft); counter-increment: step; }
.next-steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--taff-600);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ----------------------------------------------------------------- footer */
.site-footer { position: relative; padding-block: clamp(64px, 8vw, 104px) 2rem; background: var(--slate-900); color: var(--text-light-soft); }
.terraces { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(44px, 7vw, 108px); fill: var(--slate-900); }
.site-footer__inner { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; } }
.footer__mark { width: 64px; margin-bottom: 1.25rem; color: var(--paper); }
.site-footer__name { margin-bottom: 0.75rem; color: var(--paper); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.site-footer__h { margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taff-300); }
.site-footer__address { display: grid; gap: 0.5rem; }
.site-footer__list { display: grid; gap: 0.15rem; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 40px; }
.trust--footer { display: grid; gap: 0.6rem; margin: 0; padding: 0; border: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: 0.875rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__credits { flex-basis: 100%; opacity: 0.85; }

/* ------------------------------------------------------------- mobile bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--slate-900);
  border-top: 1px solid var(--line-light);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--t-ui) var(--ease-glide), visibility 0s var(--t-ui);
}
.mobile-bar.is-visible { transform: none; visibility: visible; transition: transform var(--t-ui) var(--ease-glide); }
.mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  border: 1px solid rgb(244 240 232 / 0.42);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar a.mobile-bar__btn { color: var(--paper); }
.mobile-bar a.mobile-bar__btn--primary { background: var(--brick-600); border-color: var(--brick-600); color: #fff; }
.mobile-bar .icon { width: 20px; height: 20px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ----------------------------------------------------- privacy, 404 pages */
.page { padding-block: calc(var(--header-h) + clamp(48px, 7vw, 96px)) calc(var(--section) + 40px); }
.page--center { min-height: 80vh; display: grid; align-items: center; }
.prose { max-width: 46rem; }
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.3rem; }
.prose__updated { margin-top: 3rem !important; color: var(--ink-soft); font-size: var(--text-sm); }
.draft-note { padding: 0.9rem 1.1rem; border-left: 3px solid var(--brick-600); background: var(--sand-100); }
.not-found { max-width: 40rem; }
.not-found .footer__mark { color: var(--slate-900); width: 72px; margin-bottom: 2rem; }
.not-found .lead { margin-top: 1.25rem; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ----------------------------------------------------------------- motion
   Hero entrance: pure CSS, gated on the .js flag set in <head>.
   With the entrance curtain, everything waits for the sash to start lifting. */
html { --intro-delay: 100ms; }
html.intro { --intro-delay: 450ms; }
html.motion .hero__line > span { animation: line-rise var(--t-line) var(--ease-glide) both; animation-delay: calc(var(--intro-delay) + var(--d, 0ms)); }
html.motion .hero__line + .hero__line > span { --d: 110ms; }
html.motion .hero__eyebrow { animation: fade-up var(--t-reveal) var(--ease-glide) both; animation-delay: var(--intro-delay); }
html.motion .hero__sub { animation: fade-up var(--t-reveal) var(--ease-glide) both; animation-delay: calc(var(--intro-delay) + 220ms); }
html.motion .hero__ctas { animation: fade-up 500ms var(--ease-glide) both; animation-delay: calc(var(--intro-delay) + 300ms); }
html.motion .hero__tenant { animation: fade-up 500ms var(--ease-glide) both; animation-delay: calc(var(--intro-delay) + 380ms); }
html.motion .hero__meta { animation: fade-in var(--t-reveal) var(--ease-glide) both; animation-delay: calc(var(--intro-delay) + 500ms); }
@keyframes line-rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Section reveals (added by main.js as each element enters the viewport) */
html.motion [data-reveal] { opacity: 0; transform: translateY(20px); }
html.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-reveal) var(--ease-glide), transform var(--t-reveal) var(--ease-glide);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
/* Failsafe: if main.js has not run within 4 s, show everything and undo the JS-only layouts. */
html.js-fail [data-reveal] { opacity: 1; transform: none; }
html.js-fail .service__detail { grid-template-rows: 1fr !important; }
html.js-fail .service__detail > div { visibility: visible !important; }
html.js-fail .service__more, html.js-fail .hero__toggle { display: none !important; }
html.js-fail .role-panels { grid-template-areas: none; gap: 1rem; }
html.js-fail .role-panel { grid-area: auto; opacity: 1; visibility: visible; }
html.js-fail .area-tab.is-active { background: none; border-color: var(--line-strong); color: var(--ink); }

/* Reduced motion: final states, instantly (unless ?motion=test forced motion on for QA). */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------ review mode
   Add ?review to the URL to outline everything awaiting the owner's confirmation. */
.review-only { display: none; }
html.review .review-only { display: block; padding: 0.75rem 1rem; border: 1px dashed var(--taff-300); color: var(--paper); flex-basis: 100%; }
html.review [data-confirm] { position: relative; outline: 2px dashed var(--brick-600) !important; outline-offset: 4px; }
html.review .is-dark [data-confirm], html.review .is-dark[data-confirm] { outline-color: #f08a6c !important; }
html.review [data-confirm]::after {
  content: "Owner to confirm: " attr(data-confirm);
  position: absolute;
  z-index: 30;
  left: 0; top: 100%;
  max-width: 340px;
  margin-top: 8px;
  padding: 0.35rem 0.55rem;
  border-radius: 2px;
  background: var(--brick-600);
  color: #fff;
  font: 600 0.75rem/1.35 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  pointer-events: none;
}
html.review body::before {
  content: "Review mode: dashed outlines mark items that need the owner’s confirmation.";
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 0.55rem 0.9rem;
  border-radius: 3px;
  background: var(--brick-600);
  color: #fff;
  font: 600 0.8125rem/1.35 var(--font-body);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}
