/* Brookfield Plots brand. Tokens and rules: docs/design/brand.md */
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader-roman.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ink: #332d32;
  --muted: #625a60;
  --accent: #654451;
  --accent-hover: #4b303c;
  --paper: #fcfaf6;
  --soft: #f1ece5;
  --rose: #eee3e4;
  --line: #d6cdc7;
  --field-line: #8c7e83;
  --white: #fff;
  --measure: 72rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 18px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2 { font-family: var(--serif); font-weight: 400; font-synthesis: none; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); margin: 1.2rem 0 1.5rem; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: .6rem 0 1.2rem; }
h3 { font-size: 1.08rem; line-height: 1.4; margin: 0 0 .7rem; }
p { margin: 0 0 1rem; }
em { color: var(--accent); font-weight: 400; }
.wrap { width: min(var(--measure), calc(100% - 2rem)); margin-inline: auto; }
.section { padding-block: 3.5rem; scroll-margin-top: 1rem; }
.site-header { padding-block: 1.2rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; margin: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; width: 2.1rem; height: auto; color: var(--accent); }
.brand__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; }
.brand__tag { display: block; font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: .35rem; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .85rem; }
nav a { padding-block: .5rem; }
.hero { padding-block: 3.5rem; display: grid; gap: 2rem; }
.hero__copy { max-width: 42rem; }
.hero__intro { font-size: 1.15rem; margin-bottom: .5rem; }
.hero__intro [data-fill] { font-weight: 500; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .72rem; font-weight: 650; letter-spacing: .13em; }
.small, .form-help { font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-block: 1.8rem 1.2rem; }
.button, button { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 48px; padding: .85rem 1.3rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: var(--white); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: var(--accent-hover); color: var(--white); }
.text-link { font-size: .9rem; font-weight: 600; padding-block: .6rem; }
.availability { background: var(--soft); border: 1px solid var(--line); border-radius: 10rem 10rem .4rem .4rem; padding: 2rem 1.5rem 1.5rem; align-self: center; }
.branch { display: block; width: 12rem; max-width: 100%; height: 8rem; margin: 0 auto 1rem; color: var(--accent); }
.availability__count { display: flex; align-items: center; gap: 1rem; line-height: 1.4; }
.availability__count > strong { font: 5rem/1 var(--serif); color: var(--accent); letter-spacing: -.04em; }
.availability__count > span { font-size: .9rem; }
.availability__details { margin-block: 1.5rem 1rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.availability__details p { font-size: .9rem; margin-bottom: .35rem; }
.verification { font-size: .75rem; color: var(--muted); margin: 0; }
.section-band { background: var(--soft); }
.split, .scope-grid, .enquiry-layout { display: grid; gap: 2rem; }
.map-card { margin: 0; align-self: center; background: var(--paper); border: 1px solid var(--line); border-radius: .4rem; padding: .6rem; }
.map { display: block; width: 100%; height: auto; border-radius: .2rem; }
figcaption { font-size: .75rem; padding: .6rem .3rem .1rem; color: var(--muted); }
/* Photo carousel (spec 05): a scroll-snap strip that swipes without JS;
   js/carousel.js adds the buttons, keys and counter. No autoplay. */
.carousel { grid-column: 1 / -1; min-width: 0; }
.carousel:not(:has(.carousel__slide)) { display: none; }
.carousel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.carousel__head h3 { margin: 0; }
.carousel__controls { flex: 1 1 auto; display: grid; grid-template-columns: auto minmax(3.5em, 1fr) auto; align-items: center; gap: .5rem; max-width: 26rem; }
.carousel__controls[hidden], .carousel__hint[hidden] { display: none; }
.carousel__status { margin: 0; text-align: center; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel__button { gap: .4rem; padding: .6rem .75rem; background: var(--paper); color: var(--accent); }
.carousel__button:hover { background: var(--rose); color: var(--accent-hover); }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; background: var(--paper); border: 1px solid var(--line); border-radius: .4rem; }
.carousel.is-enhanced .carousel__track { scrollbar-width: none; }
.carousel.is-enhanced .carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; margin: 0; padding: .6rem; scroll-snap-align: start; }
/* Cap the width rather than the height, so the frame stays 4:3 (height at
   most min(70vh, 40rem)) and centred on wide, short screens. */
