/* The dawn photograph is the same one used inside the app. */
.morning-hero {
  --rise: 0;
  --midnight: #111e3b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--midnight);
}
.morning-hero__atmosphere,
.morning-hero__sky,
.morning-hero__wash { position: absolute; inset: 0; pointer-events: none; }
.morning-hero__atmosphere { z-index: -1; overflow: hidden; }
.morning-hero__sky {
  inset: -9% -2%;
  background: #5271a0 url('/assets/img/club-dawn.webp') 50% 76% / cover no-repeat;
  transform: translateY(calc(var(--rise) * 5%)) scale(1.01);
}
.morning-hero__wash {
  background: linear-gradient(90deg,rgba(11,23,48,.94) 0%,rgba(16,31,59,.89) 24%,rgba(23,37,67,.69) 46%,rgba(29,42,77,.23) 72%,rgba(37,50,85,.07) 100%),
    linear-gradient(180deg,rgba(22,45,83,.3),transparent 66%,rgba(67,40,47,.14));
  opacity: calc(1 - var(--rise) * .1);
}
/* A fine horizon traces a sunrise behind the product as the page moves. */
.morning-hero__orbit {
  position: absolute; width: 76%; height: 104%; left: 58%; top: 7%;
  border: 1px solid rgba(255,244,217,.32);
  border-radius: 50%;
  transform: translate3d(0,calc(var(--rise) * -9%),0) rotate(-26deg);
}
.morning-hero__sun {
  position: absolute; top: 37%; right: 6.5%; width: clamp(17px,2vw,28px); aspect-ratio: 1;
  border-radius: 50%; background: #fff5d7;
  box-shadow: 0 0 30px 4px rgba(255,220,176,.45), 0 0 84px 16px rgba(255,215,148,.15);
  transform: translate3d(calc(var(--rise) * 44px),calc(var(--rise) * -72px),0);
}
.morning-hero__inner {
  min-height: clamp(620px, calc(93svh - var(--header-height,72px)), 840px);
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(18px,3vw,56px); position: relative;
}
.morning-hero__copy { padding-block: clamp(58px,8vw,120px); position: relative; z-index: 1; }
.morning-hero .morning-hero__identity {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(22px,2.8vw,40px); color: #fff4de; font-size: 14px; font-weight: 640;
  letter-spacing: .015em;
}
.morning-hero__identity span { color: #ffcb90; font-weight: 400; }
.morning-hero h1#home-title {
  font-size: clamp(58px,6.4vw,96px); line-height: 1.075; letter-spacing: -.082em;
  font-weight: 680; color: #fff; margin: 0; word-break: keep-all;
}
.morning-hero h1 span { display: block; }
.morning-hero h1 span + span { color: #ffe2bb; }
.morning-hero .morning-hero__lead {
  margin: clamp(24px,2.5vw,35px) 0 0; max-width: 31em;
  color: #f6f5f4; font-size: clamp(16px,1.45vw,21px); line-height: 1.62; font-weight: 410;
  word-break: keep-all; letter-spacing: -.032em;
}
.morning-hero .morning-hero__action {
  display: inline-flex; align-items: center; gap: 22px;
  margin-top: clamp(24px,2.7vw,38px); padding: 14px 22px; min-height: 48px;
  border-radius: 99px; background: #fffaf2; color: #17233a;
  font-size: 15px; font-weight: 680; line-height: 1.3; text-decoration: none;
  transition: color .22s, background-color .22s;
}
.morning-hero__action span { transition: transform .22s ease-out; }
.morning-hero__action:hover { color: #17233a; background: #ffe4be; }
.morning-hero__action:hover span { transform: translateY(2px); }
.morning-hero__action:focus-visible { outline: 3px solid #ffe095; outline-offset: 5px; }
.morning-hero__stage {
  align-self: end; justify-self: center;
  width: clamp(258px,24vw,355px); margin-top: 58px; margin-bottom: -7%;
  perspective: 1100px; transform: translateY(calc(var(--rise) * 6%));
}
.morning-hero__handset {
  padding: clamp(5px,.47vw,7px);
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(132deg,#e1dece 0%,#5b5e65 17%,#222631 42%,#b6a88b 74%,#555a65 90%);
  box-shadow: 0 0 0 1px #323946, 1px 1px 0 1px rgba(255,255,255,.7) inset, -2px 0 2px #242831 inset,
    -6px 12px 19px -8px rgba(4,11,22,.48), -19px 38px 54px -18px rgba(8,16,33,.45);
  transform: rotateY(-9deg) rotateZ(3deg);
}
.morning-hero__screen {
  display: block; width: 100%; height: auto; aspect-ratio: 744/1618;
  border: 3px solid #0e1118; border-radius: 14.5% / 6.75%;
}
@media (min-width: 1700px) {
  .morning-hero__stage { align-self: center; margin: 40px 0 -30px; }
}
@media (max-width: 950px) and (min-width: 701px) {
  .morning-hero__inner { grid-template-columns: 1.12fr .88fr; }
  .morning-hero h1#home-title { font-size: clamp(44px,6.3vw,62px); }
  .morning-hero__stage { width: clamp(215px,26vw,265px); }
  .morning-hero__inner { min-height: 560px; }
}
@media (max-width: 700px) {
  .morning-hero__inner {
    grid-template-columns: 1fr; gap: 0; justify-items: start;
    min-height: 0;
  }
  .morning-hero__copy { padding: 35px 0 0; width: 100%; }
  .morning-hero .morning-hero__identity { margin: 0 0 16px; font-size: 12px; gap: 8px; }
  .morning-hero h1#home-title { font-size: clamp(40px,10.9vw,63px); line-height: 1.055; letter-spacing: -.076em; }
  .morning-hero .morning-hero__lead { margin-top: 16px; font-size: clamp(14px,3.65vw,17px); max-width: 32em; }
  .morning-hero .morning-hero__action { min-height: 40px; padding: 11px 17px; gap: 16px; font-size: 14px; margin-top: 18px; }
  .morning-hero__stage {
    justify-self: center; width: clamp(192px,60vw,292px);
    margin: 32px 0 clamp(-170px,-26vw,-79px); transform: translate3d(0,calc(var(--rise) * 2.8%),0);
  }
  .morning-hero__handset { transform: rotateY(-7deg) rotateZ(3deg); }
  .morning-hero__wash {
    background: linear-gradient(180deg,rgba(11,29,57,.9) 0%,rgba(18,36,68,.79) 35%,rgba(21,38,70,.22) 71%,rgba(49,51,71,.13));
  }
  .morning-hero__sky { background-position: 52% 70%; }
  .morning-hero__sun { top: auto; bottom: 32%; right: 12%; }
  .morning-hero__orbit { left: 9%; top: 44%; width: 120%; height: 58%; }
}
@media (max-width: 359px) {
  .morning-hero__copy { padding-top: 27px; }
  .morning-hero .morning-hero__lead { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .morning-hero__copy { animation: morning-arrival .7s cubic-bezier(.16,.74,.22,1) both; }
  .morning-hero__handset { animation: morning-device-arrival .9s cubic-bezier(.16,.74,.22,1) both; }
  @keyframes morning-arrival { from { opacity: .4; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
  @keyframes morning-device-arrival { from { opacity: .78; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .morning-hero { --rise: 0 !important; }
  .morning-hero__action span { transition: none; }
}
