/* Rundle Park, site styles.
   Type scale (px): 13 16 20 25 31 39 49 61. Spacing scale (px): 4 8 12 16 24 32 48 64 96 128.
   One accent (teal). One radius (8px). One shadow recipe. */

:root {
  --ink: #141414;
  --charcoal: #39393b;
  --charcoal-deep: #2b2b2d;
  --paper: #f8f5f6;
  --blush: #ece5e7;
  --white: #ffffff;
  --accent: #88d5da;
  --accent-hover: #9fdfe3;
  --muted: #55555a;
  --line: #d8d0d3;
  --line-dark: #5a5a5d;
  --copper: #e8906b;
  --error: #a3261c;

  --serif: "turnip", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "objektiv-mk3", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-13: 0.8125rem; --fs-16: 1rem; --fs-20: 1.25rem; --fs-25: 1.5625rem;
  --fs-31: 1.9375rem; --fs-39: 2.4375rem; --fs-49: 3.0625rem; --fs-61: 3.8125rem;

  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px;
  --s-48: 48px; --s-64: 64px; --s-96: 96px; --s-128: 128px;

  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-16); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-31); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-20); line-height: 1.3; }
p { margin: 0; max-width: 65ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color 200ms var(--ease), color 200ms var(--ease); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--accent); box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.85); }
.section--dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, dialog :focus-visible { box-shadow: none; }
dialog :focus-visible { box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.85); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--accent); color: var(--ink); padding: 12px 16px; border-radius: var(--radius); }
.skip:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: var(--s-16); }
.section { padding-block: var(--s-64); }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--blush); }
.section--deep { background: var(--charcoal-deep); color: var(--blush); }
.section--dark h2, .section--deep h2 { color: var(--white); }
.section--tight { padding-block: var(--s-48); }

.eyebrow { font-size: var(--fs-13); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--s-16); display: flex; align-items: center; gap: var(--s-12); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.eyebrow--center { justify-content: center; }
.lead { font-size: var(--fs-20); line-height: 1.5; }
.muted { color: var(--muted); }
.section--dark .muted, .section--deep .muted { color: #c9c1c4; }
.small { font-size: var(--fs-13); line-height: 1.6; }
.stack > * + * { margin-top: var(--s-16); }
.stack-24 > * + * { margin-top: var(--s-24); }
.section-head { margin-bottom: var(--s-48); max-width: 760px; }
.section-head p { margin-top: var(--s-16); }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8);
  min-height: 48px; padding: var(--s-12) var(--s-24); border-radius: var(--radius);
  border: 1px solid transparent; background: transparent; text-decoration: none;
  font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.btn--outline { border-color: currentColor; }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--dark .btn--outline:hover, .section--deep .btn--outline:hover, .site-header .btn--outline:hover, .hero .btn--outline:hover, .site-footer .btn--outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--charcoal-deep); color: var(--blush); height: var(--header-h); }
