/* =============================================================
   THE SOUL LIGHTHOUSE — Website styles
   Built on design tokens in ../colors_and_type.css
   ============================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--alabaster); color: var(--oxford); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sl-icon svg, [data-lucide] { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.measure { max-width: 60ch; }

/* ---------- atoms ---------- */
.eyebrow { font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.eyebrow.on-dark { color: var(--gold); }
.gold-rule { width: 34px; height: 1px; background: var(--gold); margin: 0 0 22px; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

.display { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: .01em; color: var(--oxford); font-size: var(--fs-display); margin: 0; }
h1, h2, h3, h4 { margin: 0; }
.h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: 1.18; color: var(--oxford); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.22; color: var(--oxford); }
.h3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; color: var(--oxford); }
.serif-lg { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(1.5rem,2.4vw,2.1rem); line-height: 1.35; }
.lede { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: var(--slate); }
.body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--oxford); }
.muted { color: var(--slate); }
.gold-text { color: var(--gold-deep); }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: var(--ls-button); padding: 16px 32px; border-radius: var(--radius-xs); cursor: pointer; transition: all var(--dur-base) var(--ease-calm); display: inline-flex; align-items: center; justify-content: center; gap: 9px; line-height: 1; border: 1px solid transparent; text-decoration: none; }
.btn .sl-icon, .btn [data-lucide] { width: 16px; height: 16px; }
.btn-primary { background: var(--oxford); color: var(--alabaster); border-color: var(--oxford); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-secondary { background: transparent; color: var(--oxford); border-color: var(--oxford); }
.btn-secondary:hover { background: var(--oxford); color: var(--alabaster); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); box-shadow: var(--shadow-gold); }
.btn-light { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-light:hover { background: var(--alabaster); color: var(--oxford); border-color: var(--alabaster); }
.btn-outline-light { background: transparent; color: var(--alabaster); border-color: rgba(251,251,249,.4); }
.btn-outline-light:hover { background: var(--alabaster); color: var(--oxford); border-color: var(--alabaster); }
.btn-ghost { background: none; border: none; color: var(--gold-deep); text-transform: none; letter-spacing: .02em; font-size: 14px; padding: 8px 0; }
.btn-ghost:hover { color: var(--gold); gap: 12px; }
.btn-block { width: 100%; }

.link-more { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; letter-spacing: .04em; color: var(--gold-deep); text-decoration: none; transition: gap var(--dur-fast); font-weight: 500; }
.link-more [data-lucide] { width: 15px; height: 15px; }
.link-more:hover { gap: 11px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(251,251,249,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand > span { display: flex; flex-direction: column; }
.brand .bn { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: .06em; color: var(--oxford); line-height: 1; }
.brand .bs { display: block; }
.brand .bs { font-size: 8px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 14px; color: var(--slate); text-decoration: none; letter-spacing: .01em; transition: color var(--dur-fast); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--gold-deep); }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-toggle { display: none; background: none; border: none; color: var(--oxford); cursor: pointer; padding: 6px; }
.nav-toggle [data-lucide] { width: 24px; height: 24px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 40px 28px; border-bottom: 1px solid var(--line-soft); background: var(--alabaster); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; font-size: 16px; color: var(--oxford); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- sections ---------- */
.section { padding: var(--space-10) 0; }
.section.sm { padding: var(--space-8) 0; }
.section.warm { background: var(--cashmere); }
.section.sage { background: var(--sage-wash); }
.section.dark { background: var(--oxford); color: var(--alabaster); }
.section.dark .h2, .section.dark .h1 { color: var(--alabaster); }
.section.dark .lede { color: rgba(251,251,249,.72); }
.sec-head { max-width: 64ch; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lede { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 96px; }
.hero .display { margin-top: 22px; max-width: 16ch; }
.hero .lede { margin-top: 26px; max-width: 52ch; }
.dual { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.dual .btn { padding: 18px 30px; }
.hero-sub { display: flex; gap: 40px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.hero-sub .hs-n { font-family: var(--font-display); font-size: 24px; color: var(--oxford); }
.hero-sub .hs-d { font-size: 13px; color: var(--slate); margin-top: 5px; }

/* page hero (interior) */
.page-hero { padding: 80px 0 72px; }
.page-hero.dark { background: var(--oxford); color: var(--alabaster); }
.page-hero.warm { background: var(--cashmere); }
.page-hero .h1 { margin-top: 16px; max-width: 20ch; }
.page-hero.dark .h1 { color: var(--gold); }
.page-hero .lede { margin-top: 22px; max-width: 60ch; }
.page-hero.dark .lede { color: rgba(251,251,249,.78); }

/* ---------- grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }

.card { background: #fff; border: 1px solid var(--cashmere-deep); border-radius: var(--radius-sm); padding: 38px 34px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.card.on-alabaster { border-color: var(--line); }
.card .ic { color: var(--gold-deep); margin-bottom: 20px; }
.card .ic [data-lucide] { width: 30px; height: 30px; stroke-width: 1.4; }
.card .num { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: 10px; }
.card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: var(--oxford); margin: 0 0 12px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--slate); margin: 0 0 18px; }
.card .price { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--gold-deep); margin: 0 0 18px; }
.card .card-foot { margin-top: auto; padding-top: 4px; }

/* dark cards (velvet rope) */
.card-dark { background: var(--oxford-soft); border: 1px solid rgba(212,175,55,.28); border-radius: var(--radius-sm); padding: 40px 34px; display: flex; flex-direction: column; }
.card-dark .ic { color: var(--gold); margin-bottom: 22px; }
.card-dark .ic [data-lucide] { width: 30px; height: 30px; stroke-width: 1.3; }
.card-dark h3 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: var(--alabaster); margin: 0 0 12px; }
.card-dark p { font-size: 15px; line-height: 1.7; color: rgba(251,251,249,.72); margin: 0; }

/* package list */
.packages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.packages li { font-family: var(--font-serif); font-size: 19px; color: var(--oxford); padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 12px; }
.packages li:last-child { border-bottom: none; }
.packages li [data-lucide] { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }

/* module chips */
.modules { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.module-chip { font-family: var(--font-body); font-size: 13px; letter-spacing: .02em; color: var(--oxford); background: var(--alabaster); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 9px 16px; }

/* ---------- callout / notice ---------- */
.notice { background: var(--gold-wash); border: 1px solid var(--line-gold); border-radius: var(--radius-sm); padding: 28px 32px; display: flex; gap: 16px; align-items: flex-start; }
.notice [data-lucide] { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--oxford); }
.notice.on-dark { background: rgba(212,175,55,.10); border-color: rgba(212,175,55,.3); }
.notice.on-dark p { color: var(--alabaster); }
.notice.on-dark [data-lucide] { color: var(--gold); }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testi { background: #fff; border: 1px solid var(--cashmere-deep); border-radius: var(--radius-sm); padding: 34px; box-shadow: var(--shadow-card); }
.testi .q-mark { color: var(--gold); margin-bottom: 14px; }
.testi .q-mark [data-lucide] { width: 30px; height: 30px; stroke-width: 1; }
.testi blockquote { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--oxford); margin: 0 0 20px; }
.testi .who { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }

.quote-feature { background: var(--oxford); color: var(--alabaster); }
.quote-feature blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem,2.6vw,2.3rem); line-height: 1.36; margin: 18px 0 0; }
.quote-feature .who { margin-top: 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-light); }

/* ---------- image placeholder ---------- */
.img-ph { background: var(--cashmere); border: 1px solid var(--cashmere-deep); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--slate-light); min-height: 260px; }
.img-ph [data-lucide] { width: 28px; height: 28px; }
.img-ph .l { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.img-ph.portrait { aspect-ratio: 4/5; }
.img-ph.dark { background: var(--oxford-soft); border-color: rgba(212,175,55,.25); color: rgba(251,251,249,.5); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--cashmere-deep); border-radius: var(--radius-sm); padding: 46px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 9px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--oxford); padding: 14px 16px; background: var(--alabaster); border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-light); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12.5px; color: var(--slate-light); display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.form-note [data-lucide] { width: 16px; height: 16px; color: var(--sage-deep); }
.confirm { text-align: center; padding: 26px 10px; }
.confirm .ok { width: 58px; height: 58px; border-radius: 50%; background: var(--sage-wash); color: var(--sage-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.confirm .ok [data-lucide] { width: 26px; height: 26px; }
.confirm h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--oxford); margin: 0 0 12px; }
.confirm p { font-size: 16px; color: var(--slate); margin: 0 auto; max-width: 40ch; line-height: 1.6; }

