/* Alexander's Construction — complete home-scene replacement, 2026-09-24.
 * Load LAST, after base.css, theme.css, motion.css and growth.css.
 * Pair with the accompanying home.php (ribbon geometry + grouped hero caption).
 * The site's 1180px / 28px container and separate sticky shell are unchanged.
 * Only decorative images and carousel controls bleed outside the content grid.
 */
@font-face {
  font-family: Cormorant;
  src: url('../fonts/cormorant-garamond.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('../fonts/cormorant-garamond-italic.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* 0. Foundations and cascade isolation ------------------------------------ */
.public-page main.home-page.container.stack {
  --navy: #0e1b2c;
  --navy-2: #152a42;
  --cream: #fbf7ef;
  --display: Cormorant, Georgia, 'Times New Roman', serif;
  --home-unit: min(1px, calc((100vw - 2 * var(--gutter, 28px)) / 1180));
  --home-bleed: max(var(--gutter, 28px), calc((100vw - var(--max, 1180px)) / 2));
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
}
.home-page .container {
  width: min(calc(100% - 2 * var(--gutter, 28px)), var(--max, 1180px));
  margin-inline: auto;
}
/* These selectors must beat .home-page.stack > * + * in theme.css. */
.home-page.stack > .orbit-hero { margin: 0; }
.home-page.stack > .approach-wave { margin-top: calc(-238 * var(--home-unit)); }
.home-page.stack > .projects-field { margin-top: calc(-130 * var(--home-unit)); }
.home-page.stack > .story-scene { margin-top: calc(-115 * var(--home-unit)); }
.home-page.stack > .cta-wave { margin-top: calc(-136 * var(--home-unit)); }
.home-page .scene { position: relative; background: transparent; pointer-events: none; }
.home-page .scene-body { position: relative; z-index: 1; pointer-events: none; }
.home-page .scene-body > .container { pointer-events: auto; }
.home-page .scene-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.home-page .scene-edge {
  fill: none;
  stroke: #fbf7ef;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: .75;
}
.home-page .scene-texture { opacity: .12; }
.home-page .approach-wave .scene-base,
.home-page .story-scene .scene-base { fill: var(--navy); }
.home-page .projects-field .scene-base { fill: var(--cream); }
.home-page .cta-wave .scene-base { fill: var(--orange); }
.home-page .cta-wave .scene-texture { opacity: .075; mix-blend-mode: multiply; }
.home-page .story-scene .scene-texture { opacity: .22; }
.home-page h1, .home-page h2, .home-page h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
}
.home-page .eyebrow {
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .18em;
  margin: 0 0 12px;
}
.home-page .button,
.home-page .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 9px;
  font: 700 14px/1.35 Manrope, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.home-page .button { color: #fff; }
.home-page .button-outline {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
}
.home-page .button .icon, .home-page .button-outline .icon {
  position: static;
  width: 20px;
  height: 20px;
  flex: none;
  color: currentColor;
}
/* Ambient floating previously misaligned card tops, captions and contact rows.
 * Reveal/parallax hooks remain; continuous widget bobbing is not a layout tool. */
.home-page .project-card, .home-page .cta-panel {
  animation: none;
  translate: none;
}
.home-page .project-card:hover, .home-page .project-card:focus-within,
.home-page .project-card:hover .project-caption,
.home-page .project-card:focus-within .project-caption {
  transform: none;
}

/* 1. Hero: one measured canvas for the photo, guide and seven satellites ----- */
.home-page .orbit-hero { z-index: auto; padding: 0; }
.home-page .orbit-hero > .container {
  position: relative;
  height: calc(820 * var(--home-unit));
  z-index: 5;
}
.home-page .orbit-atmosphere {
  position: absolute;
  inset: 0 0 calc(-200 * var(--home-unit));
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: #eee9df;
}
.home-page .orbit-atmosphere img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-page .orbit-sky { inset: 0; object-position: center 35%; opacity: .82; }
.home-page .orbit-atmosphere .orbit-landscape {
  inset: 28% 0 auto;
  height: 78%;
  object-position: center 68%;
  opacity: .42;
  mask-image: linear-gradient(transparent, #000 40%);
  -webkit-mask-image: linear-gradient(transparent, #000 40%);
}
.home-page .orbit-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f4f0e8 0%, #f4f0e8ed 22%, #f4f0e8a6 43%, #f4f0e80a 70%),
    linear-gradient(0deg, #fbf7ef 0%, #fbf7ef00 24%, #fbf7ef00 80%, #f4f0e866 100%);
}
.home-page .orbit-copy {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
  top: calc(72 * var(--home-unit));
  left: 0;
  width: calc(355 * var(--home-unit));
}
.home-page .orbit-copy .eyebrow {
  color: #15202a;
  font-size: clamp(9px, .79vw, 11px);
  letter-spacing: .16em;
  white-space: nowrap;
  margin-bottom: 14px;
}
.home-page .orbit-copy .eyebrow > span { padding-inline: 3px; }
.home-page .orbit-copy h1 {
  margin: 0 0 22px;
  font-size: calc(64 * var(--home-unit));
  line-height: .94;
  font-weight: 600;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: initial;
  color: #0c1823;
}
.home-page .orbit-copy h1 > span,
.home-page .orbit-copy h1 > em {
  display: block;
  white-space: nowrap;
  font-style: normal;
}
.home-page .orbit-copy h1 > em { color: var(--orange); }
.home-page .orbit-copy > p:not(.eyebrow) {
  max-width: 34ch;
  margin: 0 0 26px;
  font-size: clamp(14px, 1.13vw, 16px);
  line-height: 1.52;
  color: #292d30;
}
.home-page .orbit-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-page .orbit-actions .button, .home-page .orbit-actions .button-outline {
  padding-inline: 18px;
  font-size: 13px;
}
.home-page .orbit-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0;
  width: 100%;
  margin-top: 28px;
}
.home-page .orbit-stats > span {
  min-width: 0;
  border-left: 1px solid #18233320;
  padding-left: 16px;
}
.home-page .orbit-stats > span:first-child { padding-left: 0; border-left: 0; }
.home-page .orbit-stats strong {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font: 600 30px/1 var(--display);
  letter-spacing: -.03em;
  color: #0e1b2c;
}
.home-page .orbit-stats strong b { font-weight: inherit; }
.home-page .orbit-stats > span > span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.3;
  color: #34383d;
}
.home-page .orbit-stats small { display: block; font-size: 10px; margin-top: 2px; }
.home-page .orbit-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.home-page .orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home-page .orbit-guide { fill: none; stroke: #686659; stroke-width: 1; opacity: .62; }
.home-page .orbit-accent { fill: none; stroke: var(--orange); stroke-width: 2; }
.home-page .orbit-dots { fill: var(--orange); }
.home-page .orbit-circle {
  position: absolute;
  left: calc(330 * var(--home-unit));
  top: calc(86 * var(--home-unit));
  width: calc(564 * var(--home-unit));
  height: calc(592 * var(--home-unit));
  border: 6px solid #fffaf1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 42px -26px #17243870;
  isolation: isolate;
}
.home-page .orbit-circle > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.home-page .orbit-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0c1c3d60 0%, #0c1c3d26 26%, transparent 52%);
  pointer-events: none;
}
.home-page .orbit-circle-copy {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 15%;
  width: 70%;
  color: #fff;
  text-align: center;
  transform: rotate(-5deg);
}
.home-page .orbit-circle-copy .script {
  display: block;
  font-family: Caveat, cursive;
  font-size: calc(62 * var(--home-unit));
  font-weight: 500;
  line-height: .80;
  letter-spacing: -.035em;
  text-shadow: 0 2px 12px #15223650;
}
.home-page .orbit-script-line { display: block; }
.home-page .orbit-circle-copy strong {
  display: block;
  margin-top: 22px;
  font: 700 12px/1.5 Manrope, Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  transform: rotate(5deg);
}
.home-page .orbit-flourish {
  position: absolute;
  top: calc(105 * var(--home-unit));
  right: -52px;
  width: 120px;
  margin: 0;
  color: #102330;
  text-align: center;
  transform: rotate(-8deg);
}
.home-page .orbit-flourish .script { display: block; font-size: 30px; font-weight: 500; }
.home-page .orbit-flourish::after {
  content: ''; display: block; width: 74px; height: 2px;
  margin: 12px auto 0; background: var(--orange); transform: rotate(-8deg);
}
.home-page .orbit-item {
  position: absolute;
  width: calc(266 * var(--home-unit));
  height: calc(88 * var(--home-unit));
  display: flex;
  align-items: center;
  gap: calc(12 * var(--home-unit));
  padding: 0 calc(15 * var(--home-unit)) 0 0;
  border-radius: 60px;
  color: #0c1823;
  background: #fffdf8e8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 9px 28px -20px #16232f50;
  pointer-events: auto;
  overflow: visible;
}
.home-page .orbit-photo {
  display: block;
  width: calc(112 * var(--home-unit));
  height: calc(112 * var(--home-unit));
  flex: 0 0 calc(112 * var(--home-unit));
  overflow: hidden;
  border: 3px solid #fffaf4;
  border-radius: 50%;
  margin-left: -2px;
  transition: border-color .22s var(--ease-out), box-shadow .22s var(--ease-out), transform .22s var(--ease-out);
}
.home-page .orbit-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-page .orbit-item.is-active .orbit-photo {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--orange), 0 10px 22px -10px #e54f0770;
  transform: scale(1.06);
}
.home-page .orbit-item.is-active strong { color: var(--orange); }
/* Big-circle photo AND caption crossfade together when a service pill is hovered/focused. */
.home-page .orbit-circle > img[data-orbit-photo],
.home-page .orbit-circle-copy { transition: opacity .18s var(--ease-out); }
.home-page .orbit-circle.is-swapping > img[data-orbit-photo],
.home-page .orbit-circle.is-swapping .orbit-circle-copy { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .home-page .orbit-circle > img[data-orbit-photo],
  .home-page .orbit-circle-copy { transition: none; }
  .home-page .orbit-photo { transition: none; }
}
.home-page .orbit-item > span:last-child { min-width: 0; }
.home-page .orbit-item strong {
  display: block;
  font: 750 clamp(11px, .95vw, 13px)/1.2 Manrope, Arial, sans-serif;
  letter-spacing: -.025em;
}
.home-page .orbit-item > span:last-child > span {
  display: block;
  margin-top: 5px;
  font: 400 clamp(10px, .79vw, 11px)/1.35 Manrope, Arial, sans-serif;
  color: #30383c;
}
.home-page .orbit-item-framing { left: calc(670 * var(--home-unit)); top: calc(24 * var(--home-unit)); }
.home-page .orbit-item-steel { left: calc(818 * var(--home-unit)); top: calc(116 * var(--home-unit)); }
.home-page .orbit-item-barndo { left: calc(891 * var(--home-unit)); top: calc(227 * var(--home-unit)); }
.home-page .orbit-item-concrete { left: calc(914 * var(--home-unit)); top: calc(348 * var(--home-unit)); }
.home-page .orbit-item-earthwork { left: calc(890 * var(--home-unit)); top: calc(470 * var(--home-unit)); }
.home-page .orbit-item-casita { left: calc(838 * var(--home-unit)); top: calc(587 * var(--home-unit)); }
.home-page .orbit-item-customhomes { left: calc(723 * var(--home-unit)); top: calc(699 * var(--home-unit)); }

/* 2. Navy approach: high at the left, low below the satellite arc ------------ */
.home-page .approach-wave { z-index: 4; color: #fff; }
.home-page .approach-wave .scene-body {
  padding: calc(88 * var(--home-unit)) 0 calc(72 * var(--home-unit));
}
.home-page .approach-wave .container {
  display: grid;
  grid-template-columns: calc(330 * var(--home-unit)) minmax(0, 1fr);
  gap: calc(44 * var(--home-unit));
  align-items: end;
}
.home-page .approach-wave h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: calc(54 * var(--home-unit));
  line-height: .95;
  font-weight: 500;
}
.home-page .approach-wave p:not(.eyebrow) {
  margin: 0 0 20px;
  max-width: 36ch;
  color: #f0f2f3;
  font-size: 14px;
  line-height: 1.48;
}
.home-page .approach-wave .button-outline { min-height: 44px; color: #fff; font-size: 13px; }
.home-page .approach-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 132px));
  gap: calc(26 * var(--home-unit));
  justify-content: start;
  align-items: start;
  padding-bottom: 5px;
}
.home-page .approach-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  text-align: center;
  border-left: 1px solid #ffffff10;
}
.home-page .approach-icons .icon {
  width: 86px;
  height: 86px;
  padding: 25px;
  border: 1px solid #ffffffb5;
  border-radius: 50%;
  color: #fff;
}
.home-page .approach-icons span {
  max-width: 115px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

/* 3. Ivory projects: one image bleed + a separately aligned three-card rail -- */
.home-page .projects-field { z-index: 3; }
.home-page .projects-field .scene-body { padding: 74px 0 26px; }
.home-page .projects-layout {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  gap: 0;
  align-items: center;
}
.home-page .projects-panel {
  position: relative;
  height: 460px;
  width: calc(100% + var(--home-bleed));
  max-width: none;
  margin: 0 0 0 calc(-1 * var(--home-bleed));
  overflow: hidden;
  clip-path: url(#home-project-photo);
  background: #bdb2a0;
}
.home-page .projects-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.home-page .projects-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08121c08 10%, #08121c60 44%, #08121c30);
}
.home-page .projects-panel figcaption {
  position: absolute;
  z-index: 1;
  top: 45%;
  left: 35%;
  right: 8%;
  color: #fff;
  text-align: left;
}
.home-page .projects-panel figcaption .script {
  display: block;
  font: 500 30px/1.08 var(--display);
  letter-spacing: -.02em;
  text-shadow: 0 2px 12px #0008;
}
.home-page .projects-panel figcaption::after {
  content: ''; display: block; width: 62px; height: 3px;
  margin-top: 18px; background: var(--orange); transform: rotate(-3deg);
}
.home-page .projects-main { min-width: 0; padding-left: 24px; }
/* Explicit specificity defeats theme.css's 32px heading and 130px side margins. */
.public-page .home-page .projects-field .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin: 0 0 22px;
}
.public-page .home-page .projects-field .section-heading h2 {
  font: 600 48px/.98 var(--display);
  letter-spacing: -.045em;
  text-wrap: initial;
  color: #0c1823;
  margin: 0;
}
.home-page .projects-field .section-heading .eyebrow { margin: 0 0 10px; }
.home-page .projects-field .text-link {
  margin: 0;
  padding: 0;
  gap: 12px;
  font: 650 11px/1.4 Manrope, Arial, sans-serif;
  color: #0c1823;
  text-transform: none;
  white-space: nowrap;
}
.home-page .projects-field .text-link .icon { width: 20px; height: 20px; color: var(--orange); }
.home-page .field-slider { position: relative; padding: 0 0 0 40px; }
.home-page .field-track {
  --field-gap: 22px; /* Must equal the +22 step in the unmodified home.js. */
  display: flex;
  align-items: stretch;
  gap: var(--field-gap);
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 12px;
  -webkit-overflow-scrolling: touch;
}
.home-page .field-track::-webkit-scrollbar { display: none; }
.home-page .field-track .project-card {
  flex: 0 0 calc((100% - 2 * var(--field-gap)) / 3);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 5px 12px -8px #14243145;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
  scroll-snap-align: start;
}
.home-page .project-card > a { display: flex; flex-direction: column; height: 100%; }
.public-page .home-page .project-card .project-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}
.public-page .home-page .project-card .project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-page .project-card .project-caption {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 64px;
  height: auto;
  padding: 11px 10px 12px;
  flex: 1;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.home-page .project-caption > div { flex: 1; min-width: 0; }
.home-page .project-caption h3 {
  margin: 0;
  font: 750 12px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: -.025em;
  text-wrap: initial;
}
.home-page .project-caption span {
  display: block;
  margin-top: 4px;
  font: 400 10px/1.35 Manrope, Arial, sans-serif;
  color: #47433e;
  white-space: normal;
  overflow-wrap: normal;
}
.home-page .project-caption > .icon {
  position: static;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--orange);
}
.home-page .field-nav-btn {
  position: absolute;
  top: calc((100% - 76px) / 2);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #16233090;
  border-radius: 50%;
  background: #fbf7ef;
  color: #152535;
  box-shadow: none;
  z-index: 2;
}
.home-page .field-nav-btn[data-field-prev] { left: -8px; }
.home-page .field-nav-btn[data-field-next] { right: -48px; }
.home-page .field-nav-btn .icon { width: 18px; height: 18px; }
.home-page .field-nav-btn[data-field-prev] .icon { transform: rotate(180deg); }
.home-page .field-nav-btn:disabled { opacity: .35; cursor: default; }

