/* Alternative A · Open Door
   People and access first: a large, warm hero whose video opens past the grid, the client's own
   three questions answered straight away, then services, the family story with its evidence,
   the year, and a phone-led front desk. */
:root { --section: clamp(4rem, 3rem + 4vw, 7rem); --bleed: max(var(--gutter), (100vw - var(--wrap)) / 2); }

h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { letter-spacing: -.015em; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-grid { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; gap: 2.5rem; }
.tagline { margin-bottom: 1.1rem; color: var(--color-magenta); font-size: var(--text-sm); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 11.6vw, 4.4rem); font-weight: 700; line-height: 1.03; letter-spacing: -.05em; }
.h1-line { display: block; }
.h1-accent { color: var(--color-blue); }
.lede { margin-top: 1.4rem; max-width: 33em; color: var(--color-ink); font-size: var(--text-base); line-height: 1.65; }
@media (min-width: 40rem) { .lede { font-size: var(--text-md); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1.75rem; margin-top: 2rem; }
.hero-actions .text-link { min-height: 52px; }
.invitation { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--color-blue); color: var(--color-navy); font-size: var(--text-base); font-weight: 600; line-height: 1.5; max-width: 24em; }

.hero-side { display: grid; gap: 1.75rem; }
.hero-visual { margin-inline: calc(-1 * var(--gutter)); }
.video-stage { aspect-ratio: 16 / 9; }
.video-stage > img { object-position: 40% 50%; }
.video-button { right: var(--gutter); bottom: 1rem; }  /* bottom right: keeps Matt, lower left of the frame, uncovered */
.video-caption { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem var(--gutter) 0; color: var(--color-muted); font-size: var(--text-meta); }

.review-row--featured { padding-block: 1.25rem 0; border-top: 2px solid var(--color-navy); border-bottom: 0; }
.review-row--featured blockquote { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }

@media (min-width: 40rem) {
  .hero-visual { margin-inline: 0; }
  .video-stage { border-radius: var(--radius-md); }
  .video-button { right: 1.25rem; bottom: 1.25rem; }
  .video-caption { padding-inline: 0; }
  .review-row--featured { grid-template-columns: 12.5rem minmax(0, 1fr); gap: 1.5rem; }
}
@media (min-width: 64rem) and (max-width: 84.99rem) {
  .review-row--featured { grid-template-columns: 1fr; gap: .5rem; }
  .review-row--featured figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .75rem; }
}
@media (min-width: 64rem) {
  .hero-grid {
    width: auto;
    grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [copy-start] minmax(0, 34rem) [copy-end] minmax(2.5rem, 4rem) [side-start] minmax(0, 37rem) [side-end] minmax(var(--gutter), 1fr) [full-end];
    align-items: start;
    gap: 0;
  }
  .hero-copy { grid-column: copy-start / copy-end; padding-top: 1.5rem; }
  .hero h1 { font-size: min(4.75rem, 5.5vw); }
  .hero-side { grid-column: side-start / full-end; grid-template-columns: subgrid; column-gap: 0; }
  .hero-side > * { grid-column: 1 / -1; }
  .hero-side > .review-row--featured { grid-column: 1 / 2; }
  /* The video opens past the grid to the edge of the window. */
  .video-stage { border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .hero-visual { display: grid; grid-template-columns: subgrid; }
  .hero-visual > .video-stage { grid-column: 1 / -1; }
  .hero-visual > .video-caption { grid-column: 1 / 2; }
  .video-button { right: calc(var(--bleed) + 1.25rem); }
}

/* ---------- Three questions ---------- */
.yeses { padding-block: var(--section); background: var(--color-tint); }
.yeses-head h2 { max-width: 16ch; }
.yes-list { list-style: none; display: grid; gap: 2.25rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.yes-item { padding-top: 1.25rem; border-top: 2px solid var(--color-navy); }
.yes-word { color: var(--color-blue); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.yes-item h3 { margin-top: .9rem; font-size: var(--text-lg); line-height: 1.3; }
.yes-item p:last-child { margin-top: .6rem; color: var(--color-muted); font-size: var(--text-sm); max-width: 38ch; }
.yes-more { margin-top: clamp(2.25rem, 2rem + 1.5vw, 3.25rem); }
.yes-more details { border-top: 1px solid var(--color-rule-strong); border-bottom: 0; }
.yes-more details:last-child { border-bottom: 1px solid var(--color-rule-strong); }
@media (min-width: 40rem) and (max-width: 55.99rem) {
  .yes-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 2rem; }
  .yes-item h3 { grid-column: 1; }
  .yes-item p:last-child { grid-column: 2; grid-row: 1 / span 2; margin-top: .2rem; }
}
@media (min-width: 56rem) {
  .yes-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .yes-more { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .yes-more details, .yes-more details:last-child { border-bottom: 1px solid var(--color-rule-strong); }
}

/* ---------- Services ---------- */
.services { padding-block: var(--section); scroll-margin-top: 0; }
.services-head p { margin-top: 1.1rem; color: var(--color-muted); font-size: var(--text-base); max-width: 34ch; }
.services-head .services-call { margin-top: 1.5rem; color: var(--color-ink); font-size: var(--text-sm); }
.services-call a { font-weight: 600; white-space: nowrap; }
.services .service-ledger { margin-top: 2.5rem; }
@media (min-width: 64rem) {
  .services-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 5vw, 5.5rem); align-items: start; }
  .services-head { position: sticky; top: 2rem; }
  .services .service-ledger { margin-top: .6rem; }
  .services .service-ledger summary { padding-block: 1.6rem; }
}

/* ---------- Family ---------- */
.family { padding-block: var(--section) 0; }
.family-grid { display: grid; gap: 2.5rem; }
.family-photo { max-width: 34rem; }
.family-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-md); background: var(--color-soft-blue); }
/* Small screens: a landscape crop zoomed onto the lettered sign and windows, to the right of Matt in the frame. */
.family-frame img { position: absolute; max-width: none; width: 230%; height: auto; left: -128%; top: -9%; }
.family-photo figcaption { margin-top: .75rem; color: var(--color-muted); font-size: var(--text-meta); }
.family-copy h2 { font-size: clamp(2.1rem, 1.35rem + 2.8vw, 3.4rem); max-width: 14ch; }
.family-lead { margin-top: 1.5rem; color: var(--color-navy); font-size: var(--text-md); font-weight: 500; line-height: 1.55; max-width: 32ch; }
.family-copy p:not(.family-lead) { margin-top: 1rem; color: var(--color-muted); max-width: 52ch; }
.family-copy .button { margin-top: 2rem; }
@media (min-width: 56rem) {
  .family-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
  .family-photo { max-width: none; }
  .family-frame { aspect-ratio: 4 / 5; }
  .family-frame img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
}

