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

html {
  scroll-behavior: smooth;
}

body {
  background: #08030e;
  color: #f4f0e8;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}


/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.ambient {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .08;
  pointer-events: none;
  z-index: -2;
}

.ambient-one {
  background: #8a2be2;
  top: 15%;
  left: -250px;
}

.ambient-two {
  background: #4b0082;
  right: -250px;
  top: 60%;
}


/* =========================================================
   HEADER
========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background:
    linear-gradient(
      180deg,
      rgba(5, 2, 10, .97),
      rgba(5, 2, 10, .78)
    );

  backdrop-filter: blur(16px);

  border-bottom:
    1px solid rgba(212, 175, 55, .3);

  box-shadow:
    0 8px 35px rgba(0, 0, 0, .35);
}

.nav-shell {
  height: 112px;
  max-width: 1500px;
  margin: auto;
  padding: 0 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 45px;
}


/* =========================================================
   BRAND / LAUREL
========================================================= */

.brand {
  display: flex;
  align-items: center;
  gap: 18px;

  min-width: 330px;
}

.brand-mark {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  /* IMPORTANT:
     Do not recolor the original laurel image.
     This preserves its original appearance. */
  filter:
    drop-shadow(
      0 0 8px rgba(212, 175, 55, .35)
    );
}

.brand-name {
  font:
    700 27px Cinzel,
    serif;

  letter-spacing: 3px;

  color: #d4af37;

  white-space: nowrap;
}

.brand-name b {
  font-weight: 800;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 48px;
}

.main-nav a {
  position: relative;

  font:
    600 15px Inter,
    sans-serif;

  letter-spacing: 2.5px;

  text-transform: uppercase;

  color: #ddd;

  transition:
    color .3s ease,
    transform .3s ease;
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: -13px;

  height: 2px;

  background: #d4af37;

  transform: scaleX(0);

  transition: transform .3s ease;

  transform-origin: center;
}

.main-nav a:hover,
.main-nav a.active {
  color: #d4af37;

  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 20px;

  min-width: 330px;
}

.search-button,
.menu-button {
  background: none;

  border: 0;

  color: #ddd;

  font-size: 31px;

  cursor: pointer;

  transition: color .3s ease;
}

.search-button:hover,
.menu-button:hover {
  color: #d4af37;
}

.join-small {
  background: #d4af37;

  color: #0b0610 !important;

  border: 1px solid #d4af37;

  font:
    700 14px Cinzel,
    serif;

  letter-spacing: 1.8px;

  padding: 17px 25px;

  transition: .3s ease;
}

.join-small:hover {
  background: transparent;

  color: #d4af37 !important;

  box-shadow:
    0 0 30px rgba(212, 175, 55, .25);
}

.menu-button {
  display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 100vh;

  position: relative;

  display: grid;
  place-items: center;

  text-align: center;

  padding:
    190px
    25px
    100px;

  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 38%,
      rgba(102, 35, 145, .38),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      #35104d 0%,
      #11051c 45%,
      #050209 100%
    );
}


/* =========================================================
   ROMAN BACKGROUND IMAGE
========================================================= */

.hero-roman-image {
  position: absolute;

  inset: 0;

  z-index: 0;

  background-image:
    url("../../assets/roman-ruins.png");

  background-size: cover;

  background-position:
    center 42%;

  background-repeat: no-repeat;

  opacity: .25;

  filter:
    grayscale(35%)
    sepia(15%)
    contrast(.9)
    brightness(.7);

  transform: scale(1.04);

  animation:
    romanBreath 12s ease-in-out infinite alternate;

  pointer-events: none;
}


/* =========================================================
   HERO IMAGE FADE
========================================================= */

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .72),
      rgba(8, 3, 14, .18) 30%,
      rgba(8, 3, 14, .18) 70%,
      rgba(0, 0, 0, .72)
    ),
    linear-gradient(
      180deg,
      rgba(5, 0, 10, .7),
      rgba(5, 0, 10, .08) 35%,
      rgba(8, 3, 14, .55) 75%,
      #08030e 100%
    );
}


/* =========================================================
   HERO FRAME
========================================================= */

