:root {
  --bg: #06100c;
  --bg-2: #081a13;
  --panel: rgba(255, 255, 255, 0.065);
  --emerald: #0f6b4c;
  --emerald-2: #18c486;
  --sage: #a8c4ae;
  --cream: #f5ead7;
  --muted: #bdcbbf;
  --gold: #d8b86a;
  --gold-2: #f1d88c;
  --border: rgba(216, 184, 106, 0.25);
  --border-soft: rgba(255, 255, 255, 0.10);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  --radius-xl: 36px;
  --radius-lg: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 8%, rgba(24, 196, 134, 0.18), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(216, 184, 106, 0.13), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(15, 107, 76, 0.20), transparent 36%),
    linear-gradient(180deg, #06100c 0%, #07140f 46%, #030706 100%);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -1;
}

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

.page {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 12, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(20px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 38%, rgba(241, 216, 140, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 34px rgba(216, 184, 106, 0.23);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.25s ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(216, 184, 106, 0.12);
  border: 1px solid var(--border);
  color: var(--gold-2);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 62px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--gold-2);
  border: 1px solid var(--border);
  background: rgba(216, 184, 106, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-2);
  box-shadow: 0 0 18px var(--emerald-2);
}

h1,
h2,
h3,
.footer-brand {
  font-family: "Cinzel", serif;
}

h1 {
  font-size: clamp(3.3rem, 7.5vw, 7.4rem);
  line-height: 0.9;
  max-width: 760px;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(135deg, var(--cream), var(--gold-2) 45%, var(--emerald-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.78;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.compact-actions {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  color: #07100c;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 42px rgba(216, 184, 106, 0.24);
}

.btn-primary:hover,
.btn-secondary:hover,
.portal-card:hover,
.mini-card:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.065);
}

.btn-secondary:hover {
  border-color: var(--border);
  color: var(--gold-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.stat {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.stat strong {
  display: block;
  font-family: "Cinzel", serif;
  color: var(--gold-2);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(6, 16, 12, 0.70), rgba(6, 16, 12, 0.12) 52%, rgba(3, 7, 6, 0.44)),
    url("/assets/owl-serenity-emerald-hero-banner.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 38%, transparent 18%, rgba(6, 16, 12, 0.40) 86%),
    linear-gradient(140deg, rgba(24, 196, 134, 0.11), transparent 48%);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  border-radius: 28px;
  padding: 24px;
  background: rgba(6, 16, 12, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(22px);
}

.hero-card h2 {
  color: var(--gold-2);
  font-size: 1.15rem;
  margin-bottom: 7px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section h2,
.banner h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1;
  margin-bottom: 15px;
}

.section-head p,
.banner p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portal-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.038));
  border: 1px solid rgba(255, 255, 255, 0.105);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.23);
  transition: 0.28s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 10%, rgba(24, 196, 134, 0.16), transparent 34%);
  opacity: 0;
  transition: 0.28s ease;
}

.portal-card:hover {
  border-color: var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

.portal-card > * {
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: rgba(24, 196, 134, 0.12);
  border: 1px solid rgba(24, 196, 134, 0.24);
  color: var(--emerald-2);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.portal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 11px;
}

.portal-card p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  color: var(--gold-2);
  font-weight: 800;
  font-size: 0.94rem;
}

.feature {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}

.feature-panel {
  border-radius: var(--radius-xl);
  padding: 38px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(15, 107, 76, 0.30), rgba(216, 184, 106, 0.07)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.feature-panel p {
  color: var(--muted);
  line-height: 1.78;
  margin-top: 14px;
}

.ritual-list {
  display: grid;
  gap: 14px;
}

.ritual-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: 0.25s ease;
}

.ritual-item:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.085);
}

.ritual-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(216, 184, 106, 0.13);
  border: 1px solid var(--border);
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-weight: 800;
}

.ritual-item h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.ritual-item p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.arrow {
  color: var(--gold-2);
  font-weight: 900;
}

.banner {
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 50%, rgba(24, 196, 134, 0.26), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(216, 184, 106, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(6, 16, 12, 0.92), rgba(13, 44, 31, 0.86));
  box-shadow: var(--shadow);
}

.banner::after {
  content: "✦";
  position: absolute;
  right: 48px;
  top: 38px;
  font-size: 8rem;
  color: rgba(216, 184, 106, 0.11);
  font-family: "Cinzel", serif;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.banner p {
  margin: 14px 0 26px;
}

.board-page {
  padding: 56px 0 72px;
}

.board-page h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-bottom: 14px;
}

.board-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.board-card {
  min-height: 0;
}

.board-card h2 {
  color: var(--gold-2);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.post-date {
  color: var(--gold-2);
  font-size: 0.84rem;
  margin-top: 14px;
}

.post-media {
  margin-top: 14px;
}

.post-media img,
.post-media video {
  max-width: 100%;
  border-radius: 16px;
}

.signature-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 40%, rgba(216, 184, 106, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.30);
}

.signature-mark {
  width: min(220px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.36));
}

.signature-panel h2 {
  color: var(--gold-2);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.signature-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.reveal-panel {
  scroll-margin-top: 96px;
}

.message-note {
  scroll-margin-top: 96px;
  margin-top: 22px;
  border-radius: 30px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 184, 106, 0.30);
  background:
    linear-gradient(135deg, rgba(245, 234, 215, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 95% 12%, rgba(24, 196, 134, 0.18), transparent 28%),
    rgba(6, 16, 12, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.message-note[hidden] {
  display: none;
}

.message-note::after {
  content: "✦";
  position: absolute;
  right: 24px;
  top: 12px;
  color: rgba(216, 184, 106, 0.16);
  font-family: "Cinzel", serif;
  font-size: 5rem;
}

.note-topline {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.message-note h3 {
  color: var(--cream);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.note-list p {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.58;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.note-list strong {
  display: block;
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.message-hero {
  margin-bottom: 28px;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.message-card {
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.message-card strong {
  display: block;
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.message-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

footer {
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: center;
}

.footer-brand {
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .hero-inner,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .stats,
  .cards,
  .note-list,
  .message-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
    border-radius: 28px;
  }

  .feature-panel,
  .banner,
  .signature-panel {
    padding: 28px;
    border-radius: 28px;
  }

  .signature-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy > p,
  .section-head p,
  .banner p {
    font-size: 0.96rem;
  }
}
