:root {
  --bg: #f6f2ea;
  --bg-deep: #f0e9dd;
  --panel: rgba(255, 251, 246, 0.84);
  --panel-strong: #ffffff;
  --ink: #132033;
  --ink-soft: #526178;
  --line: rgba(19, 32, 51, 0.1);
  --orange: #ff6b3d;
  --orange-deep: #dd552a;
  --mint: #d9f5ef;
  --blue: #102844;
  --cyan: #4ac0d9;
  --gold: #f2be54;
  --shadow: 0 28px 80px rgba(19, 32, 51, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 107, 61, 0.16), transparent 26%),
    radial-gradient(circle at 86% 7%, rgba(74, 192, 217, 0.14), transparent 22%),
    linear-gradient(180deg, #fbf7f0 0%, #f4ede2 48%, #efe8da 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.backdrop {
  position: fixed;
  inset: auto auto -140px -140px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 190, 84, 0.28), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.site-header,
.page,
.site-footer {
  width: min(1160px, calc(100vw - 28px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 10px 18px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 242, 234, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  padding: 4px 0 4px 6px;
}

.brand-logo {
  width: min(188px, 36vw);
  height: auto;
  flex: 0 0 auto;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
}

.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.08);
}

.nav-language {
  margin-left: auto;
  position: relative;
  padding-right: 8px;
}

.language-picker {
  position: relative;
}

.language-trigger,
.language-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(19, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.language-trigger {
  min-height: 42px;
  min-width: 170px;
  padding: 0 14px;
  justify-content: space-between;
}

.language-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(360px, 100vw);
  max-height: 320px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(19, 32, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.language-panel[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  justify-content: flex-start;
  font-weight: 700;
}

.language-option.is-selected {
  background: rgba(16, 40, 68, 0.92);
  border-color: rgba(16, 40, 68, 0.92);
  color: #fff8f1;
}

.language-flag {
  font-size: 1rem;
  line-height: 1;
}

.language-label {
  flex: 1 1 auto;
  text-align: left;
}

.language-caret {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
.button,
.site-nav a,
.chip,
.language-label {
  overflow-wrap: anywhere;
}

.page-hero > *,
.sub-hero > *,
.kit-grid > *,
.forms-grid > *,
.story-grid > *,
.photo-grid > *,
.about-grid > *,
.metrics-grid > * {
  min-width: 0;
}

.page {
  padding: 40px 0 0;
}

.page + .page {
  padding-top: 72px;
}

.page-hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.05;
}

.lede,
.section-heading > p:last-child,
.hero-card p,
.info-card p,
.story-card p,
.about-block p,
.metric-card p,
.submission-note,
.site-footer p,
.site-footer a,
.share-note,
.vote-meta,
.board-empty {
  color: var(--ink-soft);
  line-height: 1.65;
}

.lede {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.action-row,
.share-buttons,
.board-toolbar,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.vote-button:hover,
.vote-button:focus-visible,
.network-button:hover,
.network-button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 107, 61, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip,
.filter-chip,
.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual,
.hero-stack,
.manifesto-grid,
.story-grid,
.metrics-grid,
.about-grid,
.kit-grid,
.board-grid,
.forms-grid,
.photo-grid {
  display: grid;
  gap: 18px;
}

.hero-card,
.info-card,
.story-card,
.metric-card,
.about-block,
.kit-panel,
.share-panel,
.board-panel,
.participation-form,
.idea-card,
.callout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card,
.info-card,
.story-card,
.metric-card,
.about-block,
.kit-panel,
.share-panel,
.board-panel,
.participation-form,
.callout-card {
  padding: 24px;
}

.hero-card-dark {
  background:
    radial-gradient(circle at top right, rgba(74, 192, 217, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(16, 40, 68, 0.97), rgba(22, 58, 96, 0.95));
  color: #f8fbff;
}

.hero-card-dark p {
  color: rgba(248, 251, 255, 0.76);
}

.hero-card-dark .card-label {
  color: rgba(255, 255, 255, 0.72);
}

.hero-card-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 240, 230, 0.94));
}

.hero-card-accent {
  background: linear-gradient(135deg, rgba(255, 107, 61, 0.18), rgba(255, 255, 255, 0.86));
}

.hero-card-mint {
  background: linear-gradient(135deg, rgba(217, 245, 239, 0.9), rgba(255, 255, 255, 0.84));
}

.hero-card h2 {
  max-width: 10ch;
  margin-bottom: 12px;
}

.card-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-stack {
  grid-template-columns: 1fr;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 26px;
}

.manifesto-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.story-grid,
.metrics-grid,
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.index-pill {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 107, 61, 0.1);
  color: var(--orange-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.callout-page {
  padding-bottom: 42px;
}

.callout-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 40, 68, 0.96), rgba(255, 107, 61, 0.9));
  color: #fff;
}

