/* pokrov.info landing — color themes via CSS variables (like the schedule). */
:root {
  --bg: #f4f1ea;
  --ink: #241f17;
  --muted: #6b6355;
  --accent: #8a6d3b;
  --line: #e2dccf;
  --title-font: Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] {
  --bg: #14110c;
  --ink: #efe9dc;
  --muted: #a89f8c;
  --accent: #c9a45a;
  --line: #2a2419;
}
:root[data-theme="festal"] {
  --bg: #2a1e34;
  --ink: #f7efe0;
  --muted: #cbb8d6;
  --accent: #e5c15a;
  --line: #3d2c4a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background .3s ease, color .3s ease;
}

.controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}
.controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.controls button:hover { border-color: var(--accent); }
.controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 24px;
}
.photo {
  max-width: min(420px, 82vw);
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
h1 {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.25;
  margin: 28px 0 0;
  max-width: 18ch;
}
.rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 24px 0 0;
}

footer {
  padding: 22px 20px 34px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: clamp(15px, 2.5vw, 18px);
}
