@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-peach);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 { margin: 0; color: var(--color-ink); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--text-h1); line-height: 1.2; }
h2 { font-size: var(--text-h2); line-height: 1.2; }
h3 { font-size: var(--text-h3); line-height: 1.4; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--color-tan);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-16); }

/* A rounded surface inset from the page edge — hero, feature bands, footer */
.panel {
  margin-inline: var(--space-1);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.panel--deep { background: var(--color-deep); color: var(--color-on-dark); }
.panel--deep h1, .panel--deep h2, .panel--deep h3 { color: var(--color-on-dark); }
.panel--white { background: var(--color-white); }

/* Type helpers ------------------------------------------------------------ */
.display {
  font-size: var(--text-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.display em, .light { font-style: normal; font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-small);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--shape-leaf);
  background: currentColor;
}
.panel--deep .eyebrow { color: var(--color-accent); }

.lede { font-size: var(--text-h3); line-height: 1.6; font-weight: 300; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-small); line-height: 1.4; }

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -4rem;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-ink);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--space-1);
}
.skip-link:focus { top: var(--space-2); }

/* Staged entrance: elements rise in sequence, ordered by --i */
.rise-in {
  animation: rise-in 0.9s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 0.09s + 0.1s);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(1.5rem); }
}


/* Scroll reveal — only hides content when JS is running --------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .section { padding-block: var(--space-8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
