/* ============ Tokens ============ */
:root {
  --bg: hsl(40 30% 98%);
  --fg: hsl(220 15% 12%);
  --muted: hsl(220 10% 45%);
  --card: hsl(40 25% 99%);
  --border: hsl(220 15% 90%);
  --accent: hsl(28 90% 55%);
  --accent-fg: hsl(40 30% 98%);
  --primary: hsl(0, 0%, 3%);
  --gradient-accent: linear-gradient(135deg, hsl(28 95% 60%), hsl(14 90% 55%));
  --shadow-elegant: 0 20px 60px -20px hsl(28 50% 30% / 0.25);
  --shadow-warm: 0 10px 30px -10px hsl(28 90% 55% / 0.4);
  --glass-bg: hsla(40, 25%, 99%, 0.6);
  --glass-border: hsla(220, 15%, 90%, 0.5);
}

:root[data-theme="dark"]{
  --bg:#0b1220;
  --fg:#e8ecf5;
  --muted:#8a93a8;
  --primary:#e8ecf5;
  --accent:#ff8a3d;
  --accent-2:#ffb066;
  --card:#131c30;
  --section-alt:linear-gradient(180deg,#0b1220,#0e1730);
  --footer-bg:#060b18;
  --border:rgba(255,255,255,.08);
  --glass-bg:rgba(20,30,55,.5);
  --glass-border:rgba(255,255,255,.08);
  --shadow-lg:0 20px 60px -20px rgba(0,0,0,.6);
  --shadow-glass:0 10px 40px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ============ Reset / Base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }

/* ============ Typography ============ */
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.25rem; }
.lede { font-size: 1.1rem; color: var(--muted); margin-top: 1.25rem; max-width: 640px; margin-inline: auto; }
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: .75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.badge {
  display: inline-block;
  padding: .4rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{letter-spacing:-.03em;font-weight:600;margin:0 0 .4em}
h1{font-size:clamp(2.4rem,6vw,4.5rem);line-height:1.05}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:1.25rem}
.kicker{
  text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;
  font-weight:600;color:var(--accent);margin:0 0 1rem
}
.lede{font-size:1.15rem;color:rgba(255,255,255,.85);max-width:60ch}
.lede--dark{color:var(--muted)}
.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}

.site-header {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
}

.nav {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--nav-bg);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}
@media (min-width: 768px) { .nav { padding: 12px 24px; } }

/* liquid sheen */
.nav::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);
  background-size:200% 100%;
  animation:sheen 9s linear infinite;
  mix-blend-mode:overlay;opacity:.6;
}
@keyframes sheen{0%{background-position:200% 0}100%{background-position:-200% 0}}



/* Brand */
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  transition: opacity .2s;
}
.brand:hover { opacity: .9; }
.brand__logo {
  height: 120px; width: 120px; object-fit: contain;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .brand__logo { height: 120px; width: 120px; }
}
.brand__text { font-weight: 700; line-height: 1.1; }
.accent { color: var(--accent); }
.brand__text--desktop { display: none; font-size: 16px; }
.brand__text--mobile  { display: flex; flex-direction: column; font-size: 14px; }
.brand__text--mobile .line { display: block; }
@media (min-width: 768px) {
  .brand__text--desktop { display: block; }
  .brand__text--mobile  { display: none; }
}

/* Desktop nav */
.nav__list {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 4px; align-items: center;
}
@media (min-width: 1024px) { .nav__list { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  border-radius: 9999px;
  text-decoration: none;
  transition: color .2s;
}
.nav__link:hover { color: var(--text); }
.chev {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s ease;
}
.has-sub:hover .chev,
.m-item.open .chev { transform: rotate(180deg); }



/* Submenu */
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px) scale(.96);
  margin-top: 12px;
  list-style: none; padding: 8px;
  width: 224px;
  background: var(--sub-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.submenu li { opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .25s ease; }
.has-sub:hover .submenu li { opacity: 1; transform: translateX(0); }
.submenu li:nth-child(1) { transition-delay: .04s; }
.submenu li:nth-child(2) { transition-delay: .08s; }
.submenu li:nth-child(3) { transition-delay: .12s; }
.submenu li:nth-child(4) { transition-delay: .16s; }
.submenu a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.submenu a:hover { background: var(--chip); color: var(--accent); }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center;
  height: 40px; width: 40px;
  border: 0; background: var(--chip);
  color: var(--text);
  border-radius: 9999px; cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .2s;
}
.icon-btn:hover { background: var(--chip-hover); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, transform .25s; }

