:root {
  --ink: #15172c;
  --navy: #11144a;
  --blue: #34379b;
  --blue-deep: #272b80;
  --coral: #ec7779;
  --pink: #f6c3cb;
  --cream: #fff8ec;
  --acid: #eafaad;
  --white: #ffffff;
  --muted: #6f7184;
  --line: rgba(21, 23, 44, 0.13);
  --shadow: 0 28px 70px rgba(25, 27, 73, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(246, 195, 203, 0.72), transparent 24rem),
    linear-gradient(135deg, #fffaf3 0%, #f2eee8 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

button, a { font: inherit; }
a { color: inherit; }

.app-shell {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px 24px;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
}

.side-logo {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.side-kicker,
.eyebrow,
.email-kicker,
.section-label,
.send-line {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.side-kicker { color: var(--pink); margin: 0 0 8px; }
.sidebar h1 { font-size: 24px; line-height: 1.05; margin: 0 0 8px; }
.side-intro { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; margin: 0 0 22px; }

.nav-list { display: grid; gap: 7px; }
.nav-button {
  width: 100%;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  padding: 12px 13px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.03);
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-button strong { display: block; color: inherit; font-size: 13px; }
.nav-button small { display: block; margin-top: 3px; font-size: 11px; color: rgba(255,255,255,.47); }
.nav-button:hover, .nav-button:focus-visible { color: white; background: rgba(255,255,255,.09); transform: translateX(2px); outline: none; }
.nav-button.is-active { color: var(--navy); background: var(--coral); border-color: var(--coral); }
.nav-button.is-active small { color: rgba(17,20,74,.65); }

.side-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255,255,255,.54);
}

.workspace { padding: 34px clamp(20px, 4vw, 64px) 80px; overflow: hidden; }
.view { display: none; animation: reveal .32s ease both; }
.view.is-active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 24px;
}
.workspace-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 62px); letter-spacing: -0.04em; line-height: .94; margin: 4px 0 0; }
.eyebrow { color: var(--blue); margin: 0; }
.status-pill { white-space: nowrap; padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; }

.review-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 26px;
  align-items: start;
}

.preview-stage {
  min-width: 0;
  padding: 38px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-color: #dfdce8;
  background-image: radial-gradient(rgba(52,55,155,.13) 1px, transparent 1px);
  background-size: 12px 12px;
  box-shadow: var(--shadow);
}

