/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-dark: #1a1a2e;
  --c-accent: #e94560;
  --c-light: #f5f5f5;
  --c-dark-80: rgba(26,26,46,0.8);
  --c-dark-60: rgba(26,26,46,0.6);
  --c-accent-20: rgba(233,69,96,0.15);
  --c-accent-10: rgba(233,69,96,0.08);
  --c-white: #ffffff;
  --c-border: rgba(245,245,245,0.12);
  --c-card-bg: rgba(26,26,46,0.6);
  --radius: 28px;
  --radius-sm: 14px;
  --shadow: 0 8px 40px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
  --shadow-hover: 0 16px 60px rgba(233,69,96,0.2), 0 4px 16px rgba(0,0,0,0.3);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-dark);
  color: var(--c-light);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-light); }
ul { list-style: none; }

/* ===== Kinetic Typography Animations ===== */
@keyframes kineticSlideUp {
  from { opacity: 0; transform: translateY(40px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}

@keyframes kineticFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes typingCursor {
  0%, 100% { border-right-color: var(--c-accent); }
  50%       { border-right-color: transparent; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes staggerIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleReveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.04; }
  50%       { opacity: 0.08; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Wrapper ===== */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(26,26,46,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark:hover { background: var(--c-light); color: var(--c-dark); }
.brand-icon { font-size: 20px; font-weight: 800; }

/* ===== Hamburger ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger:hover span { background: var(--c-accent); }

/* ===== Fullscreen Menu ===== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  color: var(--c-light);
  font-size: 22px;
  cursor: pointer;
  padding: 8px 14px;
  min-height: 44px;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s;
}
.menu-close:hover { color: var(--c-accent); border-color: var(--c-accent); }

.menu-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.nav-a {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--c-light);
  padding: 12px 24px;
  display: block;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-a:hover { color: var(--c-accent); background: var(--c-accent-10); }

/* ===== Grid Background ===== */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,245,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,245,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* ===== Hero (Home) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-img-1 {
  width: 42%;
  height: 70%;
  top: 10%;
  left: 52%;
  box-shadow: var(--shadow);
  animation: scaleReveal 1.2s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-img-2 {
  width: 36%;
  height: 60%;
  top: 25%;
  left: 62%;
  box-shadow: var(--shadow);
  border: 3px solid var(--c-accent);
  animation: scaleReveal 1.4s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--c-dark) 45%, rgba(26,26,46,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: right;
  margin-left: auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: kineticFadeIn 0.8s 0.2s both;
}

.hero-h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-light);
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e94560 60%, #f5f5f5 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: kineticSlideUp 1s 0.35s both, gradientShift 6s ease-in-out infinite 1.35s;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,245,245,0.7);
  max-width: 500px;
  margin-left: auto;
  margin-bottom: 36px;
  animation: kineticFadeIn 0.8s 0.55s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  animation: kineticFadeIn 0.8s 0.7s both;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  min-height: 48px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(233,69,96,0.35);
}
.btn-primary:hover { background: #c73652; color: var(--c-white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,69,96,0.5); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--c-light);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  min-height: 48px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-10); }

/* ===== Sticky Bar ===== */
.sticky-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.sticky-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 48px;
}
.sticky-bar-inner::-webkit-scrollbar { display: none; }

.sticky-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,245,245,0.65);
  border-radius: 8px;
  white-space: nowrap;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}
.sticky-link:hover, .sticky-link--active { color: var(--c-accent); background: var(--c-accent-10); }

.sticky-current {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  white-space: nowrap;
}

/* ===== Page Hero (non-home) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: kineticFadeIn 0.7s 0.1s both;
}

.page-h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-light);
  margin-bottom: 16px;
  animation: kineticSlideUp 0.9s 0.2s both;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(245,245,245,0.65);
  max-width: 640px;
  animation: kineticFadeIn 0.7s 0.4s both;
}

/* ===== Main & Wrap ===== */
main { flex: 1; padding: 40px 0 80px; }

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

.wrap-wide { max-width: 1360px; }

.wrap-story,
.wrap-about,
.wrap-privacy {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ===== Content Section Structure (main > article.wrap > section > div) ===== */
.content-section {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: 40px;
  margin-bottom: 40px;
}

.page-article { width: 100%; }

/* ===== Prose ===== */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; font-weight: 700; color: var(--c-light); margin: 2rem 0 0.5rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; color: var(--c-light); margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1.2rem; color: rgba(245,245,245,0.82); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.4rem; color: rgba(245,245,245,0.82); }
.prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-light); }
.prose blockquote { border-left: 3px solid var(--c-accent); padding-left: 1rem; color: rgba(245,245,245,0.6); font-style: italic; margin: 1.5rem 0; }
.prose hr { border: none; border-top: 1px solid var(--c-border); margin: 2rem 0; }
.prose strong { color: var(--c-light); font-weight: 600; }
.prose code { background: rgba(233,69,96,0.12); color: var(--c-accent); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* hr after h2 styling */
hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 0.75rem 0 2rem;
}

