/* =====================================================================
   BeTrueToYou.ca — Design System
   Warm, intentional, ceremonial · Cormorant Garamond + Poppins
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --ivory: #F3ECDF;
  --cream: #EDE3D1;
  --sand: #D9C8AC;
  --clay: #B47246;
  --clay-dark: #8F5832;
  --olive: #6C6A4E;
  --stone: #5E564C;
  --charcoal: #1C1814;
  --line: rgba(28, 24, 20, 0.14);
  --shadow-soft: 0 8px 30px rgba(28, 24, 20, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--ivory); }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--charcoal);
}
p { margin: 0 0 1em; }
ul { list-style: none; }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.section { padding: 140px 0; }
.section-sm { padding: 90px 0; }

/* Type utilities */
.eyebrow {
  display: inline-block; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--stone);
}
.eyebrow-light { color: var(--sand); border-color: rgba(243,236,223,0.3); }
.small {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); font-weight: 500;
}
.divider { width: 56px; height: 1px; background: var(--clay); margin: 32px 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 34px;
  background: var(--charcoal); color: var(--ivory) !important;
  font-family: 'Poppins', sans-serif; font-weight: 500;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--charcoal); cursor: pointer;
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--charcoal) !important; }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory) !important; }
.btn-light { background: var(--ivory); color: var(--charcoal) !important; border-color: var(--ivory); }
.btn-light:hover { background: var(--clay); border-color: var(--clay); color: var(--ivory) !important; }
.btn-light-outline { background: transparent; color: var(--ivory) !important; border-color: rgba(243,236,223,0.4); }
.btn-light-outline:hover { background: var(--ivory); color: var(--charcoal) !important; }

/* =========================== NAVIGATION =========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  background: rgba(243, 236, 223, 0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--charcoal); letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 12px; line-height: 1;
}
.nav-logo img { height: 40px; width: 40px; display: block; }
.nav-logo .wordmark { display: inline-block; }
.nav-logo em { color: var(--clay); font-style: normal; }
@media (max-width: 600px) {
  .nav-logo { font-size: 18px; gap: 10px; }
  .nav-logo img { height: 34px; width: 34px; }
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; color: var(--stone); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--clay);
}
.nav-cta {
  padding: 10px 22px !important; font-size: 11px !important;
  background: var(--charcoal); color: var(--ivory) !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--clay); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); margin: 5px 0; transition: .3s ease; }
@media (max-width: 980px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); padding: 24px 0; transform: translateY(-110%); transition: transform .35s ease; border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 32px; width: 100%; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.page { padding-top: 70px; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }

/* =========================== HEROES =========================== */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--charcoal); min-height: 600px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.55; background-size: cover; background-position: center; }
.hero-overlay::before { background-image: linear-gradient(180deg, rgba(28,24,20,0.4) 0%, rgba(28,24,20,0.6) 60%, rgba(28,24,20,0.85) 100%); opacity: 1; }
.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; color: var(--ivory); max-width: 880px; }
.hero-inner .eyebrow { color: var(--sand); border-color: rgba(243,236,223,0.3); }
.hero h1 { font-size: clamp(46px, 7vw, 96px); color: var(--ivory); margin: 22px 0 24px; font-style: italic; font-weight: 300; }
.hero h1 em { font-style: normal; color: var(--sand); }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(243,236,223,0.85); max-width: 640px; font-weight: 300; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(243,236,223,0.18); padding-top: 28px; }
.hero-meta div span { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(243,236,223,0.55); margin-bottom: 6px; }
.hero-meta div strong { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; color: var(--ivory); }

.hero-light { background: var(--ivory); min-height: 70vh; }
.hero-light::before { display: none; }
.hero-light .hero-inner { color: var(--charcoal); }
.hero-light h1 { color: var(--charcoal); }
.hero-light h1 em { color: var(--clay); }
.hero-light .hero-lead { color: var(--stone); }

/* Pulse / scarcity */
.scarcity { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243,236,223,0.75); }
.scarcity-light { color: var(--stone); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); animation: pulse 2.2s ease-out infinite; }
.pulse-light { background: var(--sand); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(180,114,70,0.6)} 70%{box-shadow:0 0 0 14px rgba(180,114,70,0)} 100%{box-shadow:0 0 0 0 rgba(180,114,70,0)} }

