/* ============================================
   HLAS PÍSKU — design system
   ============================================ */

:root {
  /* Brand */
  --blue:        #1E4884;
  --blue-dark:   #14315B;
  --blue-deep:   #0E2447;
  --yellow:      #F2B847;
  --yellow-soft: #F8D58B;

  /* Neutrals — písková paleta */
  --sand:        #F7F4ED;
  --sand-2:      #EFEAE0;
  --paper:       #FBFAF6;
  --ink:         #181A24;
  --ink-soft:    #3A4254;
  --line:        #E4DFD2;

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,49,91,.06), 0 2px 8px rgba(20,49,91,.06);
  --shadow-md: 0 10px 30px -10px rgba(20,49,91,.18), 0 2px 6px rgba(20,49,91,.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--blue-dark);
  margin: 0 0 .4em;
}
.h2 em {
  font-style: italic;
  color: var(--yellow);
}
.h2--light, .h2--light em {
  color: var(--paper);
}
.h2--light em { color: var(--yellow); }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 12px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  margin-bottom: 24px;
}
.kicker--light {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: white; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--ghost:hover { background: var(--blue-dark); color: white; }
.btn--yellow { background: var(--yellow); color: var(--blue-deep); }
.btn--yellow:hover { background: var(--yellow-soft); }
.btn--outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn--block { width: 100%; justify-content: center; padding: 16px 24px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 62px;
  width: auto;
  display: block;
  transition: transform .3s ease;
}
.nav__brand:hover .nav__logo { transform: scale(1.03); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a:not(.nav__cta):after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav__links a:hover { color: var(--blue-dark); }
.nav__links a:hover:after { transform: scaleX(1); }
.nav__cta {
  background: var(--blue);
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--blue-dark); }

/* ============================================
   MOBILE TAB BAR
   ============================================ */
.tabbar {
  display: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(242,184,71,.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(30,72,132,.10), transparent 60%),
    var(--sand);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14,36,71,.72) 0%,
    rgba(14,36,71,.76) 50%,
    rgba(14,36,71,.84) 100%);
}
.hero--photo {
  background: var(--blue-deep);
}
.hero--photo .hero__eyebrow {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: var(--yellow);
}
.hero--photo .hero__title { color: var(--paper); }
.hero--photo .hero__lede { color: rgba(255,255,255,.85); }
.hero--photo .hero__meta { border-top-color: rgba(255,255,255,.2); }
.hero--photo .hero__metaItem strong { color: var(--yellow); }
.hero--photo .hero__metaItem span { color: rgba(255,255,255,.7); }
.hero--photo .hero__scroll { border-color: var(--yellow); }
.hero--photo .hero__scroll span { background: var(--yellow); }
.hero--photo .btn--ghost { color: var(--paper); border-color: rgba(255,255,255,.5); }
.hero--photo .btn--ghost:hover { background: var(--paper); color: var(--blue-deep); }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242,184,71,.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(242,184,71,.25); }
  50%     { box-shadow: 0 0 0 7px rgba(242,184,71,.08); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  margin: 0 0 28px;
}
.hero__title .ital {
  font-style: italic;
  color: var(--yellow);
  display: inline-block;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 640px;
  color: var(--ink-soft);
  margin: 0 0 38px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 70px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__metaItem strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--blue);
  margin-bottom: 4px;
}
.hero__metaItem span {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  display: block;
  width: 3px;
  height: 7px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown {
  background: var(--sand-2);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.countdown__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.countdown__text p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.countdown__grid {
  display: flex;
  gap: 14px;
}
.countdown__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  min-width: 76px;
}
.countdown__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
}
.countdown__item span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .countdown__inner { justify-content: center; text-align: center; }
  .countdown__grid { gap: 8px; }
  .countdown__item { min-width: 62px; padding: 10px 8px; }
  .countdown__item strong { font-size: 1.5rem; }
}

/* ============================================
   TICKER (běžící pás priorit)
   ============================================ */
