/* ============================================================
   Eternal Treasures — brand stylesheet
   Palette: deep navy + gold + cream (trust / heritage / luxury)
   Type: Playfair Display (display) + Inter (body)
   ============================================================ */

:root {
  --navy: #0a2240;
  --navy-2: #0e2c52;
  --navy-3: #133764;
  --gold: #c5a268;
  --gold-light: #e3cfa4;
  --gold-dark: #84682c;
  --cream: #f8f4ec;
  --ink: #16202e;
  --grey: #55617a;
  --grey-light: #aab4c8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(10, 34, 64, 0.12);
  --shadow-sm: 0 6px 18px rgba(10, 34, 64, 0.10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Entrance logo reveal (enhanced by js/main.js only) ---------- */
.entrance-loader {
  --entrance-loader-ready: 1;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  background: var(--navy);
}
.entrance-loader[hidden] { display: none !important; }
.entrance-loader.is-active { display: flex; }
.entrance-loader__mark { width: min(90vw, 560px); text-align: center; }
.entrance-loader__logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.entrance-loader__wordmark {
  display: block;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: .03em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.entrance-loader__line {
  display: block;
  height: 1px;
  margin: 18px auto 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .48s cubic-bezier(.16,1,.3,1) .34s;
  will-change: transform;
}
.entrance-loader.is-revealing .entrance-loader__logo,
.entrance-loader.is-revealing .entrance-loader__wordmark { opacity: 1; transform: translateY(0); }
.entrance-loader.is-revealing .entrance-loader__line { transform: scaleX(1); }
.entrance-loader.is-leaving { transform: translateY(-100%); transition: transform .6s cubic-bezier(.7,0,1,1); }
@media (prefers-reduced-motion: reduce) {
  .entrance-loader, .entrance-loader.is-active { display: none; }
}

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

h1, h2, h3, .display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
section h2 { text-wrap: balance; }

.script-accent {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}
.bg-navy .script-accent, .hero .script-accent { color: var(--gold-light); }

p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--grey); }

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

section { padding: clamp(64px, 9vw, 110px) 0; }

.bg-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: var(--grey-light); }
.bg-cream { background: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.bg-navy .eyebrow { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 34, 64, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197,162,104,.25);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.nav-brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 10px 22px; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--gold-light); }

/* dropdown — opens on hover AND click; ::before bridge removes the hover gap */
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: .7em; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 620px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: grid; }
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--navy) !important;
  font-weight: 600;
}
.dropdown-menu a small { display: block; color: var(--grey); font-weight: 400; font-size: .82rem; }
.dropdown-menu a:hover { background: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: .2s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
    border-bottom: 1px solid rgba(197,162,104,.25);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a { display: block; padding: 14px 4px; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; background: rgba(255,255,255,.05); min-width: 0; display: block; margin-top: 0; grid-template-columns: 1fr; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { color: rgba(255,255,255,.85) !important; }
  .dropdown-menu a small { color: var(--grey-light); }
  .dropdown-menu a:hover { background: rgba(255,255,255,.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,34,64,.92) 35%, rgba(10,34,64,.55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .tagline { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--gold-light); font-family: "Playfair Display", serif; font-style: italic; margin-bottom: 26px; }
.hero p.lead { color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 36px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.pill {
  border: 1px solid rgba(227,207,164,.5);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: .88rem;
  letter-spacing: .06em;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* page hero (inner pages) */
.page-hero { padding: clamp(70px, 9vw, 110px) 0; }
.page-hero .breadcrumb { font-size: .85rem; color: var(--gold-light); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--gold-light); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split.reverse > .split-img { order: 2; }
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.split h2 { margin-bottom: 18px; }
.split p { color: var(--grey); margin-bottom: 16px; }
.bg-navy .split p { color: var(--grey-light); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-img { order: 0; }
}

/* ---------- Stat band ---------- */
.stat-band { text-align: center; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  font-weight: 700;
}
.stat-label { color: var(--grey-light); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-top: 6px; }
@media (max-width: 899px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; gap: 36px; } }

/* big hook number */
.hook-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 8vw, 5.5rem);
  color: var(--gold);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 50px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--grey); font-size: .95rem; }
.card .card-link { margin-top: auto; color: var(--gold-dark); font-weight: 600; font-size: .92rem; }
.card-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(197,162,104,.18), rgba(197,162,104,.08));
  border: 1px solid rgba(197,162,104,.4);
  filter: grayscale(35%) sepia(12%);
}

