/* =====================================================================
   Kinswell Property — design system
   Layout: a 12-column editorial grid on white, with deep red-brown bands
   for brand moments. The thin vertical rule from the logo is the recurring
   motif (eyebrows, closing statements, key figures).
   Palette: the three brand colours only; tints are opacity of those.
   ===================================================================== */

:root {
  color-scheme: light;

  /* Brand colours (mandatory palette) */
  --brand: #3d1700;
  --white: #ffffff;
  --black: #000000;

  /* Opacity variations of the palette */
  --ink: var(--black);
  --ink-soft: rgb(0 0 0 / 0.74);
  --ink-muted: rgb(0 0 0 / 0.6);
  --rule: rgb(61 23 0 / 0.16);
  --rule-strong: rgb(61 23 0 / 0.38);
  --wash: rgb(61 23 0 / 0.04);
  --wash-strong: rgb(61 23 0 / 0.08);
  --field: rgb(0 0 0 / 0.36);
  --on-brand: var(--white);
  --on-brand-soft: rgb(255 255 255 / 0.8);
  --on-brand-muted: rgb(255 255 255 / 0.62);
  --on-brand-rule: rgb(255 255 255 / 0.22);
  --brand-hover: rgb(61 23 0 / 0.88);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.9rem, 1.6rem + 4.6vw, 5.9rem);
  --fs-display: clamp(2.6rem, 1.7rem + 3.4vw, 4.6rem);
  --fs-xl: clamp(2.3rem, 1.6rem + 2.4vw, 3.8rem);
  --fs-h2: clamp(2rem, 1.45rem + 1.9vw, 3.15rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem);
  --fs-h4: 1.3rem;
  --fs-lede: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.75rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 80rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);

  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 5.25rem;
  --top: env(safe-area-inset-top, 0px);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.on-brand :focus-visible,
.hero :focus-visible,
.band--brand :focus-visible,
.one :focus-visible,
.closing--brand :focus-visible { outline-color: var(--white); }

main:focus { outline: 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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand); color: var(--white);
  padding: 0.75rem 1.25rem; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: calc(var(--top) + 1rem); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.012em;
  font-weight: 500;
}
.display--hero { font-size: var(--fs-hero); line-height: 0.98; }

.heading {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.008em;
  color: var(--brand);
}
.heading--xl { font-size: var(--fs-xl); }
.heading--sm { font-size: var(--fs-h3); }
.heading--ink { color: var(--ink); }

.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}
.h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.005em; }

.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-soft); max-width: 40rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 1px;
  height: 1.6em;
  background: currentColor;
}
.eyebrow--light { color: var(--on-brand-soft); }

.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-small); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--white);
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 0.9375rem/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary:hover { --btn-bg: var(--black); --btn-bd: var(--black); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--rule-strong); }
.btn--secondary:hover { --btn-bd: var(--brand); --btn-bg: var(--wash); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--brand); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--on-brand-rule); }
.btn--ghost-light:hover { --btn-bd: var(--white); --btn-bg: rgb(255 255 255 / 0.06); }
.btn--text,
.btn--text-light {
  --btn-bg: transparent; --btn-bd: transparent;
  min-height: 2.75rem; padding: 0.5rem 0;
  --btn-fg: var(--brand);
  border-bottom-color: currentColor;
  border-radius: 0;
}
.btn--text-light { --btn-fg: var(--white); }
.btn--text .arrow,
.btn--text-light .arrow { transition: transform 0.25s var(--ease); }
.btn--text:hover .arrow,
.btn--text-light:hover .arrow { transform: translateX(4px); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem 1rem; align-items: center; margin-top: 2.25rem; }

.linklike {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--white); color: var(--brand); cursor: pointer;
}
.icon-btn:hover { border-color: var(--brand); }

/* ---------- Environment banner (staging / preview only) ---------- */

