/* The Murley-Hauser Almanac. */
@font-face { font-family: "Crimson Pro"; src: url("fonts/CrimsonPro-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("fonts/CrimsonPro-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("fonts/CrimsonPro-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("fonts/CrimsonPro-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/BodoniModa.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/BodoniModa-Italic.ttf") format("truetype"); font-weight: 400 900; font-style: italic; font-display: swap; }
:root {
  --paper: #fbfaf6; --paper-2: #f3f0e7; --ink: #1d1b19; --muted: #6b665e; --faint: #9a948a;
  --red: #b3261e; --green: #2f6b3a; --rule: #1d1b19; --hair: #d8d3c8;
  --serif: "Crimson Pro", Georgia, serif;
  --display: "Bodoni Moda", Georgia, serif;
  /* Bodoni's large sizes have hair-thin strokes; a heavier weight and a
     smaller optical size keep capitals readable. */
  --display-weight: 600; --display-opsz: 18;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.5 var(--serif); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.kicker { color: var(--red); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
a.kicker:hover { text-decoration: underline; }
.byline { font-style: italic; color: var(--muted); }
.byline a { text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.cap { font-size: 13px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); font-style: italic; }
.mark { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; padding: 1px 6px; color: var(--muted); white-space: nowrap; font-style: normal; vertical-align: middle; }
.mark.draft { color: var(--red); } .mark.live { color: var(--green); }
.hl a, h2 a, h4 a { text-decoration: none; }
.hl a:hover, h2 a:hover, h4 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Masthead */
.strip { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 0 10px; color: var(--muted); flex-wrap: wrap; }
.strip a { text-decoration: none; }
.strip a:hover { color: var(--red); }
.mast { text-align: center; border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0 10px; }
.mast h1 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: clamp(40px, 8vw, 88px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.mast h1 a { text-decoration: none; }
.mast h1 span { color: var(--red); font-style: italic; }
.mast.small h1 { font-size: clamp(30px, 5vw, 44px); }
.meta { display: flex; justify-content: space-between; border-bottom: 3px double var(--rule); padding: 6px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; flex-wrap: wrap; gap: 8px; }
.sections { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.sections a { text-decoration: none; color: var(--muted); }
.sections a:hover, .sections a.on { color: var(--red); }

/* Front page */
.front { display: grid; grid-template-columns: 2fr 1fr; margin-top: 28px; }
.lead { padding-right: 28px; border-right: 1px solid var(--hair); }
.lead h2 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 48px; line-height: 1.05; margin: 6px 0 12px; }
.lead .byline { margin-bottom: 14px; }
.lead figure { margin: 0 0 16px; }
.lead figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--hair); }
.lead figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cols { columns: 2; column-gap: 28px; }
.cols p { margin: 0 0 12px; }
.cols p:first-child::first-letter { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); float: left; font-size: 64px; line-height: .8; padding: 6px 8px 0 0; color: var(--red); }
.side { padding-left: 28px; }
.box { border: 1px solid var(--rule); padding: 14px 16px; margin-bottom: 22px; }
.box h3 { margin: 0 0 8px; font-size: 13px; font-weight: normal; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--hair); padding-bottom: 6px; }
.brief { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.brief:last-child { border-bottom: 0; }
.brief h4 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 24px; line-height: 1.15; margin: 4px 0 6px; }
.brief p { margin: 0; font-size: 15px; color: var(--muted); }
.season dl { margin: 0; font-size: 15px; }
.season dt { float: left; width: 96px; color: var(--muted); }
.season dd { margin: 0 0 4px 96px; }
.recipes ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.recipes li { padding: 5px 0; border-bottom: 1px dotted var(--hair); }
.recipes li:last-child { border: 0; }
.lower { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; border-top: 3px double var(--rule); margin-top: 32px; padding-top: 20px; }
.lower > div { border-right: 1px solid var(--hair); padding-right: 20px; }
.lower > div:last-child { border: 0; }
.lower h4 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 22px; margin: 6px 0; line-height: 1.2; }
.lower p { font-size: 15px; margin: 0; color: var(--muted); }
.empty { text-align: center; padding: 64px 0; color: var(--muted); }
.empty h2 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 40px; color: var(--ink); margin: 0 0 8px; }