/* 4. Navy story: shared centerline, unboxed quote, real project link --------- */
.home-page .story-scene { z-index: 4; color: #fff; }
.home-page .story-scene .scene-body { padding: 82px 0 66px; }
.home-page .story-row {
  display: grid;
  grid-template-columns: 240px 350px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 220px;
}
.home-page .story-local {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: #fff;
}
.home-page .story-local > .icon { width: 42px; height: 52px; color: #fff; }
.home-page .story-local > span { min-width: 0; }
.home-page .story-local strong {
  display: block;
  font: 750 18px/1.25 Manrope, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-page .story-local span span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #edf0f3;
}
.home-page .story-photo {
  position: relative;
  height: 220px;
  border-radius: 52% 48% 42% 58% / 22% 36% 30% 35%;
  overflow: hidden;
  background: #253247;
}
.home-page .story-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.home-page .story-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #081522bb 0%, transparent 60%);
  pointer-events: none;
}
.home-page .story-badge {
  position: absolute;
  z-index: 1;
  inset: auto 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
/* A grid icon, not a circular media/play affordance. */
.home-page .story-badge > .icon { width: 20px; height: 20px; }
.home-page .story-badge span { font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.home-page .testimonial-carousel {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
  border: 0;
  box-shadow: none;
}
/* Hidden quotes still determine track height. Cycling cannot shift the CTA. */
.home-page .carousel-track { display: grid; }
.home-page .carousel-slide {
  display: block;
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.home-page .carousel-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.home-page .carousel-slide blockquote {
  margin: 0 0 20px;
  font: 500 29px/1.08 var(--display);
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: initial;
}
.home-page .carousel-slide figcaption { display: flex; align-items: center; gap: 12px; }
.home-page .carousel-slide .initials {
  width: 44px;
  height: 44px;
  font: 700 14px/1 Manrope, Arial, sans-serif;
  background: #ffffff20;
  border: 1px solid #ffffff50;
  color: #fff;
}
.home-page .carousel-slide figcaption strong { display: block; font-size: 13px; color: #fff; }
.home-page .carousel-slide figcaption span span { display: block; font-size: 11px; color: #e3e8ec; }
.home-page .carousel-slide figcaption time { font-size: inherit; }
.home-page .carousel-slide figcaption time::before { content: '· '; }
.home-page .carousel-controls { display: flex; align-items: center; gap: 12px; }
.home-page .carousel-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.home-page .carousel-nav .icon { width: 17px; height: 17px; }
.home-page .carousel-nav[data-testimonial-prev] .icon { transform: rotate(180deg); }
.home-page .recommend-note { flex: 1; text-align: center; font-size: 10px; line-height: 1.4; color: #e3e8ec; }

/* 5. Orange CTA: two actual columns; props have their own far-right region --- */
.home-page .cta-wave { z-index: 6; }
.home-page .cta-wave .scene-body { padding: 143px 0 46px; }
.home-page .cta-wave .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 370px 570px;
  gap: 32px;
  align-items: center;
}
.home-page .cta-copy .eyebrow { color: #fff; margin-bottom: 12px; }
.home-page .cta-copy h2 {
  color: #fff;
  font: 500 52px/.97 var(--display);
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.home-page .cta-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.45; color: #fff; max-width: 36ch; margin: 0; }
.home-page .cta-panel.glass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 158px;
  gap: 20px;
  align-items: center;
  min-height: 164px;
  padding: 26px;
  border: 1px solid #ffffffbb;
  border-radius: 22px;
  background: #fffaf2eb;
  box-shadow: 0 10px 26px -22px #552b21;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.home-page .cta-details { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: #15202a; }
.home-page .cta-details a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  font: 500 12px/1.4 Manrope, Arial, sans-serif;
  color: #15202a;
  overflow-wrap: anywhere;
}
.home-page .cta-details .icon { width: 18px; height: 18px; flex: none; color: var(--orange); }
.home-page .cta-panel > .button {
  position: relative;
  grid-column: 2;
  justify-self: stretch;
  align-self: center;
  font-size: 13px;
  padding: 13px 12px;
  min-height: 52px;
  margin: 0;
  color: #fff;
}
.home-page .cta-panel > .button .icon { color: #fff; }
.home-page .cta-panel::after {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  right: 194px;
  width: 1px;
  background: #18263324;
  pointer-events: none;
}
.home-page .cta-props {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: min(360px, 27vw);
  height: 250px;
  overflow: hidden;
  pointer-events: none;
  background: #f4ecdf;
  clip-path: polygon(17% 24%, 100% 0, 100% 100%, 0 100%);
}
.home-page .cta-props img { position: absolute; max-width: none; border: 0; border-radius: 0; box-shadow: none; mix-blend-mode: multiply; }
.home-page .prop-blueprints { width: 330px; right: -40px; bottom: -30px; transform: rotate(-12deg); }
.home-page .prop-hardhat { width: 195px; right: -8px; top: 4px; transform: rotate(12deg); z-index: 2; }
.home-page .prop-sticky { width: 140px; left: 16px; bottom: 2px; transform: rotate(-13deg); z-index: 3; }

/* 6. Motion, focus and fail-open rendering -------------------------------- */
/* Do not hide content merely because it has data-reveal: no-JS and reduced
 * motion must remain usable. motion.js adds motion-ready + reveal-pending. */
.home-page [data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .home-page [data-reveal].reveal-pending { opacity: 0; transform: translateY(16px); filter: blur(2px); }
  .motion-ready .home-page [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
  .home-page .orbit-item { transition: box-shadow .25s ease, background-color .25s ease; }
  .home-page .orbit-item:hover { background-color: #fffaf3; box-shadow: 0 12px 30px -16px #13273555; }
  .home-page .carousel-slide { transition: opacity .24s ease; }
}
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.home-page .approach-wave a:focus-visible,
.home-page .story-scene a:focus-visible,
.home-page .story-scene button:focus-visible,
.home-page .cta-wave a:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .home-page [data-reveal], .home-page [data-heading], .home-page .hero-step { opacity: 1 !important; transform: none !important; filter: none !important; }
  .home-page .orbit-circle { translate: none !important; }
  .home-page .field-track { scroll-behavior: auto; }
}

/* 7. Small desktop: retain the same composition, scale its canvas ------------ */
@media (min-width: 1100px) and (max-width: 1235px) {
  .home-page .orbit-flourish { right: -18px; width: 100px; }
  .home-page .orbit-flourish .script { font-size: 24px; }
  .home-page .orbit-actions { gap: 10px; }
  .home-page .orbit-actions .button, .home-page .orbit-actions .button-outline { padding-inline: 12px; font-size: 12px; }
  .home-page .approach-icons { gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-page .approach-icons > div { padding-inline: 6px; }
  .home-page .approach-icons .icon { width: 76px; height: 76px; padding: 21px; }
  .home-page .approach-icons span { font-size: 12px; }
  .home-page .projects-main { padding-left: 18px; }
  .public-page .home-page .projects-field .section-heading h2 { font-size: 42px; }
  .home-page .projects-field .text-link { font-size: 10px; }
  .home-page .field-nav-btn[data-field-next] { right: -24px; width: 30px; height: 30px; }
  .home-page .field-slider { padding-right: 16px; padding-left: 32px; }
  .home-page .story-row { grid-template-columns: 210px 300px minmax(0, 1fr); gap: 28px; }
  .home-page .cta-wave .container { grid-template-columns: 330px 550px; gap: 24px; }
  .home-page .cta-props { width: 200px; opacity: .85; }
}

/* 8. Tablet: a readable copy column above a locally scaled orbit ------------ */
@media (max-width: 1099px) {
  .home-page.stack > .approach-wave { margin-top: -60px; }
  .home-page.stack > .projects-field { margin-top: -66px; }
  .home-page.stack > .story-scene { margin-top: -50px; }
  .home-page.stack > .cta-wave { margin-top: -40px; }
  .home-page .orbit-hero > .container { height: auto; padding-top: 46px; padding-bottom: 52px; }
  .home-page .orbit-copy { position: relative; inset: auto; width: min(540px, 100%); }
  .home-page .orbit-copy h1 { font-size: 70px; }
  .home-page .orbit-copy > p:not(.eyebrow) { max-width: 45ch; }
  .home-page .orbit-copy .eyebrow { font-size: 11px; }
  .home-page .orbit-stats { max-width: 400px; }
  .home-page .orbit-field {
    --home-unit: min(.87px, calc((100vw - 2 * var(--gutter, 28px)) / 850));
    position: relative;
    inset: auto;
    height: calc(820 * var(--home-unit));
    width: 100%;
    max-width: 850px;
    margin: 32px auto 0;
  }
  .home-page .orbit-circle { left: 0; }
  .home-page .orbit-ring { width: calc(1180 * var(--home-unit)); left: calc(-330 * var(--home-unit)); }
  .home-page .orbit-item-framing { left: calc(340 * var(--home-unit)); }
  .home-page .orbit-item-steel { left: calc(488 * var(--home-unit)); }
  .home-page .orbit-item-barndo { left: calc(561 * var(--home-unit)); }
  .home-page .orbit-item-concrete { left: calc(584 * var(--home-unit)); }
  .home-page .orbit-item-earthwork { left: calc(560 * var(--home-unit)); }
  .home-page .orbit-item-casita { left: calc(508 * var(--home-unit)); }
  .home-page .orbit-item-customhomes { left: calc(393 * var(--home-unit)); }
  .home-page .orbit-flourish { display: none; }
  .home-page .approach-wave .scene-body { padding: 150px 0 90px; }
  .home-page .approach-wave .container { grid-template-columns: 1fr 1.2fr; gap: 32px; }
  .home-page .approach-wave h2 { font-size: 48px; }
  .home-page .approach-icons { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .home-page .approach-icons span { font-size: 13px; }
  .home-page .projects-field .scene-body { padding: 100px 0 66px; }
  .home-page .projects-layout { grid-template-columns: 1fr; gap: 32px; }
  .home-page .projects-panel { width: min(85%, 670px); height: 340px; }
  .home-page .projects-main { padding-left: 0; }
  .public-page .home-page .projects-field .section-heading h2 { font-size: 48px; }
  .home-page .field-slider { padding-inline: 48px; }
  .home-page .field-nav-btn[data-field-prev] { left: 0; }
  .home-page .field-nav-btn[data-field-next] { right: 0; }
  .home-page .project-caption h3 { font-size: 14px; }
  .home-page .project-caption span { font-size: 11px; }
  .home-page .story-scene .scene-body { padding: 90px 0 95px; }
  .home-page .story-row { grid-template-columns: .7fr 1fr; gap: 32px; }
  .home-page .testimonial-carousel { grid-column: 1 / -1; max-width: 640px; width: 100%; justify-self: center; }
  .home-page .story-photo { height: 220px; }
  .home-page .story-local { max-width: 260px; }
  .home-page .cta-wave .scene-body { padding: 115px 0 60px; }
  .home-page .cta-wave .container { grid-template-columns: 1fr; gap: 30px; }
  .home-page .cta-copy { max-width: 430px; }
  .home-page .cta-panel.glass { width: min(570px, 100%); }
  .home-page .cta-props { width: 240px; opacity: .65; }
}

/* 9. Phones: flow layout, no offscreen satellites or clipped live content --- */
@media (max-width: 699px) {
  .home-page .container { width: calc(100% - 2 * var(--gutter, 28px)); }
  .home-page.stack > .scene { margin-top: 0; }
  .home-page .scene-shape { display: none; }
  .home-page .orbit-hero > .container { padding: 34px 0 58px; }
  .home-page .orbit-copy { width: 100%; }
  .home-page .orbit-copy .eyebrow { font-size: 8px; letter-spacing: .105em; white-space: normal; }
  .home-page .orbit-copy h1 { font-size: clamp(40px, 11vw, 62px); line-height: .96; }
  .home-page .orbit-copy > p:not(.eyebrow) { font-size: 15px; max-width: 40ch; }
  .home-page .orbit-actions { gap: 12px; }
  .home-page .orbit-actions .button, .home-page .orbit-actions .button-outline { padding-inline: 14px; font-size: 12px; }
  .home-page .orbit-stats { margin-top: 26px; max-width: 400px; }
  .home-page .orbit-stats strong { font-size: 29px; }
  .home-page .orbit-stats > span { padding-left: 12px; }
  .home-page .orbit-stats > span > span { font-size: 10px; }
  .home-page .orbit-atmosphere { inset: 0; }
  .home-page .orbit-field { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; width: 100%; height: auto; margin-top: 34px; }
  .home-page .orbit-ring { display: none; }
  .home-page .orbit-circle { position: relative; inset: auto; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: .97; margin: 0 0 16px; border-width: 4px; }
  .home-page .orbit-circle-copy { top: 11%; }
  .home-page .orbit-circle-copy .script { font-size: clamp(35px, 10vw, 60px); }
  .home-page .orbit-circle-copy strong { font-size: 8px; letter-spacing: .15em; margin-top: 16px; }
  .home-page .orbit-item {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 162px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
  }
  .home-page .orbit-photo { width: 64px; height: 64px; flex-basis: 64px; margin: -5px 0 0; border-width: 2px; }
  .home-page .orbit-item strong { font-size: 12px; }
  .home-page .orbit-item > span:last-child > span { font-size: 10px; }
  .home-page .orbit-item:last-child { grid-column: 1 / -1; flex-direction: row; min-height: 84px; align-items: center; gap: 16px; }
  .home-page .approach-wave, .home-page .story-scene { background: var(--navy); color: #fff; }
  .home-page .approach-wave { border-radius: 12% 30% 0 0 / 28px 42px 0 0; }
  .home-page .approach-wave .scene-body { padding: 46px 0 54px; }
  .home-page .approach-wave .container { grid-template-columns: 1fr; gap: 32px; }
  .home-page .approach-wave h2 { font-size: 46px; }
  .home-page .approach-wave p:not(.eyebrow) { max-width: none; font-size: 15px; }
  .home-page .approach-icons { gap: 26px 20px; }
  .home-page .approach-icons > div { padding: 0; border: 0; }
  .home-page .approach-icons .icon { width: 76px; height: 76px; padding: 22px; }
  .home-page .projects-field { background: var(--cream); }
  .home-page .projects-field .scene-body { padding: 40px 0 52px; }
  .home-page .projects-layout { gap: 30px; }
  .home-page .projects-panel { clip-path: none; width: calc(100% + var(--gutter, 28px)); height: 290px; margin-left: calc(-1 * var(--gutter, 28px)); border-radius: 0 42% 42% 0 / 0 24% 24% 0; }
  .home-page .projects-panel figcaption { top: 40%; left: 18%; right: 12%; }
  .home-page .projects-panel figcaption .script { font-size: 26px; }
  .public-page .home-page .projects-field .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .public-page .home-page .projects-field .section-heading h2 { font-size: 42px; }
  .home-page .projects-field .text-link { font-size: 12px; }
  .home-page .field-slider { padding: 0 0 52px; }
  .home-page .field-track .project-card { flex-basis: 82%; }
  .home-page .field-nav-btn { top: auto; bottom: 0; transform: none; width: 40px; height: 40px; }
  .home-page .field-nav-btn[data-field-prev] { left: 0; }
  .home-page .field-nav-btn[data-field-next] { left: 54px; right: auto; }
  .home-page .story-scene { border-radius: 14% 0 0 0 / 28px 0 0 0; }
  .home-page .story-scene .scene-body { padding: 46px 0 52px; }
  .home-page .story-row { grid-template-columns: 1fr; gap: 30px; }
  .home-page .story-local { max-width: none; }
  .home-page .story-local strong { font-size: 17px; }
  .home-page .story-photo { height: 230px; border-radius: 18px; }
  .home-page .testimonial-carousel { grid-column: auto; }
  .home-page .carousel-slide blockquote { font-size: 28px; }
  .home-page .recommend-note { font-size: 10px; }
  .home-page .cta-wave { background: var(--orange); }
  .home-page .cta-wave .scene-body { padding: 44px 0; }
  .home-page .cta-copy h2 { font-size: 43px; }
  .home-page .cta-copy > p:not(.eyebrow) { font-size: 15px; }
  .home-page .cta-panel.glass { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; min-height: 0; border-radius: 18px; }
  .home-page .cta-panel > .button { grid-column: 1; justify-self: start; padding-inline: 22px; }
  .home-page .cta-panel::after { display: none; }
  .home-page .cta-details a { font-size: 12px; }
  .home-page .cta-props { display: none; }
}