.env-banner {
  background: var(--black);
  color: var(--white);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.45rem var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: var(--top);
  z-index: 50;
  background: var(--white);
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header__brand { display: block; flex: none; }
.site-header .logo { width: auto; height: 2.75rem; transition: height 0.3s var(--ease); }
.site-header.is-compact { box-shadow: 0 10px 30px -24px rgb(0 0 0 / 0.5); }
.site-header.is-compact .site-header__bar { min-height: 4rem; }
.site-header.is-compact .logo { height: 2.2rem; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 1.8vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.15rem;
  height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand); }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.site-header__call,
.site-header__menu { display: none; }

.icon-swap .icon--close { display: none; }
[aria-expanded="true"] .icon-swap .icon--open { display: none; }
[aria-expanded="true"] .icon-swap .icon--close { display: block; }

.mnav {
  border-top: 1px solid var(--rule);
  background: var(--white);
  max-height: calc(100dvh - var(--header-h) - var(--top));
  overflow-y: auto;
}
.mnav__list { list-style: none; margin: 0; padding: 1rem 0; }
.mnav__link {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
}
.mnav__link[aria-current="page"] { color: var(--brand); }
.mnav__contact { display: grid; gap: 1.25rem; padding: 1.5rem 0 2.5rem; color: var(--ink-soft); }

@media (max-width: 68em) {
  .nav, .site-header__cta { display: none; }
  .site-header__call, .site-header__menu { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .site-header .logo { height: 2.3rem; }
  .site-header.is-compact .logo { height: 2rem; }
  :root { --header-h: 4.5rem; }
}

/* ---------- Media / illustration ---------- */

.media { margin: 0; position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--art { display: grid; }
.media--art svg { width: 100%; height: 100%; grid-area: 1 / 1; }
.media--dark { background: var(--brand); color: rgb(255 255 255 / 0.42); }
.media--light { background: var(--wash); color: rgb(61 23 0 / 0.55); }
.media__note {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  margin: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--rule);
  z-index: 1;
}
.media--dark .media__note { background: rgb(0 0 0 / 0.35); color: var(--on-brand-soft); border-color: var(--on-brand-rule); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  background: var(--brand);
  color: var(--white);
  isolation: isolate;
}
.hero > * { grid-area: 1 / 1; }
.hero__art { position: relative; z-index: -1; }
.hero__art .media { height: 100%; }
.hero__art::after {
  /* Overlay keeps white text readable over a photograph */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(61 23 0 / 0.94) 0%, rgb(61 23 0 / 0.78) 42%, rgb(61 23 0 / 0.18) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 0.28) 0%, transparent 40%);
}
.hero__art .media__note { position: relative; z-index: 2; }
.hero--home { min-height: clamp(36rem, 82vh, 54rem); }
.hero__inner {
  display: flex;
  align-items: flex-end;
  padding-block: clamp(6rem, 12vw, 9rem) clamp(4rem, 8vw, 6.5rem);
}
.hero__content { max-width: 46rem; }
.hero .display { color: var(--white); }
.hero--home .display { max-width: 12ch; }
.hero__lede {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--on-brand-soft);
}
.hero--inner { min-height: clamp(28rem, 60vh, 40rem); }
.hero--inner .display { font-size: var(--fs-display); max-width: 16ch; }
.hero--compact { min-height: clamp(22rem, 44vh, 30rem); }
.hero--compact .hero__inner { padding-block: clamp(4.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--wash { background: var(--wash); }
.section + .section:not(.section--wash):not(.band--brand) { border-top: 1px solid var(--rule); }
.section--flush-top { padding-top: 0; }

.section-intro { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 50rem; }
.section-intro--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
}
.section-intro__body { color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.6; max-width: 38rem; }
@media (min-width: 56em) {
  .section-intro--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
}

.band--brand { background: var(--brand); color: var(--white); }
.band--brand .heading { color: var(--white); }

.rule-mark { width: 1px; height: 4.5rem; background: var(--brand); }

/* Split: image and text */
.split {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.split__media .media { aspect-ratio: 4 / 5; max-width: 100%; }
.split__text { max-width: 36rem; }
.split__text p { color: var(--ink-soft); }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); }
  .split--reverse .split__media { order: 2; }
}

/* ---------- Service cards ---------- */