.header-row { display: flex; align-items: center; gap: var(--s-16); height: 100%; }
.brand { display: inline-flex; align-items: center; gap: var(--s-12); text-decoration: none; min-height: 44px; margin-right: auto; }
.brand img { width: 56px; height: auto; }
.brand span { font-family: var(--serif); font-size: var(--fs-16); letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); white-space: nowrap; }
.header-tel { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8); min-width: 44px; min-height: 44px; text-decoration: none; font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.04em; border-radius: var(--radius); }
.header-tel svg { width: 20px; height: 20px; color: var(--accent); }
.header-tel span { display: none; white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; border-radius: var(--radius); padding: 0; }
.menu-toggle .bars { position: relative; width: 24px; height: 16px; }
.menu-toggle .bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.menu-toggle .bars i:nth-child(1) { top: 0; } .menu-toggle .bars i:nth-child(2) { top: 7px; } .menu-toggle .bars i:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--charcoal-deep); padding: var(--s-24) var(--s-16) var(--s-48); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-24); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); order: -1; }
.nav-cta .btn { padding-inline: var(--s-12); white-space: nowrap; }
.nav-list > li { border-bottom: 1px solid var(--line-dark); }
.nav-list a { display: flex; align-items: center; min-height: 56px; text-decoration: none; font-family: var(--serif); font-size: var(--fs-25); }
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-list .sub a { min-height: 44px; font-family: var(--sans); font-size: var(--fs-13); letter-spacing: 0.12em; text-transform: uppercase; color: #c9c1c4; padding-left: var(--s-16); margin-bottom: var(--s-8); }
.nav-contact { font-size: var(--fs-13); color: #c9c1c4; }
.nav-contact a { display: inline-flex; min-height: 44px; align-items: center; }
body.nav-open { overflow: hidden; }

@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .site-header .wrap { max-width: 1504px; }
  .brand { margin-right: var(--s-16); }
  .nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; overflow: visible; flex-direction: row; align-items: center; gap: var(--s-24); background: none; flex: 1; transition: none; }
  .nav-cta { order: 2; display: flex; gap: var(--s-12); }
  .nav-cta .btn { min-height: 44px; padding-inline: var(--s-16); }
  .nav-list { display: flex; align-items: center; gap: var(--s-4); margin-inline: auto; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a { min-height: 44px; padding-inline: var(--s-8); font-family: var(--sans); font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius); white-space: nowrap; }
  .nav-list > li > a { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-size: 0 2px; background-position: 8px calc(100% - 8px); transition: background-size 200ms var(--ease), color 200ms var(--ease); }
  .nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { background-size: calc(100% - 16px) 2px; color: var(--white); }
  .nav-list .sub { position: absolute; top: 100%; left: 0; min-width: 208px; background: var(--charcoal-deep); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: var(--s-8); box-shadow: var(--shadow-hover); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s 150ms; }
  .nav-list li:hover > .sub, .nav-list li:focus-within > .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list .sub a { margin: 0; padding-inline: var(--s-12); color: var(--blush); }
  .nav-list .sub a:hover { background: var(--charcoal); }
  .nav-contact { display: none; }
  .header-tel { order: 1; }
}
@media (min-width: 1480px) {
  .header-tel span { display: inline; }
  .nav-list a { padding-inline: var(--s-12); letter-spacing: 0.1em; }
  .nav-list > li > a { background-position: 12px calc(100% - 8px); }
  .nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { background-size: calc(100% - 24px) 2px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--charcoal-deep); display: grid; min-height: min(88svh, 800px); isolation: isolate; overflow: hidden; }
.hero--page { min-height: 0; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1600ms var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, 0.5) 0%, rgba(20, 20, 20, 0.45) 40%, rgba(20, 20, 20, 0.88) 100%); }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-inner { align-self: end; padding-block: var(--s-96) var(--s-48); }
.hero--page .hero-inner { padding-block: var(--s-128) var(--s-48); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: var(--s-16); max-width: 46ch; }
.hero .eyebrow { color: var(--white); }
.hero-actions { margin-top: var(--s-32); display: flex; flex-wrap: wrap; gap: var(--s-12); }
.trust-line { margin-top: var(--s-24); font-size: var(--fs-13); color: #e6dfe1; display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); }
.trust-line li { display: inline-flex; align-items: center; gap: var(--s-8); }
.trust-line li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Dual entrance doors (home hero) */
.doors { margin-top: var(--s-32); display: grid; grid-template-columns: 1fr; gap: var(--s-12); max-width: 760px; }
.door { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4) var(--s-16); padding: var(--s-16) var(--s-24); min-height: 88px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(20, 20, 20, 0.35); backdrop-filter: blur(6px); text-decoration: none; transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease); }
.door strong { font-size: var(--fs-13); letter-spacing: 0.12em; text-transform: uppercase; }
.door span { grid-column: 1; font-size: var(--fs-13); color: #e6dfe1; transition: color 200ms var(--ease); }
.door svg { grid-row: 1 / span 2; grid-column: 2; width: 24px; height: 24px; transition: transform 200ms var(--ease); }
.door:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-2px); }
.door:hover span { color: var(--muted); }
.door:hover svg { transform: translateX(4px); }

/* Layout pieces */
.split { display: grid; gap: var(--s-32); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media--tall img { aspect-ratio: 4 / 5; }
.band { display: grid; }
.band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.band-body { padding: var(--s-48) var(--s-16); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.band-body > * + * { margin-top: var(--s-16); }
.band-body .btn { margin-top: var(--s-32); }

.grid { display: grid; gap: var(--s-24); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.card:hover { box-shadow: var(--shadow-hover); }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-8); flex: 1; }
.card-body .btn { margin-top: auto; }
.card-meta { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-16); font-size: var(--fs-13); color: var(--muted); margin-bottom: var(--s-16); }
.card.is-dim { opacity: 0.55; }
.card-note { font-size: var(--fs-13); font-weight: 700; }

