:root {
  --bg: #f2f8f7;
  --text: #0f2a2b;
  --muted: #476265;
  --surface: rgba(255, 255, 255, 0.78);
  --brand: #0f766e;
  --brand-strong: #0b5b56;
  --accent: #f59e0b;
  --line: rgba(15, 42, 43, 0.12);
  --shadow: 0 16px 44px rgba(10, 43, 46, 0.14);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, #d2f0ec 0%, transparent 38%),
    radial-gradient(circle at 98% 12%, #ffe5b5 0%, transparent 35%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 0);
  background-size: 3px 3px;
  z-index: -1;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(44px);
  z-index: -2;
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: rgba(15, 118, 110, 0.2);
  top: -80px;
  left: -40px;
}

.bg-shape-b {
  width: 460px;
  height: 460px;
  background:
    radial-gradient(circle at 35% 35%, rgba(245, 158, 11, 0.3), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(15, 118, 110, 0.18), transparent 68%);
  right: -140px;
  top: -130px;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 252, 244, 0.98), rgba(255, 230, 184, 0.82)),
    linear-gradient(145deg, rgba(214, 241, 236, 0.9), rgba(191, 230, 223, 0.88));
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 42, 43, 0.16);
  box-shadow: 0 8px 18px rgba(10, 43, 46, 0.12);
  overflow: hidden;
  isolation: isolate;
}

.brand-mark img {
  width: 96%;
  height: 96%;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 5.4rem 0 2.5rem;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.73rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0;
}

h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-copy {
  margin-top: 1.25rem;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.76rem 1.3rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.hero-stats {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-stats article {
  background: var(--surface);
  backdrop-filter: blur(9px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-stats h2 {
  font-size: 1.1rem;
}

.hero-stats p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section-head h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 4.3vw, 2.8rem);
  max-width: 24ch;
}

.grid.cards {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.3rem;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0));
}

.timeline {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-tag {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.24);
  color: #7a4a00;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.timeline-item h3 {
  font-size: 1.35rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, #e4f4f1, #fff9ec);
  padding: clamp(1.4rem, 3.4vw, 2rem);
}

.contact h2 {
  font-size: clamp(1.7rem, 4.8vw, 3rem);
}

.contact-mascot {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(10, 43, 46, 0.13);
}

.contact p {
  color: var(--muted);
  max-width: 58ch;
}

.site-footer {
  padding: 0.7rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-version {
  margin-left: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  opacity: 0.72;
}

.mascot-page {
  padding: 2.2rem 0 1rem;
}

.mascot-topbar {
  display: flex;
  justify-content: flex-end;
}

.mascot-wall {
  margin-top: 1.2rem;
  column-count: 3;
  column-gap: 0.9rem;
}

.wall-item {
  margin: 0 0 0.9rem;
  display: inline-block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  break-inside: avoid;
}

.wall-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 260ms ease;
}

.wall-item:hover img {
  transform: scale(1.04);
}

.mascot-easter-egg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  text-decoration: none;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.58rem 0.4rem 0.76rem;
  opacity: 0.84;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.mascot-easter-egg-label {
  font-size: 0.84rem;
  font-weight: 700;
}

.mascot-easter-egg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.mascot-easter-egg:hover,
.mascot-easter-egg:focus-visible {
  transform: translateY(-1px);
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
}

.mascot-easter-egg img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(15, 42, 43, 0.14);
  box-shadow: 0 3px 10px rgba(10, 43, 46, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-stats,
  .grid.cards,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.8rem;
    padding-bottom: 2rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .card,
  .timeline-item {
    padding: 1rem;
  }

  .mascot-topbar {
    justify-content: flex-start;
  }

  .mascot-wall {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .bg-shape-a {
    width: 230px;
    height: 230px;
    top: -60px;
    left: -90px;
  }

  .bg-shape-b {
    width: 290px;
    height: 290px;
    right: -130px;
    top: -90px;
  }

  .site-header {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    padding-top: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-links a {
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 2.7rem;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact .btn,
  .mascot-topbar .btn {
    width: 100%;
    min-height: 46px;
  }

  .section {
    padding: 2.7rem 0;
  }

  .section-head h2 {
    max-width: 100%;
  }

  .hero-stats {
    margin-top: 1.6rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .mascot-page {
    padding-top: 1.5rem;
  }

  .mascot-wall {
    margin-top: 0.9rem;
    column-count: 1;
    column-gap: 0;
  }

  .wall-item {
    margin-bottom: 0.75rem;
    border-radius: 15px;
  }
}