/* =========================== TWO-COLUMN INTRO =========================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.two-col h2 { font-size: clamp(36px, 4.5vw, 62px); font-style: italic; font-weight: 300; }
.two-col h2 em { font-style: normal; color: var(--clay); }
.two-col .body p { font-size: 17px; color: var(--stone); margin-bottom: 22px; }
.two-col .body p strong { color: var(--charcoal); font-weight: 500; }

/* =========================== SERVICES GRID =========================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--ivory); padding: 50px 40px; cursor: pointer;
  transition: background .4s ease, transform .4s ease;
  display: flex; flex-direction: column; min-height: 360px; position: relative;
}
.service:hover { background: var(--cream); }
.service .num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--clay); margin-bottom: 22px; }
.service h3 { font-size: 30px; margin-bottom: 14px; }
.service p { font-size: 15px; color: var(--stone); flex: 1; }
.service .arrow { display: inline-block; margin-top: 24px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); font-weight: 500; }
.service:hover .arrow { letter-spacing: 0.24em; }

/* =========================== CARDS / TESTIMONIALS =========================== */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.q-card { background: var(--ivory); padding: 42px 34px; border: 1px solid var(--line); border-radius: 4px; }
.q-card .stars { color: var(--clay); letter-spacing: 4px; font-size: 14px; margin-bottom: 18px; }
.q-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; font-weight: 300; color: var(--charcoal); line-height: 1.4; margin-bottom: 24px; }
.q-card cite { font-style: normal; font-size: 13px; letter-spacing: 0.1em; color: var(--stone); }
.q-card .q-foot { display: flex; align-items: center; gap: 14px; }
.q-card .q-photo { flex: 0 0 auto; }
.q-card .q-photo img { width: 52px; height: 52px; object-fit: cover; border-radius: 999px; border: 1px solid var(--line); display: block; }
.q-leave-cta { text-align: center; margin-top: 56px; }
.q-leave-cta a { display: inline-block; padding: 14px 28px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; transition: all .3s ease; background: transparent; }
.q-leave-cta a:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

/* =========================== METRICS BAR =========================== */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 60px; border-top: 1px solid var(--line); margin-top: 90px; }
.metric { text-align: center; }
.metric-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 56px; font-weight: 300; color: var(--clay); line-height: 1; margin-bottom: 8px; }
.metric span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }

/* =========================== FAQ =========================== */
.faq details { border-top: 1px solid var(--line); padding: 28px 0; cursor: pointer; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--charcoal); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: 'Poppins', sans-serif; font-weight: 200; font-size: 28px; color: var(--clay); transition: transform .35s ease; margin-left: 24px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 16px; color: var(--stone); font-size: 16px; max-width: 860px; }
.faq details a { color: var(--clay); border-bottom: 1px solid var(--clay); }

/* =========================== CTA SECTIONS =========================== */
.cta-dark { background: var(--charcoal); color: var(--ivory); position: relative; overflow: hidden; }
.cta-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(180,114,70,0.25), transparent 55%), radial-gradient(circle at 85% 80%, rgba(108,106,78,0.2), transparent 50%); pointer-events: none; }
.cta-dark .cta-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-dark h2 { color: var(--ivory); font-size: clamp(40px, 5.5vw, 72px); margin: 24px 0 22px; font-style: italic; font-weight: 300; }
.cta-dark h2 em { font-style: normal; color: var(--sand); }
.cta-dark p { color: rgba(243,236,223,0.78); font-size: 17px; font-weight: 300; margin-bottom: 36px; }

