/* ============================================
   MINDSHIP — Design tokens
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  /* Brand colors, pulled from the Mindship mark */
  --ink: #241F5E;         /* deep indigo — primary text */
  --ink-soft: #4A468C;    /* softer indigo — secondary text */
  --blue: #2E9BD6;        /* sky blue petal */
  --coral: #F2734F;       /* coral petal */
  --magenta: #DE1A7C;     /* magenta petal */
  --lime: #9FC53B;        /* yellow-green petal */
  --amber: #F2A63C;       /* amber petal */

  --paper: #FDFCF9;       /* warm white background */
  --paper-dim: #F5F2EC;   /* section tint */
  --line: #E4E0D6;        /* hairline borders */

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --max-w: 1120px;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  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: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36, 31, 94, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--coral);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  color: var(--ink);
  max-width: 15ch;
}

.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 78%;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  z-index: 0;
}

/* ============================================
   Section scaffolding
   ============================================ */
section { position: relative; }

.section-pad { padding: 96px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--ink);
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================================
   Pillars (Direction & Resilience)
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.pillar {
  background: var(--paper);
  padding: 44px 40px;
}

.pillar-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.pillar.direction .pillar-tag { background: rgba(46,155,214,0.14); color: #1D6E9C; }
.pillar.resilience .pillar-tag { background: rgba(222,26,124,0.12); color: #B01464; }

.pillar h3 {
  font-size: 25px;
  color: var(--ink);
  max-width: 20ch;
}

.pillar-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 16px;
}

.pillar.direction .pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.pillar.resilience .pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--magenta);
}

/* ============================================
   How it works — real sequence, numbered
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--coral);
}

.step h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ============================================
   Parent consultations — quieter, secondary
   ============================================ */
.parent-band {
  background: var(--paper-dim);
}

.parent-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.parent-inner h2 {
  font-size: clamp(26px, 2.8vw, 34px);
}

.parent-inner p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
}

.parent-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parent-points li {
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* ============================================
   About
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 20px;
}

.about-text h2 { font-size: clamp(28px, 3vw, 36px); }
.about-text p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 56ch;
}
.about-text p + p { margin-top: 14px; }

.about-signoff {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* ============================================
   Final CTA
   ============================================ */
.cta-band {
  background: var(--ink);
  color: var(--paper);
}

.cta-inner {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--paper);
  font-size: clamp(28px, 3.2vw, 38px);
  max-width: 16ch;
}

.cta-band .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img { height: 30px; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 32ch; }

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

/* ============================================
   Contact page
   ============================================ */
.contact-hero {
  padding: 64px 0 32px;
}
.contact-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  max-width: 16ch;
}
.contact-hero p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding-bottom: 96px;
  align-items: start;
}

.form-field {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.contact-info-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.contact-line span:first-child {
  font-size: 13px;
  color: var(--ink-soft);
}
.contact-line a, .contact-line span.value {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { color: #1D6E9C; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px var(--gutter) 32px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .hero { padding: 48px 0 56px; text-align: left; }

  .pillars { grid-template-columns: 1fr; }
  .parent-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }
}
