/* Layout: container, header, progress, sections */
.container { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 56px 24px 96px; }

/* ─── Header — editorial fashion-cover hero ─────────────────── */
.header {
  text-align: center; margin-bottom: 36px; padding: 48px 0 56px;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
  position: relative;
}

/* The header content sits above the background silhouette layer */
.header > * { position: relative; z-index: 1; }

/* Eyebrow row: thin gold rule | tagline | thin gold rule */
.header__eyebrow {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 26px;
}
.header__rule {
  width: 38px; height: 1px; background: var(--gold); opacity: 0.7;
}
.header__tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 3.4px;
  text-transform: uppercase; color: var(--gold);
  font-family: var(--font-body);
}

/* The big title — display serif, dramatic */
.header__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 9vw, 84px); line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 22px;
}
.header__title em {
  position: relative; display: inline-block;
  font-style: italic; color: var(--gold);
  font-weight: 400; padding: 0 4px 0 6px;
}
/* Gold rule sweeps in beneath the italic "Stylist" word on page load */
.header__title em::after {
  content: ''; position: absolute;
  left: 6px; right: 4px; bottom: 0.08em;
  height: 2px; background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0); opacity: 0.65;
  animation: titleUnderline 1.2s 0.9s cubic-bezier(0.65,0,0.35,1) forwards;
}
@keyframes titleUnderline { to { transform: scaleX(1); } }

/* Subhead — readable serif italic, distinctly separate from headline */
.header__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--text); font-weight: 400;
  letter-spacing: 0.1px; max-width: 540px; margin: 0 auto;
  line-height: 1.55;
}

/* Ornamental divider beneath the subhead — luxury-brand signature */
.header__ornament {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 32px;
  animation: ornamentReveal 1.4s 1.4s ease-out both;
}
.header__ornament-line {
  width: 56px; height: 1px; background: var(--gold); opacity: 0.55;
}
.header__ornament-mark {
  font-size: 13px; color: var(--gold); letter-spacing: 0;
  transform: translateY(-1px);
}
@keyframes ornamentReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Marquee strip ────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  margin-bottom: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  position: relative; z-index: 1;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 60s linear infinite;
  /* Pause on hover so users can read what's passing */
  transition: opacity 0.3s;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--text-dimmer);
  letter-spacing: 0.5px; font-weight: 400;
}
.marquee__dot {
  color: var(--gold); font-size: 9px;
  transform: translateY(-2px);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .header__title em::after { animation: none; }
  .header__title em::after { transform: scaleX(1); }
}

/* Profile button — bigger, bolder, deliberately visible */
.header__profile-btn {
  position: absolute; top: 4px; right: 0;
  background: var(--text); color: var(--bg-card);
  border: 1px solid var(--text);
  padding: 12px 22px; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
}
.header__profile-btn-icon { font-size: 14px; line-height: 1; }
.header__profile-btn:hover {
  background: var(--gold); color: var(--bg-card); border-color: var(--gold);
  box-shadow: var(--shadow-lg); transform: translateY(-1px);
}
.header__profile-btn.hidden { display: none; }
.header__profile-btn.spotlight {
  animation: spotlightPulse 1.4s ease-in-out infinite;
  background: var(--gold-bg);
  border-color: var(--gold);
}
@keyframes spotlightPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,94,31,0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(138,94,31,0); }
}

.profile-callout {
  position: absolute; top: 48px; right: 0;
  max-width: 260px; padding: 14px 16px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 13px; line-height: 1.5; color: var(--text);
  box-shadow: var(--shadow-xl);
  z-index: 50; text-align: left;
  animation: fadeUp 0.35s ease-out;
}
.profile-callout::before {
  content: ''; position: absolute; top: -7px; right: 26px;
  width: 12px; height: 12px; background: var(--bg-elevated);
  border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
}
.profile-callout__title {
  font-weight: 700; color: var(--gold); margin-bottom: 4px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.profile-callout__close {
  display: inline-block; margin-top: 12px; padding: 6px 14px;
  background: var(--text); color: var(--bg-card); border: none; border-radius: 50px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.4px; cursor: pointer;
  transition: background 0.2s;
}
.profile-callout__close:hover { background: var(--text-strong); }

/* ─── Progress ────────────────────────────────────────────────── */
.progress {
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
  margin-bottom: 56px;
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) both;
}
.progress__step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 72px; }
.progress__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.4s ease;
}
.progress__dot.active {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(138,94,31,0.16);
}
.progress__dot.done { background: var(--gold-dark); }
.progress__label {
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-faint); font-weight: 700;
  transition: color 0.3s;
}
.progress__step.active .progress__label { color: var(--gold); }
.progress__step.done .progress__label { color: var(--gold-dark); }
.progress__line { width: 40px; height: 1px; background: var(--border-strong); margin-top: 5px; }

/* ─── Sections ────────────────────────────────────────────────── */
.section { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.section__title {
  font-family: var(--font-display); font-size: 34px; font-weight: 500;
  text-align: center; margin-bottom: 10px; color: var(--text-strong);
  letter-spacing: -0.015em; line-height: 1.15;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
/* Gold flourishes on either side of every section title — luxury-brand signature */
.section__title::before, .section__title::after {
  content: ''; flex: 0 0 32px; height: 1px;
  background: var(--gold); opacity: 0.5;
}
.section__sub {
  text-align: center; font-size: 16px; color: var(--text-dim);
  margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto;
  font-family: var(--font-body); line-height: 1.6;
}

/* Form-style sections — give them a card container for clean separation */
.section--form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.footer {
  text-align: center; margin-top: 80px; padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-faint); letter-spacing: 0.3px;
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ─── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 24px 16px 64px; }
  .header { margin-bottom: 36px; }
  .header__profile-btn {
    position: static; display: inline-flex; margin: 16px auto 0;
  }
  .profile-callout {
    position: fixed; top: 16px; left: 16px; right: 16px; max-width: none;
  }
  .profile-callout::before { display: none; }

  .section__title { font-size: 26px; }
  .section__sub   { font-size: 15px; }
  .section--form  { padding: 24px 18px; }
  .progress { margin-bottom: 36px; }
}

@media (max-width: 400px) {
  .progress__label { display: none; }
  .progress__step  { min-width: 44px; }
  .progress__line  { width: 22px; }
}