.trio { display: grid; gap: var(--s-16); }
.trio figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 250ms var(--ease); }
.trio figure:hover img { transform: scale(1.03); }
.trio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-48) var(--s-16) var(--s-16); font-size: var(--fs-13); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--white); background: linear-gradient(transparent, rgba(20, 20, 20, 0.75)); }

.reasons { counter-reset: reason; }
.reason { padding-top: var(--s-24); border-top: 2px solid var(--ink); }
.section--dark .reason, .section--deep .reason { border-color: var(--accent); }
.reason::before { counter-increment: reason; content: "0" counter(reason); display: block; font-family: var(--serif); font-size: var(--fs-31); line-height: 1; margin-bottom: var(--s-16); color: var(--muted); }
.section--dark .reason::before, .section--deep .reason::before { color: var(--accent); }
.reason h3 { margin-bottom: var(--s-8); }

.checklist { display: grid; gap: 0 var(--s-48); }
.checklist li { display: flex; gap: var(--s-12); padding-block: var(--s-12); border-bottom: 1px solid var(--line); }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.section--dark .checklist li, .section--deep .checklist li { border-color: var(--line-dark); }
.section--dark .checklist svg, .section--deep .checklist svg { color: var(--accent); }

.steps { display: grid; gap: var(--s-24); counter-reset: step; }
.step { position: relative; padding: var(--s-24); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--charcoal); color: var(--white); font-family: var(--serif); font-size: var(--fs-25); margin-bottom: var(--s-16); }
.step h3 { margin-bottom: var(--s-8); }
.step p { font-size: var(--fs-16); color: var(--muted); }

.offer { background: var(--accent); color: var(--ink); }
.offer-grid { display: grid; gap: var(--s-32); align-items: center; }
.offer-figure { font-family: var(--serif); font-size: var(--fs-61); line-height: 0.9; letter-spacing: -0.02em; }
.offer-figure small { display: block; font-family: var(--sans); font-size: var(--fs-13); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--s-16); }
.offer .btn { background: var(--ink); color: var(--white); margin-top: var(--s-24); }
.offer .btn:hover { background: var(--charcoal); box-shadow: var(--shadow-hover); }
.offer :focus-visible { outline-color: var(--ink); box-shadow: none; }
.offer-terms { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-24); }
.offer-terms li { font-size: var(--fs-13); font-weight: 700; padding: var(--s-8) var(--s-12); border: 1px solid var(--ink); border-radius: var(--radius); }

.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-16); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s-16); border-bottom: 1px solid var(--line); }
.compare thead th { font-size: var(--fs-13); letter-spacing: 0.12em; text-transform: uppercase; }
.compare thead th:nth-child(2), .compare tbody td:nth-child(2) { background: var(--white); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare tbody td:nth-child(3) { color: var(--muted); }
.table-scroll { border-radius: var(--radius); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-24); }
.fact strong { display: block; font-family: var(--serif); font-size: var(--fs-39); line-height: 1.1; font-weight: 400; }
.fact span { font-size: var(--fs-13); color: var(--muted); }
.section--dark .fact span, .section--deep .fact span { color: #c9c1c4; }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-16); padding: var(--s-16) 0; min-height: 64px; font-family: var(--serif); font-size: var(--fs-20); line-height: 1.3; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms var(--ease); }
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion .answer { padding: 0 var(--s-32) var(--s-24) 0; color: var(--muted); }
.accordion .answer p + p { margin-top: var(--s-12); }
.accordion details[open] .answer { animation: fade-up 250ms var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Forms */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-24) var(--s-16); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset + fieldset, fieldset + .field, .field + fieldset { margin-top: var(--s-32); }
legend { padding: 0; font-size: var(--fs-13); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--s-16); }
.fields { display: grid; gap: var(--s-16); }
.field { display: flex; flex-direction: column; gap: var(--s-8); min-width: 0; }
.field label, .field .label { font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.02em; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s-12) var(--s-16); border: 1px solid #8a8286; border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: inherit; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: var(--s-48); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--ink); box-shadow: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { font-size: var(--fs-13); color: var(--error); font-weight: 700; }
.field-hint { font-size: var(--fs-13); color: var(--muted); }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: var(--s-8) var(--s-16); border: 1px solid #8a8286; border-radius: var(--radius); font-size: var(--fs-16); transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.choice input:checked + span { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.85); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-12); align-items: start; min-height: 44px; font-size: var(--fs-13); line-height: 1.6; cursor: pointer; }
.check input { width: 24px; height: 24px; min-height: 0; margin: 0; accent-color: var(--charcoal); padding: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: var(--s-32); display: flex; flex-direction: column; gap: var(--s-12); }
.form-status { font-size: var(--fs-13); color: var(--error); font-weight: 700; }
.form-success { text-align: left; padding: var(--s-16) 0; animation: fade-up 250ms var(--ease) both; }
.form-success .tick { width: 48px; height: 48px; border-radius: var(--radius); background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-24); }
.form-success .tick svg { width: 24px; height: 24px; }
.form-success h3 { font-size: var(--fs-25); margin-bottom: var(--s-12); }
.form-success dl { margin: var(--s-24) 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-8) var(--s-24); font-size: var(--fs-16); }
.form-success dt { color: var(--muted); font-size: var(--fs-13); padding-top: 3px; }
.form-success dd { margin: 0; font-weight: 700; }

