/* A brief brand opening, followed by the photographic SolMate-style introduction. */
.header {
  position: relative; height: 96px; background: var(--jacket-blue); border-bottom-color: #8e9fc22b;
}
.menu-open .header { background: #102650; }
.hero, .cinematic-browsing .hero {
  display: flex; flex-direction: column; justify-content: space-between;
  height: calc(100svh - 96px); min-height: 760px; max-height: 1100px;
  padding: 34px var(--pad) 24px; gap: 28px; clip-path: none;
}
.hero .hero-frame { display: none; }
.hero .hero-topline { flex-shrink: 0; font-size: .625rem; line-height: 1.6; }
.hero .hero-content { height: auto; flex: 1; padding: 22px 0 32px; justify-content: center; }
.hero .hero-content > .eyebrow { margin-bottom: 22px; font-size: .75rem; }
.hero h1 { font-size: clamp(64px, 7.2vw, 112px); line-height: 1.02; max-width: 1120px; }
.hero h1:focus { outline: none; }
.hero .hero-intro { flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 28px; }
.hero .hero-intro p { max-width: 50ch; font-size: 1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px; }
.hero-actions .action-button { min-width: 222px; min-height: 56px; padding-inline: 24px; }
.hero-actions .film-button {
  min-height: 56px; padding: 15px 22px; gap: 12px; border: 1px solid #eef1f670;
  border-radius: 4px; background: #18396f7d; color: #f7f4e8;
  font-size: .875rem; font-weight: 600; backdrop-filter: blur(6px);
}
.hero-actions .film-button:hover { background: #2c5398db; border-color: #c0cadd; }
.hero-actions .film-button .play-icon {
  width: 22px; height: 22px; padding: 3px; border-radius: 0; background: transparent; color: var(--scene-gold);
}
.hero-actions .film-button .play-icon svg { width: 16px; height: 16px; }
.hero-actions .film-button small { display: block; font-size: .6875rem; color: #d0d7e6; }
.hero .hero-bottom {
  position: relative; inset: auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px; padding-top: 21px; flex-shrink: 0;
  border-color: #cdd4e43d;
}
.hero-contact { order: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; }
.hero-contact .contact-monogram {
  display: grid; place-items: center; width: 45px; height: 45px; flex-shrink: 0;
  border: 1px solid #cdd4e44a; color: var(--scene-gold); font-size: .8125rem;
}
.hero-contact strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.hero-contact small { display: block; color: #cbd3e3; font-size: .75rem; line-height: 1.6; }
.hero-contact > svg { width: 18px; height: 18px; margin-left: 12px; color: var(--scene-gold); }
.hero-contact:hover .contact-monogram { background: #365eaa; border-color: #c0cadd; }
.hero .hero-photo-nav { order: 1; }
.hero .scroll-cue { order: 2; font-size: .625rem; }
.hero .hero-controls { order: 3; flex-direction: row; align-items: center; }
.hero .hero-controls .motion-button { width: 38px; height: 38px; background: #1c3c789c; border-color: #8ea0c270; }
.hero .hero-coordinate { letter-spacing: .1em; }
.hero .hero-slide.is-active { animation: helios-photo-drift 14s linear both; }
@keyframes helios-photo-drift {
  from { transform: scale(1.025); }
  to { transform: scale(1.11); }
}

#brand-intro {
  display: none; position: fixed; inset: 0; margin: 0; width: 100%; max-width: none;
  height: 100%; height: 100svh; max-height: none; padding: 0; border: 0; border-radius: 0;
  overflow: hidden; color: #f7f4e8;
  background: radial-gradient(ellipse at 50% 54%, #3c62ab, #214189 54%, #0c1f47);
}
#brand-intro[open] { display: grid; place-items: center; }
#brand-intro::backdrop { background: transparent; }
.brand-intro-center { position: relative; width: min(70vw, 580px); text-align: center; }
.brand-intro-mark { position: relative; display: block; }
.brand-intro-logo { display: block; height: auto; width: 100%; }
.brand-intro-rays { display: none; pointer-events: none; }
.brand-intro-line {
  margin: clamp(22px, 3.4svh, 36px) 0 0; color: #e8edf6;
  font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; letter-spacing: .012em;
}
.brand-intro-skip {
  position: absolute; z-index: 1; top: max(18px, env(safe-area-inset-top));
  right: max(var(--pad), env(safe-area-inset-right)); min-height: 44px;
  display: inline-flex; gap: 10px; align-items: center; padding: 8px 2px;
  background: transparent; border: 0; color: #ebeff8;
  font: 500 .875rem/1.35 var(--sans); cursor: pointer;
}
.brand-intro-skip svg { width: 15px; height: 15px; }
.brand-intro-skip:hover { color: #ffe389; }
.brand-intro-skip:focus-visible { outline: 2px solid #ffe389; outline-offset: 4px; border-radius: 2px; }
.brand-intro-footer {
  position: absolute; inset: auto 0 max(30px, env(safe-area-inset-bottom)); text-align: center;
  padding-inline: var(--pad);
}
.brand-intro-footer p { margin: 0; font-size: .75rem; line-height: 1.6; letter-spacing: .12em; color: #d4dff1; }
#brand-intro.is-ending { animation: helios-brand-out var(--opening-fade, 450ms) ease both; }
@keyframes helios-brand-out { to { opacity: 0; } }

/* Each clip isolates one existing panel of the master artwork. The final frame is the master itself. */
@media (prefers-reduced-motion: no-preference) {
  @supports (clip-path: polygon(0 0, 100% 0, 0 100%)) {
    #brand-intro[open]:not(.is-still) .brand-intro-rays {
      display: block; position: absolute; left: 0; top: 6.4516%; width: 26.3415%; height: 87.0968%;
      animation: helios-emblem-settle 2.7s both;
    }
    .brand-intro-rays > span {
      position: absolute; inset: 0;
      background: url("assets/brand/helios-master-light.svg") left center / 379.62963% auto no-repeat;
      animation: helios-panel-in 1s cubic-bezier(.2,.66,.2,1) var(--delay) both;
    }
    #brand-intro[open]:not(.is-still) .brand-intro-logo {
      animation: helios-wordmark-in 2.7s both;
    }
    #brand-intro[open]:not(.is-still) .brand-intro-line {
      animation: helios-caption-in .65s cubic-bezier(.22,.64,.25,1) 2.12s both;
    }
  }
}
@keyframes helios-panel-in {
  from { opacity: 0; transform: translate(var(--start-x), var(--start-y)) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes helios-emblem-settle {
  0%, 49% { transform: translateX(139.815%); animation-timing-function: cubic-bezier(.5,0,.15,1); }
  84%, 99.99% { transform: none; visibility: visible; }
  100% { transform: none; visibility: hidden; }
}
@keyframes helios-wordmark-in {
  0%, 75% { clip-path: inset(0 72% 0 28%); animation-timing-function: cubic-bezier(.36,.03,.18,1); }
  97%, 99.99% { clip-path: inset(0 0 0 28%); }
  100% { clip-path: inset(0); }
}
@keyframes helios-caption-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
.brand-intro-rays > :nth-child(1) {
  --start-x: 0%; --start-y: -30%; --delay: 100ms;
  clip-path: polygon(58.06% 44.87%, 41.12% 27.90%, 41.12% -0.02%, 41.26% -0.16%, 42.42% -0.16%, 58.88% 16.33%, 58.88% 44.57%, 58.58% 44.87%);
}
.brand-intro-rays > :nth-child(2) {
  --start-x: 21%; --start-y: -21%; --delay: 520ms;
  clip-path: polygon(80.00% 32.71%, 60.34% 52.40%, 59.66% 52.40%, 59.52% 52.26%, 59.52% 27.70%, 78.86% 8.33%, 79.86% 8.33%, 80.00% 8.47%);
}
.brand-intro-rays > :nth-child(3) {
  --start-x: 30%; --start-y: 0%; --delay: 300ms;
  clip-path: polygon(100.16% 42.33%, 83.70% 58.81%, 55.50% 58.81%, 55.20% 58.51%, 55.20% 57.99%, 71.98% 41.19%, 100.02% 41.19%, 100.16% 41.33%);
}
.brand-intro-rays > :nth-child(4) {
  --start-x: 21%; --start-y: 21%; --delay: 630ms;
  clip-path: polygon(67.34% 80.13%, 47.68% 60.44%, 47.68% 59.76%, 47.98% 59.46%, 72.18% 59.46%, 91.68% 78.99%, 91.68% 79.83%, 91.38% 80.13%);
}
.brand-intro-rays > :nth-child(5) {
  --start-x: 0%; --start-y: 30%; --delay: 170ms;
  clip-path: polygon(41.94% 55.13%, 58.88% 72.10%, 58.88% 100.02%, 58.74% 100.16%, 57.58% 100.16%, 41.12% 83.67%, 41.12% 55.59%, 41.58% 55.13%);
}
.brand-intro-rays > :nth-child(6) {
  --start-x: -21%; --start-y: 21%; --delay: 570ms;
  clip-path: polygon(20.16% 67.29%, 39.66% 47.76%, 40.34% 47.76%, 40.64% 48.06%, 40.64% 72.30%, 21.30% 91.67%, 20.46% 91.67%, 20.16% 91.37%);
}
.brand-intro-rays > :nth-child(7) {
  --start-x: -30%; --start-y: 0%; --delay: 380ms;
  clip-path: polygon(44.96% 42.01%, 28.18% 58.81%, -0.02% 58.81%, -0.16% 58.67%, -0.16% 57.67%, 16.30% 41.19%, 44.66% 41.19%, 44.96% 41.49%);
}
.brand-intro-rays > :nth-child(8) {
  --start-x: -21%; --start-y: -21%; --delay: 700ms;
  clip-path: polygon(32.98% 20.19%, 52.48% 39.72%, 52.48% 40.24%, 52.18% 40.54%, 27.82% 40.54%, 8.48% 21.17%, 8.48% 20.65%, 8.94% 20.19%);
}
.brand-intro-replay {
  display: inline-flex; align-items: center; min-height: 44px; background: transparent;
  color: #d2d9e7; padding: 8px 0; font-size: inherit; border-bottom: 1px solid #9eadcb4d;
}
.brand-intro-replay:hover { color: var(--scene-gold); border-color: var(--scene-gold); }
body.intro-playing { overflow: hidden; }
body.intro-playing .hero .title-motion .motion-word,
body.intro-playing .hero .copy-motion,
body.intro-playing .hero .motion-surface { animation: none; opacity: 0; }
body.intro-playing .hero .hero-slide { animation-play-state: paused; }

/* Reveal the actual sections and photographs; layout and image proportions stay stable. */
.motion-enhanced .motion-surface {
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity .8s ease var(--surface-delay, 0ms),
              transform .95s cubic-bezier(.16,1,.3,1) var(--surface-delay, 0ms);
}
.motion-enhanced .motion-surface.is-entered,
.motion-enhanced .motion-surface:focus-within {
  opacity: 1; transform: none;
}
.motion-enhanced .story-image.motion-surface {
  clip-path: inset(5% 0 0); transition-property: opacity, transform, clip-path;
  transition-duration: .8s, 1s, 1.1s; transition-timing-function: ease, cubic-bezier(.16,1,.3,1), cubic-bezier(.16,1,.3,1);
}
.motion-enhanced .story-image.motion-surface:is(.is-entered, :focus-within) { clip-path: inset(0); }
.motion-enhanced .section-index { position: relative; }
.motion-enhanced .section-index::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 66px; height: 2px;
  background: var(--scene-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.16,1,.3,1) .2s;
}
.motion-enhanced .section-index.is-entered::after { transform: scaleX(1); }
.gold-button, .header .nav-cta { transition: transform .25s, box-shadow .25s, background .25s; }
.gold-button:hover, .header .nav-cta:hover { transform: translateY(-2px); }
@keyframes helios-surface-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body[data-motion="paused"] .hero .hero-slide { animation: none; }
body[data-motion="paused"] .motion-surface { opacity: 1; transform: none; clip-path: none; transition: none; }
body[data-motion="paused"] .section-index::after { transform: scaleX(1); transition: none; }
body[data-motion="paused"] .gold-button:hover, body[data-motion="paused"] .header .nav-cta:hover { transform: none; }
@media (max-width: 1100px) {
  .hero .hero-coordinate, .hero .hero-photo-nav > span { display: none; }
  .hero .hero-bottom { gap: 18px; }
  .hero .scroll-cue { margin-left: auto; }
}
@media (max-width: 760px) {
  .header { height: 84px; }
  .hero, .cinematic-browsing .hero {
    height: auto; min-height: calc(100svh - 84px); max-height: none;
    padding: 26px var(--pad) 24px; gap: 26px;
  }
  .hero .hero-topline { font-size: .5625rem; letter-spacing: .1em; }
  .hero .hero-content { padding: 18px 0 12px; }
  .hero .hero-content > .eyebrow { font-size: .625rem; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(46px, 9.1vw, 70px); max-width: 100%; line-height: 1.06; letter-spacing: -.055em; }
  .hero .hero-intro { margin-top: 25px; gap: 24px; }
  .hero .hero-intro p { font-size: 1rem; line-height: 1.8; }
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .action-button, .hero-actions .film-button { width: 100%; justify-content: space-between; min-height: 52px; }
  .hero .hero-actions .action-button { width: 100%; min-width: 0; }
  .hero-actions .film-button { justify-content: flex-start; }
  .hero-actions .film-button small { margin-left: auto; }
  .hero .hero-bottom { display: grid; grid-template-columns: 1fr auto; row-gap: 20px; padding-top: 20px; }
  .hero-contact { grid-row: 1; grid-column: 1 / -1; }
  .hero .hero-photo-nav { grid-row: 2; grid-column: 1; }
  .hero .hero-controls { grid-row: 2; grid-column: 2; }
  .hero .scroll-cue { display: none; }
  .hero-contact strong { font-size: .8125rem; }
  .hero-contact small { font-size: .6875rem; }
  .hero-contact > svg { margin-left: auto; margin-right: 8px; }
  .brand-intro-center { width: min(82vw, 460px); }
  .brand-intro-line { font-size: 1rem; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #brand-intro *, #brand-intro::before, .hero .hero-slide { animation: none !important; }
  .motion-enhanced .motion-surface { opacity: 1; transform: none; clip-path: none; transition: none; }
  .motion-enhanced .section-index::after { transform: scaleX(1); transition: none; }
  .gold-button, .header .nav-cta { transition: none; }
  .gold-button:hover, .header .nav-cta:hover { transform: none; }
}
