@font-face {
  font-family: 'Mint and Sage';
  src: url('/assets/fonts/mint-and-sage.woff2') format('woff2'),
       url('/assets/fonts/mint-and-sage.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body {
  height: 100%;
  margin: 0;
  font-size: 32px;
}

html {
  scroll-behavior: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fef0d7;
  font-family: 'Gelasio', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  color: #404132;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Mint and Sage', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
}

a, a:visited {
  color: #404132;
}

a:hover {
  color: #333;
}

main {
  display: block;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  html, body {
    font-size: 18px;
  }

  h1 {
    font-size: 2rem;
  }
}



/* Sections */
.section {
  min-height: calc(95svh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section.has-divider {
  min-height: calc(95svh - 96px);
  padding-bottom: 24px;
}

.section.hero {
  background: #fef0d7;
  z-index: 2;
}

.hero .logo {
  width: clamp(200px, 60vw, 600px);
  height: auto;
}

.section.about {
  background: #404132;
  color: #fff;
}

.section.contact {
  background: #fef0d7;
  z-index: 2;
}

/* Wave dividers */
.divider {
  height: 96px;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  pointer-events: none;
  z-index: 1;
}

.divider.bottom {
  top: auto;
  bottom: 0;
}

.divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Wave animation */
.scrolling .divider .wave-group {
  animation: wave-wobble 600ms ease-in-out infinite;
}

@keyframes wave-wobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* SVG filter container */
svg {
  position: absolute;
  width: 0;
  height: 0;
}

/* Goo blob canvas */
#about-blobs {
  position: absolute;
  z-index: 0;
  opacity: 0.2;
  filter: url('#goo');
  -webkit-filter: url('#goo');
}

.section .container {
  position: relative;
  z-index: 2;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .divider .wave-group { transform: none !important; }
  #about-blobs { display: none; }
}