.callout-card .eyebrow,
.callout-card p {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 48px 0 40px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--orange-deep);
  font-weight: 800;
}

.sub-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: start;
}

.badge-box {
  display: grid;
  gap: 12px;
}

.metric-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.about-quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--blue);
}

.contact-card {
  max-width: 760px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.1);
  color: var(--orange-deep);
  font-weight: 800;
}

.kit-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.poster-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 51, 0.08);
  background: #fff;
}

#poster-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.control-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(19, 32, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.share-panel {
  display: grid;
  gap: 20px;
}

.photo-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 40, 68, 0.05), rgba(16, 40, 68, 0.62)),
    linear-gradient(120deg, rgba(255, 107, 61, 0.22), transparent 42%);
}

.photo-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 1;
  padding: 18px;
  border-radius: 22px;
  background: rgba(16, 40, 68, 0.62);
  backdrop-filter: blur(14px);
  color: #fff8f1;
}

.photo-overlay .card-label {
  color: rgba(255, 248, 241, 0.76);
}

.photo-overlay h3 {
  max-width: 14ch;
}

.compact-photo-card {
  min-height: 280px;
}

.compact-photo-card img {
  min-height: 280px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.network-button,
.vote-button,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.network-button[data-network="linkedin"] {
  background: rgba(10, 102, 194, 0.12);
}

.network-button[data-network="facebook"] {
  background: rgba(24, 119, 242, 0.12);
}

.network-button[data-network="instagram"] {
  background: linear-gradient(135deg, rgba(255, 84, 129, 0.16), rgba(255, 190, 78, 0.18));
}

.network-button[data-network="tiktok"] {
  background: rgba(16, 40, 68, 0.12);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip.is-active {
  background: var(--blue);
  color: #fff;
}

.forms-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.participation-form {
  display: grid;
  gap: 14px;
}

.board-panel {
  padding: 24px;
}

.board-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.board-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.idea-card {
  padding: 18px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.idea-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.vote-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.vote-total {
  font-weight: 800;
  color: var(--blue);
}

.submit-feedback,
.share-feedback {
  min-height: 1.4rem;
  margin: 0;
  color: var(--orange-deep);
  font-weight: 700;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  max-width: 780px;
}

@media (max-width: 1040px) {
  .page-hero,
  .sub-hero,
  .kit-grid,
  .forms-grid,
  .callout-card {
    grid-template-columns: 1fr;
  }

  .manifesto-grid,
  .board-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 18px 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(172px, 46vw);
  }

  .nav-language {
    margin-left: 0;
  }

  .language-panel {
    left: 0;
    right: auto;
    width: min(360px, calc(100vw - 28px));
  }
}

@media (max-width: 760px) {
  .page {
    padding-top: 28px;
  }

  .page + .page {
    padding-top: 48px;
  }

  .manifesto-grid,
  .story-grid,
  .metrics-grid,
  .about-grid,
  .board-grid,
  .network-grid,
  .control-grid,
  .photo-grid,
  .photo-grid-duo {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .action-row,
  .share-buttons,
  .board-toolbar,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .network-button,
  .vote-button,
  .filter-chip {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .brand-logo {
    width: min(154px, 56vw);
  }

  .language-trigger,
  .language-option {
    width: 100%;
  }

  .language-trigger {
    min-width: 0;
  }

  .vote-row,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
