/* ============================================================
   Mayim Vega — mayimvega.com
   Arukah brand palette · Cormorant + Gotu
   ============================================================ */

:root {
  --black:      #000000;
  --dark-teal:  #174560;   /* headings, visited links */
  --dark-gray:  #232323;   /* nav + footer background */
  --magenta:    #8E1E5B;   /* alerts / urgency — sparing */
  --teal:       #009BA4;   /* links, icons, highlights */
  --gold:       #D7A847;   /* primary accent, CTAs */
  --gold-light: #E6C277;
  --ivory:      #FAF7F0;
  --paper:      #FFFFFF;
  --ink:        #1C2B33;

  --font-head: 'Cormorant', Georgia, serif;
  --font-body: 'Gotu', system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark-teal);
}
/* main headings in magenta on light backgrounds (dark sections override to white) */
h1, h2 { color: var(--magenta); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin-bottom: 1rem; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--magenta); }
a:visited:not(.btn):not(.nav-link):not(.card-link):not(.logo-link):not(.footer a) { color: var(--dark-teal); }

img { max-width: 100%; display: block; }

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

/* ---------- Section scaffolding ---------- */
section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: .75rem;
}
.gold-rule {
  width: 64px; height: 3px;
  background: var(--gold);
  border: 0; border-radius: 2px;
  margin: 1.1rem 0 1.6rem;
}
.center { text-align: center; }
.center .gold-rule { margin-left: auto; margin-right: auto; }

/* ============================================================
   Photographic section backgrounds — darkened / lightened in CSS
   Apply .bg-photo plus a tint class; set the image inline:
   style="--bg: url('images/teal-texture.jpg')"
   ============================================================ */
.bg-photo {
  background-image: linear-gradient(var(--tint), var(--tint2, var(--tint))), var(--bg);
  background-size: cover;
  background-position: center;
}
/* Parallax on desktop pointers only — touch browsers (iOS Safari etc.)
   handle fixed backgrounds badly, so they keep the normal behavior. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bg-photo { background-attachment: fixed; }
}
/* darkened — deep teal wash for white text */
.tint-dark   { --tint: rgba(13, 38, 54, .88); --tint2: rgba(23, 69, 96, .82); }
/* darkened — lighter wash, lets the photo show through more */
.tint-dark-soft { --tint: rgba(13, 38, 54, .55); --tint2: rgba(13, 38, 54, .62); }
.tint-dark-soft h1, .tint-dark-soft h2, .tint-dark-soft .eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.tint-dark-soft .card h3, .tint-dark-soft .card p, .tint-dark-soft .card a { text-shadow: none; }
/* darkened — near-black, warmer, for hero / quotes */
.tint-night  { --tint: rgba(5, 14, 20, .85); --tint2: rgba(13, 38, 54, .78); }
/* darkened — deep olive-green + gold warmth, matches the book cover */
.tint-forest { --tint: rgba(22, 24, 8, .88); --tint2: rgba(48, 41, 18, .78); }
/* lightened — ivory wash for dark text over photos */
.tint-light  { --tint: rgba(250, 247, 240, .93); --tint2: rgba(250, 247, 240, .88); }
/* lightened — softer, photo shows a little more */
.tint-veil   { --tint: rgba(255, 255, 255, .86); --tint2: rgba(250, 247, 240, .80); }

