:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f0df;
  --text: #26313c;
  --muted: #66727e;
  --navy: #123b70;
  --blue: #2f6ca8;
  --green: #8fc36b;
  --green-dark: #527c36;
  --orange: #e5a13c;
  --border: #d9e0e6;
  --shadow: 0 18px 50px rgba(25, 42, 60, .12);
  --radius: 22px;
  --header-h: 72px;
  --sidebar-w: 290px;
}

[data-theme="dark"] {
  --bg: #101722;
  --surface: #17212e;
  --surface-alt: #1d2936;
  --text: #eef4f8;
  --muted: #aebbc6;
  --navy: #8dbef0;
  --blue: #72a9da;
  --green: #9ccd7b;
  --green-dark: #8ebd70;
  --orange: #f0b75c;
  --border: #2b3b4b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.img-logo-top-left {
  width: 190px; 
  height: 70px;
  padding-top: 15px;;
}

.img-logo-center {
  width: 200px; 
  height: 200px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, Arial, sans-serif;
  line-height: 1.6
}

a {
  color: inherit
}

button,
input {
  font: inherit
}

.reading-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  width: 0
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border)
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none
}

.brand-mark {
  font-size: 2rem
}

.brand strong,
.brand small {
  display: block
}

.brand strong {
  color: var(--navy);
  font-size: 1.1rem
}

.brand small {
  color: var(--muted);
  font-size: .75rem
}

.header-actions {
  display: flex;
  gap: 8px
}

.icon-button,
.menu-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer
}

.menu-button {
  display: none
}

.sidebar {
  position: fixed;
  z-index: 900;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: auto;
  padding: 18px
}

.sidebar-nav {
  display: grid;
  gap: 10px
}

.sidebar-home,
.sidebar-nav summary,
.sidebar-nav details a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none
}

.sidebar-home,
.sidebar-nav summary {
  font-weight: 900;
  color: var(--navy)
}

.sidebar-nav summary {
  cursor: pointer
}

.sidebar-nav details a {
  margin-left: 10px;
  color: var(--muted);
  font-size: .92rem
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--surface-alt);
  color: var(--navy)
}

.content {
  margin-left: var(--sidebar-w);
  padding-top: var(--header-h)
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  padding: 80px clamp(28px, 6vw, 90px);
  background: radial-gradient(circle at 85% 20%, rgba(143, 195, 107, .26), transparent 27%), linear-gradient(135deg, #0f315c, #184f84 65%, #163e69);
  color: #fff
}

.eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #1e2a35;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .8rem
}

.hero h1 {
  font-family: "Patrick Hand";
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .9;
  margin: 22px 0
}

.hero-lead {
  font-size: 1.35rem;
  max-width: 700px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.button {
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none
}

.button.primary {
  background: var(--green);
  color: #173019
}

.button.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5)
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center
}

.hero-map {
  font-size: 13rem;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, .25))
}

.hero-pin {
  position: absolute;
  font-size: 4rem;
  top: 28%;
  left: 53%;
  animation: bob 2.4s ease-in-out infinite
}

@keyframes bob {
  50% {
    transform: translateY(-10px)
  }
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px clamp(28px, 6vw, 90px);
  background: var(--surface-alt)
}

.overview-grid a {
  background: var(--surface);
  padding: 22px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: var(--shadow)
}

.overview-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 900
}

.overview-grid strong,
.overview-grid small {
  display: block
}

.overview-grid strong {
  margin-top: 14px;
  color: var(--navy)
}

.overview-grid small {
  color: var(--muted)
}

.part-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 36px clamp(28px, 6vw, 90px);
  color: #fff
}

.part-intro span {
  border: 2px solid currentColor;
  border-radius: 16px;
  padding: 10px 14px;
  font-weight: 900
}

.part-intro h2 {
  font-family: "Patrick Hand";
  font-size: 2.8rem;
  line-height: 1;
  margin: 0
}

.part-intro p {
  margin: 6px 0 0
}

.part-one {
  background: linear-gradient(100deg, #315f3b, #5e8d49)
}

.part-two {
  background: linear-gradient(100deg, #8d5c15, #d18b25)
}

.part-three {
  background: linear-gradient(100deg, #644b17, #aa7d27)
}

.part-four {
  background: linear-gradient(100deg, #365f35, #76964c)
}

.section {
  padding: 82px clamp(28px, 6vw, 90px)
}

.section.alt {
  background: var(--surface-alt)
}

.section-heading {
  text-align: center;
  margin-bottom: 34px
}

.section-heading span {
  display: inline-block;
  background: var(--green);
  color: #173019;
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 900
}

.section-heading h2 {
  font-family: "Patrick Hand";
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1;
  margin: 14px 0;
  color: var(--navy)
}

.lead {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 1.18rem
}

.site-footer {
  padding: 48px;
  text-align: center;
  background: #0d2d51;
  color: #fff
}

.site-footer a {
  color: #c5e4aa
}

.search-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  padding: 8vh 20px
}

.search-dialog {
  max-width: 760px;
  margin: auto;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  max-height: 84vh;
  overflow: auto
}

.search-header {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--border)
}

.search-header input {
  flex: 1;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text)
}

.search-results {
  padding: 12px
}

.search-results a {
  display: block;
  padding: 13px;
  border-radius: 12px;
  text-decoration: none
}

.search-results a:hover {
  background: var(--surface-alt)
}

.search-results strong,
.search-results small {
  display: block
}

.search-results small {
  color: var(--muted)
}

@media(max-width:1020px) {
  .menu-button {
    display: block
  }

  .sidebar {
    transform: translateX(-100%);
    transition: .25s
  }

  .sidebar.open {
    transform: translateX(0)
  }

  .content {
    margin-left: 0
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:720px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px
  }

  .hero-visual {
    display: none
  }

  .overview-grid {
    grid-template-columns: 1fr
  }

  .part-intro {
    grid-template-columns: 1fr
  }

  .part-intro h2 {
    font-size: 2.3rem
  }
}

@media print {

  .site-header,
  .sidebar,
  .reading-progress,
  .search-overlay,
  .hero-actions {
    display: none !important
  }

  .content {
    margin: 0;
    padding: 0
  }

  .hero {
    min-height: auto;
    color: #000;
    background: #fff
  }

  .section,
  .part-intro {
    break-inside: avoid
  }

  .part-intro {
    color: #000;
    background: #fff !important;
    border-top: 3px solid #000
  }
}