/* LCH Consultancy — editorial interior pages
   Shared with the approved home direction: one typeface, restrained colour,
   hairline structure, short motion and no generic card grids. */

:root {
  --surface-mist-page: var(--surface-mist);
  --surface-sand-page: var(--surface-sand);
  --line: rgba(21, 26, 31, 0.22);
  --line-inverse: rgba(247, 247, 242, 0.22);
  --section-edge: clamp(24px, 5vw, 72px);
}

body[data-page] {
  background: var(--surface);
}

.site-chrome {
  position: absolute;
  inset: 0 0 auto;
  z-index: var(--z-menu);
  height: 110px;
  pointer-events: none;
}

.site-chrome .hero__brand,
.site-chrome .menu-shell {
  pointer-events: auto;
}

.site-chrome .hero__brand {
  top: clamp(24px, 3vw, 36px);
}

body[data-page="legal"] .site-chrome .hero__brand img,
body[data-page="testimonials"] .site-chrome .hero__brand img {
  filter: invert(1);
  mix-blend-mode: normal;
}

.menu-navigation {
  gap: 8px;
}

.menu-navigation a {
  position: relative;
}

.menu-navigation a[aria-current="page"] {
  background: var(--menu-row-active);
  font-weight: 600;
}

.menu-navigation a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: var(--menu-indicator);
}

.menu-panel__context {
  min-height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 14px 14px 2px;
  border-top: 1px solid var(--menu-border);
  color: var(--menu-muted);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-panel__context span:last-child {
  text-align: right;
}

.chapter-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(660px, 80svh, 860px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(164px, 17vw, 220px) clamp(70px, 8vw, 112px);
  overflow: clip;
  background: var(--surface);
}

.chapter-hero--mist {
  background: var(--surface-mist-page);
}

.chapter-hero--soft {
  background: var(--surface-soft);
}

.chapter-hero--sand {
  --ink-muted: var(--ink-warm-muted);
  background: var(--surface-sand-page);
}

.chapter-hero--navy {
  --menu-dark-start: 0px;
  padding-top: clamp(196px, 19vw, 244px);
  background: var(--nav);
  color: var(--inverse);
}

.chapter-hero__shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--section-edge) * 2)), 1296px);
  margin-inline: auto;
}

.chapter-hero__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chapter-hero--navy .chapter-hero__label {
  border-color: var(--line-inverse);
  color: var(--inverse-muted);
}

.chapter-hero__content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-top: clamp(72px, 9vw, 126px);
}

