:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #607080;
  --line: #d9e1e6;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #087c78;
  --teal-dark: #075f5d;
  --coral: #d95f45;
  --gold: #d9a441;
  --blue: #305c9b;
  --shadow: 0 20px 60px rgba(21, 32, 43, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 12px 10px 16px;
  box-shadow: 0 10px 34px rgba(21, 32, 43, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.brand-copy {
  color: var(--ink);
  font-size: 0.98rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  border-radius: 8px;
  color: #304050;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #edf4f2;
  color: var(--teal-dark);
}

.main-nav a.is-active {
  background: #edf4f2;
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - 1160px) / 2)) 56px;
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.96) 0%, rgba(247, 250, 249, 0.83) 42%, rgba(247, 250, 249, 0.16) 100%),
    linear-gradient(0deg, rgba(21, 32, 43, 0.16), rgba(21, 32, 43, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 570px;
  color: #314454;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  padding: 12px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(8, 124, 120, 0.22);
}

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

.button-secondary {
  border-color: rgba(21, 32, 43, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(310px, 100%);
  align-self: end;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.4rem;
}

.quick-strip {
  display: grid;
  width: min(1160px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(21, 32, 43, 0.1);
}

.quick-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 22px;
}

.quick-strip article + article {
  border-left: 1px solid var(--line);
}

.quick-strip span {
  color: var(--coral);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.quick-strip p {
  margin: 0;
  color: #394b59;
  font-weight: 750;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.subpage-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 36px;
}

.subpage-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.subpage-hero p:last-child {
  max-width: 720px;
  color: #314454;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.dashboard-section {
  padding-bottom: 92px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dashboard-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(21, 32, 43, 0.06);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h3 {
  margin: 0;
  font-size: 1.2rem;
}

.panel-heading a {
  color: var(--teal-dark);
  font-weight: 900;
}

.compact-list,
.compact-ideas,
.compact-posts {
  grid-template-columns: 1fr;
}

.compact-list .news-card,
.compact-ideas .idea-public-card,
.compact-ideas .empty-state,
.compact-posts .post-card {
  padding: 18px;
}

.compact-list .news-card h3 {
  margin-top: 12px;
}

.compact-timeline article {
  grid-template-columns: 74px 1fr;
  padding: 14px;
}

.compact-documents .document-row {
  grid-template-columns: 48px 1fr;
}

.compact-documents .download {
  grid-column: 2;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.news-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page-grid {
  padding-bottom: 92px;
}

.page-timeline {
  padding-bottom: 92px;
}

.post-list {
  display: grid;
  gap: 18px;
  padding-bottom: 92px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(21, 32, 43, 0.06);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-meta time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.post-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.post-excerpt {
  color: #314454;
  font-size: 1.05rem;
  font-weight: 750;
}

.post-body {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
}

.post-body p {
  margin-bottom: 0;
}

.compact-posts {
  padding-bottom: 0;
}

.compact-posts .post-body {
  display: none;
}

.news-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(21, 32, 43, 0.06);
}

.news-card h3,
.team-card h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.news-card p,
.team-card p,
.timeline p {
  color: var(--muted);
}

.news-card time {
  color: #2f5960;
  font-size: 0.9rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 6px 10px;
}

.tag-coral {
  background: var(--coral);
}

.tag-teal {
  background: var(--teal);
}

.tag-gold {
  background: var(--gold);
  color: #2f2510;
}

.section-split {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 56px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.timeline time {
  color: var(--coral);
  font-weight: 900;
}

.timeline h3,
.timeline p {
  margin-bottom: 5px;
}

.documents-section {
  width: min(980px, calc(100% - 32px));
}

.documents-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
  transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.document-row:hover,
.document-row:focus-visible {
  border-color: rgba(8, 124, 120, 0.42);
  box-shadow: 0 12px 30px rgba(21, 32, 43, 0.08);
  transform: translateY(-1px);
}

.doc-icon {
  display: grid;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #fff0ea;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
}

.document-row strong,
.document-row small {
  display: block;
}

.document-row small {
  color: var(--muted);
}

.download {
  color: var(--teal);
  font-weight: 900;
}

.idea-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.idea-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.idea-form label {
  display: grid;
  gap: 8px;
  color: #314454;
  font-weight: 850;
}

.idea-form input,
.idea-form select,
.idea-form textarea {
  width: 100%;
  border: 1px solid #cbd7de;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.idea-form textarea {
  resize: vertical;
}

.idea-form input:focus,
.idea-form select:focus,
.idea-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 124, 120, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-footer p,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status[data-state="success"] {
  color: var(--teal-dark);
  font-weight: 850;
}

.form-status[data-state="error"] {
  color: #a33b2b;
  font-weight: 850;
}

.team-section {
  padding-bottom: 92px;
}

.team-card a {
  color: var(--blue);
  font-weight: 850;
}

.ideas-public-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.idea-public-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(21, 32, 43, 0.06);
}

.idea-public-message {
  margin: 16px 0 12px;
  color: #314454;
  font-weight: 700;
}

.idea-public-card small {
  display: block;
  color: var(--muted);
}

.idea-public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.idea-public-footer strong {
  color: var(--coral);
}

.member-card {
  position: relative;
  overflow: hidden;
}

.member-photo {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #edf4f2;
  color: var(--teal-dark);
  font-weight: 950;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 860px) {
  .site-header {
    align-items: center;
  }

  .brand-copy {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #edf4f2;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 126px;
  }

  h1 {
    max-width: 12ch;
  }

  .quick-strip,
  .news-grid,
  .ideas-public-list,
  .team-grid,
  .dashboard-grid,
  .section-split,
  .idea-section {
    grid-template-columns: 1fr;
  }

  .quick-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    display: block;
  }

  .document-row {
    grid-template-columns: 48px 1fr;
  }

  .download {
    grid-column: 2;
  }

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

@media (max-width: 520px) {
  .hero {
    min-height: 92vh;
    padding-bottom: 34px;
  }

  .hero-actions,
  .hero-actions .button,
  .form-footer .button {
    width: 100%;
  }

  .quick-strip {
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section {
    width: calc(100% - 28px);
    padding-top: 70px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }
}
