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

:root {
  --graphite: #333132;
  --black: #000000;
  --white: #FFFFFF;
  --gold: #946838;
  --gold-light: #DDC69D;
  --dust: #D8D1C6;
  --parchment: #F5F1EB;
  --gunmetal: #3B3B3C;
  --olive: #795938;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Mulish', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── PASSWORD GATE ── */
#gate {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(148,104,56,0.18) 0%, transparent 65%),
    linear-gradient(175deg, #111010 0%, #1e1d1c 40%, #2a2725 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
}

#gate::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}

.gate-rule-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, transparent 100%);
}

.gate-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 420px; width: 100%;
  animation: fadeUp 0.9s ease 0.1s both;
}

.gate-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 48px;
}
.gate-logo svg { width: 44px; height: 44px; overflow: visible; }
.gate-logo-text {
  border-left: 1px solid rgba(216,209,198,0.25);
  padding-left: 14px;
  display: flex; flex-direction: column;
  text-align: left;
}
.gate-logo-text span {
  font-family: 'Lora', serif;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--dust); text-transform: uppercase; line-height: 1.6;
}

.gate-eyebrow {
  font-family: 'Mulish', sans-serif;
  font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 16px;
}

.gate-headline {
  font-family: 'Lora', serif;
  font-weight: 400; font-size: 28px;
  line-height: 1.2; color: var(--white);
  margin-bottom: 8px;
}
.gate-headline em { font-style: italic; color: var(--gold-light); }

.gate-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 300; font-size: 13px;
  color: rgba(216,209,198,0.45);
  letter-spacing: 0.04em; margin-bottom: 40px;
}

.gate-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

.gate-label {
  font-family: 'Mulish', sans-serif;
  font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(216,209,198,0.35);
  display: block; text-align: left; margin-bottom: 10px;
}

.gate-form-row {
  display: flex;
  border: 1px solid rgba(216,209,198,0.18);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s;
  margin-bottom: 12px;
}
.gate-form-row:focus-within { border-color: rgba(148,104,56,0.55); }

.gate-form-row input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 15px 20px;
  font-family: 'Mulish', sans-serif;
  font-weight: 300; font-size: 14px;
  letter-spacing: 0.12em; color: var(--white);
}
.gate-form-row input::placeholder { color: rgba(216,209,198,0.25); font-style: italic; letter-spacing: 0.04em; }

.gate-form-row button {
  background: var(--gold); border: none; outline: none; cursor: pointer;
  padding: 15px 22px; flex-shrink: 0;
  font-family: 'Mulish', sans-serif;
  font-weight: 500; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); transition: background 0.3s;
}
.gate-form-row button:hover { background: var(--olive); }

.gate-error {
  font-family: 'Mulish', sans-serif;
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(148,104,56,0.8);
  text-align: center;
  height: 16px;
  transition: opacity 0.3s;
  opacity: 0;
}
.gate-error.show { opacity: 1; }

#gate.fade-out {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

/* ── MAIN CONTENT ── */
#main { display: none; }
#main.unlocked { display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo svg { width: 44px; height: 44px; overflow: visible; }
.nav-logo-text {
  border-left: 1px solid rgba(216,209,198,0.25);
  padding-left: 14px;
  display: flex; flex-direction: column;
}
.nav-logo-text span {
  font-family: 'Lora', serif;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--dust); text-transform: uppercase; line-height: 1.6;
}

.nav-cta {
  font-family: 'Mulish', sans-serif;
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(221,198,157,0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.nav-cta:hover { color: var(--white); border-color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(148,104,56,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 70% at 10% 80%, rgba(121,89,56,0.1) 0%, transparent 55%),
    linear-gradient(175deg, #111010 0%, #1e1d1c 40%, #2a2725 100%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}

.hero-rule-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, transparent 100%);
}

.hero-watermark {
  position: absolute; right: -60px; bottom: -80px;
  width: 600px; height: 600px;
  opacity: 0.04; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
  max-width: 860px;
}

.hero-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-bottom: 40px;
}

.hero-logo-mark svg {
  width: 88px; height: 88px; overflow: visible;
  filter: drop-shadow(0 0 28px rgba(148,104,56,0.25));
}

.hero-logo-wordmark {
  border-left: 1px solid rgba(216,209,198,0.25);
  padding-left: 24px;
  display: flex; flex-direction: column; text-align: left;
}

.hero-logo-wordmark span {
  font-family: 'Lora', serif;
  font-weight: 400; font-size: 28px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); line-height: 1.35;
}