/* Lists (section, byline) */
.listing { margin-top: 28px; }
.listing > header { text-align: center; border-bottom: 1px solid var(--hair); padding-bottom: 16px; margin-bottom: 8px; }
.listing > header h2 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: clamp(34px, 6vw, 52px); margin: 0 0 6px; }
.listing > header p { color: var(--muted); margin: 0; font-style: italic; }
.item { display: grid; grid-template-columns: 1fr 220px; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.item:last-child { border: 0; }
.item h3 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 28px; line-height: 1.15; margin: 4px 0 6px; }
.item p { margin: 0 0 6px; }
.item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--hair); }

/* Story */
article.story { margin-top: 36px; }
article.story > header { text-align: center; border-bottom: 1px solid var(--hair); padding-bottom: 20px; }
article.story h2 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 10px 0 14px; }
.dek { font-size: 20px; color: var(--muted); margin: 0 0 14px; font-style: italic; }
.body { font-size: 21px; line-height: 1.6; margin-top: 24px; }
.body p { margin: 0 0 18px; }
.body > p:first-of-type::first-letter { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); float: left; font-size: 78px; line-height: .78; padding: 8px 10px 0 0; color: var(--red); }
.body h3 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 30px; margin: 32px 0 10px; line-height: 1.15; }
.body h4 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin: 28px 0 8px; }
.body ul, .body ol { margin: 0 0 18px; padding-left: 24px; }
.body li { margin-bottom: 4px; }
figure.photo, figure.hero { margin: 28px -60px; }
figure.hero { margin-top: 0; margin-bottom: 0; }
figure .imgs { display: grid; gap: 10px; }
figure.pair .imgs { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
figure.pair img { aspect-ratio: 1; object-fit: cover; }
figure img { width: 100%; border: 1px solid var(--hair); }
figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; padding: 0 60px; }
blockquote { margin: 28px 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
blockquote p { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-size: 28px; line-height: 1.25; margin: 0; }
blockquote cite { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-style: normal; }
.ornament, .end { text-align: center; color: var(--red); letter-spacing: .5em; margin: 28px 0; }
.more { border-top: 3px double var(--rule); padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.more h4 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 22px; margin: 4px 0; line-height: 1.2; }
.more p { margin: 0; font-size: 14px; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; border-top: 3px double var(--rule); margin-top: 28px; padding-top: 16px; }
.people h4 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 24px; margin: 0 0 4px; }
.people p { margin: 0; font-size: 15px; color: var(--muted); }

