/* VARIABLES & ROOT COLORS */
:root {
  --bg: #faf8f7;
  --card: #f3f1f0;
  --curiosity: #199bb2;
  --empathy: #a04e86;
  --emergence: #20a37d;
  --red: #a80d3c;
  --orange: #e2661a;
  --yellow: #bc9113;
  --green: #17805a;
  --blue: #215489;
  --purple: #6332a3;
  --pink: #be2376;
  --black: #181a1b;
  --white: #ffffff;
  --card-radius: 2rem;
  --shadow: 0 4px 32px 0 rgba(33, 84, 137, 0.08);
}

/* BASE ELEMENTS & TYPOGRAPHY */
a {
  text-decoration: none;
}

body {
  background: var(--bg);
  color: var(--black);
  font-family: 'Lexend', Arial, sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 0 4rem 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1 {
  color: var(--blue);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
}

h2 {
  font-weight: 400;
  color: var(--curiosity);
  margin-top: 0;
  margin-bottom: 1.7em;
}

header::after {
  content: "";
  display: block;
  height: 2px;
  width: 50px;
  margin: 2.2rem 0 2.6rem 0;
  background: linear-gradient(90deg, var(--curiosity) 60%, var(--empathy) 100%);
  border-radius: 4px;
  opacity: 0.18;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem;
}

.logo {
  font-family: 'Comfortaa';
  font-weight: bolder;
  display: inline-flex;
  align-items: center;
  height: 1.2em;
  margin-right: 0.4em;
  color: var(--blue);
  line-height: 1;
  position: relative;
  top: 0.04em;
}

/* =========================
   LAYOUT HELPERS
   ========================= */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.card-3up {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 220px;
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .card-grid {
    gap: 1em;
  }

  .card-3up {
    max-width: 100%;
    min-width: 160px;
    aspect-ratio: unset;
  }
}

@media (max-width: 700px) {
  main {
    padding: 1.2rem 0.3rem;
  }

  .card-grid {
    flex-direction: column;
    gap: 1em;
  }

  .card-3up {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: unset;
  }
}

/* =========================
   CARD STYLES
   ========================= */
.card,
.card-3up {
  background: var(--card);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  color: var(--black);
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  font-size: 1.08rem;
}

.card-3up.placeholder,
.card.placeholder {
  opacity: 0.7;
  font-style: italic;
  background: repeating-linear-gradient(135deg, var(--card), var(--card) 20px, #f7fafc 22px, #f7fafc 40px);
  color: #888;
  border-left: 3px dashed var(--curiosity);
}

.card.mind {
  border-left: 6px solid var(--blue);
  background: linear-gradient(120deg, rgba(26, 58, 97, 0.08) 0, rgba(233, 231, 227, 0.96) 85%);
}

/* =========================
   SECTION & PAGE STRUCTURE
   ========================= */
section {
  margin-bottom: 2.8rem;
}

section h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.section-intro a,
.card a {
  transition: color 0.18s, border-bottom 0.18s;
}

.section-intro a:hover,
.card a:hover {
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
}


section.curiosity h1 {
  color: var(--curiosity);
}

section.emergence h1 {
  color: var(--emergence);
}

section.empathy h1 {
  color: var(--empathy);
}

.curiosity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =========================
   CARD LINK COLORS
   ========================= */
.card a {
  color: var(--curiosity);
  border-bottom: 1px solid var(--curiosity);
  font-weight: 600;
}

.curiosity-section:nth-of-type(2) .card a {
  color: var(--emergence);
  border-bottom: 1px solid var(--emergence);
}

.curiosity-section:nth-of-type(3) .card a {
  color: var(--empathy);
  border-bottom: 1px solid var(--empathy);
}

.card a:hover {
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
}

/* =========================
   BUTTONS
   ========================= */
.button,
.button-primary,
.button-mind {
  display: inline-block;
  border: none;
  border-radius: var(--card-radius);
  font-weight: 700;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  padding: 0.75em 2em;
  cursor: pointer;
  font-size: 1.09rem;
  margin-top: 1em;
  margin-right: 0.8em;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 14px 0 rgba(26, 58, 97, 0.08);
  transition: background 0.14s, color 0.14s;
  outline: none;
}

.button-primary {
  background: linear-gradient(90deg, var(--blue), var(--black) 90%);
  color: var(--bg);
  box-shadow: 0 3px 18px 0 rgba(33, 84, 137, 0.14);
  transition: background 0.14s, color 0.14s, transform 0.12s;
}

.button-primary:hover {
  background: linear-gradient(90deg, var(--black), var(--blue) 80%);
  color: var(--orange);
  transform: scale(1.045);
  box-shadow: 0 6px 24px 0 rgba(33, 84, 137, 0.17);
}

.button-orange {
  background: linear-gradient(90deg, var(--orange), #FFD3B6 85%);
  color: var(--black);
}

.button-orange:hover {
  background: var(--blue);
  color: var(--orange);
}

.button-linkedin {
  background: linear-gradient(90deg, var(--blue), var(--curiosity) 80%);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  padding: 1em 2.6em;
  font-size: 1.2rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 3px 16px 0 rgba(33, 84, 137, 0.15);
  display: inline-block;
}

.button-linkedin:hover {
  background: linear-gradient(90deg, var(--curiosity), var(--blue) 80%);
  color: #fff !important;
  box-shadow: 0 7px 28px 0 rgba(33, 84, 137, 0.20);
}

/* =========================
   UTILITY CLASSES
   ========================= */
.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5em !important;
}

.mt-2 {
  margin-top: 1em !important;
}

.mt-3 {
  margin-top: 2em !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5em !important;
}

.mb-2 {
  margin-bottom: 1em !important;
}

.mb-3 {
  margin-bottom: 2em !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.5em !important;
}

.p-2 {
  padding: 1em !important;
}

.p-3 {
  padding: 2em !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-light {
  font-weight: 200 !important;
}

.fs-xs {
  font-size: 0.92rem !important;
}

.fs-sm {
  font-size: 0.98rem !important;
}

.fs-md {
  font-size: 1.15rem !important;
}

.fs-lg {
  font-size: 1.3rem !important;
}

.fs-xl {
  font-size: 2.3rem !important;
}

.text-muted {
  color: #888 !important;
  opacity: 0.7;
}

/* --- Accent/Highlight Helpers --- */
.accent-purple {
  color: #8F7AB8 !important;
  border-color: #8F7AB8 !important;
}

.border-purple {
  border-left: 6px solid #8F7AB8 !important;
}

.bg-purple {
  background: linear-gradient(120deg, #8F7AB81a 0, #E9E7E3ee 80%) !important;
}

/* =========================
   NAVIGATION & FOOTER
   ========================= */
nav {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    position: relative !important;
  }

  .site-brand {
    margin-left: 1.2em !important;
    margin-right: 0 !important;
    flex: none !important;
    order: 1 !important;
  }

  .menu-toggle {
    margin-right: 1.2em !important;
    margin-left: 0 !important;
    order: 2 !important;
    z-index: 110 !important;
  }

  .menu {
    order: 3 !important;
    right: 0 !important;
    left: auto !important;
  }

  main {
    padding: 1.2rem 0.3rem;
  }

  .card {
    padding: 1em;
  }
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blue);
  margin-left: 1em;
}

@media (max-width: 700px) {
  .menu {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    background: var(--card);
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: unset;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    z-index: 100;
    overflow: hidden;
  }

  .menu.open {
    display: flex !important;
  }

  .menu a {
    padding: 1em 1.5em;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 26, 58, 0.08);
    box-sizing: border-box;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(0, 26, 58, 0.08);
    transition: background 0.18s, color 0.2s, border-bottom 0.18s;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu a:hover,
  .menu a.active {
    background: var(--card);
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    border-radius: 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  nav {
    position: relative;
  }
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0;
  margin-right: 1.5em;
  font-family: 'Lexend', 'Sora', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  white-space: nowrap;
}



.site-brand svg {
  height: 1.5em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.menu {
  display: flex;
  align-items: center;
  gap: min(2.5em, max(0.7em, 4vw));
  white-space: nowrap;
}

nav {
  display: flex;
  /* gap removed so .menu controls spacing */
  padding: 0.8em 3vw 0.8em 3vw;

  @media (max-width: 1100px) {
    .menu {
      gap: min(1.5em, max(0.5em, 2vw));
    }
  }

  @media (max-width: 900px) {
    .menu {
      gap: 0.7em;
    }
  }

  background: none;
  border-bottom: none;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}

nav a {
  color: var(--blue);
  font-size: 1.1em;
  padding: 0.5em 1.3em;
  border-radius: 2em;
  transition: background 0.18s, color 0.2s;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  box-shadow: none;
  border-radius: 0 !important;
  transition: border-color 0.18s;
  text-decoration: none;
}

nav a:hover,
nav a.active {

  nav .site-brand:hover,
  nav .site-brand:active {
    border-bottom: 2px solid transparent !important;
  }

  background: none;
  color: var(--blue);
  border-bottom: 2px solid var(--orange);
  border-radius: 0;
}

nav .site-brand,
nav .site-brand:hover,
nav .site-brand:active {
  border-bottom: 2px solid transparent !important;
}

footer {
  text-align: center;
  width: 100%;
  color: var(--blue);
  font-size: 1.08em;
  opacity: 0.85;
  font-family: inherit;
}

/* =========================
   MEDIA QUERIES
   ========================= */
@media (max-width: 700px) {

  h1 {
    font-size: 1.5rem;
  }

  img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  .curiosity-section h2 {
    font-size: 1.05rem;
  }

  .card {
    padding: 1em;
    font-size: 0.98rem;
  }
}