/* ============================================================
   LUNOVA — base layer
   Design tokens, reset, typography, header and footer.
   ============================================================ */

:root {
  color-scheme: dark;

  --bg: #140d12;
  --panel: #21161e;
  --ink: #f6ece7;
  --muted: #b6a1a8;
  --line: #ffffff17;
  --gold: #e5c5a5;
  --rose: #e7b6c4;

  --header-h: 94px;
  --gutter: 6%;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

::selection {
  background: #974d68;
  color: #fff;
}

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #140d12ed;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img { width: 46px; height: 46px; }

.brand > span {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 5px;
}

.brand small {
  display: block;
  margin-top: 9px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 3px;
}

nav {
  display: flex;
  gap: 35px;
  margin-left: auto;
  color: #d0bdc4;
  font-size: 12px;
}

nav a { transition: color .2s; }
nav a:hover { color: var(--gold); }

.header-end {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 42px;
}

.adult {
  padding: 3px 7px;
  border: 1px solid #d7b49555;
  border-radius: 5px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
}

select {
  max-width: 100px;
  border: 0;
  background: transparent;
  color: #d0bdc4;
  font-size: 12px;
}

select option { background: var(--panel); }

/* ---------- footer ---------- */

footer {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 35px 6%;
  border-top: 1px solid var(--line);
}

footer .brand img { width: 35px; height: 35px; }
footer .brand > span { font-size: 19px; letter-spacing: 4px; }
footer .brand small { font-size: 6px; letter-spacing: 2px; }

footer p {
  margin-left: auto;
  color: #a28694;
  font-size: 10px;
}

footer > span {
  color: #957d88;
  font-size: 9px;
  white-space: nowrap;
}

/* ---------- shared type ---------- */

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

h1, h2 {
  font-family: Georgia, 'Times New Roman', 'Songti SC', serif;
  font-weight: 400;
}

/* ---------- responsive chrome ---------- */

@media (max-width: 760px) {
  :root { --header-h: 80px; }

  header { padding: 0 5%; }
  nav { gap: 18px; font-size: 11px; }
  .header-end { gap: 14px; margin-left: 24px; }
  .brand > span { font-size: 21px; letter-spacing: 3px; }
  .brand img { width: 39px; height: 39px; }
  .brand small { font-size: 6px; letter-spacing: 2px; }

  footer { flex-wrap: wrap; }
  footer p { margin: 0; flex: 1; }
  footer > span { width: 100%; }
}

@media (max-width: 480px) {
  header { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand > span { font-size: 18px; letter-spacing: 2.5px; }
  .brand small { font-size: 5px; letter-spacing: 1.6px; }
  nav { gap: 13px; margin-left: auto; font-size: 10px; }
  nav a:last-child { display: none; }
  .header-end { gap: 10px; margin-left: 3px; }
  select { max-width: 70px; font-size: 10px; }
  .adult { padding: 2px 5px; font-size: 8px; }

  footer { padding: 28px 5%; gap: 23px; }
  footer p { min-width: 100%; order: 2; }
  footer > span { width: auto; margin-left: auto; }

  .eyebrow { font-size: 8px; letter-spacing: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Small screens drop site navigation so the header stays legible.
   Declared after the 480px block, mirroring the original cascade. */
@media (max-width: 620px) {
  header nav { display: none; }
  .header-end { margin-left: auto; gap: 9px; }
}
