/* ============================================================
   FONTS
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Lato:wght@300;400;700&display=swap");

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:            #faf7f4;
  --bg-soft:       #f3ede6;
  --surface:       #fffcf8;
  --surface-tint:  #f0e8de;

  /* Text */
  --text:          #2e2420;
  --text-soft:     #6b534a;
  --heading:       #1e1410;

  /* Accent — dusty terracotta */
  --accent:        #c07560;
  --accent-light:  #e8c4bb;
  --accent-deep:   #9a5a48;
  --accent-bg:     #fdf0ec;

  /* Structure */
  --line:          rgba(46, 36, 32, 0.12);
  --shadow-sm:     0 2px 8px rgba(46, 36, 32, 0.06);
  --shadow-md:     0 8px 32px rgba(46, 36, 32, 0.09);
  --shadow-lg:     0 16px 48px rgba(46, 36, 32, 0.10);

  /* Shape */
  --radius-xl:     32px;
  --radius-lg:     24px;
  --radius-md:     16px;
  --radius-sm:     10px;
  --radius-pill:   999px;

  /* Layout */
  --container:     min(1080px, calc(100vw - 3rem));
  --container-sm:  min(720px, calc(100vw - 3rem));
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 10% 10%, rgba(192, 117, 96, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 85%, rgba(232, 196, 187, 0.12) 0%, transparent 55%);
  background-attachment: fixed;
}

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

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: "Lato", sans-serif; }

p {
  margin-bottom: 1.2em;
  color: var(--text-soft);
  font-size: 1.05rem;
}

p:last-child { margin-bottom: 0; }

.display {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.display em {
  font-style: italic;
  color: var(--accent-deep);
}

.lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: var(--container);
  margin-inline: auto;
}

.container--sm {
  width: var(--container-sm);
  margin-inline: auto;
}

.section {
  padding-block: 6rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(192, 117, 96, 0.35);
}

.btn--primary:hover {
  background-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 6px 20px rgba(192, 117, 96, 0.45);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent-deep);
  border: 1.5px solid var(--accent-light);
}

.btn--secondary:hover {
  background-color: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
}

.site-logo {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--accent-deep);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: var(--accent-bg);
  color: var(--accent-deep);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile nav */
.nav-mobile {
  display: none;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav-mobile summary:hover {
  background: var(--accent-bg);
}

.nav-mobile summary::-webkit-details-marker { display: none; }

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.2s;
}

.nav-mobile[open] .hamburger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile[open] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.nav-mobile[open] .hamburger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
}

.nav-mobile-menu a {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav-mobile-menu a:hover {
  background: var(--accent-bg);
  color: var(--accent-deep);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 3.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.55);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-copy {
  width: 100%;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  padding-block: 4rem;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 0.75rem;
}

.cta-strip p {
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ============================================================
   HERO (HOMEPAGE)
   ============================================================ */
.hero {
  padding-block: 5rem 4rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-text .eyebrow {
  margin-bottom: 1rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .lede {
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-xl) + 12px);
  border: 1.5px solid var(--accent-light);
  z-index: -1;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 0 0 0 0;
}

.service-card h3 {
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
}

/* ============================================================
   FEELINGS CHECKLIST
   ============================================================ */
.feelings-section {
  background: var(--surface-tint);
}

.feelings-intro {
  max-width: 600px;
  margin-bottom: 3rem;
}

.feelings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
}

.feelings-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.feelings-grid li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1.5px solid var(--accent-light);
  margin-top: 2px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  background: var(--accent-bg);
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  background: var(--accent-bg);
  border-bottom: 1px solid var(--accent-light);
}

.faq-answer {
  padding: 1.25rem 1.5rem;
  font-size: 0.975rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding-block: 5rem 4rem;
}

.about-heading {
  margin-bottom: 3rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   NEURODIVERSITY PAGE
   ============================================================ */
.neuro-intro {
  max-width: 720px;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.signs-section {
  margin-bottom: 4rem;
}

.signs-header {
  margin-bottom: 1.5rem;
}

.signs-header h3 {
  font-family: "Lato", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.signs-header h2 {
  font-size: 1.5rem;
}

.signs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  list-style: none;
}

.signs-list li {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  position: relative;
  line-height: 1.5;
}

.signs-list li::before {
  content: '–';
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-group {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.resource-group:last-child {
  border-bottom: none;
}

.resource-group h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.resource-group .intro {
  color: var(--text-soft);
  font-size: 0.975rem;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.resource-links li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.15s, gap 0.15s;
}

.resource-links li a::after {
  content: '→';
  font-size: 0.8rem;
  transition: transform 0.15s;
}

.resource-links li a:hover {
  color: var(--accent);
  gap: 0.75rem;
}

.resource-links li a:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  padding-block: 5rem;
}

.contact-inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.contact-inner h1 {
  margin-bottom: 1rem;
}

.contact-inner p {
  margin-bottom: 2.5rem;
}

/* ============================================================
   INNER PAGE HERO (generic)
   ============================================================ */
.page-hero {
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3.5rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

/* ============================================================
   PROSE
   ============================================================ */
.prose {
  max-width: 680px;
}

.prose p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.prose a {
  font-weight: 700;
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-top: 0.5rem;
}

.section-heading .lede {
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ============================================================
   WHATSAPP ICON SVG
   ============================================================ */
.icon-wa {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-width: 380px;
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .feelings-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 280px;
    margin-inline: auto;
  }

  .signs-list {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
    position: relative;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container: calc(100vw - 2rem);
  }

  .hero {
    padding-block: 3rem 2.5rem;
  }

  .about-hero {
    padding-block: 3rem 2.5rem;
  }

  .btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
