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

:root {
  --ink:          #08090a;
  --ink-deep:     #0d0e10;
  --ink-mid:      #161719;
  --surface:      #1c1d1f;
  --surface-hi:   #242527;
  --rule:         rgba(255,255,255,0.07);
  --rule-strong:  rgba(255,255,255,0.13);

  --white:        #f5f4f0;
  --white-dim:    rgba(245,244,240,0.55);
  --white-ghost:  rgba(245,244,240,0.18);

  --amber:        #e8a320;
  --amber-dim:    rgba(232,163,32,0.12);
  --amber-faint:  rgba(232,163,32,0.05);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Instrument Sans', 'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --max-w:        1240px;
  --px:           clamp(24px, 5vw, 64px);
  --section-py:   clamp(96px, 11vw, 144px);

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:     160ms;
  --dur-mid:      300ms;
  --dur-slow:     600ms;
}


html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  
  background-color: var(--ink-deep);
  background-image: radial-gradient(
    ellipse 80% 80% at 50% -10%, 
    var(--surface-hi) 0%, 
    var(--ink-mid) 40%, 
    var(--ink) 100%
  );
  background-attachment: fixed;
}

body.locked { overflow: hidden; }

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

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track  { background: var(--ink); }
::-webkit-scrollbar-thumb  { background: var(--surface-hi); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }


.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast), height var(--dur-fast), opacity var(--dur-fast);
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 28px; height: 28px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 220ms var(--ease), height 220ms var(--ease), opacity var(--dur-mid), border-color var(--dur-mid);
  will-change: transform;
  opacity: 0.5;
}

.cursor-ring.hover {
  width: 44px; height: 44px;
  opacity: 0.2;
  border-color: var(--white);
}


.ann-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px var(--px);
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow);
}

.ann-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.ann-dot {
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

.ann-text { opacity: 0.85; }
.ann-link { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; opacity: 1; }

.ann-close {
  position: absolute;
  right: var(--px);
  background: none;
  border: none;
  color: var(--ink);
  font-size: 14px;
  opacity: 0.5;
  padding: 4px 8px;
  transition: opacity var(--dur-fast);
  font-family: var(--font-mono);
}
.ann-close:hover { opacity: 1; }

body.ann-open { padding-top: 37px; }


.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--px);
  height: 60px;
  display: flex;
  align-items: center;
  transition: background var(--dur-mid), border-color var(--dur-mid), height var(--dur-mid);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8,9,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule);
  height: 52px;
}

body.ann-open .site-header { top: 37px; }

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 28px; height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-link:hover {
  color: var(--white);
  background: var(--white-ghost);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 8px 18px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.header-cta:hover {
  background: #f0b030;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-fast);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  padding: 80px var(--px) 48px;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mnav-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 700;
  color: var(--white-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  transition: color var(--dur-fast);
  display: block;
}

.mnav-link:hover { color: var(--white); }

.mnav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 14px 28px;
  border-radius: 3px;
  align-self: flex-start;
}


#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms var(--ease), visibility 800ms;
}

#loading-screen.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.loader-logo-wrap {
  width: 64px; height: 64px;
  position: relative;
}

.loader-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: loaderFadeIn 600ms 200ms var(--ease) forwards;
}

.loader-line-h, .loader-line-v {
  position: absolute;
  background: var(--rule-strong);
}

.loader-line-h {
  height: 1px; width: 0;
  top: 50%; left: 0;
  transform: translateY(-50%);
  animation: lineGrow 800ms 400ms var(--ease) forwards;
}

.loader-line-v {
  width: 1px; height: 0;
  left: 50%; top: 0;
  transform: translateX(-50%);
  animation: lineGrow 800ms 400ms var(--ease) forwards;
}

@keyframes loaderFadeIn { to { opacity: 0.9; } }
@keyframes lineGrow { to { width: 160px; height: 160px; } }

.loader-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.loader-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.loader-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.loader-progress {
  width: 120px;
  height: 1px;
  background: var(--rule-strong);
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  background: var(--amber);
  width: 0%;
  animation: progressFill 1800ms 300ms var(--ease) forwards;
}

@keyframes progressFill { to { width: 100%; } }


.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.video-bg.loaded { opacity: 1; }

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(8,9,10,0.82) 0%,
    rgba(8,9,10,0.65) 40%,
    rgba(8,9,10,0.88) 100%
  );
}


