:root {
  --strip-height: 40px;
  --bg: #fff7ef;
  --paper: #ffffff;
  --ink: #111a2d;
  --muted: #4e5d78;
  --fdp-blue: #00539f;
  --fdp-blue-dark: #003867;
  --fdp-magenta: #e4007d;
  --mint: #14b874;
  --sun: #ffd644;
  --line: rgba(17, 26, 45, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow: 0 26px 52px rgba(14, 28, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 10%, rgba(255, 214, 68, 0.24), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(228, 0, 125, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #f4f8ff 56%, #ffffff 100%);
  line-height: 1.6;
}

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

.container {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

main [id] {
  scroll-margin-top: 108px;
}

.campaign-strip {
  background: linear-gradient(90deg, var(--fdp-blue-dark), var(--fdp-blue) 52%, var(--fdp-magenta));
  color: #fff;
}

.campaign-strip-inner {
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.campaign-strip-inner span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.1rem 0.44rem;
}

.site-header {
  position: fixed;
  top: var(--strip-height);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 247, 239, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(17, 30, 56, 0.1);
}

.nav-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.9;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}

.site-header.is-scrolled .logo {
  color: var(--ink);
  text-shadow: none;
}

.main-nav {
  display: flex;
  gap: 0.3rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 0.56rem 0.88rem;
  font-size: 0.94rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.site-header.is-scrolled .main-nav a {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
  text-shadow: none;
}

.main-nav a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--fdp-blue), var(--fdp-magenta));
}

.menu-toggle {
  display: none;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0.5rem 0.82rem;
  font-size: 0.71rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: linear-gradient(125deg, var(--fdp-blue), var(--fdp-magenta));
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: min(88vh, 900px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 30, 0.72) 0%, rgba(12, 18, 30, 0.4) 45%, rgba(12, 18, 30, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 83, 159, 0.18), rgba(228, 0, 125, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 11.2rem 0 3rem;
  color: #fff;
  max-width: 1060px;
}

.hero-layout {
  display: block;
}

.hero-text {
  max-width: 760px;
}

.hero h1 {
  margin: 0.65rem 0 0.95rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.6rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 span {
  color: #ffffff;
  text-shadow: 0 0 0 transparent;
  background: linear-gradient(90deg, #7fd3ff, #ffd0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero-portrait {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(11, 18, 32, 0.55);
  box-shadow: 0 20px 32px rgba(7, 16, 31, 0.32);
  transform: translateY(18px);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait p {
  margin: 0;
  padding: 0.55rem 0.7rem;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(0, 83, 159, 0.75), rgba(228, 0, 125, 0.72));
}

.btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fdp-blue), #2f7bc3 52%, var(--fdp-magenta));
  color: #fff;
  padding: 0.66rem 1rem;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 22px rgba(0, 83, 159, 0.3);
}

.content-grid {
  position: relative;
  padding: 1rem 0 1.8rem;
}

.content-grid::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, 0.92) 70%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.content-grid .container {
  display: grid;
  gap: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
}

.rounded-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.rounded-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fdp-blue), var(--mint), var(--fdp-magenta));
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.rounded-card.is-visible::before {
  transform: scaleX(1);
}

.rounded-card.is-visible {
  border-color: rgba(0, 83, 159, 0.22);
  box-shadow: 0 30px 58px rgba(14, 28, 58, 0.16);
}

.rounded-card + .rounded-card {
  margin-top: 1.2rem;
}

.content-grid .rounded-card:nth-child(odd) {
  margin-right: 7%;
}

.content-grid .rounded-card:nth-child(even) {
  margin-left: 7%;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.split-card.reverse {
  grid-template-columns: 1fr minmax(280px, 420px);
}

.split-card.reverse .card-image {
  order: 2;
}

.split-card.reverse .card-copy {
  order: 1;
}

.card-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image.portrait {
  min-height: 360px;
}

.card-copy {
  padding: 0.2rem;
}

.eyebrow {
  margin: 0;
  color: var(--fdp-blue);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h2,
h3 {
  margin-top: 0;
  font-family: "Syne", sans-serif;
}

h2 {
  margin: 0.46rem 0 0.72rem;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  line-height: 1.03;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.36rem;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
}

.card-copy p + p {
  margin-top: 0.66rem;
}

.stack-list {
  display: grid;
  gap: 0.44rem;
}

.stack-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.7rem;
}

.stack-item span {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fdp-magenta);
}