.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark { color: rgba(255,255,255,.88); }
.on-dark .eyebrow { color: var(--gold-light); }
.on-dark a:not(.btn) { color: var(--gold-light); }
.on-dark a:not(.btn):hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
}
.btn-gold {
  background: var(--teal);
  color: #fff !important;
}
.btn-gold:hover { background: var(--magenta); border-color: var(--magenta); color: #fff !important; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal) !important; }
.btn-outline:hover { background: var(--magenta); border-color: var(--magenta); color: #fff !important; }
/* On dark backgrounds, teal-on-teal is unreadable — switch outline buttons to white */
.on-dark .btn-outline { color: #fff !important; border-color: #fff; }
.on-dark .btn-outline:hover { background: var(--magenta); border-color: var(--magenta); }
.btn-outline-dark { background: transparent; border-color: var(--dark-teal); color: var(--dark-teal) !important; }
.btn-outline-dark:hover { background: var(--magenta); border-color: var(--magenta); color: #fff !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.6rem; }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.logo-link img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link {
  color: rgba(255,255,255,.92) !important;
  font-size: .92rem;
  letter-spacing: .04em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--gold-light) !important; border-bottom-color: var(--magenta); }
.nav-link.active { color: var(--gold-light) !important; border-bottom-color: var(--gold); }
.nav-cta { padding: 10px 22px; font-size: .85rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; margin: 5px auto;
  background: var(--gold); transition: .25s;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--black);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { max-height: 480px; padding-bottom: 18px; }
  .nav-links li { width: 100%; text-align: center; padding: 10px 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0; background: #FBFAF7; /* off-white */ }
.hero h1 { color: var(--dark-teal); } /* magenta reserved for keyword highlights */
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 600; }
.hero .lede { font-size: 1.08rem; margin-top: 1.4rem; }
.hero-book img {
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  transition: transform .3s;
}
.hero-book img:hover { transform: scale(1.02); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-book { max-width: 300px; margin: 0 auto; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 2.4rem; }
.card {
  background: var(--paper);
  border: 1px solid #E8E2D4;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 4px 18px rgba(23,69,96,.07);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card h3 a { color: var(--dark-teal); }
.card h3 a:hover { color: var(--magenta); }
.card p { margin-bottom: .9rem; font-size: .95rem; }
.card-link { font-size: .88rem; letter-spacing: .06em; color: var(--teal) !important; }
.card-link:hover { color: var(--magenta) !important; }

/* keep white cards readable inside dark photo sections */
.on-dark .card { color: var(--ink); }
.on-dark .card h3 a { color: var(--dark-teal); }
.on-dark .card h3 a:hover { color: var(--magenta); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 2.4rem; }
.quote {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  position: relative;
  border-left: 4px solid var(--gold);
}
.quote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 4.2rem; line-height: 1;
  color: var(--magenta);
  position: absolute; top: 10px; left: 20px;
  opacity: .35;
}
.quote p { font-size: .96rem; font-style: italic; }
.quote cite {
  display: block; margin-top: .4rem;
  font-style: normal; font-size: .9rem;
  color: var(--dark-teal); letter-spacing: .04em;
}

/* ---------- Two-column feature ---------- */
.feature-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.feature-grid img { border-radius: 6px; box-shadow: var(--shadow); }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid img { max-width: 280px; margin: 0 auto; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 2.2rem auto 0; }
.faq details {
  background: var(--paper);
  border: 1px solid #E8E2D4;
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-teal);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.5rem; font-family: var(--font-body);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary, .long-story[open] summary { color: var(--magenta); }
.faq details p { padding: 0 24px 20px; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 96px 0; }
.cta-band h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.cta-band .btn-row { justify-content: center; }
.phone-line { font-size: 1.05rem; margin-top: 1.2rem; letter-spacing: .03em; }

/* ---------- Footer ---------- */
.footer {
  background: #0d1114;
  color: rgba(255,255,255,.82);
  padding: 0 0 28px;
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.footer-quotes-band {
  background: linear-gradient(rgba(8, 13, 16, .76), rgba(8, 13, 16, .88)), url('images/butterfly.jpg') center/cover;
  padding: 64px 0 20px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-quotes-band { background-attachment: fixed; }
}
.footer-quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px;
  padding-bottom: 24px;
}
.footer-quotes blockquote { margin: 0; }
.footer-quotes p {
  font-style: italic; font-size: .86rem; line-height: 1.7;
  color: rgba(255,255,255,.72); margin-bottom: .5rem;
}
.footer-quotes p::before { content: "\201C"; color: var(--gold); }
.footer-quotes p::after { content: "\201D"; color: var(--gold); }
.footer-quotes cite { font-style: normal; font-size: .8rem; letter-spacing: .04em; color: var(--gold-light); }
.footer img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: .55rem; }
.footer a { color: rgba(255,255,255,.82) !important; }
.footer a:hover { color: var(--gold-light) !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 48px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Inner page header ---------- */
.page-header { padding: 84px 0 76px; }
.page-header h1 { max-width: 880px; }
.page-header .lede { max-width: 760px; font-size: 1.08rem; margin-top: 1.2rem; }
.breadcrumbs { font-size: .8rem; letter-spacing: .08em; margin-bottom: 1.2rem; color: rgba(255,255,255,.65); }
.breadcrumbs a { color: rgba(255,255,255,.85) !important; }
.breadcrumbs a:hover { color: var(--gold-light) !important; }

/* ---------- Prose blocks on inner pages ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.6rem; margin-bottom: .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: .4rem 0 1.2rem; }

/* gold-marker list */
.check-list { list-style: none; margin: .8rem 0 1.4rem; }
.check-list li { position: relative; padding-left: 1.9em; margin-bottom: .6rem; }
.check-list li::before {
  content: "\2726";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}

/* open FAQ (visible Q&A for AEO) */
.qa { max-width: 820px; margin: 0 auto 1.8rem; }
.qa h3 { margin-bottom: .4rem; }
.qa p { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid #E8E2D4;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  max-width: 560px;
}
.form-card label {
  display: block;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dark-teal);
  margin: 1.1rem 0 .35rem;
}
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #FCFBF8;
  border: 1px solid #D8D2C4;
  border-radius: 8px;
  padding: 12px 14px;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.form-card button { margin-top: 1.5rem; width: 100%; }
.form-success {
  display: none;
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 1.02rem;
  color: var(--dark-teal);
}

/* long-form story drop-down (About page) */
.long-story {
  margin-top: 2.6rem;
  background: var(--ivory);
  border: 1px solid #E8E2D4;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
}
.long-story summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 60px 22px 26px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark-teal);
  position: relative;
}
.long-story summary::-webkit-details-marker { display: none; }
.long-story summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.6rem; font-family: var(--font-body);
}
.long-story[open] summary::after { content: "\2212"; }
.long-story .story-body { padding: 0 26px 28px; }
.long-story h3 { margin: 1.7rem 0 .5rem; }
.long-story .story-body > p:first-child { margin-top: .4rem; }