.ticker {
  background: var(--blue);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--blue-dark);
  border-bottom: 1px solid var(--blue-dark);
  position: relative;
}
.ticker__track {
  display: flex;
  gap: 36px;
  align-items: center;
  white-space: nowrap;
  padding: 18px 0;
  animation: tickerScroll 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.01em;
}
.ticker__track span { padding: 0 6px; }
.ticker__track i {
  color: var(--yellow);
  font-style: normal;
  font-size: .8em;
  font-family: var(--sans);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ============================================
   STORY
   ============================================ */
.story {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.story__lead { padding-top: 2px; }
.story__lead em { font-style: italic; color: var(--yellow); }
.story__body p {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.story__values {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}
.story__values li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  font-size: 16px;
  color: var(--ink);
}
.story__values li span {
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   PROGRAM
   ============================================ */
.program {
  padding: clamp(80px, 10vw, 140px) 0;
}
.program__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.program__lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 8px;
}
.program__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--yellow);
  margin-bottom: 24px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--blue-dark);
  margin: 0 0 12px;
}
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
.card--feat {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.card--feat:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: .25;
}
.card--feat .card__num { color: var(--yellow); }
.card--feat h3 { color: var(--paper); position: relative; }
.card--feat p { color: rgba(255,255,255,.82); position: relative; }
.card--feat:hover { border-color: var(--yellow); }
.card__more {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--yellow);
  position: relative;
}

/* ============================================
   ACCORDION (program)
   ============================================ */
.program__preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.program__chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.program__chip:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.program__chip span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--yellow);
}
@media (max-width: 900px) {
  .program__preview { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .program__preview { grid-template-columns: repeat(2, 1fr); }
}
.accordion {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.accordion__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  user-select: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--yellow);
  flex-shrink: 0;
  width: 34px;
}
.accordion__title {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--blue-dark);
}
.accordion__chevron {
  width: 20px; height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.accordion__item[open] .accordion__chevron { transform: rotate(180deg); }
.accordion__item[open] summary { border-bottom: 1px solid var(--line); }
.accordion__body { padding: 6px 26px 26px 78px; }
.accordion__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.accordion__body li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.accordion__body li:before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
@media (max-width: 640px) {
  .accordion__item summary { padding: 18px; gap: 12px; }
  .accordion__body { padding: 4px 18px 20px 18px; }
  .accordion__title { font-size: 1.2rem; }
}

/* ============================================
   VOTING WIDGET
   ============================================ */
.voting {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--blue-deep);
  color: var(--paper);
}
.voting__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.voting__lede {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-top: 12px;
}
.voting__tabs { max-width: 900px; margin: 0 auto; }
.voting__radio { display: none; }
.voting__tabbar {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.voting__tabbtn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.25);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  color: rgba(255,255,255,.75);
}
.voting__tabbtn:hover { border-color: var(--yellow); }
#tab1:checked ~ .voting__tabbar label[for="tab1"],
#tab2:checked ~ .voting__tabbar label[for="tab2"] {
  background: var(--yellow);
  color: var(--blue-deep);
  border-color: var(--yellow);
}
.voting__panel { display: none; }
.voting__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
#tab1:checked ~ .voting__panels #panel1,
#tab2:checked ~ .voting__panels #panel2 {
  display: contents;
}
.voting__explain h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--yellow);
  margin: 0 0 14px;
  line-height: 1.3;
}
.voting__explain p {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  margin: 0;
}

.ballot {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.ballot__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 8px;
}
.ballot__row--party {
  font-weight: 700;
  color: var(--blue-dark);
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 14px;
}
.ballot__box {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.ballot__row.is-checked { background: rgba(242,184,71,.14); }
.ballot__names { display: grid; gap: 2px; }
.ballot__row--fade { color: var(--ink-soft); font-style: italic; font-size: 13px; padding-left: 34px; }

.voting__note {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.voting__note svg { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.voting__note p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }

@media (max-width: 780px) {
  .voting__panels { grid-template-columns: 1fr; }
  #tab1:checked ~ .voting__panels #panel1,
  #tab2:checked ~ .voting__panels #panel2 { display: block; }
}

/* ============================================
   QUOTE
   ============================================ */
.quote {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--blue-deep);
  color: var(--paper);
}
.quote__inner {
  max-width: 920px;
  text-align: center;
  position: relative;
}
.quote__mark {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 36px;
  opacity: .85;
  filter: brightness(0) invert(1);
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 28px;
  text-wrap: balance;
}
.quote blockquote footer {
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.team__head {
  max-width: 720px;
  margin: 0 0 64px;
}
.team__lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 8px;
  max-width: 560px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.member {
  text-align: left;
}
.member__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg,
      rgba(30,72,132,.06) 0 6px,
      rgba(30,72,132,.0) 6px 14px),
    linear-gradient(180deg, var(--sand-2), var(--sand));
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.member__photo:after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(251,250,246,.85);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.member__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  z-index: 1;
}
.team__more {
  margin-top: 48px;
  text-align: center;
}

