@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy-950: #07133f;
  --navy-900: #0d1a55;
  --navy-800: #15266d;
  --navy-700: #233b93;
  --navy-100: #e9edff;
  --gold-600: #aa7923;
  --gold-500: #c4973d;
  --gold-300: #e9d09a;
  --ink: #162044;
  --muted: #65708f;
  --paper: #f7f9fe;
  --white: #ffffff;
  --line: rgba(21, 38, 109, .12);
  --shadow: 0 22px 60px rgba(14, 32, 93, .10);
  --radius-lg: 30px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; position: relative; overflow: hidden; }
.site-shell::before,
.site-shell::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
  opacity: .58;
  z-index: -1;
}
.site-shell::before { background: #e0e7ff; top: -230px; left: -150px; }
.site-shell::after { background: #f4e5bf; right: -190px; top: 36%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }

.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .02em;
}
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a:hover { color: var(--gold-300); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 15px; color: var(--navy-950); background: linear-gradient(145deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 10px 20px rgba(170,121,35,.20);
}
.brand-mark::before { content: ''; width: 21px; height: 14px; border: 3px solid var(--navy-950); border-top: 0; border-radius: 0 0 50% 50%; transform: translateY(4px) rotate(-7deg); }
.brand-mark::after { content: 'F'; position: absolute; top: -2px; left: 15px; font: 700 27px 'Playfair Display', serif; }
.brand-copy { line-height: 1.1; }
.brand-name { display: block; color: var(--navy-950); font: 700 25px 'Playfair Display', serif; letter-spacing: -.03em; }
.brand-name span { color: var(--gold-600); }
.brand-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.site-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.site-nav li { margin: 0; }
.site-nav li a { display: block; }
.site-nav a { padding: 10px 12px; border-radius: 12px; color: #56617f; transition: .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--navy-900); background: var(--navy-100); }
.mobile-toggle { display: none; border: 0; background: transparent; color: var(--navy-900); font-size: 22px; }
.mobile-nav { display: none; padding: 0 20px 20px; }
.mobile-nav.open { display: grid; gap: 4px; }
.mobile-nav a { padding: 11px 12px; border-radius: 10px; font-weight: 600; }
.mobile-nav a:hover { background: var(--navy-100); }
.brand-logo-img img { display: block; width: 48px; height: 48px; object-fit: contain; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 13px;
  font-size: 13px; font-weight: 700; transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--navy-900); box-shadow: 0 12px 22px rgba(13,26,85,.20); }
.btn-primary:hover { background: var(--navy-700); }
.btn-gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 12px 22px rgba(170,121,35,.18); }
.btn-outline { color: var(--navy-900); border-color: var(--line); background: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--gold-500); background: var(--white); }
.btn-small { min-height: 38px; padding: 0 13px; font-size: 12px; }

