/* Dovetail enrollment site — design tokens and base styles */
:root {
  --paper:   #F1EDE4;   /* limewash — page ground */
  --ink:     #2B2723;   /* warm near-black — text */
  --shingle: #837C70;   /* weathered cedar — secondary text */
  --fog:     #D9D3C7;   /* rules, hairlines */
  --copper:  #A8613A;   /* accent — island mark, link hover, one use per page */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;

  --measure: 34rem;      /* ~ 65 characters at body size */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 112.5%; line-height: 1.55; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration-color: var(--fog); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { text-decoration-color: var(--copper); }
a:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.masthead { display: flex; align-items: baseline; justify-content: space-between; padding: var(--space-3) var(--gutter); }
.wordmark { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.01em; text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark .emblem { height: 2.1rem; width: auto; color: var(--ink); }

.entity { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em; color: var(--ink); text-decoration: none; }
.entity:hover { color: var(--copper); }

main { flex: 1; }
.column { padding: 0 var(--gutter); }
.column p, .column dl { max-width: var(--measure); }

h1 { font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -0.012em; margin: 0 0 var(--space-3); }
h2 { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--shingle); margin: var(--space-5) 0 var(--space-2); }
p { margin: 0 0 var(--space-2); }
.lede { font-size: 1.22rem; line-height: 1.5; }
.meta { font-family: var(--sans); font-size: 0.8rem; color: var(--shingle); letter-spacing: 0.02em; }

.footer { font-family: var(--sans); font-size: 0.78rem; color: var(--shingle); letter-spacing: 0.02em; padding: var(--space-4) var(--gutter) var(--space-3); border-top: 1px solid var(--fog); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); justify-content: space-between; margin-top: var(--space-6); }
.footer nav { display: flex; gap: var(--space-3); }
.footer a { text-decoration: none; }
.footer a:hover, .footer a[aria-current] { color: var(--ink); }

/* Home */
.hero { margin: 0 var(--gutter); height: clamp(220px, 38vh, 460px); background: #7E7769; border-radius: 2px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-note { position: absolute; left: 0; right: 0; bottom: 0.9rem; text-align: center; color: #F1EDE4; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.mission { padding-top: var(--space-4); }
.made { letter-spacing: 0.06em; text-transform: uppercase; }
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }

/* Legal and About */
.doc { padding-top: var(--space-4); }
.doc h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.doc p { max-width: var(--measure); }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: var(--space-1) var(--space-3); }
.contact dt { font-family: var(--sans); font-size: 0.8rem; color: var(--shingle); padding-top: 0.2em; }
.contact dd { margin: 0; }

@media (max-width: 40rem) {
  .masthead { gap: var(--space-2); }
  .hero { height: auto; aspect-ratio: 3 / 2; margin: 0; border-radius: 0; }
      .contact dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 404 */
.notfound { padding-top: var(--space-5); }


/* Paragraph leads on About */
.doc p strong { font-weight: 600; letter-spacing: 0.005em; }
.doc p { margin-bottom: var(--space-3); }