/* =========================== FORMS =========================== */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
.form input, .form textarea, .form select {
  width: 100%; padding: 18px 20px; background: transparent; color: inherit;
  border: 1px solid rgba(243,236,223,0.3); font-family: 'Poppins', sans-serif; font-size: 14px; border-radius: 4px;
  outline: none; transition: border-color .3s ease;
}
.form-light input, .form-light textarea { border-color: var(--line); color: var(--charcoal); }
.form input::placeholder { color: rgba(243,236,223,0.55); }
.form-light input::placeholder { color: var(--stone); }
.form input:focus { border-color: var(--sand); }
.form-light input:focus { border-color: var(--clay); }
.form input[type="email"], .form textarea { grid-column: 1 / -1; }
.form button {
  grid-column: 1 / -1; margin-top: 6px; background: var(--ivory); color: var(--charcoal); border: none;
  padding: 18px 34px; font-family: 'Poppins', sans-serif; font-weight: 500;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.form button:hover { background: var(--clay); color: var(--ivory); transform: translateY(-2px); }
.form-light button { background: var(--charcoal); color: var(--ivory); }
.form-light button:hover { background: var(--clay); }
.form-note { margin-top: 18px; font-size: 12px; letter-spacing: 0.08em; text-align: center; color: rgba(243,236,223,0.55); }
.form-light .form-note { color: var(--stone); }
.form-success { display: none; margin-top: 24px; color: var(--sand); font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; text-align: center; }
.form-light .form-success { color: var(--clay); }

/* =========================== FOOTER =========================== */
.footer { background: var(--charcoal); color: rgba(243,236,223,0.7); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer h4 { color: var(--sand); font-family: 'Poppins', sans-serif; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 32px; color: var(--ivory); margin-bottom: 14px; }
.footer-brand em { color: var(--sand); font-style: normal; }
.footer p { font-size: 14px; color: rgba(243,236,223,0.65); }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 14px; color: rgba(243,236,223,0.7); }
.footer ul a:hover { color: var(--sand); }
.footer-corp { background: rgba(180,114,70,0.08); border: 1px solid rgba(243,236,223,0.1); border-radius: 4px; padding: 32px; margin-bottom: 50px; text-align: center; }
.footer-corp h4 { margin-bottom: 10px; }
.footer-corp p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--ivory); margin-bottom: 14px; }
.footer-corp a { color: var(--sand); border-bottom: 1px solid var(--sand); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(243,236,223,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 12px; letter-spacing: 0.1em; color: rgba(243,236,223,0.45); }
.socials { display: flex; gap: 16px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(243,236,223,0.2); border-radius: 50%; color: rgba(243,236,223,0.7); transition: .3s ease; }
.social:hover { background: var(--clay); border-color: var(--clay); color: var(--ivory); }
.social svg { width: 18px; height: 18px; }

/* =========================== QUIZ =========================== */
.quiz-stage { max-width: 760px; margin: 0 auto; padding: 60px 0; }
.quiz-progress { height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 60px; }
.quiz-progress-bar { height: 100%; background: var(--clay); width: 0; transition: width .4s ease; }
.quiz-step { display: none; animation: fadeIn .6s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz-q { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(28px, 4vw, 44px); color: var(--charcoal); margin-bottom: 36px; line-height: 1.2; }
.quiz-q em { color: var(--clay); font-style: normal; }
.quiz-num { font-size: 12px; letter-spacing: 0.22em; color: var(--clay); margin-bottom: 16px; text-transform: uppercase; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  padding: 22px 26px; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
  cursor: pointer; transition: all .3s ease; font-size: 16px; color: var(--charcoal); text-align: left; font-family: inherit;
}
.quiz-opt:hover { border-color: var(--clay); background: var(--cream); transform: translateX(6px); }
.quiz-opt.selected { border-color: var(--clay); background: var(--cream); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 50px; }
.quiz-nav .btn-back { background: transparent; color: var(--stone) !important; border-color: var(--line); }
.quiz-nav .btn-back:hover { color: var(--charcoal) !important; border-color: var(--charcoal); background: transparent; }

/* Quiz capture form */
.quiz-capture { max-width: 520px; margin: 0 auto; }
.quiz-capture h2 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 16px; font-style: italic; font-weight: 300; }
.quiz-capture h2 em { color: var(--clay); font-style: normal; }
.quiz-capture p { color: var(--stone); margin-bottom: 32px; }
.quiz-capture .form { max-width: 100%; }

/* Quiz result */
.quiz-result { text-align: center; padding: 60px 0; }
.quiz-result .archetype { font-size: 13px; letter-spacing: 0.3em; color: var(--clay); text-transform: uppercase; margin-bottom: 18px; }
.quiz-result h2 { font-size: clamp(40px, 6vw, 80px); font-style: italic; font-weight: 300; margin-bottom: 24px; }
.quiz-result h2 em { color: var(--clay); font-style: normal; }
.quiz-result-desc { max-width: 640px; margin: 0 auto 40px; font-size: 17px; color: var(--stone); }
.quiz-result-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .section-sm { padding: 72px 0; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 110px 0 90px; }
  h1 { line-height: 1.12; }
  h2 { line-height: 1.12; }
}
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 100px 0 80px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); margin: 18px 0 18px; }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-meta { gap: 22px; margin-top: 36px; padding-top: 22px; }
  .hero-cta { gap: 12px; margin-top: 28px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  h2 { font-size: clamp(30px, 7vw, 44px) !important; }
  .quiz-stage { padding: 30px 0; }
  .metric-num { font-size: 44px; }
  .service { padding: 40px 28px; min-height: auto; }
  .q-card { padding: 32px 26px; }
  .q-card blockquote { font-size: 19px; }
  .form { gap: 12px; }
  .nav-cta { padding: 9px 18px !important; font-size: 10px !important; }
  /* Bottom safe-area for footers/buttons on iPhone */
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}
