@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #12091e;
  --panel: rgba(22, 10, 39, 0.72);
  --panel-2: rgba(245, 239, 229, 0.93);
  --purple: #7d38d8;
  --purple-bright: #ab6cff;
  --blue: #123a9a;
  --blue-bright: #2d69ff;
  --gold-1: #f8e4a2;
  --gold-2: #d5a63f;
  --gold-3: #8a5d12;
  --ivory: #f6f0e7;
  --text: #f9f3ea;
  --ink: #24142f;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(171,108,255,.35), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(45,105,255,.28), transparent 22%),
    radial-gradient(circle at 30% 75%, rgba(255,215,130,.14), transparent 20%),
    linear-gradient(180deg, #160927 0%, #12091e 30%, #1a0f31 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .12;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(18,9,30,.9), rgba(18,9,30,.72));
  border-bottom: 1px solid rgba(248,228,162,.35);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0 8px;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 78px; height: 78px; object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(45,105,255,.2));
}
.brand-text h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: .92;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--gold-1), #f2cf72 35%, #fff0c9 55%, var(--gold-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 20px rgba(213,166,63,.16);
}
.brand-text p {
  margin: 4px 0 0; letter-spacing: .28em; text-transform: uppercase; font-size: .76rem; color: #d9ccff;
}

.socials { display: flex; gap: 10px; align-items: center; }
.social-pill {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(248,228,162,.45);
  background: linear-gradient(180deg, rgba(45,105,255,.2), rgba(125,56,216,.35));
  font-weight: 700;
}

.nav-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 34px;
  padding: 14px 12px 18px;
  position: relative;
}
.nav-row::before,
.nav-row::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248,228,162,.7), transparent);
}
.nav-row::before { top: 0; }
.nav-row::after { bottom: 0; }
.nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--ivory);
  position: relative;
  text-shadow: 0 1px 8px rgba(18,9,30,.5);
}
.nav-link:hover, .nav-link.active { color: #fff8e2; }
.nav-link::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -7px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--blue-bright));
  transition: width .28s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 92%; }

.hero {
  padding: 38px 0 28px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: center;
}
.hero-copy {
  padding: 34px 34px 36px; border-radius: 32px;
  background: linear-gradient(145deg, rgba(16,11,34,.82), rgba(43,19,83,.62));
  border: 1px solid rgba(248,228,162,.34);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-copy::before {
  content: ""; position: absolute; inset: auto -10% -22% auto; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,105,255,.26), transparent 68%);
}
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 7px 14px;
  border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(248,228,162,.26); font-size: .76rem;
  letter-spacing: .26em; text-transform: uppercase; color: #e6dcff;
}
.hero-copy h2 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .93;
  font-weight: 700;
}
.hero-copy h3 {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 600; color: #e3d6ff;
}
.hero-copy p { color: #f6efe5; line-height: 1.8; font-size: 1.02rem; max-width: 62ch; }
.gold-divider {
  width: 150px; height: 2px; margin: 22px 0;
  background: linear-gradient(90deg, transparent, var(--gold-1), var(--gold-2), transparent);
}
.quote-card {
  margin-top: 24px; padding: 26px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(246,240,231,.96), rgba(246,240,231,.9));
  color: var(--ink); border: 1px solid rgba(213,166,63,.45);
  box-shadow: 0 18px 40px rgba(10,6,20,.22);
}
.quote-card .mark { color: var(--purple-bright); font-size: 3.4rem; line-height: 1; font-family: 'Cormorant Garamond', serif; }
.quote-card p { color: #4a3557; margin: 0; font-family: 'Cormorant Garamond', serif; font-size: clamp(1.35rem, 2vw, 1.7rem); }

.hero-image-wrap {
  position: relative; padding: 18px;
}
.hero-glow {
  position: absolute; inset: 14% 4% auto 20%; height: 64%;
  background: radial-gradient(circle, rgba(171,108,255,.42), transparent 62%);
  filter: blur(10px);
}
.hero-frame {
  position: relative; border-radius: 36px; overflow: hidden;
  border: 1px solid rgba(248,228,162,.46);
  background: linear-gradient(180deg, rgba(24,10,44,.7), rgba(24,10,44,.22));
  box-shadow: var(--shadow);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,16,.1), rgba(10,8,16,.42));
  pointer-events: none;
}
.hero-frame img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center top; }