/* ---------- modal (path chooser) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-scrim { position: absolute; inset: 0; background: rgba(28,39,51,.55); backdrop-filter: blur(6px); animation: fade var(--dur-base) var(--ease-calm); }
.modal-card { position: relative; background: var(--alabaster); border-radius: var(--radius-md); max-width: 920px; width: 100%; padding: 56px 56px 44px; box-shadow: var(--shadow-lift); animation: rise var(--dur-slow) var(--ease-calm); }
.modal-card .m-head { text-align: center; max-width: 52ch; margin: 0 auto 36px; }
.modal-card .m-head .h2 { margin-top: 14px; }
.modal-card .m-head p { margin: 14px 0 0; color: var(--slate); font-size: 16px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choice { text-align: left; border-radius: var(--radius-sm); padding: 34px 32px; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; transition: transform var(--dur-base) var(--ease-calm), box-shadow var(--dur-base) var(--ease-calm); border: 1px solid transparent; }
.choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.choice .ic { margin-bottom: 22px; }
.choice .ic [data-lucide] { width: 30px; height: 30px; }
.choice .ce { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.choice h3 { font-family: var(--font-serif); font-weight: 600; font-size: 23px; margin: 0 0 10px; line-height: 1.2; }
.choice p { font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.choice .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.choice .go [data-lucide] { width: 15px; height: 15px; }
.choice-dark { background: var(--oxford); }
.choice-dark .ic, .choice-dark .ce, .choice-dark .go { color: var(--gold); }
.choice-dark h3 { color: var(--alabaster); }
.choice-dark p { color: rgba(251,251,249,.7); }
.choice-warm { background: var(--cashmere); border-color: var(--cashmere-deep); }
.choice-warm .ic, .choice-warm .ce, .choice-warm .go { color: var(--gold-deep); }
.choice-warm h3 { color: var(--oxford); }
.choice-warm p { color: var(--slate); }
.modal-dismiss { display: block; margin: 30px auto 0; background: none; border: none; color: var(--slate); font-family: var(--font-body); font-size: 13px; letter-spacing: .03em; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.modal-dismiss:hover { color: var(--gold-deep); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- footer ---------- */
.footer { background: var(--oxford); color: var(--alabaster); padding: 76px 0 40px; }
.footer .brand .bn { color: var(--alabaster); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .blurb { font-size: 14px; line-height: 1.65; color: rgba(251,251,249,.6); max-width: 32ch; margin-top: 18px; }
.footer h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 14px; color: rgba(251,251,249,.7); text-decoration: none; transition: color var(--dur-fast); }
.footer a:hover { color: var(--gold); }
.footer .contact-line { font-size: 14px; color: rgba(251,251,249,.7); line-height: 1.7; }
.footer-base { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(251,251,249,.12); flex-wrap: wrap; gap: 12px; }
.footer-base span { font-size: 12.5px; color: rgba(251,251,249,.45); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 40px 28px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mobile-menu { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .dual { flex-direction: column; }
  .dual .btn { width: 100%; }
}
