/* TOVANOWORLD — public website. Black, midnight blue and restrained metallic gold. */
:root {
  --bg: #07090d;
  --panel: #0b1424;
  --card: #111a2a;
  --line: #233046;
  --gold: #d4af37;
  --gold-soft: #f1d98a;
  --text: #ece6d2;
  --muted: #9aa3b1;
  --radius: 14px;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-soft); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(7, 9, 13, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font: 700 20px/1 Georgia, "Times New Roman", serif; letter-spacing: 3px; color: var(--gold-soft); }
.brand span { font-size: 10px; letter-spacing: 4px; color: var(--gold); margin-top: 4px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--text); font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); background: #1a1608; box-shadow: inset 0 0 0 1px var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 9px;
  padding: 8px 12px; font: inherit; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; }
  .nav.open { display: block; }
  .site-head .wrap { flex-wrap: wrap; padding: 8px 0; }
  .nav ul { flex-direction: column; padding-bottom: 10px; }
}

/* hero */
.hero { position: relative; min-height: 64vh; display: grid; align-items: end; overflow: hidden;
  border-bottom: 1px solid var(--line); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .6; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 13, .96) 0%, rgba(10, 16, 32, .72) 45%, rgba(7, 9, 13, .2) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 64px; }
.kicker { font-size: 12px; letter-spacing: 5px; color: var(--gold); text-transform: uppercase; margin: 0 0 8px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 7vw, 76px); letter-spacing: 2px;
  background: linear-gradient(180deg, #f4df9e, #c9971f); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--gold-soft); }
h3 { font-size: 21px; color: var(--text); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text); max-width: 680px; }
.tag { letter-spacing: 6px; color: var(--gold); font-size: 13px; text-transform: uppercase; }

/* sections and cards */
section { padding: 64px 0; }
section + section { border-top: 1px solid #141b29; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: linear-gradient(180deg, var(--card), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; }
.card h3 { color: var(--gold-soft); }
.card p { color: var(--muted); margin: 0; }
.figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.figure figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--gold); color: #14100a; background: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold-soft); }
.btn:hover { filter: brightness(1.08); color: #14100a; }
.btn.ghost:hover { color: #fff; }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--gold); padding: 6px 0 6px 14px; }
.player { border: 1px solid var(--gold); border-radius: var(--radius); overflow: hidden; background: #000; }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 58px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold-soft); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal h3 { font-size: 18px; margin-top: 1.2em; color: var(--gold-soft); }
.legal p, .legal li { color: var(--text); }
.missing { background: #2a1d07; border: 1px dashed var(--gold); color: var(--gold-soft); padding: 2px 8px; border-radius: 6px; font-size: .92em; }

/* form */
form.inquiry { display: grid; gap: 14px; max-width: 640px; }
label { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.status { min-height: 1.5em; font-weight: 600; }
.status.ok { color: #7fd69a; }
.status.err { color: #ff9b86; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: #05070b; padding: 40px 0 28px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.site-foot .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-foot h4 { color: var(--gold); letter-spacing: 3px; font-size: 12px; text-transform: uppercase; margin: 0 0 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--gold-soft); }
.legal-links { margin-top: 26px; padding-top: 16px; border-top: 1px solid #141b29; display: flex; gap: 18px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
