/* ==========================================================================
   English With Samar — 50 Power Phrases funnel
   Navy #2d417d · Sky blue #c2ddf2 · Off-white ground
   Type: Open Sauce Sans (SIL OFL, self-hosted)
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/OpenSauceSans-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
/* Display face. Letters + digits only — punctuation falls back to Open Sauce. */
@font-face {
  font-family: "Brastika";
  src: url("/assets/fonts/Brastika-Black.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --navy:      #2d417d;
  --navy-deep: #1e2c57;
  --navy-soft: #4a5c94;
  --sky:       #c2ddf2;
  --sky-light: #e5f0fa;
  --sky-tint:  #f2f8fd;

  --white:     #ffffff;
  --offwhite:  #fbfcfe;
  --ink:       #16192b;
  --slate:     #4b5268;
  --muted:     #737a8c;
  --line:      #e3e8f0;

  --font-body: "Open Sauce Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Brastika carries letters/digits; Open Sauce Sans backfills punctuation. */
  --font-display: "Brastika", "Open Sauce Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:      14px;
  --radius-sm:   10px;
  --radius-pill: 999px;
  --shadow-sm:  0 1px 2px rgba(22,25,43,.05), 0 2px 8px rgba(22,25,43,.04);
  --shadow-md:  0 4px 16px rgba(45,65,125,.08), 0 1px 3px rgba(45,65,125,.06);
  --shadow-cta: 0 6px 20px rgba(45,65,125,.28);
  --maxw: 1080px;
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Announcement bar ----------------------------------------------------- */
.announcement-bar {
  background: var(--navy);
  color: #dce6f7;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announcement-bar__muted { color: #9fb3d9; }
.announcement-bar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); flex: none;
}

/* ---- Nav ------------------------------------------------------------------ */
.nav-wrap { padding: 18px 24px 0; }
.navbar {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.brand-mark span { width: 4px; border-radius: 2px; background: var(--navy); }
.brand-mark span:nth-child(1) { height: 8px;  opacity: .45; }
.brand-mark span:nth-child(2) { height: 13px; opacity: .72; }
.brand-mark span:nth-child(3) { height: 18px; background: var(--sky); opacity: 1; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--navy-deep); }
.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy-soft); }
.btn--sm { font-size: 14.5px; padding: 10px 18px; }
.btn--lg { font-size: 17px;   padding: 15px 30px; }
.btn--xl { font-size: 17.5px; padding: 17px 34px; width: 100%; max-width: 380px; }
.btn--block { width: 100%; padding: 16px 24px; font-size: 17px; }

