/* ============================================================
   NEXT CURVE — thenextcurve.co
   Palette + type tokens
   ============================================================ */
:root {
  --navy: #131B33;
  --navy-soft: #223052;
  --orange: #ED7D24;
  --orange-deep: #D96A12;
  --ink: #3C4356;
  --muted: #6B7285;
  --line: #E4E8F0;
  --paper: #FFFFFF;
  --wash: #F6F8FB;
  --radius: 12px;
  --display: "Archivo", sans-serif;
  --body: "Instrument Sans", sans-serif;
  --shadow: 0 10px 30px rgba(19, 27, 51, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }

.dot { color: var(--orange); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }

.lead { font-size: 1.16rem; color: var(--muted); max-width: 46em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 8px; border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(237, 125, 36, 0.35); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > li { position: relative; }
.nav-links a.nav-item {
  font-family: var(--display); font-size: 0.9rem; font-weight: 500;
  color: var(--navy); padding: 8px 0; letter-spacing: 0.02em;
  border-bottom: 2px solid transparent; transition: border-color 0.15s;
}
.nav-links a.nav-item:hover, .nav-links a.nav-item.active { border-color: var(--orange); }
.nav-cta { margin-left: 6px; padding: 11px 20px; font-size: 0.88rem; }

/* dropdown */
.has-drop > a.nav-item::after { content: " ▾"; font-size: 0.7em; color: var(--muted); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 7px;
  font-family: var(--display); font-size: 0.88rem; font-weight: 500; color: var(--navy);
}
.dropdown a:hover { background: var(--wash); color: var(--orange-deep); }
.dropdown a span { display: block; font-family: var(--body); font-weight: 400; font-size: 0.78rem; color: var(--muted); }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a.nav-item { display: block; padding: 13px 0; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 6px 14px; display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero .tagline {
  font-family: var(--display); font-weight: 600; color: var(--orange-deep);
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; margin: 20px 0 14px;
}
.hero p.lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-curve svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-curve { max-width: 420px; }
}

/* page hero (inner pages) */
.page-hero { padding: 72px 0 56px; background: var(--wash); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 16px; }
.page-hero.navy { background: var(--navy); border: none; }
.page-hero.navy h1 { color: #fff; }
.page-hero.navy .lead { color: #B9C1D6; }
.page-hero.navy .eyebrow { color: #8B94AD; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.wash { background: var(--wash); }
.section.navy { background: var(--navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: #B9C1D6; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; color: var(--muted); }

@media (max-width: 700px) { .section { padding: 60px 0; } }

/* ---------- cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-kicker {
  font-family: var(--display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 12px;
}
.card-link { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--orange-deep); display: inline-block; margin-top: 18px; }
.card-link::after { content: " →"; transition: transform 0.15s; display: inline-block; }
.card:hover .card-link::after { transform: translateX(4px); }

/* platform cards on home */
.platform-num {
  font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--orange);
  border: 1.5px solid var(--orange); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}

/* ---------- pricing ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier.featured { border: 2px solid var(--orange); }
.tier .flag {
  position: absolute; top: -13px; left: 28px; background: var(--orange); color: #fff;
  font-family: var(--display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.tier-name {
  font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.tier-price { font-family: var(--display); font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.tier-price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.tier-tag { color: var(--orange-deep); font-weight: 500; margin: 10px 0 4px; font-size: 0.98rem; }
.tier .btn { width: 100%; margin-top: 22px; }

.tier-section { margin-top: 22px; }
.tier-section h4 {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
  border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px;
}
.tier-section ul li {
  font-size: 0.94rem; color: var(--ink); padding: 5px 0 5px 24px; position: relative;
}
.tier-section ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; font-size: 0.85rem;
}

/* qualified meeting definition */
.definition {
  background: var(--wash); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: 10px; padding: 28px 30px; max-width: 780px; margin: 0 auto;
}
.definition h3 { margin-bottom: 14px; }
.definition ul li { padding: 6px 0 6px 26px; position: relative; color: var(--ink); }
.definition ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- checklist rows (why us) ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; max-width: 880px; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--ink);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.section.navy .check-grid li { color: #DDE3F0; border-color: #2A3A61; }
.check-grid li::before {
  content: "✓"; color: var(--orange); font-weight: 700; font-family: var(--display);
  flex: 0 0 auto; margin-top: 1px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: 18px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #B9C1D6; max-width: 40em; margin: 0 auto 30px; }
.cta-band .curve-bg { position: absolute; right: -40px; bottom: -20px; width: 340px; opacity: 0.14; pointer-events: none; }
@media (max-width: 700px) { .cta-band { padding: 48px 24px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #B9C1D6; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer li { margin: 9px 0; }
.site-footer a { font-size: 0.95rem; transition: color 0.15s; }
.site-footer a:hover { color: var(--orange); }
.footer-brand svg { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.94rem; max-width: 30em; }
.footer-bottom {
  border-top: 1px solid #2A3A61; padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #8B94AD;
}

/* ---------- forms (booking page) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.86rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--body); font-size: 0.96rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange);
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- animated hero logo ---------- */
/* Black curve: fully static. Orange dot: gentle breathe (never fully fading).
   Wordmark and tagline: one-time entrance, then still. */
.curve-dot { animation: breathe 2.8s ease-in-out infinite 1s; }
.logo-word {
  opacity: 0; transform: translateY(14px);
  animation: rise 0.7s ease-out forwards 0.4s;
}
.logo-tag { opacity: 0; animation: fadein 0.8s ease-out forwards 0.9s; }

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .curve-dot, .logo-word, .logo-tag { animation: none; }
  .curve-dot, .logo-word, .logo-tag { opacity: 1; transform: none; }
  .card:hover, .tier:hover, .btn:hover { transform: none; }
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
