/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 */
/* Hallmark · macrostructure: link-index · editorial-narrow · accent=hover-only */

:root {
  --paper: #eef1ee;
  --ink: #1a221c;
  --muted: #4f5a52;
  --line: #c9d2cb;
  --accent: #2a4738;
  --focus: #1f5a38;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 110% 70% at 0% 0%, #e4ebe4 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, #ebe6d8 0%, transparent 45%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.page {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding: var(--space-2xl) 1.25rem 5rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 6.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 var(--space-xl);
  color: var(--muted);
  font-size: 1.05rem;
}

h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.links {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
}

.links li + li {
  margin-top: 0.25rem;
}

.links a {
  display: block;
  min-height: 2.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.links a:hover .label,
.links a:active .label {
  color: var(--accent);
}

.links .label {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.links .desc {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 70%, white);
  color: inherit;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
}

.contact a:hover,
.contact a:active {
  border-color: var(--accent);
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

a:disabled,
a[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 390px) {
  .page {
    padding: 2.5rem var(--space-md) 4rem;
  }

  .contact a {
    font-size: 0.85rem;
  }
}