.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0;
  animation: revealUp 600ms 800ms var(--ease) forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 124px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  animation: revealUp 800ms 1000ms var(--ease) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--amber);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: var(--white-dim);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: revealUp 600ms 1200ms var(--ease) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: revealUp 600ms 1400ms var(--ease) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 13px 28px;
  border-radius: 3px;
  border: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.btn-primary:hover {
  background: #f0b030;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  border: none;
  background: none;
  padding: 13px 0;
  transition: color var(--dur-fast), gap var(--dur-fast);
  text-transform: uppercase;
}

.btn-ghost:hover {
  color: var(--white);
  gap: 14px;
}


.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: revealUp 600ms 1500ms var(--ease) forwards;
  flex-shrink: 0;
}

.live-panel {
  border: 1px solid var(--rule-strong);
  background: rgba(22,23,25,0.7);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  min-width: 220px;
}

.live-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.live-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #4ade80;
}

.live-dot {
  width: 5px; height: 5px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.stat-item:last-child { border-bottom: none; padding-bottom: 0; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-value.na {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white-dim);
}

.hero-scroll {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 600ms 2000ms ease forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollLine 2s 2500ms ease infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(1) translateY(0); opacity: 1; }
  100% { transform: scaleY(0.3) translateY(20px); opacity: 0; }
}


.phr-section {
  padding: var(--section-py) var(--px);
  position: relative;
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.phr-section + .phr-section::before {
  display: none;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--amber);
  opacity: 0.4;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-body {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 600px;
}

.section-rule {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: var(--rule);
}


.about-section {
  background: var(--ink-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 8px;
}

.pillar {
  padding: 28px 24px;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--dur-mid);
}

.pillar:hover { background: var(--ink-mid); }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.pillar-desc {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
}

.orgs-section { background: var(--ink); }

.orgs-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
}

.orgs-filter {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: none;
  border: 1px solid var(--rule-strong);
  padding: 7px 16px;
  border-radius: 2px;
  transition: all var(--dur-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

.orgs-dual {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}

.orgs-divider-v {
  background: var(--rule-strong);
  position: relative;
}

.orgs-divider-v::before {
  content: 'EL VELO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  background: var(--ink);
  padding: 8px 4px;
  white-space: nowrap;
}

.orgs-panel {
  padding: 0 40px;
}

.orgs-panel:first-child { padding-left: 0; }
.orgs-panel:last-child  { padding-right: 0; }

.orgs-panel-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.panel-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.panel-desc {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-top: 4px;
}

.org-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  transition: background var(--dur-fast);
  position: relative;
}

.org-item:last-child { border-bottom: none; }

.org-item:hover .org-item-name { color: var(--amber); }

.org-logo {
  width: 48px; height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-mid);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}

.org-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.org-item-badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.org-item-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--dur-fast);
}

.org-item-motto {
  font-size: 12px;
  color: var(--white-dim);
  font-style: italic;
}

.org-item-desc {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.55;
  margin-top: 4px;
}

.org-action {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 6px 12px;
  border-radius: 2px;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.org-action:hover {
  background: var(--amber);
  color: var(--ink);
}

.org-action.disabled {
  color: var(--white-dim);
  border-color: var(--rule-strong);
  pointer-events: none;
  opacity: 0.5;
}


.resources-section { background: var(--ink-deep); }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}

.resource-item {
  background: var(--ink-deep);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--dur-mid);
  position: relative;
  overflow: hidden;
}

.resource-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease);
}

.resource-item:hover { background: var(--ink-mid); }
.resource-item:hover::before { transform: scaleX(1); }

.resource-icon {
  width: 36px; height: 36px;
  color: var(--amber);
}

.resource-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.resource-desc {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  flex: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  transition: gap var(--dur-fast);
}

.resource-link:hover { gap: 10px; }

.news-section { background: var(--ink); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 48px;
}

.news-featured {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}

.news-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  font-family: var(--font-mono);
  font-size: 11px;
}

.news-featured-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--ink-mid);
}

.news-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.news-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.news-excerpt {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.65;
}

.news-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  margin-top: 4px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: opacity var(--dur-fast);
}

.news-list-item:hover { opacity: 0.75; }
.news-list-item:last-child { border-bottom: none; }