.hero-logo-rule {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 36px;
}

.hero-eyebrow {
  font-family: 'Mulish', sans-serif;
  font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
}

.hero-headline {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--white); margin-bottom: 12px;
  opacity: 0; animation: fadeUp 1s ease 0.5s forwards;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 300; font-size: 16px; line-height: 1.75;
  color: rgba(216,209,198,0.7);
  max-width: 520px; margin: 28px auto 52px;
  letter-spacing: 0.02em;
  opacity: 0; animation: fadeUp 1s ease 0.7s forwards;
}

.hero-form {
  max-width: 480px; margin: 0 auto;
  opacity: 0; animation: fadeUp 1s ease 0.9s forwards;
}

.form-label-sm {
  font-family: 'Mulish', sans-serif;
  font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(216,209,198,0.4);
  display: block; text-align: left; margin-bottom: 10px;
}

.form-row {
  display: flex;
  border: 1px solid rgba(216,209,198,0.18);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s;
}
.form-row:focus-within { border-color: rgba(148,104,56,0.55); }

.form-row input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 15px 20px;
  font-family: 'Mulish', sans-serif;
  font-weight: 300; font-size: 14px;
  letter-spacing: 0.04em; color: var(--white);
}
.form-row input::placeholder { color: rgba(216,209,198,0.3); font-style: italic; }

.form-row button {
  background: var(--gold); border: none; outline: none; cursor: pointer;
  padding: 15px 26px; flex-shrink: 0;
  font-family: 'Mulish', sans-serif;
  font-weight: 500; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); transition: background 0.3s;
}
.form-row button:hover { background: var(--olive); }

.success-msg {
  display: none; padding: 18px;
  border: 1px solid rgba(148,104,56,0.35);
  background: rgba(148,104,56,0.06);
  text-align: center;
}
.success-msg p { font-family: 'Lora', serif; font-style: italic; font-size: 15px; color: var(--gold-light); }
.success-msg small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.1em; color: rgba(216,209,198,0.35); }

