@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/hanken-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fafaf7;
  --slate: #3a4650;
  --muted: #5a6a74;
  --coral: #e8706a;
  --line: #deded6;
  font-family: "Hanken Grotesk", sans-serif;
  color: var(--slate);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
p, h1, figure { margin: 0; }
img { display: block; max-width: 100%; }
::selection { background: #f2d0cb; }
:focus-visible { outline: 3px solid #a23d38; outline-offset: 6px; }

.skip-link { position: absolute; top: 12px; left: 16px; z-index: 2; padding: 12px 20px; background: var(--slate); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.page { min-height: 100svh; max-width: 1480px; margin-inline: auto; padding: 30px 64px 24px; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; text-decoration: none; }
.brand img { width: 156px; height: auto; }
.header-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.header-note span { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 64px; flex: 1; padding-block: 56px 72px; }
.intro { padding-bottom: 20px; }
.eyebrow { color: var(--muted); font-size: 14px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 26px; }
h1 { font-size: clamp(52px, 6.2vw, 88px); line-height: 1.035; font-weight: 400; letter-spacing: -.052em; margin-bottom: 28px; }
.description { max-width: 425px; font-size: 20px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 34px; min-height: 56px; padding: 16px 22px; background: var(--slate); color: var(--cream); border-radius: 4px; font-size: 17px; text-decoration: none; transition: background-color .15s; }
.contact:hover { background: #252e35; }
.invitation { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.housing { min-width: 0; }
.image-frame { position: relative; overflow: hidden; background: #e1e0d9; aspect-ratio: 1 / 1.12; border-radius: 3px; }
.homes { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; filter: saturate(.4) contrast(.93) brightness(1.03); }
.image-mark { position: absolute; bottom: 0; left: 0; padding: 22px 26px; background: var(--cream); border-top-right-radius: 3px; }
.image-mark img { width: 56px; height: auto; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; line-height: 1.4; }
.image-note { color: var(--muted); font-size: 12px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.error { width: min(720px, 100%); margin-block: auto; padding-block: 96px; }
.error h1 { font-size: clamp(40px, 6vw, 64px); }

@media (min-width: 1600px) { .page { padding-inline: 80px; } }
@media (max-width: 1100px) {
  .page { padding-inline: 40px; }
  .hero { gap: 36px; }
  h1 { font-size: clamp(52px, 6vw, 70px); }
  .description { font-size: 18px; }
  figcaption { font-size: 13px; }
}
@media (max-width: 820px) {
  .page { padding: 22px 28px; }
  .brand img { width: 132px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 54px 42px; }
  .intro { padding-bottom: 0; }
  h1 { font-size: clamp(48px, 9vw, 70px); }
  .description { max-width: 470px; font-size: 19px; }
  .image-frame { aspect-ratio: 1.65; }
  .homes { object-position: center 54%; }
  .image-mark { padding: 14px 18px; }
  .image-mark img { width: 38px; }
}
@media (max-width: 430px) {
  .page { padding-inline: 22px; }
  .header-note { max-width: 95px; font-size: 13px; line-height: 1.35; }
  .hero { padding-top: 40px; }
  .eyebrow { margin-bottom: 22px; font-size: 13px; }
  h1 { font-size: clamp(43px, 11.6vw, 50px); margin-bottom: 24px; }
  .description { font-size: 18px; }
  .contact { margin-top: 28px; }
  .footer { font-size: 13px; }
  .footer p:first-child { max-width: 205px; }
}
@media (prefers-reduced-motion: reduce) { .contact { transition: none; } }
