/* Evitchka static site */
:root {
  --ink: #1A1A1A;
  --purple: #7C4A7C;
  --gold: #E1C16E;
  --grey: #575757;
  --light: #C2C2C2;
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --serif-alt: "Crimson Text", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--grey); background: var(--white); line-height: 1.75; font-size: 18px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--grey); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.italic { font-style: italic; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 58px; }
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; }
.site-header.solid { position: relative; background: var(--purple); }
.site-header .logo img { height: 30px; width: auto; }
.menu-toggle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 40px; height: 1px; background: var(--white); margin: 6px 0; }

/* Menu overlay */
.menu-overlay { position: fixed; inset: 0; background: var(--white); z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; }
.menu-overlay.open { display: flex; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-overlay a { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 6vw, 56px); color: var(--ink); text-decoration: none; padding: 4px 0; }
.menu-overlay a:hover, .menu-overlay a:focus, .menu-overlay a[aria-current="page"] { color: var(--purple); }
.menu-close { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: none; border: 1px solid var(--ink); width: 34px; height: 34px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }

/* Dark photo heroes */
.hero { position: relative; color: var(--white); background-color: var(--ink); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(26,26,26,.55); }
.hero > * { position: relative; }
.hero h1 { color: var(--white); }
.hero-mountains { background-image: url("/assets/img/Tatra-Mountains.jpg"); }
.hero-girl { background-image: url("/assets/img/Evitchka-Hero-Horiz.jpg"); background-position: right center; }
.hero-girl::before { background: linear-gradient(90deg, rgba(26,26,26,.92) 0%, rgba(26,26,26,.75) 50%, rgba(26,26,26,.15) 100%); }

/* Home hero */
.home-hero { padding: 130px 0 70px; }
.home-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.home-hero h1 { font-size: clamp(40px, 5vw, 62px); font-weight: 500; }
.rule-short { width: 170px; height: 1px; background: rgba(255,255,255,.7); border: 0; margin: 28px 0; }
.home-hero .lead { font-weight: 700; color: var(--white); font-size: 17px; line-height: 1.75; }
.home-hero .body { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; }
.retailers { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.retailers img { height: auto; }
.retailers.light img { width: 160px; }
.book img { max-width: 520px; margin: 0 auto; width: 100%; }

/* Authors teaser on home */
.section { padding: 70px 0; }
.section-title { font-style: italic; font-size: clamp(30px, 3.5vw, 40px); text-align: center; margin-bottom: 40px; }
.author-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 120px; justify-content: center; }
.author-card img { width: 360px; aspect-ratio: 360 / 413; object-fit: cover; }
.author-card h3 { font-style: italic; font-size: 24px; text-align: center; margin: 24px 0 18px; }
.author-card p { padding: 0 28px; }

/* Available now / footer */
.available { border-top: 1px solid var(--ink); margin: 40px 30px 0; padding-top: 50px; text-align: center; }
.available h2 { font-style: italic; font-size: 36px; }
.available .retailers { justify-content: center; gap: 80px; margin: 40px 0; }
.available .retailers img { height: 56px; width: auto; }
.footer-rule { max-width: 852px; margin: 0 auto; border: 0; border-top: 2px solid var(--ink); }
.footer-nav ul { list-style: none; margin: 0; padding: 40px 0 60px; display: flex; flex-wrap: wrap; justify-content: center; }
.footer-nav li + li { border-left: 2px solid var(--ink); }
.footer-nav a { font-family: var(--serif); font-size: 18px; color: var(--grey); text-decoration: none; padding: 0 20px; }
.footer-nav a:hover { color: var(--purple); }

/* Story + contact pages */
.page-hero { padding: 150px 0 90px; min-height: 100vh; }
.page-hero .col { max-width: 600px; }
.page-hero h1 { font-style: italic; font-size: clamp(36px, 4.4vw, 52px); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 18px; }
.page-hero p.lead { color: var(--white); font-weight: 700; font-size: 17px; }
.buy-band { background: var(--purple); padding: 70px 0; }
.buy-band .retailers { justify-content: center; gap: 80px; margin: 0; }
.buy-band .retailers img { width: 200px; }

/* Authors page */
.authors-page h1 { font-style: italic; font-size: clamp(40px, 4.5vw, 56px); text-align: center; margin: 70px 0 50px; }
.bio { display: grid; grid-template-columns: 360px 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.bio + .bio { margin-top: 0; }
.bio h3 { font-family: var(--serif); font-size: 28px; margin-top: 0; }
.bio p { font-size: 16px; }
.bio-divider { width: 210px; border: 0; border-top: 1px solid var(--light); margin: 60px auto; }
.social { display: flex; gap: 12px; margin: -6px 0 16px; }
.social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--purple); color: var(--white); border-radius: 50%; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* Events page */
.events-page h1 { font-style: italic; font-size: clamp(40px, 4.5vw, 56px); text-align: center; margin: 60px 0 40px; }
.events-intro { max-width: 800px; margin: 0 auto; font-size: 16px; }
.events-intro p { font-weight: 700; margin-bottom: .4em; }
.events-intro ul { margin: 0 0 1.4em; padding-left: 20px; }
.divider { width: 210px; border: 0; border-top: 1px solid var(--light); margin: 40px auto; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 30px; }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.sub-title { font-family: var(--serif-alt); font-size: 40px; text-align: center; color: var(--grey); }
.press { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; justify-items: center; align-items: center; }
.press img { width: 160px; }
.btn { display: inline-block; background: var(--purple); color: var(--white); font-family: var(--serif-alt); font-size: 22px; padding: 12px 40px; border-radius: 3px; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.2); border: 0; cursor: pointer; }
.btn:hover { background: #643964; }

/* Contact form */
.contact-form { display: grid; gap: 12px; margin-top: 24px; max-width: 560px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 15px var(--sans); padding: 14px 16px; border: 0; border-radius: 3px; color: var(--ink); background: var(--white); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; font-family: var(--serif); font-size: 17px; padding: 10px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { min-height: 1.5em; font-weight: 700; color: var(--white); }
.form-status.error { color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) {
  .author-cards { gap: 40px; }
  .author-card img { width: 100%; }
  .bio { grid-template-columns: 280px 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .home-hero { padding-top: 100px; }
  .home-hero .grid { grid-template-columns: 1fr; }
  .home-hero .book { order: -1; }
  .book img { max-width: 320px; }
  .retailers.light { gap: 24px; }
  .retailers.light img { width: 130px; }
  .author-cards { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 300px; margin: 0 auto; }
  .videos { grid-template-columns: 1fr; padding: 0 16px; }
  .press { grid-template-columns: 1fr; }
  .available .retailers, .buy-band .retailers { gap: 32px; }
  .available .retailers img { height: 40px; }
  .buy-band .retailers img { width: 150px; }
  .footer-nav li + li { border-left: 0; }
  .footer-nav ul { flex-direction: column; align-items: center; gap: 10px; }
  .page-hero { min-height: 0; }
  .hero-girl::before { background: rgba(26,26,26,.82); }
}
