/* Approved editorial homepage direction — 2026-09-04.
   The opening chapter is intentionally light; the project and service chapters
   share one continuous dark canvas beneath the diagonal fold. */

.home-page {
  --editorial-bone: #f2efe8;
  --editorial-ink: #090a09;
  --editorial-orange: #d76332;
  --editorial-muted: #aca8a0;
  background: var(--editorial-bone);
}

.home-page .site-nav {
  min-height: 72px;
  background: var(--editorial-bone);
  border-bottom-color: rgba(9, 10, 9, .16);
}

.home-page .site-nav .nav-links {
  background: var(--editorial-bone);
}

.home-page .site-nav__inner {
  width: min(calc(100% - clamp(16px, 2vw, 32px)), 1640px);
  min-height: 72px;
  margin-inline: auto;
}

.home-page .nav-brand {
  gap: 0;
}

.home-page .nav-brand strong {
  color: var(--editorial-ink);
  font-size: clamp(18px, 1.4vw, 23px);
  letter-spacing: -.055em;
}

.home-page .nav-brand small {
  display: none;
}

.home-page .nav-links {
  gap: clamp(24px, 3vw, 48px);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .075em;
}

.home-page .nav-project {
  min-width: 150px;
  justify-content: center;
  border: 1px solid var(--editorial-orange);
  border-radius: 5px;
}

/* Hero */
.home-page .hero {
  --hero-fg: var(--editorial-ink);
  --hero-bg: var(--editorial-bone);
  --hero-dot: var(--editorial-orange);
  min-height: min(780px, calc(100svh - 72px));
  padding: 0;
  overflow: hidden;
  border: 0;
  isolation: isolate;
  background: var(--editorial-bone);
  color: var(--editorial-ink);
}

.home-page .hero::before {
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(112deg, transparent 0 53%, rgba(215, 99, 50, .04) 76%, transparent 100%);
  mix-blend-mode: normal;
}

.home-page .hero::after {
  z-index: 0;
  opacity: .42;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(215, 99, 50, .68) 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 26%, rgba(9, 10, 9, .28) 0 1px, transparent 1.4px),
    radial-gradient(circle at 38% 84%, rgba(215, 99, 50, .48) 0 1px, transparent 1.4px),
    radial-gradient(circle at 66% 68%, rgba(9, 10, 9, .2) 0 1px, transparent 1.4px);
  background-size: 310px 270px, 420px 350px, 540px 420px, 680px 520px;
}

.home-page .hero-stage {
  width: min(calc(100% - clamp(56px, 8vw, 144px)), 1520px);
  min-height: min(780px, calc(100svh - 72px));
  grid-template-columns: minmax(500px, .92fr) minmax(520px, 1.08fr);
  gap: clamp(28px, 4vw, 74px);
  align-items: center;
}

