:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --muted-color: #555555;
  --border-color: #e5e5e5;
  --accent-bg: #f7f7f7;
  --content-width: 840px;
  --wide-width: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Header & Navigation */
.site-header {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-branding img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-title a {
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Burger toggle (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main Layout */
main {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.announcement-banner {
  max-width: var(--content-width);
  margin: 1rem auto 0;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, #fff4d6 0%, #ffe3ec 50%, #e3f0ff 100%);
  border: 1px solid #f5d9a8;
  border-radius: 2rem;
  box-shadow: 0 4px 14px rgba(255, 170, 90, 0.18);
  text-align: center;
}

.announcement-banner p {
  margin: 0;
  font-size: 1.125rem;
}

.page-header {
  max-width: var(--content-width);
  margin: 2rem auto 2.5rem;
}

.page-header h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.entry-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.alignwide {
  max-width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
}

/* Typography & Blocks */
h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.5rem 0 0.75rem;
}

p {
  margin: 0 0 1.25rem;
}

ul {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Section dividers: fading line with a small centered accent dot */
.spacer,
.spacer-sm {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spacer {
  height: 5rem;
}

.spacer::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9d9d9 20%, #d9d9d9 80%, transparent);
}

.spacer::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd27a, #ff9fb8 55%, #9fc8ff);
  box-shadow: 0 0 0 6px var(--bg-color);
}

.spacer-sm {
  height: 2.5rem;
}

.spacer-sm::before {
  content: "";
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ffd27a, #ff9fb8, #9fc8ff);
  opacity: 0.8;
}

/* Figures & Images */
figure {
  margin: 2rem 0;
  text-align: center;
}

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

figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-color);
  text-align: center;
}

.hero-figure img {
  max-width: 560px;
  width: 100%;
}

/* Multi-column Grids */
.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 1.5rem 0;
}

.columns-3 .col {
  background: var(--accent-bg);
  padding: 1.5rem;
  border-radius: 6px;
}

.columns-3 .col h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0;
}

/* Quote / Testimonial Block */
.quote-box {
  background-color: var(--accent-bg);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  text-align: center;
}

.quote-box .quote-text {
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote-box .quote-author p {
  margin: 0.15rem 0;
  font-size: 0.95rem;
  color: var(--muted-color);
}

.quote-box .quote-author p:first-child {
  font-weight: 600;
  color: var(--text-color);
}

.cta-center {
  text-align: center;
  margin: 3rem 0;
}

/* Footer */
.site-footer {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-branding img {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

.footer-branding p {
  margin: 0;
  font-weight: 600;
}

.footer-branding a {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 780px) {
  .columns-3,
  .columns-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-header {
    padding: 1rem 1.25rem;
    flex-wrap: nowrap;
    position: relative;
  }

  .site-branding img {
    width: 44px;
    height: 44px;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
  }

  .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    margin: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    text-decoration: none;
    background-color: var(--accent-bg);
  }

  .site-nav a[aria-current="page"] {
    font-weight: 600;
  }

  main {
    padding: 1rem 1.25rem 3rem;
  }

  .page-header {
    margin: 1.5rem auto 1.75rem;
  }

  .announcement-banner {
    padding: 0.85rem 1.25rem;
    border-radius: 1.5rem;
  }

  .announcement-banner p {
    font-size: 1rem;
  }

  .quote-box {
    padding: 1.75rem 1.25rem;
  }

  .quote-box .quote-text {
    font-size: 1.15rem;
  }

  .site-footer {
    padding: 2.5rem 1.25rem;
  }

  .footer-links {
    gap: 0.75rem 1.25rem;
  }
}