:root {
  color-scheme: light;
  --background: #f6f1e8;
  --surface: #fffdf9;
  --text: #201a17;
  --muted: #6e5b52;
  --espresso: #3a251d;
  --accent: #a85f2b;
  --caramel-text: #99521f;
  --border: #ded5cc;
  --focus: #1f5f70;
  --accent-fruity: #f4a261;
  --accent-iced: #a8dadc;
  --accent-sweet: #e9a6b6;
  --accent-matcha: #a4b494;
  --accent-creamy: #e9d8c4;
  --accent-experimental: #b8a6c9;
  --radius-small: 0.5rem;
  --radius-medium: 0.875rem;
  --radius-large: 1.25rem;
  --radius-hero: 1.5rem;
  --radius-pill: 999px;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

@font-face {
  font-display: swap;
  font-family: 'DM Serif Display';
  font-weight: 400;
  src: url('/fonts/dm-serif-display-400.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-weight: 400;
  src: url('/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-weight: 500;
  src: url('/fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-weight: 600;
  src: url('/fonts/inter-600.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.65;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
summary:focus-visible {
  border-radius: 0.15rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
}

.site-shell {
  margin: 0 auto;
  max-width: 52rem;
  padding: 1.25rem;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.brand {
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
}

.site-shell main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin: 2rem 0;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 8vw, 4.5rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  max-width: 70ch;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  margin: 0 0 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.link-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.link-list a {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.25rem 0;
}

.contact-card {
  background: var(--background);
  border-left: 0.25rem solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1rem 0 2rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 38rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-shell main {
    margin: 1.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
