/*
Theme Name: Benedict Mirow
Theme URI: https://benedictmirow.de
Author: Benedict Mirow
Description: Editoriales One-Page-Theme fuer Autor & Regisseur. Inspiriert von The New Yorker (Caslon) und Monocle. Eigene Inhaltstypen fuer Buecher, Konzertmitschnitte, Tanz und Dokumentarfilme, jeweils mit Beitragsbild.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: benedictmirow
*/

:root {
  --navy: #0E2B1E;
  --navy-deep: #091C13;
  --mustard: #F7CD07;
  --terracotta: #A8572E;
  --cream: #F3EAD9;
  --paper: #FBF6EC;
  --charcoal: #201C16;
  --line: rgba(32,28,22,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: 'Libre Caslon Text', serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, .display {
  font-family: 'Libre Caslon Display', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow, nav, .folio, .cap, .figcap, .book-year { font-family: 'Work Sans', sans-serif; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Masthead */

.topline {
  background: var(--navy-deep);
  color: var(--cream);
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topline .wrap { display: flex; justify-content: space-between; padding: 8px 40px; }

.masthead {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--mustard);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px 22px;
}
.wordmark { font-family: 'Libre Caslon Display', serif; font-size: 30px; }
.wordmark span { color: var(--mustard); }

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  font-family: 'Work Sans', sans-serif;
  transition: border-color .2s ease, color .2s ease;
}
.main-nav a:hover { color: var(--mustard); border-color: var(--mustard); }

/* Signature stripe divider, from the awning */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(110deg,
    var(--mustard) 0px, var(--mustard) 16px,
    #ffffff 16px, #ffffff 32px);
}

/* Hero */
.hero { background: var(--cream); padding: 64px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--terracotta); margin-bottom: 18px; }
.hero h1 { font-size: 52px; color: var(--navy); }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero .dek { margin-top: 20px; font-size: 18px; max-width: 46ch; }
.hero .roles {
  display: flex; gap: 22px; margin-top: 26px;
  font-family: 'Work Sans', sans-serif; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
}
.hero .roles span { border-bottom: 2px solid var(--mustard); padding-bottom: 3px; }

/* Placeholder / real image figure system
   Fixed height, width follows the image's own aspect ratio (or the ph-* class
   while no real image is set yet) — so the whole cover / still is always visible,
   never cropped. */
.figure {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
}
.figure img { display: block; height: 100%; width: auto; }
.figure .ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(115deg, rgba(247,205,7,0.85) 0px, rgba(247,205,7,0.85) 40px, transparent 40px, transparent 80px), var(--navy);
}
.figure .ph span {
  font-family: 'Work Sans', sans-serif; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream); background: var(--navy-deep); padding: 5px 12px;
}
.figcap { margin-top: 10px; font-size: 12.5px; color: rgba(32,28,22,0.6); display: flex; justify-content: space-between; gap: 10px; }
.figcap b { color: var(--charcoal); font-weight: 500; }

/* Gallery figures: fixed height, dynamic width (own aspect ratio) */
.figure-book { height: 260px; }
.figure-row3 { height: 220px; }
.figure-portrait { height: 260px; }
.ph-2-3 { aspect-ratio: 2/3; }
.ph-16-10 { aspect-ratio: 16/10; }
.ph-3-4 { aspect-ratio: 3/4; }

/* Fixed-slot figures (hero, feature composition): fixed height AND width,
   image is letterboxed (contain) rather than cropped */
.figure-hero, .figure-feature-main, .figure-feature-side { width: 100%; }
.figure-hero { height: 340px; }
.figure-feature-main { height: 300px; }
.figure-feature-side { height: 140px; }
.figure-hero img, .figure-feature-main img, .figure-feature-side img {
  width: 100%; height: 100%; object-fit: contain;
}
.ph-4-5 { aspect-ratio: 4/5; width: 100%; }
.ph-16-9 { aspect-ratio: 16/9.2; width: 100%; }

/* Section scaffolding */
section { padding: 64px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 36px;
}
.section-head .eyebrow { color: var(--terracotta); }
.section-head h2 { font-size: 28px; color: var(--navy); }
.section-head .count { font-family: 'Work Sans', sans-serif; font-size: 12px; color: rgba(32,28,22,0.5); }

/* Books grid — flexible row, each cover keeps its own width at a shared height */
.books-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.book-title { margin-top: 10px; font-size: 14px; color: var(--navy); }
.book-year { font-size: 12px; color: rgba(32,28,22,0.5); }

/* Grids for concerts / dance / documentaries / VR */
.row-3 { display: flex; flex-wrap: wrap; gap: 28px; }

.row-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.row-feature .side-stack { display: flex; flex-direction: column; gap: 24px; }

.row-portrait { display: flex; flex-wrap: wrap; gap: 28px; }

/* Interior stat strip */
.strip { background: var(--navy); color: var(--cream); }
.strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 40px; }
.strip .stat .eyebrow { color: var(--mustard); margin-bottom: 8px; }
.strip .stat .display { font-size: 26px; }
.strip .stat p { margin: 8px 0 0; font-size: 13.5px; color: rgba(243,234,217,0.7); }

/* About / bio */
.about .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.about .drop {
  font-size: 60px; font-family: 'Libre Caslon Display', serif; color: var(--terracotta);
  line-height: 0.8; float: left; margin: 6px 8px 0 0;
}
.about p { margin: 0 0 18px; color: rgba(32,28,22,0.85); }
.about .meta {
  font-family: 'Work Sans', sans-serif; font-size: 12px; color: rgba(32,28,22,0.55);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 2;
}
.about .meta strong { display: block; color: var(--navy); font-weight: 600; }

/* Contact band */
.contact-block { background: var(--terracotta); color: var(--cream); padding: 36px 40px; position: relative; overflow: hidden; }
.contact-block::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(243,234,217,0.06) 0 2px, transparent 2px 14px);
}
.contact-block .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0; }
.contact-block .eyebrow { color: var(--mustard); }
.contact-block .display { font-size: 26px; margin-top: 6px; }
.contact-block .links { display: flex; gap: 26px; font-family: 'Work Sans', sans-serif; font-size: 13px; letter-spacing: 0.05em; }
.contact-block .links a { border-bottom: 1px solid rgba(243,234,217,0.4); padding-bottom: 3px; }
.contact-block .links a:hover { border-color: var(--mustard); color: var(--mustard); }

/* Footer */
footer.site-footer { background: var(--navy-deep); color: rgba(243,234,217,0.7); padding: 32px 0 26px; }
footer.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Work Sans', sans-serif; font-size: 12px; letter-spacing: 0.04em;
}
footer.site-footer .wordmark { font-size: 18px; color: var(--cream); }
footer.site-footer .wordmark span { color: var(--mustard); }

/* Standard pages / single posts */
.page-content { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.page-content h1 { font-size: 40px; color: var(--navy); margin-bottom: 24px; }
.page-content img { max-width: 100%; height: auto; border-radius: 2px; }
.page-content p { margin: 0 0 18px; }

@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .masthead .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-nav ul { gap: 18px; flex-wrap: wrap; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .about .wrap { grid-template-columns: 1fr; gap: 16px; }
  .figure-book, .figure-row3, .figure-portrait { height: 200px; }
  .row-feature { grid-template-columns: 1fr; }
  .figure-hero { height: 240px; }
  .row-feature .side-stack { flex-direction: row; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); padding: 32px 22px; gap: 24px; }
  .contact-block .wrap { flex-direction: column; gap: 20px; align-items: flex-start; }
  footer.site-footer .wrap { flex-direction: column; gap: 10px; text-align: center; }
}