.article-meta {
  margin-top: 2rem;
  font-size: 13px;
  color: rgba(245,245,245,0.4);
}
.article-meta time { color: rgba(245,245,245,0.55); }

/* ===== Section Title ===== */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-light);
  margin-bottom: 8px;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  backdrop-filter: blur(8px);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(233,69,96,0.3);
}

.card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}
.card h3 a { color: var(--c-light); }
.card h3 a:hover { color: var(--c-accent); }

.card-desc { font-size: 14px; color: rgba(245,245,245,0.6); margin-bottom: 14px; line-height: 1.6; }
.card-date { font-size: 12px; color: rgba(245,245,245,0.4); margin-bottom: 10px; }

.card-links {
  list-style: none;
  margin-bottom: 14px;
}
.card-links li { margin-bottom: 6px; }
.card-links a {
  font-size: 13px;
  color: rgba(245,245,245,0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-links a::before { content: '—'; color: var(--c-accent); font-size: 10px; }
.card-links a:hover { color: var(--c-accent); }

.card-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
}
.card-more:hover { color: var(--c-light); }

/* ===== Table (section page) ===== */
.section-table { margin-bottom: 40px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--c-border); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  background: rgba(233,69,96,0.12);
  color: var(--c-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-border);
}

tbody tr { border-bottom: 1px solid var(--c-border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(233,69,96,0.06); }
.tr-even { background: rgba(255,255,255,0.01); }
.tr-odd  { background: rgba(255,255,255,0.03); }

td { padding: 14px 16px; vertical-align: middle; }
.td-num { color: var(--c-accent); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; width: 48px; }
.td-title a { color: var(--c-light); font-weight: 500; }
.td-title a:hover { color: var(--c-accent); }
.td-desc { color: rgba(245,245,245,0.55); max-width: 300px; }
.td-date { color: rgba(245,245,245,0.4); font-size: 12px; white-space: nowrap; }

/* ===== Aside ===== */
.global-aside {
  grid-column: 2;
}

.aside-inner {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
  position: sticky;
  top: calc(var(--nav-h) + 56px);
}

.aside-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.aside-links { list-style: none; }
.aside-links li { margin-bottom: 8px; }
.aside-links a {
  font-size: 14px;
  color: rgba(245,245,245,0.7);
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.aside-links a:hover { color: var(--c-accent); background: var(--c-accent-10); }

.aside-more {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  text-align: center;
}
.aside-more:hover { color: var(--c-light); }

/* Aside standalone (home/tag) */
.wrap > .global-aside,
main > .global-aside {
  max-width: var(--max-w);
  margin: 0 auto 40px;
  padding: 0 24px;
  display: block;
}
main > .global-aside .aside-inner {
  position: static;
}

/* ===== Story Layout ===== */
.story-header { margin-bottom: 32px; }
.story-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-pill {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--c-accent-20);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-pill:hover { background: var(--c-accent); color: var(--c-white); }

.story-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-light);
  line-height: 1.15;
  margin-bottom: 14px;
  animation: kineticSlideUp 0.8s 0.1s both;
}

