/* Wexley Residential (concept site). Limestone, evergreen and bronze; upright Didone headings,
   humanist sans body, hairline rules instead of boxes. */
:root {
  --stone: #efebe4;
  --paper: #f8f6f1;
  --ink: #1b1f1d;
  --ink-2: #545a56;
  --rule: #d3ccbf;
  --bronze: #87572a;
  --bronze-dark: #6b4420;
  --green: #1f2b27;
  --green-2: #2a3833;
  --sand: #d9c4a0;
  --on-green: #ece7dc;
  --serif: "Bodoni 72", Didot, "Bodoni MT", "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 76rem;
  --gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 1.6rem + 2.3vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
p { margin: 0; }
a { color: var(--bronze); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.on-green :focus-visible { outline-color: var(--sand); }
svg { display: block; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 20; }
.skip:focus { left: .5rem; color: #fff; }
.muted { color: var(--ink-2); }
.kicker { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.kicker::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-green .kicker { color: var(--sand); }

/* Concept label */
.concept-bar { background: var(--ink); font-size: .85rem; text-align: center; }
.concept-bar a { color: #f1ede5; display: inline-flex; align-items: center; min-height: 36px; padding: 0 1rem; }
.concept-bar a:hover { color: #fff; }
.concept-bar :focus-visible { outline-color: #f1ede5; outline-offset: -3px; }

/* Header */
.site-head { background: var(--stone); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: .14em; }
.brand-word span { font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: .25rem 1.75rem; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: .95rem; }
.nav a:hover { color: var(--bronze); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ink); }
.nav .tel { font-variant-numeric: tabular-nums; color: var(--ink-2); gap: .4rem; }
.nav .tel svg { width: 16px; height: 16px; }
.sub-nav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.5rem;
  font: 500 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--green); color: var(--on-green); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--stone); }
.btn-sand { background: var(--sand); color: var(--green); }
.btn-sand:hover { background: #e7d6b8; color: var(--green); }
.on-green .btn-line { border-color: var(--on-green); color: var(--on-green); }
.on-green .btn-line:hover { background: var(--on-green); color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover { color: var(--bronze); border-color: var(--bronze); }
.text-link:hover svg { transform: translateX(3px); }

/* Hero */
.hero { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: center; }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.15rem; color: var(--ink-2); margin-top: 1.25rem; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { width: 100%; height: auto; }
.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: .8rem; color: var(--ink-2); margin-top: .75rem; letter-spacing: .04em; }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ledger a { display: block; padding: 1.25rem 1.25rem 1.25rem 0; text-decoration: none; color: var(--ink); border-right: 1px solid var(--rule); min-height: 44px; }
.ledger a + a { padding-left: 1.25rem; }
.ledger a:last-child { border-right: 0; }
.ledger b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.ledger span { color: var(--ink-2); font-size: .95rem; }
.ledger a:hover b { color: var(--bronze); }

/* Sections */
.section { padding: var(--section) 0; }
.section-paper { background: var(--paper); border-block: 1px solid var(--rule); }
.section-green { background: var(--green); color: var(--on-green); }
.section-green .muted { color: #c3c9c2; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head > div { max-width: 38rem; }
.section-head p.muted { max-width: 30rem; }

/* Listings */
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.listing { display: flex; flex-direction: column; }
.listing-art { position: relative; background: #e3ddd2; aspect-ratio: 4 / 3; overflow: hidden; }
.listing-art svg { width: 100%; height: 100%; }
.tag { position: absolute; left: .75rem; top: .75rem; background: var(--paper); color: var(--ink); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .6rem; }
.listing-body { padding-top: 1.1rem; display: grid; gap: .35rem; }
.listing-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.price { font-family: var(--serif); font-size: 1.55rem; font-variant-numeric: lining-nums; }
.price small { font-family: var(--sans); font-size: .72rem; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; margin-left: .35rem; }
.facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; color: var(--ink-2); font-size: .92rem; padding: 0; margin: .2rem 0 0; list-style: none; border-top: 1px solid var(--rule); padding-top: .6rem; }
.street { font-weight: 500; }
.idx-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .95rem; max-width: 46rem; }
.placeholder { border: 1px dashed #b5ab99; padding: 1.25rem 1.5rem; color: var(--ink-2); background: rgba(255,255,255,.35); }
.placeholder b { color: var(--ink); display: block; margin-bottom: .25rem; font-weight: 500; }

/* Agent */
.agent { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.monogram { aspect-ratio: 4 / 5; background: var(--green); color: var(--sand); display: grid; place-items: center; position: relative; }
.monogram::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(217, 196, 160, .45); }
.monogram span { font-family: var(--serif); font-size: clamp(4rem, 3rem + 4vw, 6.5rem); letter-spacing: .06em; line-height: 1; }
.monogram-caption { margin-top: .75rem; font-size: .85rem; color: var(--ink-2); }
.agent-copy > p { margin-top: 1rem; max-width: 40rem; }
.agent-copy .lede { margin-top: 1.25rem; }
.principles { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.principles li { border-top: 1px solid var(--rule); padding-top: 1rem; }
.principles b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: .25rem; }
.principles span { color: var(--ink-2); font-size: .98rem; }

/* Sell and buy split */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.25rem, 1rem + 3vw, 4rem); display: grid; gap: 1rem; align-content: start; }
.path + .path { border-left: 1px solid rgba(236, 231, 220, .18); }
.path p { max-width: 30rem; }
.path .btn { justify-self: start; margin-top: .75rem; }

/* Lifestyle */
.lifestyle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.lifestyle article { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.lifestyle svg { width: 100%; height: auto; margin-bottom: 1.1rem; }
.lifestyle h3 { margin-bottom: .5rem; }
.lifestyle p { color: var(--ink-2); font-size: .98rem; }

/* Reviews */
.reviews-slot { display: grid; gap: .5rem; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.form { background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: grid; gap: 1.5rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.form legend { font-family: var(--serif); font-size: 1.3rem; padding: 0; margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.full { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; }
.field label, .choice-title { font-size: .9rem; font-weight: 500; }
.field .opt { color: var(--ink-2); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #a79e8e; border-radius: 0; padding: .7rem .8rem; min-height: 48px; width: 100%; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.hint { font-size: .85rem; color: var(--ink-2); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choices label { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; cursor: pointer; font-size: .98rem; }
.choices input { width: 24px; height: 24px; margin: 0; min-height: 0; padding: 0; accent-color: var(--green); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.form-foot p { color: var(--ink-2); font-size: .9rem; max-width: 26rem; }
.form-note { background: var(--green); color: var(--on-green); padding: .9rem 1.1rem; }
.form-note:focus-visible { outline-color: var(--bronze); }
.aside { display: grid; gap: 2rem; }
.aside h2 { font-size: 1.5rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; color: var(--bronze); margin-top: .15rem; }
.checks b { color: var(--ink); font-weight: 500; }

/* Page intro for inner pages */
.intro { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.intro h1 { max-width: 16ch; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stages div { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.stages h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.stages p { color: var(--ink-2); font-size: .98rem; }

/* Contact strip */
.contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; }
.contact h2 { max-width: 20ch; }

/* Footer */
.site-foot { background: var(--green); color: var(--on-green); padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0 2rem; font-size: .95rem; }
.site-foot a { color: var(--on-green); }
.site-foot a:hover { color: #fff; }
.site-foot .brand { color: var(--on-green); }
.site-foot .brand-word span { color: #b9c0b8; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 2rem var(--gap); }
.foot-grid h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); margin-bottom: .75rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; }
.foot-note { margin-top: 1rem; color: #c3c9c2; max-width: 28rem; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(236, 231, 220, .18); color: #c3c9c2; font-size: .88rem; }
.foot-base a { display: inline-flex; min-height: 44px; align-items: center; }

/* Mobile action bar */
.action-bar { display: none; }

@media (max-width: 1020px) {
  .lifestyle, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listings .listing:nth-child(3) { display: none; }
  .listings.all .listing:nth-child(3) { display: flex; }
  .hero-grid, .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .head-row .nav { display: none; }
  .sub-nav { display: flex; gap: 0 1.5rem; overflow-x: auto; border-top: 1px solid var(--rule); }
  .agent { grid-template-columns: minmax(0, 1fr); }
  .monogram { aspect-ratio: auto; height: 14rem; max-width: 24rem; }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .path + .path { border-left: 0; border-top: 1px solid rgba(236, 231, 220, .18); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .listings, .listings.all { grid-template-columns: minmax(0, 1fr); }
  .listings .listing:nth-child(3) { display: flex; }
  .lifestyle, .stages, .principles, .grid { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger a, .ledger a + a { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1rem 0; }
  .actions .btn { flex: 1 1 100%; }
  body { padding-bottom: 76px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; inset: auto 0 0; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(239, 235, 228, .96); border-top: 1px solid var(--rule); z-index: 10; }
  .action-bar .btn { padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