.review-card {
  position: sticky;
  top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(16px);
}
.review-card h3 { margin: 0 0 13px; font-size: 16px; }
.review-card dl { margin: 0; display: grid; gap: 12px; }
.review-card dt { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.review-card dd { margin: 3px 0 0; font-size: 13px; line-height: 1.45; }
.flag { margin-top: 15px; padding: 12px; border-radius: 12px; background: #fff1d1; color: #5d4213; font-size: 12px; line-height: 1.5; }
.flag.ok { background: #e9f6df; color: #31552a; }

.email {
  width: min(100%, 680px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--blue);
  color: white;
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(26, 28, 74, .25);
}
.email-topbar { padding: 18px 34px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--blue-deep); }
.email-logo { width: 176px; max-width: 46%; }
.email-date { text-align: right; color: var(--pink); font-size: 11px; font-weight: 800; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }
.email-hero { position: relative; min-height: 440px; display: grid; align-items: end; isolation: isolate; background: #11144a; }
.email-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.email-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,20,74,.08) 15%, rgba(17,20,74,.94) 100%); z-index: -1; }
.email-hero.artwork-hero { min-height: 0; display: block; }
.email-hero.artwork-hero > img { position: static; display: block; height: auto; object-fit: contain; z-index: auto; }
.email-hero.artwork-hero::after { display: none; }
.email-hero.artwork-hero .hero-copy { background: var(--navy); }
.hero-copy { padding: 54px 42px 38px; }
.email-kicker { color: var(--pink); margin: 0 0 10px; }
.hero-copy h1 { margin: 0; max-width: 570px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7.2vw, 76px); line-height: .88; letter-spacing: -.055em; }
.hero-copy p { max-width: 520px; margin: 18px 0 0; font-size: 18px; line-height: 1.48; }
#newsletter-1 .wave-intro { padding: 28px 42px 30px; background: var(--navy); }
#newsletter-1 .wave-intro p { max-width: 570px; margin: 0; font-size: 18px; line-height: 1.55; }
#newsletter-1 .wave-booking { padding-top: 38px; padding-bottom: 42px; }
#newsletter-1 .email-section h2 { font-size: clamp(34px, 5vw, 46px); line-height: 1.03; }
#newsletter-1 .wave-crowd { aspect-ratio: 16 / 9; max-height: none; }
#newsletter-1 .wave-experience { padding-top: 38px; padding-bottom: 42px; }
.email-section { padding: 46px 42px; }
.email-section.coral { color: #541d37; background: var(--coral); }
.email-section.pink { color: #421936; background: var(--pink); }
.email-section.cream { color: var(--navy); background: var(--cream); }
.email-section.acid { color: var(--navy); background: var(--acid); }
.email-section.navy { background: var(--navy); }
.email-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 6vw, 54px); line-height: .95; letter-spacing: -.045em; margin: 0 0 16px; }
.email-section h3 { font-size: 18px; margin: 0 0 8px; }
.email-section p { margin: 0 0 16px; font-size: 16px; line-height: 1.62; }
.email-section p:last-child { margin-bottom: 0; }
.section-label { margin-bottom: 12px; opacity: .74; }
.detail-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.detail { padding: 20px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.24); }
.detail:last-child { border-right: 0; }
.detail small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; color: var(--pink); font-weight: 800; }
.detail strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.3; }
.button { display: inline-block; margin-top: 10px; padding: 14px 22px; border-radius: 99px; background: var(--navy); color: white; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.button.light { color: var(--navy); background: var(--acid); }
.button.coral { background: var(--coral); color: var(--navy); }
.button + .button { margin-left: 7px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.offer-card { padding: 18px; min-height: 180px; border: 1px solid rgba(17,20,74,.16); border-radius: 14px; background: rgba(255,255,255,.38); display: flex; flex-direction: column; }
.offer-card .num { font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.offer-card h3 { margin-top: auto; padding-top: 24px; }
.offer-card p { font-size: 13px; line-height: 1.45; margin: 0; }
.offer-card.with-media { min-height: 0; padding: 0; overflow: hidden; }
.offer-card.with-media .offer-body { display: flex; flex: 1; flex-direction: column; padding: 15px 16px 18px; }
.offer-card.with-media h3 { margin: 0 0 8px; padding: 0; }
.offer-media { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid rgba(17,20,74,.12); }
.section-feature-image { display: block; width: 100%; margin-top: 22px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }

.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.image-pair img, .wide-photo { width: 100%; display: block; object-fit: cover; }
.image-pair img { aspect-ratio: 1 / 1; border-radius: 13px; }
.wide-photo { max-height: 390px; }

.lineup-board { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.lineup-day { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.lineup-day b { color: var(--pink); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.lineup-day span { font-family: Georgia, serif; font-size: 28px; letter-spacing: -.02em; }
.pending-copy { opacity: .62; font-style: italic; }
.lineup-placeholder { min-height: 300px; margin-top: 24px; padding: 25px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.45); border-radius: 16px; background: rgba(255,255,255,.08); color: var(--pink); text-align: center; font: 30px/1.15 Georgia, serif; }
.agenda-placeholder { min-height: 170px; margin-top: 18px; padding: 24px; display: grid; place-items: center; border: 2px dashed rgba(17,20,74,.28); border-radius: 16px; background: rgba(255,255,255,.5); color: var(--navy); text-align: center; font: 32px/1.2 Georgia, serif; }

.final-checklist { display: grid; gap: 1px; margin-top: 22px; background: rgba(17,20,74,.16); border: 1px solid rgba(17,20,74,.12); }
.check-row { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 13px; background: var(--cream); }
.check-row b { font-size: 18px; text-align: center; }
.check-row span { font-size: 14px; line-height: 1.35; }

.email-footer { padding: 34px 42px 38px; text-align: center; color: rgba(255,255,255,.62); background: #181b61; font-size: 11px; line-height: 1.65; }
.email-footer img { width: 145px; margin-bottom: 14px; opacity: .88; }

.overview-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.overview-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.83); }
.overview-card h3 { margin: 0 0 10px; font-size: 20px; }
.overview-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.moment-list { display: grid; gap: 10px; margin-top: 18px; }
.moment { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; padding: 13px; border-radius: 14px; background: #f4f1eb; }
.moment strong:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: white; }
.moment span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.moment time, .moment-time { font-size: 12px; font-weight: 800; color: var(--blue); }
.source-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.phone-stage { display: grid; grid-template-columns: minmax(260px, 320px) minmax(220px, 1fr); justify-content: center; gap: 22px; align-items: start; padding: 26px 18px; }
.phone { width: 100%; max-width: 320px; margin: 0 auto; border: 10px solid #141414; border-radius: 42px; overflow: hidden; background: #efeae2; box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.phone-notch { height: 23px; width: 104px; margin: 0 auto -5px; position: relative; z-index: 2; border-radius: 0 0 15px 15px; background: #141414; }
.wa-head { padding: 20px 18px 12px; color: white; background: #075e54; display: flex; align-items: center; gap: 10px; }
.wa-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #075e54; background: white; font-weight: 900; }
.wa-head strong { display: block; font-size: 14px; }
.wa-head small { display: block; opacity: .72; margin-top: 2px; }
.wa-body { min-height: 570px; padding: 18px 12px 28px; background-color: #efeae2; background-image: radial-gradient(rgba(91,77,65,.09) 1px, transparent 1px); background-size: 12px 12px; }
.wa-day { width: max-content; margin: 0 auto 12px; padding: 5px 9px; background: #d9edf5; border-radius: 7px; font-size: 10px; }
.wa-bubble { width: 91%; border-radius: 8px; overflow: hidden; background: white; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.wa-bubble img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wa-copy { padding: 12px 13px 5px; white-space: pre-line; font-size: 13px; line-height: 1.48; }
.wa-meta { text-align: right; padding: 0 9px 7px; color: #729e82; font-size: 9px; }
.wa-cta { display: block; padding: 11px; border-top: 1px solid #e7e7e7; color: #0787d1; text-align: center; text-decoration: none; font-size: 12px; font-weight: 700; }
.copy-block { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.75); }
.copy-block h3 { margin: 0 0 12px; }
.copy-block pre { margin: 0; white-space: pre-wrap; font: 13px/1.6 Inter, sans-serif; }

.push-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.push-card { padding: 18px; border-radius: 18px; color: white; background: var(--navy); box-shadow: 0 14px 28px rgba(17,20,74,.2); }
.push-card .send-line { color: var(--pink); }
.push-card h3 { margin: 7px 0 15px; font-family: Georgia, serif; font-size: 28px; }
.notification { border-radius: 18px; padding: 15px; color: #101010; background: rgba(255,255,255,.92); }
.notification-top { display: flex; justify-content: space-between; font-size: 10px; color: #5f5f5f; }
.notification strong { display: block; margin: 8px 0 3px; font-size: 14px; }
.notification p { margin: 0; font-size: 12px; line-height: 1.42; }
.deep-link { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,.62); }

.open-items { margin-top: 16px; padding: 15px 17px; border-left: 4px solid var(--coral); background: rgba(255,255,255,.7); font-size: 13px; line-height: 1.6; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .nav-list { grid-template-columns: repeat(3, 1fr); }
  .side-note { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { position: static; }
  .overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .sidebar { padding: 22px 16px; }
  .nav-list { display: flex; overflow-x: auto; padding-bottom: 5px; }
  .nav-button { min-width: 145px; }
  .workspace { padding: 24px 12px 60px; }
  .workspace-head { display: block; }
  .status-pill { display: inline-block; margin-top: 14px; }
  .preview-stage { padding: 18px 0; border-radius: 15px; }
  .email { border-radius: 0; }
  .email-topbar { padding: 15px 20px; }
  .email-hero { min-height: 400px; }
  .hero-copy, .email-section { padding: 38px 24px; }
  #newsletter-1 .wave-intro { padding: 24px; }
  #newsletter-1 .wave-intro p { font-size: 16px; }
  #newsletter-1 .wave-booking, #newsletter-1 .wave-experience { padding: 34px 24px; }
  .hero-copy h1 { font-size: 51px; }
  .detail-strip, .card-grid, .card-grid.two, .image-pair { grid-template-columns: 1fr; }
  .detail { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .detail:last-child { border-bottom: 0; }
  .phone-stage { grid-template-columns: 1fr; padding: 12px 0; }
  .copy-block { margin: 0 12px; }
  .push-grid { grid-template-columns: 1fr; }
  .lineup-day { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  body { background: white; }
  .sidebar, .review-card, .workspace-head, .overview-only { display: none !important; }
  .app-shell, .review-grid { display: block; }
  .workspace { padding: 0; }
  .view { display: block !important; break-after: page; }
  #overview { display: none !important; }
  .preview-stage { border: 0; box-shadow: none; padding: 0; background: white; }
  .email { box-shadow: none; }
}
