/* ============================================================
   HopeAlways — static site styles
   Self-contained. No Wix, no external services.
   Fonts self-hosted in ../assets/fonts/
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Tan Ashford";
  src: url("../assets/fonts/TanAshford-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Le Jour Script";
  src: url("../assets/fonts/LeJourScript.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DMSans-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DMSans-BoldItalic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ha-deep-dark: #2E2C39;
  --ha-off-white: #FEFDFF;
  --ha-blush: #F7CDD0;
  --ha-sky: #95DCE8;
  --ha-ember: #FF751F;
  --ha-deep-dark-900: #211F29;
  --ha-deep-dark-700: #3A3848;
  --ha-deep-dark-600: #4A4858;
  --ha-deep-dark-500: #6A6878;
  --ha-linen: #F4EFE9;
  --ha-linen-200: #EBE4DB;
  --ha-ember-press: #E5640F;
  --ha-blush-deep: #E8A9AE;

  --surface-card: var(--ha-deep-dark-700);
  --text-primary: var(--ha-off-white);
  --text-secondary: #C9C7D2;
  --text-muted: var(--ha-deep-dark-500);
  --text-on-light: var(--ha-deep-dark);
  --text-on-light-muted: #6B6877;

  --border-subtle: rgba(254,253,255,0.12);
  --border-light: var(--ha-linen-200);

  --shadow-md: 0 6px 20px rgba(33,31,41,0.22);
  --shadow-lg: 0 18px 48px rgba(33,31,41,0.30);
  --shadow-card-light: 0 14px 40px rgba(46,44,57,0.12);

  --font-display: "Tan Ashford", "Cormorant Garamond", Georgia, serif;
  --font-script: "Le Jour Script", "Pinyon Script", cursive;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ls-label: 0.16em;
  --ls-label-wide: 0.24em;

  --wrap: 1240px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--ha-linen);
  color: var(--text-on-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--ha-blush-deep); }
a:hover { color: var(--ha-blush); }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* section grounds */
.section { padding: 96px 44px; }
.g-linen { background: var(--ha-linen); color: var(--text-on-light); }
.g-offwhite { background: var(--ha-off-white); color: var(--text-on-light); }
.g-dark { background: var(--ha-deep-dark); color: var(--text-primary); }
.g-well { background: var(--ha-deep-dark-900); color: var(--text-primary); }
.g-blush { background: var(--ha-blush); color: var(--ha-deep-dark); }

.label {
  text-transform: uppercase;
  letter-spacing: var(--ls-label-wide);
  font-size: 12px;
  font-weight: 700;
  color: var(--ha-blush-deep);
}
.label.cool { color: var(--ha-sky); }
.display { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.04; }
.script { font-family: var(--font-script); line-height: 1; color: var(--ha-blush-deep); }
.blush-word { color: var(--ha-blush); }

/* blush highlight behind a word (brush) */
.hl { position: relative; white-space: nowrap; }
.hl > span:first-child { position: relative; z-index: 1; }
.hl-brush {
  position: absolute; left: -6px; right: -6px; bottom: 8px; height: 26px;
  background: var(--ha-blush);
  border-radius: 60% 40% 58% 42% / 64% 56% 44% 36%;
  transform: rotate(-1.4deg); z-index: 0;
}
.hl-bar {
  position: absolute; left: -4px; right: -4px; bottom: 6px; height: 18px;
  background: var(--ha-blush); border-radius: 2px; z-index: 0; opacity: 0.85;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ha-linen-200);
  background-color: rgba(244,239,233,0.86);
}
.site-header.on-dark {
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(33,31,41,0.82);
}
.nav {
  max-width: var(--wrap); margin: 0 auto;
  padding: 16px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; color: var(--text-on-light-muted); font-weight: 400;
}
.nav-links a:hover { color: var(--text-on-light); text-decoration: underline; text-underline-offset: 4px; }
.on-dark .nav-links a { color: var(--text-secondary); }
.on-dark .nav-links a:hover { color: var(--ha-off-white); }
.on-dark .brand span { color: var(--ha-off-white); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: inherit; padding: 4px 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 12px 24px; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
  text-align: center;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ha-ember); color: var(--ha-off-white); }
.btn-primary:hover { background: var(--ha-ember-press); color: var(--ha-off-white); }
.btn-secondary { background: transparent; border-color: currentColor; color: inherit; }
.btn-secondary:hover { background: rgba(0,0,0,0.06); color: inherit; }
.on-dark-btn.btn-secondary:hover, .g-dark .btn-secondary:hover { background: rgba(254,253,255,0.08); }

/* text link with arrow */
.tlink { font-size: 16px; font-weight: 700; color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.tlink:hover { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ha-blush); color: var(--ha-deep-dark);
}

