@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Nunito:wght@400;500&family=Caveat:wght@500&display=swap');

:root {
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-img: 0.75rem;
}

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

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: inherit;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: hsl(var(--headline));
}

.display {
  font-size: clamp(2.375rem, 4vw + 1rem, 3.25rem);
  line-height: 1.15;
  font-weight: 600;
}

h1,
.h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.25rem);
  line-height: 1.2;
}

h2,
.h2 {
  font-size: clamp(1.25rem, 1.5vw + 0.875rem, 1.375rem);
  line-height: 1.25;
}

h3,
.h3 {
  font-size: clamp(1.0625rem, 0.75vw + 0.875rem, 1.125rem);
  line-height: 1.3;
}

p {
  max-width: 42rem;
}

small,
.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.pull-quote {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: hsl(var(--link));
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--link));
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1160px;
  }
}

.section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

a {
  color: hsl(var(--link));
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: hsl(var(--headline));
}

.bg-background {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.bg-card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

.bg-muted {
  background-color: hsl(var(--muted));
  color: hsl(var(--card-foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.bg-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-accent {
  color: hsl(var(--accent));
}

.text-link {
  color: hsl(var(--link));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.btn-secondary:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  background-color: hsl(var(--background));
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.btn-ghost:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--primary) / 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 12px hsl(var(--primary) / 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
}

.input {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--primary) / 0.12);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

.input:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.badge-eyebrow {
  background-color: hsl(var(--muted));
  color: hsl(var(--link));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.site-header.scrolled {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.site-header a {
  color: hsl(var(--header-foreground));
  transition: color 0.3s ease-in-out;
}

.site-header a:hover,
.site-header a.is-active {
  color: hsl(var(--header-foreground));
}

.site-header a.is-active {
  text-decoration: underline;
  text-decoration-color: hsl(var(--accent));
  text-underline-offset: 0.25em;
}

.site-header__panel {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.site-footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
}

.site-footer a {
  color: hsl(var(--footer-foreground));
  transition: color 0.3s ease-in-out;
}

.site-footer a:hover {
  color: hsl(var(--footer-muted));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.prose {
  --tw-prose-body: hsl(var(--text));
  --tw-prose-headings: hsl(var(--text));
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.posts-archive-grid img {
  aspect-ratio: 16/9;
}

/* hm-color-system:start — computed from the site's color scheme (every text/surface pair is WCAG AA). Change the color scheme instead of editing these. */
:root {
  --background: 40 23.1% 94.9%;
  --foreground: 215 27.9% 16.9%;
  --text: 215 27.9% 16.9%;
  --card: 30 25% 98.4%;
  --card-foreground: 215 27.9% 16.9%;
  --popover: 30 25% 98.4%;
  --popover-foreground: 215 27.9% 16.9%;
  --primary: 220.9 46.5% 19.8%;
  --primary-foreground: 40 23.1% 94.9%;
  --primary-muted: 220 5.5% 78.4%;
  --primary-highlight: 220.9 46.6% 53.7%;
  --secondary: 45.6 67.5% 47.1%;
  --secondary-foreground: 215 27.9% 16.9%;
  --muted: 45 8% 90.2%;
  --muted-foreground: 217.9 9.1% 41%;
  --accent: 45.6 67.5% 47.1%;
  --accent-foreground: 215 27.9% 16.9%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 60 2.4% 83.9%;
  --input: 120 1% 81%;
  --ring: 45.6 67.5% 47.1%;
  --success: 141 78.9% 85.1%;
  --success-foreground: 215 27.9% 16.9%;
  --warning: 48 96.6% 76.7%;
  --warning-foreground: 215 27.9% 16.9%;
  --error: 0 96.3% 89.4%;
  --error-foreground: 215 27.9% 16.9%;
  --header: 220.9 46.5% 19.8%;
  --header-foreground: 40 23.1% 94.9%;
  --header-muted: 220 5.5% 78.4%;
  --footer: 220.9 46.5% 19.8%;
  --footer-foreground: 40 23.1% 94.9%;
  --footer-muted: 220 5.5% 78.4%;
  --link: 45.8 67.8% 28%;
  --headline: 220.9 46.5% 19.8%;
}
/* hm-color-system:end */