.plain-points {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.plain-points li {
  margin-bottom: 0.3rem;
  font-weight: 700;
}

blockquote {
  margin: 0.8rem 0 0;
  border-left: 4px solid var(--fdp-blue);
  padding-left: 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.news-mini-list {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.25rem;
  max-height: 15.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.news-link {
  display: block;
  min-height: 3.4rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 83, 159, 0.4);
  box-shadow: 0 10px 20px rgba(17, 30, 56, 0.08);
}

.news-mini-list strong {
  color: var(--fdp-blue);
}

.news-mini-list::-webkit-scrollbar {
  width: 8px;
}

.news-mini-list::-webkit-scrollbar-track {
  background: rgba(17, 26, 45, 0.08);
  border-radius: 999px;
}

.news-mini-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--fdp-blue), var(--fdp-magenta));
  border-radius: 999px;
}

.press-intro {
  margin-top: 0.2rem;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.press-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.press-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 83, 159, 0.4);
  box-shadow: 0 12px 22px rgba(17, 30, 56, 0.1);
}

.press-content {
  padding: 0.75rem;
}

.press-date {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fdp-blue);
}

.press-content h3 {
  margin: 0.34rem 0 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.press-source {
  display: inline-block;
  margin-top: 0.52rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fdp-magenta);
}

.blog-page {
  min-height: 100vh;
}

.blog-main {
  padding: 7.8rem 0 2rem;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.blog-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.blog-content {
  padding: 1.3rem 1.2rem;
}

.blog-date {
  margin: 0 0 0.35rem;
  color: var(--fdp-blue);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.blog-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
}

.blog-list li {
  margin-bottom: 0.36rem;
}

.blog-cta {
  margin-top: 1.05rem;
  font-weight: 800;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.contact-inline .btn {
  margin-top: 0;
}

.contact-social {
  display: flex;
  gap: 0.36rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.75rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  margin-bottom: 0.5rem;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--fdp-blue);
}

.stage-footer {
  margin: 0 auto 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 1rem;
}

.stage-footer p {
  margin: 0;
  color: #677486;
  font-size: 0.74rem;
}

.stage-footer p + p {
  margin-top: 0.24rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.content-grid .rounded-card.reveal:nth-child(odd) {
  transform: translateX(-26px) translateY(18px) scale(0.985);
}

.content-grid .rounded-card.reveal:nth-child(even) {
  transform: translateX(26px) translateY(18px) scale(0.985);
}

.content-grid .rounded-card.reveal.is-visible {
  transform: translateX(0) translateY(0) scale(1);
}

.content-grid .rounded-card.reveal:nth-child(1) {
  transition-delay: 0.04s;
}

.content-grid .rounded-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.content-grid .rounded-card.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.content-grid .rounded-card.reveal:nth-child(4) {
  transition-delay: 0.22s;
}

.content-grid .rounded-card.reveal:nth-child(5) {
  transition-delay: 0.28s;
}

.content-grid .rounded-card.reveal:nth-child(6) {
  transition-delay: 0.34s;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    z-index: 80;
    top: calc(var(--strip-height) + 90px);
    left: 0.6rem;
    right: 0.6rem;
    background: linear-gradient(150deg, #101722, #1d2a3b);
    border: 1px solid #334156;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    gap: 0.26rem;
    flex-direction: column;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .site-header.is-scrolled + .mobile-menu {
    top: 90px;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid #334156;
    border-radius: 10px;
    padding: 0.56rem;
    min-height: 48px;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-portrait {
    width: min(280px, 58vw);
    transform: translateY(0);
  }

  .split-card,
  .split-card.reverse,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .split-card.reverse .card-image,
  .split-card.reverse .card-copy {
    order: initial;
  }

  .content-grid .rounded-card:nth-child(odd),
  .content-grid .rounded-card:nth-child(even) {
    margin-left: 1.6rem;
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --strip-height: 58px;
  }

  .container {
    width: min(1240px, calc(100% - 1rem));
  }

  main [id] {
    scroll-margin-top: 96px;
  }

  .campaign-strip-inner {
    flex-direction: column;
    gap: 0.12rem;
    text-align: center;
    padding: 0.32rem 0;
    font-size: 0.63rem;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-content {
    padding: 9.6rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 3.8rem);
  }

  .hero-portrait {
    width: min(220px, 62vw);
  }

  .rounded-card,
  .stage-footer {
    border-radius: 24px;
    padding: 0.78rem;
  }

  .content-grid::before {
    top: -26px;
    height: 60px;
  }

  .content-grid .rounded-card:nth-child(odd),
  .content-grid .rounded-card:nth-child(even) {
    margin-left: 0;
  }

  .card-image {
    min-height: 250px;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