.cards-3 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.svc-card { display: flex; flex-direction: column; gap: 1.25rem; }
.svc-card .media { aspect-ratio: 4 / 3; }
.svc-card__body { display: flex; flex-direction: column; gap: 0.85rem; flex: 1; border-top: 1px solid var(--brand); padding-top: 1.25rem; }
.svc-card__body p { color: var(--ink-soft); margin: 0; }
.svc-card__body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Principles (numbered) ---------- */

.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-strong);
  counter-reset: none;
}
.principle { padding: 2rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: 0.75rem; }
.principle__num { font-family: var(--serif); font-size: 1.1rem; color: var(--brand); letter-spacing: 0.08em; }
.principle p { margin: 0; color: var(--ink-soft); }
@media (min-width: 40em) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 64em) {
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--rule); }
  .principle { padding: 2.25rem 2rem 2.5rem; border-bottom: 0; border-left: 1px solid var(--rule); }
  .principle:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Statement band ---------- */

.statement { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.statement .heading { max-width: 18ch; }
.statement p:not(.eyebrow) { color: var(--on-brand-soft); font-size: var(--fs-lede); max-width: 36rem; }
@media (min-width: 56em) {
  .statement { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
}

/* ---------- Closing CTA ---------- */

.closing__inner {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr);
}
.closing__text { color: var(--ink-soft); font-size: var(--fs-lede); margin-top: 1rem; max-width: 34rem; }
.closing .heading { color: var(--ink); }
.closing--brand { background: var(--brand); color: var(--white); }
.closing--brand .heading { color: var(--white); }
.closing--brand .closing__text { color: var(--on-brand-soft); }
.closing--brand .rule-mark { background: var(--white); }
@media (min-width: 56em) {
  .closing__inner { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
}

/* ---------- Service blocks (Landlord Services) ---------- */

.svc-block {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-top: 1px solid var(--rule-strong);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block__label { font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.svc-block__label strong { display: block; margin-top: 0.6rem; font-family: var(--serif); font-size: clamp(2.1rem, 1.6rem + 1.5vw, 3.1rem); font-weight: 500; letter-spacing: 0; line-height: 1.05; text-transform: none; color: var(--brand); overflow-wrap: anywhere; }
.svc-block__main > p { color: var(--ink-soft); max-width: 40rem; }
.svc-block__main .h3 { margin-bottom: 1.25rem; }
.svc-block__list-title { margin: 2rem 0 1rem; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.02em; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.tick-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.3rem;
  width: 0.7rem; height: 1px; background: var(--brand);
}
@media (min-width: 40em) { .tick-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.svc-block__note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--ink-muted); }
.svc-block__close { margin-top: 2rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--brand); font-style: italic; max-width: 34rem; }
@media (min-width: 56em) {
  .svc-block { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
}

/* ---------- Kinswell One ---------- */

.one {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--white);
  padding-block: clamp(5rem, 3rem + 8vw, 10rem);
  isolation: isolate;
}
.one__word {
  position: absolute;
  right: -0.06em;
  bottom: -0.22em;
  z-index: -1;
  font-family: var(--serif);
  font-size: clamp(11rem, 6rem + 26vw, 30rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(255 255 255 / 0.07);
  pointer-events: none;
  user-select: none;
}
.one__inner { max-width: 44rem; }
.one .display { color: var(--white); }
.one__body { margin-top: 1.75rem; color: var(--on-brand-soft); font-size: var(--fs-lede); }
.one__prompt { margin-top: 1.75rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; font-style: italic; }
.tm { font-size: 0.55em; vertical-align: super; font-family: var(--sans); letter-spacing: 0; }

/* ---------- Audience columns ---------- */

.audiences { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--rule-strong); }
.audience { padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.audience .h3 { margin-bottom: 0.75rem; }
.audience p { color: var(--ink-soft); margin: 0; }
@media (min-width: 56em) {
  .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
  .audience { border-bottom: 0; border-left: 1px solid var(--rule); padding: 2.5rem 2.25rem 2.75rem; }
  .audience:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Steps (a real sequence) ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
.step { position: relative; padding: 1.75rem 0 1.75rem 4.5rem; border-top: 1px solid var(--rule); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__num {
  position: absolute; left: 0; top: 1.5rem;
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--brand);
}
.step .h4 { margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 56em) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2.5rem; }
  .step { padding: 4.25rem 0 0; border-top: 1px solid var(--brand); border-bottom: 0 !important; }
  .step__num { top: 1.25rem; }
}

/* Timeline (management journey) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.timeline li { position: relative; padding: 0 0 1.75rem 2.25rem; }
.timeline li::before { content: ""; position: absolute; left: 0.32rem; top: 0.45rem; bottom: -0.45rem; width: 1px; background: var(--on-brand-rule); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 0.3rem; width: 0.7rem; height: 0.7rem; border: 1px solid var(--white); background: var(--brand); transform: rotate(45deg); }
.timeline li:last-child::after { background: var(--white); }
.timeline__label { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--white); }
.timeline__note { margin-top: 2.5rem; font-size: var(--fs-small); color: var(--on-brand-muted); }
@media (min-width: 56em) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .timeline li { padding: 2.25rem 1.5rem 0 0; }
  .timeline li::before { left: 0.7rem; right: 0; top: 0.32rem; bottom: auto; width: auto; height: 1px; }
  .timeline li::after { top: 0; }
}

/* ---------- Responsibilities grid ---------- */

.resp-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule-strong); }
.resp { display: grid; gap: 0.75rem; padding: 2.25rem 0; border-bottom: 1px solid var(--rule); }
.resp__num { font-family: var(--serif); font-size: 1.1rem; color: var(--brand); letter-spacing: 0.08em; }
.resp p { margin: 0; color: var(--ink-soft); }
.resp p + p { margin-top: 0.75rem; }
.resp__caveat { font-size: var(--fs-small); color: var(--ink-muted) !important; padding-left: 1rem; border-left: 1px solid var(--rule-strong); }
@media (min-width: 48em) {
  .resp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 72em) {
  .resp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3.5rem; }
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--rule-strong); max-width: 56rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  line-height: 1.3;
  font-weight: 600;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand); }