/* Theme icon visibility */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Burger */
.burger { display: grid; }
@media (min-width: 1024px) { .burger { display: none; } }
.icon-x { display: none; }
.mobile-open .icon-menu { display: none; }
.mobile-open .icon-x    { display: block; }

/* Mobile menu */
.mobile-menu {
  max-width: 1152px;
  margin: 8px auto 0;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--sub-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height .3s ease, opacity .25s ease, transform .25s ease, padding .3s ease;
}
.mobile-menu.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__inner { padding: 16px; }
@media (min-width: 1024px) { .mobile-menu, #burger { display: none; } }

.m-item { border-radius: 12px; }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px; cursor: pointer;
}
.m-link:hover { background: var(--chip); }
.m-sub {
  list-style: none; padding: 0 0 0 16px; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.m-item.open .m-sub { max-height: 240px; }
.m-sub a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.m-sub a:hover { background: var(--chip); color: var(--accent); }

/* ============== THEME TOGGLE ============== */
.theme-toggle{
  width:38px;height:38px;border-radius:999px;border:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.5);color:var(--primary);
  border:1px solid var(--glass-border);
  transition:transform .5s var(--ease),background .3s var(--ease),color .3s var(--ease);
  position:relative;overflow:hidden;
}
:root[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.06)}
.theme-toggle:hover{transform:rotate(20deg) scale(1.08)}
.theme-toggle svg{width:18px;height:18px;position:absolute;transition:transform .5s var(--ease),opacity .35s var(--ease)}
.theme-toggle .icon-moon{opacity:0;transform:rotate(-90deg) scale(.5)}
.theme-toggle .icon-sun{opacity:1;transform:rotate(0) scale(1)}
:root[data-theme="dark"] .theme-toggle .icon-sun{opacity:0;transform:rotate(90deg) scale(.5)}
:root[data-theme="dark"] .theme-toggle .icon-moon{opacity:1;transform:rotate(0) scale(1)}
.footer h2{margin-bottom:1.5rem}
.footer__small{margin-top:3rem;color:rgba(255,255,255,.5);font-size:.85rem}

/* ============== REVEAL ============== */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* ============== RESPONSIVE ============== */
@media (max-width:960px){
  .nav__menu,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav__inner{border-radius:22px}
}
@media (max-width:600px){
  .section{padding:4rem 0}
  .hero__content{padding-top:6rem}
}


/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 9rem 0 5rem;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35; pointer-events: none;
}
.blob-a { top: 20%; left: -120px; width: 320px; height: 320px; background: var(--accent); opacity: .25; }
.blob-b { bottom: -80px; right: -120px; width: 380px; height: 380px; background: var(--primary); opacity: .15; }

/* ============ Sections ============ */
.section { padding: 4rem 0; }
.section-head { margin-bottom: 3rem; }
.section-head h2 { margin-top: .5rem; }
.section-head .muted { margin-top: 1rem; max-width: 540px; margin-inline: auto; }

/* ============ Glass Card ============ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-elegant);
}
.aim { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.aim h2 { margin: .75rem 0; }
.aim-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--gradient-accent);
  display: grid; place-items: center;
  font-size: 1.75rem; flex-shrink: 0;
  box-shadow: var(--shadow-warm);
}
.aim > div:last-child { flex: 1; min-width: 240px; }

/* ============ Values Grid ============ */
.grid { display: grid; gap: 1.25rem; }
.values-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all .4s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: hsl(28 90% 55% / 0.4);
  box-shadow: var(--shadow-elegant);
}
.value-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient-accent);
  display: grid; place-items: center;
  margin-bottom: 1.25rem; font-size: 1.25rem;
  transition: transform .4s;
}
.value-card:hover .value-icon { transform: scale(1.1) rotate(3deg); }
.value-card h3 { margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .95rem; }

