/* ── S7 Layout ── */
#s7 { justify-content: center; }

.s7-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 960px; margin: 0 auto;
}

/* Vertical line */
.s7-line {
  width: 1px; height: 64px;
  background: rgba(245, 240, 232, 0.2);
  margin-bottom: var(--sp-5);
}

/* Eyebrow */
.s7-eyebrow {
  font-family: var(--font-body);
  font-size: 15px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--s-accent); margin-bottom: var(--sp-3);
}

/* Main declaration */
.s7-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 300; line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--s-text);
  margin-bottom: var(--sp-8);
  text-align: center;
  white-space: nowrap;
}

/* Fade-in lines */
.s7-fade-line {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  margin-bottom: 18px;
}

.s7-fade-line.s7-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTAs */
.s7-cta-row {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 14px;
}

/* nav-cta 기준 S7 확대 + blur 제거 + 입체감 강화 */
.s7-cta-primary {
  font-size: 15px;
  padding: 18px 52px;
  border: none;
  box-shadow:
    0 7px 0 #7a5010,
    0 8px 0 rgba(0, 0, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.s7-cta-primary:hover {
  box-shadow:
    0 14px 0 #7a5010,
    0 16px 0 rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.28);
  transform: translateY(-7px);
}

.s7-cta-primary:active {
  box-shadow:
    0 2px 0 #7a5010,
    0 3px 0 rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(5px);
}

.s7-invite {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--s-dim);
  margin-top: 0;
  margin-bottom: var(--sp-8);
  animation: s7InviteBlink 12s linear 1 forwards;
}

/* 5번 깜빡 → 3s 정지 → 5번 깜빡 (총 12s) */
@keyframes s7InviteBlink {
  /* Phase 1: 5번 깜빡 (0~4.5s = 0~37.5%) */
  0%     { opacity: 1; }
  3.75%  { opacity: 0; }
  7.5%   { opacity: 1; }
  11.25% { opacity: 0; }
  15%    { opacity: 1; }
  18.75% { opacity: 0; }
  22.5%  { opacity: 1; }
  26.25% { opacity: 0; }
  30%    { opacity: 1; }
  33.75% { opacity: 0; }
  37.5%  { opacity: 1; }
  /* Phase 2: 3s 정지 (4.5~7.5s = 37.5~62.5%) */
  62.5%  { opacity: 1; }
  /* Phase 3: 5번 깜빡 (7.5~12s = 62.5~100%) */
  66.25% { opacity: 0; }
  70%    { opacity: 1; }
  73.75% { opacity: 0; }
  77.5%  { opacity: 1; }
  81.25% { opacity: 0; }
  85%    { opacity: 1; }
  88.75% { opacity: 0; }
  92.5%  { opacity: 1; }
  96.25% { opacity: 0; }
  100%   { opacity: 1; }
}

/* Footer */
.s7-footer {
  border-top: 1px solid var(--s-divider);
  padding-top: var(--sp-4);
  width: 100%;
}

.s7-brand {
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35); margin-bottom: 6px;
}

.s7-copy {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.25);
}
