/* Old Hollywood Story — warm editorial archive style (TASK-000329) */
:root {
  --paper: #f6efe1;
  --paper-2: #efe5d0;
  --card: #fbf7ee;
  --ink: #2b2420;
  --ink-2: #5a4e45;
  --rule: #d9cbb0;
  --wine: #7b1e2c;
  --wine-2: #5e1521;
  --gold: #a8842f;
  --gold-2: #c9a95b;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Playfair Display", "Didot", Georgia, serif;
  --measure: 40rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.7 var(--serif);
  background-image: radial-gradient(rgba(120, 90, 40, .045) 1px, transparent 1px);
  background-size: 4px 4px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-2); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 9; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── masthead ── */
.masthead { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.topline {
  display: flex; justify-content: space-between; gap: 1rem;
  font: 600 .78rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  padding: .9rem 0 .7rem; border-bottom: 1px solid var(--rule);
}
.brand { display: block; color: var(--ink); text-decoration: none; padding: 1.6rem 0 1.2rem; }
.brand-small { display: block; font: italic 500 1.1rem/1 var(--display); color: var(--gold); letter-spacing: .05em; }
.brand-name {
  display: block; font: 800 clamp(2.1rem, 7vw, 4.4rem)/1.02 var(--display);
  letter-spacing: .01em; color: var(--wine); margin-top: .2rem;
}
.brand-name.small { font-size: 1.6rem; }
.brand-rule { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: .9rem auto .6rem; max-width: 420px; color: var(--gold); }
.brand-rule i { flex: 1; height: 0; border-top: 1px solid var(--gold-2); border-bottom: 1px solid var(--gold-2); padding-top: 3px; }
.brand-rule b { font-size: .9rem; font-weight: 400; }
.brand-tagline { display: block; font: italic 400 1.05rem/1.4 var(--serif); color: var(--ink-2); }
.sections { border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
.sections ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.sections li a {
  display: block; padding: .8rem 1.05rem; color: var(--ink); text-decoration: none;
  font: 600 .86rem/1 var(--serif); letter-spacing: .12em; text-transform: uppercase;
}
.sections li a:hover { color: var(--wine); background: var(--paper-2); }
.nav-toggle { display: none; }

main { max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

/* ── typographic atoms ── */
.kicker {
  display: inline-block; font: 600 .78rem/1.2 var(--serif); letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); text-decoration: none; margin-bottom: .55rem;
}
.card-meta, .byline { font-size: .86rem; color: var(--ink-2); letter-spacing: .02em; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.18; }

/* ── home lead ── */
.lead { margin-bottom: 2.5rem; }
.lead-link { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.2rem; align-items: center; text-decoration: none; color: inherit; }
.lead-pic { margin: 0; border: 1px solid var(--rule); padding: .6rem; background: var(--card); box-shadow: 0 1px 0 var(--rule), 0 12px 30px -18px rgba(60, 35, 10, .45); }
.lead-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.12) contrast(1.02); }
.lead-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin: .1rem 0 .8rem; }
.lead-link:hover .lead-title { color: var(--wine); }
.lead-dek { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 1rem; font-style: italic; }
.lead.empty { text-align: center; padding: 3rem 0; }

/* ── cards & grids ── */
.row.three, .grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.row.three { border-top: 1px solid var(--rule); padding-top: 2rem; margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 2rem; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-pic { margin: 0 0 .9rem; background: var(--paper-2); border: 1px solid var(--rule); padding: .35rem; }
.card-pic img, .card-nopic { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: sepia(.15); transition: filter .3s; }
.card-nopic { display: block; background: linear-gradient(135deg, var(--paper-2), var(--rule)); }
.card-link:hover img { filter: sepia(0); }
.card-title { font-size: 1.32rem; font-weight: 600; margin: 0 0 .5rem; }
.card.mid .card-title { font-size: 1.45rem; }
.card-link:hover .card-title { color: var(--wine); }
.card-dek { margin: 0 0 .5rem; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

.block { margin-top: 3.2rem; }
.block-title {
  font: 600 1.05rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; text-align: center;
  display: flex; align-items: center; gap: 1rem; margin: 0 0 .6rem;
}
.block-title::before, .block-title::after { content: ""; flex: 1; border-top: 1px solid var(--ink); }
.block-title a { color: var(--wine); text-decoration: none; }
.block-blurb { text-align: center; font-style: italic; color: var(--ink-2); margin: 0 0 1.6rem; }
.block > .grid { margin-top: 1.6rem; }
.more { text-align: center; margin-top: 2rem; font-weight: 600; }

/* ── section pages ── */
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.4rem; }
.section-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: .2rem 0 .6rem; color: var(--wine); }
.section-head p { font-style: italic; color: var(--ink-2); margin: 0; }
.pager { display: flex; justify-content: center; gap: 1.6rem; margin-top: 3rem; font-weight: 600; }
.empty-note { text-align: center; font-style: italic; }

