/* Artifacts landing — "elegant museum": warm near-black, ivory, antique gold. */

:root {
  --background: #100e0c;
  --surface: #1b1815;
  --ivory: #efe7d8;
  --ivory-dim: #c9bfa9;
  --gold: #c6a15b;
  --gold-dim: #8a6f3e;
  --muted: #9a8f7d;
  --hairline: rgba(198, 161, 91, 0.28);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* --- Type -------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: 0.01em;
  margin: 1.1rem 0 1.4rem;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 2.75rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-size: 1.12rem;
  color: var(--ivory-dim);
  max-width: 34rem;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--muted);
}

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  background: var(--gold);
  color: #100e0c;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #d4b273;
  border-color: #d4b273;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold-dim);
}

.btn-ghost:hover {
  background: rgba(198, 161, 91, 0.08);
  border-color: var(--gold);
}

.btn-small {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* --- Nav --------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 14, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(198, 161, 91, 0.09), transparent 70%),
    var(--background);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-copy {
  text-align: left;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.hero .hero-cta {
  justify-content: flex-start;
}

.hero-video .frame {
  width: min(340px, 100%);
  margin-inline: auto;
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Gallery frames & placards ----------------------------------------- */

.frame {
  border: 1px solid var(--gold-dim);
  outline: 1px solid rgba(198, 161, 91, 0.18);
  outline-offset: 5px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.placard-mini {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--hairline);
  background: var(--surface);
  text-align: center;
  max-width: 20rem;
}

.placard-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ivory);
}

.placard-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* --- Sections ---------------------------------------------------------- */

.section {
  padding: 5.5rem 0;
}

.section > .container > .label,
.section > .container > h2 {
  text-align: center;
  margin-inline: auto;
}

.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-dim);
  font-size: 0.7rem;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(198, 161, 91, 0.18);
}

/* --- Cards ------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1.9rem;
}

.card p {
  color: var(--ivory-dim);
  font-size: 0.96rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature h3::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  background: var(--gold-dim);
  margin-top: 0.75rem;
}

/* --- Gallery section ---------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.exhibit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exhibit:nth-child(2) {
  margin-top: 2.75rem;
}

/* --- Pricing ------------------------------------------------------------ */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 26rem));
  justify-content: center;
  gap: 1.5rem;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
}

.plan .price {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--ivory);
  margin: 0.5rem 0 1.4rem;
}

.plan .price span {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--ivory-dim);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.12);
}

.plan li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-size: 0.55rem;
  color: var(--gold);
}

.plan .btn {
  margin-top: auto;
  text-align: center;
}

.plan-featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(198, 161, 91, 0.25), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.plan-featured .label {
  margin-bottom: 0.35rem;
}

/* --- Get the app --------------------------------------------------------- */

.get {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(198, 161, 91, 0.08), transparent 70%),
    var(--background);
}

.get-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-inner img {
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.get-inner h2 {
  margin: 0.75rem 0 1rem;
}

.get-inner .lede {
  margin-inline: auto;
}

.get-inner .fine-print {
  margin-top: 1.25rem;
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid rgba(198, 161, 91, 0.14);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner .brand {
  font-size: 1.05rem;
}

.footer-inner .fine-print:last-child {
  margin-left: auto;
}

/* --- Reveal on scroll ----------------------------------------------------- */

/* Hidden until revealed only when JS is available to reveal them. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
  .steps,
  .features,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .exhibit:nth-child(2) {
    margin-top: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .hero-cta {
    justify-content: center;
  }

  .hero .lede {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .steps,
  .features,
  .gallery,
  .plans {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner .fine-print:last-child {
    margin-left: 0;
  }
}