.faq__icon { position: relative; flex: none; width: 1rem; height: 1rem; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--brand);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 0 1.75rem; max-width: 46rem; color: var(--ink-soft); }

.faq-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64em) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ---------- Prose blocks ---------- */

.prose-cols { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.prose-cols p { color: var(--ink-soft); }
@media (min-width: 56em) { .prose-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.prose-cols__lead { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); line-height: 1.3; color: var(--ink) !important; }

/* ---------- Approvals (staging markers) ---------- */

.approval {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--brand);
  background: var(--wash);
  font-size: var(--fs-small);
  max-width: 48rem;
}
.approval__label { margin: 0; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brand); }
.approval__detail { margin: 0.4rem 0 0; color: var(--ink-soft); }
.approval-inline {
  display: inline-block;
  padding: 0 0.35em;
  border: 1px dashed var(--brand);
  background: var(--wash);
  color: var(--brand);
  font-size: 0.875em;
}
.verify-chip {
  display: inline-block;
  margin-left: 0.45em;
  padding: 0 0.4em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  vertical-align: 0.15em;
  opacity: 0.85;
}
.band--brand .approval, .one .approval { border-color: var(--white); background: rgb(255 255 255 / 0.06); }
.band--brand .approval__label, .one .approval__label { color: var(--white); }
.band--brand .approval__detail, .one .approval__detail { color: var(--on-brand-soft); }

/* ---------- Footer ---------- */

