/* The Harvard Crimson article chrome: fonts, sticky masthead, slide-out menu, article meta and site footer.
   The masthead and footer themselves live in js/crimson-chrome.js. Matches thecrimson.com's article template (tokens from its bundle.css). Loaded after story.css. */
@font-face { font-family: "Big Moore"; src: url(../fonts/BigMoore-Regular.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Crimson"; font-weight: 400; src: url(../fonts/Crimson-Roman.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Crimson"; font-weight: 400; font-style: italic; src: url(../fonts/Crimson-Italic.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Crimson"; font-weight: 600; src: url(../fonts/Crimson-Semibold.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Crimson"; font-weight: 700; src: url(../fonts/Crimson-Bold.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Sueca Sans"; font-weight: 300; src: url(../fonts/SuecaSans-Light.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Sueca Sans"; font-weight: 400; src: url(../fonts/SuecaSans-Regular.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Sueca Sans"; font-weight: 500; src: url(../fonts/SuecaSans-Medium.otf) format("opentype"); font-display: swap; }
@font-face { font-family: "Sueca Sans"; font-weight: 700; src: url(../fonts/SuecaSans-Bold.woff) format("woff"); font-display: swap; }

:root {
  --crimson: #a70003; --dark-crimson: #871014; --dropcap: #af2234;
  --nameplate: "Big Moore", serif;
  --display: "Crimson", Georgia, serif;          /* headlines, section heads */
  --serif: Georgia, "Times New Roman", serif;   /* body copy (font-content) */
  --sans: "Sueca Sans", "Helvetica Neue", Arial, sans-serif;
  --col: 672px;                                  /* max-w-2xl */
  --hdr: 60px;
}
body { font-family: var(--serif); font-size: 18px; line-height: 1.75; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- masthead and footer: thecrimson.com markup in shadow roots (js/crimson-chrome.js) ---------------- */
#crHeader { position: sticky; top: 0; z-index: 1001; min-height: var(--hdr); background: #fff; }
#crFooter { position: relative; z-index: 6; background: #fff; }


/* the 3D stage sits under the masthead */
.stage { top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100lvh - var(--hdr)); }
.steps { margin-top: calc(var(--hdr) - 100vh); margin-top: calc(var(--hdr) - 100lvh); }
.step-hero { min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); }

/* ---------------- hero type over the opening shot (thecrimson.com: font-serif md:text-4xl, font-content text-lg) ---------------- */
.headline { text-shadow: 1px 1px 10px #000; }
.headline h1 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 40px; letter-spacing: 0; max-width: 560px; }
.dek { font: 400 18px/28px var(--serif); max-width: 560px; }
@media (max-width: 767px) { .headline h1 { font-size: 30px; line-height: 36px; } }
.card { font-family: var(--serif); }

/* ---------------- article ---------------- */
.body { padding: 14px 16px 64px; }
.cr-meta { max-width: var(--col); margin: 0 auto; font: 400 14px/1.5 var(--sans); color: #111; }
.cr-meta .cr-by { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cr-meta .cr-by a { color: var(--crimson); }
.cr-meta .cr-date { display: block; margin-top: 4px; color: #6b7280; }
.cr-meta hr { border: 0; border-top: 1px solid #9ca3af; margin: 8px 0 24px; }
.cr-share { display: flex; color: #111; cursor: pointer; background: none; border: 0; padding: 0; }
.cr-share:hover { color: var(--crimson); }
.cr-share svg { width: 20px; height: 20px; }
.body p { font: 400 18px/28px var(--serif); color: #000; margin: 0 auto 16px; }   /* thecrimson.com: font-content text-lg, mb-4 */
.body h2 { font: 400 24px/32px var(--serif); color: var(--dark-crimson); letter-spacing: 0; margin: 40px auto 16px; text-wrap: wrap; }
.fig .ft { font: 700 18px/1.3 var(--sans); }
.fig .fs, .fig .src, .method, .ctl, .presets button, .tip { font-family: var(--sans); }
.method h3 { font-family: var(--sans); }
.method a { color: var(--crimson); }
.cr-tag { max-width: var(--col); margin: 32px auto 0; }
.cr-tag p { margin: 0 0 16px; }

.cr-tag .ph { background: #fff4c2; padding: 0 4px; font-style: normal; }
.body .method p { font: inherit; color: inherit; margin: 0 0 .9em; }   /* the methodology box keeps its smaller sans type */