.story-desc {
  font-size: 1.05rem;
  color: rgba(245,245,245,0.65);
  max-width: 60ch;
  margin-bottom: 14px;
}

.story-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(245,245,245,0.45);
  flex-wrap: wrap;
}
.story-meta time { color: rgba(245,245,245,0.6); }

.story-hero-wrap {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.story-hero-img { width: 100%; max-height: 480px; object-fit: cover; }

.story-prose { max-width: 68ch; }

.story-footer {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

/* ===== About ===== */
.about-brand-display {
  margin-bottom: 32px;
  overflow: hidden;
}
.about-brand-text {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-accent), rgba(245,245,245,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  animation: kineticSlideUp 0.9s 0.15s both;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: rgba(10,10,22,0.95);
  border-top: 1px solid var(--c-border);
  padding: 0;
  margin-top: auto;
}

.footer-brand-row {
  padding: 40px 24px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

.footer-brand-giant {
  display: block;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 800;
  color: rgba(245,245,245,0.04);
  letter-spacing: -0.03em;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.footer-col strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 14px;
  color: rgba(245,245,245,0.5);
  line-height: 1.65;
}

.footer-col nav dl { display: flex; flex-direction: column; gap: 6px; }
.footer-col nav dt, .footer-col nav dd { margin: 0; }
.footer-col nav a {
  font-size: 14px;
  color: rgba(245,245,245,0.55);
  transition: color 0.2s;
  display: flex;
  min-height: 32px;
  align-items: center;
}
.footer-col nav a:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(245,245,245,0.3);
}

/* ===== Reveal Animation (Intersection Observer) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-kinetic] {
  animation: kineticSlideUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
}

/* Stagger for cards */
.cards-grid .card:nth-child(1) { transition-delay: 0.05s; }
.cards-grid .card:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.15s; }
.cards-grid .card:nth-child(4) { transition-delay: 0.2s; }
.cards-grid .card:nth-child(5) { transition-delay: 0.25s; }
.cards-grid .card:nth-child(6) { transition-delay: 0.3s; }

/* Stagger for table rows */
[data-reveal] tbody tr:nth-child(1) { animation-delay: 0.05s; }
[data-reveal] tbody tr:nth-child(2) { animation-delay: 0.1s; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .wrap-story,
  .wrap-about,
  .wrap-privacy {
    grid-template-columns: 1fr;
  }
  .global-aside { grid-column: 1; }
  .aside-inner { position: static; }
  .hero-img-1 { width: 52%; height: 55%; top: 15%; left: 46%; }
  .hero-img-2 { width: 42%; height: 48%; top: 35%; left: 56%; }
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand-giant { font-size: 2.5rem; }
  .hero-content { text-align: left; }
  .hero-cta { justify-content: flex-start; }
  .hero-desc { margin-left: 0; }
  .hero-img-1, .hero-img-2 { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(26,26,46,0.7) 0%, var(--c-dark) 80%); }
  .content-section { padding: 24px 18px; }
  .cards-grid { grid-template-columns: 1fr; }
  .sticky-bar-inner { gap: 0; }
  .page-hero { min-height: 30vh; padding-bottom: 40px; }
  .wrap-story, .wrap-about, .wrap-privacy { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .menu-nav ul { gap: 4px; }
  .nav-a { font-size: 1.1rem; padding: 10px 16px; min-height: 48px; }
  table { font-size: 13px; }
  td, thead th { padding: 10px 12px; }
  .td-desc { display: none; }
}

@media (max-width: 375px) {
  .hero-h1 { font-size: 2rem; }
  .page-h1 { font-size: 1.75rem; }
  .story-h1 { font-size: 1.5rem; }
}