/* podcast feature */
.podcast-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.podcast-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 880px) {
  .podcast-grid { grid-template-columns: 1fr; }
  .podcast-grid img { max-width: 260px; margin: 0 auto; }
}

.section-ivory { background: var(--ivory); }

/* ---------- Misc ---------- */
.lead { font-size: 1.12rem; }
.tag-magenta {
  display: inline-block;
  background: var(--magenta); color: #fff;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px;
  margin-bottom: 1rem;
}

/* ===== Fiverr-style pricing packages ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 2.4rem; align-items: stretch;
}
.price-card {
  background: var(--paper);
  border: 1px solid #E8E2D4; border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured { border-top-color: var(--magenta); box-shadow: var(--shadow); }
.price-card .tier {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .3rem;
}
.price-card.featured .tier { color: var(--magenta); }
.price-card h3 { margin: 0 0 .2rem; }
.price-card .price { font-size: 2.1rem; font-weight: 700; color: var(--dark-teal); line-height: 1.2; }
.price-card .delivery { font-size: .85rem; color: #6b6b6b; margin-bottom: 1rem; }
.price-card .check-list { flex: 1; font-size: .95rem; }
.price-card .btn { margin-top: auto; align-self: stretch; text-align: center; }
.popular-tag {
  position: absolute; top: -13px; right: 20px;
  background: var(--magenta); color: #fff;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px;
}
.card-price { display: block; font-weight: 700; color: var(--dark-teal); margin-bottom: .6rem; }
