/* =============================================================
   political.bar — Stylesheet
   Blobitecture aesthetic, immersive-scroll, forest-green palette,
   Commissioner type, sci-fi-hud, lens-flare, friendly tone.
   ============================================================= */

/* -----------------------------
   Reset / base
----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.8;
  color: #E8F0E0;
  background: #1A3828;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* Palette as variables */
:root {
  --forest-deep: #1A3828;
  --canopy-green: #308050;
  --civic-amber: #D8A830;
  --bark-brown: #483828;
  --leaf-white: #E8F0E0;
  --hud-cyan: #40C8D0;
  --flare-gold: #F0D060;
  --content-max: 720px;
}

/* -----------------------------
   PUB DOOR (100vh)
----------------------------- */
.pub-door {
  position: relative;
  min-height: 100vh;
  background: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px 24px;
}

.hud-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hud-arc {
  position: absolute;
  width: 360px;
  height: 360px;
  opacity: 0.7;
}
.hud-arc-1 { top: 8%; right: 6%; }
.hud-arc-2 { bottom: 10%; left: 4%; width: 420px; height: 420px; opacity: 0.55; }
.hud-readout {
  position: absolute;
  width: 320px;
  height: 80px;
  bottom: 8%;
  right: 6%;
  opacity: 0.85;
}

.arc-draw {
  animation: arcDraw 1000ms ease-out 200ms forwards;
}
.arc-draw-delay {
  animation-delay: 600ms;
}
@keyframes arcDraw {
  to { stroke-dashoffset: 0; }
}

.lens-flare-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%) scale(0);
  animation: flarePulse 600ms cubic-bezier(0.2, 0.8, 0.4, 1) 400ms forwards;
  pointer-events: none;
  opacity: 0.65;
}
@keyframes flarePulse {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  60%  { transform: translate(-50%, -50%) scale(1.3); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.65; }
}

.door-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 2;
  animation: fadeUp 800ms ease-out 800ms both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.door-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--civic-amber);
  margin: 0 0 18px;
}
.door-title {
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  font-variation-settings: "FLAR" 100;
  transition: font-variation-settings 400ms ease;
}
.door-title:hover {
  font-variation-settings: "FLAR" -100;
}
.door-tagline {
  margin: 24px auto 0;
  max-width: 540px;
  color: rgba(232, 240, 224, 0.85);
}
.door-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  padding: 12px 22px;
  border: 1px solid rgba(64, 200, 208, 0.4);
  border-radius: 999px;
  background: rgba(26, 56, 40, 0.5);
  backdrop-filter: blur(4px);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 240, 224, 0.85);
}
.meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--canopy-green);
  box-shadow: 0 0 8px var(--canopy-green);
  animation: pulse 2s ease-in-out infinite;
}
.meta-dot-amber { background: var(--civic-amber); box-shadow: 0 0 8px var(--civic-amber); }
.meta-dot-cyan  { background: var(--hud-cyan); box-shadow: 0 0 8px var(--hud-cyan); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-indicator svg { width: 24px; height: 36px; }
.scroll-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(232, 240, 224, 0.6);
}
.scroll-dot {
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.4; }
}

/* -----------------------------
   DISCOURSE STREAM
----------------------------- */
.discourse-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 24px;
}

.blob-section {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  background: var(--forest-deep);
  padding: 64px clamp(28px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(64, 200, 208, 0.15);
  transition: border-color 400ms ease, box-shadow 400ms ease, transform 400ms ease;
  opacity: 0;
  transform: translateY(40px);
}
.blob-section.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 800ms ease, transform 800ms ease, border-color 400ms ease, box-shadow 400ms ease;
}
.blob-section:hover {
  border-color: rgba(48, 128, 80, 0.55);
  box-shadow: 0 0 0 1px rgba(48, 128, 80, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

/* Asymmetric blobitecture corners */
.blob-shape-1 { border-radius: 60% 40% 50% 45% / 50% 55% 40% 60%; }
.blob-shape-2 { border-radius: 40% 60% 55% 45% / 60% 40% 55% 45%; }
.blob-shape-3 { border-radius: 55% 45% 40% 60% / 45% 60% 50% 55%; }
.blob-shape-4 { border-radius: 45% 55% 60% 40% / 55% 45% 60% 40%; }
.blob-shape-5 { border-radius: 50% 50% 45% 55% / 60% 40% 50% 50%; }
.blob-shape-6 { border-radius: 60% 45% 55% 40% / 50% 55% 45% 60%; }
.blob-shape-7 { border-radius: 50% 50% 50% 50% / 60% 50% 60% 50%; }

.blob-canopy { background: var(--canopy-green); }
.blob-bark   { background: var(--bark-brown); }

.blob-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  z-index: 1;
}
.blob-inner-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--civic-amber);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(216, 168, 48, 0.4);
  border-radius: 999px;
}
.section-tag-center { margin-left: auto; margin-right: auto; }
.tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--civic-amber);
}
.tag-bullet-cyan  { background: var(--hud-cyan); }
.tag-bullet-amber { background: var(--civic-amber); }