/* ---- Eyebrow / badges ----------------------------------------------------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky-light);
  color: var(--navy);
  border: 1px solid #cfe3f6;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.badge-outline__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.badge-fill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 20px 9px 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.badge-fill__check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0;
}

/* ---- Type helpers --------------------------------------------------------- */
.tone-muted { color: var(--muted); }
.tone-ink   { color: var(--ink); }
.tone-navy  { color: var(--navy); }
.highlight { position: relative; white-space: nowrap; color: var(--navy); }
.highlight__mark {
  position: absolute;
  left: -4px; right: -4px;
  bottom: .22em;          /* tuned to Brastika's high-sitting baseline */
  height: .30em;
  background: var(--sky);
  border-radius: 3px;
  z-index: -1;
}
/* Body-font highlights (subtext, not display headings) sit lower */
p .highlight__mark { bottom: .04em; height: .34em; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 56px 24px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__copy { flex: 1 1 460px; min-width: 300px; }
.hero__headline {
  font-size: clamp(36px, 4.9vw, 56px);
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 900;
  margin: 20px 0 20px;
}
.hero__subtext {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { font-size: 13.5px; color: var(--muted); }

.hero--centered {
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 0;
  padding: 56px 24px 36px;
}
.hero--centered .hero__headline {
  font-size: clamp(34px, 5vw, 54px);
  margin: 18px 0 18px;
  max-width: 900px;
}
.hero--centered .hero__subtext { max-width: 620px; margin: 0 auto; }

/* ---- Book cover ----------------------------------------------------------- */
.hero__visual {
  flex: 0 1 380px;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.book-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sky) 0%, var(--sky-light) 55%, rgba(226,240,251,0) 72%);
  z-index: 0;
}
.book-cover {
  position: relative;
  z-index: 1;
  width: 250px;
  aspect-ratio: 130 / 168;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 18px 40px rgba(30,44,87,.32);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.book-cover__top { display: flex; align-items: center; justify-content: space-between; }
.book-cover__label {
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky);
}
.book-cover__wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 15px; }
.book-cover__wave span { width: 3px; border-radius: 2px; background: var(--sky); }
.book-cover__wave span:nth-child(1) { height: 6px;  opacity: .5; }
.book-cover__wave span:nth-child(2) { height: 11px; opacity: .75; }
.book-cover__wave span:nth-child(3) { height: 15px; }
.book-cover__title {
  font-family: var(--font-display);
  font-size: 25px; font-weight: 900; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.book-cover__subtitle { font-size: 12.5px; line-height: 1.45; color: #b9cbe8; }

/* ---- What's inside -------------------------------------------------------- */
.inside-section {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 20px;
  padding-bottom: 64px;
  align-items: flex-start;
}
.inside__intro { flex: 1 1 320px; min-width: 280px; }
.inside__eyebrow { margin-bottom: 12px; }
.inside__heading {
  font-size: clamp(26px, 3.1vw, 34px);
  line-height: 1.16;
  letter-spacing: -.022em;
  font-weight: 800;
  margin: 0 0 14px;
}
.inside__text { font-size: 16px; color: var(--slate); margin: 0; }

.benefits-list {
  flex: 1 1 460px;
  min-width: 300px;
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  box-shadow: var(--shadow-sm);
}
.benefit-check {
  flex: none;
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.benefit-text { font-size: 15.5px; line-height: 1.5; color: var(--ink); }

/* ---- Dark band ------------------------------------------------------------ */
.band-dark { background: var(--navy); padding: 72px 24px; }
.band-dark__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.band-dark__heading {
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
}
.band-dark__heading .tone-muted { color: #93a8d0; }
.band-dark__text {
  font-size: 17px;
  color: #c3d1ea;
  max-width: 560px;
  margin: 0 auto 28px;
}
.band-dark .btn--primary {
  background: var(--sky);
  color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.band-dark .btn--primary:hover { background: #d6e8f8; }
.band-dark__caption { font-size: 13px; color: #93a8d0; margin-top: 14px; }

/* ---- Video ---------------------------------------------------------------- */
.video-section { max-width: 900px; margin: 0 auto; padding: 8px 24px 56px; }
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}
.video-card__stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px);
}
.video-card__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.play-button {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--sky); border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .12s ease;
}
.play-button:hover { transform: scale(1.05); }
.play-button__icon {
  width: 0; height: 0; margin-left: 5px;
  border-left: 20px solid var(--navy-deep);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video-card__label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7f92b8;
}
.video-card__duration {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.video-card iframe, .video-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---- CTA card ------------------------------------------------------------- */
.cta-section { padding-bottom: 64px; }
.cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-card__copy { flex: 1 1 380px; min-width: 280px; }
.cta-card__eyebrow { margin-bottom: 10px; }
.cta-card__heading {
  font-size: clamp(23px, 2.7vw, 30px);
  line-height: 1.18;
  letter-spacing: -.022em;
  font-weight: 800;
  margin: 0 0 10px;
}
.cta-card__text { font-size: 15.5px; color: var(--slate); margin: 0; max-width: 460px; }
.cta-card__action { flex: 0 1 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-card__slots { font-size: 13px; color: var(--muted); }

/* ---- Testimonials --------------------------------------------------------- */
.band-teal { background: var(--sky-tint); padding: 68px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-teal__inner { max-width: var(--maxw); margin: 0 auto; }
.band-teal__head { text-align: center; margin-bottom: 34px; }
.band-teal__eyebrow {
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
}
.band-teal__heading {
  font-size: clamp(25px, 3.3vw, 36px);
  line-height: 1.16; letter-spacing: -.024em; font-weight: 800; margin: 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card__stars { color: #f0b429; font-size: 14px; letter-spacing: 2px; }
.testimonial-card__quote { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex: none;
}
.testimonial-card__name { display: block; font-size: 14.5px; font-weight: 700; }
.testimonial-card__role { display: block; font-size: 13px; color: var(--muted); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer__meta { font-size: 13px; color: var(--muted); }

/* ---- Modal ---------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(22,25,43,.55);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(22,25,43,.28);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 12px; right: 14px;
  border: none; background: transparent;
  font-size: 26px; line-height: 1; cursor: pointer;
  color: var(--muted);
}
.modal-close:hover { color: var(--ink); }
.modal-eyebrow { margin-bottom: 10px; }
.modal-title {
  font-size: 27px; line-height: 1.14; letter-spacing: -.022em;
  font-weight: 800; margin: 0 0 8px;
}
.modal-text { font-size: 15px; line-height: 1.5; color: var(--slate); margin: 0 0 20px; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.form-input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 15px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.form-input::placeholder { color: #9aa1b3; }
.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45,65,125,.12);
}
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }

/* intl-tel-input fits the stacked inputs */
.modal-form .iti { display: block; width: 100%; }
.modal-form .iti__flag-container { z-index: 3; }
.modal-form .iti--separate-dial-code .iti__selected-flag {
  background: #f4f6fa;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* ---- Embeds (survey popup / calendar page) -------------------------------- */
.modal-panel--survey { max-width: 620px; padding: 44px 16px 16px; }
.modal-panel--survey iframe { display: block; width: 100%; border: none; min-height: 480px; }
.booking-wrap { max-width: 860px; margin: 0 auto; padding: 8px 24px 56px; }
.booking-wrap iframe { display: block; width: 100%; border: none; min-height: 640px; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { gap: 36px; padding-top: 44px; }
  .hero__visual { order: -1; flex-basis: 100%; }
  .book-cover { width: 210px; }
  .book-orb { width: 250px; height: 250px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 34px 20px 36px; }
  .hero__headline { font-size: clamp(30px, 8.2vw, 40px); }
  .hero__subtext { font-size: 16.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; max-width: none; }
  .hero__note { text-align: center; }
  .inside-section { gap: 28px; padding-bottom: 48px; }
  .band-dark { padding: 52px 20px; }
  .band-teal { padding: 48px 20px; }
  .cta-card { padding: 26px 22px; }
  .cta-card__action { width: 100%; }
  .cta-card__action .btn { width: 100%; max-width: none; }
  .site-footer { justify-content: center; text-align: center; }
  .modal-panel { padding: 28px 22px; }
  .video-section { padding: 4px 20px 44px; }
  .nav-wrap { padding: 14px 16px 0; }
  .navbar { padding: 10px 10px 10px 16px; gap: 10px; }
  .brand { font-size: 15.5px; }
  .navbar .btn--sm { font-size: 13.5px; padding: 9px 14px; }
}
