@layer reset, tokens, base, layout, components, animations;
@layer reset {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; tab-size: 4; scrollbar-gutter: stable; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: inherit; }
}
@layer tokens {
:root {
--font-sans: system-ui, sans-serif;
--font-heading: var(--font-sans);
--leading-tight: 1.15;
--leading-snug: 1.3;
--leading-normal: 1.5;
--leading-loose: 1.75;
--font-size-xs: clamp(0.75rem, 0.7rem + 0.25vi, 0.875rem);
--font-size-sm: clamp(0.875rem, 0.8rem + 0.4vi, 1rem);
--font-size-base: clamp(1rem, 0.9rem + 0.5vi, 1.125rem);
--font-size-lg: clamp(1.125rem, 1rem + 0.6vi, 1.25rem);
--font-size-xl: clamp(1.25rem, 1.1rem + 0.75vi, 1.5rem);
--font-size-2xl: clamp(1.5rem, 1.3rem + 1vi, 2rem);
--font-size-3xl: clamp(2rem, 1.6rem + 2vi, 3rem);
--font-size-4xl: clamp(2.5rem, 2rem + 2.5vi, 4rem);
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.5rem;
--space-6: 2rem;
--space-7: 3rem;
--space-8: 4rem;
--radius-md: 12px;
--radius-lg: 16px;
--radius-full: 9999px;
--section-padding: 5rem;
--navbar-height: 4rem;
--duration-fast: 200ms;
--color-brand-50:  oklch(from var(--color-brand-600) calc(l + 0.425) calc(c * 0.063) h);
--color-brand-100: oklch(from var(--color-brand-600) calc(l + 0.386) calc(c * 0.147) h);
--color-brand-400: oklch(from var(--color-brand-600) calc(l + 0.168) calc(c * 0.667) h);
--color-brand-500: oklch(from var(--color-brand-600) calc(l + 0.077) calc(c * 0.873) h);
--color-brand-700: oklch(from var(--color-brand-600) calc(l - 0.058) calc(c * 1.009) h);
--color-brand-900: oklch(from var(--color-brand-600) calc(l - 0.287) calc(c * 0.456) h);
--color-brand-950: oklch(from var(--color-brand-600) calc(l - 0.346) calc(c * 0.288) h);
--color-surface-50:  oklch(98.42% 0.0034 247.86);
--color-surface-100: oklch(95.65% 0.0080 251.69);
--color-surface-200: oklch(92.88% 0.0126 255.51);
--color-surface-300: oklch(87.20% 0.0100 258.34);
--color-surface-400: oklch(70.70% 0.0150 256.80);
--color-surface-600: oklch(44.60% 0.0140 257.28);
--color-surface-700: oklch(37.30% 0.0130 256.80);
--color-surface-800: oklch(29.15% 0.0095 260.66);
--color-surface-900: oklch(21.00% 0.0060 264.53);
--color-white: oklch(100% 0 0);
--shadow-sm: 0 1px 2px oklch(from black l c h / 0.05);
--shadow-md: 0 4px 6px -1px oklch(from black l c h / 0.1);
--shadow-lg: 0 10px 15px -3px oklch(from black l c h / 0.1);
--shadow-brand-lg: 0 10px 15px -3px oklch(from var(--color-brand-600) l c h / 0.25);
--shadow-brand-xl: 0 20px 25px -5px oklch(from var(--color-brand-600) l c h / 0.15);
--shadow-xl: 0 20px 25px -5px oklch(from black l c h / 0.1);
}
}
@layer base {
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-block-start: calc(var(--navbar-height) + var(--space-4)); }
body { font-family: var(--font-sans); font-synthesis: none; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: var(--leading-tight); letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }
::selection { background-color: var(--color-brand-100); color: var(--color-brand-900); }
:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
main:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
}
@layer tokens {
:root {
--color-brand-600: #1b5e3a;
--font-sans: "Mulish", system-ui, sans-serif;
--font-heading: "Saira", var(--font-sans);
}
}
@layer base {
@font-face {
font-family: "Mulish";
font-style: normal;
font-weight: 200 1000;
font-display: swap;
src: url("/fonts/Mulish.8d1d33d6.woff2") format("woff2");
}
}
@layer base {
@font-face {
font-family: "Saira";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("/fonts/Saira.7eb811eb.woff2") format("woff2");
}
}
@layer components {
.blurb-title { font-size: var(--font-size-lg); font-weight: 600; }
.blurb-description { font-size: var(--font-size-sm); line-height: var(--leading-normal); color: var(--surface-muted); }
}
@layer components {
.brand-mark { font-weight: 700; }
.brand-mark-on-light .brand-mark-left  { color: var(--color-brand-600); }
.brand-mark-on-light .brand-mark-right { color: var(--color-brand-950); }
.brand-mark-on-dark  .brand-mark-left  { color: var(--color-brand-400); }
.brand-mark-on-dark  .brand-mark-right { color: var(--color-white); }
}
@layer components {
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
padding-inline: var(--space-6); padding-block: var(--space-4);
border-radius: var(--radius-md); font-weight: 600; font-size: var(--font-size-lg);
background-color: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--btn-shadow);
transition: background-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
&:hover { background-color: var(--btn-hover-bg); box-shadow: var(--btn-hover-shadow); }
&:active { transform: scale(0.98); }
}
}
@layer components {
.eyebrow { font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--surface-accent); }
}
@layer components {
.lede { font-size: var(--font-size-lg); line-height: var(--leading-loose); color: var(--surface-muted); }
}
@layer components {
.responsive-image-cover,
.responsive-image-contain {
width: 100%;
height: 100%;
}
.responsive-image-cover { object-fit: cover; }
.responsive-image-contain { object-fit: contain; }
}
@layer components {
.card {
text-align: center; overflow: clip;
border-radius: var(--radius-lg); border: 1px solid var(--color-surface-200);
box-shadow: var(--shadow-sm); transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
&:hover { border-color: oklch(from var(--color-brand-600) l c h / 0.3); box-shadow: var(--shadow-md); }
}
.card-body { padding: var(--space-6); }
.card-badge {
align-self: center;
display: inline-flex; align-items: center; justify-content: center;
width: 40px; height: 40px; border-radius: var(--radius-full);
background-color: var(--color-brand-600); color: var(--color-white);
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--color-surface-100); }
}
@layer layout {
.center {
container-type: inline-size;
margin-inline: auto;
max-inline-size: 72rem;
padding-inline: var(--space-5);
inline-size: 100%;
}
.center-narrow { max-inline-size: 48rem; }
}
@layer layout {
.cluster {
display: flex;
flex-wrap: wrap;
gap: var(--space-3);
align-items: center;
justify-content: flex-start;
list-style: none;
}
.cluster-justify-center { justify-content: center; }
}
@layer components {
.doc-page { padding-block: var(--section-padding); }
}
@layer components {
.feature-split {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-6);
align-items: center;
}
@container (width >= 45rem) {
.feature-split {
grid-template-columns: 1fr 1fr;
gap: var(--space-8);
}
.feature-split-reverse {
direction: rtl;
}
.feature-split-reverse .feature-split-media,
.feature-split-reverse .feature-split-text {
direction: ltr;
}
}
.feature-split-media {
aspect-ratio: 4 / 3;
overflow: hidden;
border-radius: var(--radius-lg);
background-color: var(--color-surface-100);
}
}
@property --link-cols { syntax: "<integer>"; inherits: false; initial-value: 0; }
@layer components {
.footer { padding-block: var(--space-8); }
.footer-grid { display: grid; gap: var(--space-6); @media (width >= 40rem) { grid-template-columns: 2fr repeat(var(--link-cols), 1fr); } }
.footer-brand { font-size: var(--font-size-xl); }
.footer-tagline { font-size: var(--font-size-sm); color: var(--surface-muted); }
.footer-heading { font-size: var(--font-size-sm); font-weight: 600; color: var(--surface-accent); margin-block-end: var(--space-3); }
.footer-links { font-size: var(--font-size-sm); & a:hover { color: var(--surface-accent); } }
.footer-bottom { margin-block-start: var(--space-7); padding-block-start: var(--space-6); border-block-start: 1px solid var(--color-surface-700); font-size: var(--font-size-xs); color: var(--surface-muted); }
}
@layer components {
.form-label { font-weight: 600; font-size: var(--font-size-sm); }
.form-control {
width: 100%;
padding-block: var(--space-3); padding-inline: var(--space-4);
background-color: var(--color-white); color: var(--color-brand-950);
border: 1px solid var(--color-surface-300);
border-radius: var(--radius-md);
transition: border-color var(--duration-fast);
&:focus-visible { border-color: var(--color-brand-500); }
}
textarea.form-control { resize: vertical; min-height: 8rem; }
}
@layer components {
.gallery-grid { text-align: center; }
.gallery-grid-frame {
aspect-ratio: 4 / 3;
overflow: hidden;
border-radius: var(--radius-lg);
background-color: var(--color-surface-100);
}
.gallery-grid-caption {
font-size: var(--font-size-sm);
color: var(--surface-muted);
}
}
@layer layout {
.grid {
display: grid;
gap: var(--space-6);
grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
list-style: none;
}
.grid-min-18 { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.grid-gap-4 { gap: var(--space-4); }
.grid-cols-2 {
grid-template-columns: 1fr;
@container (width >= 48rem) { grid-template-columns: repeat(2, 1fr); }
}
.grid-cols-4 {
grid-template-columns: 1fr;
@container (width >= 40rem) { grid-template-columns: repeat(2, 1fr); }
@container (width >= 64rem) { grid-template-columns: repeat(4, 1fr); }
}
}
@layer components {
.hero { text-align: center; }
.hero-content { padding-block: var(--section-padding) var(--space-8); }
.hero-badge {
align-self: center;
border-radius: var(--radius-full); padding-block: var(--space-1); padding-inline: var(--space-3);
font-size: var(--font-size-sm); font-weight: 500; background-color: oklch(from var(--surface-accent) l c h / 0.15);
color: var(--surface-accent); border: 1px solid oklch(from var(--surface-accent) l c h / 0.3);
}
.hero-highlight { color: var(--surface-accent); }
.hero-trust { font-size: var(--font-size-sm); color: var(--surface-muted); }
.hero:has(> .hero-backdrop) {
position: relative;
isolation: isolate;
min-height: clamp(20rem, 50vh, 32rem);
display: grid;
place-items: center;
& .hero-content { width: 100%; padding-block: var(--space-8); }
& :is(h1, .lede) { text-shadow: 0 1px 4px oklch(from black l c h / 0.6); }
}
.hero-backdrop {
position: absolute;
inset: 0;
z-index: -1;
}
.hero-backdrop-clip,
.hero-backdrop-poster {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-backdrop-poster { display: none; }
@media (prefers-reduced-motion: reduce) {
.hero-backdrop-clip { display: none; }
.hero-backdrop-poster { display: block; }
}
.hero-backdrop-scrim {
position: absolute;
inset: 0;
background: linear-gradient(to bottom,
oklch(from black l c h / 0.45) 0%,
oklch(from black l c h / 0.62) 30%,
oklch(from black l c h / 0.62) 70%,
oklch(from black l c h / 0.45) 100%);
}
}
@layer components {
.logo { text-align: center; }
.logo-frame {
inline-size: min(100%, 360px);
block-size: 200px;
margin-inline: auto;
}
.logo-caption {
margin-block-start: var(--space-4);
font-size: var(--font-size-sm);
color: var(--surface-muted);
}
}
@layer components {
.navbar {
position: sticky; inset-block-start: 0; z-index: 50;
background-color: oklch(from var(--color-white) l c h / 0.85);
backdrop-filter: blur(12px);
border-block-end: 1px solid var(--color-surface-200);
}
.navbar-inner { display: flex; align-items: center; gap: var(--space-3); height: var(--navbar-height); }
.navbar-logo { margin-inline-end: auto; font-size: var(--font-size-xl); }
.navbar-links { display: none; gap: var(--space-6); list-style: none; @media (width >= 40rem) { display: flex; } }
.navbar-link {
font-size: var(--font-size-sm); font-weight: 600; color: var(--color-surface-800); transition: color var(--duration-fast);
&:hover { color: var(--color-brand-600); }
}
.navbar-link[aria-current="page"], .navbar-mobile-link[aria-current="page"] { color: var(--color-brand-600); }
.navbar-call {
display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
min-block-size: 44px; min-inline-size: 44px;
padding: var(--space-3); border-radius: var(--radius-md);
color: var(--color-brand-600); font-weight: 600; white-space: nowrap;
transition: color var(--duration-fast), background-color var(--duration-fast);
&:hover { color: var(--color-brand-700); background-color: var(--color-brand-50); }
}
.navbar-call-number {
display: none; font-size: var(--font-size-sm);
@media (width >= 40rem) { display: inline; }
}
.navbar-hamburger {
color: var(--color-surface-800);
padding: var(--space-3);
@media (width >= 40rem) { display: none; }
}
.navbar-mobile-menu {
@media (width >= 40rem) { display: none; }
inset: auto; inset-block-start: var(--navbar-height); inset-inline: 0;
width: auto; list-style: none;
background-color: var(--color-white); border-block-end: 1px solid var(--color-surface-200);
padding-block: var(--space-4); padding-inline: var(--space-5);
opacity: 0;
transition: opacity var(--duration-fast), overlay var(--duration-fast) allow-discrete, display var(--duration-fast) allow-discrete;
}
.navbar-mobile-menu:popover-open { @media (width < 40rem) { display: flex; flex-direction: column; gap: var(--space-3); opacity: 1; } }
@starting-style { .navbar-mobile-menu:popover-open { opacity: 0; } }
.navbar-mobile-menu::backdrop {
background-color: oklch(from black l c h / 0);
transition: background-color var(--duration-fast), overlay var(--duration-fast) allow-discrete, display var(--duration-fast) allow-discrete;
}
.navbar-mobile-menu:popover-open::backdrop { background-color: oklch(from black l c h / 0.4); }
@starting-style { .navbar-mobile-menu:popover-open::backdrop { background-color: oklch(from black l c h / 0); } }
.navbar-mobile-link { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-surface-800); padding-block: var(--space-3); }
}
@layer layout {
.prose {
container-type: inline-size;
max-inline-size: 65ch;
line-height: var(--leading-normal);
text-wrap: pretty;
& :is(ul, ol) {
padding-inline-start: var(--space-5);
}
& > * + * {
margin-block-start: var(--space-4);
}
& :is(h1, h2, h3, h4, h5, h6) {
line-height: var(--leading-snug);
text-wrap: balance;
}
& h1 { font-size: clamp(1.875rem, 1.5rem + 2cqi, 2.5rem); }
& h2 { font-size: clamp(1.5rem, 1.25rem + 1.5cqi, 2rem); }
& h3 { font-size: clamp(1.25rem, 1.1rem + 1cqi, 1.5rem); }
& h4 { font-size: clamp(1.125rem, 1rem + 0.5cqi, 1.25rem); }
& h5 { font-size: 1.125rem; }
& h6 { font-size: 1rem; }
& > * + :is(h1, h2, h3, h4, h5, h6) {
margin-block-start: var(--space-7);
}
& > :is(h1, h2, h3, h4, h5, h6) + * {
margin-block-start: var(--space-3);
}
& a {
color: var(--color-brand-600);
text-decoration: underline;
text-underline-offset: 0.15em;
}
& code {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9em;
background: var(--color-surface-50);
padding: 0.1em 0.3em;
border-radius: 0.25em;
}
& pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
background: var(--color-surface-50);
padding: var(--space-4);
border-radius: 0.5em;
overflow-x: auto;
line-height: var(--leading-snug);
}
& pre code {
background: transparent;
padding: 0;
font-size: inherit;
}
& hr {
border: none;
border-block-start: 1px solid var(--color-surface-300);
margin-block: var(--space-6);
}
}
}
@layer components {
.section { padding-block: var(--section-padding); }
.section-hgroup {
text-align: center;
& > * + * { margin-block-start: var(--space-2); }
& > .lede { margin-block-start: var(--space-4); }
}
}
@layer components {
.skip-link {
position: absolute; inset-inline-start: -9999px; inset-block-start: 0;
background-color: var(--color-brand-600); color: var(--color-white);
padding-block: var(--space-3); padding-inline: var(--space-5);
font-weight: 600; font-size: var(--font-size-sm); z-index: 100;
border-radius: 0 0 var(--radius-md) 0;
&:focus { inset-inline-start: 0; }
}
}
@layer components {
.social-links-link {
display: inline-flex;
transition: color var(--duration-fast);
&:hover { color: var(--color-white); }
}
.social-links-icon { width: 20px; height: 20px; }
}
@layer layout {
.stack {
display: flex;
flex-direction: column;
gap: var(--space-4);
list-style: none;
}
.stack-gap-2 { gap: var(--space-2); }
.stack-gap-5 { gap: var(--space-5); }
.stack-gap-7 { gap: var(--space-7); }
}
@layer components {
.surface-page, .surface-subtle, .surface-brand, .surface-gradient, .surface-photo, .surface-dark {
background: var(--surface-bg);
color: var(--surface-fg);
}
.surface-page {
--surface-bg: var(--color-white);
--surface-fg: var(--color-brand-950);
--surface-muted: var(--color-surface-600);
--surface-accent: var(--color-brand-600);
--focus-ring-color: var(--color-brand-500);
--btn-bg: var(--color-brand-600);
--btn-fg: var(--color-white);
--btn-hover-bg: oklch(from var(--color-brand-600) calc(l - 0.05) c h);
--btn-shadow: var(--shadow-brand-lg);
--btn-hover-shadow: var(--shadow-brand-xl);
}
.surface-subtle { --surface-bg: var(--color-surface-50); }
.surface-gradient { --surface-bg: linear-gradient(to bottom, var(--color-brand-50), var(--color-white)); }
.surface-brand {
--surface-bg: var(--color-brand-600);
--surface-fg: var(--color-white);
--surface-muted: oklch(from var(--color-white) l c h / 0.85);
--surface-accent: var(--color-brand-100);
--focus-ring-color: var(--color-white);
--btn-bg: var(--color-white);
--btn-fg: var(--color-brand-900);
--btn-hover-bg: var(--color-brand-50);
--btn-shadow: var(--shadow-lg);
--btn-hover-shadow: var(--shadow-xl);
}
.surface-photo {
--surface-bg: none;
--surface-fg: var(--color-white);
--surface-muted: var(--color-white);
--surface-accent: var(--color-brand-100);
--focus-ring-color: var(--color-white);
}
.surface-dark {
--surface-bg: var(--color-surface-900);
--surface-fg: var(--color-surface-300);
--surface-muted: var(--color-surface-400);
--surface-accent: var(--color-white);
--focus-ring-color: var(--color-white);
}
}
@layer components {
.video-embed { text-align: center; }
.video-embed-clip {
width: 100%;
border-radius: var(--radius-lg);
background-color: var(--color-surface-100);
}
}
