/* Mastro-Tec home experience
   Page-specific styles stay separate because modern.css is shared by the galleries. */

.home-3d {
  --home-bg: #05070a;
  --home-surface: #0b0f15;
  --home-surface-raised: #111722;
  --home-gold: #e0b85e;
  --home-gold-bright: #f4d88f;
  --home-silver: #dfe5ec;
  --home-copy: #a7afbb;
  background: var(--home-bg);
}

.home-3d main {
  overflow: clip;
}

.home-3d .site-header {
  top: 18px;
}

.home-3d .site-header:not(.is-scrolled):not(.is-open) .nav-shell {
  background: linear-gradient(180deg, rgba(4, 7, 11, 0.34), transparent);
}

.home-3d .nav-shell {
  max-width: 1080px;
  margin-inline: auto;
}

.home-3d .brand img {
  filter: drop-shadow(0 5px 16px rgba(224, 184, 94, 0.08));
}

/* Editorial sections */

.home-section {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
}

.intro-statement {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 112px) 0;
  background: #080b10;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.33fr) minmax(0, 1fr);
  gap: 12px clamp(40px, 7vw, 100px);
  align-items: start;
}

.statement-grid .eyebrow {
  margin-top: 12px;
}

.statement-grid h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.statement-copy {
  grid-column: 2;
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--home-copy);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.65;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.48fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 88px);
}

.editorial-heading h2,
.process-intro h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.99;
  text-wrap: balance;
}

.editorial-heading > p {
  margin: 0 0 5px;
  color: var(--home-copy);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.services-showcase {
  background: #05070a;
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-showcase-card {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 30px;
  background: #10161f;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 0.55s var(--ease), border-color 0.35s ease, box-shadow 0.45s ease;
}

.service-showcase-card:hover {
  border-color: rgba(224, 184, 94, 0.23);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
}

.service-showcase-card-primary {
  background: #d9bd7e;
  color: #131006;
}

.service-showcase-card-primary .eyebrow,
.service-showcase-card-primary > p,
.service-showcase-card-primary h3 {
  color: #171207;
}

.service-showcase-card-primary .eyebrow::before {
  background: #171207;
}

.service-showcase-card-primary .card-index {
  color: rgba(23, 18, 7, 0.45);
}

.service-showcase-card-primary .card-icon {
  border-color: rgba(23, 18, 7, 0.18);
  color: #1a1509;
  background: rgba(255, 255, 255, 0.16);
}

.card-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.card-icon {
  position: absolute;
  top: clamp(32px, 5vw, 54px);
  left: clamp(28px, 4vw, 48px);
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--home-gold-bright);
  background: rgba(255, 255, 255, 0.025);
}

.card-icon svg {
  width: 44px;
  height: 44px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.service-showcase-card .eyebrow {
  margin-bottom: 13px;
}

.service-showcase-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.125rem);
  font-weight: 610;
  letter-spacing: -0.048em;
  line-height: 1.04;
  text-wrap: balance;
}

.service-showcase-card > p:last-child {
  max-width: 520px;
  margin: 17px 0 0;
  color: rgba(223, 229, 236, 0.62);
  font-size: 1rem;
  line-height: 1.6;
}

.service-showcase-card.service-showcase-card-primary > p:last-child {
  color: rgba(23, 18, 7, 0.76);
}

.service-showcase-card-photo {
  justify-content: flex-end;
  isolation: isolate;
}

.service-showcase-card-photo > img,
.card-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-showcase-card-photo > img {
  object-fit: cover;
  filter: saturate(0.62) contrast(1.08) brightness(0.76);
  transform: scale(1.015);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.service-showcase-card-photo:hover > img {
  filter: saturate(0.82) contrast(1.04) brightness(0.82);
  transform: scale(1.055);
}

.card-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.08) 15%, rgba(5, 7, 10, 0.28) 45%, rgba(5, 7, 10, 0.94));
}

.photo-card-copy h3 {
  max-width: 460px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 700;
}

.card-link i {
  color: var(--home-gold-bright);
  font-style: normal;
  transition: transform 0.3s var(--ease);
}

.service-showcase-card-photo:hover .card-link i {
  transform: translate(3px, -3px);
}

.process-section {
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 0 50%, rgba(224, 184, 94, 0.06), transparent 30rem),
    #090c11;
}

