:root {
  --bg: #0a0a0a;
  --surface: #171717;
  --surface-2: #101010;
  --text: #f7f5ef;
  --muted: #c7c4bc;
  --accent: #ffd400;
  --ink: #0a0a0a;
  --border: #686862;
  --content: 1200px;
  --text-max: 720px;
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.55; }
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p, dd { overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px; background: var(--accent); color: var(--ink); font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: var(--ink); outline: 3px solid var(--text); }
.shell { width: min(100% - 40px, var(--content)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--border); background: rgba(10, 10, 10, 0.94); backdrop-filter: blur(10px); }
.header-layout { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 1.55rem; letter-spacing: 0.025em; text-decoration: none; white-space: nowrap; }
.brand span { padding: 1px 7px; background: var(--accent); color: var(--ink); }
.brand-mark { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 18px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.94rem; font-weight: 800; text-decoration: none; }
.nav-state { margin-left: 5px; color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.nav-cta { padding: 8px 13px; background: var(--accent); color: var(--ink); }
.nav-cta:hover { color: var(--ink); background: var(--text); }

.hero, .poster-hero { position: relative; isolation: isolate; }
.hero { min-height: min(760px, 78vh); padding-block: clamp(68px, 9vw, 124px) clamp(38px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.hero-watermark { position: absolute; right: clamp(0px, 5vw, 72px); top: clamp(40px, 9vw, 100px); z-index: -1; width: clamp(150px, 26vw, 330px); opacity: 0.08; filter: grayscale(1); pointer-events: none; }
.eyebrow, .status-label { margin: 0 0 18px; color: var(--accent); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-weight: 900; line-height: 0.96; letter-spacing: 0.005em; }
h1 { max-width: 1050px; margin-bottom: 24px; font-size: clamp(3rem, 6.8vw, 5.5rem); text-transform: uppercase; }
h1 span { color: var(--accent); }
h2 { max-width: 900px; margin-bottom: 28px; font-size: clamp(2.05rem, 4.5vw, 3.85rem); text-transform: uppercase; }
h3 { margin-bottom: 14px; font-size: clamp(1.45rem, 2.7vw, 2.15rem); }
.hero-copy, .section-lead, .section-content > p { max-width: var(--text-max); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero-copy { max-width: 54ch; margin: 0 0 30px; }
.link-row { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 900; }
.accent-link { padding: 11px 17px; background: var(--accent); color: var(--ink); text-decoration-color: var(--ink); }
.accent-link:hover { color: var(--ink); background: var(--text); }
.accent-link:focus-visible { outline-color: var(--text); }
.quick-facts { display: grid; grid-template-columns: 0.9fr 0.9fr 1.4fr; margin: clamp(42px, 7vw, 76px) 0 0; border-block: 2px solid var(--text); }
.quick-facts div { padding: 18px 22px; border-right: 1px solid var(--border); }
.quick-facts div:last-child { border-right: 0; }
.quick-facts dt { color: var(--accent); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.1em; }
.quick-facts dd { margin: 5px 0 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: clamp(1.28rem, 2.4vw, 2rem); line-height: 1.05; }

.section { padding-block: clamp(76px, 9vw, 116px); border-top: 1px solid var(--border); }
.priority-section { border-top: 2px solid var(--text); }
.split { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: 48px; }
.section-marker { align-self: start; display: flex; gap: 12px; padding-top: 8px; border-top: 3px solid var(--accent); color: var(--accent); font-weight: 900; letter-spacing: 0.08em; }
.section-marker p { margin: 0; }
.section-content p { margin-top: 0; }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr); gap: 40px; align-items: end; }
.section-heading-row p { color: var(--muted); margin: 0 0 34px; }
.note { max-width: var(--text-max); margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 1rem; }

.training { padding-block: clamp(72px, 9vw, 118px); background: var(--surface); border-block: 2px solid var(--border); }
.training-layout { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: 48px; }
.training h2 { margin-bottom: 20px; }
.fact-strip { display: grid; grid-template-columns: 1.15fr 1fr 0.85fr; margin: 44px 0 20px; border-block: 2px solid var(--text); }
.fact-strip div { padding: 24px; border-right: 1px solid var(--border); }
.fact-strip div:last-child { border-right: 0; }
.fact-strip dt { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.1em; }
.fact-strip dd { margin: 9px 0 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: clamp(1.45rem, 2.7vw, 2.35rem); line-height: 1.08; }
.fact-strip dd span { color: var(--muted); }

.origin-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(280px, 5fr); gap: 36px; align-items: stretch; }
.purpose-card { padding: clamp(30px, 5vw, 48px); background: var(--accent); color: var(--ink); }
.purpose-card h3 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
.purpose-card p, .purpose-card .status-label { color: var(--ink); }
.purpose-card .status-label { margin-bottom: 18px; }

.community-copy { max-width: 850px; }
.community-gallery { display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: 1fr 1fr; gap: 20px; margin-top: 42px; }
.community-gallery figure { position: relative; min-height: 280px; margin: 0; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.community-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.18) contrast(1.04); }
.community-gallery .photo-large { grid-row: span 2; min-height: 620px; }
.community-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84)); color: var(--text); font-size: 0.95rem; font-weight: 800; }

