/* ============ DESIGN TOKENS ============
   Warm cinematic editorial style (Morph reference) — muted earthy palette,
   arch/pill photo crops, thin geometric mark icons, tracked corner labels. */
:root {
  --dark: #29251C;
  --charcoal: #262626;
  --gray: #76726C;
  --sand: #CFC3B2;
  --cream: #F4F1EB;
  --sage: #5F6B5D;
  --sage-light: #7C8A7E;

  --font-head: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-arch: 240px 240px 16px 16px;
  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-sm: 14px;

  --container: 1180px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

/* ============ RESET ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ============ REUSABLE ============ */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; text-align: center; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  max-width: 760px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-lead {
  color: var(--gray);
  font-size: 17px;
  max-width: 620px;
}
.section-lead.center { margin: 0 auto 44px; text-align: center; }

.section { padding: 110px 0; }
@media (max-width: 760px) { .section { padding: 72px 0; } }

.section-text p { margin-bottom: 16px; color: var(--charcoal); font-size: 17px; max-width: 640px; }
.section-text p:last-child { margin-bottom: 0; }

.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .section-grid { grid-template-columns: 1fr; gap: 24px; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--sage); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(41,37,28,.18); }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-ghost:hover { background: var(--dark); color: var(--cream); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--sand); width: 100%; justify-content: center; }
.btn-outline:hover { border-color: var(--sage); background: var(--sage); color: var(--cream); }
.btn-small { padding: 11px 20px; font-size: 14px; }

/* photo placeholders / frames — arch + pill crops */
.photo-placeholder, .photo-frame {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden;
}
.photo-placeholder {
  background: linear-gradient(155deg, var(--sand) 0%, var(--sage) 100%);
  color: var(--cream);
}
.photo-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px);
}
.photo-placeholder span { font-size: 13px; letter-spacing: .04em; opacity: .85; position: relative; }
.photo-placeholder svg { opacity: .85; position: relative; }
.photo-frame { background: var(--sand); }
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: sepia(.14) saturate(1.05) contrast(1.05) brightness(.97);
}
.photo-placeholder.arch, .photo-frame.arch { border-radius: var(--radius-arch); aspect-ratio: 4/5; }
.photo-placeholder.pill, .photo-frame.pill { border-radius: var(--radius-pill); aspect-ratio: 3/4; margin-bottom: 20px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* geometric mark icons (chevron / cross / double-chevron / equals) */
.mark-icon { display: block; color: currentColor; }
.mark-row { display: flex; align-items: flex-start; }
.mark-item {
  flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: 0 22px; position: relative;
}
.mark-item:first-child { padding-left: 0; }
.mark-item:last-child { padding-right: 0; }
.mark-item + .mark-item::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px;
  background: currentColor; opacity: .25;
}
.mark-underline { width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.mark-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  color: var(--cream);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: var(--dark);
  box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 12px 30px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--cream); }
.logo-mark { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: var(--sand); color: var(--dark); border-radius: 9px; }

.header-icons { display: flex; align-items: center; gap: 22px; }
.header-icons a { display: flex; opacity: .8; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.header-icons a:hover { opacity: 1; transform: translateY(-1px); }

.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--sage-light); transition: width .25s var(--ease); }
.nav a:hover::after { width: 100%; }
.nav-cta { margin-left: auto; }
.nav-cta.btn-primary { background: var(--sand); color: var(--dark); }
.nav-cta.btn-primary:hover { background: var(--cream); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--cream); }