.process-intro {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(36px, 7vw, 95px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.process-intro h2 {
  max-width: 820px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 260px;
  padding: 30px 27px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  position: absolute;
  top: -3px;
  left: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--home-gold);
  box-shadow: 0 0 14px rgba(224, 184, 94, 0.5);
}

.process-index {
  display: block;
  margin-bottom: 72px;
  color: rgba(244, 216, 143, 0.65);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.process-list h3 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 630;
  letter-spacing: -0.03em;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--home-copy);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.workshop-section {
  background: #05070a;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.workshop-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #0b0e12;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.workshop-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.85);
  transition: filter 0.35s ease;
}

.workshop-card:hover,
.workshop-card:focus-visible {
  border-color: rgba(224, 184, 94, 0.4);
  background: #101419;
}

.workshop-card:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}

.workshop-card:hover > img {
  filter: saturate(0.8) brightness(0.95);
}

.workshop-card > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-content: center;
  align-items: center;
  flex: 1;
  padding: 22px;
}

.workshop-card small {
  grid-column: 1;
  color: var(--home-gold-bright);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workshop-card strong {
  grid-column: 1;
  color: var(--home-silver);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.workshop-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--home-gold-bright);
  font-style: normal;
}

.workshop-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-section {
  background:
    radial-gradient(circle at 25% 45%, rgba(224, 184, 94, 0.07), transparent 26rem),
    linear-gradient(180deg, #05070a, #080b10);
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(55px, 10vw, 140px);
  align-items: center;
}

.about-portrait {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.9;
  max-width: 490px;
  justify-self: center;
}

.about-portrait::before {
  position: absolute;
  z-index: -1;
  inset: 5% -8% -6% 12%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(224, 184, 94, 0.14), transparent 68%);
  filter: blur(10px);
}

.about-portrait > img {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 68%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  object-fit: cover;
  object-position: right center;
  filter: grayscale(0.24) contrast(1.08) brightness(0.92);
  transform: translateX(-50%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.about-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(224, 184, 94, 0.16);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-24deg);
}

.about-orbit::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--home-gold-bright);
  box-shadow: 0 0 22px rgba(244, 216, 143, 0.75);
}

.about-orbit span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(183, 203, 226, 0.12);
  border-radius: 50%;
}

.about-caption {
  position: absolute;
  right: 0;
  bottom: 11%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(242, 244, 247, 0.76);
  background: rgba(8, 11, 16, 0.76);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.about-copy h2 {
  max-width: 740px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--home-copy);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.about-copy .about-lead {
  margin-top: 30px;
  color: rgba(236, 239, 243, 0.82);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.52;
}

.testimonials-section {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: #080b10;
}

.testimonials-heading {
  grid-template-columns: minmax(0, 0.78fr) 1fr;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.testimonial-featured,
.testimonial-small {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: #10161f;
}

.testimonial-featured {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 5vw, 62px);
}

.testimonial-featured::before {
  position: absolute;
  top: -35%;
  right: -8%;
  width: 400px;
  aspect-ratio: 1;
  border: 1px solid rgba(224, 184, 94, 0.11);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 90px rgba(224, 184, 94, 0.025);
}

.testimonial-featured .quote-mark {
  position: relative;
  width: 62px;
  height: 62px;
  color: var(--home-gold-bright);
  font-family: Georgia, serif;
  font-size: 4.875rem;
  line-height: 1;
}

.testimonial-featured blockquote,
.testimonial-small blockquote {
  margin: 0;
  color: rgba(240, 243, 246, 0.88);
  letter-spacing: -0.025em;
}

.testimonial-featured blockquote {
  position: relative;
  max-width: 760px;
  font-size: clamp(1.6875rem, 3.4vw, 2.8125rem);
  line-height: 1.27;
  text-wrap: balance;
}

.testimonial-featured footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.testimonial-featured footer div,
.testimonial-small footer {
  display: grid;
  gap: 3px;
}

.testimonial-featured footer strong,
.testimonial-small footer strong {
  color: #f0f2f5;
  font-size: 0.8125rem;
}

.testimonial-featured footer span,
.testimonial-small footer span {
  color: #a7afbb;
  font-size: 0.6875rem;
}

.testimonial-featured footer > a {
  color: rgba(244, 216, 143, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonial-stack {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
}

.testimonial-small {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.2vw, 40px);
}

.testimonial-small blockquote {
  font-size: clamp(1.125rem, 2vw, 1.4375rem);
  line-height: 1.48;
}

.testimonial-small footer {
  margin-top: 24px;
}

.contact-section-3d {
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 100px);
  background: #080b10;
  isolation: isolate;
}

.contact-section-3d .contact-shell {
  position: relative;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.11);
  background: #10161f;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}

.contact-section-3d .contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-section-3d .field-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-section-3d .field input,
.contact-section-3d .field textarea {
  background: rgba(255, 255, 255, 0.04);
}

.contact-planet {
  position: absolute;
  z-index: -1;
  top: 2%;
  right: -12vw;
  width: min(58vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(224, 184, 94, 0.11);
  border-radius: 50%;
  transform: rotateX(67deg) rotateZ(-18deg);
}

.contact-planet span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(187, 207, 232, 0.08);
  border-radius: 50%;
}

.contact-planet::after {
  position: absolute;
  top: 21%;
  left: 9%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--home-gold-bright);
  box-shadow: 0 0 24px rgba(244, 216, 143, 0.7);
}

