/* Seamless Editorial Subscription Page — Zero Boxy Cards (/subscribe.html) */
.sub-page {
  background: #FFFFFF;
  min-height: 100vh;
  padding: clamp(96px, 11.5vh, 128px) 0 clamp(92px, 11vh, 132px);
}

.sub-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Open Page Header */
.sub-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.sub-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.044em;
  color: #11161E;
  word-break: keep-all;
}

.sub-lead {
  margin: 12px auto 0;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  font-weight: 420;
  line-height: 1.65;
  letter-spacing: -0.024em;
  color: #6B7684;
  word-break: keep-all;
}

/* Seamless 5-Hero Group Portrait Directly on White Canvas (Calibrated Identical Head Sizes & Eye Levels) */
.ensemble-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: clamp(270px, 34vw, 390px);
  margin: clamp(16px, 2.6vw, 30px) auto 0;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ensemble-backdrop-glow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 78%;
  height: 76%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at 50% 56%,
    rgba(222, 231, 244, 0.56) 0%,
    rgba(236, 241, 248, 0.22) 48%,
    rgba(255, 255, 255, 0) 76%
  );
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
}

.ensemble-hero {
  position: absolute;
  width: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  transform-origin: bottom center;
  opacity: 0;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Anchored from top so all 5 eyes sit along y≈35% with 18%+ headroom and matched human head sizes */
.eh-park {
  left: 17%;
  top: 17%;
  height: 58%;
  z-index: 2;
  --eh-x: -50%;
  filter: saturate(0.86) contrast(1.03) brightness(0.97);
  animation-delay: 0.2s;
}

.eh-yi {
  left: 33.5%;
  top: 13%;
  height: 82%;
  z-index: 4;
  --eh-x: -50%;
  filter: saturate(0.9) contrast(1.04) brightness(0.97) drop-shadow(0 12px 20px rgba(15, 23, 42, 0.14));
  animation-delay: 0.08s;
}

.eh-ahn {
  left: 50%;
  top: 16%;
  height: 78%;
  z-index: 6;
  --eh-x: -50%;
  filter: saturate(0.88) contrast(1.05) brightness(0.98) drop-shadow(0 14px 24px rgba(15, 23, 42, 0.18));
  animation-delay: 0s;
}

.eh-paik {
  left: 67.5%;
  top: 5%;
  height: 92%;
  z-index: 4;
  --eh-x: -36%;
  filter: saturate(0.88) contrast(1.04) brightness(0.97) drop-shadow(0 12px 20px rgba(15, 23, 42, 0.14));
  animation-delay: 0.1s;
}

.eh-chung {
  left: 83%;
  top: 18%;
  height: 64%;
  z-index: 2;
  --eh-x: -50%;
  filter: saturate(0.84) contrast(1.04) brightness(0.96);
  animation-delay: 0.22s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(var(--eh-x, -50%), 20px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--eh-x, -50%), 0, 0) scale(1);
  }
}

/* Pure White Bottom Mist Merging Cutouts Seamlessly into Form Below */
.ensemble-floor-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #FFFFFF 0%,
    #FFFFFF 18%,
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 255, 255, 0.45) 72%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Borderless Minimalist Editorial Input Form Flowing Directly Below Heroes */
.sub-form-shell {
  position: relative;
  z-index: 8;
  max-width: 560px;
  margin: -6px auto 0;
}

.sub-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Quiet Segmented Pill Switch */
.sf-plans {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 4px;
  padding: 4px;
  border-radius: 12px;
  background: #F3F5F8;
}

.sf-plan-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6B7684;
  border-radius: 9px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 520;
  letter-spacing: -0.025em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sf-plan-btn:hover {
  color: #191F28;
}

.sf-plan-btn.is-active {
  background: #FFFFFF;
  color: #11161E;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sf-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.sf-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-label {
  font-size: 12px;
  font-weight: 560;
  letter-spacing: -0.015em;
  color: #8B95A1;
  transition: color 0.2s ease;
}

.sf-field:focus-within .sf-label {
  color: #11161E;
}

.sf-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #DFE5ED;
  border-radius: 0;
  background: transparent;
  padding: 10px 2px 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 460;
  letter-spacing: -0.02em;
  color: #11161E;
  outline: none;
  transition: border-color 0.24s ease;
}

.sf-input::placeholder {
  color: #B4BDC9;
  font-weight: 400;
}

.sf-input:focus {
  border-bottom-color: #11161E;
}

/* Sleek Galaxy-Sheen Submit CTA */
.sf-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 8px;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: #141A24;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 560;
  letter-spacing: -0.025em;
  cursor: pointer;
  box-shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.52);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.sf-submit::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(48% 58% at 24% 34%, rgba(125, 178, 255, 0.34), transparent 70%),
    radial-gradient(44% 54% at 78% 72%, rgba(167, 152, 255, 0.26), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.sf-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -16px rgba(37, 99, 235, 0.36);
}

.sf-account {
  margin-top: 28px;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: -0.015em;
  color: #8B95A1;
  text-align: center;
}

.sf-account strong {
  color: #333D4B;
  font-weight: 580;
}

/* Done Receipt State */
.sf-done[hidden] {
  display: none;
}

.sf-done {
  text-align: center;
  padding: 20px 0 8px;
}

.sf-done-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.032em;
  color: #11161E;
}

.sf-done-desc {
  margin: 10px auto 0;
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.72;
  color: #6B7684;
  word-break: keep-all;
}

.sf-done-box {
  margin: 24px auto 0;
  padding: 18px 0;
  border-top: 1px solid #E9EEF4;
  border-bottom: 1px solid #E9EEF4;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
  color: #333D4B;
}

.sf-reset {
  margin-top: 22px;
  appearance: none;
  border: 0;
  border-bottom: 1px solid #B0BAC6;
  background: transparent;
  color: #4E5968;
  padding: 4px 2px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 520;
  cursor: pointer;
}

.sf-reset:hover {
  border-bottom-color: #11161E;
  color: #11161E;
}

@media (max-width: 720px) {
  .sub-page { padding: 78px 0 76px; }
  .ensemble-stage { height: clamp(220px, 56vw, 270px); margin-top: 14px; }
  .eh-park { left: 12%; top: 20%; height: 52%; }
  .eh-yi { left: 30%; top: 15%; height: 76%; }
  .eh-ahn { left: 50%; top: 18%; height: 74%; }
  .eh-paik { left: 70%; top: 7%; height: 86%; }
  .eh-chung { left: 88%; top: 20%; height: 58%; }
  .sf-plans { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-plan-btn { padding: 9px 6px; font-size: 12.5px; }
  .sf-row { grid-template-columns: 1fr; gap: 24px; }
}