.site-footer { border-top: 3px solid var(--brand); background: var(--white); color: var(--ink); font-size: var(--fs-small); }
.footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem);
}
@media (min-width: 48em) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 68em) {
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 0; }
  .footer__brand { grid-column: auto; padding-right: 3rem; }
  .footer__col { padding-left: 3rem; border-left: 1px solid var(--rule); }
}
.footer__brand .logo { width: 15rem; height: auto; }
.footer__heading { font-family: var(--sans); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 1.5rem; }
.footer__label { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin: 0 0 0.75rem; }
.footer__muted { color: var(--ink-muted); }
.footer__dl { margin: 0; display: grid; gap: 1.25rem; }
.footer__dl dt { font-weight: 600; margin-bottom: 0.2rem; }
.footer__dl dd { margin: 0; color: var(--ink-soft); }
.footer__dl a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.footer__dl a:hover { border-color: var(--brand); color: var(--brand); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; max-width: 17rem; font-variant-numeric: tabular-nums; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.footer__links a { display: inline-block; padding: 0.4rem 0; text-decoration: none; }
.footer__links a:hover { color: var(--brand); text-decoration: underline; }

.creds { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cred {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 3.5rem; padding: 0.55rem 0.95rem;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  text-decoration: none; line-height: 1.3;
}
a.cred:hover { border-color: var(--brand); }
.cred__name { font-weight: 600; font-size: var(--fs-xs); color: var(--brand); letter-spacing: 0.02em; }
.cred__sub { font-size: 0.75rem; color: var(--ink-muted); }
.cred img { height: 2.1rem; width: auto; max-width: 7.5rem; object-fit: contain; }

.footer__social { margin-top: 0.5rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; }
.social a { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--rule-strong); color: var(--brand); border-radius: 50%; }
.social a:hover { border-color: var(--brand); background: var(--wash); }

.legal-strip { border-block: 1px solid var(--rule); padding-block: 1.1rem; }
.legal-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0; }
.legal-strip li { display: flex; align-items: center; }
.legal-strip li + li::before { content: ""; width: 1px; height: 0.9em; background: var(--rule-strong); margin-inline: 1rem; }
.legal-strip a, .legal-strip .linklike { font-size: var(--fs-xs); text-decoration: none; padding-block: 0.4rem; color: var(--ink-soft); }
.legal-strip a:hover, .legal-strip .linklike:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 40em) {
  .legal-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1rem; }
  .legal-strip li + li::before { display: none; }
}

.footer__statutory { background: var(--brand); color: var(--on-brand-soft); }
.statutory { padding-block: 2rem 2.5rem; display: grid; gap: 1.5rem; font-size: var(--fs-xs); line-height: 1.55; }
.statutory__copy { color: var(--white); margin: 0; }
.statutory__list { margin: 0; display: grid; gap: 0.9rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
.statutory__list dt { color: var(--on-brand-muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; }
.statutory__list dd { margin: 0.15rem 0 0; color: var(--white); }
.statutory__list a { color: var(--white); }
.statutory__note { display: block; color: var(--on-brand-muted); }
@media (min-width: 48em) { .statutory__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Consent ---------- */

.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  padding: 0 var(--gutter) calc(1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.consent__inner {
  pointer-events: auto;
  max-width: 64rem;
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--brand);
  box-shadow: 0 24px 60px -30px rgb(0 0 0 / 0.55);
}
.consent__title { font-family: var(--serif); font-size: 1.5rem; color: var(--brand); margin-bottom: 0.4rem; }
.consent__text p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; align-items: center; }
@media (min-width: 56em) { .consent__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

.prefs {
  width: min(36rem, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--brand);
  background: var(--white);
  color: var(--ink);
}
.prefs::backdrop { background: rgb(0 0 0 / 0.45); }
.prefs__form { padding: 1.75rem; display: grid; gap: 1.5rem; }
.prefs__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.prefs__set { border: 0; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.prefs__row { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.prefs__name { display: block; font-weight: 600; margin: 0 0 0.25rem; }
.prefs__desc { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.prefs__fixed { font-size: var(--fs-xs); color: var(--ink-muted); white-space: nowrap; padding-top: 0.15rem; }
.prefs__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.switch { position: relative; flex: none; width: 3rem; height: 1.6rem; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border: 1px solid var(--field); border-radius: 999px; background: var(--white); transition: background-color 0.2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--field); transition: transform 0.2s var(--ease), background-color 0.2s; }
.switch input:checked + .switch__track { background: var(--brand); border-color: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(1.38rem); background: var(--white); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label, .field .label { font-size: var(--fs-small); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-muted); margin: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 9rem; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-soft); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.field--invalid .input, .field--invalid .select, .field--invalid .textarea { border: 2px solid var(--brand); }
.field__error { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--fs-small); font-weight: 600; color: var(--brand); margin: 0; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 0.75rem; margin-top: 0.1rem; }
.field__error:empty { display: none; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-soft); }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.form__status { padding: 1rem 1.25rem; border-left: 3px solid var(--brand); background: var(--wash); font-size: var(--fs-small); }
.form__status:empty { display: none; }
.form__status strong { display: block; color: var(--brand); margin-bottom: 0.2rem; }
.error-summary { padding: 1.25rem 1.5rem; border: 2px solid var(--brand); }
.error-summary h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--brand); margin-bottom: 0.5rem; }
.error-summary ul { margin: 0; padding-left: 1.1rem; }
.error-summary a { color: var(--brand); font-weight: 500; }
.form__ref { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.85rem 1rem; background: var(--wash); border-left: 1px solid var(--brand); font-size: var(--fs-small); }
.form__ref strong { font-weight: 600; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64em) { .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); } }
.contact-methods { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); align-content: start; }
.contact-method { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.contact-method .icon { color: var(--brand); margin-top: 0.2rem; }
.contact-method__label { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 0.3rem; }
.contact-method__value { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; overflow-wrap: anywhere; }
.contact-method__value a { text-decoration: none; }
.contact-method__value a:hover { color: var(--brand); text-decoration: underline; }
.contact-method p.small { color: var(--ink-muted); margin-top: 0.4rem; }
.copy-btn { margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--brand); }
.form-panel { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border: 1px solid var(--rule); border-top: 3px solid var(--brand); }