/* ---------- Masthead bar ---------- */
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 0 22px; border-bottom: 1px solid var(--ha-linen-200);
  font-size: 12px; letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--text-on-light-muted); font-weight: 700;
}
.masthead .script {
  font-size: 26px; text-transform: none; letter-spacing: 0;
}

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* photo placeholder */
.photo {
  width: 100%; border-radius: 6px; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(232,169,174,0.14) 0 18px, rgba(232,169,174,0.06) 18px 36px),
    var(--ha-linen-200);
  border: 1px solid var(--ha-linen-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-light-muted); font-size: 13px; text-align: center;
  padding: 20px; min-height: 260px;
}
.photo.rounded { border-radius: 20px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Truths / values columns ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.col-rule { padding: 0 36px; border-right: 1px solid var(--ha-linen-200); }
.col-rule:first-child { padding-left: 0; }
.col-rule:last-child { padding-right: 0; border-right: none; }
.col-num { font-family: var(--font-display); font-size: 22px; color: var(--ha-blush-deep); margin-bottom: 16px; }
.col-rule h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.col-rule p { font-size: 16px; color: var(--text-on-light-muted); line-height: 1.7; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 30px;
}
.card-light {
  background: var(--ha-off-white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 30px;
}
.card h3, .card-light h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.card-light p { font-size: 15px; color: var(--text-on-light-muted); line-height: 1.65; }
.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ---------- Curriculum rows ---------- */
.mod-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--ha-linen-200);
}
.mod-n { font-family: var(--font-display); font-size: 30px; color: var(--ha-blush-deep); }
.mod-t { font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--text-on-light); }
.mod-d { font-size: 16px; color: var(--text-on-light-muted); margin-top: 6px; line-height: 1.65; max-width: 680px; }
.mod-asset { font-size: 13px; color: var(--ha-blush-deep); margin-top: 10px; font-weight: 700; letter-spacing: 0.02em; }
.mod-len { font-size: 13px; color: var(--text-on-light-muted); letter-spacing: 0.04em; }

/* ---------- Checklist ---------- */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--ha-off-white); border: 1px solid var(--border-light);
  border-radius: 6px; padding: 20px;
}
.check .mark {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px;
  background: var(--ha-blush); color: var(--ha-deep-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.check span:last-child { font-size: 15px; line-height: 1.55; color: var(--text-on-light); }

/* ---------- Testimonials wall ---------- */
.wall { columns: 3 340px; column-gap: 22px; }
.tcard {
  break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%;
  margin: 0 0 22px; background: var(--ha-off-white); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 26px; box-shadow: var(--shadow-card-light);
}
.tcard .who { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.tcard .avatar {
  width: 48px; height: 48px; border-radius: 999px; flex: 0 0 auto;
  background: var(--ha-blush); color: var(--ha-deep-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px;
}
.tcard .name { font-weight: 700; font-size: 16px; color: var(--text-on-light); line-height: 1.2; }
.tcard .role { font-size: 13px; color: var(--text-on-light-muted); margin-top: 2px; }
.tcard p { font-size: 15px; line-height: 1.66; color: var(--text-on-light); }

/* ---------- Embeds ---------- */
.embed-head { font-family: var(--font-display); font-size: 20px; color: var(--text-on-light); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.embed-head .ic { color: var(--ha-blush-deep); }
.embed-card { background: var(--ha-linen); border: 1px solid var(--ha-linen-200); border-radius: 12px; overflow: hidden; }
.embed-16x9 { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ha-deep-dark); }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.embed-card .vtitle { padding: 18px 22px 22px; font-family: var(--font-display); font-size: 21px; line-height: 1.15; color: var(--text-on-light); }
.li-card { background: var(--ha-off-white); border: 1px solid var(--ha-linen-200); border-radius: 12px; overflow: hidden; }
.li-card iframe { width: 100%; height: 560px; border: 0; display: block; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; background: var(--ha-linen); border: 1px solid var(--ha-linen-200); border-radius: 999px; padding: 4px; }
.g-offwhite .toggle { background: var(--ha-linen); }
.toggle-btn {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  padding: 10px 22px; border-radius: 999px; background: transparent; color: var(--text-on-light-muted);
  transition: background .18s, color .18s;
}
.toggle-btn.active { background: var(--ha-deep-dark); color: var(--ha-off-white); }
.price-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.price-card { background: var(--ha-linen); border: 1px solid var(--ha-linen-200); border-radius: 10px; padding: 40px; }
.price-amt { font-family: var(--font-display); font-size: 66px; line-height: 0.9; }
.price-unit { font-size: 15px; color: var(--text-on-light-muted); padding-bottom: 8px; }
.side-card { background: var(--ha-deep-dark); color: var(--text-primary); border-radius: 10px; padding: 40px; display: flex; flex-direction: column; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--ha-linen-200); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; text-align: left; font-family: var(--font-body); color: var(--text-on-light);
}
.faq-q .qt { font-size: 21px; font-weight: 700; }
.faq-q .sign { font-family: var(--font-display); font-size: 30px; color: var(--ha-blush-deep); line-height: 1; }
.faq-a { padding: 0 0 28px; font-size: 17px; color: var(--text-on-light-muted); line-height: 1.7; max-width: 720px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-secondary); }
.g-linen .field label, .g-offwhite .field label, .g-blush .field label { color: var(--text-on-light-muted); }
.input, .textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ha-off-white);
  background: var(--ha-deep-dark-900); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 13px 16px; outline: none; width: 100%;
  transition: border-color .18s;
}
.input:focus, .textarea:focus { border-color: var(--ha-sky); }
.textarea { resize: vertical; min-height: 110px; }
/* light-context inputs */
.form-light .input, .form-light .textarea {
  color: var(--ha-deep-dark); background: var(--ha-off-white);
  border: 1.5px solid rgba(46,44,57,0.18);
}
.form-note { font-size: 13px; color: var(--text-muted); text-align: center; }
.g-blush .form-note { color: var(--ha-deep-dark); opacity: 0.7; }