.news-list-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  padding-top: 3px;
}

.news-list-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-list-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--white-dim);
}


.store-section { background: var(--ink-deep); }

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.store-nav {
  display: flex;
  gap: 4px;
  background: var(--ink);
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.store-tab {
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 2px;
  transition: all var(--dur-fast);
}

.store-tab:hover {
  color: var(--white);
}

.store-tab.active {
  background: var(--surface-hi);
  color: var(--white);
  border-bottom: 2px solid var(--amber);
}

@media (max-width: 768px) {
  .store-header { flex-direction: column; align-items: flex-start; }
  .store-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .store-tab { text-align: center; }
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}

.store-item {
  background: var(--ink-deep);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--dur-mid);
}

.store-item:hover { background: var(--surface); }

.store-item-img {
  width: 64px; height: 64px;
  object-fit: contain;
  border-radius: 4px;
}

.store-item-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.store-item-price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.store-item-desc {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  flex: 1;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 10px 18px;
  border: none;
  border-radius: 2px;
  align-self: flex-start;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.store-btn:hover {
  background: #f0b030;
  transform: translateY(-1px);
}


.team-section { background: var(--ink); }

.team-header-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.team-card {
  background: var(--ink);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background var(--dur-mid);
  position: relative;
}

.team-card:hover { background: var(--ink-mid); }

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
}

.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.team-clearance {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 3px 7px;
  border-radius: 2px;
}

.team-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.team-username {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 0.05em;
}

.team-role {
  font-size: 12px;
  color: var(--white-dim);
}

.staff-section { background: var(--ink-deep); }

.staff-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  color: inherit;
  text-align: left;
}

.staff-toggle-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.staff-toggle-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.staff-toggle-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.staff-toggle-icon {
  color: var(--white-dim);
  transition: transform var(--dur-mid) var(--ease);
  flex-shrink: 0;
}

.staff-toggle.open .staff-toggle-icon { transform: rotate(180deg); }

.staff-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms var(--ease);
}

.staff-collapse.open {
  max-height: 1000px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 20px;
}

.staff-card {
  background: var(--ink-deep);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--dur-fast);
}

.staff-card:hover { background: var(--ink-mid); }

.staff-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--rule-strong);
}

.staff-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.staff-info { display: flex; flex-direction: column; gap: 2px; }

.staff-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.staff-username {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--white-dim);
}

.staff-role {
  font-size: 11px;
  color: var(--amber);
}


.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--rule);
  padding: 64px var(--px) 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: 36px; height: 36px;
  object-fit: contain;
  opacity: 0.8;
}

.footer-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--white-dim);
  transition: color var(--dur-fast);
}

.footer-link:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  color: var(--white-dim);
  transition: all var(--dur-fast);
}

.social-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0.5;
}


.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,9,10,0.85);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  background: var(--ink-mid);
  border: 1px solid var(--rule-strong);
  max-width: 480px;
  width: 100%;
  padding: 40px;
  transform: translateY(16px);
  transition: transform var(--dur-slow) var(--ease);
}

.modal.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 18px;
  padding: 4px 8px;
  transition: color var(--dur-fast);
  font-family: var(--font-mono);
}

.modal-close:hover { color: var(--white); }

.modal-img {
  width: 72px; height: 72px;
  object-fit: contain;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-price {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 24px;
}

.modal-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.modal-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
}

.modal-benefits li::before {
  content: '—';
  color: var(--amber);
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.modal-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 13px 24px;
  border-radius: 2px;
  border: none;
  transition: background var(--dur-fast);
}

.modal-cta:hover { background: #f0b030; }


.float-support {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--white-dim);
  background: var(--ink-mid);
  border: 1px solid var(--rule-strong);
  padding: 10px 16px;
  border-radius: 3px;
  transition: all var(--dur-mid);
  backdrop-filter: blur(8px);
}

.float-support:hover {
  color: var(--white);
  border-color: var(--amber);
}


.reveal-el {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal-el.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}


@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .orgs-dual {
    grid-template-columns: 1fr;
  }
  .orgs-divider-v {
    display: none;
  }
  .orgs-panel { padding: 0; }
  .orgs-panel:not(:first-child) { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 600px) {
  .about-pillars { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-header-layout { flex-direction: column; align-items: flex-start; }
}
