@import url("fonts/golos.css");
@import url("fonts/pt-serif.css");

:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --card: #fffdf7;
  --ink: #182921;
  --muted: #4f5b51;
  --green: #193b2d;
  --deep: #152f25;
  --pale: #e8ece2;
  --line: #d6d7ca;
  --accent: #ffb751;
  --brown: #703e1f;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Golos Text", Arial, sans-serif;
  --width: 76rem;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #ad5c1e;
  outline-offset: 4px;
}
button, input, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 6vw, 4.95rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.35rem); letter-spacing: -.045em; }
h3 { font-size: 1.46rem; letter-spacing: -.025em; }
p { overflow-wrap: break-word; }
.wrap { width: min(var(--width), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 10; transform: translateY(-160%); background: var(--card); padding: .6rem 1rem; }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); background: var(--paper); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.3rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; white-space: nowrap; color: var(--deep); }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .28rem; color: var(--accent); background: var(--green); font: 700 1.7rem/1 var(--serif); }
.brand-word { font-size: 1.53rem; font-weight: 830; letter-spacing: -.08em; }
.mast nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.mast nav a { font-size: .87rem; font-weight: 620; text-decoration: none; white-space: nowrap; padding: .45rem 0; }
.mast nav a:hover, .mast nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.mast .head-search { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; }
.magnifier { display: inline-block; width: .83rem; height: .83rem; border: 1.7px solid currentColor; border-radius: 50%; position: relative; margin-right: .17rem; }
.magnifier::after { position: absolute; content: ""; width: .38rem; height: 1.5px; top: .61rem; left: .57rem; transform: rotate(45deg); transform-origin: left; background: currentColor; border-radius: 2px; }
.button { display: inline-flex; width: fit-content; min-height: 2.85rem; align-items: center; justify-content: center; gap: .75rem; padding: .63rem 1.12rem; color: var(--deep); background: var(--accent); border: 1px solid transparent; border-radius: .3rem; text-decoration: none; font-size: .89rem; font-weight: 730; }
.button:hover { background: #ffc777; }
.button.light { background: transparent; color: var(--deep); border-color: #a5aea2; }
.button.light:hover { background: var(--pale); }
.button.dark { background: var(--green); color: #fffdf6; }
.button.dark:hover { background: #28533f; }
.label { font-size: .76rem; font-weight: 740; color: var(--brown); }
.hero { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.55rem; background: var(--deep); color: #fffdf4; min-height: 30rem; border-radius: .32rem; overflow: hidden; }
.hero-copy { padding: clamp(2.05rem,5vw,4.6rem) clamp(1.7rem,5vw,4rem); align-self: center; }
.hero .label { color: #ffd392; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.8rem,5.1vw,4.6rem); max-width: 10.5ch; margin: .7rem 0 1.15rem; }
.hero-copy p:not(.label) { color: #e1eade; max-width: 37ch; font-size: clamp(.95rem,1.6vw,1.09rem); }
.hero-copy .button { margin-top: 1.65rem; }
.hero-image { position: relative; min-width: 0; }
.hero-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 59% center; }
.home-section { margin-top: clamp(3rem,6vw,5.1rem); }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.3rem; }
.section-row p { color: var(--muted); margin-top: .45rem; }
.text-link { color: var(--deep); font-weight: 720; font-size: .9rem; text-underline-offset: .26em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.feature-card { display: flex; flex-direction: column; position: relative; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: .28rem; overflow: hidden; }
.feature-card:hover h3 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.feature-card .media, .section-tile .media { display: block; aspect-ratio: 1.65; overflow: hidden; background: #d4ccb6; }
.feature-card img, .section-tile img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 1.22rem 1.2rem 1.38rem; }
.feature-copy h3 { margin-top: .4rem; }
.feature-copy p { margin-top: .58rem; color: var(--muted); font-size: .88rem; }
.section-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .9rem; }
.section-tile { display: block; min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: .28rem; overflow: hidden; text-decoration: none; }
.section-tile h3 { margin: .69rem .78rem .89rem; font-size: 1.16rem; }
.section-tile:hover h3 { text-decoration: underline; text-underline-offset: .19em; }
.section-tile .media { aspect-ratio: 1.72; }
.find-band { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: var(--pale); border: 1px solid var(--line); border-radius: .3rem; padding: clamp(1.45rem,5vw,3.2rem); }
.find-band h2 { font-size: clamp(1.8rem,3.5vw,2.7rem); }
.find-band p { margin-top: .55rem; color: var(--muted); }
.find-band form { display: flex; gap: .55rem; }
input[type="search"], select { min-height: 2.85rem; border: 1px solid #9ba89a; border-radius: .26rem; background: var(--card); color: var(--ink); padding: .53rem .8rem; min-width: 0; }
input[type="search"] { flex: 1; }
input::placeholder { color: #5d665d; opacity: 1; }
.crumb { display: flex; gap: .53rem; flex-wrap: wrap; align-items: baseline; font-size: .84rem; color: var(--muted); padding: 1.25rem 0; }
.crumb a { text-underline-offset: .2em; }
.category-head { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); background: var(--pale); border-radius: .3rem; overflow: hidden; }
.category-head > div { padding: clamp(1.7rem,5vw,3.55rem); align-self: center; }
.category-head h1 { margin-bottom: .6rem; font-size: clamp(2.65rem,6.2vw,4.55rem); }
.category-head p, .index-head p { color: var(--muted); max-width: 47ch; font-size: 1.06rem; }
.category-head img { width: 100%; height: 100%; max-height: 21rem; min-height: 13.5rem; object-fit: cover; }
.category-grid { margin-top: 2.5rem; }
.catalog-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.catalog-list li { border-top: 1px solid var(--line); }
.catalog-list li:last-child { border-bottom: 1px solid var(--line); }
.catalog-list a { display: grid; grid-template-columns: minmax(0,1fr) 1.8rem; gap: .2rem .75rem; align-items: center; padding: .91rem .2rem; text-decoration: none; }
.catalog-list b { font: 700 1.22rem/1.23 var(--serif); }
.catalog-list small { grid-column: 1; color: var(--muted); font-size: .83rem; }
.catalog-list a:hover b { text-decoration: underline; text-underline-offset: .16em; }
.row-arrow { grid-area: 1/2/span 2/3; text-align: right; color: var(--brown); }
.catalog-list a:hover .row-arrow { transform: translateX(.2rem); }
.category-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.category-list li:last-child { border-bottom: 0; }
.index-head { margin: .3rem 0 1.5rem; }
.index-head h1 { margin-bottom: .55rem; }
.filter-form { display: grid; grid-template-columns: 2fr 1fr auto; gap: .75rem; align-items: end; padding: 1rem; background: var(--pale); border: 1px solid var(--line); border-radius: .3rem; }
.filter-form label { display: grid; gap: .22rem; min-width: 0; }
.filter-form label span { font-size: .83rem; font-weight: 700; }
.filter-form .button { min-height: 2.85rem; cursor: pointer; }
.filter-count { color: var(--muted); margin-top: .8rem; min-height: 1.4rem; }
.catalog-group { margin-top: 2rem; }
.catalog-group h2 { font-size: 1.85rem; }
.catalog-group h2 a { text-decoration: none; }
.catalog-group h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.article-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,18.5rem); gap: clamp(2rem,5.6vw,5rem); align-items: start; }
.article-head { max-width: 63rem; }
.article-head h1 { font-size: clamp(2.35rem,5.5vw,4.3rem); margin: .45rem 0 .9rem; }
.article-head .lead { font-size: clamp(1.05rem,2vw,1.28rem); max-width: 64ch; color: var(--muted); }
.article-figure { position: relative; margin: 1.65rem 0 2.2rem; }
.article-figure img { width: 100%; max-height: 30rem; aspect-ratio: 1.92; object-fit: cover; border-radius: .28rem; }
figcaption { color: var(--muted); font-size: .79rem; padding-top: .37rem; }
figcaption a { text-underline-offset: .18em; }
.article-no-photo { height: 1px; background: var(--line); margin: 1.7rem 0 2rem; }
.story { min-width: 0; font-size: 1.01rem; }
.story section { margin-bottom: 1.7rem; }
.story h2, .read-next h2 { font-size: clamp(1.6rem,3.2vw,2.15rem); margin-bottom: .56rem; }
.story p + p { margin-top: .77rem; }
.story ol { margin: 0; padding-left: 1.46rem; }
.story ol li { padding: .57rem 0 .57rem .38rem; }
.story ol li + li { border-top: 1px solid var(--line); }
.story ol li::marker { color: var(--brown); font-weight: 770; }
.side { padding: 1.22rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--card); }
.side h2 { font: 760 1rem/1.4 var(--sans); letter-spacing: -.01em; }
.side p { color: var(--muted); font-size: .9rem; margin-top: .54rem; }
.side a { display: block; margin-top: .6rem; }
.side .side-links { border-top: 1px solid var(--line); margin-top: .92rem; padding-top: .35rem; }
.note { background: #f5ebda; border-left: 3px solid #ab652f; padding: 1rem 1.12rem; border-radius: 0 .25rem .25rem 0; }
.note h2 { font: 760 1rem/1.4 var(--sans); margin-bottom: .3rem; letter-spacing: 0; }
.sources { padding-top: 1rem; border-top: 1px solid var(--line); }
.sources ul, .about-main ul { padding-left: 1.18rem; }
.sources a, .about-main a { text-underline-offset: .18em; }
.read-next { margin-top: 1rem; }
.about-main { max-width: 54rem; }
.about-main p, .about-main h2 { margin-top: 1rem; }
.about-main h2 { font-size: 2rem; }
.about-main li { margin-top: .35rem; }
.credits td, .credits th { padding: .35rem .9rem .35rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.foot { margin-top: clamp(3.4rem,7vw,6.2rem); background: var(--deep); color: #fffdf5; padding: 2.35rem 0; }
.foot-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.foot .brand { color: #fffdf5; }
.foot .brand-mark { background: var(--accent); color: var(--deep); }
.foot p { margin-top: .72rem; max-width: 35ch; color: #d9e5d8; font-size: .86rem; }
.foot nav { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; }
.foot nav a { font-size: .87rem; text-underline-offset: .2em; }
@media (max-width: 62rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { min-height: 25rem; }
  .section-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2rem); }
  .mast-row { gap: .3rem 1rem; flex-wrap: wrap; padding-block: .68rem; }
  .mast nav { gap: .35rem 1rem; flex-wrap: wrap; }
  .mast .head-search { padding: .36rem .7rem; }
  .hero { grid-template-columns: 1fr; margin-top: 1.15rem; }
  .hero h1 { max-width: 15ch; }
  .hero-image { min-height: clamp(11rem,48vw,20rem); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .74rem; }
  .section-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .find-band, .category-head, .article-grid, .category-list { grid-template-columns: 1fr; }
  .find-band, .article-grid { gap: 1rem; }
  .side { grid-row: 1; }
  .side-links { display: none; }
  .category-head img { max-height: 14rem; }
  .filter-form { grid-template-columns: minmax(0,1fr) auto; }
  .filter-form label:first-child { grid-column: 1/-1; }
  .article-figure img { aspect-ratio: 1.55; }
}
@media (max-width: 31rem) {
  .brand-word { font-size: 1.4rem; }
  .mast nav a { font-size: .79rem; }
  .mast nav { justify-content: space-between; gap: .2rem .73rem; width: 100%; }
  .section-row { align-items: start; flex-direction: column; }
  .feature-copy { padding: .75rem .68rem .92rem; }
  .feature-copy h3 { font-size: 1.14rem; }
  .feature-copy p { font-size: .81rem; }
  .section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .find-band form { flex-wrap: wrap; }
  .find-band input { flex: 1 0 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.table-wrap { overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; font-size: .91rem; margin-top: .7rem; }
.guide-table th, .guide-table td { border-bottom: 1px solid var(--line); padding: .65rem .72rem; vertical-align: top; text-align: left; }
.guide-table th { background: var(--pale); }
.guide-table td:first-child { width: 32%; font-weight: 680; }
@media (max-width: 31rem) {
  .guide-table { font-size: .83rem; }
  .guide-table th, .guide-table td { padding: .5rem .44rem; }
  .credits { font-size: .84rem; }
}