/* honeypot — visually hidden */
.hp-wrap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* error / success banners */
.banner {
  border-radius: 12px; padding: 16px 20px; font-size: 15px; line-height: 1.5; margin-bottom: 22px;
}
.banner-error { background: rgba(215,112,95,0.14); border: 1px solid #D7705F; color: #7a2c22; }
.banner-success { background: rgba(127,185,138,0.16); border: 1px solid #7FB98A; color: #2f5a37; }

/* card form panel on dark */
.form-panel { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-md); }

/* single email row (rate calculator) */
.email-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.email-row .input {
  flex: 1; min-width: 240px; color: var(--ha-deep-dark); background: var(--ha-off-white);
  border: 1.5px solid rgba(46,44,57,0.18); border-radius: 999px; padding: 14px 20px;
}

/* ---------- Footer ---------- */
.site-footer { padding: 64px 44px 40px; border-top: 1px solid var(--border-subtle); }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand .name { font-family: var(--font-display); font-size: 22px; }
.footer-brand .tag-script { font-family: var(--font-script); font-size: 30px; color: var(--ha-blush); margin-bottom: 6px; line-height: 1; }
.footer-brand .blurb { font-size: 14px; color: var(--text-muted); max-width: 320px; line-height: 1.6; margin-top: 10px; }
.footer-col .head { text-transform: uppercase; letter-spacing: var(--ls-label); font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col .links a, .footer-col .links span { color: var(--text-secondary); }
.footer-col .links a:hover { color: var(--ha-off-white); }
.footer-legal {
  max-width: var(--wrap); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stats { display: flex; gap: 44px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--ha-linen-200); }
.stat-n { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.stat-l { font-size: 13px; color: var(--text-on-light-muted); margin-top: 4px; }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: var(--wrap); margin: 0 auto; }
.statbar .n { font-family: var(--font-display); font-size: 46px; line-height: 1; }
.statbar .l { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

.dropcap::first-letter {
  font-family: var(--font-display); font-size: 76px; line-height: 0.7;
  float: left; padding: 8px 12px 0 0; color: var(--ha-blush-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section { padding-left: 22px; padding-right: 22px; }
  .nav { padding-left: 20px; padding-right: 20px; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 100%; right: 20px; left: 20px;
    flex-direction: column; align-items: flex-start; gap: 16px;
    background: var(--ha-linen); border: 1px solid var(--ha-linen-200);
    border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-md);
    display: none;
  }
  .on-dark .nav-links { background: var(--ha-deep-dark-700); border-color: var(--border-subtle); }
  .nav-links.open { display: flex; }
  .grid-2, .grid-3, .grid-4, .cols-3, .price-grid, .check-grid, .statbar { grid-template-columns: 1fr; gap: 30px; }
  .col-rule { padding: 0 0 4px 0; border-right: none; }
  h1.display { font-size: 46px !important; }
  h2.display { font-size: 34px !important; line-height: 1.08; }
  .script.big { font-size: 30px !important; }
  .wall { columns: 1; }
  .mod-row { grid-template-columns: 40px 1fr; gap: 4px 18px; }
  .mod-len { display: none; }
  .masthead { flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px; }
  .hide-sm { display: none !important; }
}
