/* =========================================================================
   VIXION – Shared Stylesheet
   Used by: index.html, team.html, social.html, ueber-uns.html,
            impressum.html, datenschutz.html, partner.html
   ========================================================================= */

/* ===== Tokens & Reset ==================================================== */
:root {
  --bar-height: 84px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light theme (default) and dark theme, switched via [data-theme] on <html>
   — set as early as possible in <head> (before first paint) so the page
   never flashes the wrong theme. The floating header/footer/CTA panels are
   deliberately NOT themed here: they are a fixed dark bar and dark
   accent blocks in both themes, the same way a brand hero stays dark
   regardless of site theme. */
:root,
:root[data-theme="light"] {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f0f0f2;
  --chip-hover: #ebebf0;
  --text: #1d1d1f;
  --text-soft: #494949;
  --text-muted: #6e6e73;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --accent: #1d1d1f;
  --accent-contrast: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.08);
  --bg-word: rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] {
  --bg: #0d0d0f;
  --surface: #18181b;
  --surface-2: #202024;
  --chip-hover: #2a2a2f;
  --text: #f5f5f7;
  --text-soft: #c7c7cc;
  --text-muted: #9a9aa3;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #f5f5f7;
  --accent-contrast: #1d1d1f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.35), 0 20px 44px rgba(0, 0, 0, 0.5);
  --bg-word: rgba(255, 255, 255, 0.045);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Text', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}

/* ===== Header / Navigation (full-width bar, flush with the top) ==========
   Sits flat against the top edge — no floating inset, no rounded pill —
   like the VIXION Team-Portal's app header. It still doesn't sprout a
   separate dropdown card on mobile: the bar itself grows taller to reveal
   the stacked nav, driven by a real spring (see main.js), and collapses
   back the same way it opened (symmetric path in, path out). The bar
   stays a fixed dark glass panel in both site themes — only the theme
   toggle inside it (and the rest of the page) switches. */
header {
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  transition: background 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

header.scrolled {
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Heavier material while the bar is expanded — a bigger surface reads as thicker. */
header.menu-open {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.header-bar {
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-height);
  padding: 0 34px;
}

.header-actions { display: flex; align-items: center; gap: 22px; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo .wordmark { color: #fff; font-size: 30px; font-weight: 900; letter-spacing: 1px; font-style: italic; }
.logo .divider { width: 2px; height: 30px; background: #fff; }

/* VIXION mark — inline SVG (1:1 vector of the logo, no image file) */
.logo .site-logo { height: 26px; width: auto; display: block; color: #fff; fill: currentColor; }

.nav-desktop { display: flex; gap: 22px; flex-wrap: wrap; }
nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 590;
  font-size: 15.5px;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s var(--ease-spring), opacity 0.25s var(--ease-spring);
}
nav a:hover { border-color: rgba(255, 255, 255, 0.85); }
nav a.active { border-color: rgba(255, 255, 255, 0.85); }
nav a:active { opacity: 0.6; transition-duration: 0.1s; }

/* ----- Theme toggle (always visible, lives on the dark bar) ----- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease-spring), background 0.2s var(--ease-spring);
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.theme-toggle:active { transform: scale(0.9); transition-duration: 0.1s; }
.theme-toggle svg { width: 17px; height: 17px; display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ----- Hamburger toggle (mobile only) ----- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin: -8px -8px -8px 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s var(--ease-spring), background 0.2s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.menu-toggle:active { transform: scale(0.9); transition-duration: 0.1s; }
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

/* ----- Mobile nav (stacked list that grows inside the bar) ----- */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.nav-mobile a {
  display: block;
  padding: 14px 6px;
  font-size: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile a:first-child { border-top: none; }

/* ===== Buttons ============================================================ */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 38px;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease-spring), color 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring);
}
.btn:hover { background: var(--bg); color: var(--text); border-color: var(--border-strong); }
.btn:active { transform: scale(0.96); transition-duration: 0.1s; }
.btn.has-icon { display: inline-flex; align-items: center; gap: 10px; vertical-align: top; }
.social-link svg,
.btn .btn-ico { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Home: Hero ========================================================= */
.hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 100px 40px 80px; overflow: hidden; }
.hero .bg-word {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 22vw, 18rem);
  font-weight: 800; font-style: italic; letter-spacing: -0.02em;
  color: var(--bg-word);
  white-space: nowrap; pointer-events: none; user-select: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.subtitle { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; font-weight: 600; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 24px; }
.hero h1 em { font-weight: 200; font-style: italic; opacity: 0.55; }
.hero p { color: var(--text-soft); line-height: 1.7; font-size: 1.05rem; letter-spacing: -0.005em; max-width: 480px; margin: 0 auto; }

/* ===== Home: Sections (Grafik / Socials / Partner / Über uns) ============= */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  scroll-margin-top: calc(var(--bar-height) + 20px);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.section-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.section-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -0.01em; margin: 0; }

/* ----- Bento grid (Grafik) ----- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.bento .item {
  grid-column: span 2;
  padding: 28px 24px;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
  will-change: transform;
}
.bento .item.wide { grid-column: span 3; }
.bento .item:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.item-top { display: flex; justify-content: space-between; align-items: flex-start; }
.item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--surface-2); font-size: 1.05rem;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-spring);
}
.bento .item:hover .item-icon { transform: scale(1.08) rotate(-4deg); background: var(--chip-hover); }
.item-index { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.bento h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.01em; margin: 0 0 4px; }
.bento p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ----- Social bubbles (Socials) ----- */
.bubble-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.bubble {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
}
.bubble:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.bubble-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 15px;
  background: var(--surface-2); color: var(--text);
}
.bubble-icon svg { width: 24px; height: 24px; }
.bubble h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; margin: 4px 0 0; }
.bubble p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 4px; flex: 1; }
.bubble .social-link { padding: 12px 28px; font-size: 0.9rem; }