/* ---------- Lettings ---------- */

.search {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
  box-shadow: 0 30px 60px -50px rgb(0 0 0 / 0.6);
}
.search__fields { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.search__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.search__toggle { display: none; }
@media (min-width: 40em) { .search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) {
  .search { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .search__fields { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 39.99em) {
  .search__toggle { display: inline-flex; }
  .search[data-collapsed="true"] .search__fields .field:not(:first-child) { display: none; }
}
.search-wrap { margin-top: clamp(-4rem, -5vw, -2.5rem); position: relative; z-index: 2; }
.results-bar { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: baseline; margin: 3rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.results-bar p { margin: 0; }
.results-count { font-family: var(--serif); font-size: 1.5rem; }

.listing-grid { display: grid; gap: 2.5rem var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44em) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.listing { display: flex; flex-direction: column; position: relative; }
.listing__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); }
.listing__media img, .listing__media .media { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.listing:hover .listing__media img { transform: scale(1.03); }
.status {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: 0.35rem 0.7rem;
  background: var(--white); color: var(--brand);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.status--let-agreed, .status--let { background: var(--brand); color: var(--white); }
.status--coming-soon { background: var(--black); color: var(--white); }
.demo-tag { position: absolute; top: 1rem; right: 1rem; z-index: 2; padding: 0.35rem 0.7rem; background: var(--black); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; }
.listing__body { display: grid; gap: 0.6rem; padding-top: 1.25rem; flex: 1; align-content: start; }
.listing__loc { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.listing__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; font-weight: 600; }
.listing__title a { text-decoration: none; }
.listing__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing__title a:hover { color: var(--brand); }
.listing__price { font-family: var(--serif); font-size: 1.65rem; color: var(--brand); margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.listing__price span { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--ink-muted); margin-left: 0.25rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; padding: 0.85rem 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: var(--fs-small); color: var(--ink-soft); }
.facts li { display: inline-flex; gap: 0.4rem; align-items: center; }
.facts .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.listing__cta { position: relative; z-index: 2; margin-top: 0.5rem; justify-self: start; }

.empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem);
  border: 1px solid var(--rule);
  background: var(--wash);
}
.empty .rule-mark { height: 3rem; }
.empty h3 { font-family: var(--serif); font-size: var(--fs-h3); color: var(--brand); }
.empty p { max-width: 36rem; color: var(--ink-soft); margin: 0; }

.preview-note { margin: 0 0 2rem; padding: 0.85rem 1.1rem; border: 1px dashed var(--brand); font-size: var(--fs-small); background: var(--wash); }

/* ---------- Property detail ---------- */

.crumbs { font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--ink-muted); padding-block: 1.5rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.demo-banner { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--black); color: var(--white); font-size: var(--fs-small); }
.demo-banner strong { letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--fs-xs); display: block; margin-bottom: 0.2rem; }

