:root {
  color-scheme: light;
  --ink: #302328;
  --red: #8b2436;
  --paper: #fbf6ed;
  --line: #e5d8cd;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 system-ui, sans-serif; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #b67837; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1240px, 92%); margin: auto; }
.mast { border-bottom: 1px solid var(--line); background: #fffaf3; }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 23px; line-height: 1.2; }
.brand small { display: block; font-size: 10px; letter-spacing: 1px; margin-top: 5px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; }
.skip { position: absolute; left: 10px; top: -100px; background: white; padding: 8px; }
.skip:focus { top: 0; }
main { min-height: 65vh; padding: 32px 0 56px; }
section { margin-bottom: 34px; }
h1, h2, h3 { line-height: 1.35; overflow-wrap: anywhere; }
h1 { font-size: clamp(28px, 4vw, 52px); margin: 12px 0; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
p { overflow-wrap: anywhere; }
.hero { display: grid; grid-template-columns: 42% 58%; background: #43222b; color: #fff4e6; overflow: hidden; border-radius: 4px; }
.hero-text { padding: clamp(22px, 4vw, 52px); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero h2 { font-size: clamp(20px, 2vw, 28px); }
.hero p { font-size: 15px; }
.eyebrow { color: #a65345; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; }
.hero .eyebrow, .feature .eyebrow { color: #f2c58f; }
.button, button { display: inline-block; background: #8b2436; color: white; border: 0; padding: 12px 20px; font: inherit; cursor: pointer; border-radius: 3px; }
.hero .button { background: #efc38e; color: #43222b; }
.sectionhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sectionhead span { font-size: 11px; letter-spacing: 2px; color: #795e53; }
.four, .list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.channel, .entry { display: block; background: #fffaf3; border: 1px solid var(--line); padding: 18px; min-width: 0; }
.channel img { width: 100%; }
.channel p, .entry p { color: #5c4d49; font-size: 14px; }
.list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.arrow { font-size: 13px; font-weight: bold; }
.feature { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; background: #43222b; color: #fff4e6; padding: 28px; }
.feature > div:first-child a { color: #f2c58f; }
.feature .entry { color: var(--ink); }
.topic { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.article { max-width: 820px; margin: 0 auto 40px; }
.article img { width: 100%; max-width: 480px; }
.article .lead { font-size: 19px; }
.crumb { font-size: 14px; }
.note { display: grid; gap: 14px; max-width: 720px; }
.note label { display: grid; gap: 5px; }
input, textarea { width: 100%; padding: 10px; font: inherit; border: 1px solid #a58c84; background: white; color: var(--ink); }
textarea { min-height: 110px; }
#records { display: grid; gap: 14px; }
footer { background: #43222b; color: #fff4e6; }
footer a { color: #f2c58f; }
@media (max-width: 820px) {
  .hero, .feature, .topic { grid-template-columns: 1fr; }
  .hero img { height: auto; }
  .four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .top { gap: 15px; }
}
@media (max-width: 480px) {
  .list { grid-template-columns: 1fr; }
  .four { gap: 8px; }
  .channel { padding: 10px; }
  .feature { padding: 16px; }
  .sectionhead span { display: none; }
  nav { gap: 8px 15px; }
}

.note-actions {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 16px 0;
}
select {
  width: 100%;
  padding: 10px;
  font: inherit;
}
figure {
  margin: 20px 0;
}
.article figure img {
  max-width: 100%;
}
