/* ==========================================================================
   WITCcE — shared brand system
   Colors: Navy #1E2761 · Ice #CADCFC · Ice tint #EEF3FC · White #FFFFFF
           Coral #E8734A · Slate #44507A · Green #2E7D32 (sparing use)
   Type:   Cambria (headlines) / Calibri (body)
   ========================================================================== */

:root {
  --navy: #1E2761;
  --navy-deep: #161c4a;
  --ice: #CADCFC;
  --ice-tint: #EEF3FC;
  --white: #FFFFFF;
  --coral: #E8734A;
  --coral-deep: #d15f37;
  --slate: #44507A;
  --green: #2E7D32;

  --font-head: Cambria, Georgia, "Times New Roman", serif;
  --font-body: Calibri, "Segoe UI", Candara, Arial, sans-serif;

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(30, 39, 97, 0.10);
  --shadow-sm: 0 4px 14px rgba(30, 39, 97, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- kicker / eyebrow ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--coral);
  margin-bottom: 0.9em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-coral:hover { background: var(--coral-deep); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(30,39,97,0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.wordmark span { color: var(--coral); }
.wordmark:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
}
.nav-links a:hover { color: var(--coral); text-decoration: none; }
.nav-links a.current { color: var(--coral); }

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

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

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid rgba(30,39,97,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(30,39,97,0.06); }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ice-tint) 0%, var(--white) 100%);
  padding: 64px 0 56px;
}
.hero-navy {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
}
.hero-navy h1, .hero-navy h2 { color: var(--white); }
.hero-navy p { color: var(--ice); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow-lede { font-size: 1.15rem; color: var(--slate); max-width: 46ch; }
.hero-navy .eyebrow-lede { color: var(--ice); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-tint { background: var(--ice-tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--ice); }

.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- pull quote ---------- */
.pullquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  border-left: none;
  padding: 0;
  margin: 0;
}
.pullquote.on-navy { color: var(--white); }
.pullquote::before { content: "“"; color: var(--coral); }
.pullquote::after { content: "”"; color: var(--coral); }

.quote-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .quote-strip { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid rgba(30,39,97,0.08);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card-tint { background: var(--ice-tint); border-color: transparent; }

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

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
}
.pill-coral { background: rgba(232,115,74,0.14); color: var(--coral-deep); }

/* ---------- pricing ---------- */
.price-card {
  background: var(--white);
  border: 1px solid rgba(30,39,97,0.1);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: var(--coral);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card .price {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--navy);
}
.price-card ul { margin: 0; padding-left: 1.1em; color: var(--slate); }
.price-card li { margin-bottom: 0.5em; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- hero illustration / mug feature ---------- */
.hero-illustration img,
.mug-feature img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0;
}
.mug-feature img { margin-bottom: 20px; }

/* ---------- ask-your-team carousel ---------- */
.ask-carousel {
  max-width: 760px;
  margin: 0 auto;
}
.ask-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.ask-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}
.ask-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(30,39,97,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 52px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.ask-question {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  max-width: 46ch;
}
.ask-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.ask-carousel-arrow {
  background: var(--white);
  border: 1.5px solid rgba(30,39,97,0.15);
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}
.ask-carousel-arrow:hover { border-color: var(--coral); color: var(--coral); }
.ask-carousel-dots { display: flex; gap: 8px; }
.ask-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ice);
  border: none;
  padding: 0;
  cursor: pointer;
}
.ask-carousel-dot.active { background: var(--coral); }

/* ---------- assessment widget ---------- */
.assessment-widget {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid rgba(30,39,97,0.08);
}
.assessment-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--ice-tint);
  overflow: hidden;
  margin-bottom: 22px;
}
.assessment-progress-bar {
  height: 100%;
  background: var(--coral);
  width: 0%;
  transition: width 0.25s ease;
}
.assessment-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.assessment-question { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 18px; }
.assessment-options { display: flex; flex-direction: column; gap: 10px; }
.assessment-option {
  display: block;
  text-align: left;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(30,39,97,0.15);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.assessment-option:hover { border-color: var(--coral); background: var(--ice-tint); }

.assessment-nav { display: flex; justify-content: space-between; margin-top: 22px; }

.assessment-result-score {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0 26px;
}
.score-row { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 12px; }
.score-label { font-weight: 700; font-size: 0.92rem; }
.score-track { height: 10px; background: var(--ice-tint); border-radius: 999px; overflow: hidden; }
.score-fill { height: 100%; background: var(--slate); border-radius: 999px; }
.score-fill.gap { background: var(--coral); }
.score-num { font-size: 0.85rem; color: var(--slate); text-align: right; }

.gate-form {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(30,39,97,0.1);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gate-form input[type="email"],
.gate-form input[type="text"],
.gate-form select {
  flex: 1 1 190px;
  padding: 0.85em 1em;
  border-radius: 10px;
  border: 1.5px solid rgba(30,39,97,0.18);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--navy);
}
.gate-form select { color: var(--slate); }
.gate-form button { flex: 1 1 100%; }
.form-note { font-size: 0.82rem; color: var(--slate); margin-top: 10px; }
.form-success { color: var(--green); font-weight: 700; }
.form-error { color: var(--coral-deep); font-weight: 700; }

/* ---------- generic form (contact) ---------- */
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.8em 1em;
  border-radius: 10px;
  border: 1.5px solid rgba(30,39,97,0.18);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--navy);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--ice);
  padding: 48px 0 28px;
}
.site-footer a { color: var(--white); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: var(--white); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row-gap { display: flex; gap: 14px; flex-wrap: wrap; }
.small { font-size: 0.88rem; color: var(--slate); }
.badge-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.badge-list li { padding-left: 1.6em; position: relative; }
.badge-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
}

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

.compact-table { width: 100%; border-collapse: collapse; }
.compact-table th, .compact-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(30,39,97,0.1);
  font-size: 0.95rem;
}
.compact-table th { color: var(--slate); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