.prop-head { display: grid; gap: 1.5rem; padding-block: 2rem 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: end; }
.prop-head .display { font-size: var(--fs-xl); }
.prop-head__price { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); color: var(--brand); line-height: 1; font-variant-numeric: lining-nums; }
.prop-head__price small { display: block; font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 0.5rem; }
.prop-head__status { display: inline-block; margin-top: 0.75rem; padding: 0.3rem 0.65rem; border: 1px solid var(--brand); color: var(--brand); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 56em) { .prop-head { grid-template-columns: minmax(0, 1fr) auto; } .prop-head__aside { text-align: right; } }

.gallery { display: grid; gap: 0.75rem; }
.gallery__main { position: relative; aspect-ratio: 16 / 10; background: var(--wash); overflow: hidden; max-width: 100%; }
.gallery__main img, .gallery__main .media { width: 100%; height: 100%; object-fit: cover; }
.gallery__expand { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.55rem 0.9rem; background: var(--white); color: var(--brand); border: 0; font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: 0.06em; cursor: pointer; }
.gallery__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0.75rem; }
.gallery__thumb { display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 1px solid var(--rule); background: var(--wash); cursor: pointer; overflow: hidden; }
.gallery__thumb[aria-current="true"] { outline: 2px solid var(--brand); outline-offset: 2px; }
.gallery__thumb img, .gallery__thumb .media { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb .media__note { display: none; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / 0.94); color: var(--white); }
.lightbox::backdrop { background: rgb(0 0 0 / 0.94); }
.lightbox__inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; padding: calc(1rem + var(--top)) var(--gutter) calc(1rem + env(safe-area-inset-bottom, 0px)); gap: 1rem; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--fs-small); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; }
.lightbox__stage img, .lightbox__stage .media { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.lightbox__stage .media { width: min(100%, 70rem); aspect-ratio: 16 / 10; height: auto; }
.lightbox__nav { display: flex; justify-content: center; gap: 1rem; }
.lightbox .icon-btn { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.35); }

.prop-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: 3rem var(--section); }
@media (min-width: 64em) { .prop-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(3rem, 6vw, 5rem); } }
.prop-section { padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.prop-section:first-child { border-top: 0; padding-top: 0; }
.prop-section > h2 { font-family: var(--serif); font-size: var(--fs-h3); color: var(--brand); margin-bottom: 1.25rem; }
.prop-section p { color: var(--ink-soft); }

.keyfacts { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid var(--rule-strong); }
.keyfacts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.keyfacts dt { color: var(--ink-muted); font-size: var(--fs-small); }
.keyfacts dd { margin: 0; font-size: var(--fs-small); font-weight: 500; }
@media (min-width: 48em) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }

.epc { display: grid; gap: 0.35rem; max-width: 24rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.epc li { display: flex; align-items: center; height: 1.85rem; padding-left: 0.6rem; color: var(--white); font-weight: 600; font-size: var(--fs-xs); background: var(--brand); clip-path: polygon(0 0, calc(100% - 0.8rem) 0, 100% 50%, calc(100% - 0.8rem) 100%, 0 100%); }
.epc li[data-active="false"] { background: var(--wash-strong); color: var(--ink-muted); }
.epc li span { margin-left: auto; padding-right: 1.2rem; }

.aside-card { position: sticky; top: calc(var(--header-h) + var(--top) + 1.5rem); display: grid; gap: 1.25rem; padding: 1.75rem; border: 1px solid var(--rule); border-top: 3px solid var(--brand); }
.aside-card .h3 { color: var(--brand); }
.aside-card p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); }
.disclosures { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule-strong); }
.disclosures li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); display: grid; gap: 0.2rem; }
.disclosures strong { font-weight: 600; }
.disclosures span { color: var(--ink-soft); }

