:root {
  --ink: #30262b;
  --muted: #61555a;
  --accent: #63384f;
  --paper: #fffaf3;
  --line: #e4d8d1;
  font: 100%/1.6 "Source Sans 3", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid #a64c35; outline-offset: 4px; }
img { display: block; width: 100%; object-fit: cover; }
figure, h1, h2, h3 { margin: 0; }
h1, h2, h3, .brand { font-family: "DM Serif Text", Georgia, serif; letter-spacing: -.035em; line-height: 1.07; }
h1 { font-size: clamp(2.65rem, 6vw, 5.45rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.55vw, 3.1rem); font-weight: 500; }
h3 { font-size: 1.55rem; font-weight: 500; }
p { margin: .72em 0 0; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .6rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-head { background: #fffdf8; border-bottom: 1px solid var(--line); }
.head, .head nav, .actions, .section-title { display: flex; gap: .75rem 1.5rem; align-items: center; flex-wrap: wrap; }
.head { min-height: 74px; justify-content: space-between; }
.head nav a, .text-link { font-weight: 700; }
.head nav a { color: var(--ink); text-decoration: none; }
.head nav a:hover, .head nav a[aria-current] { text-decoration: underline; }
.brand { display: inline-flex; gap: .58rem; align-items: center; text-decoration: none; font-size: 1.55rem; color: var(--ink); }
.mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font-size: 1.08rem; letter-spacing: -.04em; }
.hero { background: #f1e7e3; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.3rem); padding-block: clamp(1.65rem, 5vw, 3.9rem); }
.hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.hero img { aspect-ratio: 1.2; border-radius: 18px 18px 110px 18px; }
.category { margin: 0 0 .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-size: .73rem; font-weight: 800; }
.lead { color: var(--muted); max-width: 38rem; font-size: clamp(1.07rem, 2vw, 1.25rem); }
.actions { margin-top: 1.4rem; }
.button, button { background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 8px; padding: .68rem .95rem; min-height: 44px; font: inherit; font-weight: 680; text-decoration: none; cursor: pointer; }
.button { display: inline-flex; align-items: center; }
.button:hover, button:hover { background: #4b263a; }
.section { padding-block: clamp(2rem, 5.5vw, 4rem); }
.section-title { justify-content: space-between; margin-bottom: 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.card { background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; }
.card a { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; position: relative; }
.card a:hover h3 { text-decoration: underline; }
.card img { aspect-ratio: 1.7; border-radius: 13px 13px 0 0; }
.card a > div { padding: .95rem 1rem 2.2rem; }
.card h3 + p { color: var(--muted); }
.arrow { position: absolute; right: .95rem; bottom: .46rem; color: var(--accent); }
.band { background: #dce5db; }
.band-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 1.6rem; align-items: center; padding-block: 2rem; }
.band img { aspect-ratio: 2.1; border-radius: 14px; }
.band .button { margin-top: .9rem; }
.page-heading { padding-block: clamp(2rem, 6vw, 4.5rem) 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips a { padding: .4rem .8rem; border-radius: 30px; border: 1px solid #b49aa8; text-decoration: none; font-weight: 650; }
.chips a:hover { background: #f1e7e3; }
.guide-group { margin: 1.8rem 0 2.6rem; }
.guide-group h2, .related h2 { margin-bottom: 1rem; }
.article { max-width: 900px; }
.article-head { padding-block: 2.3rem 1.35rem; }
.article-head .category { margin-top: 1rem; }
.credit, figcaption, .small { color: var(--muted); font-size: .88rem; }
.article img { aspect-ratio: 2; border-radius: 14px; }
figcaption { margin-top: .3rem; }
.prose { max-width: 44rem; margin: 1.5rem auto 0; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.6rem; font-size: 1.7rem; }
.prose ul { padding-left: 1.3rem; }
.note { padding: .9rem 1rem; border-left: 4px solid var(--accent); background: #f1e7e3; border-radius: 5px; }
.info { margin: 0 0 3rem; }
.planner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1rem; align-items: start; margin-bottom: 3rem; }
.panel { padding: clamp(1rem, 3vw, 1.6rem); background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; }
.panel h2 { font-size: 2rem; }
.panel form { display: grid; gap: .65rem; margin-top: .85rem; }
.panel form label { display: grid; gap: .2rem; font-weight: 650; }
select { width: 100%; min-height: 44px; padding: .4rem; border: 1px solid #9b8790; border-radius: 5px; color: inherit; background: white; font: inherit; }
.check { display: flex; align-items: center; gap: .45rem; margin-top: .85rem; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
#status:empty { display: none; }
.secondary, .remove { background: transparent; color: var(--accent); }
.secondary:hover, .remove:hover { background: #f1e7e3; }
.week, .week ul { list-style: none; margin: 0; padding: 0; }
.week > li { border-top: 1px solid var(--line); padding: .62rem 0; }
.week h3 { font-size: 1.22rem; margin-bottom: .3rem; }
.week ul li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; padding-block: .2rem; }
.week .empty { color: var(--muted); font-size: .9rem; }
.remove { min-height: 36px; border-color: var(--line); font-size: .84rem; padding: .25rem .5rem; }
.site-foot { background: #f1e7e3; border-top: 1px solid var(--line); padding-block: 1.65rem; }
.foot { display: grid; grid-template-columns: 1.15fr .65fr 1fr; gap: 1rem; overflow-wrap: anywhere; }
.foot nav { display: grid; justify-items: start; align-content: start; }
@media (max-width: 760px) {
  .hero-grid, .band-grid, .planner { grid-template-columns: 1fr; }
  .hero img { aspect-ratio: 1.55; border-bottom-right-radius: 75px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .head { padding-block: .7rem; }
  .head nav { width: 100%; gap: .4rem 1.05rem; }
  .foot { grid-template-columns: 1fr; }
  .article img { aspect-ratio: 1.5; }
}
@media print {
  body { background: white; }
  .site-head, .site-foot, .skip, .editor, #print, .remove { display: none !important; }
  .planner { display: block; }
  .schedule { padding: 0; border: 0; }
  .week > li { break-inside: avoid; }
  .page-heading { padding-block: .5rem; }
  h1 { font-size: 2rem; }
}