.home-3d .site-footer {
  background: #05070a;
}

.home-3d .footer-shell {
  align-items: end;
}

.footer-brand {
  display: flex;
  align-items: end;
  gap: 15px;
}

.footer-brand img {
  width: 115px;
  height: auto;
}

.footer-brand span {
  color: #a7afbb;
  font-size: 0.625rem;
  line-height: 1.45;
}

@media (max-width: 1300px) {
  .scene-rail {
    display: none;
  }
}

@media (max-width: 1100px) {
  .scene-rail {
    right: 18px;
  }

  .story-panel {
    width: min(420px, 45vw);
  }

  .story-panel-hero {
    width: min(580px, 50vw);
  }
}

@media (max-width: 900px) {
  #mount-canvas {
    top: 11svh;
    height: 42svh;
  }

  .home-3d .site-header {
    top: 10px;
  }

  .home-3d .site-header:not(.is-scrolled):not(.is-open) .nav-shell {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 14, 0.68);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mount-stage-top {
    top: 92px;
    right: 24px;
  }

  .scene-rail {
    display: none;
  }

  .mount-controls {
    right: 18px;
    bottom: 19px;
  }

  .story-step,
  .story-step-left,
  .story-step-right {
    min-height: 110svh;
    align-items: end;
    justify-items: stretch;
    padding-top: 48svh;
    padding-bottom: 28px;
  }

  .story-panel,
  .story-panel-hero {
    width: min(100%, 620px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 23px;
    background: linear-gradient(180deg, rgba(12, 16, 23, 0.66), rgba(7, 10, 14, 0.92));
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .story-panel-hero {
    margin-bottom: 5vh;
  }

  .story-panel h1 {
    font-size: clamp(3.375rem, 11vw, 5.125rem);
  }

  .story-scroll-cue {
    margin-top: 34px;
  }

  .mount-fallback,
  .ambient-glow,
  .ambient-orbit {
    left: 50%;
  }

  .mount-fallback {
    top: 32svh;
    width: min(100vw, 42svh);
  }

  .marker-label {
    display: none;
  }

  .statement-grid,
  .editorial-heading,
  .process-intro,
  .about-shell,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .process-intro {
    gap: 28px;
  }

  .statement-copy {
    grid-column: 1;
  }

  .service-showcase-card {
    min-height: 410px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .about-portrait {
    width: min(100%, 480px);
  }

  .about-copy {
    max-width: 720px;
  }

  .testimonial-featured {
    min-height: 430px;
  }

  .testimonial-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .contact-section-3d .contact-shell {
    grid-template-columns: 1fr;
  }

  .home-3d .footer-shell {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .mount-story {
    min-height: 550svh;
  }

  .mount-stage-top {
    top: 82px;
    right: 17px;
    left: 17px;
    justify-content: space-between;
    gap: 8px;
  }

  .model-spec {
    max-width: 130px;
    padding-left: 10px;
    text-align: right;
  }

  .mount-controls {
    display: none;
  }

  .story-step,
  .story-step-left,
  .story-step-right {
    min-height: 110svh;
    padding-top: 50svh;
    padding-bottom: 18px;
  }

  .story-panel,
  .story-panel-hero {
    padding: 23px 20px;
    border-radius: 20px;
  }

  .story-panel h1 {
    font-size: clamp(3.0625rem, 15vw, 4.25rem);
    line-height: 0.96;
  }

  .story-panel h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .story-panel .story-lead {
    margin-top: 19px;
    font-size: 1.0625rem;
  }

  .story-panel .hero-actions {
    display: grid;
    gap: 8px;
    margin-top: 24px;
  }

  .story-panel .hero-actions .button {
    width: 100%;
  }

  .story-scroll-cue {
    display: none;
  }

  .mount-marker {
    display: none;
  }

  .home-section {
    padding-block: 56px;
  }

  .intro-statement {
    padding-block: 64px;
  }

  .statement-grid h2,
  .editorial-heading h2,
  .process-intro h2,
  .about-copy h2 {
    font-size: clamp(2.6875rem, 13vw, 3.625rem);
  }

  .service-showcase-grid,
  .workshop-grid,
  .testimonial-stack {
    grid-template-columns: 1fr;
  }

  .service-showcase-card {
    min-height: 390px;
    padding: 28px 23px;
    border-radius: 24px;
  }

  .service-showcase-card h3 {
    font-size: 2.125rem;
  }

  .card-icon {
    top: 32px;
    left: 24px;
    width: 70px;
    height: 70px;
  }

  .card-index {
    top: 23px;
    right: 24px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    min-height: 0;
    padding: 27px 5px 30px 36px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .process-list li::before {
    top: 36px;
    left: 8px;
  }

  .process-index {
    margin-bottom: 19px;
  }


  .about-shell {
    gap: 46px;
  }

  .about-caption {
    right: 4%;
  }

  .testimonial-featured {
    min-height: 0;
    padding: 28px 23px;
    border-radius: 23px;
  }

  .testimonial-featured blockquote {
    font-size: 1.5625rem;
  }

  .testimonial-featured footer {
    align-items: start;
    flex-direction: column;
  }

  .testimonial-stack {
    grid-template-rows: none;
  }

  .testimonial-small {
    border-radius: 23px;
  }

  .contact-section-3d .field-split {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-kicker i,
  .story-scroll-cue > span::after {
    animation: none;
  }

  #mount-canvas {
    cursor: default;
  }

  .is-webgl-ready .story-panel {
    opacity: 1;
    transform: none;
  }
}

.is-reduced-motion .story-panel {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (forced-colors: active) {
  .mount-marker,
  .ambient-orbit,
  .contact-planet,
  .about-orbit {
    display: none;
  }

  .story-panel,
  .service-showcase-card,
  .workshop-card,
  .testimonial-featured,
  .testimonial-small {
    border: 1px solid CanvasText;
  }
}

/* The six chapters share one rendering stage. */
.product-story{position:relative;height:580svh;background:#080a0b;isolation:isolate}
.product-stage{position:sticky;top:0;height:100svh;overflow:hidden;background:radial-gradient(ellipse at 66% 43%,#26302c 0, #111715 32%,#080a0b 72%)}
.product-halo{position:absolute;width:48vw;height:48vw;border:1px solid #ffffff0b;border-radius:50%;left:38%;top:50%;transform:translateY(-50%);box-shadow:0 0 0 6vw #ffffff02,0 0 0 12vw #ffffff01;pointer-events:none}
.product-wordmark{position:absolute;top:30%;left:19%;font-size:clamp(9.375rem,23vw,26.25rem);font-weight:750;letter-spacing:-.08em;line-height:1;color:#ffffff03;white-space:nowrap;pointer-events:none}
.product-story #mount-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;touch-action:pan-y;cursor:grab;z-index:2;transition:opacity .6s}
.webgl-ready .product-story #mount-canvas{opacity:1}
.product-story #mount-canvas:active{cursor:grabbing}
.product-story #mount-canvas:focus-visible{outline:2px solid var(--home-gold);outline-offset:-5px}
.product-poster{position:absolute;left:40%;top:12%;width:56%;height:78%;object-fit:contain;z-index:1}
.webgl-ready .product-poster{visibility:hidden}
.product-topline,.product-bottomline{position:absolute;z-index:5;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center}
.product-topline{top:120px;font-size:0.5625rem;letter-spacing:.18em;color:#8c9690;pointer-events:none}
.product-topline>span:first-child{display:flex;align-items:center;gap:9px}
.product-topline i{width:5px;height:5px;border-radius:50%;background:#a4c186;box-shadow:0 0 12px #a4c18660}
.product-bottomline{bottom:27px}
.product-navigation{display:flex;align-items:center;gap:18px}
.product-navigation a{font-size:0.625rem;color:#737c77;position:relative;padding:10px 2px;transition:color .2s}
.product-navigation a::after{content:'';position:absolute;bottom:2px;left:0;right:0;height:2px;background:var(--home-gold);transform:scaleX(0);transition:transform .3s}
.product-navigation .is-active{color:#f3d797}.product-navigation .is-active::after{transform:scaleX(1)}
.product-interaction{display:flex;align-items:center;gap:14px;color:#a2aba5;font-size:0.625rem;letter-spacing:.06em}
.product-interaction button{border:1px solid #ffffff26;background:#ffffff06;border-radius:50%;width:33px;height:33px;color:#e2e8e2;cursor:pointer;font-size:1.3125rem}
.product-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#ffffff08;z-index:5}
.product-progress i{display:block;height:100%;width:calc(var(--product-progress,0)*100%);background:var(--home-gold)}
.product-chapters{position:relative;z-index:4;margin-top:-100svh;pointer-events:none}
.product-chapter{min-height:116svh;height:auto;display:flex;align-items:center;width:min(1320px,90%);margin:auto;padding:155px 0 100px;scroll-margin-top:0}
.product-chapter:last-child{min-height:116svh;height:auto}
.product-copy{width:min(430px,37%);pointer-events:auto}
.copy-right{justify-content:flex-end}
.product-copy .eyebrow{font-size:0.625rem;letter-spacing:.18em;margin:0 0 26px;color:#d6b76c}
.product-copy h1,.product-copy h2{font-size:clamp(2.875rem,5.3vw,5.125rem);font-weight:600;letter-spacing:-.065em;line-height:1.04;margin:0;text-wrap:balance}
.product-copy h2{font-size:clamp(2.5rem,4.6vw,4.25rem)}
.product-copy h1 span,.product-copy h2 span{color:#929b94}
.product-copy>p:not(.eyebrow){color:#adb4ae;font-size:1rem;line-height:1.65;margin:25px 0 30px;max-width:350px}
.product-hero{width:min(620px,47%)}
.product-copy .button{font-size:0.75rem;padding:13px 22px;min-height:0}
.product-scroll{display:flex;align-items:center;gap:14px;font-size:0.625rem;letter-spacing:.08em;color:#8c968f;margin-top:45px}
.product-scroll>span{font-size:1.375rem;color:#d6b76c}
.product-copy>p.product-footnote{font-size:0.625rem;line-height:1.6;color:#79827b;margin-top:30px;max-width:310px}
.product-footnote a{text-decoration:underline;text-underline-offset:3px}
.product-detail{display:flex;flex-direction:column;gap:5px;border-top:1px solid #ffffff1c;padding-top:18px;margin-top:28px}
.product-detail b{font-size:1.5rem;font-weight:500;letter-spacing:-.04em}.product-detail span{font-size:0.6875rem;color:#8b968e}
.product-hotspot{position:absolute;z-index:3;display:none;align-items:center;gap:10px;pointer-events:none;white-space:nowrap;color:#e6ece5;font-size:0.625rem}
.product-hotspot i{width:6px;height:6px;background:#d6b76c;border-radius:50%;box-shadow:0 0 0 5px #d6b76c20}
.product-hotspot span{background:#101713bc;border:1px solid #ffffff1f;padding:6px 10px;backdrop-filter:blur(10px)}
.product-story[data-chapter='1'] [data-hotspot='ra'],.product-story[data-chapter='1'] [data-hotspot='dec'],.product-story[data-chapter='2'] [data-hotspot='drive']{display:flex}
.product-hotspot[hidden]{display:none!important}
.webgl-unavailable .product-interaction,.webgl-unavailable .product-hotspot{display:none!important}
.webgl-unavailable .product-story #mount-canvas{display:none}
@media(min-width:760px) and (max-width:1050px){.product-copy h1{font-size:3.625rem}.product-copy h2{font-size:3rem}.product-copy{width:39%}.product-hero{width:47%}}
@media(max-width:759px){
 .product-story{height:600svh}.product-chapter,.product-chapter:last-child{min-height:120svh;height:auto;width:88%;align-items:flex-start;padding:150px 0 0}
 .product-copy,.product-hero{width:100%;max-width:490px}.product-copy h1{font-size:clamp(2.6875rem,10.5vw,4rem)}.product-copy h2{font-size:clamp(2.3125rem,9vw,3.25rem);max-width:420px}
 .product-copy .eyebrow{font-size:0.5625rem;margin-bottom:17px}.product-copy>p:not(.eyebrow){font-size:0.8125rem;line-height:1.55;max-width:330px;margin:18px 0}
 .product-topline{top:106px;left:6%;right:6%;font-size:0.4375rem;letter-spacing:.1em}.product-topline>span:last-child{font-size:0.4375rem}
 .product-bottomline{left:6%;right:6%;bottom:20px}.product-navigation{gap:16px}.product-interaction span{display:none}.product-interaction button{width:30px;height:30px}
 .product-halo{width:100vw;height:100vw;top:65%;left:0}.product-wordmark{left:0;top:54%;font-size:28vw}
 .product-copy .button{font-size:0.6875rem;padding:11px 18px}.product-scroll{margin-top:20px;font-size:0.5625rem}.product-detail{margin-top:18px;padding-top:10px}.product-detail b{font-size:1.25rem}
 .product-copy>p.product-footnote{font-size:0.5625rem;max-width:310px;margin-top:15px}.product-poster{width:100%;height:53%;left:0;top:43%}
}
@media(max-width:759px) and (max-height:720px){.product-chapter{padding-top:125px}.product-copy h1{font-size:2.5rem}.product-copy h2{font-size:2.125rem}.product-copy>p:not(.eyebrow){font-size:0.75rem;max-width:300px;margin:12px 0}.product-scroll{margin-top:13px}.product-topline{top:94px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-story *{transition:none!important}.product-stage{background:#101613}.product-halo{display:none}}
@media(forced-colors:active){.product-wordmark,.product-halo{display:none}.product-copy{background:Canvas;color:CanvasText}.product-copy h1 span,.product-copy h2 span,.product-copy>p{color:CanvasText!important}}

.product-chapter{scroll-margin-top:-96px}

.webgl-ready .product-copy{transition:opacity .45s ease,transform .6s ease}
.webgl-ready .product-chapter:not(.is-active) .product-copy{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.webgl-ready .product-chapter:not(.is-active) .product-copy{opacity:1;transform:none}}

.webgl-unavailable .copy-right{justify-content:flex-start}

/* Quiet, static night sky: no parallax, twinkling or additional render loop. */
.product-story{height:auto;background:#050608}
.product-stage{background:radial-gradient(ellipse at 68% 42%,#101214 0,#090b0d 40%,#050608 78%)}
.product-cosmos,.cosmos-stars,.cosmos-dust{position:absolute;inset:0;pointer-events:none}
.product-cosmos{overflow:hidden;z-index:0}
.cosmos-stars{background-image:radial-gradient(1px 1px at 8% 14%,#e1ebff85 60%,transparent 100%),radial-gradient(1px 1px at 31% 8%,#cedbff70 60%,transparent 100%),radial-gradient(1.4px 1.4px at 61% 19%,#fff9dc85 50%,transparent 100%),radial-gradient(1px 1px at 85% 37%,#d1e4ff75 60%,transparent 100%),radial-gradient(.8px .8px at 44% 72%,#c9daff65 60%,transparent 100%),radial-gradient(1px 1px at 19% 87%,#eee9d260 60%,transparent 100%);background-size:413px 367px,587px 491px,773px 613px,659px 431px,313px 541px,877px 709px;opacity:.85;mask-image:linear-gradient(90deg,#0005,#000 65%)}
.cosmos-dust{inset:-25%;background:radial-gradient(ellipse at 63% 40%,#777c8509,transparent 37%),radial-gradient(ellipse at 73% 65%,#777f8707,transparent 33%);transform:rotate(-28deg)}
.product-story[data-chapter='3'] [data-hotspot='worm'],.product-story[data-chapter='3'] [data-hotspot='wheel'],.product-story[data-chapter='4'] [data-hotspot='bearing']{display:flex}
.product-detail b{font-size:1.25rem}
@media(max-width:759px){.product-story{height:auto}.cosmos-stars{opacity:.65}.product-navigation{gap:14px}.product-detail b{font-size:1.0625rem}}
@media(prefers-reduced-motion:reduce){.product-stage{background:#090b0d}}
@media(forced-colors:active){.product-cosmos{display:none}}

/* One optical grid for navigation, actions and service illustrations. */
.icon-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.ui-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.home-3d .button,.home-3d .inline-link{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.home-3d .button>span,.home-3d .inline-link>span{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.home-3d .button{border-radius:14px;box-shadow:none;transition:background .25s,border-color .25s,transform .25s}
.home-3d .button-primary{background:#e1c17b;color:#17140d;border-color:#ecd28e70;box-shadow:inset 0 1px #fff5,0 6px 24px #d4ae5910}
.home-3d .button-primary:hover{background:#efd49a;transform:translateY(-2px)}
.home-3d .nav-shell{border-color:#c9d9f017;background:#090e17aa;backdrop-filter:blur(22px);box-shadow:0 8px 35px #0002}
.home-3d .nav-toggle{width:44px;height:44px;border-radius:13px;background:#ffffff05;border-color:#ffffff1f;box-shadow:inset 0 1px #ffffff08}
.home-3d .nav-toggle:hover{transform:none;background:#ffffff0b}
.home-3d .space-menu-icon{display:block;width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.home-3d .space-menu-orbit,.home-3d .space-menu-close{transform-origin:16px 16px}
.home-3d .brand{align-items:center}
.product-interaction button{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:12px;background:#ffffff06;border-color:#ffffff20;transition:background .2s,border-color .2s}
.product-interaction button:hover{background:#ffffff10;border-color:#d8bd7b80}
.product-interaction button .ui-icon{width:18px;height:18px}
.product-navigation{gap:4px;padding:5px;border:1px solid #ffffff13;border-radius:14px;background:#090e17a6;backdrop-filter:blur(14px)}
.product-navigation a{display:grid;place-items:center;width:35px;height:33px;padding:0;border-radius:9px;color:#7d8798;font-size:0.625rem;font-variant-numeric:tabular-nums;transition:background .25s,color .25s}
.product-navigation a:hover{background:#ffffff08;color:#ede4cf}
.product-navigation a.is-active{background:#ddbf7420;color:#ead29a;box-shadow:inset 0 0 0 1px #e0bd7126}
.product-navigation a::after{display:none}
.product-scroll>span{display:grid;place-items:center;width:29px;height:35px;border:1px solid #d8bd7b33;border-radius:14px}
.product-scroll>span .ui-icon{width:14px;height:18px;stroke-width:1.4}
.product-hotspot{gap:9px;font-size:0.5625rem;letter-spacing:.015em;transform:translate(9px,-50%)}
.product-hotspot span{padding:8px 11px;border-radius:7px;background:#0a101cec;border-color:#d4b97940;box-shadow:0 4px 16px #0003}
.product-hotspot i{width:5px;height:5px;flex:0 0 5px}
.home-3d .service-showcase-card:not(.service-showcase-card-photo){padding-top:165px;text-align:center;align-items:center}
.home-3d .service-showcase-card .card-icon{top:36px;left:50%;transform:translateX(-50%);width:82px;height:82px;border-radius:24px;border-color:#d8bd7b24;background:#ffffff05;box-shadow:inset 0 1px #ffffff09,0 8px 24px #0001}
.home-3d .service-showcase-card-primary .card-icon{border-color:#35280924;background:#fff2;color:#30270f}
.home-3d .card-icon .service-icon{display:block;width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.home-3d .service-showcase-card .eyebrow{justify-content:center}
.home-3d .service-showcase-card:not(.service-showcase-card-photo) h3{font-size:clamp(1.75rem,3vw,2.625rem);line-height:1.12;margin-inline:auto;text-wrap:balance}
.home-3d .service-showcase-card:not(.service-showcase-card-photo)>p:last-child{max-width:39ch;margin-inline:auto}
.home-3d .service-showcase-card{border-radius:24px;border-color:#b9cbea18}
.home-3d .workshop-card i,.home-3d .card-link i{display:grid;place-items:center;line-height:1}
.home-3d .workshop-card i .ui-icon{width:20px;height:20px}
@media(max-width:759px){.product-navigation{gap:1px;padding:4px}.product-navigation a{width:36px;height:44px}.product-interaction button{width:44px;height:44px}.product-bottomline{bottom:16px}.home-3d .service-showcase-card:not(.service-showcase-card-photo){padding-top:150px}.home-3d .service-showcase-card .card-icon{top:30px;width:76px;height:76px}.home-3d .card-icon .service-icon{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.home-3d .button,.product-navigation a,.product-interaction button{transition:none}.home-3d .button-primary:hover{transform:none}}
@media(min-width:760px){.product-copy:not(.product-hero){width:min(460px,38%)}.product-copy h2{font-size:clamp(2.375rem,3.9vw,3.75rem)}}
.product-footnote .ui-icon{width:11px;height:11px;vertical-align:-1px}

.home-3d .service-showcase-card { min-height: 360px; border-radius: 18px; }
.home-3d .service-showcase-card:not(.service-showcase-card-photo) {
  padding: 28px; text-align: left; align-items: flex-start; justify-content: flex-start;
}
.home-3d .service-showcase-card .card-icon {
  position: static; transform: none; width: 60px; height: 60px; flex: 0 0 60px;
  margin-bottom: 24px; border-radius: 12px; box-shadow: none;
}
.home-3d .service-showcase-card .eyebrow { justify-content: flex-start; }
.home-3d .service-showcase-card:not(.service-showcase-card-photo) h3,
.home-3d .service-showcase-card:not(.service-showcase-card-photo) > p:last-child { margin-inline: 0; }
.home-3d .service-showcase-card:not(a):hover { transform: none; box-shadow: none; border-color: #b9cbea18; }
.home-3d .service-showcase-card-primary { background: #d9bd7e; }
.home-3d .service-showcase-card-photo { min-height: 360px; }
.editorial-heading { gap: 32px; margin-bottom: 36px; }
.testimonial-featured { min-height: 0; padding: clamp(24px, 4vw, 44px); }
.testimonial-featured blockquote { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.5; }
.testimonial-featured::before, .contact-planet { display: none; }
.card-index, .process-index, .workshop-card small, .about-caption,
.testimonial-featured footer span, .testimonial-small footer span,
.testimonial-featured footer > a, .footer-brand span { font-size: .875rem; }
.card-index { color: #a7afbb; }
.product-navigation a { width: 44px; height: 44px; font-size: .875rem; color: #b0b9c8; }
.product-interaction button { width: 44px; height: 44px; }
.product-interaction, .product-scroll { font-size: .875rem; }
.product-navigation a:active, .product-interaction button:active,
a.service-showcase-card:active, .workshop-card:active { transform: scale(.98); }
.product-copy .eyebrow { font-size: .8125rem; letter-spacing: .08em; }
.product-copy .button { min-height: 48px; font-size: 1rem; padding: 12px 20px; }
.product-copy > p.product-footnote { font-size: .8125rem; color: #a7afbb; }
.product-detail span, .product-hotspot { font-size: .8125rem; }
.product-topline { font-size: .75rem; letter-spacing: .08em; }
.product-copy { min-width: 0; }
.product-story #mount-canvas { touch-action: pan-y pinch-zoom; }
.product-chapter { scroll-margin-top: -96px; }
@media (max-width: 759px) {
  .product-chapter, .product-chapter:last-child { padding-top: 138px; padding-bottom: 52svh; }
  .product-copy > p:not(.eyebrow) { font-size: 1rem; max-width: 36ch; }
  .product-copy .eyebrow { font-size: .8125rem; }
  .product-copy > p.product-footnote { font-size: .8125rem; }
  .product-topline { top: 94px; font-size: .6875rem; gap: 12px; }
  .product-topline > span:last-child { font-size: inherit; text-align: right; }
  .product-bottomline { left: 4%; right: 4%; }
  .product-navigation { gap: 0; padding: 3px; }
  .product-navigation a { width: 36px; height: 44px; }
  .product-interaction button { width: 44px; height: 44px; }
  .statement-grid h2, .editorial-heading h2, .process-intro h2, .about-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem); line-height: 1.12;
  }
  .service-showcase-card h3 { font-size: 1.875rem; }
  .testimonial-featured footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .product-navigation a:active, .product-interaction button:active,
  a.service-showcase-card:active, .workshop-card:active { transform: none; }
}
@media (min-width: 760px) { .product-chapter { padding-bottom: 180px; } }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) { height: auto; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-stage { position: relative; height: max(640px, 100svh); }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-chapters { margin-top: 0; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-chapter {
  height: auto; min-height: 0; padding: 40px 0; width: var(--page); border-top: 1px solid var(--line); scroll-margin-top: 96px;
}
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-copy { width: 100%; max-width: 760px; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-copy > p { max-width: 55ch; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .copy-right { justify-content: flex-start; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-topline {
  position: relative; top: auto; left: auto; right: auto; padding: 100px 20px 0;
  display: grid; gap: 8px; font-size: .6875rem;
}
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-topline > span:last-child { text-align: left; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-bottomline { align-items: flex-start; flex-direction: column; gap: 8px; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-navigation { flex-wrap: wrap; gap: 2px; }
:is(.product-story.is-expanded-layout, .webgl-failed .product-story) .product-navigation a { width: 44px; }
.webgl-failed .product-poster { top: 25%; left: 15%; width: 70%; height: 60%; }
.home-3d .button:active, .home-3d .nav-toggle:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .home-3d .button:active, .home-3d .nav-toggle:active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .workshop-card, .workshop-card > img { transition: none; }
}

@media (max-width: 759px) {
  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workshop-card {
    flex-direction: row;
    border-radius: 12px;
  }

  .workshop-card > img {
    width: 104px;
    min-height: 116px;
    height: auto;
    flex: 0 0 104px;
    aspect-ratio: auto;
  }

  .workshop-card > span {
    gap: 6px 8px;
    padding: 16px;
  }

  .workshop-card i {
    width: 20px;
    height: 28px;
  }

  .workshop-actions .button {
    flex: 1 1 140px;
  }

}

/* The reset icon hints at its function without moving its touch target. */
.product-interaction [data-reset-view] .ui-icon {
  transition: transform .55s var(--ease);
  transform-origin: center;
}
.product-interaction [data-reset-view]:focus-visible .ui-icon,
.product-interaction [data-reset-view]:active .ui-icon { transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .product-interaction [data-reset-view]:hover .ui-icon { transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .product-interaction [data-reset-view] .ui-icon { transition: none; }
  .product-interaction [data-reset-view]:is(:hover, :focus-visible, :active) .ui-icon { transform: none; }
}
