@font-face {
  font-family: "Marcellus SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marcellus-sc-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/poppins-300-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
}

:root {
  --parchment: #ffefd9;
  --teal: #1e6369;
  --yellow: #ffcd2a;
  --ink: #113f43;
  --coastal-ink: #173f42;
  --white: #fffdf8;
  --font-display: "Marcellus SC", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 5rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-press: 120ms;
  --motion-hover: 180ms;
  --motion-surface: 280ms;
  color-scheme: light;
}

@theme inline {
  --color-background: var(--parchment);
  --color-foreground: var(--ink);
  --font-sans: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--ink) !important;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.foundation-page {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.4rem;
  padding: var(--page-gutter);
  text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgb(255 205 42 / 18%), transparent 24rem),
    var(--parchment);
}

.foundation-logo {
  width: clamp(9.5rem, 20vw, 14rem);
  height: auto;
}

.foundation-page h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
}

.foundation-page > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 0;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
}

.brand-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: transform 180ms ease, background-color 180ms ease;
}

.brand-button:hover {
  transform: translateY(-2px);
  background: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
