.home-page {
  --scene-charcoal: #1e1e1c;
  --scene-graphite: #343431;
  --scene-ivory: #f5f2ec;
  --scene-sand: #d8cbb3;
  --scene-muted: #77746d;
  --scene-electric: #2f6bff;
  --scene-electric-surface: linear-gradient(#1e1e1c0a, #1e1e1c0a), var(--scene-electric);
  --scene-hairline: rgb(245 242 236 / .19);
}

/* The photograph, its gradient, and the content share the same full-width surface. */
.home-page .photo-scene {
  position: relative;
  isolation: isolate;
  background: var(--scene-charcoal);
  color: var(--scene-ivory);
}
.scene-media,.photo-scene::before { position: absolute; inset: 0; pointer-events: none; }
.scene-media { display: block; z-index: -2; }
.scene-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-scene::before { content: ""; z-index: -1; }
.home-page .photo-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(42.5rem, calc(100vh - 4.65rem));
  min-height: max(42.5rem, calc(100svh - 4.65rem));
}
.photo-hero .scene-media img { object-position: center; }
.photo-hero::before {
  background: linear-gradient(90deg,
    rgb(30 30 28 / .95) 0%,
    rgb(30 30 28 / .88) 25%,
    rgb(30 30 28 / .65) 42%,
    rgb(30 30 28 / .28) 60%,
    rgb(30 30 28 / .05) 78%,
    rgb(30 30 28 / 0) 100%);
}
.home-page .photo-hero .hero-grid {
  width: min(79rem, calc(100% - 2 * var(--gutter)));
  grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vh, 5.85rem);
  border: 0;
}
.home-page .photo-hero .hero-copy { width: 100%; max-width: 37rem; padding: 0; margin: 0; }
.photo-hero .hero-copy > .label { color: var(--scene-sand); gap: .8rem; }
.photo-hero .hero-copy > .label::before { width: 1.7rem; height: 1px; flex: none; background: var(--scene-sand); }
.home-page .photo-hero h1 {
  max-width: 16ch;
  margin: .9rem 0 1.2rem;
  color: var(--scene-ivory);
  font: 700 clamp(3.75rem, 4.65vw, 4.25rem)/1.075 var(--heading-font);
  letter-spacing: -.055em;
}
.home-page .photo-hero h1 em { color: var(--scene-sand); font-style: normal; }
.photo-hero .hero-deck { max-width: 45ch; color: var(--scene-ivory); font: 400 clamp(1rem, 1.25vw, 1.125rem)/1.6 var(--body-font); }
.photo-hero .area-form { max-width: 30rem; margin-top: clamp(1.4rem, 3vw, 2.1rem); }
.photo-hero .form-row { padding: .25rem; border: 1px solid #f5f2ec83; border-radius: .53rem; background: #1e1e1cbf; }
.photo-hero .form-row:focus-within { border-color: var(--scene-ivory); box-shadow: 0 0 0 2px #f5f2ec42; }
.photo-hero .form-row input,.photo-hero .form-row button { min-height: 2.8rem; }
.photo-hero .form-row input { color: var(--scene-ivory); }
.photo-hero .form-row input::placeholder { color: color-mix(in srgb, var(--scene-ivory) 82%, var(--scene-muted)); opacity: 1; }
.photo-hero .pin { border-color: var(--scene-sand); }
.photo-hero .pin::after { background: var(--scene-sand); }
.photo-hero :is(.hint,.area-feedback) { color: var(--scene-ivory); }
.photo-hero .hero-links { display: flex; flex-wrap: wrap; margin-top: 1.2rem; }
.home-page .photo-scene :is(.primary,.light) {
  color: #ffffff;
  border-color: var(--scene-electric);
  background: var(--scene-electric-surface);
  box-shadow: 0 8px 20px -10px #0c2e9b9c;
}
.photo-hero .hero-sample {
  color: var(--scene-ivory);
  border: 1px solid #f5f2ec8c;
  border-radius: .42rem;
  background: #1e1e1c50;
  box-shadow: none;
}
.photo-scene :focus-visible { outline-color: var(--scene-ivory); }
.photo-hero .area-result :focus-visible { outline-color: var(--midnight); }
.photo-hero .area-result .button:focus-visible { outline-offset: 3px; }
.photo-hero .coverage-band { background: #1e1e1cda; border-color: var(--scene-hairline); }
.photo-hero .coverage-line li,.photo-hero .coverage-line .tlink { color: var(--scene-ivory); }
.photo-hero .coverage-line li::before { border-color: var(--scene-sand); }

/* Keep the existing Inbox and pricing information readable on bright areas of the photographs. */
.photo-hero .hero-brief,.photo-pilot .pilot-price {
  min-width: 0;
  width: 100%;
  max-width: 37rem;
  justify-self: end;
  color: var(--scene-ivory);
  border: 1px solid var(--scene-hairline);
  border-radius: 1rem;
  background: rgb(30 30 28 / .87);
  box-shadow: 0 24px 62px -24px #000000a6, 0 1px 0 #ffffff1f inset;
  overflow: hidden;
}
@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
  .photo-hero .hero-brief,.photo-pilot .pilot-price {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: linear-gradient(150deg, rgb(52 52 49 / .82), rgb(30 30 28 / .68));
  }
}
.hero-brief-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .7rem;
  padding: .86rem clamp(1rem, 2.3vw, 1.65rem);
  color: var(--scene-ivory);
  background: #1e1e1c56;
  border-bottom: 1px solid var(--scene-hairline);
}
.hero-brief-header .board-envelope,.hero-brief-header .board-envelope::before { border-color: var(--scene-sand); }
.hero-brief-tag {
  color: var(--scene-ivory);
  font-size: var(--support-size);
  border: 1px solid var(--scene-hairline);
  background: #1e1e1c38;
  padding: .12rem .46rem;
  border-radius: .25rem;
}
.hero-brief-body { padding: clamp(1rem, 2.7vw, 2rem); }
.hero-brief-body > .label { color: var(--scene-sand); }
.hero-brief h2 { margin: .52rem 0 1.1rem; font-size: var(--h2-size); line-height: 1.12; text-wrap: balance; }
.hero-brief-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.15rem; margin-bottom: 1rem; }
.hero-brief-facts > div { padding-block: .68rem; border-top: 1px solid var(--scene-hairline); }
.hero-brief-facts dt { color: var(--scene-ivory); font-size: var(--support-size); font-weight: 700; }
.hero-brief-facts dd { margin-top: .25rem; color: var(--scene-ivory); font-size: 1rem; line-height: 1.42; }
.hero-brief-facts .hero-brief-next {
  grid-column: 1 / -1;
  border: 1px solid #a9beff59;
  border-radius: .48rem;
  background: linear-gradient(120deg, #233760b0, #1e1e1c8c);
  margin-bottom: .65rem;
  padding: .78rem .9rem;
}
.hero-brief-next dt { display: flex; gap: .6rem; align-items: center; }
.hero-brief-next .board-check { border-color: #a9beff; }
.hero-brief-next dd { font-weight: 650; }
.photo-hero .hero-brief-body .tlink { color: var(--scene-ivory); text-decoration-color: var(--scene-sand); }

.home-page #pilot.photo-pilot { padding-block: clamp(3.25rem, 7vw, 7.1rem); border-color: var(--scene-graphite); }
.photo-pilot .scene-media img { object-position: 58% 48%; }
.photo-pilot::before {
  background: linear-gradient(95deg, #1e1e1cf5 1%, #1e1e1cda 29%, #1e1e1c86 59%, #1e1e1c3b 100%);
}
.photo-pilot .pilot-layout { gap: clamp(1.85rem, 6vw, 6rem); }
.photo-pilot .section-title .label,.photo-pilot .pilot-price .label { color: var(--scene-sand); }
.photo-pilot .section-title h2 { color: var(--scene-ivory); }
.photo-pilot .pilot-scope-link { color: var(--scene-ivory); }
.photo-pilot .pilot-price::before { height: .24rem; background: linear-gradient(90deg, var(--scene-electric), #a9beff90, transparent 92%); }
.photo-pilot .pilot-amount { color: #b2c6ff; }
.photo-pilot .pilot-amount span,.photo-pilot .billing-details :is(dt,dd) { color: var(--scene-ivory); }
.photo-pilot .billing-details > div { border-top-color: var(--scene-hairline); }
.photo-pilot .billing-details .tlink { color: var(--scene-ivory); text-decoration-color: #b2c6ff; }

.home-page .photo-closing {
  display: grid;
  align-items: center;
  min-height: clamp(23rem, 37vw, 30rem);
  border-color: var(--scene-graphite);
}
.photo-closing .scene-media img { object-position: center 54%; }
.photo-closing::before {
  background: linear-gradient(90deg, #1e1e1cf7 0%, #1e1e1cdc 33%, #1e1e1c77 66%, #1e1e1c1c 100%);
}
.photo-closing .split { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.photo-closing .section-title h2 { color: var(--scene-ivory); }
.home-page :is(.photo-pilot,.photo-closing) .section-title > p:not(.label) { color: var(--scene-ivory); max-width: 43ch; }
.photo-closing .split > div { justify-self: start; }

@media (hover: hover) and (pointer: fine) {
  .home-page .photo-scene :is(.primary,.light):hover {
    border-color: #a9beff;
    background: linear-gradient(#1e1e1c30, #1e1e1c30), var(--scene-electric);
  }
  .photo-hero .hero-sample:hover { background: #1e1e1ca6; border-color: var(--scene-ivory); }
}
@media (max-width: 56rem) {
  .home-page .photo-hero { min-height: auto; }
  .home-page .photo-hero .hero-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .photo-hero .hero-brief,.photo-pilot .pilot-price { justify-self: start; }
  .home-page .photo-hero h1 { font-size: clamp(2.65rem, 6.3vw, 3.65rem); }
  .photo-hero .scene-media img { object-position: 62% center; }
  .photo-hero::before {
    background:
      linear-gradient(180deg, #1e1e1c42, #1e1e1c20 33%, #1e1e1c00 70%),
      linear-gradient(90deg, #1e1e1ced, #1e1e1cbd 49%, #1e1e1c58 100%);
  }
}
@media (max-width: 42rem) {
  .home-page .photo-hero .hero-grid { gap: 1.7rem; padding-block: 2.1rem 2.4rem; }
  .home-page .photo-hero h1 { font-size: clamp(2.25rem, 8.5vw, 2.625rem); }
  .photo-hero .hero-deck { font-size: 1rem; }
  .photo-hero::before {
    background: linear-gradient(155deg, #1e1e1cf5 2%, #1e1e1cce 32%, #1e1e1c88 61%, #1e1e1c27 100%);
  }
  .hero-brief-body { padding-block: .84rem; }
  .hero-brief h2 { font-size: clamp(1.55rem, 6.6vw, 2.05rem); margin: .32rem 0 .75rem; }
  .hero-brief-facts { grid-template-columns: minmax(0,1fr); }
  .hero-brief-facts > div { padding-block: .56rem; }
  .photo-pilot .scene-media img { object-position: 59% center; }
  .photo-pilot::before { background: linear-gradient(170deg, #1e1e1cf3 4%, #1e1e1cb6 47%, #1e1e1c50 100%); }
  .photo-closing::before { background: linear-gradient(145deg, #1e1e1cf5 6%, #1e1e1ccc 43%, #1e1e1c60 100%); }
}

.qualification-summary { background: var(--ice); }
.qualification-list { gap: clamp(.75rem, 2vw, 1.5rem); margin-top: 1.65rem; }
.qualification-list article {
  border: 1px solid var(--mist);
  padding: clamp(1rem, 2.25vw, 1.65rem);
  border-radius: var(--panel-radius);
  background: var(--white);
}
.qualification-list article::before {
  content: "";
  display: block;
  width: .8rem;
  height: .49rem;
  margin: .35rem .2rem 1.1rem;
  border: solid var(--midnight);
  border-width: 0 0 2px 2px;
  rotate: -45deg;
}
.home-page .qualification-summary, .home-page #pilot, .home-page .walkthrough {
  padding-block: clamp(2.8rem, 5.5vw, 5.35rem);
}
.walkthrough { background: var(--tint); }
.walkthrough-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1.25rem; margin-top: 1rem; }
.walkthrough-actions .tlink { margin-top: 0; }
.walkthrough-grid {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: 1.75rem clamp(2rem, 5.5vw, 5.5rem);
}
.facility-strip { background: var(--tint); }
.facility-strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-block: 1.05rem; }
.facility-strip p { color: var(--slate); }

.story-board {
  min-width: 0;
  isolation: isolate;
  color: var(--midnight);
  background: #f1f4f7;
  border: 1px solid #617587;
  border-radius: var(--panel-radius);
  box-shadow: 0 13px 40px #1f2d3e13;
}
.board-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .9rem;
  padding: .78rem clamp(.9rem, 2vw, 1.55rem);
  border-radius: 5px 5px 0 0;
  color: var(--white);
  background: var(--midnight);
}
.board-title { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 700; }
.board-envelope { position: relative; display: inline-block; width: 1rem; height: .72rem; border: 1px solid #7b91a4; border-radius: 2px; overflow: hidden; }
.board-envelope::before { position: absolute; inset: -.49rem .075rem auto; width: .71rem; height: .71rem; content: ""; rotate: 45deg; border: solid #7b91a4; border-width: 0 1px 1px 0; }
.story-examples, .board-tabs { display: flex; }
.story-examples {
  align-items: center;
  flex-wrap: wrap;
  gap: .18rem;
  padding: .16rem;
  border: 1px solid #47596b;
  border-radius: 4px;
}
.story-examples button, .board-tabs button {
  border: 0;
  color: inherit;
  background: transparent;
  font: 600 .86rem/1.25 var(--body-font);
  min-height: 2.35rem;
}
.story-examples button { border-radius: 2px; padding: .4rem .62rem; }
.story-examples button:focus-visible { outline-color: var(--powder); outline-offset: 2px; }
.board-tabs { border-bottom: 1px solid #a0b9cb; background: #d0dde6; }
.board-tabs button {
  min-width: 0;
  flex: 1 1 0;
  border-bottom: 2px solid transparent;
  padding: .64rem .3rem;
  color: #2d3d50;
}
.board-tabs button + button { border-left: 1px solid #a0b9cb; }
.board-tabs button:focus-visible { outline-offset: -3px; }
.story-panels { padding: clamp(1rem, 3vw, 2.15rem) clamp(1rem, 3.3vw, 2.4rem); background: #f1f4f7; border-bottom: 1px solid #b7ccdb; }
.walkthrough[data-enhanced] .story-panels { display: grid; align-items: center; min-height: 17rem; }
.story-panel { min-width: 0; }
.story-panel + .story-panel { border-top: 1px solid #b1c8d9; padding-top: 1.1rem; margin-top: 1.1rem; }
.walkthrough[data-enhanced] .story-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.55rem);
  margin: 0;
  padding: 0;
  border: 0;
  transition: opacity 220ms ease, transform 370ms var(--ease), visibility 0s linear 220ms;
}
.walkthrough[data-enhanced] .story-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 60ms, 60ms, 0s;
  z-index: 1;
}
.reply-head { display: flex; align-items: center; gap: .65rem; }
.reply-monogram { display: grid; width: 2.55rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #c0d3e0; font-size: .83rem; color: #233345; font-weight: 700; }
.reply-sender { color: var(--midnight); font-size: .95rem; font-weight: 700; }
.board-meta { color: #38495b; font-size: .78rem; font-weight: 650; letter-spacing: .075em; text-transform: uppercase; }
.reply-panel blockquote { margin: 1.1rem 0 0; max-width: 34ch; font: 600 clamp(1.2rem, 2vw, 1.65rem)/1.38 var(--heading-font); letter-spacing: -.025em; }
.reply-property { margin-top: .86rem; color: #344557; font-size: .92rem; }
.story-panel h3 { margin-top: .48rem; font: 600 var(--h3-size)/1.18 var(--heading-font); letter-spacing: -.042em; text-wrap: wrap; }
.board-facts { display: grid; gap: .55rem; margin-top: .82rem; }
.board-facts > div { display: grid; grid-template-columns: minmax(6.25rem, .65fr) minmax(0, 1.35fr); gap: .3rem .75rem; border-top: 1px solid #b1c8d9; padding-top: .42rem; }
.board-facts dt { color: #36475a; font-size: .82rem; font-weight: 600; }
.board-facts dd { font-size: .93rem; line-height: 1.36; }
.next-panel .board-meta { color: #2f4052; display: flex; align-items: center; gap: .5rem; }
.board-check { display: inline-block; width: .75rem; height: .43rem; border: solid var(--midnight); border-width: 0 0 2px 2px; rotate: -45deg; }
.board-detail { max-width: 39ch; margin-top: .62rem; color: var(--slate); }
.handoff-context { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: 1rem; }
.handoff-context span { padding: .22rem .49rem; border: 1px solid #9fb8ca; background: #d4dfe8; color: #2a3a4d; font-size: .84rem; }
.board-footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .64rem clamp(.85rem, 2.1vw, 1.45rem); font-size: .75rem; color: #344557; }
.board-progress { display: none; flex: 0 1 6.3rem; gap: .3rem; }
.walkthrough[data-enhanced] .board-progress { display: flex; }
.board-progress > span { height: 2px; flex: 1; background: #9ab2c5; }
.story-board[data-stage="0"] .board-progress > :first-child,
.story-board[data-stage="1"] .board-progress > :nth-child(-n+2),
.story-board[data-stage="2"] .board-progress > span { background: #3b4c5f; }
.story-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


@media (prefers-reduced-motion: no-preference) {
  .hero-brief { animation: subtle-enter 480ms var(--ease) 65ms backwards; }
}
@media (max-width: 61rem) {
  .home-page .nav-inner { gap: .5rem; }
  .home-page .menu-toggle::before { display: none; }
  .mobile-zip {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin-left: auto;
    padding-inline: .35rem;
    color: var(--midnight);
    font-size: var(--support-size);
    font-weight: 700;
  }
  .home-page .header nav .primary { display: none; }
}
@media (max-width: 56rem) {
  .qualification-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 47rem) {
  .walkthrough-grid { grid-template-columns: minmax(0, 1fr); }
  .walkthrough[data-enhanced] .story-panels { min-height: 14rem; }
  .qualification-list { grid-template-columns: minmax(0,1fr); }
  .story-examples button, .board-tabs button { min-height: 2.75rem; }
}
@media (max-width: 31rem) {
  .home-page .coverage-line ul { gap: .4rem .75rem; }
  .story-examples button { padding-inline: .44rem; }
  .board-facts > div { grid-template-columns: minmax(5.5rem, .65fr) minmax(0, 1.35fr); }
}

