/* Hermes Edition — supplemental styles */

/* Header scrolls with page — no sticky Edenlyra bar */
.topbar {
  position: relative !important;
  top: auto !important;
}

.announcement-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(184,149,106,0.14) 0%, rgba(15,11,13,0.95) 50%, rgba(184,149,106,0.1) 100%);
  border-bottom: 1px solid rgba(184,149,106,0.22);
  padding: 0.65rem 0;
  font-size: 0.82rem;
  color: rgba(248,240,231,0.88);
  text-align: center;
}
.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}
.announcement-divider { opacity: 0.4; }
.announcement-link {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-link:hover { color: var(--text); }

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 42rem;
  background: linear-gradient(135deg, #1a1218 0%, #2d1f2e 40%, #1e141c 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 30% 50%, rgba(200,150,180,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(184,149,106,0.06) 0%, transparent 60%);
}
.img-placeholder-text {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: rgba(248,240,231,0.35);
  text-align: center;
  font-style: italic;
  padding: 2rem;
}
.img-placeholder-hero { min-height: 42rem; }
.img-placeholder-wide { min-height: 28rem; aspect-ratio: 16 / 10; }

.hero-main-image img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-main-image img { min-height: 42rem; }
.feature-image img { min-height: 28rem; aspect-ratio: 16 / 10; }

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(184,149,106,0.12);
  border: 1px solid rgba(184,149,106,0.18);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: var(--gold);
}
.benefit-card { text-align: center; padding: 1.5rem; }
.benefit-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 0.6rem;
}
.benefit-card p { color: var(--muted-dark); font-size: 0.95rem; margin: 0; }
.dark-card .benefit-card p,
.dark-card p { color: var(--muted); }

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
}
.step-number {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #1e120d;
  font-weight: 600;
  font-size: 1rem;
}
.how-step h3 { margin: 0 0 0.4rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; }
.how-step p { margin: 0; color: var(--muted-dark); font-size: 0.95rem; }
.section-dark .how-step p { color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 52rem; margin: 0 auto; }
.why-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,249,243,0.04);
}
.section-light .why-card {
  border-color: var(--stroke);
  background: rgba(255,255,255,0.55);
}
.why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 0.7rem;
}
.why-card p { color: var(--muted-dark); margin: 0; }
.why-mini { padding: 1.5rem; }
.why-mini p { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.95rem; }

.tag-premium {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(184,149,106,0.25);
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
}

.cta-final { text-align: center; padding: 5rem 0 6rem; }
.cta-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  margin: 0 0 1.5rem;
  line-height: 1.05;
}
.cta-final > p {
  color: var(--muted-dark);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.elegant-list { margin: 1.2rem 0; padding-left: 1.2rem; color: var(--muted); }
.elegant-list li { margin-bottom: 0.8rem; }

.muted-italic { font-style: italic; opacity: 0.85; }
.whisper {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 1.5rem;
}
.center-whisper { text-align: center; max-width: 32rem; margin-left: auto; margin-right: auto; }
.center-copy { max-width: 40rem; margin-left: auto; margin-right: auto; text-align: center; }
.gold-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--gold-strong) !important;
}

.dark-quote .quote-block p,
.quote-block.dark-quote p { color: var(--text-dark); }

.presence-grid .dark-card {
  background: linear-gradient(145deg, #1a1218, #2a1c24);
  color: var(--text);
  border-color: rgba(255,255,255,0.08);
}

/* Waitlist form */
.waitlist-form {
  max-width: 32rem;
  margin: 0 auto 2rem;
  text-align: left;
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(37,23,18,0.65);
  margin-bottom: 0.45rem;
}
.req { color: #9a4a3a; }
.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.85);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
}
.waitlist-form textarea { resize: vertical; min-height: 5rem; }
.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,149,106,0.15);
}
.form-checkbox { margin-top: 1.25rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted-dark);
  cursor: pointer;
}
.checkbox-label input { margin-top: 0.2rem; flex-shrink: 0; }
.form-submit { width: 100%; margin-top: 0.5rem; border: none; cursor: pointer; font-size: 1rem; }
.form-privacy {
  font-size: 0.82rem;
  color: rgba(37,23,18,0.55);
  text-align: center;
  margin: 1rem 0 0;
}
.form-success {
  max-width: 32rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(184,149,106,0.12);
  border: 1px solid rgba(184,149,106,0.28);
  color: var(--text-dark);
}
.secondary-cta { margin-top: 1rem; }

