/* =========================
   1. COLORS / VARIABLES
   ========================= */

:root {
  --arcane-dark: #21152b;
  --arcane-gold: #d8c6a3;
  --arcane-purple: #5c3d70;
  --arcane-light: #f4edf8;
  --arcane-section: #2b1b38;

  --arcane-muted: #b9a9c1;
  --arcane-border: rgba(216, 198, 163, 0.28);
  --arcane-glow: rgba(92, 61, 112, 0.38);
}

/* =========================
   2. BASE
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--arcane-light);
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(92, 61, 112, 0.34),
      transparent 36rem
    ),
    var(--arcane-dark);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(216, 198, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 198, 163, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.ambient-one {
  top: 8%;
  left: -12rem;
  background: var(--arcane-purple);
}

.ambient-two {
  right: -12rem;
  bottom: 5%;
  background: var(--arcane-gold);
}

/* =========================
   3. LAYOUT / HERO
   ========================= */

.page-shell {
  width: min(1050px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 3rem;
  text-align: center;
}

.brand-art {
  position: relative;
  width: 170px;
  margin-bottom: 2rem;
}

.brand-art img {
  display: block;
  width: 100%;
  height: auto;

  border: 1px solid var(--arcane-border);
  border-radius: 1.4rem;

  box-shadow:
    0 0 0 5px rgba(92, 61, 112, 0.18),
    0 0 35px rgba(216, 198, 163, 0.14),
    0 18px 45px rgba(0, 0, 0, 0.3);
}

.sparkle {
  position: absolute;
  z-index: 1;
  color: var(--arcane-gold);
  text-shadow: 0 0 12px var(--arcane-gold);
  pointer-events: none;
}

.sparkle-one {
  top: -18px;
  right: 12px;
  font-size: 1rem;
}

.sparkle-two {
  top: 28px;
  left: -25px;
  font-size: 1.25rem;
}

.sparkle-three {
  right: -22px;
  bottom: 20px;
  font-size: 0.75rem;
}

.eyebrow,
.project-kicker {
  margin: 0;
  color: var(--arcane-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--arcane-gold);
}

.tagline {
  margin: 1.1rem 0 0;
  color: var(--arcane-muted);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
}

.intro {
  max-width: 590px;
  margin: 1.5rem auto 0;
  color: var(--arcane-muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--arcane-border);
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 160ms ease;
}

.button-primary {
  color: var(--arcane-dark);
  background: var(--arcane-gold);
}

.button-ghost {
  color: var(--arcane-gold);
  background: rgba(43, 27, 56, 0.65);
}

.button:hover,
.project-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* =========================
   4. PROJECTS
   ========================= */

.projects {
  padding: 3rem 0 6rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--arcane-gold);
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--arcane-light);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 400;
}

.project-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--arcane-border);
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(92, 61, 112, 0.17), transparent 55%),
    var(--arcane-section);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.project-icon {
  display: grid;
  place-items: center;
  width: 4.3rem;
  height: 4.3rem;
  border: 1px solid var(--arcane-border);
  border-radius: 1rem;
  background: rgba(33, 21, 43, 0.7);
  font-size: 2rem;
}

.project-copy h3 {
  margin: 0.35rem 0 0.55rem;
  color: var(--arcane-gold);
  font-size: 1.8rem;
  font-weight: 400;
}

.project-copy > p:not(.project-kicker) {
  max-width: 590px;
  margin: 0;
  color: var(--arcane-muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.project-tags span {
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(216, 198, 163, 0.18);
  border-radius: 999px;
  color: var(--arcane-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
}

.project-link {
  white-space: nowrap;
  color: var(--arcane-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 160ms ease;
}

.more-soon {
  margin: 1.5rem 0 0;
  color: var(--arcane-muted);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  opacity: 0.72;
}

/* =========================
   5. FOOTER
   ========================= */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(216, 198, 163, 0.12);
  color: var(--arcane-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-align: center;
}

footer span {
  color: var(--arcane-gold);
}

/* =========================
   6. RESPONSIVE
   ========================= */

@media (max-width: 720px) {
  .hero {
    min-height: 68vh;
  }

  .project-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-icon {
    margin: 0 auto;
  }

  .project-tags {
    justify-content: center;
  }

  .project-link {
    justify-self: center;
  }
}
