/* ============================================================
   THE CALM PLANET — calm, simple, easy-to-use
   Philosophy: one idea per section, lots of air, obvious buttons.
   All brand colors live in :root — change them in one place.
   ============================================================ */

:root {
  /* BRAND — tuned to the actual logo */
  --sky:    #5B85B5;   /* logo ring blue   */
  --sky-lt: #A8C7E6;   /* soft sky         */
  --sage:   #88A28C;   /* logo semicolon green */
  --sage-lt:#C8DC6C;   /* fresh accent     */
  --gold:   #E7BB66;   /* logo sun         */

  /* DEEP companions for readable text */
  --teal:        #2C4A6E;   /* logo navy wordmark */
  --teal-deep:   #213757;
  --forest:      #5E7A62;   /* deeper sage for corporate text */
  --ink:         #2A3A42;
  --ink-soft:    #5A6B73;

  /* CANVAS */
  --white: #FFFFFF;
  --cream: #FBF9F3;
  --sky-wash:  #EDF3FA;
  --sage-wash: #EFF4EC;
  --line: #E8EAE6;

  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", -apple-system, sans-serif;

  --container: 1080px;
  --narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--ink-soft); }
::selection { background: var(--sage); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: var(--narrow); margin-inline: auto; }

/* ============================================================
   BUTTONS — big and obvious
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 36px; border-radius: 100px;
  font-weight: 600; font-size: 1.05rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 28px -12px rgba(44,84,104,0.6); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--teal); border: 1.5px solid var(--sky); }
.btn-outline:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn-lg { padding: 19px 44px; font-size: 1.12rem; }

/* ============================================================
   NAV — short, simple
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 10px 26px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 72px; height: 72px; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-size: 1.34rem; font-weight: 600; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 1rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { background: var(--teal); color: #fff !important; padding: 11px 24px; border-radius: 100px; transition: background 0.25s, transform 0.25s; }
.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================================================
   SECTIONS — generous air, one idea each
   ============================================================ */
.section { padding: clamp(70px, 11vw, 130px) 0; }
.section.tight { padding: clamp(50px, 7vw, 80px) 0; }
.center { text-align: center; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: block; }
.eyebrow.green { color: var(--forest); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* soft background variants */
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky-wash); }
.bg-sage { background: var(--sage-wash); }

/* ============================================================
   REVEAL — gentle
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ============================================================
   FOOTER — simple
   ============================================================ */
.footer { background: var(--teal-deep); color: #C9DCE4; padding: 70px 0 34px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 18px; }
.footer .brand-name { color: #fff; }
.footer-tag { font-family: var(--display); font-style: italic; color: var(--sage); font-size: 1.15rem; margin-bottom: 30px; }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { color: #C9DCE4; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { color: #9FBDC9; font-size: 0.98rem; margin-bottom: 30px; line-height: 1.9; }
.footer-contact a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 26px; font-size: 0.85rem; color: #89A7B4; }
.footer-disclaimer { max-width: 680px; margin: 16px auto 0; font-size: 0.8rem; color: #7593A0; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 26px 22px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform 0.35s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .nav-toggle { display: flex; }
}
