/* Palette, reset, typography, accessibility and native form controls. */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-VariableFont_wdth,wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic-VariableFont_wdth,wght.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --font-family: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --charcoal: #183e3b;
  --steel: #205752;
  --contact-background: radial-gradient(ellipse at 5% 100%, #2b6458, transparent 65%), var(--steel);
  --ink: var(--charcoal);
  --muted: #526962;
  --paper: #f7faf7;
  --surface: #edf4ee;
  --line: #d3e2da;
  --accent: #246b5b;
  --accent-soft: #c6e9df;
  --accent-surface: #e4f2eb;
  --on-dark-muted: #d0e3dc;
  --border-hover: #7da696;
  --input-border: #7e978d;
  --header-scrolled: #f7faf7f5;
  --header-glass: #f7faf7ed;
  --header-shadow: #183e3b0d;
  --peach: #f6dfcb;
  --mint: #e4f2eb;
  --radius: 24px;
  --shadow-soft: 0 18px 50px #183e3b0b;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --section: clamp(4rem, 7vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 0px) + var(--admin-offset, 0px) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.7 var(--font-family);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

h1 em,
h2 em {
  color: var(--accent);
  font-family: inherit;
  font-style: normal;
  font-weight: 650;
  letter-spacing: inherit;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  max-width: 100%;
  height: auto;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  color: var(--charcoal);
  background: var(--accent-soft);
}

.container {
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.reading-width {
  width: min(780px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

input:not([type="checkbox"], [type="radio"], [type="submit"]),
textarea {
  max-width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }

}


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

@media print {
  body {
    color: black;
    background: white;
  }

  h1 em,
  h2 em {
    color: black;
  }
}