/* Search bar (stay hero) */
.searchbar { margin-top: var(--s-32); background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: var(--s-16); display: grid; gap: var(--s-12); max-width: 960px; }
.searchbar .field label { letter-spacing: 0.12em; text-transform: uppercase; }
.searchbar .btn { min-height: 48px; }
.searchbar-error { grid-column: 1 / -1; }
.search-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-12) var(--s-24); padding: var(--s-16) var(--s-24); background: var(--charcoal); color: var(--white); border-radius: var(--radius); margin-bottom: var(--s-32); animation: fade-up 250ms var(--ease) both; }
.search-summary strong { font-family: var(--serif); font-size: var(--fs-20); font-weight: 400; }
.search-summary p { font-size: var(--fs-13); color: #e6dfe1; }

/* Amenity strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--s-16); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-16); margin-inline: calc(var(--s-16) * -1); padding-inline: var(--s-16); scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.strip figcaption { margin-top: var(--s-12); }
.strip figcaption strong { display: block; font-family: var(--serif); font-size: var(--fs-20); font-weight: 400; }
.strip figcaption span { font-size: var(--fs-13); color: var(--muted); }
.section--dark .strip figcaption span, .section--deep .strip figcaption span { color: #c9c1c4; }

/* Feature list (amenities page) */
.feature { display: grid; gap: var(--s-24); align-items: center; }
.feature + .feature { margin-top: var(--s-64); }
.feature-media { border-radius: var(--radius); overflow: hidden; }
.feature-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature h3 { font-size: var(--fs-25); margin-bottom: var(--s-12); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-16); }
.tags li { font-size: var(--fs-13); font-weight: 700; padding: var(--s-4) var(--s-12); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.section--dark .tags li, .section--deep .tags li { background: transparent; border-color: var(--line-dark); }

.services { display: grid; gap: var(--s-24); }
.service { padding: var(--s-24); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.service svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: var(--s-16); }
.service h3 { margin-bottom: var(--s-8); color: var(--white); }
.section--white .service, .section--blush .service { border-color: var(--line); background: var(--white); }
.section--white .service h3, .section--blush .service h3 { color: var(--ink); }
.section--white .service svg, .section--blush .service svg { color: var(--charcoal); }

/* Drive times and map */
.map-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.map-card img { width: 100%; }
.map-card figcaption { padding: var(--s-16); font-size: var(--fs-13); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-8) var(--s-16); align-items: center; }
figure { margin: 0; }
.drives li { display: flex; justify-content: space-between; gap: var(--s-16); padding-block: var(--s-12); border-bottom: 1px solid var(--line); }
.drives strong { font-family: var(--serif); font-size: var(--fs-20); font-weight: 400; white-space: nowrap; }
.section--dark .drives li { border-color: var(--line-dark); }

