:root {
  --bg0: #0a0908;
  --bg1: #161210;
  --ink: #f4ede0;
  --muted: rgba(244, 237, 224, 0.68);
  --gold: #c9a54b;
  --gold-soft: rgba(201, 165, 75, 0.28);
  --panel: rgba(28, 22, 18, 0.86);
  --line: rgba(201, 165, 75, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.55;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 165, 75, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(90, 40, 48, 0.28), transparent 50%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

.top {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

nav {
  display: flex;
  gap: 18px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav a[aria-current="page"],
nav a:hover { color: var(--gold); }

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 22px 72px;
}

.hero { margin-bottom: 36px; animation: rise 0.7s ease both; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}
h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}
.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 22px;
  padding: 28px 26px;
  margin-bottom: 28px;
  animation: rise 0.8s ease 0.08s both;
}
.panel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}
.panel p { margin: 0 0 12px; color: var(--muted); }
.hint { font-size: 0.92rem; opacity: 0.9; }

.mail {
  display: inline-block;
  color: var(--bg0);
  background: var(--gold);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mail:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(201, 165, 75, 0.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  animation: rise 0.85s ease 0.14s both;
}
.grid article {
  border: 1px solid var(--gold-soft);
  background: rgba(18, 14, 12, 0.72);
  border-radius: 18px;
  padding: 22px 20px;
}
.grid h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.grid a { color: var(--gold); }

.legal h2 {
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
}
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }

footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px 40px;
  color: rgba(244, 237, 224, 0.42);
  font-size: 0.85rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; }
}