footer.foot { border-top: 1px solid var(--rule); margin-top: 40px; padding: 14px 0 32px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.foot a.staff { color: var(--faint); text-decoration: none; text-transform: none; letter-spacing: 0; font-style: italic; }
footer.foot a.staff:hover { color: var(--muted); }

/* Staff bar and press room */
.desk { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 8px 20px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.desk nav { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.desk a, .desk button { color: var(--paper); text-decoration: none; opacity: .75; background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; cursor: pointer; }
.desk a:hover, .desk a.on, .desk button:hover { opacity: 1; }
.desk .who { opacity: .75; text-transform: none; letter-spacing: 0; font-style: italic; }
.desk form { display: inline; }
h2.head { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 40px; margin: 28px 0 4px; }
.lede { color: var(--muted); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.panel { border: 1px solid var(--rule); padding: 16px 18px; margin-bottom: 24px; background: var(--paper); }
.panel > h3 { margin: 0 0 10px; font-size: 13px; font-weight: normal; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--hair); padding-bottom: 6px; display: flex; justify-content: space-between; gap: 12px; }
.panel > h3 a { color: var(--red); text-decoration: none; letter-spacing: .08em; }
.filters { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; }
.filters a { color: var(--muted); text-decoration: none; }
.filters a.on { color: var(--red); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hair); padding: 6px 8px 6px 0; }
td { border-bottom: 1px solid var(--hair); padding: 9px 8px 9px 0; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.t a { text-decoration: none; font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-size: 19px; }
td.t a:hover { text-decoration: underline; }
td.t small { display: block; color: var(--muted); font-size: 13px; }
.sec { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.sec a { text-decoration: none; }
.sec a:hover b { text-decoration: underline; }
.sec b { font-weight: normal; }
.sec small { color: var(--muted); display: block; font-size: 13px; }
.sec .n { font-size: 13px; color: var(--muted); }
.moves { display: flex; flex-direction: column; }
.moves button { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0 2px; font-size: 11px; line-height: 1.2; }
.moves button:hover { color: var(--ink); }
.moves button:disabled { visibility: hidden; }
.add { display: flex; gap: 8px; margin-top: 12px; }
.add input { flex: 1; }
.person { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.person:last-of-type { border: 0; }
.person small { color: var(--muted); display: block; font-size: 13px; }
.flash { border: 1px solid var(--green); color: var(--green); padding: 8px 12px; margin: 16px 0 0; font-size: 15px; }
.error { border: 1px solid var(--red); color: var(--red); padding: 8px 12px; margin: 16px 0 0; font-size: 15px; }

label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
input, select, textarea { width: 100%; font: 16px var(--serif); color: var(--ink); background: #fff; border: 1px solid var(--hair); border-radius: 0; padding: 8px 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
input[type=checkbox], input[type=radio] { width: auto; }
input[type=file] { padding: 6px; font-size: 14px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-top: 10px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); font-style: italic; margin: 4px 0 0; }
.btn { display: inline-block; font: 13px var(--serif); letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.quiet { border-color: var(--hair); background: transparent; color: var(--muted); }
.btn.danger { border-color: var(--red); background: transparent; color: var(--red); }
.actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.danger-zone { margin-top: 32px; border-top: 1px solid var(--hair); padding-top: 12px; }

/* Editor */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-top: 24px; align-items: start; }
.headline { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-size: 40px; line-height: 1.1; border: 0; border-bottom: 1px solid var(--hair); padding: 6px 0; background: transparent; }
input.dek { font-style: italic; font-size: 19px; border: 0; border-bottom: 1px solid var(--hair); padding: 6px 0; background: transparent; color: var(--muted); margin: 0; }
.headline:focus, input.dek:focus { outline: 0; border-bottom-color: var(--ink); }
.tools { display: flex; gap: 2px; margin-top: 20px; border: 1px solid var(--hair); border-bottom: 0; background: var(--paper-2); flex-wrap: wrap; }
.tools button { font: 15px var(--serif); background: none; border: 0; padding: 7px 11px; cursor: pointer; color: var(--ink); }
.tools button:hover { background: #fff; }
.tools .sep { width: 1px; background: var(--hair); margin: 6px 4px; }
textarea.body-input { min-height: 460px; font-size: 18px; line-height: 1.7; resize: vertical; }
.drop { border: 1px dashed var(--faint); padding: 12px; text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0; background: #fff; }
.drop.over { border-color: var(--ink); background: var(--paper-2); }
.drop label { display: inline; text-transform: none; letter-spacing: 0; font-size: 14px; text-decoration: underline; cursor: pointer; color: var(--ink); }
.drop input { display: none; }
.side-panel .panel { padding: 14px 16px; }
.side-panel label:first-child { margin-top: 0; }
.thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--hair); margin-bottom: 6px; }
.help { font-size: 14px; color: var(--muted); }
.help code { font-family: var(--mono); font-size: 13px; background: var(--paper-2); padding: 0 3px; }
.help dl { margin: 0; }
.help dt { font-family: var(--mono); font-size: 13px; margin-top: 6px; }
.help dd { margin: 0; }

/* Staff entrance */
body.door-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper-2); }
.door { width: min(360px, calc(100vw - 32px)); text-align: center; }
.door h1 { font-family: var(--display); font-variation-settings: "opsz" var(--display-opsz); font-weight: var(--display-weight); font-size: 28px; margin: 0 0 2px; }
.door h1 span { color: var(--red); font-style: italic; }
.door .sub { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 4px 0; margin-bottom: 20px; }
.door form { text-align: left; }
.door .row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.door .back { font-size: 14px; color: var(--muted); text-decoration: none; font-style: italic; }

@media (max-width: 860px) {
  .front, .grid, .layout { grid-template-columns: 1fr; }
  .lower > div { border: 0; padding: 0; }
  .lead { padding: 0; border: 0; }
  .side { padding: 24px 0 0; }
  .cols { columns: 1; }
  .lead h2 { font-size: 36px; }
  figure.photo, figure.hero { margin-left: 0; margin-right: 0; }
  figcaption { padding: 0; }
  .more, .item { grid-template-columns: 1fr; }
  .item img { grid-row: 1; }
  .headline { font-size: 30px; }
  table .hide-sm { display: none; }
}
.panel > h3.sub-h { margin-top: 24px; }
.help summary { cursor: pointer; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
