:root {
  --ink: #192a39;
  --muted: #505b62;
  --accent: #805b32;
  --line: #ddd9d1;
  --linen: #f6f3ee;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --gutter: clamp(1.25rem, 6vw, 7rem);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(2.35rem, 5vw, 4.1rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); letter-spacing: -.025em; }
:focus-visible { outline: 3px solid #a77541; outline-offset: 4px; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.15rem var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font: 1.5rem/1 var(--serif);
  letter-spacing: .1em;
}
.brand span {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--accent);
  border: 1px solid currentColor;
}
.brand small { display: block; margin-top: .3rem; font: 600 .8rem/1.15 system-ui, sans-serif; letter-spacing: .13em; }
.header nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(1rem, 2.5vw, 2.2rem); font-size: .9rem; font-weight: 600; }
.header nav a { text-decoration: none; }
.header nav a:hover, footer a:hover { text-decoration: underline; }
.outline { border: 1px solid var(--ink); padding: .6rem .95rem; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  min-height: clamp(33rem, 77svh, 53rem);
  padding: 4rem var(--gutter) clamp(4rem, 8vw, 7rem);
  background: var(--ink);
  color: var(--white);
}
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero img { object-fit: cover; object-position: center 52%; }
.hero::after { content: ''; background: linear-gradient(0deg, #111d28ed 0%, #111d285c 52%, transparent 86%); }
.hero h1 { max-width: 13ch; margin-bottom: 1.5rem; font-size: clamp(3.35rem, 7.4vw, 7rem); letter-spacing: -.05em; }
.hero-caption { position: absolute; bottom: .75rem; right: var(--gutter); font-size: .8rem; }
.eyebrow { margin-bottom: .9rem; color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .process .eyebrow { color: #f5d5ac; }
.button { display: inline-block; padding: .85rem 1.25rem; border: 1px solid transparent; background: var(--ink); color: var(--white); text-decoration: none; font: 650 1rem/1.4 system-ui, sans-serif; cursor: pointer; }
.button:hover { background: #32485b; }
.hero .button { background: var(--white); color: var(--ink); }
.hero .button:hover { background: #efe5d8; }
.section { padding: clamp(3.5rem, 7vw, 7rem) var(--gutter); }
.homes .section-intro { text-align: center; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); margin-top: 2.25rem; }
.home-grid article { border: 1px solid var(--line); }
.home-grid img { aspect-ratio: 16 / 9; object-fit: cover; }
.card-copy { padding: clamp(1.25rem, 3vw, 2.5rem); }
.card-copy p:not(.eyebrow) { color: var(--muted); margin: .75rem 0 1rem; }
.card-copy a { font-weight: 650; text-underline-offset: .28em; }

.vision { background: var(--linen); }
.section-intro > p:last-child, .plan > div > p:last-child { margin-top: 1rem; color: var(--muted); max-width: 39rem; }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; margin-top: 2.5rem; }
.feature img { aspect-ratio: 5 / 3; object-fit: cover; }
.feature figcaption, .hint { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.feature dt { font-weight: 650; margin-top: 1rem; }
.feature dd { color: var(--muted); }
.process { background: var(--ink); color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.steps article { border-top: 1px solid #a8b1b7; padding-top: 1.15rem; }
.steps p { margin-top: .75rem; color: #e2e7eb; }
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.plan form { display: grid; gap: .8rem; }
.plan label { display: grid; gap: .3rem; font-weight: 600; }
.plan input, .plan select, .plan textarea { font: inherit; color: var(--ink); width: 100%; padding: .65rem .75rem; border: 1px solid #9a9fa3; background: var(--white); border-radius: 0; }
.plan textarea { resize: vertical; }
.plan button { justify-self: start; }
.hint { margin: 0; }
#status:empty { display: none; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem; background: var(--ink); color: var(--white); padding: 1.5rem var(--gutter); }

@media (max-width: 820px) {
  .header { flex-wrap: wrap; }
}
@media (max-width: 660px) {
  .header nav { column-gap: 1rem; }
  .outline { padding: .3rem .55rem; }
  .hero { min-height: 33rem; }
  .hero img { object-position: 57% center; }
  .home-grid, .feature, .steps, .plan { grid-template-columns: 1fr; }
}