.hero-frame {
  position: absolute;

  inset: 12% 6%;

  z-index: 2;

  border:
    1px solid rgba(212, 175, 55, .16);

  pointer-events: none;

  clip-path:
    polygon(
      0 0,
      18% 0,
      20% 2%,
      80% 2%,
      82% 0,
      100% 0,
      100% 100%,
      82% 100%,
      80% 98%,
      20% 98%,
      18% 100%,
      0 100%
    );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: relative;

  z-index: 4;

  max-width: 1050px;

  width: 100%;
}

.eyebrow {
  color: #d4af37;

  font:
    600 14px Inter,
    sans-serif;

  letter-spacing: 6px;

  text-transform: uppercase;

  text-shadow:
    0 0 15px rgba(212, 175, 55, .25);
}

.hero h1 {
  font:
    700 clamp(52px, 7.5vw, 104px) /
    1.02 Cinzel,
    serif;

  letter-spacing: 4px;

  margin: 26px 0 20px;

  text-shadow:
    0 3px 30px rgba(0, 0, 0, .8),
    0 0 30px rgba(212, 175, 55, .22);
}

.hero h1 span {
  color: #d4af37;

  text-shadow:
    0 0 25px rgba(212, 175, 55, .32);
}


/* =========================================================
   GOLD RULE
========================================================= */

.gold-rule {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 15px;

  color: #d4af37;

  margin: 27px 0;
}

.gold-rule::before,
.gold-rule::after {
  content: "";

  width: 145px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #d4af37
    );
}

.gold-rule::after {
  background:
    linear-gradient(
      90deg,
      #d4af37,
      transparent
    );
}

.gold-rule span {
  font-size: 9px;

  text-shadow:
    0 0 12px rgba(212, 175, 55, .8);
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
  max-width: 720px;

  margin:
    0 auto
    40px;

  color: #d1cad6;

  font-size: 17px;

  line-height: 1.9;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, .8);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
  display: flex;

  justify-content: center;

  gap: 17px;

  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;

  gap: 20px;

  align-items: center;

  padding: 18px 31px;

  background: #d4af37;

  color: #0b0610 !important;

  border:
    1px solid #d4af37;

  font:
    700 13px Cinzel,
    serif;

  letter-spacing: 2px;

  transition: .3s ease;
}

.btn-gold:hover {
  background: transparent;

  color: #d4af37 !important;

  box-shadow:
    0 0 35px rgba(212, 175, 55, .25);
}

.btn-ghost {
  padding: 18px 31px;

  border:
    1px solid rgba(212, 175, 55, .55);

  font:
    600 13px Cinzel,
    serif;

  letter-spacing: 2px;

  color: #e7e2d9;

  transition: .3s ease;

  background:
    rgba(0, 0, 0, .18);
}