.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  background: var(--accent); color: var(--accent-contrast);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: opacity 0.3s var(--ease-spring), background 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
  flex-shrink: 0;
}
.social-link:hover { opacity: 0.75; }
.social-link:active { transform: scale(0.96); transition-duration: 0.1s; }

/* ----- Partner grid (Partner) ----- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.partner-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
}
a.partner-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.partner-mark {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--surface-2); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em;
}
.partner-card h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 4px; }
.partner-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.partner-card .partner-visit { margin-top: auto; font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
/* .is-cta stays a fixed dark accent panel in both themes, same as the footer/CTA. */
.partner-card.is-cta { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.partner-card.is-cta .partner-mark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.partner-card.is-cta p { color: rgba(255, 255, 255, 0.6); }
.partner-card.is-cta .partner-visit { color: #fff; }

/* ----- Split / quote (Über uns section on index) ----- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 40px; align-items: start; }
.split .big-quote {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.3;
  letter-spacing: -0.01em; padding-left: 20px; border-left: 2px solid var(--text);
}
.split p { color: var(--text-soft); line-height: 1.8; margin: 0; }

/* ----- CTA block (Zusammenarbeit) — fixed dark panel, both themes ----- */
.cta { max-width: 1200px; margin: 0 auto 100px; padding: 70px 60px; text-align: center; background: #1d1d1f; color: #fff; border-radius: 28px; }
.cta .section-label { color: rgba(255, 255, 255, 0.5); }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 300; margin: 0; }
.cta p { color: rgba(255, 255, 255, 0.7); max-width: 440px; margin: 16px auto 0; font-size: 0.95rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.cta .btn { margin-top: 0; background: #fff; color: #1d1d1f; border-color: #fff; }
.cta .btn:hover { background: transparent; color: #fff; }

/* ===== Legal pages (Impressum / Datenschutz) ============================= */
.legal { max-width: 900px; margin: 0 auto; padding: 70px 40px 90px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 32px;
  transition: color 0.3s var(--ease-spring);
}
.back-link:hover { color: var(--text); }
.legal-head { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 40px; }
.legal-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -0.01em; margin: 0; }
.legal h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text); margin: 36px 0 12px; }
.legal p { color: var(--text-soft); line-height: 1.8; margin-bottom: 16px; }
.legal a.inline { color: var(--text); text-decoration: underline; }

/* ===== Content pages (Team / Socials / Über uns / Partner) — shared shell = */
.page-hero { max-width: 1100px; margin: 0 auto; padding: 72px 40px 8px; }
.page-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.page-hero .lead { color: var(--text-soft); line-height: 1.7; font-size: 1.05rem; max-width: 560px; margin: 20px 0 0; }

.page { max-width: 1100px; margin: 0 auto; padding: 44px 40px 20px; }

.section-block { max-width: 1100px; margin: 0 auto; padding: 44px 40px 8px; }
.section-block h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 300; letter-spacing: -0.01em; margin: 0 0 22px; }

.note { max-width: 1100px; margin: 0 auto; padding: 14px 40px 0; font-size: 0.82rem; color: var(--text-muted); }

/* ----- Badges (e.g. "coming soon") ----- */
.badge-soon {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
}

/* ----- Team ----- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.member {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
}
.member:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.member-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2c2c2e, #1d1d1f);
  color: #fff; font-weight: 800; font-size: 1.1rem; font-style: italic;
}
.member h3 { font-size: 1.05rem; font-weight: 600; margin: 0; }
.member .role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin: -6px 0 0; }
.member p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }
/* .is-cta stays a fixed dark accent panel in both themes, same as the footer/CTA. */
.member.is-cta { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.member.is-cta .member-avatar { background: rgba(255, 255, 255, 0.12); }
.member.is-cta p { color: rgba(255, 255, 255, 0.6); }
.member.is-cta .badge-soon { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ----- Über uns ----- */
.about-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about-split .big-quote {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; line-height: 1.3;
  letter-spacing: -0.01em; padding-left: 20px; border-left: 2px solid var(--text); margin: 0;
}
.about-split p { color: var(--text-soft); line-height: 1.8; margin: 0 0 16px; }
.about-split p:last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.value {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
}
.value:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.value h3 { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.value p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

.steps { display: flex; flex-direction: column; gap: 2px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step .n { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.step h3 { font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ----- Socials & News ----- */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.channel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 28px 24px; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), background 0.3s var(--ease-spring);
}
.channel:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.channel-icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; background: var(--surface-2); color: var(--text);
}
.channel-icon svg { width: 22px; height: 22px; display: block; }
.channel h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.channel .handle { font-size: 0.8rem; color: var(--text-muted); margin: -6px 0 0; }
.channel p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin: 0; flex: 1; }
.channel a.go {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-contrast);
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}
.channel a.go:hover { opacity: 0.78; }
.channel a.go:active { transform: scale(0.96); }

.feed { display: flex; flex-direction: column; gap: 14px; }
.post {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px;
  padding: 22px 24px; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.post time { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.03em; }
.post h3 { font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.post p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.post .chan { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }

/* ===== Footer (shared on every page) — fixed dark panel, both themes ===== */
footer.site-footer {
  max-width: none;
  margin: 110px 0 0;
  padding: 0 0 40px;
  background: radial-gradient(ellipse 1200px 600px at 50% -10%, #2c2c2e, #1d1d1f 62%);
  color: #fff;
}
.footer-cta {
  max-width: 1200px; margin: 0 auto; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cta p { margin: 0; font-size: 1.35rem; font-weight: 300; letter-spacing: -0.01em; }
.footer-cta-btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  background: #fff; color: #1d1d1f; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}
.footer-cta-btn:hover { opacity: 0.82; }
.footer-cta-btn:active { transform: scale(0.96); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 64px 40px; display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-wordmark { font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: 1px; }
.footer-mark { height: 19px; width: auto; fill: #fff; display: block; }
.footer-tagline { color: rgba(255, 255, 255, 0.6); line-height: 1.7; font-size: 0.95rem; margin: 0 0 24px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
}
.footer-socials a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.16); }
.footer-socials svg { width: 20px; height: 20px; display: block; }
.footer-nav-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { margin: 0 0 6px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); font-weight: 700; }
.footer-col a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.92rem; transition: color 0.25s var(--ease-spring); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 26px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.site-footer .footer-copy { color: rgba(255, 255, 255, 0.45); font-size: 0.83rem; font-weight: 300; }
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.83rem; transition: color 0.25s var(--ease-spring); }
.footer-legal-links a:hover { color: #fff; }

/* ===== Scroll reveal (JS-driven; no-JS visitors see full content) ======== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring-soft), transform 0.7s var(--ease-spring-soft);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.bento .item.reveal:nth-child(2) { --reveal-delay: 0.06s; }
.bento .item.reveal:nth-child(3) { --reveal-delay: 0.12s; }
.bento .item.reveal:nth-child(4) { --reveal-delay: 0.18s; }
.bento .item.reveal:nth-child(5) { --reveal-delay: 0.24s; }
.bento .item.reveal:nth-child(6) { --reveal-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .bento .item:hover,
  .channel:hover,
  .member:hover,
  .value:hover,
  a.partner-card:hover,
  .btn:active,
  .social-link:active,
  nav a:active {
    transform: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  header { background: rgba(8, 8, 9, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  header.scrolled, header.menu-open { background: rgba(4, 4, 5, 0.99); }
}

/* ===== Responsive ========================================================= */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .item, .bento .item.wide { grid-column: span 1; }
  .split { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .header-bar { padding: 0 20px; height: 68px; }
  .header-actions { gap: 12px; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .nav-mobile { display: flex; }

  .hero { padding: 60px 24px 60px; }
  .section { padding: 56px 24px; }
  .cta { padding: 48px 24px; margin-bottom: 70px; }

  .legal { padding: 48px 24px 70px; }

  .page-hero { padding: 48px 24px 4px; }
  .page { padding: 32px 24px 16px; }
  .section-block { padding: 32px 24px 4px; }
  .note { padding-left: 24px; padding-right: 24px; }

  footer.site-footer { margin-top: 72px; }
  .footer-cta { padding: 36px 24px; }
  .footer-cta p { font-size: 1.15rem; }
  .footer-top { padding: 48px 24px; gap: 40px; }
  .footer-nav-cols { gap: 36px; }
  .footer-bottom { padding: 22px 24px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .post { grid-template-columns: 1fr; gap: 6px; }
}