/* ---------- Legal / prose pages ---------- */

.legal-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--rule); background: var(--wash); }
.legal-hero .display { font-size: var(--fs-xl); color: var(--ink); max-width: 20ch; }
.legal-hero__meta { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--ink-muted); }
.legal-layout { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section); }
@media (min-width: 64em) { .legal-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(3rem, 6vw, 6rem); } }
.toc { font-size: var(--fs-small); align-self: start; }
@media (min-width: 64em) { .toc { position: sticky; top: calc(var(--header-h) + var(--top) + 2rem); } }
.toc__title { font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin: 0 0 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; text-decoration: none; color: var(--ink-soft); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.toc .linklike { margin-top: 1.5rem; display: inline-block; }

.prose { max-width: 44rem; font-size: 1.0625rem; color: var(--ink-soft); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.1rem); color: var(--ink); margin: 3rem 0 1rem; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); }
.prose .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--rule); max-width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 36rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule); }
.table thead th { background: var(--brand); color: var(--white); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.table tbody th { color: var(--ink); font-weight: 600; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.callout { margin: 2rem 0; padding: 1.5rem; border-left: 3px solid var(--brand); background: var(--wash); }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.5rem; }
.member-box { display: grid; gap: 1rem; margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--rule-strong); }
.member-box dl { margin: 0; display: grid; gap: 0.6rem; }
.member-box div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; }
.member-box dt { color: var(--ink-muted); font-size: var(--fs-small); }
.member-box dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 30em) { .member-box div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(5rem, 3rem + 8vw, 9rem); }
.notfound__code { font-family: var(--serif); font-size: clamp(6rem, 3rem + 12vw, 12rem); line-height: 0.9; color: var(--wash-strong); color: rgb(61 23 0 / 0.12); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.9s var(--ease) both; }
  .reveal--2 { animation-delay: 0.12s; }
  .reveal--3 { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0.35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print (legal pages should print cleanly) ---------- */

@media print {
  .site-header, .site-footer, .consent, .env-banner, .toc, .skip-link, .btn, .prefs { display: none !important; }
  .legal-hero { background: none; padding: 0 0 1rem; }
  .legal-layout { display: block; padding: 0; }
  .prose { max-width: none; color: #000; }
  a { color: #000; }
}
.listing__avail { margin: 0; font-size: var(--fs-small); color: var(--ink-muted); }
.actions--flush { margin-top: 0; }
.epc li:nth-child(1) { width: 40%; } .epc li:nth-child(2) { width: 50%; } .epc li:nth-child(3) { width: 60%; }
.epc li:nth-child(4) { width: 70%; } .epc li:nth-child(5) { width: 80%; } .epc li:nth-child(6) { width: 90%; } .epc li:nth-child(7) { width: 100%; }
.mt-lg { margin-top: 2rem; }
.mt-sm { margin-top: 0.75rem; }
.split__text .heading, .prose-cols .heading, .statement .heading { margin-bottom: 1.5rem; }
.split__text .lede { margin-bottom: 1.25rem; }
.gallery__slide { height: 100%; }
.gallery__slide > .media, .listing__media > .media, .gallery__thumb > .media { height: 100%; }
@media (max-width: 48em) {
  .hero__art::after { background: linear-gradient(0deg, rgb(61 23 0 / 0.55) 0%, rgb(61 23 0 / 0.86) 45%, rgb(61 23 0 / 0.92) 100%); }
}

/* ---------- Fixes after visual review ---------- */
[hidden] { display: none !important; }
.hero__art { position: absolute; inset: 0; }
.hero__art .media, .hero__art .media img, .hero__art .media svg { width: 100%; height: 100%; }
.hours-row > span { white-space: nowrap; }
.hours-row { max-width: 20rem; }
.contact-method__value { margin: 0; }
