/* Delaware Desk: shared type, wayfinding and page structure. */
:root {
  color-scheme: light;
  --ink: #142f32;
  --pine: #103e3c;
  --teal: #00675d;
  --lime: #d3ed96;
  --muted: #4c6261;
  --line: #d3deda;
  --wash: #f2f6f3;
  --white: #fff;
  --sans: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-block: 1.3rem 5.75rem; }
body { margin: 0; background: white; color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, h4, p, dl, dd, ul, ol { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.65rem, 5.3vw, 4.8rem); font-weight: 680; letter-spacing: -.058em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 660; letter-spacing: -.045em; }
h3 { font-size: 1.14rem; letter-spacing: -.023em; }
a { color: var(--teal); text-underline-offset: .19em; text-decoration-thickness: 1px; }
a:hover { color: #004c46; text-decoration: underline; }
button, input, select, summary { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #0077a2; outline-offset: 4px; }
.dark :focus-visible, footer :focus-visible { outline-color: #f4ce70; }
[hidden] { display: none !important; }
.wrap { width: min(1220px, calc(100% - clamp(2.2rem,8.4vw,8rem))); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 50; background: white; color: var(--pine); padding: .75rem; }
.skip:focus { top: 1rem; }
.icon { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -.17em; }
.brand { display: inline-flex; align-items: center; gap: .62rem; font-size: 1.5rem; font-weight: 725; letter-spacing: -.06em; text-decoration: none; color: var(--pine); white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.mast { border-bottom: 1px solid var(--line); background: white; }
.topbar, .main-links, .top-identity { display: flex; align-items: center; }
.topbar { min-height: 76px; justify-content: space-between; gap: 1rem; }
.top-identity { gap: 1.1rem; }
.top-identity small { max-width: 8.6rem; border-left: 1px solid var(--line); padding-left: 1rem; color: var(--muted); font-size: .78rem; line-height: 1.25; }
.main-links { gap: clamp(.6rem,1.9vw,1.8rem); }
.main-links a, .foot-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .92rem; font-weight: 580; text-decoration: none; color: var(--ink); }
.main-links a:hover, .foot-links a:hover { text-decoration: underline; }
.main-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; color: var(--teal); }
.main-links .index-link { padding-inline: .8rem; background: var(--wash); border: 1px solid var(--line); border-radius: 5px; }
.mobile-dock { display: none; }
.eyebrow { font-size: .69rem; font-weight: 750; letter-spacing: .145em; text-transform: uppercase; color: var(--teal); }
.lead { color: var(--muted); max-width: 67ch; font-size: clamp(1.02rem,1.43vw,1.17rem); line-height: 1.55; }
.bread { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); font-size: .84rem; padding-top: .7rem; }
.bread a { padding-block: .45rem; }
.page-head { padding-block: clamp(1.6rem,3.8vw,3.2rem) 2rem; }
.page-head .eyebrow { margin-bottom: .65rem; }
.page-head .lead { margin-top: .75rem; }
.button, .action-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-size: .95rem; font-weight: 640; }
.button { justify-content: center; padding: .75rem 1.05rem; color: white; background: var(--pine); border: none; border-radius: 5px; text-decoration: none; }
.button:hover { color: white; background: #07584f; }
footer { background: #102f31; color: white; padding-block: 2.45rem; margin-top: 3rem; }
.foot-inner, .foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.35rem; }
.foot-inner { justify-content: space-between; }
footer .brand, .foot-links a { color: #f4faf5; }
.foot-caption { color: #c2d4d1; font-size: .86rem; margin-top: .35rem; }
@media (max-width: 970px) {
  .top-identity small { display: none; }
}
@media (max-width: 760px) {
  .topbar { min-height: 62px; }
  .main-links a:not(.index-link) { display: none; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 32px; height: 32px; }
  .mobile-dock { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; inset: auto 0 0; background: #fff; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #bacbc4; box-shadow: 0 -2px 12px #092d2810; z-index: 8; }
  .mobile-dock a { min-height: 55px; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: .15rem; text-decoration: none; color: var(--muted); font-size: .74rem; font-weight: 620; }
  .mobile-dock a[aria-current="page"] { color: var(--teal); background: #eaf3ee; box-shadow: inset 0 2px var(--teal); }
  .mobile-dock .icon { width: 19px; height: 19px; }
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .foot-inner { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