/* ── article ── */
.piece { max-width: 46rem; margin: 0 auto; }
.crumbs { font-size: .85rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-2); }
.piece-head { text-align: center; padding-bottom: 1.4rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--rule); }
.piece-head h1 { font-size: clamp(2rem, 5.2vw, 3.15rem); font-weight: 800; margin: .1rem 0 .9rem; }
.dek { font-size: 1.24rem; line-height: 1.5; font-style: italic; color: var(--ink-2); margin: 0 auto 1rem; max-width: 38rem; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.dot { color: var(--gold); padding: 0 .25rem; }
.hero { margin: 0 -2rem 2.2rem; }
.hero img { width: 100%; border: 1px solid var(--rule); padding: .6rem; background: var(--card); }
figcaption { font-size: .9rem; line-height: 1.5; color: var(--ink-2); padding: .6rem .2rem 0; font-style: italic; }
.credit { font-style: normal; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: #7d6f62; }

.prose { max-width: var(--measure); margin: 0 auto; }
.prose p { margin: 0 0 1.3rem; font-size: 1.12rem; }
.prose p.first::first-letter {
  float: left; font: 800 4.3rem/.82 var(--display); color: var(--wine); padding: .35rem .55rem 0 0;
}
.prose h2 {
  font-size: 1.75rem; font-weight: 600; margin: 2.6rem 0 1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--rule); position: relative;
}
.prose h2::before { content: "✦"; position: absolute; top: -.72rem; left: 0; background: var(--paper); color: var(--gold); padding-right: .6rem; font-size: .95rem; }
blockquote.pull {
  margin: 2rem 0; padding: 1.2rem 0; border-top: 2px solid var(--wine); border-bottom: 2px solid var(--wine); text-align: center;
}
blockquote.pull p { font: italic 500 1.5rem/1.4 var(--display); color: var(--wine); margin: 0; }
.inline-pic { margin: 2.2rem 0; }
.inline-pic img { border: 1px solid var(--rule); padding: .5rem; background: var(--card); margin: 0 auto; }

.facts {
  margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--card); border: 1px solid var(--gold-2);
  box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--rule);
}
.facts-title { font-size: 1.1rem; letter-spacing: .18em; text-transform: uppercase; text-align: center; margin: 0 0 1rem; color: var(--wine); font-family: var(--serif); }
.facts dl { margin: 0; }
.facts dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px dotted var(--rule); }
.facts dt { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.facts dd { margin: 0; font-size: 1rem; }

.watch { margin: 2.4rem 0; }
.watch-title { font-size: 1.1rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--serif); text-align: center; margin: 0 0 1rem; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #1d1714; border: 1px solid var(--rule); }
.yt-btn { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--wine); box-shadow: 0 0 0 6px rgba(246, 239, 225, .55);
}
.yt-play::after { content: ""; position: absolute; left: 33px; top: 25px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent var(--paper); }
.yt-btn:hover .yt-play { background: var(--wine-2); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-note { font-size: .92rem; color: var(--ink-2); text-align: center; margin: .7rem 0 0; }

.erapic {
  margin: -.6rem 0 2.4rem; padding: 1.2rem 1.4rem; background: #fffaf0; border-left: 4px solid var(--gold);
  border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.erapic-head { font: 600 1.2rem/1.3 var(--display) !important; margin: 0 0 .35rem !important; color: var(--ink); }
.erapic-text { font-size: 1rem !important; margin: 0 0 .9rem !important; color: var(--ink-2); }
.erapic-btn {
  display: inline-block; background: var(--wine); color: #fff8ec; text-decoration: none; font-weight: 600;
  padding: .7rem 1.2rem; border-radius: 3px; font-size: 1rem; letter-spacing: .02em;
}
.erapic-btn:hover { background: var(--wine-2); color: #fff; }

.timeline, .faq, .partners, .credits { max-width: var(--measure); margin: 2.6rem auto 0; }
.timeline h2, .faq h2, .partners h2, .credits h2 { font-size: 1.65rem; border-top: 3px double var(--ink); padding-top: 1rem; }
.timeline ol { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--gold-2); }
.timeline li { position: relative; padding: 0 0 1.1rem 1rem; display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; }
.timeline li::before { content: ""; position: absolute; left: -1.62rem; top: .55rem; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--wine); }
.t-year { font: 600 1.05rem/1.5 var(--display); color: var(--wine); }
.t-event { font-size: 1.04rem; }
.faq-item h3 { font-size: 1.22rem; margin: 1.4rem 0 .4rem; }
.faq-item p { margin: 0; font-size: 1.06rem; }
.partners ul { padding-left: 1.2rem; }
.disclosure { font-size: .85rem; color: var(--ink-2); font-style: italic; }
.credits ul { font-size: .88rem; color: var(--ink-2); padding-left: 1.1rem; line-height: 1.55; }
.standards { max-width: var(--measure); margin: 2rem auto 0; font-size: .92rem; color: var(--ink-2); font-style: italic; border-top: 1px solid var(--rule); padding-top: 1rem; }
.ad-slot { margin: 2rem auto; text-align: center; min-height: 90px; }
.related { margin-top: 4rem; }

/* ── static pages ── */
.page .prose h2 { font-size: 1.45rem; }
.notice { background: var(--card); border: 1px solid var(--gold-2); padding: 1rem 1.2rem; }
form.contact { display: grid; gap: 1rem; margin: 1.5rem 0; }
form.contact label { display: grid; gap: .35rem; font-weight: 600; font-size: 1rem; }
form.contact input, form.contact textarea {
  font: 400 1.05rem/1.4 var(--serif); padding: .75rem .85rem; border: 1px solid var(--rule); background: #fffdf8; color: var(--ink); border-radius: 3px;
}
form.contact button { justify-self: start; background: var(--wine); color: #fff8ec; border: 0; padding: .85rem 1.5rem; font: 600 1.05rem/1 var(--serif); border-radius: 3px; cursor: pointer; }
.hp { position: absolute; left: -9999px; }

/* ── footer ── */
.colophon { background: #2b211c; color: #e9dcc4; margin-top: 3rem; border-top: 4px double var(--gold); }
.colophon-inner { max-width: 1180px; margin: 0 auto; padding: 2.6rem 1.25rem 1.4rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.colophon .brand-name { color: var(--gold-2); margin: 0 0 .6rem; }
.colophon p { font-size: .95rem; line-height: 1.6; margin: 0; color: #d8c9ad; }
.colophon-links { list-style: none; margin: 0; padding: 0; }
.colophon-links a { color: #f3e7cf; text-decoration: none; font-size: .98rem; line-height: 2; }
.colophon-links a:hover { color: var(--gold-2); }
.copyright { text-align: center; font-size: .82rem; color: #b5a487; margin: 0; padding: 1rem; border-top: 1px solid #4a3b31; }

/* ── responsive ── */
@media (max-width: 980px) {
  .grid, .grid.four, .row.three, .grid.three { grid-template-columns: repeat(2, 1fr); }
  .lead-link { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  main { padding: 1.2rem 1rem 2.5rem; }
  .topline-tag { display: none; }
  .topline { justify-content: center; }
  .brand { padding: 1.1rem 0 .9rem; }
  .brand-tagline { font-size: .98rem; }
  .nav-toggle {
    display: block; width: 100%; background: none; border: 0; padding: .85rem; color: var(--ink);
    font: 600 .9rem/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  }
  .nav-toggle::after { content: " ▾"; color: var(--wine); }
  .sections ul { display: none; flex-direction: column; border-top: 1px solid var(--rule); }
  .sections.open ul { display: flex; }
  .sections li a { padding: .95rem; font-size: .95rem; border-bottom: 1px solid var(--rule); }
  .grid, .grid.four, .row.three, .grid.three { grid-template-columns: 1fr; gap: 2rem; }
  .card-title { font-size: 1.4rem; }
  .prose p { font-size: 1.1rem; }
  .piece-head h1 { font-size: 2.05rem; }
  .facts { padding: 1.1rem 1rem; }
  .facts dl div { grid-template-columns: 1fr; gap: .1rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .colophon-inner { grid-template-columns: 1fr; }
  blockquote.pull p { font-size: 1.32rem; }
}

/* компактная шапка на страницах статей */
body.story .brand { padding: 1rem 0 .8rem; }
body.story .brand-name { font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
body.story .brand-tagline, body.story .brand-small { display: none; }
body.story .brand-rule { margin: .5rem auto 0; }
@media (max-width: 640px) {
  body.story .topline { display: none; }
  body.story .brand { padding: .8rem 0 .6rem; }
  body.story .piece-head h1 { font-size: 1.9rem; }
  body.story .dek { font-size: 1.12rem; }
}
.prose .facts-title, .prose .watch-title { border-top: 0; padding-top: 0; margin-top: 0; }
.prose .facts-title::before, .prose .watch-title::before { content: none; }