.btn-ghost:hover {
  border-color: #d4af37;

  color: #d4af37;

  background:
    rgba(212, 175, 55, .06);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-cue {
  position: absolute;

  bottom: 30px;

  z-index: 4;

  color: #918798;

  font-size: 10px;

  letter-spacing: 4px;
}

.scroll-cue span {
  display: inline-block;

  width: 1px;

  height: 35px;

  background: #d4af37;

  vertical-align: middle;

  margin-right: 12px;

  box-shadow:
    0 0 10px rgba(212, 175, 55, .6);
}


/* =========================================================
   IMPERIAL GLITTER
========================================================= */

.imperial-glitter {
  position: fixed;

  top: 0;
  bottom: 0;

  width: 150px;

  z-index: 3;

  pointer-events: none;
}

.imperial-glitter-left {
  left: 0;
}

.imperial-glitter-right {
  right: 0;
}

.imperial-glitter span {
  position: absolute;

  width: 4px;
  height: 4px;

  background: #d4af37;

  transform: rotate(45deg);

  opacity: .25;

  box-shadow:
    0 0 5px rgba(212, 175, 55, .6),
    0 0 12px rgba(212, 175, 55, .35);

  animation:
    glitterPulse
    var(--duration, 3.5s)
    ease-in-out
    infinite;

  animation-delay:
    var(--delay, 0s);
}


/* =========================================================
   LEFT GLITTER
========================================================= */

.imperial-glitter-left span:nth-child(1) {
  left: 35px;
  top: 9%;
  --duration: 3s;
  --delay: -.5s;
}

.imperial-glitter-left span:nth-child(2) {
  left: 72px;
  top: 17%;
  --duration: 4.2s;
  --delay: -2s;
}

.imperial-glitter-left span:nth-child(3) {
  left: 48px;
  top: 28%;
  --duration: 3.5s;
  --delay: -1s;
}

.imperial-glitter-left span:nth-child(4) {
  left: 94px;
  top: 37%;
  --duration: 4.7s;
  --delay: -3s;
}

.imperial-glitter-left span:nth-child(5) {
  left: 30px;
  top: 46%;
  --duration: 3.8s;
  --delay: -1.8s;
}

.imperial-glitter-left span:nth-child(6) {
  left: 73px;
  top: 55%;
  --duration: 4.4s;
  --delay: -.7s;
}

.imperial-glitter-left span:nth-child(7) {
  left: 42px;
  top: 64%;
  --duration: 3.1s;
  --delay: -2.2s;
}

.imperial-glitter-left span:nth-child(8) {
  left: 100px;
  top: 73%;
  --duration: 4.5s;
  --delay: -1.4s;
}

.imperial-glitter-left span:nth-child(9) {
  left: 58px;
  top: 81%;
  --duration: 3.6s;
  --delay: -2.8s;
}

.imperial-glitter-left span:nth-child(10) {
  left: 28px;
  top: 89%;
  --duration: 4.1s;
  --delay: -.4s;
}

.imperial-glitter-left span:nth-child(11) {
  left: 83px;
  top: 23%;
  --duration: 3.4s;
  --delay: -1.6s;
}

.imperial-glitter-left span:nth-child(12) {
  left: 62px;
  top: 69%;
  --duration: 4.8s;
  --delay: -3.2s;
}


/* =========================================================
   RIGHT GLITTER
========================================================= */

.imperial-glitter-right span:nth-child(1) {
  right: 35px;
  top: 9%;
  --duration: 3.2s;
  --delay: -1.2s;
}

.imperial-glitter-right span:nth-child(2) {
  right: 72px;
  top: 17%;
  --duration: 4.1s;
  --delay: -2.5s;
}

.imperial-glitter-right span:nth-child(3) {
  right: 48px;
  top: 28%;
  --duration: 3.7s;
  --delay: -.8s;
}

.imperial-glitter-right span:nth-child(4) {
  right: 94px;
  top: 37%;
  --duration: 4.8s;
  --delay: -3.4s;
}

.imperial-glitter-right span:nth-child(5) {
  right: 30px;
  top: 46%;
  --duration: 3.5s;
  --delay: -1.9s;
}

.imperial-glitter-right span:nth-child(6) {
  right: 73px;
  top: 55%;
  --duration: 4.3s;
  --delay: -.5s;
}

.imperial-glitter-right span:nth-child(7) {
  right: 42px;
  top: 64%;
  --duration: 3.3s;
  --delay: -2.4s;
}

.imperial-glitter-right span:nth-child(8) {
  right: 100px;
  top: 73%;
  --duration: 4.6s;
  --delay: -1.1s;
}

.imperial-glitter-right span:nth-child(9) {
  right: 58px;
  top: 81%;
  --duration: 3.8s;
  --delay: -2.7s;
}

.imperial-glitter-right span:nth-child(10) {
  right: 28px;
  top: 89%;
  --duration: 4.2s;
  --delay: -.7s;
}

.imperial-glitter-right span:nth-child(11) {
  right: 83px;
  top: 23%;
  --duration: 3.5s;
  --delay: -1.8s;
}

.imperial-glitter-right span:nth-child(12) {
  right: 62px;
  top: 69%;
  --duration: 4.9s;
  --delay: -3.1s;
}


/* =========================================================
   DISCOVER
========================================================= */

.discover {
  position: relative;

  padding:
    120px
    30px
    130px;

  background:
    linear-gradient(
      180deg,
      #08030e,
      #12051d 50%,
      #09030e
    );

  border-top:
    1px solid rgba(212, 175, 55, .16);
}

.section-heading {
  text-align: center;

  max-width: 720px;

  margin:
    0 auto
    60px;
}

.section-heading h2 {
  font:
    700 clamp(34px, 4vw, 52px) Cinzel,
    serif;

  margin: 16px 0;
}

.section-heading h2 span {
  color: #d4af37;
}

.section-heading > p:last-child {
  color: #aaa2b0;

  line-height: 1.8;

  font-size: 15px;
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {
  max-width: 1250px;

  margin: auto;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}

.feature-card {
  position: relative;

  min-height: 325px;

  padding:
    38px
    30px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.065),
      rgba(0,0,0,.45)
    );

  border:
    1px solid rgba(212,175,55,.25);

  transition:
    transform .4s ease,
    border-color .4s ease,
    box-shadow .4s ease;

  overflow: hidden;
}

