/* Above-the-fold: paints header + homepage hero before full Tailwind loads */
/* Self-hosted fonts — see fonts/README.md */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/material-symbols-outlined.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Serif 4 Fallback";
  src: local("Times New Roman");
  size-adjust: 111%;
  ascent-override: 83%;
  descent-override: 19%;
  line-gap-override: 0%;
}

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

body {
  margin: 0;
  background: #faf9f5;
  color: #1b1c1a;
  font-family: Inter, "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hero-lcp {
  font-family: "Source Serif 4", "Source Serif 4 Fallback", Georgia,
    "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #002627;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #faf9f5;
  border-bottom: 1px solid #c0c8c8;
  isolation: isolate;
}

.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 1rem 20px;
  gap: 1rem;
}

.site-header nav > a:first-of-type {
  font-family: "Source Serif 4", "Source Serif 4 Fallback", Georgia, serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #002627;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #002627;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
}

#mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 1px solid #c0c8c8;
  border-radius: 0.5rem;
  background: transparent;
  color: #002627;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  overflow: hidden;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.hero-section {
  position: relative;
  padding: 2rem 20px 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #404848;
  margin: 0 0 2.5rem;
  max-width: 32rem;
}

.hero-media {
  position: relative;
  margin-top: 3rem;
}

.hero-media-frame {
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #efeeea;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hero-media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.hero-actions .hero-cta-primary {
  background: #fdae40;
  color: #002627;
}

.hero-actions .hero-cta-secondary {
  border: 1px solid #002627;
  color: #002627;
}

@media (min-width: 640px) {
  .site-header .header-cta {
    padding-inline: 1.5rem;
  }
  .site-header .header-actions {
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .site-header nav {
    padding-inline: 64px;
  }
  .hero-section {
    padding: 2.5rem 64px 5rem;
  }
  .hero-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-media {
    margin-top: 0;
  }
  #mobile-nav-toggle {
    display: none;
  }
  .desktop-nav {
    display: flex !important;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #404848;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"] {
  color: #002627;
  border-bottom: 2px solid #002627;
  padding-bottom: 0.25rem;
}