/* ---------- Reviews ---------- */
.reviews { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) var(--section); }
.reviews-head { display: grid; gap: .9rem; margin-bottom: 2.25rem; }
.reviews-head h2 { max-width: 14ch; }
.reviews-head p { color: var(--color-muted); }
.review-row { padding-block: 1.75rem; }
.review-row blockquote { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.55; max-width: 44ch; }
@media (min-width: 48rem) {
  .reviews .review-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6.5rem); }
}
@media (min-width: 56rem) {
  /* Quotes start on the same line as the family copy above: the claim, then the evidence. */
  .reviews-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(3rem, 6vw, 6.5rem); align-items: end; }
  .reviews-head p { padding-bottom: .4rem; }
}

/* ---------- Year ---------- */
.year { padding-block: var(--section); background: var(--color-tint); }
.year-head h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 2.75rem); }
.year-head p { margin-top: 1.1rem; color: var(--color-muted); max-width: 42ch; }
.year .timeline { margin-top: 2.5rem; }
.moments { list-style: none; }
.moment { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding-bottom: 2.25rem; }
.moment:last-child { padding-bottom: 0; }
.moment-dot { grid-column: 1; width: 14px; height: 14px; margin-top: .45rem; border: 3px solid var(--color-blue); border-radius: 50%; background: var(--color-tint); transition: background-color var(--dur-short) var(--ease-out); }
.moment.is-reached .moment-dot { background: var(--color-blue); }
.moment-copy { grid-column: 2; }
.moment-when { color: var(--color-blue); font-size: var(--text-meta); font-weight: 600; }
.moment h3 { margin-top: .3rem; font-size: 1.25rem; line-height: 1.35; }
.moment-copy p:last-child { margin-top: .5rem; color: var(--color-muted); font-size: var(--text-sm); max-width: 48ch; }
.timeline-rail, .timeline-fill { left: 6px; top: .9rem; bottom: .9rem; width: 2px; }
.timeline-fill { transform: scaleY(var(--progress)); transform-origin: top; }
@media (min-width: 64rem) {
  .year-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .year-head { position: sticky; top: 2rem; }
  .year .timeline { margin-top: .5rem; }
  .moment { padding-bottom: 2.75rem; }
}

/* ---------- Contact: phone-led front desk ---------- */
.contact { padding-block: var(--section); }
.contact-head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); max-width: 15ch; }
.contact-head p { margin-top: 1.1rem; color: var(--color-muted); font-size: var(--text-md); max-width: 40ch; }
.contact-grid { display: grid; gap: 3rem; margin-top: clamp(2.25rem, 2rem + 2vw, 3.5rem); }
.desk { display: grid; gap: 2.25rem; grid-template-areas: "call" "hours" "visit"; }
.desk-call { grid-area: call; }
.desk-hours { grid-area: hours; }
.desk-visit { grid-area: visit; display: grid; gap: .9rem; }
.desk-label { margin-bottom: 1rem; color: var(--color-ink); font-size: var(--text-base); max-width: 28ch; }
.email-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .9rem; font-size: var(--text-sm); font-weight: 600; overflow-wrap: anywhere; }
.desk-visit { padding-top: 1.75rem; border-top: 1px solid var(--color-rule); }
.desk-visit h3 { font-size: var(--text-md); }
.desk-visit address { margin-top: .5rem; color: var(--color-ink); }
.desk-visit > p { color: var(--color-muted); font-size: var(--text-sm); max-width: 44ch; }
.hours-heading { margin-bottom: .75rem; color: var(--color-navy); font-size: var(--text-md); }
.desk-hours .hours dt, .desk-hours .hours dd { padding-block: .1rem; }
.form-panel { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-top: 2px solid var(--color-navy); background: var(--color-tint); }
.form-panel .field input, .form-panel .field textarea { background: var(--color-paper); }
@media (min-width: 48rem) {
  .desk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "call hours" "visit visit"; gap: 2.5rem 3rem; }
  .desk-visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
}
@media (min-width: 72rem) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .form-panel .form-fields { grid-template-columns: 1fr; }
}