/* Gallery */
.tabs { display: flex; gap: var(--s-8); overflow-x: auto; margin-bottom: var(--s-24); padding: var(--s-4); margin-inline: -4px; scrollbar-width: none; }
.tab { flex: none; min-height: 44px; padding: var(--s-8) var(--s-16); border-radius: var(--radius); border: 1px solid var(--line-dark); background: transparent; font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.tab:hover:not([aria-selected="true"]) { border-color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
.gallery-grid button { padding: 0; border: 0; background: var(--charcoal-deep); border-radius: var(--radius); overflow: hidden; display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 250ms var(--ease), opacity 250ms var(--ease); }
.gallery-grid button:hover img { transform: scale(1.04); opacity: 0.9; }
.gallery-grid button:first-child { grid-column: span 2; }
.gallery-grid button:first-child img { aspect-ratio: 16 / 9; }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: var(--shadow-hover); overflow: auto; }
dialog::backdrop { background: rgba(20, 20, 20, 0.7); }
dialog[open] { animation: fade-up 250ms var(--ease) both; }
.dialog-head { position: sticky; top: 0; z-index: 2; background: var(--white); display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); padding: var(--s-16) var(--s-16) var(--s-16) var(--s-24); border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: var(--fs-25); }
.dialog-close { width: 44px; height: 44px; border: 0; background: none; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dialog-close:hover { background: var(--blush); }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-body { padding: var(--s-24); }
.lightbox { width: min(1200px, calc(100vw - 32px)); background: var(--charcoal-deep); color: var(--white); }
.lightbox .dialog-head { background: var(--charcoal-deep); border-color: var(--line-dark); }
.lightbox .dialog-head p { font-size: var(--fs-13); }
.lightbox .dialog-close:hover { background: var(--charcoal); }
.lightbox-stage { position: relative; }
.lightbox-stage img { width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--radius); border: 0; background: rgba(20, 20, 20, 0.7); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--ink); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav--prev { left: var(--s-8); } .lightbox-nav--next { right: var(--s-8); }
.suite-dialog img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Film facade */
.film { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--charcoal-deep); }
.film img, .film iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(20, 20, 20, 0.3); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-12); font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 200ms var(--ease); }
.film button:hover { background: rgba(20, 20, 20, 0.15); }
.film button span { width: 64px; height: 64px; border-radius: var(--radius); background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.film button svg { width: 24px; height: 24px; }

.quote { font-family: var(--serif); font-size: var(--fs-25); line-height: 1.3; max-width: 24ch; }
.divider { height: 48px; background: url("/assets/img/rp_divider.png") center / auto 100% no-repeat; opacity: 0.9; }
.consultant { padding: var(--s-24); border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; flex-direction: column; gap: var(--s-12); }
.consultant img { height: 48px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; margin-bottom: var(--s-12); }
.consultant p { color: #d9d2d4; }
.gate { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-32) var(--s-24); }
.plan-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-16); padding-block: var(--s-16); border-bottom: 1px solid var(--line); }
.plan-list strong { font-family: var(--serif); font-size: var(--fs-20); font-weight: 400; }
.plan-list span { font-size: var(--fs-13); color: var(--muted); text-align: right; }
.contact-strip { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); margin-top: var(--s-24); }
.contact-strip a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.note { font-size: var(--fs-13); line-height: 1.6; color: var(--muted); max-width: 80ch; }
.licence { border-top: 1px solid var(--line); padding-block: var(--s-24); background: var(--paper); }

