/* ==========================================================================
   Base: reset, document, type scale, prose for migrated content.
   Tokens live in tokens.css; components in components.css.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: contains full-bleed bands without making a scroll container */
  overflow-x: clip;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0;
  text-wrap: pretty;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 0;
}
/* over photography and on dark bands the deep teal has nothing to hold against */
.hero :focus-visible,
.band--dark :focus-visible,
.guide-band :focus-visible,
.site-footer :focus-visible,
.preview-banner :focus-visible { outline-color: var(--teal-bright); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Skip link: first tab stop */
.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  font: 600 15px var(--font-body);
  padding: 12px 20px;
  text-decoration: none;
}
.skip-link:focus { top: 8px; color: var(--paper); text-decoration: none; }

.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Content column: 1360 with fluid gutters */
.wrap {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap--flush { padding-left: 0; padding-right: 0; }

.site-main { display: block; }

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */
.display-1 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.04; letter-spacing: -.022em; }
.display-2 { font-size: clamp(38px, 5vw, 64px);   line-height: 1.08; letter-spacing: -.022em; }
.display-3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; }
.display-4 { font-size: 38px; line-height: 1.15; }
.display-5 { font-size: 27px; line-height: 1.15; }
.display-6 { font-size: 21px; line-height: 1.2; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow--sm     { font-size: 10px; letter-spacing: .18em; }
.eyebrow--bright { color: var(--teal-bright); }
.eyebrow--teal   { color: var(--teal); }
.eyebrow--rust   { color: var(--rust); }
.eyebrow--muted  { color: var(--dark-muted); }

.lede { font-size: 18.5px; line-height: 1.65; color: var(--ink-soft); }
.lede--ink { color: var(--ink); }
.measure { max-width: 62ch; }
.measure--narrow { max-width: 48ch; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.on-dark { color: var(--on-dark); }
.small { font-size: 14px; line-height: 1.55; }
.link-strong { font-weight: 700; font-size: 14px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }

/* A right-pointing chevron after a link label, drawn with borders. */
.more::after,
.link-ext::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 9px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
/* external: the same chevron pointing to the top right */
.link-ext::after { transform: rotate(-45deg); top: 1px; }

/* --------------------------------------------------------------------------
   Prose: migrated Squarespace content and editor content
   -------------------------------------------------------------------------- */
.prose { font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 72ch; }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 30px; line-height: 1.15; margin-top: 2em; }
.prose h3 { font-size: 24px; line-height: 1.2; margin-top: 1.8em; }
.prose h4 { font-size: 20px; line-height: 1.25; margin-top: 1.6em; }
.prose h5, .prose h6 { font-family: var(--font-body); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink); }
.prose strong, .prose b { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li > ul, .prose li > ol { margin-top: .4em; }
.prose blockquote {
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--rule-strong);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
}
.prose blockquote p + p { margin-top: .8em; }
.prose blockquote cite { display: block; margin-top: .6em; font: 700 11px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); font-style: normal; }
.prose figure { margin: 0; }
.prose figcaption,
.prose .wp-caption-text,
.prose .wp-element-caption { font-size: 13.5px; line-height: 1.5; color: var(--ink-faint); margin-top: 8px; }
.prose img { width: auto; max-width: 100%; height: auto; }
.prose .wp-caption { max-width: 100%; }
.prose .alignleft  { float: left;  margin: 4px 24px 12px 0; max-width: 50%; }
.prose .alignright { float: right; margin: 4px 0 12px 24px; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignwide, .prose .alignfull { max-width: 100%; }
.prose::after { content: ""; display: table; clear: both; }
/* 16:9 wrapper for embedded video */
.prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--dark); }
.prose .iframe-wrap,
.prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; background: var(--dark); }
.prose .iframe-wrap iframe,
.prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--rule); }
.prose th { font-weight: 700; background: var(--paper-deep); }
.prose tbody tr:nth-child(even) td { background: var(--paper-deep); }
.prose .table-wrap { overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose pre { overflow-x: auto; font-size: 14px; background: var(--paper-deep); padding: 16px; }
.prose code { font-size: .92em; background: var(--paper-deep); padding: 1px 4px; }
.prose a.btn { text-decoration: none; margin-top: .5em; }
.prose a.btn:hover { text-decoration: none; }
.prose .btn + .btn { margin-left: 10px; }
@media (max-width: 560px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 0; max-width: 100%; }
  .prose blockquote { font-size: 19px; padding-left: 18px; }
}
