.mta-opening {
  --mta-travel: clamp(620px, 104svh, 1040px);
  background-color: var(--paper, #f2eee8);
}

.mta-hero {
  --mta-panel: clamp(27rem, calc(77svh - var(--header-height)), 49rem);
  --mta-orb-x: 73%;
  --mta-orb-y: 49%;
  --mta-orb-size: clamp(270px, min(38vw, 65svh), 610px);
  --mta-seal: 0;
  --mta-mist: 1;
  --mta-copy-alpha: 1;
  color: #f2efea;
  background: var(--ink, #111215);
  position: relative;
  isolation: isolate;
}

.mta-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: var(--mta-panel);
  overflow: clip;
  isolation: isolate;
}

.mta-opening[data-motion="scroll"]::after {
  content: "";
  display: block;
  height: var(--mta-travel);
}

/* Both visible surfaces share the browser's sticky layer and release together. */
.mta-opening[data-motion="scroll"] .mta-opening-frame {
  position: sticky;
  top: var(--header-height);
}

.mta-opening[data-motion] + .mta-pain {
  display: flow-root;
  padding-top: 0;
  scroll-margin-top: var(--mta-intro-height, 0px);
}

.mta-hero-layout {
  position: relative;
  width: min(calc(100% - 2 * var(--gutter, clamp(24px, 5.7vw, 100px))), 1450px);
  margin-inline: auto;
}

.mta-hero-copy {
  position: relative;
  z-index: 1;
  opacity: var(--mta-copy-alpha);
  padding-block: clamp(1.4rem, 3.4svh, 2.4rem);
}

.mta-hero .hero-label {
  display: block;
  font: 500 clamp(.94rem, 1.1vw, 1.15rem)/1.35 Geist, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.mta-hero .hero-label::before { content: none; }
.mta-hero .intro-h1 { font-size: clamp(2.5rem, min(5.2vw, 9svh), 5.25rem); margin: .28em 0 .3em; }
.mta-hero .hero-more {
  display: flex;
  flex-wrap: wrap;
  gap: .1em .65em;
  margin: 0 0 .75rem;
  color: var(--paper);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.75vw, 1.6rem);
  line-height: 1.15;
}
.hero-more li { white-space: nowrap; }
.hero-offer {
  max-width: 47ch;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.mta-hero .hero-check {
  max-width: 100%;
  margin-top: .85rem;
  padding: 1.05rem 1.48rem;
  font-size: clamp(1rem, 1.13vw, 1.1rem);
  text-align: center;
}
.hero-experience {
  grid-column: 1 / -1;
  color: #d3cfcb;
  font-size: clamp(.85rem, 1vw, 1rem);
  line-height: 1.35;
  text-align: start;
  text-wrap: pretty;
}
.mta-hero .hero-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(1rem, 2.4svh, 1.6rem);
}
.hero-portrait {
  display: block;
  width: clamp(4.3rem, 5.85vw, 6rem);
  flex: none;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #686265;
  border-radius: 50%;
}
.mta-hero .hero-portrait img { width: 100%; height: 100%; border: 0; border-radius: 0; }
.portrait-adrian img { transform: scale(1.32); transform-origin: 50% 76%; }
.portrait-martin img { transform: scale(1.16); transform-origin: 63% 55%; }
.mta-hero .hero-people small { font-size: clamp(.78rem, .95vw, .95rem); }

.mta-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink, #111215);
}

.mta-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 47%, rgb(42 43 48 / .22) 69%, rgb(103 27 32 / .38) 100%);
  opacity: var(--mta-mist);
}

.mta-hero-art canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mta-brand-orb {
  display: grid;
  place-items: center;
  position: absolute;
  left: var(--mta-seal-x, var(--mta-orb-x));
  top: var(--mta-seal-y, var(--mta-orb-y));
  height: min(var(--mta-orb-size), 68%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: var(--mta-seal);
  isolation: isolate;
}

.mta-brand-orb::before,
.mta-brand-orb::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mta-brand-orb::before {
  z-index: -1;
  inset: -20%;
  background: radial-gradient(circle closest-side, #a12d2e 0%, #992b2d 31%,
    rgb(142 39 42 / .95) 47%, rgb(128 36 40 / .69) 61%,
    rgb(115 32 36 / .32) 74%, rgb(110 31 35 / .08) 87%, rgb(110 31 35 / 0) 98%);
}

.mta-brand-orb::after {
  z-index: -2;
  width: 190%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242,239,234,.29) 22%, rgba(242,239,234,.09) 37%, transparent 46% 54%, rgba(242,239,234,.09) 63%, rgba(242,239,234,.29) 78%, transparent);
}

.mta-brand-orb img {
  display: block;
  width: 46%;
  height: auto;
}

.mta-brand-orb::before, .mta-brand-orb img {
  transform: translate(var(--mta-shift-x, 0px), var(--mta-shift-y, 0px));
}

@media (max-width: 760px) {
  .mta-opening { --mta-travel: clamp(310px, 77svh, 680px); }
  .mta-hero {
    --mta-panel: auto;
    --mta-orb-x: 50%;
    --mta-orb-y: 50%;
    --mta-orb-size: min(75vw, 52svh);
  }
  .mta-hero-stage { align-items: start; }
  .mta-hero-layout { padding-block: clamp(26px, 4.9svh, 48px) clamp(26px, 4.2svh, 42px); }
  .mta-hero-copy { padding-block: 0; }
  .hero-portrait { width: clamp(3.6rem, 14.8vw, 4.3rem); }
  .mta-hero .hero-people { column-gap: 1rem; }
  .mta-hero .intro-h1 { font-size: clamp(1.65rem, 8.72vw, 3.8rem); }
}

@media (max-width: 34rem) {
  .mta-hero .hero-people { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 24rem); }
  .mta-hero .hero-people a { flex-direction: column; gap: .32rem; text-align: center; }
}

@media (max-width: 29rem) {
  .hero-more li:first-child { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce), (max-height: 520px) {
  .mta-opening[data-motion="scroll"]::after { display: none; }
  .mta-opening[data-motion="scroll"] .mta-opening-frame { position: relative; top: 0; }
}

@media print {
  .mta-opening[data-motion] .mta-opening-frame { position: static; }
  .mta-opening::after, .mta-hero-art { display: none !important; }
  .mta-hero, .mta-hero-stage { color: black; background: white; min-height: 0; position: static !important; }
  .mta-hero-copy { opacity: 1; }
}
