/* Integrity Custom Built · model home grand opening. Colors from the brand and the house:
   the copper of Integrity's logo, and the model home's dark board-and-batten siding. */
:root {
  --paper: #F4EFE7;
  --paper-2: #EBE4D8;
  --ink: #1D2229;
  --muted: #5B6470;
  --siding: #23282F;
  --blue: #8A5A44;       /* copper, dark enough for white button text and small links */
  --blue-dark: #72493A;
  --roof: #8A5A44;       /* copper accent on light grounds */
  --copper-light: #E2B39C; /* copper accent on the dark siding */
  --line: #D9D0C2;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.kicker { margin: 0 0 12px; font: 700 13px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--roof); }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--siding); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding-block: 8px; }
.mark { display: block; line-height: 0; }
.mark img { height: 42px; width: auto; }
.bar-call { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--siding); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
@media (max-width: 700px) {
  .hero picture img { object-position: 96% 20%; }
  .hero .hero-shade { background: linear-gradient(180deg, rgba(20,24,30,.05) 8%, rgba(20,24,30,.68) 40%, rgba(20,24,30,.93) 100%); }
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,30,0) 25%, rgba(20,24,30,.55) 55%, rgba(20,24,30,.9) 100%); }
.hero-copy { position: relative; padding-block: 120px 40px; }
.hero .kicker { color: var(--copper-light); }
.hero h1 { font-size: clamp(40px, 9vw, 76px); max-width: 13ch; }
.when { margin: 18px 0 0; display: flex; flex-direction: column; gap: 2px; font-size: 19px; }
.when strong { font-size: clamp(24px, 5vw, 32px); font-family: var(--display); }
.when span { color: #E3E7EC; }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 15px; background: rgba(255,255,255,.08); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 17px; }
.btn-main { background: var(--blue); color: #fff; }
.btn-main:hover { background: var(--blue-dark); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-line { color: var(--ink); border: 2px solid var(--ink); }

/* intro */
.intro { padding-block: 56px 8px; }
.lede { margin: 0; max-width: 34ch; font: 500 clamp(22px, 4.4vw, 30px)/1.35 var(--display); }

/* what you'll see */
.see { display: grid; gap: 32px; padding-block: 40px 64px; }
.see-photo img { width: 100%; aspect-ratio: 1100 / 774; object-fit: cover; border-radius: 6px; }
.see-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.see h2 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 20px; }
.see ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
.see li { counter-increment: s; padding: 18px 0 18px 52px; position: relative; border-top: 1px solid var(--line); }
.see li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 20px; font: 700 15px/1 var(--body); color: var(--roof); letter-spacing: .06em; }
.see h3 { font-size: 22px; margin-bottom: 4px; }
.see p { margin: 0; color: var(--muted); max-width: 46ch; }

/* family */
.family { background: var(--siding); color: #fff; }
.family-in { display: grid; gap: 28px; padding-block: 56px; align-items: center; }
.family .kicker { color: var(--copper-light); }
.family h2 { font-size: clamp(30px, 6vw, 46px); max-width: 16ch; }
.family p { color: #D6DBE1; max-width: 44ch; margin: 16px 0 0; }
.family img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }

/* plans */
.plans { padding-block: 64px 56px; }
.plans h2 { font-size: clamp(28px, 5.5vw, 40px); }
.plans .sub { margin: 8px 0 24px; color: var(--muted); }
.plan-row { display: grid; gap: 18px; }
.plan-row figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.plan-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plan-row figcaption { display: flex; flex-direction: column; padding: 12px 14px 14px; }
.plan-row figcaption strong { font: 700 20px/1.2 var(--display); }
.plan-row figcaption span { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }

/* last call */
.last { background: var(--paper-2); border-top: 1px solid var(--line); }
.last-in { display: grid; gap: 20px; padding-block: 56px; align-items: center; }
.last-mark { display: flex; flex-direction: column; gap: 18px; }
.last-logo { width: 200px; height: auto; }
.date-big { margin: 0; font: 700 clamp(64px, 16vw, 112px)/0.9 var(--display); color: var(--roof); }
.date-big span { display: block; font: 700 14px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.last h2 { font-size: clamp(28px, 5.5vw, 40px); }
.last p { margin: 8px 0 0; color: var(--muted); }
.last p.date-big { margin: 0; color: var(--roof); }

/* footer */
.foot { background: var(--siding); color: #C9CFD6; font-size: 14px; line-height: 1.6; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { display: grid; gap: 18px; padding-block: 36px; }
.foot p { margin: 0; }
.foot strong { color: #fff; }
.foot a { color: #fff; }

/* privacy page */
.doc { padding-block: 48px 72px; max-width: 760px; }
.doc h1 { font-size: clamp(34px, 7vw, 48px); margin-bottom: 6px; }
.doc .eff { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #2F3640; }
.doc ul { padding-left: 20px; }

@media (min-width: 760px) {
  .wrap { padding-inline: 32px; }
  .see { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .family-in { grid-template-columns: 1fr 1fr; gap: 48px; }
  .plan-row { grid-template-columns: repeat(3, 1fr); }
  .last-in { grid-template-columns: auto 1fr; gap: 48px; }
  .foot-in { grid-template-columns: repeat(3, 1fr); }
  .mark img { height: 48px; }
  .last-logo { width: 240px; }
  .hero-copy { padding-block: 160px 64px; }
}
