/* ===========================================================
   Emerald Virtual — shared styles
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600&display=swap');

:root{
  --emerald: #2d514a;
  --emerald-ink: #23403a;
  --sage: #8b9f9b;
  --sage-light: #c7d3d0;
  --white: #fafbfb;
  --cream: #f6f3f0;
  --taupe: #c9b79f;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1160px;
  --radius-arch: 999px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--emerald-ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--emerald);
}

h1{ font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.55rem); }

p{ margin: 0 0 1em; }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
}

.italic-accent{ font-style: italic; color: var(--sage); }

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

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--emerald); color: var(--white); }
.btn-primary:hover{ background: var(--emerald-ink); }
.btn-outline{ background: transparent; color: var(--emerald); border-color: var(--emerald); }
.btn-outline:hover{ background: var(--emerald); color: var(--white); }
.btn-light{ background: var(--white); color: var(--emerald); }
.btn-light:hover{ background: var(--cream); }

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-light);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--emerald);
}
.brand img{ width: 34px; height: 34px; }
.brand .brand-sub{ font-size: 0.85rem; color: var(--sage); display: block; font-style: italic; }

.nav-links{
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a{ position: relative; padding: 4px 0; }
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--sage);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width: 100%; }
.nav-links a[aria-current="page"]{ color: var(--emerald); font-weight: 600; }

.nav-cta{ display: flex; align-items: center; gap: 20px; }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  display: block;
  width: 24px; height: 2px;
  background: var(--emerald);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 820px){
  .nav-links{
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    font-size: 1.1rem;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    border-top: 1px solid var(--sage-light);
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{ display: block; }
  .nav-cta .btn-outline{ display: none; }
}

/* ---------- Arch motif — signature shape ---------- */
.arch-frame{
  position: relative;
  border-radius: 240px 240px 8px 8px;
  overflow: hidden;
  background: var(--sage-light);
}
.arch-frame img{ width: 100%; height: 100%; object-fit: cover; }

.arch-shape{
  border-radius: 999px 999px 0 0;
}

/* ---------- Hero ---------- */
.hero{
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lede{
  font-size: 1.15rem;
  color: var(--emerald-ink);
  max-width: 46ch;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-frame{
  width: 100%;
  max-width: 380px;
  height: 480px;
  margin: 0 auto;
}

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-frame{ order: -1; height: 380px; max-width: 320px; }
}

/* ---------- Section rhythm ---------- */
.section{ padding: 88px 0; }
.section-cream{ background: var(--cream); }
.section-emerald{ background: var(--emerald); color: var(--white); }
.section-emerald h2, .section-emerald h3{ color: var(--white); }
.section-emerald .eyebrow{ color: var(--taupe); }

.section-head{ max-width: 640px; margin: 0 0 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px){ .card-grid{ grid-template-columns: 1fr; } }

.offer-card{
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: 28px 28px 16px 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.offer-card .offer-icon{
  width: 56px; height: 56px;
  border-radius: 999px 999px 6px 6px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.offer-card .offer-icon img{ width: 26px; height: 26px; }
.offer-card .outcome{
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--sage-light);
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 500;
}
.offer-card .outcome strong{ color: var(--emerald); font-weight: 600; }

/* ---------- Feature list ---------- */
.checklist{ list-style: none; margin: 0; padding: 0; }
.checklist li{
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sage-light);
}
.checklist li:last-child{ border-bottom: none; }
.checklist .mark{
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ---------- Quote / core line ---------- */
.core-line{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-style: italic;
  color: var(--emerald);
  text-align: center;
  max-width: 20ch;
  margin: 0 auto;
  line-height: 1.35;
}

/* ---------- Two column ---------- */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px){ .two-col{ grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-wrap{
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: 28px;
  padding: 40px;
}
.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--emerald);
}
.field input, .field textarea, .field select{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--sage-light);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--emerald-ink);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--sage);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 0.85rem; color: var(--sage); margin-top: 14px; }
.form-status{ font-size: 0.9rem; margin-top: 14px; font-weight: 500; }
.form-status[data-state="success"]{ color: var(--emerald); }
.form-status[data-state="error"]{ color: #a4453a; }

/* ---------- Downloads ---------- */
.download-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px){ .download-grid{ grid-template-columns: 1fr; } }
.download-card{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  border-radius: 20px;
  padding: 26px 28px;
}
.download-card .price{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--emerald);
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--emerald);
  color: var(--white);
  padding: 56px 0 32px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer .brand{ color: var(--white); }
.site-footer .brand .brand-sub{ color: var(--sage-light); }
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ color: var(--sage-light); }
.footer-links a:hover{ color: var(--white); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--sage-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Imagine list (one-page site) ---------- */
.imagine-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 480px;
  text-align: center;
}
.imagine-list li{
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--emerald);
  padding: 10px 0;
}

/* ---------- Bio paragraphs ---------- */
.bio p{ font-size: 1.05rem; }
.bio p.standout{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--emerald);
  font-size: 1.25rem;
  margin: 1.4em 0;
}

/* ---------- Sticky mini CTA bar (mobile) ---------- */
.mobile-cta-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--sage-light);
  padding: 12px 20px;
  display: none;
}
@media (max-width: 700px){
  .mobile-cta-bar{ display: block; }
  body{ padding-bottom: 72px; }
}
.mobile-cta-bar .btn{ width: 100%; justify-content: center; }

/* ---------- Not-a-fit / fit lists (About page) ---------- */
.fit-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px){ .fit-grid{ grid-template-columns: 1fr; } }
.fit-card{
  border-radius: 20px;
  padding: 32px;
}
.fit-card.is-fit{ background: var(--cream); }
.fit-card.not-fit{ background: transparent; border: 1.5px dashed var(--sage-light); }
