/* Inter, Copyright 2020 The Inter Project Authors. SIL Open Font License 1.1. */
@font-face { font-family: Inter; src: url("/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
html, body { margin: 0; }
body { background: #f8fafc; color: #183042; font: 18px/1.6 Inter, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
body.has-hero { color: #fff; }
body.has-hero header, body.has-hero main { background: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 0.5rem; top: 0.5rem; background: #fff; color: #183042; z-index: 3; }
header { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 28px 8px; }
header strong { font-size: 29px; line-height: 1.2; font-weight: 700; }
header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 16px; }
header nav a { color: inherit; white-space: nowrap; }
.site-subtitle { grid-column: 1 / -1; margin: 0; max-width: 85ch; font: 400 18px/1.5 Inter, sans-serif; }
.mission-entry { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mission-entry .site-subtitle { grid-column: auto; flex: 1 1 16rem; }
.factory-start { flex: none; cursor: pointer; background: #f5cc37; color: #172a35; border: 2px solid #ffe783; border-radius: 999px; padding: 12px 24px; font: 700 20px/1.2 Inter, sans-serif; box-shadow: 0 3px 16px #0005; }
.factory-start:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.factory-entry:focus { outline: 3px solid #f5cc37; outline-offset: 5px; }
[hidden] { display: none !important; }
main { flex: 1; }
.factory-entry { max-width: 1080px; margin: 0 auto; padding: 26px 20px; }
.factory-entry > h1 { color: #fff; font-size: 28px; font-weight: 700; margin: 0 0 20px; }
.hero-credit { align-self: flex-start; margin: 0 0 14px 24px; padding: 4px 10px; border-radius: 6px; font-size: 12px; line-height: 1.4; color: #fff; background: #102d23b3; }
.factory-content-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.factory-content-column { background: #f7f7ebed; border-radius: 14px; padding: 18px; min-width: 0; box-shadow: 0 10px 24px #102f2933; }
.factory-content-column > h2 { font-size: 22px; line-height: 1.25; color: #194b38; margin: 0 0 14px; font-weight: 700; }
.journal-publication-date { font-size: 12px; color: #425a4d; background: #fff; padding: 5px 10px; border-radius: 6px; width: fit-content; margin: 0 0 10px; }
.factory-content-card img { width: 100%; height: 165px; object-fit: cover; border-radius: 9px; display: block; }
.factory-content-card p { font-size: 15px; line-height: 1.6; color: #25483b; margin: 10px 0; }
.factory-content-column a, .factory-page-document a, .column-archive a { color: #215a40; font-weight: 700; }
.factory-archive-link { font-size: 14px; display: inline-block; margin-top: 16px; }
.notes { margin-top: 22px; color: #fff; }
.notes a { color: #fff; }
.finds { margin-top: 22px; display: grid; gap: 16px; }
.find-banner { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.35rem 0.9rem; align-items: start; background: #f7f7ebed; color: #183042; border-radius: 14px; padding: 18px; box-shadow: 0 10px 24px #102f2933; }
.find-banner.no-image { grid-template-columns: 1fr; }
.find-banner h2 { grid-column: 1 / -1; color: #194b38; font-size: 22px; margin: 0 0 8px; }
.find-banner h3 { font-size: 18px; margin: 0 0 6px; }
.find-banner p, .find-banner a { color: #25483b; }
.find-photo { margin: 0; }
.find-banner img { width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: 9px; display: block; }
.find-photo figcaption { font-size: 12px; margin: 4px 0 0; }
.find-button { display: inline-block; margin-top: 8px; background: #f5cc37; color: #172a35; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 8px 14px; }
.journal-return { max-width: 760px; margin: 16px auto 0; padding: 0 20px; }
.journal-return a { color: inherit; text-decoration: underline; font-weight: 400; }
.factory-page-document { background: #ffffffd9; color: #183042; border: 1px solid #ffffff80; border-radius: 12px; padding: 28px; box-shadow: 0 8px 24px #0002; max-width: 760px; margin: 24px auto 40px; }
.factory-page-document :is(h1, h2, h3, p, li) { color: #183042; }
.factory-page-document h1 { font-size: 32px; line-height: 1.25; margin: 0 0 12px; }
.factory-page-document figure { display: table; width: auto; max-width: 100%; margin: 24px auto; }
.factory-page-document figure img { width: auto; height: auto; max-width: 100%; max-height: 540px; object-fit: contain; border-radius: 8px; }
.factory-page-document figcaption { font-size: 13px; }
.kicker { font-weight: 700; }
.column-archive { background: #ffffffd9; color: #183042; border-radius: 12px; padding: 28px; max-width: 760px; margin: 24px auto 40px; }
.column-archive ul { padding-left: 1.2rem; }
.column-archive li { margin: 10px 0; }
.aps-final-footer { box-sizing: border-box; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: auto; padding: 12px 24px; font-size: 14px; background: #fffffff2; color: #183042; border-top: 1px solid #aebdb5; }
.aps-footer-row { display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }
.catalog-page { max-width: 1080px; margin: 0 auto 40px; padding: 8px 20px 20px; }
.catalog-page h1 { font-size: 32px; line-height: 1.25; margin: 0 0 12px; }
.catalog-group { margin: 28px 0; }
.catalog-group h2, .catalog-card h2 { color: #194b38; font-size: 22px; margin: 0 0 12px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.catalog-card { background: #f7f7ebed; border-radius: 14px; padding: 14px 16px; }
.catalog-card h3 { font-size: 16px; line-height: 1.35; margin: 0 0 6px; color: #183042; }
.catalog-card p { margin: 0 0 6px; font-size: 14px; color: #25483b; }
.aps-final-footer a, .aps-journal-trigger { font: inherit; color: #165c38; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.aps-journal-picker { display: inline-flex; }
.aps-journal-options { position: fixed; z-index: 1000; max-height: none; overflow: visible; width: max-content; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid #183042; border-radius: 4px; background: #fff; color: #183042; font: inherit; box-shadow: 0 3px 12px #0003; }
.aps-journal-options[hidden] { display: none !important; }
.aps-journal-options ul { list-style: none; padding: 0; margin: 0; }
.aps-journal-options a { display: block; padding: 10px 12px; color: #183042; font: inherit; text-decoration: none; border-radius: 4px; }
.aps-journal-options a:hover, .aps-journal-options a:focus-visible { background: #e4eef4; color: #102030; text-decoration: underline; }
body.skin-housecat { --journal-ink: #2c2838; --journal-accent: #4c4560; --journal-gold: #e4c56a; --journal-paper: #f7f4ef; }
body.skin-big-dog { --journal-ink: #3b2416; --journal-accent: #6b3a1f; --journal-gold: #e1b84c; --journal-paper: #f6f1e8; }
body.skin-soil-season { --journal-ink: #2f3a28; --journal-accent: #3f5c32; --journal-gold: #e1b84c; --journal-paper: #f6f3ea; }
body.skin-coffee { --journal-ink: #2a1812; --journal-accent: #6b3a2a; --journal-gold: #e1b84c; --journal-paper: #f6efe8; }
body.skin-backyard-bird { --journal-ink: #14382d; --journal-accent: #276446; --journal-gold: #e9bd55; --journal-paper: #f3f7f2; }
body.skin-walking-shoe { --journal-ink: #183042; --journal-accent: #215a40; --journal-gold: #e1b84c; --journal-paper: #f7f7eb; }
body.journal-brand .factory-page-document,
body.journal-brand .column-archive,
body.journal-brand .find-banner,
body.journal-brand .factory-content-column,
body.journal-brand .catalog-card {
  background: var(--journal-paper);
  color: var(--journal-ink);
  border-top: 5px solid var(--journal-gold);
}
body.journal-brand .factory-page-document :is(h1, h2, h3, p, li),
body.journal-brand .column-archive :is(h1, h2, h3, p, li),
body.journal-brand .factory-content-column > h2,
body.journal-brand .factory-content-card p,
body.journal-brand .find-banner h2,
body.journal-brand .find-banner h3,
body.journal-brand .find-banner p {
  color: var(--journal-ink);
}
body.journal-brand .factory-page-document a,
body.journal-brand .column-archive a,
body.journal-brand .factory-content-column a,
body.journal-brand .find-banner a {
  color: var(--journal-accent);
}
.aps-footer-copyright { font: inherit; white-space: nowrap; margin-left: auto; }
.aps-final-footer a:focus-visible, .aps-final-footer button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 900px) {
  header { display: block; padding: 18px 16px 8px; }
  header nav { justify-content: flex-start; margin-top: 8px; }
}
@media (max-width: 700px) {
  .factory-content-row, .catalog-grid { grid-template-columns: 1fr; }
  .factory-entry { padding: 24px 14px; }
  .factory-entry > h1 { font-size: 25px; }
  .factory-content-card img { height: 180px; }
  .aps-final-footer { flex-wrap: wrap; gap: 8px; padding: 12px 16px; font-size: 13px; }
  .aps-footer-row { flex-wrap: wrap; white-space: normal; line-height: 1.6; }
  .aps-footer-copyright, .aps-journal-trigger { white-space: normal; }
}
