:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #142520;
  --muted: #465751;
  --green: #17483b;
  --deep: #0e3027;
  --line: #d4ddd6;
  --tint: #eaf1e9;
  --accent: #bddec5;
  --error: #a02729;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3c8365; outline-offset: 4px; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
p, ul, dl { margin: 0 0 1rem; }
li + li { margin-top: .35rem; }
ul { padding-inline-start: 1.25rem; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 1rem; overflow-wrap: anywhere; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(2.75rem, 6vw, 6.25rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
address { font-style: normal; }
.wrap { width: min(74rem, calc(100% - 2 * clamp(1rem, 4vw, 3rem))); margin-inline: auto; }

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .5rem 1rem; background: var(--white); }
.skip-link:not(:focus) { transform: translateY(-160%); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; text-decoration: none; }
.brand-mark { width: 1.15rem; height: 1.15rem; flex: none; border: 2px solid var(--green); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--white); background: var(--green); }
nav { display: flex; align-items: center; gap: .25rem clamp(.65rem, 2vw, 1.5rem); flex-wrap: wrap; }
nav a { display: inline-block; padding-block: .4rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav [aria-current] { text-decoration: underline; }
.nav-contact { color: var(--green); }

.section, .hero { padding-block: clamp(3.25rem, 8vw, 7.5rem); }
.hero { background: var(--tint); }
.eyebrow { color: var(--green); font-weight: 750; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-tagline { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 650; line-height: 1.25; max-width: 30ch; }
.lede { max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }
.split { display: grid; gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
.editorial-image { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 1rem; background: var(--line); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: .4rem;
  color: var(--white);
  padding: .7rem 1.15rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.button:hover { background: var(--deep); }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { color: var(--white); }
.button-light { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.button-light:hover { background: var(--white); }
.button:disabled { opacity: .7; cursor: wait; }

.stats { display: grid; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid #adbdaf; margin-block: clamp(2rem, 5vw, 4.5rem) 0; }
.stats dt { color: var(--muted); font-size: .9rem; }
.stats dd { margin: .25rem 0 0; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; }

.focus { color: var(--white); background: var(--deep); }
.focus :is(.eyebrow, .lede, .card p) { color: #d7e9de; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.card { min-width: 0; padding: clamp(1.15rem, 3vw, 1.65rem); border-radius: .7rem; border: 1px solid var(--line); background: var(--white); }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .card-detail { font-weight: 650; }
.focus .card { background: #194035; border-color: #547367; }

.banner { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1rem; background: var(--tint); }
.banner p { max-width: 60ch; }
.banner p, .contact-panel p:last-child, .footer-inner p:last-child { margin-bottom: 0; }
.contact-layout { align-items: start; }
.contact-panel { background: var(--white); padding: clamp(1.15rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .7rem; }
form { display: grid; gap: 1rem; }
form button { justify-self: start; }
label { display: block; font-weight: 650; margin-bottom: .25rem; }
label span { color: var(--muted); font-weight: 400; }
input, textarea { display: block; width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #85988e; border-radius: .35rem; padding: .6rem .75rem; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--error); }
.field-error, [data-state="error"] { color: var(--error); }
.field-error { margin: .25rem 0 0; }
#contact-status:empty { margin-top: -1rem; }

.portfolio-page h1 { max-width: 16ch; }
.portfolio-page .card h2 { font: 700 1.25rem/1.25 system-ui, sans-serif; letter-spacing: -.025em; }
.property { display: flex; flex-direction: column; align-items: start; }
.property-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; width: 100%; font-size: .875rem; }
.status { background: var(--tint); color: var(--green); padding: .15rem .55rem; border-radius: .3rem; }
.property-link { margin-top: auto; font-weight: 650; color: var(--green); }

.site-footer { background: var(--deep); color: #d7e9de; }
.footer-inner { align-items: start; padding-block: 2.5rem; }
.footer-inner > div { max-width: 35ch; }
.footer-brand { margin-bottom: .25rem; color: var(--white); font-weight: 750; }

@media (min-width: 33rem) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 53rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}