.chapter-hero h1 {
  grid-column: 1 / span 8;
  max-width: 980px;
  margin: 0;
  font-size: clamp(66px, 8.15vw, 126px);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.chapter-hero__intro {
  grid-column: 9 / -1;
  max-width: 420px;
  justify-self: end;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.chapter-hero--navy .chapter-hero__intro {
  color: var(--inverse-muted);
}

.chapter-hero__folio {
  position: absolute;
  right: -0.06em;
  bottom: -0.22em;
  z-index: -1;
  color: rgba(21, 26, 31, 0.065);
  font-size: clamp(240px, 35vw, 560px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.09em;
  pointer-events: none;
  user-select: none;
}

.chapter-hero--navy .chapter-hero__folio {
  color: rgba(247, 247, 242, 0.045);
}

.chapter-hero__signal {
  grid-column: 9 / -1;
  align-self: start;
  margin-bottom: clamp(48px, 8vw, 100px);
}

.language-signal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
  color: var(--ink);
}

.language-signal strong {
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.language-signal i {
  position: relative;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.language-signal i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.planning-signal {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.planning-signal span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.planning-signal b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
}

.property-signal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(21, 26, 31, 0.24);
  border: 1px solid rgba(21, 26, 31, 0.24);
}

.property-signal span {
  min-height: clamp(90px, 10vw, 140px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: var(--surface-sand-page);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.quote-signal {
  display: grid;
  gap: 22px;
  color: var(--inverse-muted);
}

.quote-signal span {
  padding-left: 18px;
  border-left: 1px solid rgba(247, 247, 242, 0.32);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.4;
}

.editorial-section {
  position: relative;
  padding-block: clamp(92px, 10vw, 150px);
  overflow: clip;
  background: var(--surface);
}

.editorial-section--soft {
  background: var(--surface-soft);
}

.editorial-section--mist {
  background: var(--surface-mist-page);
}

.editorial-section--sand {
  --ink-muted: var(--ink-warm-muted);
  background: var(--surface-sand-page);
}

.editorial-section--navy {
  background: var(--nav);
  color: var(--inverse);
}

.editorial-section .page-shell {
  --section-edge: clamp(24px, 5vw, 72px);
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(62px, 7vw, 104px);
}

.lead-grid h2 {
  grid-column: 1 / span 7;
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.lead-grid__copy {
  grid-column: 9 / -1;
  display: grid;
  align-content: start;
  gap: 22px;
}

.lead-grid__copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.28vw, 19px);
  line-height: 1.62;
}

.editorial-section--navy .lead-grid__copy p {
  color: var(--inverse-muted);
}

.indexed-list {
  padding: 0;
  margin: clamp(70px, 8vw, 116px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.indexed-list li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
  padding-block: clamp(24px, 2.5vw, 36px);
  border-bottom: 1px solid var(--line);
}

.indexed-list__number {
  grid-column: 1 / span 1;
  color: var(--ink-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.indexed-list h3 {
  grid-column: 2 / span 5;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.indexed-list p {
  grid-column: 8 / -1;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.indexed-list--inverse {
  border-color: var(--line-inverse);
}

.indexed-list--inverse li {
  border-color: var(--line-inverse);
}

.indexed-list--inverse .indexed-list__number,
.indexed-list--inverse p {
  color: var(--inverse-muted);
}

.compact-ledger {
  padding: 0;
  margin: clamp(58px, 7vw, 94px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.compact-ledger li {
  min-height: 64px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.compact-ledger span:first-child {
  color: var(--ink-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.compact-ledger strong {
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.compact-ledger span:last-child {
  color: var(--ink-muted);
  font-size: 12px;
  text-align: right;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(70px, 8vw, 108px);
  border-top: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.mode-grid div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line-inverse);
}

.mode-grid div:last-child {
  border-right: 0;
}

.mode-grid span {
  color: var(--inverse-muted);
  font-size: 11px;
}

.mode-grid strong {
  max-width: 180px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.quote-feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
  margin-top: clamp(62px, 7vw, 98px);
}

.quote-feature__mark {
  grid-column: 1 / span 2;
  margin-top: -0.23em;
  font-size: clamp(100px, 12vw, 180px);
  font-weight: 400;
  line-height: 1;
}

.quote-feature figure {
  grid-column: 3 / span 8;
  margin: 0;
}

.quote-feature blockquote {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 70px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.quote-feature figcaption {
  display: grid;
  gap: 5px;
  margin-top: 34px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.4;
}

.quote-feature figcaption span:first-child {
  color: var(--ink);
  font-weight: 500;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 8vw, 114px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dossier-grid article {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: 26px clamp(24px, 3vw, 42px) 34px;
  border-right: 1px solid var(--line);
}

.dossier-grid article:first-child {
  padding-left: 0;
}

.dossier-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.dossier-grid__index {
  color: var(--ink-muted);
  font-size: 11px;
}

.dossier-grid h3 {
  margin: auto 0 24px;
  font-size: clamp(34px, 3.7vw, 56px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.058em;
}

.dossier-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.58;
}

.role-map {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: stretch;
  margin-top: clamp(66px, 8vw, 108px);
}

.role-map article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(21, 26, 31, 0.26);
}

.role-map__bridge {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-map__bridge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(21, 26, 31, 0.28);
}

.role-map__bridge span {
  position: relative;
  padding: 8px;
  background: var(--surface-sand-page);
}

.role-map h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.role-map p {
  max-width: 420px;
  margin: 54px 0 0;
  color: var(--ink-warm-muted);
  font-size: 15px;
  line-height: 1.55;
}

.planning-steps {
  counter-reset: planning;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 8vw, 112px);
  border-top: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.planning-steps li {
  counter-increment: planning;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-right: 1px solid var(--line-inverse);
}

.planning-steps li:last-child {
  border-right: 0;
}

.planning-steps li::before {
  content: "0" counter(planning);
  color: var(--inverse-muted);
  font-size: 11px;
}

.planning-steps strong {
  max-width: 240px;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.buy-sell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.buy-sell article {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(28px, 4vw, 58px) 40px;
  border-right: 1px solid var(--line);
}

.buy-sell article:first-child {
  padding-left: 0;
}

.buy-sell article:last-child {
  padding-right: 0;
  border-right: 0;
}

.buy-sell__index {
  color: var(--ink-muted);
  font-size: 11px;
}

.buy-sell h3 {
  margin: auto 0 24px;
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.buy-sell p {
  max-width: 500px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.58;
}

.property-portfolio {
  --ink-muted: var(--ink-warm-muted);
  position: relative;
  padding-block: clamp(96px, 10vw, 148px) clamp(104px, 11vw, 164px);
  overflow: clip;
  background: var(--surface-sand-page);
  color: var(--ink);
}

.property-portfolio .page-shell {
  --section-edge: clamp(24px, 5vw, 72px);
}

.property-portfolio__heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-top: clamp(60px, 7vw, 98px);
}

.property-portfolio__heading h2 {
  grid-column: 1 / span 8;
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.property-portfolio__heading p {
  grid-column: 9 / -1;
  max-width: 390px;
  justify-self: end;
  margin: 0;
  color: var(--ink-warm-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.58;
}

.property-portfolio__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: clamp(58px, 6vw, 86px);
  margin-top: clamp(72px, 8vw, 116px);
}

.property-portfolio__card {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 26, 31, 0.28);
  transition: border-color 180ms ease;
}

.property-portfolio__link {
  min-width: 0;
  display: block;
}

.property-portfolio__image {
  position: relative;
  aspect-ratio: 3 / 2;
  display: block;
  overflow: hidden;
  background: rgba(21, 26, 31, 0.08);
}

.property-portfolio__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--property-rose-rgb));
  opacity: 0;
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.property-portfolio__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: brightness(1.04) contrast(0.98) saturate(0.9);
  transition: transform 560ms var(--ease-out), filter 220ms ease;
}

.property-portfolio__topline {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 13px 10px;
  color: var(--ink-warm-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.property-portfolio__topline strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.property-portfolio__title-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 22px;
  align-items: end;
}

.property-portfolio__title-row h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: clamp(24px, 2.15vw, 34px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.property-portfolio__title-row svg {
  align-self: end;
  margin-bottom: 4px;
  transition: transform 220ms var(--ease-out);
}

.property-portfolio__meta {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin: 22px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(21, 26, 31, 0.2);
  color: var(--ink-warm-muted);
  font-size: 11px;
  line-height: 1.35;
  list-style: none;
}

.property-portfolio__meta li + li::before {
  content: "/";
  margin-right: 15px;
  color: rgba(21, 26, 31, 0.34);
}

.property-portfolio__fallback {
  max-width: 560px;
  margin: 42px 0 0;
  color: var(--ink-warm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.property-portfolio__fallback a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.property-portfolio__controls {
  display: none;
}

.property-portfolio__controls p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-warm-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.property-portfolio__controls p i {
  font-style: normal;
  opacity: 0.5;
}

.property-portfolio__controls > div {
  display: flex;
  gap: 8px;
}

.property-portfolio__controls button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(21, 26, 31, 0.2);
  border-radius: var(--control-radius);
  background: rgba(247, 247, 242, 0.7);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px) saturate(108%);
  backdrop-filter: blur(10px) saturate(108%);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.property-portfolio__controls button:disabled {
  opacity: 0.34;
  cursor: default;
}

.property-portfolio__controls button:active:not(:disabled) {
  border-color: transparent;
  background: var(--property-control-hover);
  transform: translateY(-1px);
}

.property-portfolio__controls button:focus-visible {
  outline: 3px solid var(--inverse);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus);
}

@media (hover: hover) {
  .property-portfolio__card:hover {
    border-color: rgb(var(--property-rose-rgb));
  }

  .property-portfolio__link:hover .property-portfolio__image::after {
    opacity: 0.12;
  }

  .property-portfolio__link:hover .property-portfolio__image img {
    transform: scale(1.018);
    filter: brightness(1.06) contrast(0.98) saturate(0.92);
  }

  .property-portfolio__link:hover .property-portfolio__title-row svg {
    transform: translateX(4px);
  }

  .property-portfolio__controls button:hover:not(:disabled) {
    border-color: transparent;
    background: var(--property-control-hover);
    transform: translateY(-1px);
  }
}

.portrait-essay {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  min-height: clamp(620px, 72vw, 900px);
  align-items: center;
}

.portrait-essay__copy {
  grid-column: 1 / span 5;
  position: relative;
  z-index: 2;
}

.portrait-essay__copy h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.portrait-essay__copy p {
  max-width: 480px;
  margin: 34px 0 0;
  color: var(--ink-warm-muted);
  font-size: 17px;
  line-height: 1.62;
}

.portrait-essay__visual {
  position: absolute;
  inset: 0 -7vw 0 31%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.portrait-essay__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface-sand-page) 0, rgba(200, 182, 162, 0.86) 15%, transparent 46%);
}

.portrait-essay__visual img {
  position: absolute;
  right: -6%;
  bottom: -2%;
  width: auto;
  max-width: none;
  height: 105%;
  filter: saturate(0.74) contrast(0.98);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(72px, 9vw, 126px);
}

.timeline__line {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line-inverse);
}

.timeline article {
  position: relative;
  padding-top: 28px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--inverse);
}

.timeline article:nth-of-type(1) {
  grid-column: 1 / span 4;
}

.timeline article:nth-of-type(2) {
  grid-column: 5 / span 4;
}

.timeline article:nth-of-type(3) {
  grid-column: 9 / -1;
}

.timeline small {
  color: var(--inverse-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 58px 0 16px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.timeline p {
  max-width: 330px;
  margin: 0;
  color: var(--inverse-muted);
  font-size: 14px;
  line-height: 1.55;
}

.quote-archive {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(80px, 11vw, 154px);
  margin-top: clamp(76px, 9vw, 120px);
}

.quote-entry {
  margin: 0;
}

.quote-entry:nth-child(1) {
  grid-column: 1 / span 8;
}

.quote-entry:nth-child(2) {
  grid-column: 9 / -1;
}

.quote-entry:nth-child(3) {
  grid-column: 2 / span 5;
}

.quote-entry:nth-child(4) {
  grid-column: 7 / span 5;
}

.quote-entry:nth-child(5) {
  grid-column: 1 / span 5;
}

.quote-entry:nth-child(6) {
  grid-column: 6 / -1;
}

.quote-entry blockquote {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.quote-entry--lead blockquote {
  font-size: clamp(40px, 5.1vw, 76px);
  line-height: 1.02;
}

.quote-entry p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

.quote-entry figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.quote-entry figcaption::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.contact-hero {
  position: relative;
  min-height: clamp(700px, 86svh, 900px);
  display: grid;
  grid-template-columns: 55fr 45fr;
  overflow: clip;
  background: var(--surface);
}

.contact-hero__intro,
.contact-hero__panel {
  display: flex;
  align-items: flex-end;
  padding: clamp(170px, 16vw, 220px) var(--section-edge) clamp(70px, 8vw, 104px);
}

.contact-hero__intro {
  padding-right: clamp(36px, 6vw, 96px);
}

.contact-hero__intro > div,
.contact-hero__panel > div {
  width: 100%;
}

.contact-hero__eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  margin: clamp(72px, 9vw, 120px) 0 0;
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.contact-hero__intro p {
  max-width: 510px;
  margin: 34px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.55;
}

.contact-hero__panel {
  background: var(--nav);
  color: var(--inverse);
}

.contact-hero__panel-label {
  padding-top: 13px;
  border-top: 1px solid var(--line-inverse);
  color: var(--inverse-muted);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-quick {
  padding: 0;
  margin: clamp(68px, 8vw, 104px) 0 0;
  border-top: 1px solid var(--line-inverse);
  list-style: none;
}

.contact-quick a,
.contact-quick div {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-inverse);
}

.contact-quick a {
  transition: padding 180ms var(--ease-out), color 180ms ease;
}

.contact-quick a:hover {
  padding-inline: 8px;
  color: #fff;
}

.contact-quick span {
  color: var(--inverse-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-quick strong {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-align: right;
}

.contact-routes {
  padding: 0;
  margin: clamp(72px, 8vw, 110px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-routes li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: center;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
}

.contact-routes__index {
  grid-column: 1;
  color: var(--ink-muted);
  font-size: 11px;
}

.contact-routes h3 {
  grid-column: 2 / span 4;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.contact-routes p {
  grid-column: 7 / span 3;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-routes a {
  grid-column: 11 / -1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
}

.contact-routes a svg {
  transition: transform 180ms var(--ease-out);
}

.contact-routes a:hover svg {
  transform: translateX(4px);
}

.handoff {
  position: relative;
  padding-block: clamp(94px, 11vw, 160px) 0;
  overflow: clip;
  background: var(--nav);
  color: var(--inverse);
}

.handoff__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  padding-bottom: clamp(84px, 9vw, 132px);
}

.handoff h2 {
  grid-column: 1 / span 8;
  margin: clamp(62px, 7vw, 100px) 0 0;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.handoff__action {
  grid-column: 10 / -1;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.handoff__action p {
  margin: 0;
  color: var(--inverse-muted);
  font-size: 12px;
  line-height: 1.5;
}

.interior-footer {
  border-top: 1px solid var(--line-inverse);
}

.interior-footer .site-footer {
  color: var(--inverse-muted);
}

.interior-footer .site-footer__identity span:first-child {
  color: var(--inverse);
}

.interior-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-top: 20px;
}

.interior-footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
}

.next-chapter {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-inverse);
  color: var(--inverse-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.next-chapter strong {
  color: var(--inverse);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-transform: none;
}

.next-chapter svg {
  flex: 0 0 24px;
  transition: transform 180ms var(--ease-out);
}

.next-chapter:hover svg {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .chapter-hero h1 {
    grid-column: 1 / span 7;
    font-size: clamp(60px, 8.5vw, 96px);
  }

  .chapter-hero__intro,
  .chapter-hero__signal {
    grid-column: 8 / -1;
  }

  .lead-grid h2 {
    grid-column: 1 / span 7;
  }

  .lead-grid__copy {
    grid-column: 8 / -1;
  }

  .contact-hero {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero__intro,
  .contact-hero__panel {
    padding-inline: clamp(28px, 5vw, 56px);
  }
}

@media (max-width: 899px) {
  .site-chrome .hero__brand {
    top: 18px;
  }

  .chapter-hero {
    min-height: 720px;
    padding-block: 148px 72px;
  }

  .chapter-hero--navy {
    --menu-dark-start: 0px;
    padding-top: 176px;
    background: var(--nav);
  }

  .chapter-hero__content {
    display: block;
    margin-top: 70px;
  }

  .chapter-hero h1 {
    max-width: 760px;
    font-size: clamp(56px, 11vw, 86px);
  }

  .chapter-hero__intro {
    max-width: 580px;
    justify-self: auto;
    margin-top: 42px;
  }

  .chapter-hero__signal {
    max-width: 520px;
    margin: 0 0 48px auto;
  }

  .chapter-hero__folio {
    font-size: clamp(260px, 52vw, 480px);
  }

  .lead-grid {
    display: block;
  }

  .lead-grid h2 {
    max-width: 760px;
  }

  .lead-grid__copy {
    max-width: 600px;
    margin-top: 42px;
  }

  .indexed-list li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 18px;
  }

  .indexed-list__number {
    grid-column: 1;
    grid-row: 1;
  }

  .indexed-list h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .indexed-list p {
    grid-column: 2;
    grid-row: 2;
  }

  .mode-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mode-grid div:nth-child(2) {
    border-right: 0;
  }

  .mode-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-inverse);
  }

  .quote-feature__mark {
    grid-column: 1 / span 2;
  }

  .quote-feature figure {
    grid-column: 3 / -1;
  }

  .dossier-grid article {
    min-height: 400px;
  }

  .role-map {
    grid-template-columns: 1fr 74px 1fr;
  }

  .buy-sell article {
    min-height: 480px;
  }

  .property-portfolio__heading {
    display: block;
  }

  .property-portfolio__heading h2 {
    max-width: 760px;
  }

  .property-portfolio__heading p {
    max-width: 560px;
    margin-top: 36px;
  }

  .property-portfolio__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .property-portfolio__track::-webkit-scrollbar {
    display: none;
  }

  .property-portfolio__card {
    flex: 0 0 min(82vw, 720px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .property-portfolio[data-enhanced="true"] .property-portfolio__topline,
  .property-portfolio[data-enhanced="true"] .property-portfolio__title-row,
  .property-portfolio[data-enhanced="true"] .property-portfolio__meta {
    transition: opacity 180ms ease;
  }

  .property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__topline,
  .property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__title-row,
  .property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__meta {
    opacity: 0;
  }

  .property-portfolio__controls {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
  }

  .portrait-essay {
    min-height: 760px;
    align-items: start;
  }

  .portrait-essay__copy {
    grid-column: 1 / span 7;
    padding-top: 78px;
  }

  .portrait-essay__visual {
    inset: 18% -14vw 0 18%;
  }

  .quote-entry:nth-child(n) {
    grid-column: auto / span 6;
  }

  .contact-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .contact-hero__intro,
  .contact-hero__panel {
    min-height: 620px;
    padding: 154px 24px 72px;
  }

  .contact-hero__panel {
    min-height: 540px;
    padding-top: 88px;
  }

  .contact-hero h1 {
    font-size: clamp(58px, 12vw, 92px);
  }

  .contact-routes li {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 12px 18px;
    padding-block: 22px;
  }

  .contact-routes__index {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-routes h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .contact-routes p {
    grid-column: 2;
    grid-row: 2;
  }

  .contact-routes a {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .handoff h2 {
    grid-column: 1 / span 8;
  }

  .handoff__action {
    grid-column: 9 / -1;
  }
}

@media (max-width: 700px) {
  :root {
    --section-edge: 20px;
  }

  .chapter-hero {
    min-height: 680px;
    padding-top: 132px;
  }

  .chapter-hero--navy {
    padding-top: 158px;
  }

  .chapter-hero__label,
  .contact-hero__eyebrow {
    font-size: 10px;
  }

  .chapter-hero__content {
    margin-top: 62px;
  }

  .chapter-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.9;
  }

  .chapter-hero__intro {
    margin-top: 34px;
    font-size: 16px;
  }

  .chapter-hero__signal {
    margin: 0 0 42px;
  }

  .planning-signal span {
    min-height: 46px;
  }

  .property-signal span {
    min-height: 84px;
    font-size: 34px;
  }

  .quote-signal {
    gap: 14px;
  }

  .editorial-section {
    padding-block: 78px;
  }

  .lead-grid {
    margin-top: 52px;
  }

  .lead-grid h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .lead-grid__copy {
    margin-top: 34px;
  }

  .indexed-list {
    margin-top: 58px;
  }

  .indexed-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-block: 22px;
  }

  .indexed-list h3 {
    font-size: 26px;
  }

  .indexed-list p {
    margin-top: 4px;
    font-size: 14px;
  }

  .compact-ledger li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding-block: 16px;
  }

  .compact-ledger span:last-child {
    grid-column: 2;
    text-align: left;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-grid div {
    min-height: 136px;
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }

  .mode-grid div:nth-child(2) {
    border-right: 0;
  }

  .mode-grid div:last-child {
    border-bottom: 0;
  }

  .quote-feature {
    display: block;
    margin-top: 54px;
  }

  .quote-feature__mark {
    display: block;
    height: 86px;
  }

  .quote-feature blockquote {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .dossier-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .dossier-grid article,
  .dossier-grid article:first-child,
  .dossier-grid article:last-child {
    min-height: 300px;
    padding: 24px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dossier-grid article:last-child {
    border-bottom: 0;
  }

  .role-map {
    grid-template-columns: 1fr;
  }

  .role-map article {
    min-height: 240px;
  }

  .role-map__bridge {
    min-height: 72px;
  }

  .role-map__bridge::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .planning-steps {
    grid-template-columns: 1fr;
  }

  .planning-steps li {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }

  .planning-steps li:last-child {
    border-bottom: 0;
  }

  .buy-sell {
    grid-template-columns: 1fr;
  }

  .buy-sell article,
  .buy-sell article:first-child,
  .buy-sell article:last-child {
    min-height: 370px;
    padding: 24px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .buy-sell article:last-child {
    border-bottom: 0;
  }

  .property-portfolio {
    padding-block: 78px 92px;
  }

  .property-portfolio__heading {
    margin-top: 52px;
  }

  .property-portfolio__heading h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .property-portfolio__heading p {
    margin-top: 30px;
    font-size: 16px;
  }

  .property-portfolio__track {
    gap: 14px;
    margin-top: 62px;
  }

  .property-portfolio__card {
    flex-basis: calc(100vw - 80px);
  }

  .property-portfolio__title-row {
    min-height: 70px;
    gap: 16px;
  }

  .property-portfolio__title-row h3 {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
    font-size: clamp(23px, 7.2vw, 29px);
  }

  .property-portfolio__meta {
    margin-top: 18px;
  }

  .property-portfolio__fallback {
    margin-top: 30px;
  }

  .portrait-essay {
    min-height: 760px;
    display: block;
  }

  .portrait-essay__copy {
    max-width: 520px;
    padding-top: 0;
  }

  .portrait-essay__copy h2 {
    font-size: 48px;
  }

  .portrait-essay__visual {
    inset: 39% -44vw -2% -12%;
  }

  .portrait-essay__visual::after {
    background: linear-gradient(180deg, var(--surface-sand-page) 0, rgba(200, 182, 162, 0.7) 23%, transparent 52%);
  }

  .timeline {
    display: block;
    margin-top: 58px;
  }

  .timeline__line {
    display: none;
  }

  .timeline article:nth-of-type(n) {
    padding: 24px 0 34px 28px;
    border-left: 1px solid var(--line-inverse);
  }

  .timeline article::before {
    top: 28px;
    left: -4px;
  }

  .timeline h3 {
    margin-top: 38px;
  }

  .quote-archive {
    display: block;
    margin-top: 56px;
  }

  .quote-entry:nth-child(n) {
    margin-top: 76px;
  }

  .quote-entry:first-child {
    margin-top: 0;
  }

  .quote-entry blockquote,
  .quote-entry--lead blockquote {
    font-size: clamp(34px, 10vw, 48px);
  }

  .contact-hero__intro,
  .contact-hero__panel {
    min-height: 600px;
    padding: 132px 20px 66px;
  }

  .contact-hero__panel {
    min-height: 520px;
    padding-top: 74px;
  }

  .contact-hero h1 {
    margin-top: 62px;
    font-size: clamp(54px, 16vw, 72px);
  }

  .contact-hero__intro p {
    font-size: 16px;
  }

  .contact-quick a,
  .contact-quick div {
    min-height: 68px;
  }

  .contact-quick strong {
    font-size: 16px;
  }

  .contact-routes li {
    grid-template-columns: 34px minmax(0, 1fr) 44px;
  }

  .contact-routes h3 {
    font-size: 28px;
  }

  .contact-routes p {
    grid-column: 2 / -1;
  }

  .contact-routes a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .handoff {
    padding-top: 78px;
  }

  .handoff__grid {
    display: block;
    padding-bottom: 76px;
  }

  .handoff h2 {
    margin-top: 52px;
    font-size: clamp(46px, 13vw, 62px);
  }

  .handoff__action {
    margin-top: 42px;
  }

  .interior-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .next-chapter {
    min-height: 84px;
  }

  .next-chapter strong {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .menu-navigation {
    gap: 4px;
  }

  .menu-navigation a {
    min-height: 48px;
  }

  .menu-panel__context {
    min-height: 44px;
  }
}

@media (max-width: 370px) {
  .chapter-hero h1,
  .contact-hero h1 {
    font-size: 48px;
  }

  .chapter-hero__folio {
    font-size: 240px;
  }

  .portrait-essay__copy h2 {
    font-size: 43px;
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  .chapter-hero {
    min-height: 620px;
    padding-block: 138px 52px;
  }

  .chapter-hero--navy {
    padding-top: 154px;
  }

  .chapter-hero__content {
    margin-top: 52px;
  }

  .chapter-hero h1 {
    font-size: clamp(50px, 7.5vw, 78px);
  }

  .contact-hero {
    min-height: 620px;
  }

  .contact-hero__intro,
  .contact-hero__panel {
    padding-top: 138px;
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-navigation a,
  .contact-quick a,
  .contact-routes a svg,
  .next-chapter svg {
    transition: none;
  }
}

/* About Louise: static editorial photography, archive and signature */
.about-portrait {
  min-height: clamp(760px, 66vw, 930px);
  align-items: center;
}

.about-portrait__copy {
  grid-column: 1 / span 5;
  align-self: center;
}

.about-triptych {
  position: relative;
  grid-column: 6 / -1;
  min-height: clamp(690px, 57vw, 820px);
  isolation: isolate;
}

.about-triptych__frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--surface-sand-page);
}

.about-triptych__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-triptych__frame--sailing {
  inset: 2% auto auto 0;
  z-index: 1;
  width: 57%;
  aspect-ratio: 3 / 4;
}

.about-triptych__frame--working {
  top: 16%;
  right: 0;
  z-index: 2;
  width: 54%;
  aspect-ratio: 1.63 / 1;
  outline: 10px solid var(--surface-sand-page);
}

.about-triptych__frame--portrait {
  right: 5%;
  bottom: 1%;
  z-index: 3;
  width: 35%;
  aspect-ratio: 0.7 / 1;
  outline: 10px solid var(--surface-sand-page);
}

.about-archive {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-top: clamp(90px, 11vw, 154px);
  padding-top: 22px;
  border-top: 1px solid var(--line-inverse);
}

.about-archive__figure {
  grid-column: 1 / span 6;
  margin: 0;
}

.about-archive__figure img {
  width: 100%;
  aspect-ratio: 750 / 580;
  object-fit: cover;
  filter: contrast(1.04);
}

.about-archive__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 13px;
  color: var(--inverse-muted);
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.about-archive__copy {
  grid-column: 8 / -1;
  padding-bottom: clamp(8px, 2vw, 32px);
}

.about-archive__copy p {
  margin: 0;
  color: var(--inverse);
  font-size: clamp(30px, 3.3vw, 50px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.about-signature {
  width: clamp(210px, 22vw, 300px);
  height: auto;
  margin: 18px 0 -8px auto;
}

/* Native Estatik inventory: the iframe preserves the plugin's own search,
   list cards, image sliders and interaction model without style collisions. */
.property-native {
  --ink-muted: var(--ink-warm-muted);
  position: relative;
  padding-block: clamp(96px, 10vw, 148px) clamp(104px, 11vw, 164px);
  overflow: clip;
  background: var(--surface-sand-page);
  color: var(--ink);
}

.property-native .page-shell {
  --section-edge: clamp(24px, 5vw, 72px);
}

.property-native__heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-top: clamp(60px, 7vw, 98px);
}

.property-native__heading h2 {
  grid-column: 1 / span 8;
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.property-native__heading p {
  grid-column: 9 / -1;
  max-width: 390px;
  justify-self: end;
  margin: 0;
  color: var(--ink-warm-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.58;
}

.property-native__frame-shell {
  width: 100%;
  min-width: 0;
  margin-top: clamp(64px, 7vw, 104px);
}

.property-native__frame {
  width: 100%;
  height: clamp(1500px, 170vw, 2200px);
  min-height: 720px;
  display: block;
  border: 0;
  background: transparent;
  color-scheme: light;
  transition: height 220ms var(--ease-out);
}

.property-native__fallback {
  margin: 20px 0 0;
  color: var(--ink-warm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.property-native__fallback a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.property-native__frame-shell[data-frame-ready="true"] .property-native__fallback {
  display: none;
}

@media (max-width: 899px) {
  .property-native__heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .property-native__heading h2,
  .property-native__heading p {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .property-native {
    padding-block: 84px 104px;
  }

  .property-native__heading {
    margin-top: 48px;
  }

  .property-native__heading h2 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .property-native__frame-shell {
    margin-top: 54px;
  }

  .property-native__frame {
    height: 3200px;
    min-height: 900px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .property-native__frame {
    transition: none;
  }
}

.interior-footer {
  border-top: 0;
}

@media (max-width: 899px) {
  .about-portrait {
    min-height: 0;
    display: block;
  }

  .about-portrait__copy {
    max-width: 620px;
    padding-top: 36px;
  }

  .about-triptych {
    min-height: 720px;
    margin-top: 64px;
  }
}

@media (max-width: 700px) {
  .about-portrait__copy {
    padding-top: 0;
  }

  .about-triptych {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 48px;
  }

  .about-triptych__frame {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    outline: 0;
  }

  .about-triptych__frame--sailing {
    grid-row: 1 / span 2;
    aspect-ratio: 0.72 / 1;
  }

  .about-triptych__frame--working,
  .about-triptych__frame--portrait {
    aspect-ratio: auto;
  }

  .about-triptych__frame--portrait img {
    object-position: center 20%;
  }

  .about-archive {
    display: block;
    margin-top: 86px;
  }

  .about-archive__copy {
    margin-top: 42px;
    padding-bottom: 0;
  }

  .about-archive__copy p {
    font-size: clamp(30px, 10vw, 42px);
  }

  .about-archive__figure figcaption {
    display: grid;
    gap: 5px;
  }
}

/* Property portfolio: finite outer rail with a manual image gallery per listing */
.property-portfolio__track {
  display: flex;
  gap: clamp(18px, 2.5vw, 36px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.property-portfolio__track::-webkit-scrollbar {
  display: none;
}

.property-portfolio__track:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 8px;
}

.property-portfolio__card {
  flex: 0 0 clamp(560px, 55vw, 720px);
  min-width: 0;
  padding-top: 0;
  border-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.property-portfolio__gallery {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(21, 26, 31, 0.08);
}

.property-portfolio__image {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.property-portfolio__image img[data-gallery-slide] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.008);
  filter: brightness(1.045) contrast(0.98) saturate(0.94);
  transition: opacity 260ms ease, transform 620ms var(--ease-out), filter 220ms ease;
}

.property-portfolio__image img[data-gallery-slide].is-active {
  opacity: 1;
  transform: scale(1);
}

.property-portfolio__gallery-controls {
  position: absolute;
  inset: 50% 14px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.property-portfolio__gallery-controls[hidden],
.property-portfolio__gallery-pagination[hidden] {
  display: none;
}

.property-portfolio__gallery-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 247, 242, 0.46);
  border-radius: var(--control-radius);
  background: rgba(247, 247, 242, 0.72);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  backdrop-filter: blur(12px) saturate(112%);
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms var(--ease-out);
}

.property-portfolio__gallery-controls button:disabled {
  opacity: 0.34;
  cursor: default;
}

.property-portfolio__gallery-controls button:active:not(:disabled) {
  background: rgb(var(--property-rose-rgb));
  transform: translateY(1px);
}

.property-portfolio__gallery-pagination {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 8px 5px 12px;
  border: 1px solid rgba(247, 247, 242, 0.32);
  border-radius: var(--control-radius);
  background: rgba(18, 26, 35, 0.46);
  color: var(--inverse);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  backdrop-filter: blur(12px) saturate(112%);
}

.property-portfolio__gallery-pagination b {
  font-weight: 500;
}

[data-gallery-dots] {
  display: flex;
  align-items: center;
  gap: 2px;
}

[data-gallery-dots] button {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

[data-gallery-dots] button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 247, 242, 0.62);
  transition: width 180ms var(--ease-out), border-radius 180ms var(--ease-out), background-color 180ms ease;
}

[data-gallery-dots] button[aria-current="true"]::before {
  width: 18px;
  border-radius: 999px;
  background: rgb(var(--property-rose-rgb));
}

.property-portfolio__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-portfolio__meta li + li::before {
  content: none;
}

.property-portfolio__meta-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--ink);
}

.property-portfolio__controls {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__topline,
.property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__title-row,
.property-portfolio[data-enhanced="true"] .property-portfolio__card:not(.is-current) .property-portfolio__meta {
  opacity: 1;
}

@media (hover: hover) {
  .property-portfolio__card:hover {
    border-color: transparent;
  }

  .property-portfolio__card:hover .property-portfolio__image::after {
    opacity: 0.08;
  }

  .property-portfolio__card:hover .property-portfolio__image img[data-gallery-slide].is-active {
    transform: scale(1.018);
    filter: brightness(1.065) contrast(0.98) saturate(0.96);
  }

  .property-portfolio__gallery-controls button:hover:not(:disabled) {
    background: rgba(247, 247, 242, 0.92);
  }
}

@media (max-width: 899px) {
  .property-portfolio__card {
    flex-basis: min(82vw, 720px);
  }
}

@media (max-width: 700px) {
  .property-portfolio__card {
    flex-basis: calc(100vw - 64px);
  }

  .property-portfolio__gallery-controls {
    inset-inline: 10px;
  }

  .property-portfolio__gallery-pagination {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  [data-gallery-dots] button {
    width: 28px;
    height: 32px;
  }
}

@media (max-width: 700px) and (max-height: 500px) {
  .property-portfolio__card {
    flex-basis: calc(100vw - 96px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .property-portfolio__track {
    scroll-behavior: auto;
  }

  .property-portfolio__image img[data-gallery-slide],
  [data-gallery-dots] button::before {
    transition: none;
  }
}