/* Featured lead candidate (#1) */
.member--lead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
}
.member--lead .member__photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
}
.member--lead .member__initials { font-size: 5.5rem; }
.member--lead .member__leadInfo h3 {
  font-size: 2rem;
}
.member--lead .member__role {
  font-size: 14px;
  margin-bottom: 12px;
}
.member--lead .member__bio { font-size: 15px; }
.team__grid--row {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .member--lead { grid-template-columns: 200px 1fr; padding: 20px; gap: 20px; }
  .member--lead .member__initials { font-size: 3.5rem; }
  .member--lead .member__leadInfo h3 { font-size: 1.5rem; }
  .team__grid--row { grid-template-columns: repeat(2, 1fr); }
}
.member__initials {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--blue);
  opacity: .35;
  font-style: italic;
}
.member h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin: 0 0 4px;
  line-height: 1.15;
}
.member__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 10px;
}
.member__bio {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   NEWS
   ============================================ */
.news {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--sand);
}
.news__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.news__all {
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.news__all:hover { color: var(--yellow); border-color: var(--yellow); }

.news__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}
.post {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post--big .post__img { aspect-ratio: 16 / 9; }
.post__img {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg,
      rgba(30,72,132,.08) 0 8px,
      rgba(30,72,132,.0) 8px 18px),
    linear-gradient(180deg, var(--sand-2), var(--sand));
  border-bottom: 1px solid var(--line);
  position: relative;
}
.post__img:after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(251,250,246,.9);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.post__body { padding: 26px 26px 28px; }
.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--blue);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
}
.tag--yellow { background: var(--yellow); color: var(--blue-deep); }
.post h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--blue-dark);
  margin: 0 0 10px;
}
.post--big h3 { font-size: 1.9rem; }
.post p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   JOIN
   ============================================ */
.join {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--blue-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.join__watermark {
  position: absolute;
  bottom: -60px;
  right: -120px;
  width: 720px;
  max-width: 90%;
  opacity: .07;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
.join:before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 65%);
  opacity: .6;
}
.join:after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 60%);
  opacity: .12;
}
.join__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.join__text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 460px;
  margin: 0 0 32px;
}
.join__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.join__share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.join__shareBtn {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--paper);
  transition: background .2s ease, border-color .2s ease;
}
.join__shareBtn:hover { background: var(--yellow); color: var(--blue-deep); border-color: var(--yellow); }
.join__list { display: grid; gap: 14px; }
.join__row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease;
}
.join__row:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--yellow);
}
.join__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--yellow);
  line-height: 1;
}
.join__row strong {
  display: block;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 4px;
}
.join__row p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--sand);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
}
.contact__intro p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 460px;
}
.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact__list li:last-child { border-bottom: none; }
.contact__label {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.contact__list a {
  color: var(--ink);
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.contact__list a:hover { color: var(--blue); border-color: var(--yellow); }
.contact__socials { display: flex; flex-wrap: wrap; gap: 18px; }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--sand);
  transition: border-color .2s ease, background .2s ease;
  font-family: inherit;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
}
.form textarea { resize: vertical; min-height: 120px; }
.form__check {
  flex-direction: row !important;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
}
.form__check input { width: 16px; height: 16px; accent-color: var(--blue); margin-top: 2px; }
.form__check a { color: var(--blue); border-bottom: 1px solid var(--blue); }
.form__status {
  margin: 0;
  font-size: 14px;
  min-height: 20px;
  color: var(--blue);
  font-weight: 600;
}
.form__status.is-success { color: #1F8A5B; }
.form__status.is-error { color: #C0392B; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__brand p {
  max-width: 320px;
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.footer__logo {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 4px;
}
.footer__col h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--yellow);
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  padding: 6px 0;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ============================================
   ANIMATIONS — reveal
   ============================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .program__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .post--big { grid-column: 1 / -1; }
  .post--big .post__img { aspect-ratio: 21 / 9; }
  .join__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; gap: 24px; }
  .story__label { margin-bottom: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  .hero { padding-top: 48px; padding-bottom: 96px; }
  .hero__scroll { display: none; }
  .hero__meta { flex-direction: column; gap: 20px; }

  .program__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
  .footer__bottom span { line-height: 1.5; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }

  .tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(251,250,246,.98);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(20,49,91,.1);
  }
  .tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 2px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
  }
  .tabbar a span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tabbar a svg { width: 21px; height: 21px; }
  .tabbar a:active,
  .tabbar a:hover { color: var(--blue); background: var(--sand-2); }
  .tabbar__cta,
  .tabbar__cta:hover {
    color: var(--blue) !important;
  }
  .tabbar__cta svg { color: var(--yellow); }
  body { padding-bottom: 86px; }
  .nav__inner { padding-top: 12px; padding-bottom: 12px; }
  .nav__logo { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
