/* Nilara — palette lifted from the brand lockup:
   deep wine ground, leaf-gold linework, moonlight ivory. */
:root {
  --night:        #4E0D1B;
  --night-deep:   #33060F;
  --gold:         #C9A15A;
  --gold-bright:  #E7CE96;
  --ivory:        #F4EADB;
  --ivory-soft:   rgba(244, 234, 219, 0.66);
  --hairline:     rgba(201, 161, 90, 0.34);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(125% 95% at 78% 6%, #6E1524 0%, rgba(110,21,36,0) 64%),
    var(--night);
  color: var(--ivory);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- night sky ------------------------------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.crescent {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.16;
}
.stars circle { fill: var(--gold-bright); opacity: 0.4; }

/* ---- layout ---------------------------------------------------------- */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.lockup { max-width: 34rem; }

.logo {
  display: block;
  width: clamp(160px, 22vw, 215px);
  height: auto;
  margin: 0 0 1.5rem;
}

h1 {
  margin: 0 0 0.9rem;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.lede {
  margin: 0 0 2.25rem;
  max-width: 30rem;
  color: var(--ivory-soft);
}

/* ---- actions --------------------------------------------------------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--night-deep);
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

a:focus-visible,
.frame:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---- catalogue cover ------------------------------------------------- */
.showcase { justify-self: center; text-align: center; }

.frame {
  display: block;
  padding: 0.7rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 320ms ease, border-color 320ms ease;
}
.frame:hover { transform: translateY(-4px); border-color: var(--gold); }
.frame img {
  display: block;
  width: clamp(230px, 30vw, 340px);
  height: auto;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

.caption {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

/* ---- footer ---------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 234, 219, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.footer p { margin: 0; }
.footer .contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold-bright); }

/* ---- moonrise: one quiet entrance, nothing else moves ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .lockup, .showcase {
    animation: rise 900ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .showcase { animation-delay: 140ms; }
  .crescent {
    animation: glow 1600ms ease-out both;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes glow {
    from { opacity: 0; }
    to   { opacity: 0.16; }
  }
}

/* ---- mobile ---------------------------------------------------------- */
@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2.75rem;
    padding-top: 1rem;
  }
  .lockup { max-width: 32rem; }
  .logo { margin-inline: auto; }
  .lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .footer { justify-content: center; text-align: center; }
  .footer .contact { align-items: center; }
}