/* Closing and footer */
.closing { position: relative; isolation: isolate; text-align: center; color: var(--white); background: var(--charcoal-deep); overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(43, 43, 45, 0.55), rgba(43, 43, 45, 0.9)), url("/assets/img/home/home_banner.jpg") center / cover no-repeat; }
.closing h2 { font-size: var(--fs-31); max-width: 18ch; margin-inline: auto; }
.closing p { margin: var(--s-16) auto 0; }
.closing .hero-actions { justify-content: center; }
.site-footer { background: var(--charcoal-deep); color: var(--blush); padding-block: var(--s-64) var(--s-32); font-size: var(--fs-16); }
.footer-grid { display: grid; gap: var(--s-48); }
.footer-brand img { width: 160px; }
.footer-brand p { margin-top: var(--s-16); font-size: var(--fs-13); color: #c9c1c4; }
.footer-col h2 { font-family: var(--sans); font-size: var(--fs-13); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: var(--s-12); }
.footer-col a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.footer-col p { font-size: var(--fs-13); color: #c9c1c4; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; }
.footer-awards { display: flex; gap: var(--s-16); align-items: center; margin-top: var(--s-24); }
.footer-awards img { width: 72px; border-radius: var(--radius); }
.footer-base { margin-top: var(--s-48); padding-top: var(--s-24); border-top: 1px solid var(--line-dark); display: grid; gap: var(--s-24); }
.footer-base .note { color: #b5adb0; max-width: none; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-16); font-size: var(--fs-13); color: #c9c1c4; }
.footer-meta img { height: 32px; width: auto; }

/* Scroll reveal: one time, subtle */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet */
@media (min-width: 720px) {
  .wrap { padding-inline: var(--s-32); }
  h1 { font-size: var(--fs-49); }
  h2 { font-size: var(--fs-39); }
  h3 { font-size: var(--fs-25); }
  .doors { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: repeat(3, 1fr); }
  .checklist { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .fields--2 { grid-template-columns: 1fr 1fr; }
  .fields--4 { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .form-card { padding: var(--s-32); }
  .form-actions { flex-direction: row; align-items: center; }
  .searchbar { grid-template-columns: 1fr 1fr 1fr; padding: var(--s-24); }
  .searchbar .btn { grid-column: 1 / -1; }
  .strip { grid-auto-columns: 38%; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-12); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .closing h2 { font-size: var(--fs-49); }
  .quote { font-size: var(--fs-31); }
  .band-body { padding: var(--s-64) var(--s-48); }
}

/* Desktop */
@media (min-width: 1024px) {
  h1 { font-size: var(--fs-61); }
  .section { padding-block: var(--s-96); }
  .section--tight { padding-block: var(--s-64); }
  .hero-inner { padding-block: var(--s-128) var(--s-64); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-64); }
  .split--wide-text { grid-template-columns: 7fr 5fr; }
  .split--form { grid-template-columns: 5fr 7fr; align-items: start; }
  .split--reverse > :first-child { order: 2; }
  .band { grid-template-columns: 1fr 1fr; }
  .band-media img { aspect-ratio: auto; position: absolute; inset: 0; }
  .band-media { position: relative; min-height: 560px; }
  .band-body { padding: var(--s-96) var(--s-64); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--3.reasons { gap: var(--s-48); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s-64); }
  .feature:nth-child(even) .feature-media { order: 2; }
  .offer-grid { grid-template-columns: auto 1fr; gap: var(--s-96); }
  .searchbar { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .searchbar .btn { grid-column: auto; }
  .strip { grid-auto-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid button:first-child { grid-row: span 2; }
  .gallery-grid button:first-child img { aspect-ratio: auto; height: 100%; }
  .footer-grid { grid-template-columns: 4fr 3fr 3fr 3fr; }
  .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
  .closing h2 { font-size: var(--fs-61); }
}

@media (max-width: 719px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { width: 100%; border: 0; padding-bottom: var(--s-4); font-family: var(--serif); font-size: var(--fs-20); font-weight: 400; }
  .compare tbody td { padding-block: var(--s-8); border: 0; background: none !important; }
  .compare tbody td::before { content: attr(data-label); display: block; font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
  .compare tr { padding-block: var(--s-16); border-bottom: 1px solid var(--line); }
  .brand span { font-size: var(--fs-13); letter-spacing: 0.2em; }
  .brand img { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* Tap target floors */
.map-card figcaption a, .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.field label.check { font-weight: 400; letter-spacing: 0; }
.licence--dark { background: var(--charcoal-deep); border-top: 1px solid var(--line-dark); }
.licence--dark .note { color: #c9c1c4; }

/* Combined build: full desktop menu from 1120px. Between 1120px and 1319px the wordmark is dropped so every entrance fits. */
@media (min-width: 1200px) and (max-width: 1319px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav { gap: var(--s-16); }
  .nav-cta .btn { padding-inline: var(--s-12); }
}
.map-frame { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }
@media (min-width: 1024px) { .doors { grid-template-columns: repeat(3, 1fr); max-width: 1104px; } }
.brand { flex-shrink: 0; }
.hero p { text-wrap: balance; }

/* Audience split: one header button per site, and an "Owners" tag beside the wordmark. */
.nav-cta { grid-template-columns: 1fr; }
.brand-tag { display: none; font-style: normal; font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c9c1c4; padding-left: var(--s-12); border-left: 1px solid var(--line-dark); white-space: nowrap; }
@media (min-width: 720px) { .brand-tag { display: inline; } }
@media (min-width: 1200px) and (max-width: 1599px) { .brand-tag { display: none; } }
@media (min-width: 1300px) and (max-width: 1479.98px) {
  .site-header:not([data-audience="guest"]) .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-header:not([data-audience="guest"]) .nav { gap: var(--s-16); }
}