.carousel__slide img { display: block; width: 100%; max-width: calc(min(70vh, 40rem) * 4 / 3); height: auto; aspect-ratio: 4 / 3; margin-inline: auto; object-fit: contain; background: var(--soft); border-radius: .2rem; }
.carousel__slide figcaption { font-size: .85rem; }
.carousel__hint { margin: .6rem 0 0; }
@media (max-width: 359px) { .carousel__controls { grid-template-columns: 1fr 1fr; } .carousel__status { grid-area: 1 / 1 / 2 / 3; } }
.carousel:not(:has(.carousel__slide + .carousel__slide)) .carousel__hint { display: none; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.section-heading > p { color: var(--muted); font-size: .9rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .9rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
thead { background: var(--soft); }
thead th { color: var(--muted); font-size: .75rem; font-weight: 650; }
.tiers tbody th { font-weight: 600; }
.tiers td:last-child { color: var(--accent); font-weight: 600; }
.tiers + .small { margin-top: .8rem; }
.notice { background: var(--soft); border-left: 3px solid var(--accent); padding: 1rem; font-size: .85rem; margin-block: 1.3rem; }
.scope-grid { margin-top: 2.5rem; }
.exclusions { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.exclusions ul { padding-left: 1.2rem; font-size: .9rem; }
.exclusions li { margin-bottom: .45rem; }
.bulk-note { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: .4rem; }
.bulk-note p { max-width: 52rem; font-size: .9rem; }
.section-intro { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-family: var(--serif); font-size: 1.8rem; margin-bottom: 1rem; }
.steps p { font-size: .9rem; color: var(--muted); }
.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: .3rem; }
.plots { min-width: 720px; }
.plot--available { background: var(--white); }
.plot--available:hover, .plot--available:has(input:checked) { background: var(--rose); }
.plot--available td:nth-child(6) { color: #36553e; font-weight: 600; }
.plot--reserved { background: #f6eee0; color: #654b22; }
.plot--sold { background: var(--soft); color: var(--muted); }
.plot--sold td:nth-child(6), .plot--reserved td:nth-child(6) { font-weight: 650; }
.plots input[type="checkbox"] { width: 24px; height: 24px; margin: 10px; accent-color: var(--accent); cursor: pointer; }
.plots td:first-child { padding: 0; width: 48px; }
.enquiry-band { background: var(--rose); }
.enquiry-copy a, .site-footer p { overflow-wrap: anywhere; }
.contact-card { padding-block: 1.5rem .5rem; margin-top: 2rem; border-top: 1px solid #c6b5bb; }
.contact-card p { font-size: .9rem; }
.form-card { background: var(--paper); padding: 1.3rem; border: 1px solid var(--line); border-radius: .5rem; min-width: 0; }
form { display: grid; gap: .35rem; }
label { font-size: .9rem; font-weight: 550; margin-top: .75rem; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); padding: .7rem; width: 100%; min-width: 0; border: 1px solid var(--field-line); border-radius: 3px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; }
form button { margin-top: .75rem; }
button[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form-help { margin: .5rem 0 0; }
.hidden { display: none; }
.site-footer { padding-block: 2.5rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.brand--footer { margin-bottom: 1.2rem; }
.brand--footer .brand__mark { width: 1.7rem; }
.brand--footer .brand__name { font-size: 1.2rem; }
.site-footer > p { max-width: 54rem; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { display: inline-block; margin: 1rem; }
.thanks { min-height: 65vh; display: grid; align-content: center; max-width: 44rem; padding-block: 4rem; }
.thanks .button { justify-self: start; margin-top: 1rem; }
@media (min-width: 700px) {
  .wrap { width: min(var(--measure), calc(100% - 4rem)); }
  .section { padding-block: 5rem; }
  .hero { grid-template-columns: 1.55fr 1fr; align-items: center; gap: 3rem; padding-block: 4.5rem; }
  .availability { padding: 2rem; }
  .split { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 3rem; }
  .scope-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .exclusions { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .enquiry-layout { grid-template-columns: 1fr 1.25fr; gap: 3rem; }
  .form-card { padding: 2rem; }
}
@media (min-width: 1050px) { .steps { grid-template-columns: repeat(4, 1fr); } .hero { gap: 5rem; } }
@media (prefers-reduced-motion: reduce) { html, .carousel__track { scroll-behavior: auto; } }
/* The setting section without a map: one column, readable line length. */
.split > div:first-child { max-width: 46rem; }
@media (min-width: 700px) { .split:not(:has(.map-card)) { grid-template-columns: 1fr; } }
.plots.plots--no-note { min-width: 560px; }
.statement { max-width: 46rem; padding-block: 3.5rem 4rem; }
.statement h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.statement ul { padding-left: 1.2rem; }
.statement li { margin-bottom: .5rem; }
