:root {
  color-scheme: light;
  --orange: #ff6338;
  --ink: #101112;
  --muted: #717176;
  --pad: clamp(24px, 4.2vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}
img {
  display: block;
  width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h2 {
  font-size: clamp(48px, 6.6vw, 106px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h2 > span {
  color: #858589;
}
p {
  line-height: 1.5;
}
button {
  cursor: pointer;
}
.section-pad {
  padding: 100px var(--pad);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(18px, 1.75vw, 27px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 99px;
  background: var(--orange);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.25s,
    transform 0.25s;
}
.button:hover {
  background: #ff835f;
  transform: translateY(-2px);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 18px;
  font-weight: 700;
  color: #d33b11;
}
.text-link span {
  font-size: 26px;
  transition: transform 0.3s;
}
.text-link:hover span {
  transform: translateY(4px);
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  padding: 16px;
  background: #fff;
  color: #111;
}
.skip-link:focus {
  top: 20px;
}
.nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.brand span {
  font-weight: 400;
  margin-left: 4px;
}
.brand i {
  font-size: 9px;
  font-style: normal;
  align-self: flex-start;
  margin-left: 3px;
}
.nav nav {
  display: flex;
  gap: 34px;
  font-size: 17px;
}
.nav nav a {
  padding: 12px 0;
}
.nav nav a:hover {
  color: #ffc0a7;
}
.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 1400px;
  overflow: hidden;
  background: #042b42;
  color: #fff;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.hero-photo {
  transform: scale(var(--hero-scale, 1));
  will-change: transform;
}
.hero-shade {
  background: linear-gradient(
    180deg,
    rgba(0, 16, 25, 0.48),
    transparent 35%,
    rgba(0, 14, 26, 0.12) 53%,
    rgba(0, 14, 25, 0.85)
  );
}
.hero-wordmark {
  position: absolute;
  top: 12%;
  width: 100%;
  text-align: center;
  transform: translateY(var(--hero-title-y, 0px));
  opacity: var(--hero-title-opacity, 1);
}
.hero h1 {
  font-size: clamp(90px, 14.3vw, 245px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 850;
}
.hero-wordmark > span {
  display: block;
  margin-top: 26px;
  font-size: 24px;
  letter-spacing: 0.52em;
  padding-left: 0.52em;
}
.hero-bottom {
  position: absolute;
  bottom: 7%;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero-slogan {
  font-size: clamp(46px, 6.8vw, 110px);
  line-height: 0.97;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 75%;
  overflow-wrap: anywhere;
}
.hero-aside {
  font-size: 21px;
  min-width: 245px;
}
.hero-aside > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  margin-top: 30px;
}
.hero-aside > a span {
  font-size: 26px;
}
.intro {
  padding-top: 70px;
  padding-bottom: 80px;
}
.intro-main {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  min-height: 570px;
  gap: 15px;
}
.intro-copy {
  position: relative;
  z-index: 1;
}
.intro-copy h2 {
  font-size: clamp(46px, 6.25vw, 100px);
}
.intro-copy .lead {
  margin-top: 34px;
  max-width: 630px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.intro-unit {
  object-fit: contain;
  max-height: 650px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #d7d7d7;
  margin-top: 60px;
  padding-top: 38px;
  gap: 30px;
}
.facts strong {
  font-size: clamp(44px, 5.8vw, 90px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.facts strong span {
  font-size: 0.52em;
}
.facts > div {
  text-align: center;
}
.facts > div + div {
  border-left: 1px solid #ddd;
}
.facts p {
  font-size: 18px;
  color: #626266;
  margin-top: 10px;
}
.facts sup {
  font-size: 11px;
}
.intro-link {
  display: flex;
  justify-content: center;
  margin-top: 65px;
}
.anatomy {
  background: #f1f1f1;
  position: relative;
}
.anatomy-stage {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 4%;
  align-items: center;
  padding: 75px var(--pad);
}
.anatomy h2 {
  font-size: clamp(44px, 5.9vw, 94px);
}
.chapter-descriptions {
  margin-top: 26px;
  min-height: 115px;
  max-width: 550px;
  font-size: clamp(18px, 1.6vw, 25px);
}
[data-copy]:not([data-copy="0"]) {
  display: none;
}
.chapter-controls {
  margin-top: 34px;
  max-width: 540px;
}
.chapter-controls button {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #ccc;
  width: 100%;
  background: transparent;
  color: #151515;
  text-align: left;
  font-size: clamp(17px, 1.5vw, 23px);
}
.chapter-controls button[aria-pressed="true"] {
  color: #ce3b13;
  border-color: #ce3b13;
}
.chapter-controls button i {
  margin-left: auto;
  font-style: normal;
}
.anatomy-visual {
  position: relative;
  min-width: 0;
  height: 680px;
}
.anatomy-visual figure {
  position: absolute;
  inset: 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(35px) scale(0.94);
  transition:
    opacity 0.65s,
    transform 0.8s,
    visibility 0.65s;
}
.anatomy-visual figure[data-view="0"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.anatomy-visual img {
  height: 100%;
  max-width: 78%;
  object-fit: contain;
}
.anatomy-visual figure[data-view="2"] img {
  max-width: 90%;
  height: 65%;
}
.anatomy-visual figcaption {
  position: absolute;
  right: -2%;
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 150px;
  font-size: 12px;
  max-width: 145px;
}
.anatomy-visual figcaption span {
  background: rgba(241, 241, 241, 0.93);
  padding: 8px;
  border-left: 2px solid var(--orange);
}
.anatomy-visual figure[data-view="2"] figcaption {
  top: 66%;
  left: 10%;
  right: 10%;
  max-width: none;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
.scroll-hint {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #666;
}
.scroll-hint span {
  margin-left: 10px;
}
.no-script {
  padding: 24px var(--pad);
}
.experience {
  position: relative;
  height: 95svh;
  min-height: 700px;
  max-height: 1200px;
  background: #072c3a;
  overflow: hidden;
  color: #fff;
}
.experience-photo,
.experience-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-photo {
  object-position: 55% 50%;
  transform: scale(var(--experience-scale, 1.05));
}
.experience-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 18, 32, 0.8),
      rgba(0, 25, 43, 0.35) 50%,
      transparent
    ),
    linear-gradient(0deg, rgba(0, 16, 26, 0.45), transparent);
}
.experience-copy {
  position: absolute;
  top: 50%;
  left: var(--pad);
  right: var(--pad);
  transform: translateY(-50%);
  max-width: 1000px;
}
.experience h2 {
  font-size: clamp(52px, 7.5vw, 120px);
}
.experience-copy > p:not(.eyebrow) {
  max-width: 460px;
  font-size: 22px;
  margin-top: 32px;
}
.experience .text-link {
  margin-top: 36px;
  color: #fff;
}
.benefits {
  padding-top: 125px;
  padding-bottom: 125px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7%;
  margin-top: 75px;
}
.benefit-number {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #737377;
}
.benefit-grid h3 {
  font-size: clamp(28px, 3.2vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 25px 0;
}
.benefit-grid p {
  color: #636368;
  font-size: 18px;
}
.courses {
  background: #080f13;
  color: #fff;
  padding-top: 120px;
  padding-bottom: 70px;
}
.courses h2 {
  font-size: clamp(58px, 7vw, 112px);
}
.courses h2 > span {
  color: var(--orange);
}
.courses .lead {
  color: #aab1b5;
  margin-top: 28px;
  font-size: 21px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5%;
  margin-top: 64px;
}
.course-grid article {
  border-top: 1px solid #3a4246;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.course-number {
  color: #939ca1;
  font-size: 62px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: 27px;
}
.course-grid .eyebrow {
  font-size: 10px;
  color: #aab1b5;
  margin-bottom: 18px;
}
.course-grid h3 {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.course-name {
  color: #aab1b5;
  margin-top: 8px;
  font-size: 17px;
}
.course-grid p:not(.eyebrow, .course-name) {
  font-size: 18px;
  color: #b6bcc0;
  margin: 22px 0 32px;
}
.course-grid .button {
  margin-top: auto;
  gap: 20px;
  font-size: 13px;
}
.button.outline {
  border: 1px solid #728089;
  background: transparent;
  color: #fff;
}
.button.outline:hover {
  background: #253038;
}
.course-note {
  font-size: 12px;
  color: #9aa4aa;
  max-width: 800px;
  margin-top: 55px;
}
.footer {
  background: #080f13;
  color: #aab3b8;
  padding-top: 0;
  padding-bottom: 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #343c40;
  padding: 35px 0;
}
.footer-top .brand {
  color: #fff;
}
.footer-top p {
  font-size: 12px;
}
.footer-top button {
  background: transparent;
  border: 1px solid #58646b;
  border-radius: 30px;
  padding: 10px 15px;
  color: #cad0d4;
  font-size: 12px;
}
.footer details {
  max-width: 1000px;
  font-size: 12px;
  line-height: 1.6;
}
.footer summary {
  cursor: pointer;
  width: fit-content;
}
.footer details p {
  margin-top: 15px;
}
.footer details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 35px;
}
.footer-bottom a {
  font-size: 12px;
  letter-spacing: 0;
}
/* Scrolling drives transforms only. Without JS the entire document stays readable. */
.motion .anatomy {
  height: 300svh;
  min-height: 2200px;
}
.motion .anatomy-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  padding-top: 45px;
  padding-bottom: 45px;
}
.motion .anatomy-visual {
  height: min(78svh, 800px);
}
.motion .reveal {
  opacity: 0;
  translate: 0 35px;
  transition:
    opacity 0.85s,
    translate 0.85s;
}
.motion .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}
.motion .experience-copy.reveal {
  translate: 0 25px;
}
.motion .experience-copy.reveal.is-visible {
  translate: 0 0;
}
.reduced-motion html {
  scroll-behavior: auto;
}
@media (min-width: 1800px) {
  .intro-main,
  .facts,
  .benefit-grid,
  .course-grid {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
  }
  .anatomy-stage {
    max-width: 1850px;
    margin: auto;
  }
}
@media (max-width: 1000px) {
  .hero {
    min-height: 700px;
  }
  .hero-aside {
    min-width: 190px;
    font-size: 17px;
  }
  .hero-slogan {
    font-size: 7.7vw;
  }
  .intro-main {
    min-height: 500px;
  }
  .intro-copy .eyebrow {
    font-size: 9px;
  }
  .facts p {
    font-size: 15px;
  }
  .anatomy-stage {
    gap: 20px;
  }
  .anatomy-visual {
    height: 620px;
  }
  .anatomy-visual figcaption {
    font-size: 10px;
    max-width: 112px;
    right: -1%;
  }
  .chapter-descriptions {
    min-height: 135px;
  }
  .chapter-controls button {
    gap: 15px;
  }
  .course-grid {
    gap: 25px;
  }
  .course-grid .button {
    font-size: 12px;
    padding: 12px 15px;
    gap: 12px;
  }
  .benefit-grid {
    gap: 30px;
  }
  .benefit-grid p {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }
  .section-pad {
    padding: 70px var(--pad);
  }
  .nav {
    padding-top: 22px;
    gap: 12px;
  }
  .brand {
    font-size: 16px;
  }
  .nav nav {
    display: none;
  }
  .nav-cta {
    font-size: 11px;
    min-height: 40px;
    padding: 10px 14px;
    gap: 12px;
  }
  .nav-cta span {
    font-size: 16px;
  }
  .hero {
    height: 100svh;
    min-height: 650px;
    max-height: 1000px;
  }
  .hero-photo {
    object-position: 57% 50%;
  }
  .hero-wordmark {
    top: 21%;
  }
  .hero h1 {
    font-size: 17.5vw;
  }
  .hero-wordmark > span {
    font-size: 14px;
    margin-top: 18px;
    letter-spacing: 0.6em;
  }
  .hero-bottom {
    bottom: 6%;
    display: block;
  }
  .hero-slogan {
    font-size: clamp(47px, 10.8vw, 76px);
    max-width: 100%;
    line-height: 1.02;
  }
  .hero-aside {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: 28px;
    font-size: 15px;
  }
  .hero-aside > a {
    font-size: 11px;
    gap: 12px;
    margin-top: 0;
    max-width: 130px;
  }
  .hero-aside > a span {
    font-size: 23px;
  }
  .intro-main {
    display: flex;
    flex-direction: column;
    gap: 35px;
    min-height: 0;
    align-items: stretch;
  }
  .intro-copy h2 {
    font-size: clamp(45px, 10.5vw, 78px);
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 23px;
  }
  .intro-copy .eyebrow {
    font-size: 9px;
  }
  .intro-copy .lead {
    font-size: 19px;
    margin-top: 27px;
  }
  .intro-unit {
    height: 380px;
    max-height: 65svh;
  }
  .facts {
    gap: 20px;
    grid-template-columns: 1fr;
    padding-top: 30px;
    margin-top: 35px;
  }
  .facts > div + div {
    border-left: 0;
  }
  .facts > div {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
  }
  .facts strong {
    font-size: 48px;
    white-space: nowrap;
    min-width: 150px;
  }
  .facts p {
    font-size: 14px;
    max-width: 150px;
    margin: 0;
  }
  .intro-link {
    margin-top: 35px;
    font-size: 16px;
  }
  .anatomy-stage,
  .motion .anatomy-stage {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 0;
    padding: 65px var(--pad) 35px;
  }
  .motion .anatomy {
    height: auto;
    min-height: 0;
  }
  .anatomy-copy {
    width: 100%;
  }
  .anatomy h2 {
    font-size: clamp(43px, 9.6vw, 72px);
  }
  .chapter-descriptions {
    font-size: 18px;
    min-height: 108px;
    margin-top: 25px;
  }
  .chapter-controls {
    margin-top: 15px;
    max-width: none;
  }
  .chapter-controls button {
    font-size: 16px;
    padding: 17px 0;
    min-height: 55px;
  }
  .anatomy-visual,
  .motion .anatomy-visual {
    height: 550px;
    max-height: 80svh;
    width: 100%;
    margin-top: 15px;
  }
  .anatomy-visual img {
    max-width: 80%;
  }
  .anatomy-visual figcaption {
    max-width: 115px;
    font-size: 10px;
    gap: 115px;
    right: -1%;
  }
  .scroll-hint {
    display: none;
  }
  .experience {
    height: 850px;
    min-height: 0;
    max-height: 110svh;
  }
  .experience-photo {
    object-position: 56% 50%;
  }
  .experience-shade {
    background: linear-gradient(
      0deg,
      rgba(0, 18, 30, 0.87),
      rgba(0, 18, 30, 0.2) 85%
    );
  }
  .experience-copy {
    top: auto;
    bottom: 60px;
    transform: none;
  }
  .experience h2 {
    font-size: clamp(48px, 10.5vw, 80px);
  }
  .experience-copy > p:not(.eyebrow) {
    font-size: 19px;
    max-width: 340px;
  }
  .experience .text-link {
    font-size: 16px;
  }
  .benefits h2 {
    font-size: clamp(47px, 10.5vw, 80px);
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 45px;
  }
  .benefit-grid article {
    border-top: 1px solid #d7d7d7;
    padding-top: 25px;
  }
  .benefit-grid h3 {
    font-size: 32px;
    margin: 18px 0;
  }
  .benefit-grid h3 br {
    display: none;
  }
  .benefit-grid p {
    font-size: 17px;
    max-width: 550px;
  }
  .courses h2 {
    font-size: clamp(49px, 11vw, 80px);
  }
  .courses .lead {
    font-size: 18px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 45px;
  }
  .course-grid article {
    position: relative;
    padding-top: 28px;
    padding-left: 60px;
  }
  .course-number {
    position: absolute;
    top: 24px;
    left: 0;
    font-size: 36px;
  }
  .course-grid h3 {
    font-size: 34px;
  }
  .course-grid .eyebrow {
    margin-bottom: 13px;
  }
  .course-grid p:not(.eyebrow, .course-name) {
    font-size: 17px;
    margin: 20px 0 25px;
  }
  .course-grid .button {
    font-size: 13px;
    padding: 13px 19px;
  }
  .course-note {
    margin-top: 40px;
  }
  .footer.section-pad {
    padding-top: 0;
    padding-bottom: 25px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top p {
    width: 100%;
    order: 3;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 15px;
  }
  .footer-bottom a {
    font-size: 11px;
  }
  .motion .reveal {
    translate: 0 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .hero-photo,
  .hero-wordmark,
  .experience-photo {
    transform: none !important;
    opacity: 1 !important;
  }
}
html.reduced-motion {
  scroll-behavior: auto;
}
.reduced-motion * {
  transition: none !important;
  animation: none !important;
}
.reduced-motion .hero-photo,
.reduced-motion .hero-wordmark,
.reduced-motion .experience-photo {
  transform: none !important;
  opacity: 1 !important;
}

@media (min-width: 1001px) {
  .anatomy-visual figure:not([data-view="2"]) figcaption span {
    position: relative;
    font-size: 14px;
  }
  .anatomy-visual figure:not([data-view="2"]) figcaption span::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 100px;
    height: 1px;
    background: var(--orange);
    transform: rotate(-12deg);
    transform-origin: right;
  }
  .anatomy-visual figure:not([data-view="2"]) figcaption span::after {
    content: "";
    position: absolute;
    right: calc(100% + 96px);
    top: calc(50% + 17px);
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
  }
}

.motion .anatomy h2 {
  font-size: clamp(44px, min(5.9vw, 8.8svh), 94px);
}
@media (max-width: 760px) {
  .motion .anatomy h2 {
    font-size: clamp(43px, 9.6vw, 72px);
  }
}
@media (min-width: 761px) and (max-height: 740px) {
  .motion .anatomy {
    height: auto;
    min-height: 0;
  }
  .motion .anatomy-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .motion .anatomy-visual {
    height: 600px;
  }
  .scroll-hint {
    display: none;
  }
}

.hero h1 {
  transform: scaleX(1.1);
}

.chapter-controls {
  display: none;
}
.motion .chapter-controls,
.reduced-motion .chapter-controls {
  display: block;
}

/* Original brand assets and motion footage. Images remain the no-motion fallback. */
.brand img {
  width: 210px;
  height: auto;
}
.hero-wordmark .mares-logo {
  width: 160px;
  height: auto;
  margin: 28px auto 0;
  filter: brightness(0) invert(1);
}
.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s;
  pointer-events: none;
}
.scene-video.has-frame {
  opacity: 1;
}
.hero .scene-video {
  object-position: 50% 50%;
  transform: scale(var(--hero-scale, 1));
}
.experience .scene-video {
  object-position: 55% 50%;
  transform: scale(var(--experience-scale, 1.05));
}
.video-toggle {
  position: absolute;
  z-index: 5;
  top: 100px;
  right: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  min-height: 40px;
  border: 1px solid #ffffff70;
  border-radius: 30px;
  background: #041c2fc7;
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(8px);
}
.video-toggle[hidden],
.film-open[hidden] {
  display: none;
}
.experience .video-toggle {
  top: 30px;
}
.video-toggle:hover {
  background: #163e54;
}
.reduced-motion .scene-video {
  opacity: 0;
}
.film-open {
  border: 0;
  padding: 0;
  background: transparent;
  margin-top: 26px;
  gap: 12px;
  font-size: 15px;
  min-height: 36px;
}
.film-open .play-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  padding-left: 2px;
}
.film-dialog {
  color: #fff;
  background: #080f13;
  border: 1px solid #37434b;
  border-radius: 18px;
  width: min(1100px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  padding: 24px;
  overflow: auto;
}
.film-dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(10px);
}
.film-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.film-dialog h2 {
  font-size: 26px;
  letter-spacing: -0.035em;
}
.film-close {
  color: #fff;
  background: #26333c;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-size: 28px;
}
.film-player {
  width: 100%;
  aspect-ratio: 5/4;
  background: #000;
}
.film-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.film-dialog > p {
  font-size: 12px;
  color: #bdc8ce;
  margin-top: 16px;
}
.film-external {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.film-external span {
  margin-left: 5px;
}
@media (max-width: 760px) {
  .brand img {
    width: 150px;
  }
  .hero-wordmark .mares-logo {
    width: 115px;
    margin-top: 22px;
  }
  .video-toggle {
    top: 82px;
    font-size: 10px;
    padding: 8px 12px;
    min-height: 36px;
  }
  .film-dialog {
    width: calc(100% - 20px);
    padding: 16px;
    border-radius: 12px;
  }
  .film-dialog h2 {
    font-size: 22px;
  }
}
@media (max-width: 360px) {
  .nav .brand img {
    width: 120px;
  }
  .nav-cta {
    padding: 10px 11px;
    font-size: 10px;
    gap: 8px;
  }
}

.intro-product {
  position: relative;
  min-width: 0;
}
.intro-product .scene-video {
  inset: auto 0;
  top: 50%;
  height: auto;
  aspect-ratio: 5/4;
  transform: translateY(-50%);
  object-fit: contain;
  border-radius: 20px;
}
.intro-product .video-toggle {
  top: auto;
  bottom: 0;
  right: 15px;
  background: #fff;
  border-color: #bfc7cc;
  color: #223744;
}
.construction-view .scene-video {
  object-fit: contain;
  border-radius: 20px;
}
.construction-view:has(.has-frame) > img {
  opacity: 0;
}
.reduced-motion .construction-view > img {
  opacity: 1;
}
.construction-view .video-toggle {
  top: auto;
  bottom: 0;
  background: #fff;
  color: #223744;
  border-color: #bfc7cc;
  right: 50%;
  transform: translateX(50%);
  white-space: nowrap;
}
.motion .anatomy {
  height: 380svh;
  min-height: 2800px;
}
.motion .anatomy h2 {
  font-size: clamp(42px, min(5.5vw, 7.8svh), 88px);
}
.chapter-controls {
  margin-top: 24px;
}
.chapter-controls button {
  padding: 17px 0;
}
.film-open {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .intro-product {
    width: 100%;
  }
  .intro-product .video-toggle {
    bottom: 0;
  }
  .motion .anatomy {
    height: auto;
    min-height: 0;
  }
  .motion .anatomy h2 {
    font-size: clamp(43px, 9.6vw, 72px);
  }
  .anatomy-visual .construction-view {
    inset: 0;
  }
}
@media (min-width: 761px) and (max-height: 740px) {
  .motion .anatomy {
    height: auto;
    min-height: 0;
  }
}
.intro-product:has(.has-frame)>.intro-unit { opacity:0; }
.reduced-motion .intro-product>.intro-unit { opacity:1; }
.construction-view .scene-video { inset:auto 0; top:50%; height:auto; aspect-ratio:5/4; transform:translateY(-50%); }
.hero:has(.scene-video.has-frame) .hero-shade { background:linear-gradient(180deg,rgba(0,16,25,.55),rgba(0,16,25,.42) 36%,rgba(0,14,26,.18) 55%,rgba(0,14,25,.88)); }

.controller-view .scene-video {
  inset: auto 0;
  top: 50%;
  height: auto;
  aspect-ratio: 16/9;
  transform: translateY(-50%);
  border-radius: 20px;
}
.controller-view:has(.has-frame) > img { opacity: 0; }
.reduced-motion .controller-view > img { opacity: 1; }
.controller-view .video-toggle {
  top: auto;
  bottom: 55px;
  background: #fff;
  border-color: #bfc7cc;
  color: #223744;
}
.film-player video { max-height: 70svh; }

.nav .product-language-switcher {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  font-size: 12px;
}
.nav .product-language-switcher a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  border-radius: 999px;
  font-weight: 700;
}
.nav .product-language-switcher a[aria-current] {
  background: #fff;
  color: #15252d;
}
.nav .product-language-switcher a:hover { background: #ffffff30; color: #fff; }
.nav .product-language-switcher a[aria-current]:hover { background: #fff; color: #15252d; }
.nav .product-language-switcher a:focus-visible { outline: 3px solid #ff916e; outline-offset: 3px; }
@media (max-width: 1100px) {
  .nav > nav:not(.product-language-switcher) { display: none; }
  .nav .product-language-switcher { margin-left: auto; }
}
@media (max-width: 600px) {
  .nav { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; }
  .nav .product-language-switcher { grid-column: 2; }
  .nav .nav-cta { grid-column: 2; justify-self: end; }
  .hero > .video-toggle { top: 140px; }
}