/* ---------- Testimonials ---------- */
.testimonials { overflow: hidden; }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(197,162,104,.3);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card blockquote { color: rgba(255,255,255,.92); font-size: .98rem; line-height: 1.7; }
.testimonial-card blockquote::before { content: "“"; font-family: "Playfair Display", serif; font-size: 2.6rem; color: var(--gold); display: block; line-height: .6; margin-bottom: 12px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.testimonial-person strong { color: var(--white); display: block; font-size: .95rem; }
.testimonial-person span { color: var(--grey-light); font-size: .82rem; }
@media (max-width: 880px) { .testimonial-track { grid-template-columns: 1fr; } }

/* ---------- Quote / scripture blocks ---------- */
.scripture {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.scripture blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--navy);
  line-height: 1.5;
}
.bg-navy .scripture blockquote { color: var(--gold-light); }
.scripture cite { display: block; margin-top: 18px; color: var(--gold-dark); font-style: normal; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.bg-navy .scripture cite { color: var(--gold); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 22px 0; display: grid; gap: 14px; }
.checklist li { padding-left: 34px; position: relative; color: var(--grey); }
.checklist li::before {
  content: "✦";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-size: 1.05rem;
}
.checklist li strong { color: var(--navy); }

/* ---------- Process steps (1-2-3) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(197,162,104,.3);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.step .step-num {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--grey-light); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(10,34,64,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--grey); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 46px;
}
.contact-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(197,162,104,.3);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(197,162,104,.12); }
.contact-card .ci { font-size: 1.8rem; margin-bottom: 10px; }
.contact-card strong { display: block; color: var(--white); margin-bottom: 4px; }
.contact-card span { color: var(--grey-light); font-size: .88rem; word-break: break-word; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 640px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
footer {
  background: #071730;
  color: var(--grey-light);
  padding: 64px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
footer .footer-title { color: var(--white); font-family: "Playfair Display", serif; margin-bottom: 16px; font-size: 1.1rem; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer a { color: var(--grey-light); text-decoration: none; }
footer a:hover { color: var(--gold-light); }
.footer-verse { font-style: italic; color: var(--gold-light); font-family: "Playfair Display", serif; margin-top: 14px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: .8rem;
  color: #7a87a0;
  display: grid;
  gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #25d366;
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Placeholder marker (review aid — remove class when real asset in) ---------- */
.placeholder { outline: 2px dashed rgba(197,162,104,.7); outline-offset: 4px; position: relative; }
.placeholder::after {
  content: "PLACEHOLDER — confirm";
  position: absolute;
  top: -12px; right: -6px;
  background: var(--gold);
  color: var(--navy);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 44px; }
.section-head { max-width: 760px; margin-bottom: 8px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Attribution under a headline figure. Must stay visible text — never a tooltip or
   hover. A big number with no source on screen is the first thing a reviewer circles. */
.stat-source{
  font-size:.78rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--grey);
  margin:-6px 0 18px;
}
.bg-navy .stat-source, .hero .stat-source{ color:rgba(255,255,255,.62); }

/* Generic-draft legal block in the footer. Small, readable, never hidden. */
.legal-disclosure{ font-size:.8rem; line-height:1.6; color:var(--grey-light); max-width:80ch; }
.legal-disclosure a{ color:var(--gold-light); text-decoration:underline; text-underline-offset:2px; }
.legal-disclosure a:hover{ color:var(--white); }

/* Line icons replacing the emoji card glyphs. */
.card-icon svg{ width:30px; height:30px; display:block; }
.contact-card .ci { color: var(--gold); }
.contact-card .ci svg { width: 30px; height: 30px; display: block; margin: 0 auto; }

/* Four headline services above; everything else demoted below this label. */
.also-advising{
  margin:52px 0 18px;
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--grey);
}
.cards-secondary .card{ padding:22px 24px; }
.cards-secondary .card h3{ font-size:1.02rem; }
.cards-secondary .card p{ font-size:.88rem; }
.cards-secondary .card-icon svg{ width:22px; height:22px; }

/* Business Succession case study - the strongest block once its details land. */
.case-study{ margin:26px 0; padding:22px 24px; border-left:3px solid var(--gold); background:rgba(197,162,104,.07); }
.case-study figcaption{ font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-dark); margin-bottom:14px; }
.case-study dl{ margin:0; }
.case-study dt{ font-weight:600; font-size:.9rem; margin-top:12px; }
.case-study dd{ margin:2px 0 0; font-size:.92rem; color:var(--grey); }
.case-study > p{ margin:16px 0 0; font-size:.82rem; font-style:italic; color:var(--grey); }
