:root {
  --ink: #173b47;
  --ink-deep: #0d2932;
  --paper: #f7f3e9;
  --paper-bright: #fffdf8;
  --line: #d7d4c8;
  --coral: #ee6b52;
  --coral-dark: #c74734;
  --teal: #1a746f;
  --teal-pale: #dcece6;
  --gold: #e5b44a;
  --muted: #586a70;
  --shadow: 0 18px 50px rgb(23 59 71 / 10%);
  --radius: 1.25rem;
  --content: 76rem;
  color-scheme: light;
  font: 400 1rem/1.6 "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.large-text {
  font-size: 1.16rem;
}

body.high-contrast {
  --ink: #071b23;
  --ink-deep: #000;
  --paper: #fff;
  --paper-bright: #fff;
  --line: #1f3036;
  --coral: #b72f1d;
  --coral-dark: #861f12;
  --teal: #005b56;
  --teal-pale: #e3f5f1;
  --muted: #26383e;
}

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

a {
  color: inherit;
}

button,
select,
input {
  min-height: 2.75rem;
}

:focus-visible {
  outline: 0.2rem solid var(--gold);
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink-deep);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font: 700 1.35rem/1 "Fraunces", serif;
}