.feature-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(111,39,153,.2),
      transparent 55%
    );

  opacity: 0;

  transition: .4s;
}

.feature-card:hover {
  transform: translateY(-9px);

  border-color:
    rgba(212,175,55,.72);

  box-shadow:
    0 20px 50px rgba(0,0,0,.4),
    0 0 25px rgba(212,175,55,.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon {
  position: relative;

  color: #d4af37;

  font-size: 40px;

  margin-bottom: 25px;
}

.card-number {
  position: absolute;

  right: 20px;
  top: 20px;

  color: #655c69;

  font:
    11px Cinzel,
    serif;
}

.feature-card h3 {
  position: relative;

  font:
    600 22px Cinzel,
    serif;

  letter-spacing: 2px;

  color: #eee;

  margin-bottom: 14px;
}

.feature-card p:not(.card-number) {
  position: relative;

  color: #9f98a7;

  font-size: 13px;

  line-height: 1.8;
}

.card-link {
  position: absolute;

  bottom: 28px;
  left: 30px;

  color: #d4af37;

  font:
    600 10px Inter,
    sans-serif;

  letter-spacing: 2px;
}


/* =========================================================
   MOTTO
========================================================= */

.motto {
  position: relative;

  text-align: center;

  padding:
    130px
    25px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(89,25,126,.27),
      transparent 55%
    ),
    #09030e;

  border-top:
    1px solid rgba(212,175,55,.13);

  overflow: hidden;
}


/* IMPORTANT:
   Preserve the original laurel artwork.
   No color-changing filter is applied. */

.motto-laurel {
  width: 165px;

  opacity: .75;

  filter:
    drop-shadow(
      0 0 8px rgba(212, 175, 55, .25)
    );

  margin-bottom: 22px;
}

.motto blockquote {
  font:
    700 clamp(36px, 5vw, 68px) Cinzel,
    serif;

  letter-spacing: 5px;

  color: #d4af37;

  margin: 20px 0;
}

.motto > p:last-child {
  max-width: 650px;

  margin: auto;

  color: #9f98a7;

  font-size: 14px;

  line-height: 1.9;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  text-align: center;

  padding:
    70px
    20px
    38px;

  background: #050209;

  border-top:
    1px solid rgba(212,175,55,.2);
}

.footer-brand {
  font:
    700 25px Cinzel,
    serif;

  letter-spacing: 3px;

  color: #d4af37;
}

.footer-brand + p {
  margin-top: 8px;

  color: #777;

  font-size: 10px;

  letter-spacing: 4px;
}

.footer-line {
  width: 100px;

  height: 1px;

  background: #d4af37;

  margin:
    25px auto;
}

footer small {
  color: #555;

  font-size: 11px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1100px) {

  .main-nav {
    gap: 27px;
  }

  .brand {
    min-width: auto;
  }

  .nav-actions {
    min-width: auto;
  }

  .feature-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 800px) {

  .nav-shell {
    height: 90px;

    padding:
      0 20px;
  }

  .main-nav {
    display: none;
  }

  .join-small,
  .search-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size:
      clamp(39px, 10vw, 70px);

    letter-spacing: 2px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-frame {
    inset: 12% 4%;
  }

  .imperial-glitter {
    width: 75px;
  }

  .imperial-glitter span {
    transform:
      rotate(45deg)
      scale(.75);
  }

}


@media (max-width: 500px) {

  .brand-name {
    font-size: 16px;
  }

  .brand-mark {
    width: 45px;
    height: 45px;
  }

  .hero {
    padding:
      120px
      18px
      90px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .gold-rule::before,
  .gold-rule::after {
    width: 70px;
  }

  .imperial-glitter {
    opacity: .55;
  }

  .motto {
    padding:
      90px
      20px;
  }

  .motto blockquote {
    letter-spacing: 2px;
  }

}
