:root {
  --ink: #fff7ea;
  --ink-dim: rgba(255, 247, 234, .78);
  --panel: rgba(17, 14, 40, .82);
  --accent: #ffb86b;
  --accent-2: #ff7a59;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: #0d1030;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 40px);
  background: linear-gradient(to bottom, rgba(10, 8, 30, .55), rgba(10, 8, 30, 0));
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img {
  display: block; height: 52px; width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}

/* ---------- menu ---------- */
.menu { position: relative; }
.menu-toggle {
  appearance: none; border: 1px solid rgba(255, 247, 234, .35);
  background: rgba(17, 14, 40, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--ink);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.menu-toggle:hover, .menu-toggle:focus-visible {
  background: rgba(17, 14, 40, .75); border-color: var(--accent); outline: none;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s, background .2s;
}
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 290px; padding: 8px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 247, 234, .16);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.menu.open .menu-panel {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .2s, transform .2s;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 11px 14px; border-radius: 9px;
  text-decoration: none; font-size: 1rem; font-weight: 500; white-space: nowrap;
}
.menu-panel a small { color: var(--ink-dim); font-weight: 400; font-size: .78rem; }
.menu-panel a:hover, .menu-panel a:focus-visible, .menu-panel a[aria-current="page"] {
  background: rgba(255, 184, 107, .16); outline: none;
}
.menu-panel hr { border: 0; border-top: 1px solid rgba(255, 247, 234, .14); margin: 6px 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  background: #1b1b45 url("sunset.svg") center bottom / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 26, .55) 0%, rgba(8, 8, 26, 0) 38%);
}
.hero-copy {
  position: relative; z-index: 1;
  padding: 0 clamp(20px, 6vw, 96px) clamp(40px, 9vh, 96px);
  max-width: 900px;
}
.hero h1 {
  margin: 0 0 .35em;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.04; letter-spacing: -.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero p {
  margin: 0; max-width: 34em;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-dim);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

/* ---------- inner pages ---------- */
.page {
  min-height: 100vh; padding: 130px clamp(20px, 6vw, 96px) 80px;
  background: linear-gradient(to bottom, #2b2250 0, #0d1030 420px);
}
.page-inner { max-width: 760px; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .3em; }
.page p { color: var(--ink-dim); font-size: 1.1rem; }
.soon {
  display: inline-block; margin-top: 1rem; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 184, 107, .5); color: var(--accent); font-size: .85rem; letter-spacing: .04em;
}

@media (max-width: 520px) {
  .logo img { height: 42px; }
  .menu-panel { min-width: min(280px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