.blob-title {
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  color: var(--leaf-white);
  font-variation-settings: "FLAR" 50;
  transition: font-variation-settings 400ms ease;
}
.blob-section:hover .blob-title {
  font-variation-settings: "FLAR" -50;
}
.blob-title-center { text-align: center; }

.blob-body {
  margin: 0 0 18px;
  color: rgba(232, 240, 224, 0.88);
  max-width: 620px;
}
.blob-body-center { margin-left: auto; margin-right: auto; }

.lens-burst {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -40px;
  right: -60px;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  z-index: 0;
}
.lens-burst-right { top: auto; bottom: -40px; right: -80px; }
.lens-burst-cta {
  position: absolute;
  width: 360px; height: 360px;
  top: -40px; left: 50%;
  transform: translateX(-50%) scale(0.7);
  opacity: 0.6;
}
.blob-section.in-view .lens-burst {
  animation: lensBurst 600ms cubic-bezier(0.2, 0.8, 0.4, 1) 400ms forwards;
}
@keyframes lensBurst {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 0.9; transform: scale(1.3); }
  100% { opacity: 0.7; transform: scale(1); }
}

/* -----------------------------
   HUD CARDS (section 02)
----------------------------- */
.hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.hud-card {
  padding: 24px 20px;
  background: rgba(26, 56, 40, 0.55);
  border: 1px solid rgba(64, 200, 208, 0.3);
  border-radius: 24px;
  text-align: center;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}
.hud-card:hover {
  transform: scale(1.03);
  border-color: rgba(64, 200, 208, 0.7);
  background: rgba(26, 56, 40, 0.75);
}
.hud-svg-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
}
.hud-svg-wrap svg { width: 100%; height: 100%; }
.hud-meter {
  transition: stroke-dashoffset 1200ms cubic-bezier(0.2, 0.8, 0.4, 1);
}
.hud-label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--civic-amber);
}
.hud-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(232, 240, 224, 0.7);
}

/* -----------------------------
   RULE LIST (section 03)
----------------------------- */
.rule-list {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}
.rule-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px 20px;
  border-left: 2px solid rgba(216, 168, 48, 0.5);
  border-radius: 0 24px 24px 0;
  background: rgba(48, 128, 80, 0.08);
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
}
.rule-item:hover {
  background: rgba(48, 128, 80, 0.18);
  border-left-color: var(--civic-amber);
  transform: translateX(6px);
}
.rule-num {
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 40px);
  color: var(--civic-amber);
  letter-spacing: -0.02em;
}
.rule-body h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--leaf-white);
}
.rule-body p {
  margin: 0;
  color: rgba(232, 240, 224, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

/* -----------------------------
   TAP LIST (section 04)
----------------------------- */
.tap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.tap-item {
  padding: 22px 22px 24px;
  background: rgba(26, 56, 40, 0.55);
  border: 1px solid rgba(216, 168, 48, 0.25);
  border-radius: 20px 28px 22px 26px;
  transition: border-color 300ms ease, transform 300ms ease, background 300ms ease;
}
.tap-item:hover {
  border-color: rgba(216, 168, 48, 0.7);
  transform: scale(1.02);
  background: rgba(26, 56, 40, 0.8);
}
.tap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.tap-tag { color: var(--hud-cyan); }
.tap-pour {
  color: var(--civic-amber);
  padding: 3px 10px;
  border: 1px solid rgba(216, 168, 48, 0.5);
  border-radius: 999px;
}
.tap-item h3 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--leaf-white);
  line-height: 1.35;
}
.spectrum {
  position: relative;
  height: 8px;
  margin-bottom: 8px;
}
.spectrum-track {
  position: absolute;
  inset: 0;
  background: rgba(232, 240, 224, 0.15);
  border-radius: 999px;
}
.spectrum-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--canopy-green), var(--civic-amber));
  border-radius: 999px;
  transition: width 1000ms cubic-bezier(0.2, 0.8, 0.4, 1);
}
.tap-item.in-view .spectrum-fill { width: var(--fill); }
.spectrum-marker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--civic-amber);
  border: 2px solid var(--leaf-white);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: left 1000ms cubic-bezier(0.2, 0.8, 0.4, 1), opacity 600ms ease 800ms;
  box-shadow: 0 0 8px var(--civic-amber);
}
.tap-item.in-view .spectrum-marker {
  left: var(--pos);
  opacity: 1;
}
.spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 240, 224, 0.65);
}