.form-fine {
  margin-top: 14px; font-size: 10px; letter-spacing: 0.06em;
  color: rgba(216,209,198,0.2); text-align: center; line-height: 1.8;
}

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s ease 1.3s forwards; cursor: pointer;
}
.scroll-cue span { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(216,209,198,0.3); }
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(148,104,56,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── SECTIONS ── */
section { position: relative; overflow: hidden; }

.section-inner { max-width: 1100px; margin: 0 auto; padding: 120px 56px; }

/* ── MISSION ── */
.mission { background: var(--parchment); color: var(--graphite); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0; align-items: start;
}

.mission-divider { background: rgba(51,49,50,0.12); align-self: stretch; }

.mission-item {
  padding: 0 48px; opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.mission-item.visible { opacity: 1; transform: translateY(0); }
.mission-item:first-child { padding-left: 0; }
.mission-item:last-child { padding-right: 0; }

.mission-number {
  font-family: 'Lora', serif; font-size: 11px;
  letter-spacing: 0.2em; color: var(--gold); margin-bottom: 20px; display: block;
}

.mission-title {
  font-family: 'Lora', serif; font-weight: 500; font-size: 20px;
  line-height: 1.25; color: var(--graphite); margin-bottom: 16px; letter-spacing: -0.01em;
}

.mission-body {
  font-family: 'Mulish', sans-serif; font-weight: 300; font-size: 13.5px;
  line-height: 1.8; color: rgba(51,49,50,0.65); letter-spacing: 0.02em;
}

/* ── STATEMENT ── */
.statement {
  background: var(--graphite);
  border-top: 1px solid rgba(148,104,56,0.2);
  border-bottom: 1px solid rgba(148,104,56,0.2);
}

.statement-inner { max-width: 860px; margin: 0 auto; padding: 100px 56px; text-align: center; }

.statement-quote {
  font-family: 'Lora', serif; font-style: italic; font-weight: 400;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.5;
  color: var(--dust); letter-spacing: 0.01em;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.statement-quote.visible { opacity: 1; transform: translateY(0); }

.statement-attr {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 36px;
  opacity: 0; transition: opacity 0.9s ease 0.3s;
}
.statement-attr.visible { opacity: 1; }
.attr-line { width: 40px; height: 1px; background: rgba(148,104,56,0.5); }
.attr-text {
  font-family: 'Mulish', sans-serif; font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light);
}

/* ── PILLARS ── */
.pillars { background: #111010; }

.pillars-header {
  text-align: center; margin-bottom: 72px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s, transform 0.7s;
}
.pillars-header.visible { opacity: 1; transform: translateY(0); }

.section-eyebrow {
  font-family: 'Mulish', sans-serif; font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 20px;
}

.section-title {
  font-family: 'Lora', serif; font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px); color: var(--white); line-height: 1.2;
}

.pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: rgba(216,209,198,0.07);
}

.pillar {
  background: #111010; padding: 48px 36px; border-top: 2px solid transparent;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s, background 0.4s;
}
.pillar.visible { opacity: 1; transform: translateY(0); }
.pillar:hover { border-top-color: var(--gold); background: rgba(148,104,56,0.05); }

.pillar-icon { width: 36px; height: 2px; background: var(--gold); margin-bottom: 28px; position: relative; }
.pillar-icon::before {
  content: ''; position: absolute; left: 0; top: -5px;
  width: 8px; height: 8px; border: 1px solid var(--gold);
  border-radius: 50%; background: #111010;
}

.pillar-title {
  font-family: 'Lora', serif; font-weight: 500; font-size: 17px;
  color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; line-height: 1.3;
}

.pillar-body {
  font-family: 'Mulish', sans-serif; font-weight: 300; font-size: 13px;
  line-height: 1.85; color: rgba(216,209,198,0.5); letter-spacing: 0.02em;
}

/* ── CTA FOOTER ── */
.cta-footer {
  background: linear-gradient(160deg, #1a1816 0%, var(--graphite) 100%);
  border-top: 1px solid rgba(148,104,56,0.15);
}

.cta-footer-inner { max-width: 640px; margin: 0 auto; padding: 120px 56px; text-align: center; }

.cta-logo-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.cta-logo-wrap svg { width: 48px; height: 48px; overflow: visible; }
.cta-logo-text {
  border-left: 1px solid rgba(216,209,198,0.2); padding-left: 16px;
  font-family: 'Lora', serif; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dust); line-height: 1.6; text-align: left;
}
.cta-logo-text span { display: block; }

.cta-headline {
  font-family: 'Lora', serif; font-weight: 400;
  font-size: clamp(26px, 3.5vw, 38px); line-height: 1.25;
  color: var(--white); margin-bottom: 16px;
}
.cta-headline em { font-style: italic; color: var(--gold-light); }

.cta-sub {
  font-family: 'Mulish', sans-serif; font-weight: 300; font-size: 14px;
  line-height: 1.75; color: rgba(216,209,198,0.5); margin-bottom: 48px; letter-spacing: 0.02em;
}

.gold-rule {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 48px;
}

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--black); padding: 32px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-footer span {
  font-family: 'Mulish', sans-serif; font-size: 10px;
  letter-spacing: 0.18em; color: rgba(216,209,198,0.2); text-transform: uppercase;
}
.footer-gold-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(148,104,56,0.4); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .section-inner { padding: 80px 24px; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-divider { display: none; }
  .mission-item { padding: 0; }
  .statement-inner { padding: 80px 24px; }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; }
  .cta-footer-inner { padding: 80px 24px; }
}