.hero { padding: 86px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-600); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold-500); }
h1, h2, h3, h4 { margin: 0; color: var(--navy-950); line-height: 1.15; }
h1, h2, .serif { font-family: 'Playfair Display', serif; }
h1 { margin: 19px 0; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.045em; }
h1 em { color: var(--gold-600); font-style: normal; }
h2 { font-size: clamp(30px, 4vw, 47px); letter-spacing: -.035em; }
h3 { font-size: 20px; }
.hero-copy p { max-width: 580px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.stat strong { display: block; color: var(--navy-950); font: 700 28px 'Playfair Display', serif; }
.stat span { color: var(--muted); font-size: 12px; }
.hero-art { position: relative; min-height: 450px; }
.hero-panel { position: absolute; inset: 18px 32px 18px 32px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 32px; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); box-shadow: 0 35px 65px rgba(13,26,85,.25); overflow: hidden; }
.hero-panel::before { content: ''; position: absolute; width: 250px; height: 250px; right: -45px; top: -60px; border: 1px solid rgba(233,208,154,.42); border-radius: 50%; box-shadow: 0 0 0 24px rgba(233,208,154,.08), 0 0 0 48px rgba(233,208,154,.06); }
.hero-panel::after { content: ''; position: absolute; width: 170px; height: 170px; left: -60px; bottom: -80px; border-radius: 50%; background: rgba(196,151,61,.3); filter: blur(3px); }
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hero-panel-head small { color: var(--gold-300); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.seal { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(233,208,154,.6); border-radius: 50%; color: var(--gold-300); font: 700 24px 'Playfair Display', serif; }
.hero-panel-quote { max-width: 280px; font: 700 31px/1.12 'Playfair Display', serif; }
.hero-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.68); font-size: 12px; }
.hero-card { position: absolute; right: -4px; bottom: 0; display: grid; gap: 7px; min-width: 185px; padding: 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card strong { color: var(--navy-950); font: 700 24px 'Playfair Display', serif; }
.hero-card span { color: var(--muted); font-size: 11px; }

.section { padding: 78px 0; }
.section-soft { background: rgba(233,237,255,.42); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head p { max-width: 520px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.section-link { color: var(--gold-600); font-size: 13px; font-weight: 800; white-space: nowrap; }
.section-link:hover { color: var(--navy-900); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.card { border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius-md); background: rgba(255,255,255,.76); box-shadow: 0 12px 30px rgba(14,32,93,.06); backdrop-filter: blur(14px); }
.card-hover { transition: .25s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 20px 36px rgba(14,32,93,.12); border-color: rgba(196,151,61,.42); }
.feature-card { padding: 24px; }
.icon-box { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; color: var(--navy-900); background: var(--navy-100); font-size: 20px; }
.icon-box.gold { color: var(--gold-600); background: #fff5de; }
.feature-card p, .card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.event-card { overflow: hidden; }
.event-cover { min-height: 138px; padding: 18px; display: flex; align-items: flex-end; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.event-cover.gold { background: linear-gradient(135deg, #9b6b1f, #d5af65); }
.event-cover.ink { background: linear-gradient(135deg, #203064, #5264a4); }
.event-date { display: grid; place-items: center; width: 48px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.event-date b { font: 700 21px 'Playfair Display', serif; line-height: 1; }
.event-date span { font-size: 9px; text-transform: uppercase; }
.event-body { padding: 20px; }
.event-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 99px; color: var(--navy-900); background: var(--navy-100); font-size: 10px; font-weight: 800; }
.tag.gold { color: #805a18; background: #fff1cd; }
.event-body h3 { margin-top: 13px; font-size: 18px; }
.event-body .section-link { display: inline-block; margin-top: 17px; }
.book-card { padding: 16px; }
.book-cover { position: relative; display: grid; place-items: end start; min-height: 210px; padding: 18px; border-radius: 14px; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); box-shadow: 0 13px 20px rgba(13,26,85,.18); overflow: hidden; }
.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.book-cover > div { position: relative; z-index: 1; }
.book-cover.gold { background: linear-gradient(145deg, #8d621e, #ddb45e); }
.book-cover.cream { color: var(--navy-950); background: linear-gradient(145deg, #f8edcf, #cfa759); }
.book-cover small { opacity: .8; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.book-cover strong { margin-top: 4px; font: 700 24px/1.1 'Playfair Display', serif; }
.book-copy { padding: 17px 4px 4px; }
.book-copy h3 { font-size: 17px; }
.book-copy span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.book-copy .price { margin-top: 14px; color: var(--gold-600); font-weight: 800; }

.page-hero { padding: 58px 0 48px; background: linear-gradient(120deg, rgba(233,237,255,.74), rgba(255,255,255,.4)); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 650px; margin: 14px 0 0; color: var(--muted); }
.page-hero h1 { margin: 14px 0 0; font-size: clamp(42px, 5vw, 60px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumb span { color: var(--gold-600); }
.content-card { padding: 30px; }
.content-card + .content-card { margin-top: 18px; }
.content-card h2 { margin-bottom: 14px; font-size: 32px; }
.content-card h3 { margin-top: 25px; font-size: 18px; }
.content-card p { color: var(--muted); font-size: 14px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 14px; }
.check-list li::before { content: '✓'; display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%; color: var(--navy-950); background: var(--gold-300); font-size: 12px; font-weight: 800; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.timeline { display: grid; gap: 20px; }
.timeline-item { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; }
.timeline-year { padding-top: 3px; color: var(--gold-600); font: 700 18px 'Playfair Display', serif; }
.timeline-item h3 { font-size: 17px; }
.timeline-item p { margin: 6px 0 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pill { padding: 8px 12px; border-radius: 99px; color: var(--navy-800); background: var(--navy-100); font-size: 12px; font-weight: 700; }
.org-card { padding: 20px; text-align: center; }
.avatar { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); font: 700 23px 'Playfair Display', serif; }
.org-card h3 { font-size: 16px; }
.org-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner { display: grid; place-items: center; min-height: 90px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy-800); background: rgba(255,255,255,.55); font: 700 13px 'Playfair Display', serif; text-align: center; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; margin-bottom: 22px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { color: var(--navy-900); background: var(--navy-100); border-color: transparent; }
.select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); font-size: 12px; }
.article-card { overflow: hidden; }
.article-thumb { min-height: 150px; padding: 18px; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.article-thumb.gold { background: linear-gradient(135deg, #a87521, #e0bc6d); }
.article-thumb span { display: inline-flex; padding: 5px 8px; border-radius: 8px; color: var(--navy-950); background: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; }
.article-thumb strong { display: block; max-width: 230px; margin-top: 45px; font: 700 21px/1.15 'Playfair Display', serif; }
.article-body { padding: 20px; }
.article-body h3 { font-size: 18px; }
.article-body p { margin: 8px 0 15px; }
.article-meta { color: var(--muted); font-size: 11px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: steps; }
.step { position: relative; padding: 23px; }
.step::before { counter-increment: steps; content: '0' counter(steps); display: block; margin-bottom: 25px; color: var(--gold-600); font: 700 31px 'Playfair Display', serif; }
.step p { margin: 8px 0 0; }
.membership-aside { height: fit-content; padding: 28px; color: var(--white); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); box-shadow: 0 22px 45px rgba(13,26,85,.23); }
.membership-aside h2 { color: var(--white); font-size: 31px; }
.membership-aside p, .membership-aside li { color: rgba(255,255,255,.7); font-size: 13px; }
.membership-aside .check-list li::before { color: var(--navy-950); background: var(--gold-300); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: 12px; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: rgba(255,255,255,.7); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(196,151,61,.16); }
.field textarea { min-height: 100px; resize: vertical; }
.notice { padding: 15px 17px; border-radius: 13px; color: #6e531b; background: #fff6df; font-size: 12px; }
.empty-state { padding: 35px; text-align: center; color: var(--muted); }
.responsive-image { display: block; width: 100%; height: auto; margin-bottom: 22px; border-radius: 16px; }

.cta-band { padding: 38px; color: var(--white); border-radius: var(--radius-lg); background: linear-gradient(115deg, var(--navy-950), var(--navy-700)); box-shadow: var(--shadow); }
.cta-band h2 { color: var(--white); font-size: 33px; }
.cta-band p { max-width: 570px; margin: 11px 0 20px; color: rgba(255,255,255,.72); font-size: 14px; }
.site-footer { margin-top: 50px; padding: 58px 0 22px; color: rgba(255,255,255,.68); background: var(--navy-950); }
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; width: 300px; height: 300px; right: -100px; top: -150px; border: 1px solid rgba(233,208,154,.22); border-radius: 50%; box-shadow: 0 0 0 24px rgba(233,208,154,.05), 0 0 0 48px rgba(233,208,154,.035); pointer-events: none; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 35px; margin-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top h2 { max-width: 520px; color: var(--white); font-size: 31px; }
.footer-top p { max-width: 520px; margin: 9px 0 0; color: rgba(255,255,255,.6); font-size: 13px; }
.footer-contact { display: grid; gap: 7px; min-width: 245px; padding: 15px 17px; border: 1px solid rgba(233,208,154,.26); border-radius: 14px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); font-size: 12px; }
.footer-contact strong { color: var(--gold-300); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact a:hover { color: var(--gold-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 35px; padding-bottom: 44px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255,255,255,.45); }
.footer-copy { max-width: 300px; margin: 18px 0 0; font-size: 13px; }
.footer-col h4 { margin-bottom: 15px; color: var(--gold-300); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; font-size: 13px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.footer-bottom a:hover { color: var(--gold-300); }

.reveal { animation: rise .65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-nav, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { min-height: 390px; max-width: 610px; width: 100%; margin: 0 auto; }
  .grid-4, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { justify-content: center; min-height: 32px; }
  .topbar-inner span:last-child { display: none; }
  .nav-inner { min-height: 74px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 8px; }
  .hero { padding: 54px 0 45px; }
  h1 { font-size: 47px; }
  .hero-copy p { font-size: 15px; }
  .hero-art { min-height: 330px; }
  .hero-panel { inset: 6px 8px 10px 8px; padding: 22px; }
  .hero-panel-quote { font-size: 25px; }
  .hero-card { right: 0; min-width: 150px; padding: 13px; }
  .section { padding: 52px 0; }
  .section-head { display: block; }
  .section-head .section-link { display: inline-block; margin-top: 15px; }
  .grid-3, .grid-4, .two-col, .step-grid, .form-grid { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 42px 0 35px; }
  .page-hero h1 { font-size: 42px; }
  .content-card { padding: 22px; }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { display: block; }
  .footer-contact { margin-top: 20px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 10px; }
}