.mobile-nav {
  display: none;
  flex-direction: column; gap: 4px;
  background: var(--dark);
  color: var(--cream);
  padding: 0 28px;
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.mobile-nav.open { max-height: 460px; padding: 8px 28px 24px; }
.mobile-nav a { padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(244,241,235,.12); }
.mobile-nav .btn { margin-top: 14px; justify-content: center; }
.mobile-nav .header-icons { padding: 14px 0 6px; border-bottom: 1px solid rgba(244,241,235,.12); }

@media (max-width: 900px) {
  .nav, .nav-cta, .header-inner .header-icons { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: flex; }
}

/* ============ HERO ============ */
.hero { position: relative; background: var(--dark); color: var(--cream); overflow: hidden; }
.hero-media { position: relative; min-height: 640px; display: flex; flex-direction: column; }
.hero-media .photo-frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero-media .photo-frame img { filter: sepia(.22) saturate(1.15) contrast(1.08) brightness(.55); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41,37,28,.35) 0%, rgba(41,37,28,.15) 40%, rgba(41,37,28,.75) 100%);
}
.hero-center {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
}
.hero-badge {
  display: inline-flex; padding: 8px 20px; border: 1px solid rgba(244,241,235,.4); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-title { font-size: clamp(34px, 5.4vw, 60px); margin-bottom: 36px; max-width: 780px; }
.hero-title br { content: ""; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn-ghost { color: var(--cream); border-color: rgba(244,241,235,.5); }
.hero-actions .btn-ghost:hover { background: var(--cream); color: var(--dark); }
.hero-actions .btn-primary { background: var(--cream); color: var(--dark); }
.hero-actions .btn-primary:hover { background: var(--sage); color: var(--cream); }

@media (max-width: 760px) {
  .hero-media { min-height: 560px; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
}

/* ============ PROBLEM / PHILOSOPHY ============ */
.problem { background: var(--sand); }
.philosophy-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.quote { font-family: var(--font-head); font-size: clamp(22px, 3vw, 30px); font-weight: 600; line-height: 1.3; margin-bottom: 30px; }
.philosophy .section-text { text-align: left; margin-bottom: 36px; }
.philosophy .section-text p { max-width: none; }

/* ============ BENEFITS ============ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-top: 54px; }
.benefit-item { display: flex; align-items: flex-start; gap: 16px; }
.benefit-item .mark-icon { flex: none; color: var(--sage); margin-top: 2px; }
.benefit-item h3 { font-size: 17px; margin-bottom: 4px; }
.benefit-item p { color: var(--gray); font-size: 14.5px; }
@media (max-width: 760px) { .benefits-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ============ DIRECTIONS ============ */
.directions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 50px; }
.direction-card { text-align: center; }
.direction-card .pill { max-width: 190px; margin-left: auto; margin-right: auto; }
.direction-card .icon-mark-badge {
  width: 84px; height: 84px; border-radius: var(--radius-pill);
  background: var(--dark); color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.direction-card h3 { font-size: 19px; margin-bottom: 10px; }
.direction-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 8px; }
.direction-card p:last-of-type { margin-bottom: 0; }
.direction-card .direction-note { color: var(--sage); font-size: 12.5px; font-weight: 600; margin-top: 10px; letter-spacing: .02em; }
.direction-card .btn { margin-top: 14px; padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 980px) { .directions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .directions-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* ============ PROCESS / TIMELINE ============ */
.process { background: var(--dark); color: var(--cream); }
.process .eyebrow { color: var(--sand); }
.process .section-title { color: var(--cream); }
.timeline { position: relative; max-width: 720px; margin: 60px auto 0; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1.5px; background: rgba(244,241,235,.18); }
.timeline-item { display: flex; gap: 26px; position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 20px;
  position: relative; z-index: 1;
}
.timeline-body h3 { font-size: 19px; margin-bottom: 8px; color: var(--cream); }
.timeline-body p { color: var(--sand); font-size: 15px; max-width: 520px; }

/* ============ QUIZ ============ */
.quiz-section { background: var(--cream); }
.quiz-card {
  max-width: 640px; margin: 50px auto 0;
  background: #fff; border-radius: var(--radius-card);
  padding: 44px 40px 40px;
  box-shadow: 0 20px 60px rgba(41,37,28,.08);
}
@media (max-width: 560px) { .quiz-card { padding: 32px 22px 28px; } }

.quiz-progress { height: 4px; background: rgba(41,37,28,.08); border-radius: 4px; margin-bottom: 34px; overflow: hidden; }
.quiz-progress-bar { height: 100%; width: 14.28%; background: var(--sage); border-radius: 4px; transition: width .4s var(--ease); }

.quiz-q { font-size: 22px; margin-bottom: 22px; }
.quiz-input {
  width: 100%; padding: 15px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand); background: var(--cream);
  font-size: 16px; margin-bottom: 14px; transition: border-color .2s;
}
.quiz-input:focus { outline: none; border-color: var(--sage); }
.quiz-textarea { min-height: 90px; resize: vertical; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.quiz-option:hover { border-color: var(--sage-light); }
.quiz-option input { accent-color: var(--sage); width: 18px; height: 18px; flex: none; }
.quiz-option:has(input:checked) { border-color: var(--sage); background: rgba(95,107,93,.08); }
.quiz-option span { font-size: 15.5px; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.quiz-nav .btn-primary { margin-left: auto; }

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
.quiz-step.shake { animation: shake .4s; }

.quiz-result { text-align: center; padding: 10px 0; }
.quiz-result-badge {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-pill);
  background: rgba(95,107,93,.12); color: var(--sage); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px;
}
.quiz-result h3 { font-size: 26px; margin-bottom: 14px; }
.quiz-result p { color: var(--charcoal); font-size: 15.5px; margin-bottom: 26px; max-width: 480px; margin-left: auto; margin-right: auto; }
.quiz-restart { display: block; margin: 18px auto 0; font-size: 14px; color: var(--gray); text-decoration: underline; }

/* ============ PRICING ============ */
.pricing { background: var(--sand); }
#offline-pricing { margin-top: 100px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card {
  background: var(--cream); border-radius: var(--radius-card); padding: 36px 30px;
  border: 1.5px solid transparent; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(41,37,28,.1); }
.price-card-featured { background: var(--dark); color: var(--cream); }
.price-card-featured .price-desc { color: var(--sand); }
.price-card-featured .price-features li { color: var(--sand); }
.price-card-featured .price-per-unit { color: var(--sand); }
.price-badge {
  position: absolute; top: -14px; left: 30px;
  background: var(--sage); color: var(--cream); font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-value { font-family: var(--font-head); font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.price-value span { font-size: 15px; font-weight: 500; opacity: .7; }
.price-desc { color: var(--gray); font-size: 14.5px; margin-bottom: 20px; min-height: 44px; }
.price-features { margin-bottom: 26px; }
.price-features li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--charcoal); margin-bottom: 10px; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.price-per-unit { font-size: 14px; color: var(--gray); font-weight: 600; }

.pricing-cta { text-align: center; margin-top: 46px; }
.pricing-cta p { margin-top: 16px; color: var(--gray); font-size: 14px; max-width: 440px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .pricing-grid .price-card:not(:last-child){ margin-bottom: 4px;} #offline-pricing{margin-top:70px;} }

/* ============ QUALIFICATIONS ============ */
.quals-intro { max-width: 680px; margin: 0 auto 40px; text-align: center; color: var(--charcoal); font-size: 16px; }
.quals-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.quals-tag {
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--sand); font-size: 14px; font-weight: 500; color: var(--charcoal);
  background: var(--cream);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.quals-tag:hover { border-color: var(--sage-light); }
.quals-tag.active { background: var(--dark); border-color: var(--dark); color: var(--cream); }
.quals-tag.in-progress { border-style: dashed; color: var(--gray); }
.quals-cta { text-align: center; margin-top: 40px; }

.qual-detail {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; align-items: center;
  max-width: 880px; margin: 40px auto 0;
  background: var(--sand); border-radius: var(--radius-card); padding: 34px;
}
.qual-detail-photo { min-height: 220px; border-radius: var(--radius-sm); }
.qual-detail-text h3 { font-size: 21px; margin-bottom: 12px; }
.qual-detail-text p { color: var(--charcoal); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 700px) { .qual-detail { grid-template-columns: 1fr; padding: 24px; } .qual-detail-photo { min-height: 180px; } }

/* ============ CONTACTS ============ */
.contacts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 40px auto 0; }
.contact-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand); text-align: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-item:hover { border-color: var(--sage); transform: translateY(-3px); }
.contact-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.contact-value { font-size: 15px; color: var(--charcoal); font-weight: 500; }
@media (max-width: 760px) { .contacts-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ TESTIMONIALS ============ */
.testimonials-empty {
  max-width: 480px; margin: 40px auto 0; text-align: center;
  border: 1.5px dashed var(--sand); border-radius: var(--radius-card);
  padding: 46px 34px; color: var(--gray);
}
.testimonials-empty svg { margin: 0 auto 14px; color: var(--sage); }

/* ============ ABOUT ============ */
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.about .photo-placeholder { min-height: 380px; }
@media (max-width: 860px) { .about-inner { grid-template-columns: 1fr; } .about .photo-placeholder { order: -1; aspect-ratio: 4/3; min-height: 240px; } }

/* ============ FAQ ============ */
.faq-list { max-width: 720px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-bottom: 1px solid rgba(41,37,28,.14); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 17px;
}
.faq-question svg { flex: none; transition: transform .3s var(--ease); color: var(--sage); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 4px 22px; color: var(--gray); font-size: 15px; max-width: 600px; }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--dark); color: var(--cream); text-align: center; padding: 120px 0; }
.final-cta-text { font-family: var(--font-head); font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin-bottom: 34px; line-height: 1.25; }

/* ============ FOOTER ============ */
.site-footer { background: var(--charcoal); color: var(--cream); padding: 70px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(244,241,235,.12); }
.logo-footer .logo-mark { background: var(--sand); color: var(--dark); }
.footer-tag { color: var(--sand); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; color: var(--sand); }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--cream); opacity: .85; }
.footer-col a:hover { opacity: 1; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(244,241,235,.25); display: flex; align-items: center; justify-content: center; opacity: 1; padding: 0; }
.footer-social a:hover { background: var(--sage); border-color: var(--sage); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 13px; color: var(--sand); opacity: .8; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 6px; } }