.card-grid.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Hero overlay notes — readable on bright portrait */
.hero-note {
  background: rgba(12, 8, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.hero-note .status {
  background: rgba(184, 149, 106, 0.32);
  color: var(--gold-strong);
  border: 1px solid rgba(214, 177, 132, 0.5);
  font-weight: 600;
}

.hero-note p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 760px) {
  .why-grid,
  .card-grid.three-up { grid-template-columns: 1fr; }
  .announcement-divider { display: none; }
  .img-placeholder-hero, .img-placeholder-wide { min-height: 24rem; }
}
.form-error { color: #8b2e2e; background: #f8e8e8; border: 1px solid #d9b4b4; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }

/* ============================================================
   ATELIER POLISH v4 — contrast, type, couture detail, motion
   (additive layer; loads after site.css — does not replace it)
   ============================================================ */

:root {
  --bg: #0b080a;
  --bg-soft: #14100f;
  --text: #f9f3eb;
  --muted: rgba(249, 243, 235, 0.86);        /* was .74 — higher contrast */
  --muted-dark: rgba(31, 19, 15, 0.84);       /* was .72 */
  --gold: #bf9968;
  --gold-strong: #e4c293;
  --hair: rgba(199, 154, 100, 0.30);
  --ring: rgba(199, 154, 100, 0.42);
}

/* ---- Typography & contrast ---- */
p, li { font-size: 1.075rem; line-height: 1.72; -webkit-text-wrap: pretty; text-wrap: pretty; }
.hero h1, .section-heading h2, .cta-final h2, .quote-block p { -webkit-text-wrap: balance; text-wrap: balance; }
.hero-text { font-size: 1.15rem; line-height: 1.66; color: var(--muted); }
.section-copy { font-size: 1.1rem; }
.hero-proof { color: rgba(249, 243, 235, 0.9); font-size: 1.02rem; }
.elegant-list { color: var(--muted); }
.why-card p, .benefit-card p, .how-step p, .stack-card p, .hero-microgrid p { font-size: 1rem; }
.nav a { font-size: 0.95rem; color: rgba(249, 243, 235, 0.9); }

/* Eyebrow: structural gold tick — the brand's hairline signature */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.26em;
  color: rgba(249, 243, 235, 0.78);
}
.eyebrow::before {
  content: ""; width: 1.9rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-strong));
}
.eyebrow.dark { color: rgba(31, 19, 15, 0.7); }
.eyebrow.dark::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::after {
  content: ""; width: 1.9rem; height: 1px;
  background: linear-gradient(90deg, var(--gold-strong), transparent);
}
.section-heading.center.dark .eyebrow::after,
.section-light .section-heading.center .eyebrow::after,
.section-cream .section-heading.center .eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---- Buttons: light sweep on hover ---- */
.button { position: relative; overflow: hidden; letter-spacing: 0.012em; }
.button-primary { box-shadow: 0 16px 42px rgba(120, 80, 40, 0.28); }
.button-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, 0.42) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform 0.75s ease; pointer-events: none;
}
.button-primary:hover::after { transform: translateX(130%); }
.button-ghost:hover, .button-secondary:hover { border-color: var(--gold); }

/* ---- Nav: animated gold underline + scrollspy active ---- */
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1px; background: var(--gold-strong); transition: right 0.38s cubic-bezier(0.16,1,0.3,1);
}
.nav a:not(.nav-cta):hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: #fff; }
.nav-cta { transition: border-color 0.3s, background 0.3s; }
.nav-cta:hover { border-color: var(--gold); background: rgba(199, 154, 100, 0.14); }
.brand { transition: letter-spacing 0.5s ease; }
.brand:hover { letter-spacing: 0.08em; }

/* ---- Cards & images: refined hover ---- */
.why-card, .realm-card, .benefit-card, .stack-card, .leader-card {
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.why-card:hover, .realm-card:hover, .benefit-card:hover, .stack-card:hover {
  transform: translateY(-5px); border-color: var(--hair);
  box-shadow: 0 26px 64px rgba(12, 7, 10, 0.42);
}
.benefit-icon { transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), background 0.45s; }
.benefit-card:hover .benefit-icon { transform: translateY(-2px) scale(1.06); background: rgba(199,154,100,0.2); }

.hero-frame, .feature-image { position: relative; }
.hero-main-image img, .feature-image img { transition: transform 1s cubic-bezier(0.16,1,0.3,1), filter 1s ease; }
.hero-frame:hover img, .feature-image:hover img { transform: scale(1.04); filter: saturate(1.04) brightness(1.02); }

/* Couture corner ticks on the hero plate (the signature frame) */
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 24px; height: 24px; z-index: 3;
  border: 1px solid var(--gold-strong); opacity: 0.85; pointer-events: none;
}
.hero-frame::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hero-frame::after { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ---- Quote block: editorial gold rule ---- */
.quote-block { border-left: 2px solid var(--gold); }
.gold-line, .whisper { color: var(--gold-strong) !important; }

/* ---- Scroll progress (top hairline) ---- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-strong));
  box-shadow: 0 0 12px rgba(228, 194, 147, 0.6);
}

/* ---- Chapter rail (curated index, right edge) ---- */
.chapter-rail {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 15px; align-items: center;
}
.chapter-rail a {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(199, 154, 100, 0.55); background: rgba(199, 154, 100, 0.12);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.chapter-rail a:hover { transform: scale(1.3); }
.chapter-rail a.active {
  background: var(--gold-strong); border-color: var(--gold-strong);
  box-shadow: 0 0 12px rgba(228, 194, 147, 0.75); transform: scale(1.15);
}
.chapter-rail a::after {
  content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-strong); background: rgba(11, 8, 10, 0.9); padding: 0.3rem 0.6rem; border-radius: 999px;
  border: 1px solid rgba(199, 154, 100, 0.3); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.chapter-rail a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---- Reveal: add gentle blur-in + per-element stagger ---- */
.reveal {
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.9s ease;
  transition-delay: var(--rv, 0ms); filter: blur(7px);
}
.reveal.visible { filter: blur(0); }

/* ---- Footer contrast ---- */
.footer-grid a, .footer-grid span { color: rgba(249, 243, 235, 0.82); transition: color 0.25s; }
.footer-grid a:hover { color: var(--gold-strong); }
.footer-muted { color: rgba(249, 243, 235, 0.62); }

/* ---- Focus visibility (a11y floor) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px;
}

@media (max-width: 1100px) { .chapter-rail { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .button-primary::after { display: none; }
  .hero-main-image img, .feature-image img, .why-card, .realm-card, .benefit-card, .stack-card { transition: none; }
  html { scroll-behavior: auto; }
}


/* Hermes Edition — post-waitlist "one step left" screen */
.form-success h3 { margin: 0.25em 0 0.55em; line-height: 1.2; }
.form-success p { margin: 0 0 0.7em; }
.form-success .success-cta { display: inline-block; margin: 0.7em 0 0.3em; }
.form-success .success-fineprint { font-size: 0.85em; opacity: 0.68; margin-top: 0.7em; }