/* ============ Identity Stack ============ */
.identity-stack { display: flex; flex-direction: column; gap: 1.5rem; max-width: 880px; margin: 0 auto; }
.identity-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex; gap: 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all .4s ease;
  flex-wrap: wrap;
}
.identity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.identity-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--gradient-accent);
  display: grid; place-items: center; font-size: 1.75rem;
  box-shadow: var(--shadow-warm); flex-shrink: 0;
  transition: transform .4s;
}
.identity-card:hover .identity-icon { transform: scale(1.1); }
.identity-body { flex: 1; min-width: 240px; }
.identity-body h3 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); margin-bottom: 1rem; }
.identity-body p {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  white-space: pre-line;
}

/* ============ Anthem ============ */
.anthem-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-elegant);
}
.anthem-card::before, .anthem-card::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .3; pointer-events: none;
}
.anthem-card::before { top: -80px; left: -80px; width: 240px; height: 240px; background: var(--accent); }
.anthem-card::after { bottom: -80px; right: -80px; width: 240px; height: 240px; background: var(--primary); }
.quote-mark {
  font-size: 4rem; color: hsl(28 90% 55% / 0.4);
  line-height: 1; margin: 1rem 0 1.5rem;
}
.anthem-lines { display: flex; flex-direction: column; gap: .75rem; max-width: 600px; margin: 0 auto; }
.anthem-lines p {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.5;
}
.anthem-pill {
  display: inline-block; margin-top: 2.5rem;
  padding: .5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: .7rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--muted);
  backdrop-filter: blur(20px);
}

/* ============ Objectives ============ */
.objectives-grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .objectives-grid { grid-template-columns: 1fr 1.4fr; }
}
.objectives-list { display: flex; flex-direction: column; gap: 1rem; }
.objective {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  transition: all .3s;
}
.objective:hover { border-color: hsl(28 90% 55% / 0.4); box-shadow: var(--shadow-elegant); }
.objective-num {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: hsl(28 90% 55% / 0.1);
  display: grid; place-items: center;
  color: var(--accent); font-weight: 600;
}
.objective-body span {
  font-size: .75rem; font-family: ui-monospace, monospace;
  color: var(--muted);
}
.objective-body p { margin-top: .25rem; font-size: 1.05rem; }

/* ============== FOOTER ============== */
.footer{background:var(--footer-bg);color:#fff;padding:5rem 0 2rem}
.footer__top{text-align:center;margin-bottom:4rem}
.footer__top h2{margin-bottom:1.5rem}

.footer__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:2.5rem;
  padding:3rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer__col h3{
  font-size:1.25rem;color:#fff;margin-bottom:.75rem;
}
.footer__col h3 span{color:var(--accent)}
.footer__col h4{
  font-size:.85rem;text-transform:uppercase;letter-spacing:.15em;
  color:var(--accent-2);margin-bottom:1.1rem;font-weight:600;
}
.footer__brand p{color:rgba(255,255,255,.65);font-size:.95rem;line-height:1.6;max-width:28ch}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.footer__col ul a{
  color:rgba(255,255,255,.7);font-size:.92rem;
  transition:color .25s var(--ease),padding-left .25s var(--ease);
}
.footer__col ul a:hover{color:var(--accent);padding-left:.3rem}
.footer__times li{
  display:flex;flex-direction:column;gap:.15rem;
  color:rgba(255,255,255,.7);font-size:.9rem;
}
.footer__times li strong{color:#fff;font-weight:600;font-size:.92rem}
.footer__contact li{color:rgba(255,255,255,.75);font-size:.92rem;line-height:1.5}
.footer__contact a{color:rgba(255,255,255,.75)}
.footer__contact a:hover{color:var(--accent)}

.footer__small{margin-top:2rem;color:rgba(255,255,255,.5);font-size:.85rem;text-align:center}

/* ============ Reveal Animations ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation: none !important; }
}