.movement-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 46px 0 0; padding: 0; list-style: none; border: 1px solid var(--border); }
.movement-steps li { position: relative; min-height: 240px; padding: 24px; border-right: 1px solid var(--border); background: var(--surface-2); }
.movement-steps li:last-child { border-right: 0; }
.movement-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 28px; z-index: 2; color: var(--accent); font-weight: 900; }
.movement-steps span { color: var(--accent); font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 1.35rem; }
.movement-steps strong { display: block; margin: 34px 0 12px; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1; }
.movement-steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.ecosystem-grid article { min-height: 290px; padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.ecosystem-grid article p:last-child { color: var(--muted); }
.initiatives-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.initiative-card { display: flex; flex-direction: column; transition: background 160ms ease, border-color 160ms ease; }
.initiative-card:hover { background: #1f1f1f; }
.initiative-card.is-primary { background: var(--accent); color: var(--ink); }
.initiative-card.is-primary .status-label, .initiative-card.is-primary p { color: var(--ink); }
.initiative-card.is-primary .icon-badge { border-color: var(--ink); color: var(--ink); background: rgba(10, 10, 10, 0.05); }
.card-link { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.icon-badge { width: 52px; height: 52px; margin-bottom: 24px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--accent); color: var(--accent); background: rgba(255, 212, 0, 0.06); }
.ui-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge .ui-icon { width: 28px; height: 28px; }
h3 .ui-icon, .unavailable .ui-icon { margin-right: 10px; color: var(--accent); vertical-align: -0.12em; }

.door-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 42px; }
.door-grid article { padding: clamp(28px, 5vw, 48px); border: 2px solid var(--border); background: var(--surface-2); }
.door-grid p { max-width: 55ch; color: var(--muted); }
.status-banner { display: inline-block; margin: 0 0 28px; padding: 7px 12px; background: var(--accent); color: var(--ink); font-size: 0.85rem; font-weight: 900; letter-spacing: 0.1em; }
.final-cta { padding-block: clamp(72px, 9vw, 116px); background: var(--accent); color: var(--ink); }
.final-cta .eyebrow, .final-cta h2, .final-cta p { color: var(--ink); }
.final-cta-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 48px; align-items: end; }
.cta-schedule { margin: 0 0 24px; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: clamp(1.35rem, 2.5vw, 2.2rem); line-height: 1.08; }
.final-cta .accent-link { background: var(--ink); color: var(--text); text-decoration-color: var(--text); }
.final-cta .accent-link:hover { background: var(--text); color: var(--ink); }

.poster-main { max-width: 1000px; padding-block: clamp(64px, 9vw, 112px); }
.poster-hero { padding-bottom: clamp(64px, 9vw, 112px); border-bottom: 2px solid var(--border); }
.poster-hero h1 { max-width: 900px; }
.future-section { padding-block: clamp(64px, 9vw, 96px); }
.future-section > h2 { margin-top: 44px; }
.future-list { margin: 48px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--text); }
.future-list li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.future-list li > span { color: var(--accent); font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 1.5rem; }
.future-list h3 { margin-bottom: 10px; }
.future-list p { max-width: 65ch; margin: 0; color: var(--muted); }
.unavailable { margin: 0; padding: clamp(28px, 5vw, 48px); border: 3px solid var(--accent); background: var(--surface); }
.unavailable p:last-child { max-width: 30ch; margin: 0; font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; text-transform: uppercase; display: flex; align-items: flex-start; gap: 10px; }
.unavailable p:last-child .ui-icon { margin-top: 0.1em; margin-right: 0; }
.return-link { margin-top: 48px; }
.store-page .poster-hero::after { content: "RUA / CORNER / CULTURA"; display: block; margin-top: 48px; padding: 10px 0; border-block: 1px solid var(--border); color: var(--muted); font-weight: 800; letter-spacing: 0.12em; }

.site-footer { padding-block: 48px; border-top: 2px solid var(--border); background: var(--surface); }
.footer-layout { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-layout p { margin: 8px 0 0; color: var(--muted); }
.footer-brand { color: var(--text) !important; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1100px) {
  .movement-steps { grid-template-columns: repeat(3, 1fr); }
  .movement-steps li { border-bottom: 1px solid var(--border); }
  .movement-steps li:nth-child(3n) { border-right: 0; }
  .ecosystem-grid, .initiatives-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .header-layout { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  nav { justify-content: flex-start; gap: 2px 14px; }
  nav a { font-size: 0.92rem; }
  .split, .training-layout, .origin-grid, .section-heading-row, .final-cta-layout { grid-template-columns: 1fr; gap: 34px; }
  .quick-facts, .fact-strip { grid-template-columns: 1fr; }
  .quick-facts div, .fact-strip div { border-right: 0; border-bottom: 1px solid var(--border); }
  .quick-facts div:last-child, .fact-strip div:last-child { border-bottom: 0; }
  .community-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .community-gallery .photo-large { grid-row: auto; min-height: 420px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 40px, var(--content)); }
  .hero { min-height: 0; padding-top: 58px; }
  .hero-watermark { width: 190px; right: -28px; opacity: 0.06; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .ecosystem-grid, .initiatives-grid, .door-grid, .movement-steps { grid-template-columns: 1fr; }
  .movement-steps li { min-height: 0; border-right: 0; }
  .movement-steps li:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -18px; }
  .ecosystem-grid article { min-height: 0; }
  .future-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .community-gallery figure, .community-gallery .photo-large { min-height: 300px; }
  .footer-layout { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 29px; height: 29px; }
  .shell { width: min(100% - 32px, var(--content)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