.section {
  padding: 34px 0;
}
.section-card {
  border-radius: 30px; overflow: hidden;
  border: 1px solid rgba(248,228,162,.28);
  background: linear-gradient(180deg, rgba(16,11,34,.78), rgba(38,20,67,.68));
  box-shadow: var(--shadow);
}
.section-header { padding: 26px 28px 0; }
.section-title {
  margin: 0; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3vw, 3.35rem); font-weight: 700;
}
.section-sub { margin: 8px 0 0; color: #ece2d1; line-height: 1.8; }

.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch; }
.info-copy { padding: 30px 28px 36px; }
.info-copy h4 { margin: 0 0 12px; font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #ffe8b1; }
.info-copy p, .info-copy li { color: #f2ecdf; line-height: 1.85; }
.info-copy ul { margin: 0; padding-left: 18px; }
.image-panel {
  min-height: 100%; position: relative; background: linear-gradient(180deg, rgba(15,10,22,.18), rgba(15,10,22,.4));
  border-left: 1px solid rgba(248,228,162,.2);
}
.image-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.image-panel::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,18,56,.1), rgba(18,9,30,.35));
}

.feature-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 28px 32px;
}
.feature-card {
  border-radius: 24px; padding: 22px; background: linear-gradient(180deg, rgba(246,240,231,.97), rgba(246,240,231,.92));
  color: var(--ink); border: 1px solid rgba(213,166,63,.48);
}
.feature-card h5 {
  margin: 0 0 10px; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #4c3562;
}
.feature-card p { margin: 0; line-height: 1.7; color: #51405d; }

.assignments-list { display: grid; gap: 18px; padding: 20px 28px 34px; }
.assignment {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center;
  border-radius: 22px; padding: 20px; background: rgba(246,240,231,.93); color: var(--ink);
  border: 1px solid rgba(213,166,63,.45);
}
.assignment .date-box {
  border-radius: 20px; padding: 14px 10px; text-align: center;
  background: linear-gradient(180deg, #1d46ad, #6b2fd0);
  color: white; box-shadow: inset 0 0 0 1px rgba(248,228,162,.34);
}
.assignment .date-box strong { display:block; font-size: 2.05rem; font-family: 'Cormorant Garamond', serif; }
.assignment h5 { margin: 0 0 6px; font-family: 'Cormorant Garamond', serif; font-size: 1.85rem; color: #4a315b; }
.assignment p { margin: 0; color: #554462; line-height: 1.7; }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px 28px 34px; }
.product-card {
  border-radius: 24px; padding: 24px; background: rgba(246,240,231,.94); color: var(--ink);
  border: 1px solid rgba(213,166,63,.45);
}
.product-card h5 { margin: 0 0 10px; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: #4a315b; }
.product-card p { margin: 0 0 12px; color: #59476a; line-height: 1.8; }
.inline-label {
  display: inline-block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #7a5d1a;
}
.give-box {
  margin-top: 18px; border-radius: 22px; padding: 18px 20px;
  background: linear-gradient(90deg, rgba(18,58,154,.1), rgba(125,56,216,.1));
  border: 1px solid rgba(18,58,154,.22);
}
.give-box strong { display:block; font-size: 1.05rem; color: #35234a; margin-top: 6px; }

.footer {
  padding: 30px 0 54px; color: #dccff4; text-align: center;
}
.footer p { margin: 5px 0; }
.small { font-size: .92rem; opacity: .9; }

.hidden { display: none !important; }
.admin-form {
  display: grid; gap: 12px; padding: 22px 28px 34px;
}
.admin-form input, .admin-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(213,166,63,.38); background: rgba(246,240,231,.95); color: #311f47;
  font: inherit;
}
.admin-form textarea { min-height: 120px; }
.action-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(213,166,63,.52);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #2d1a0c; font-weight: 700; cursor: pointer;
}
.btn.secondary { background: rgba(246,240,231,.95); color: #452e58; }
.notice { color: #ecdcb1; }

@media (max-width: 930px) {
  .hero-grid, .info-grid, .products-grid, .feature-band { grid-template-columns: 1fr; }
  .image-panel { min-height: 440px; border-left: 0; border-top: 1px solid rgba(248,228,162,.2); }
}
@media (max-width: 640px) {
  .brand-row { align-items: flex-start; }
  .logo-mark { width: 58px; height: 58px; }
  .brand-text h1 { font-size: 2.2rem; }
  .nav-row { gap: 18px; }
  .nav-link { font-size: 1.35rem; }
  .hero-copy, .section-header, .info-copy, .feature-card, .product-card, .assignment { padding-left: 20px; padding-right: 20px; }
  .hero-frame img { aspect-ratio: 4 / 5.2; }
  .assignment { grid-template-columns: 1fr; }
}