/* -----------------------------
   REGULARS (section 05)
----------------------------- */
.regular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.regular-card {
  padding: 26px 22px;
  background: rgba(48, 128, 80, 0.1);
  border: 1px solid rgba(64, 200, 208, 0.18);
  border-radius: 28px 22px 30px 24px;
  text-align: center;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}
.regular-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(64, 200, 208, 0.5);
  background: rgba(48, 128, 80, 0.18);
}
.regular-portrait {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
}
.regular-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--leaf-white);
}
.regular-role {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--civic-amber);
}
.regular-quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(232, 240, 224, 0.82);
  font-style: italic;
}

/* -----------------------------
   QUOTE BLOCK (section 06)
----------------------------- */
.quote-block {
  position: relative;
  margin: 32px 0 0;
  padding: 32px 28px 28px;
  background: rgba(26, 56, 40, 0.5);
  border-left: 3px solid var(--civic-amber);
  border-radius: 0 24px 24px 0;
}
.quote-mark {
  position: absolute;
  top: -8px;
  left: 12px;
  width: 60px;
  height: 60px;
}
.quote-block p {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--leaf-white);
}
.quote-cite {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--civic-amber) !important;
}

/* -----------------------------
   CTA (section 07)
----------------------------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  transition: transform 300ms ease, background 300ms ease, border-color 300ms ease, color 300ms ease;
  cursor: pointer;
}
.cta-primary {
  background: var(--civic-amber);
  color: var(--forest-deep);
  border: 1px solid var(--civic-amber);
}
.cta-primary svg { width: 16px; height: 16px; }
.cta-primary:hover {
  transform: scale(1.03);
  background: var(--flare-gold);
  border-color: var(--flare-gold);
  box-shadow: 0 0 24px rgba(240, 208, 96, 0.4);
}
.cta-secondary {
  background: transparent;
  color: var(--leaf-white);
  border: 1px solid rgba(232, 240, 224, 0.4);
}
.cta-secondary:hover {
  transform: scale(1.03);
  border-color: var(--hud-cyan);
  color: var(--hud-cyan);
}

/* -----------------------------
   LAST ORDERS (footer)
----------------------------- */
.last-orders {
  position: relative;
  margin-top: 48px;
  padding: 64px 24px 36px;
  background: var(--forest-deep);
  border-top: 1px solid rgba(64, 200, 208, 0.2);
  border-radius: 60% 40% 0 0 / 8% 8% 0 0;
}
.last-orders-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.footer-hud {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto 48px;
}
.footer-hud svg { width: 100%; height: auto; }
.lens-flare-footer {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0.6;
  animation: footerPulse 4s ease-in-out infinite;
}
@keyframes footerPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0.75; }
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(232, 240, 224, 0.12);
}
.footer-col p.footer-label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--civic-amber);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  font-size: 14px;
  color: rgba(232, 240, 224, 0.75);
  transition: color 200ms ease, padding-left 200ms ease;
}
.footer-col a:hover {
  color: var(--hud-cyan);
  padding-left: 6px;
}
.footer-base { text-align: center; }
.footer-mark {
  margin: 0 0 6px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--leaf-white);
  letter-spacing: -0.01em;
}
.footer-line {
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(232, 240, 224, 0.65);
  font-style: italic;
}
.footer-stamp {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(232, 240, 224, 0.5);
}

/* -----------------------------
   Reduced motion
----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .blob-section { opacity: 1; transform: none; }
}

/* -----------------------------
   Responsive
----------------------------- */
@media (max-width: 720px) {
  .hud-arc { width: 240px; height: 240px; }
  .hud-arc-2 { width: 280px; height: 280px; }
  .hud-readout { width: 240px; }
  .blob-section { padding: 48px 24px; }
  .rule-item { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 16px; }
  .blob-shape-1, .blob-shape-2, .blob-shape-3,
  .blob-shape-4, .blob-shape-5, .blob-shape-6,
  .blob-shape-7 {
    border-radius: 36px 28px 36px 28px;
  }
  .last-orders { border-radius: 36px 36px 0 0; }
}