.home-page .hero-stage::after {
  content: '';
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: clamp(96px, 10vw, 150px);
  translate: -50% 0;
  background: var(--editorial-ink);
  clip-path: polygon(0 32%, 100% 100%, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-page .hero-copy {
  min-width: 0;
  container-type: inline-size;
  z-index: 5;
  max-width: 700px;
  padding: clamp(52px, 8vh, 90px) 0 clamp(128px, 15vh, 170px);
  translate: 0 -1.5vh;
}

.home-page .hero .hero-headline {
  width: min(100%, 680px);
  color: var(--editorial-ink);
  -webkit-text-fill-color: var(--editorial-ink);
  font-size: clamp(2rem, 10.4cqi, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.home-page .hero-headline > span {
  white-space: nowrap;
}

.home-page .hero .hero-headline > span:last-child {
  margin-top: .34em;
  font-size: .72em;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #a84420;
  -webkit-text-fill-color: #a84420;
}

.home-page .hero-mobile-break {
  display: none;
}

.home-page .hero .hero-intro {
  width: min(100%, 510px);
  max-width: 52ch;
  margin-top: 26px;
  color: rgba(9, 10, 9, .72);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.58;
}

.home-page .hero .hero-actions {
  width: auto;
  max-width: none;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-page .hero .hero-action {
  width: auto;
}

.home-page .hero .hero-action--primary {
  min-width: 170px;
  min-height: 52px;
  padding-inline: 25px;
  border-color: var(--editorial-ink);
  border-radius: 4px;
  background: var(--editorial-ink);
  color: var(--editorial-bone);
  font-size: 11px;
}

.home-page .hero .hero-action--primary:is(:hover, :focus-visible) {
  border-color: var(--editorial-orange);
  background: var(--editorial-orange);
  color: var(--editorial-ink);
}

.home-page .hero .hero-action--secondary {
  position: relative;
  min-height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--editorial-orange);
  border-radius: 0;
  background: transparent;
  color: var(--editorial-ink);
  font: 700 11px/1 var(--body);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.home-page .hero .hero-action--secondary:is(:hover, :focus-visible) {
  color: var(--editorial-orange);
  transform: none;
}

.home-page .hero-art {
  z-index: 2;
  min-height: min(780px, calc(100svh - 72px));
  translate: -4% 0;
}

.home-page .hero-art::after,
.home-page .hero-art::before,
.home-page .hero-trajectory,
.home-page .orbit-label,
.home-page .hero-coordinates,
.home-page .hero-scale,
.home-page .hero-rail {
  display: none !important;
}

.home-page .hero-disc {
  z-index: 0;
  left: 51%;
  bottom: 2%;
  width: min(82%, 650px);
  background: radial-gradient(circle at 46% 44%, #ef8245 0 8%, #d65e27 34%, #8d310f 68%, #48180b 100%);
  box-shadow:
    0 24px 90px rgba(215, 99, 50, .28),
    0 0 180px rgba(215, 99, 50, .2);
}

.home-page .hero-disc::before,
.home-page .hero-disc::after,
.home-page .hero-disc .solar-pulse {
  display: none;
}

.home-page .hero-mascot,
.home-page .hero-mascot--static {
  position: absolute;
  z-index: 3;
  right: -3%;
  bottom: 0;
  width: min(93%, 720px);
  height: 92%;
  aspect-ratio: auto;
  translate: none;
}

.home-page .hero-mascot picture {
  display: contents;
}

.home-page .hero-mascot .hero-video {
  inset: auto 0 0;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 34px 54px rgba(9, 10, 9, .25));
}

/* Selected work */
.home-page .work-section {
  --work-bg: var(--editorial-ink);
  --work-fg: var(--editorial-bone);
  --work-muted: var(--editorial-muted);
  --work-accent: var(--editorial-orange);
  min-height: 0;
  border: 0;
  padding: clamp(84px, 8vw, 128px) clamp(28px, 5vw, 82px) clamp(94px, 9vw, 148px);
  background: var(--editorial-ink);
}

.home-page .work-section::before {
  opacity: 0;
}

.home-page .work-heading {
  width: min(100%, 1500px);
  max-width: 1500px;
  margin: 0 auto 40px;
  padding-bottom: 0;
  justify-content: flex-start;
}

.home-page .work-heading > div {
  width: 100%;
  text-align: center;
}

.home-page .work-heading h2 {
  max-width: 16.5ch;
  margin: 0 auto;
  color: var(--editorial-bone);
  font: 400 clamp(3rem, 4.8vw, 5.35rem)/.94 var(--display);
  letter-spacing: -.052em;
  text-transform: none;
  text-wrap: balance;
}

.home-page .work-heading::after {
  display: none !important;
}

.home-page .work-section .featured-work--nsta {
  width: min(100%, 1500px);
  max-width: 1500px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.home-page .work-section .featured-work--nsta .project-stage {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  margin: 0;
  transform: none;
}

.home-page .work-section .featured-work--nsta .project-stage:hover,
.home-page .work-section .featured-work--nsta .project-stage:focus-visible {
  transform: translateY(-3px);
}

.home-page .work-section .featured-work--nsta .project-stage::before,
.home-page .work-section .featured-work--nsta .nsta-live-hint {
  display: none;
}

.home-page .work-section .featured-work--nsta .project-window {
  padding: 10px;
  border: 1px solid rgba(242, 239, 232, .28);
  border-radius: 12px;
  background: #111311;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.home-page .work-section .featured-work--nsta .project-details {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 640px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  row-gap: 12px;
  align-items: center;
  justify-self: center;
  justify-items: center;
  border: 0;
  text-align: center;
  transform: none;
}

.home-page .work-section .featured-work--nsta .project-details > .project-editorial-label {
  width: auto;
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--editorial-orange) !important;
  font: 700 10px/1.2 var(--mono) !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-page .work-section .featured-work--nsta .project-details > .project-editorial-title {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: var(--editorial-bone);
  font: 400 clamp(1.8rem, 2.4vw, 2.6rem)/1.05 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.home-page .work-section .featured-work--nsta .project-details > .project-client-bio {
  grid-column: 1;
  grid-row: 3;
  max-width: 40ch;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(242, 239, 232, .7);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.52;
}

.home-page .project-editorial-link {
  grid-column: 1;
  grid-row: 4;
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 0;
  display: inline-flex !important;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(242, 239, 232, .34);
  color: var(--editorial-bone);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-page .project-editorial-link span {
  color: var(--editorial-orange);
  font-size: 18px;
  transition: translate 220ms cubic-bezier(.16, 1, .3, 1);
}

.home-page .project-editorial-link:is(:hover, :focus-visible) span {
  translate: 5px 0;
}

.home-page .work-section .featured-work--nsta .case-study-copy {
  display: none;
}

.home-page .work-section .featured-work--nsta .project-capture {
  height: clamp(640px, 48vw, 880px);
  aspect-ratio: auto;
}

.home-page .work-section .nsta-testimonial {
  width: min(100%, 1040px);
  margin: 64px auto 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.home-page .work-section .nsta-testimonial > header {
  margin-left: 72px;
}

.home-page .work-section .nsta-testimonial__quote {
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 24px;
}

.home-page .work-section .nsta-testimonial__quote > figcaption {
  width: 100%;
  flex-wrap: wrap;
}

/* Services continue the same dark editorial chapter. */
.home-page .services-index {
  z-index: 3;
  padding: 0 clamp(28px, 5vw, 82px) clamp(96px, 10vw, 160px);
  background: var(--editorial-ink);
  color: var(--editorial-bone);
  border: 0;
}

.home-page .services-index::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(28px, 5vw, 82px);
  right: clamp(28px, 5vw, 82px);
  height: 1px;
  background: rgba(242, 239, 232, .18);
}

.home-page .services-index__frame {
  max-width: 1500px;
  padding-top: clamp(76px, 8vw, 120px);
  display: block;
  border: 0;
}

.home-page .services-index__frame::before,
.home-page .path-calibration__corner,
.home-page .path-calibration__probe,
.home-page .path-calibration__status,
.home-page .path-calibration__lock {
  display: none !important;
}

.home-page .services-index__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 940px;
  padding: 0 0 clamp(54px, 6vw, 86px);
  border: 0;
}

.home-page .services-index__intro h2 {
  max-width: 13ch;
  color: var(--editorial-bone);
  font-size: clamp(3.2rem, 5.6vw, 6rem);
  line-height: .94;
  letter-spacing: -.052em;
  text-transform: none;
}

.home-page .services-index__intro h2 span {
  white-space: normal;
}

.home-page .services-index__lead {
  align-self: auto;
  justify-self: auto;
}

/* The testimonial belongs to the dark work chapter, not the old paper theme. */
.home-page .work-section .nsta-testimonial {
  border-bottom: 0;
}

.home-page .work-section .nsta-testimonial__quote > blockquote > p,
.home-page .work-section .nsta-testimonial__quote strong {
  color: var(--editorial-bone);
  -webkit-text-fill-color: currentColor;
}

.home-page .work-section .nsta-testimonial__quote > figcaption {
  border-color: rgba(242, 239, 232, .2);
}

.home-page .work-section .nsta-testimonial__quote span,
.home-page .work-section .nsta-testimonial > header h3 {
  color: #e8946f;
}

.home-page .services-index__intro p {
  max-width: 50ch;
  margin-top: 26px;
  color: rgba(242, 239, 232, .64);
  font-size: 17px;
  line-height: 1.58;
}

.home-page .service-routes {
  border-top: 1px solid rgba(242, 239, 232, .2);
  border-bottom: 1px solid rgba(242, 239, 232, .2);
}

.home-page .service-routes article,
.home-page [data-path-calibration][data-path-state="complete"] .service-routes article {
  min-height: 250px;
  padding: clamp(30px, 3.2vw, 48px);
  border-color: rgba(242, 239, 232, .2);
  background: transparent;
  opacity: 1;
  transform: none;
}

.home-page .service-routes article:first-child {
  padding-left: 0;
}

.home-page .service-routes h3 {
  min-height: 0;
  margin: 0 0 18px;
  color: var(--editorial-bone);
  font: 600 clamp(1.25rem, 1.55vw, 1.75rem)/1.08 var(--body);
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.home-page .service-routes p {
  max-width: 31ch;
  color: rgba(242, 239, 232, .62);
  font-size: 15px;
  line-height: 1.62;
}

.home-page .pricing-section > .pricing-heading {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 32px;
}
.home-page .pricing-section {
  position: relative;
  padding-top: calc(clamp(48px, 5vw, 102px) + 48px);
  border-top: 0;
}
.home-page .pricing-section > .pricing-slash {
  position: absolute;
  inset: -1px 0 auto;
  height: clamp(48px, 5vw, 102px);
  background: var(--editorial-ink);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.home-page .pricing-section > .pricing-heading::after {
  display: none;
}

.home-page .care-title-row .care-included {
  align-self: center;
  margin-inline: auto;
  justify-content: center;
}

/* Three care tiers share a full-width comparison beneath the heading. */
.home-page .custom-build-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  width: min(100%, 1000px);
  margin: 0 auto 36px;
  padding: 28px 0;
  border-block: 1px solid var(--clean-line);
  color: var(--clean-ink);
}
.home-page .custom-build-note h3 {
  margin: 0;
  font: 400 clamp(24px, 2.5vw, 32px)/1.15 var(--display);
  text-transform: none;
}
.home-page .custom-build-note__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.home-page .custom-build-note__icon {
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--clean-orange-dark);
}
.home-page .custom-build-note p {
  margin: 0;
  max-width: 70ch;
  color: var(--clean-muted);
  font-size: 15px;
  line-height: 1.65;
}
.home-page .custom-build-note p + p { margin-top: 16px; }
.home-page .custom-build-note strong { color: var(--clean-ink); }
.home-page .build-bout { min-width: 0; }
.home-page .build-bout__arena {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 0 0 20px;
}
.home-page .build-bout__fighter { width: 72px; height: 54px; overflow: visible; }
.home-page .build-bout__fighter--us { color: var(--clean-orange-dark); }
.home-page .build-bout__fighter--them { color: var(--clean-muted); }
.home-page .build-bout__score { font: 400 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.home-page .build-bout__names,
.home-page .build-bout__rounds > li { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 12px; }
.home-page .build-bout__names { align-items: center; padding-bottom: 24px; text-align: center; }
body.home-page .build-bout__names h4 { margin: 0; font: 600 18px/1.3 var(--site-font-body); letter-spacing: .01em; text-wrap: balance; }
body.home-page .build-bout__names h4:first-child {
  color: var(--clean-orange-dark);
}
.home-page .build-bout__names > span { text-align: center; color: var(--clean-muted); font-size: 11px; }
.home-page .build-bout__rounds { list-style: none; padding: 0; margin: 0; }
.home-page .build-bout__rounds p { min-width: 0; }
.home-page .build-bout__rounds p strong { white-space: normal; text-wrap: balance; overflow-wrap: anywhere; }
.home-page .build-bout__rounds p:first-child strong { color: var(--clean-orange-dark); }
.home-page .build-bout__rounds > li { align-items: center; padding: 20px 0; border-top: 1px solid var(--clean-line); }
.home-page .build-bout__rounds p { text-align: center; width: 100%; max-width: 36ch; justify-self: center; }
.home-page .build-bout__rounds p { font-size: 13px; line-height: 1.55; }
.home-page .build-bout__rounds strong { display: block; margin-bottom: 4px; font-size: 14px; }
.home-page .build-bout__point { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--clean-orange-dark); border-radius: 50%; color: var(--clean-orange-dark); }
.home-page .build-bout__point svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.home-page .build-bout.is-playing .build-bout__rounds > li:not(.is-won) .build-bout__point {
  visibility: hidden;
}
.home-page .build-bout__rounds .is-won p:first-child strong { color: var(--clean-orange-dark); }
.home-page .build-bout__rounds .is-current { background: rgba(204,100,55,.07); }
.home-page .build-bout__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; border-top: 1px solid var(--clean-line); padding-top: 20px; min-height: 60px; }
.home-page .build-bout__result > span { font: 700 14px/1.4 var(--body); color: var(--clean-orange-dark); }
.home-page .build-bout__result button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--clean-line); border-radius: 8px; background: transparent; color: var(--clean-ink); font: 600 12px/1.3 var(--body); cursor: pointer; }
.home-page .build-bout__result button:hover { border-color: var(--clean-orange-dark); }
.home-page .build-bout__result button:focus-visible { outline: 2px solid var(--clean-orange-dark); outline-offset: 3px; }
.home-page .build-bout__result button:disabled { opacity: .55; cursor: default; }
.home-page .custom-build-note .build-bout__closing { padding-top: 20px; max-width: none; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .home-page .build-bout.is-striking .build-bout__fighter--us { animation: bout-jab 480ms cubic-bezier(.16,1,.3,1); }
  .home-page .build-bout.is-striking .build-bout__fighter--them { animation: bout-recoil 480ms ease-out; }
  .home-page .build-bout .is-current .build-bout__point { animation: bout-point 500ms ease-out; }
  .home-page .build-bout.is-complete .build-bout__result > span { animation: bout-verdict 400ms ease-out; }
}
@keyframes bout-jab { 0%,100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(14px) rotate(-8deg); } }
@keyframes bout-recoil { 0%,20%,100% { transform: translateX(0) rotate(0); } 45% { transform: translateX(8px) rotate(10deg); } }
@keyframes bout-point { from { clip-path: inset(0 100% 0 0); transform: scale(.8); } to { clip-path: inset(0); transform: scale(1); } }
@keyframes bout-verdict { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 980px) {
  .home-page .custom-build-note { grid-template-columns: minmax(0, 1fr); }
}
.home-page .pricing-grid .price > .plan-price-prefix {
  display: block;
  margin: 0 0 8px;
  font: 600 13px/1.3 var(--body);
  letter-spacing: 0;
  text-transform: none;
}
/* Shared, content-sized rows keep longer pricing disclosures out of adjacent content. */
.home-page .pricing-section .pricing-grid {
  grid-template-rows: repeat(5, auto);
  row-gap: 24px;
}
.home-page .pricing-section .pricing-grid .price-plan,
.home-page .pricing-section .pricing-grid .price-plan:hover,
.home-page .pricing-section .pricing-grid .price-plan:focus-within {
  grid-row: span 5;
  grid-template-rows: subgrid !important;
  row-gap: 24px;
  min-height: 0 !important;
  height: auto !important;
}
.home-page .pricing-section .pricing-grid .price-plan header {
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  align-items: start;
}
.home-page .pricing-section .pricing-grid .price-plan .plan-outcome {
  min-height: 0;
  margin: 0;
  display: block;
  align-self: start;
}
.home-page .pricing-section .pricing-grid .price-plan .price {
  align-self: start;
  min-height: 0;
  padding: 0;
  gap: 8px;
}
.home-page .pricing-section .pricing-grid .price-plan .plan-core-features {
  align-self: start;
  align-content: start;
  padding: 0;
  margin: 0;
}
@supports not (grid-template-rows: subgrid) {
  .home-page .pricing-section .pricing-grid { grid-template-rows: auto; }
  .home-page .pricing-section .pricing-grid .price-plan {
    grid-row: auto;
    grid-template-rows: auto auto 1fr auto 49px !important;
  }
}
.home-page .pricing-section .pricing-grid .price strong {
  font-size: clamp(26px, 2.65vw, 42px);
  white-space: nowrap;
}
.home-page .pricing-section .pricing-grid .lightspeed-plan .price strong {
  font-size: clamp(24px, 2.2vw, 34px);
  white-space: normal;
  text-wrap: balance;
}
.home-page .pricing-grid .price .plan-care-required {
  max-width: 32ch;
  margin: 16px auto 0;
  color: var(--clean-ink);
  font: 600 12px/1.5 var(--body);
  text-transform: none;
  letter-spacing: 0;
}
.home-page .care-title-row .care-included { text-align: center; line-height: 1.5; }
.home-page .package-scope-note {
  max-width: 85ch;
  margin: 24px auto;
  color: var(--clean-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.home-page .package-scope-note a {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  white-space: nowrap;
  color: var(--clean-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .home-page .custom-build-note { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.home-page .pricing-section .care-section {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1200px);
  max-width: none;
  margin-inline: auto;
  margin-top: 32px;
  padding: 0;
  gap: 32px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
.home-page .care-panel {
  min-width: 0;
  padding: 20px 16px 16px;
  border: 1px solid var(--clean-line);
  border-radius: 20px;
  background: var(--clean-paper-raised);
}
.home-page .care-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  fill: none;
  stroke: var(--clean-orange-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .care-section > header {
  min-height: 0;
  margin: 0;
  padding: 0 24px;
  border-inline-end: 0;
  justify-items: center;
  text-align: center;
}
.home-page .care-title-row {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.home-page .care-section > header h3 { margin: 0; }
.home-page .care-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-page .care-options article {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 16px;
  padding: 8px clamp(16px, 2vw, 28px);
  text-align: center;
}
.home-page .care-options article > div { align-self: start; }
.home-page .care-options h4 { font-size: 20px; }
.home-page .care-options article > div > p { margin-inline: auto; }
.home-page .care-options .care-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}
.home-page .care-footnote {
  margin: 20px auto 0;
  max-width: 110ch;
  color: var(--clean-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 720px) {
  .home-page .pricing-section .care-section { margin-top: 24px; gap: 24px; }
  .home-page .care-panel { padding: 8px 20px 24px; }
  .home-page .care-options { grid-template-columns: minmax(0, 1fr); }
  .home-page .care-options article { padding: 24px 0; gap: 20px; }
  .home-page .care-options article + article {
    border-inline-start: 0;
    border-top: 1px solid var(--clean-line);
  }
}

.home-page .contact-grid > .contact-copy { border: 0; }
.home-page .quick-enquiry__status { overflow-wrap: anywhere; }
.home-page .quick-enquiry__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
}
.home-page .quick-enquiry__actions a:focus-visible {
  outline: 2px solid #ed8559;
  outline-offset: 4px;
}
@media (max-width: 720px) {
  .home-page .quick-enquiry :is(input, textarea) { font-size: 16px; }
}

.home-page .quick-enquiry :is(input:not([type='hidden']), textarea) {
  border-radius: 12px;
}

.home-page .service-route__number,
.home-page .service-route__cta {
  display: none !important;
}

/* A brief signal acquisition: text resolves and service symbols trace in. */
.home-page .service-route__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  fill: none;
  stroke: #ed8559;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .services-index.motion-entered .services-index__intro h2 span {
    animation: services-text-resolve 650ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .home-page .services-index.motion-entered .services-index__intro h2 span:nth-child(2) {
    animation-delay: 120ms;
  }
  .home-page .services-index.motion-entered .services-index__lead {
    animation: services-copy-resolve 500ms ease-out 240ms both;
  }
  .home-page .service-routes article:nth-child(2) { --service-delay: 100ms; }
  .home-page .service-routes article:nth-child(3) { --service-delay: 200ms; }
  .home-page .service-routes article.motion-entered .service-route__icon path {
    animation: services-symbol-trace 750ms cubic-bezier(.16, 1, .3, 1) var(--service-delay, 0ms) both;
  }
  .home-page .service-routes article.motion-entered h3,
  .home-page .service-routes article.motion-entered p {
    animation: services-copy-resolve 550ms ease-out var(--service-delay, 0ms) both;
  }
}

@keyframes services-text-resolve {
  from { clip-path: inset(0 100% 0 0); opacity: .35; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes services-symbol-trace {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .3; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; }
}
@keyframes services-copy-resolve {
  from { opacity: .35; }
  to { opacity: 1; }
}

/* The service rail joins three centred, independently revealed capabilities. */
.home-page .services-index .service-routes {
  border: 0;
}
.home-page .services-index .service-routes article {
  position: relative;
  padding: 32px 24px 40px;
  border: 0;
  text-align: center;
  background: transparent;
}
.home-page .services-index .service-routes article:hover {
  background: transparent;
}
.home-page .services-index .service-route__icon {
  position: relative;
  z-index: 1;
  box-sizing: content-box;
  margin: 0 auto 24px;
  padding: 0 16px;
  background: var(--editorial-ink);
  stroke-width: 1.5;
}
.home-page .build-bout__fighter { stroke-width: 1.5; }
.home-page .services-index .service-routes p {
  margin-inline: auto;
}
.home-page .service-route__track {
  position: absolute;
  top: 52px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(237, 133, 89, .22);
}
.home-page .service-routes article:first-child .service-route__track {
  left: 50%;
  width: 50%;
}
.home-page .service-routes article:last-child .service-route__track {
  width: 50%;
}
.home-page .service-route__track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ed8559;
  opacity: .65;
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .home-page .service-routes article.motion-entered .service-route__track::after {
    animation: service-rail-connect 650ms cubic-bezier(.16, 1, .3, 1) var(--service-delay, 0ms) both;
  }
}
@keyframes service-rail-connect {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@media (max-width: 720px) {
  .home-page .services-index .service-routes article {
    padding: 56px 16px 28px;
  }
  .home-page .services-index .service-routes article .service-route__track {
    top: 0;
    left: 50%;
    width: 1px;
    height: 40px;
  }
  .home-page .service-routes article:first-child .service-route__track {
    display: none;
  }
  .home-page .service-routes article { --service-delay: 0ms !important; }
  .home-page .service-route__track::after { transform-origin: top; }
  @keyframes service-rail-connect {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0); }
  }
}

@media (max-width: 1180px) {
  .home-page .hero-stage {
    width: min(calc(100% - 64px), 1080px);
    grid-template-columns: minmax(430px, 1fr) minmax(390px, .9fr);
  }

  .home-page .hero .hero-headline {
    font-size: clamp(2rem, 10.4cqi, 4.3rem);
  }

  .home-page .hero-art {
    translate: -1% 0;
  }

  .home-page .hero-mascot,
  .home-page .hero-mascot--static {
    right: -10%;
    width: 108%;
  }
}

@media (max-width: 900px) {
  .home-page .hero,
  .home-page .hero-stage {
    min-height: auto;
  }

  .home-page .hero-stage {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-page .hero-stage::after {
    height: 90px;
    clip-path: polygon(0 46%, 100% 100%, 100% 100%, 0 100%);
  }

  .home-page .hero-copy {
    width: min(calc(100% - 44px), 680px);
    margin-inline: auto;
    padding: 72px 0 30px;
    translate: none;
  }

  .home-page .hero .hero-headline {
    width: 100%;
    font-size: clamp(2.85rem, 8.7vw, 4.7rem);
  }

  .home-page .hero-headline > span {
    white-space: normal;
  }

  .home-page .hero-art {
    min-height: 520px;
    translate: none;
  }

  .home-page .hero-disc {
    bottom: 4%;
    width: min(70vw, 520px);
  }

  .home-page .hero-mascot,
  .home-page .hero-mascot--static {
    right: 50%;
    bottom: 0;
    width: min(72vw, 560px);
    height: 102%;
    translate: 50% 0;
  }

  .home-page .work-section .featured-work--nsta {
    grid-template-columns: 1fr;
  }

  .home-page .work-section .featured-work--nsta .project-stage,
  .home-page .work-section .featured-work--nsta .project-details {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .work-section .featured-work--nsta .project-details {
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    grid-row: 1;
    gap: 16px;
  }

  .home-page .work-section .featured-work--nsta .project-stage {
    grid-row: 2;
  }

  .home-page .work-section .featured-work--nsta .project-details > :is(.project-editorial-label, .project-editorial-title, .project-client-bio, .project-editorial-link) {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .work-section .featured-work--nsta .project-details > .project-client-bio {
    max-width: 44ch;
  }

  .home-page .services-index__intro h2 {
    max-width: 15ch;
  }
}

@media (max-width: 720px) {
  .home-page .site-nav__inner {
    width: 100%;
  }

  .home-page .hero-copy {
    width: calc(100vw - 40px);
    max-width: 620px;
    min-width: 0;
    padding-top: 56px;
    box-sizing: border-box;
  }

  .home-page .hero .hero-headline {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2.35rem, 10.4vw, 3.25rem);
    line-height: .96;
    white-space: normal !important;
    text-wrap: wrap !important;
    overflow-wrap: normal;
  }

  html body.home-page .hero .hero-headline > span {
    display: block !important;
    width: 100%;
    max-width: calc(100vw - 40px) !important;
    white-space: normal !important;
    text-wrap: wrap !important;
    overflow-wrap: anywhere !important;
  }

  .home-page .hero-mobile-break {
    display: block;
  }

  .home-page .hero .hero-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 22px;
    font-size: 15px;
    white-space: normal !important;
    text-wrap: wrap !important;
    overflow-wrap: anywhere !important;
    contain: inline-size;
  }

  .home-page .hero .hero-actions {
    gap: 22px;
  }

  .home-page .hero .hero-action--primary {
    min-width: 154px;
    min-height: 50px;
    padding-inline: 18px;
  }

  .home-page .hero-art {
    min-height: 420px;
  }

  .home-page .hero-disc {
    bottom: 8%;
    width: min(82vw, 430px);
  }

  .home-page .hero-mascot,
  .home-page .hero-mascot--static {
    width: min(87vw, 470px);
    height: 104%;
  }

  .home-page .work-section {
    padding: 72px 20px 84px;
  }

  .home-page .work-heading {
    margin-bottom: 40px;
  }

  .home-page .work-heading h2 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .home-page .work-section .featured-work--nsta {
    gap: 34px;
  }

  .home-page .work-section .featured-work--nsta .project-window {
    padding: 7px;
    border-radius: 8px;
  }

  .home-page .services-index {
    padding: 0 20px 84px;
  }

  .home-page .work-section .featured-work--nsta .project-capture {
    height: 560px;
  }

  .home-page .work-section .nsta-testimonial {
    margin-top: 40px;
    gap: 20px;
  }

  .home-page .work-section .nsta-testimonial > header {
    margin-left: 0;
  }

  .home-page .work-section .nsta-testimonial__quote {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .services-index::before {
    left: 20px;
    right: 20px;
  }

  .home-page .services-index__frame {
    padding-top: 68px;
  }

  .home-page .services-index__intro {
    padding-bottom: 44px;
  }

  .home-page .services-index__intro h2 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
  }

  .home-page .service-routes {
    grid-template-columns: 1fr;
  }

  .home-page .service-routes article,
  .home-page [data-path-calibration][data-path-state="complete"] .service-routes article {
    min-height: 0;
    padding: 28px 0 34px;
    border-inline-start: 0;
    border-top: 1px solid rgba(242, 239, 232, .18);
  }

  .home-page .service-routes article:first-child {
    border-top: 0;
  }
}

@media (max-width: 420px) {
  .home-page .hero .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-page .hero .hero-action--secondary {
    min-height: 38px;
  }

  .home-page .hero-art {
    min-height: 370px;
  }
}

/* Keep pricing disclosures after care despite the legacy mobile flex ordering. */
@media (max-width: 720px) {
  .home-page .pricing-section.is-orbital-ladder > .package-scope-note { order: 6; }
  .home-page .hero-copy { padding-top: 36px; }
  .home-page .hero .hero-headline { font-size: clamp(26px, 7.8vw, 40px); line-height: 1.05; }
  .home-page .hero .hero-mobile-break { display: none !important; }
  .home-page .hero .hero-headline > span:last-child { font-size: clamp(24px, 6.6vw, 32px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .project-editorial-link span {
    transition: none;
  }
}
