@media (max-width: 1100px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero,
  .timeline,
  .parliament,
  .follow,
  footer {
    width: 100vw;
    max-width: 100vw;
  }

  .container {
    max-width: calc(100% - 40px);
  }

  .hero {
    height: 800px;
    isolation: isolate;
    background-color: #07569a;
    background-image: url("assets/image-5.jpeg");
    background-repeat: no-repeat;
    background-position: calc(50% + 157px) -6px;
    background-size: auto 490px;
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
      to right,
      #000 0,
      #000 12%,
      transparent 30%,
      transparent 70%,
      #000 88%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 0,
      #000 12%,
      transparent 30%,
      transparent 70%,
      #000 88%,
      #000 100%
    );
    background:
      linear-gradient(32deg, transparent 0 48%, rgba(35, 137, 211, 0.22) 49% 69%, transparent 70%) left -28px top 88px / 210px 175px no-repeat,
      linear-gradient(145deg, transparent 0 47%, rgba(35, 137, 211, 0.2) 48% 68%, transparent 69%) right -35px top 42px / 225px 190px no-repeat,
      linear-gradient(42deg, transparent 0 46%, rgba(35, 137, 211, 0.2) 47% 67%, transparent 68%) right -32px top 245px / 205px 175px no-repeat,
      linear-gradient(138deg, transparent 0 48%, rgba(35, 137, 211, 0.16) 49% 68%, transparent 69%) left -45px top 285px / 190px 160px no-repeat;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 285px;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(7, 86, 154, 0),
      #07569a 120px,
      #07569a 100%
    );
  }

  .topbar {
    position: relative;
    z-index: 3;
    height: 92px;
  }

  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .nav-inner .logo {
    width: 145px;
    height: auto;
  }

  .nav-right {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 18px;
  }

  .top-socials {
    display: none;
  }

  .contact-link {
    font-size: 15px;
  }

  .contact-link::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .hero-copy {
    position: absolute;
    z-index: 2;
    top: 420px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: calc(100% - 40px);
    max-width: 540px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .hero-copy .eyebrow-line {
    order: 2;
    width: 90px;
    margin: 0 auto 22px;
  }

  .hero-name {
    order: 1;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 3.8px;
  }

  .hero h1 {
    order: 3;
    margin-bottom: 22px;
    font-size: 39px;
    line-height: 1.02;
    letter-spacing: -1.7px;
  }

  .hero h1 span {
    font-size: 45px;
  }

  .hero-description {
    order: 4;
    width: min(100%, 540px);
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.4;
  }

  .section-label {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-label span {
    order: 2;
  }

  .about,
  .timeline,
  .parliament,
  .public-data,
  .follow,
  footer {
    text-align: center;
    height: auto;
  }

  .about {
    padding: 58px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-grid > .portrait {
    grid-row: 1;
    order: -1;
    margin-bottom: 10px;
  }

  .about-grid > div {
    grid-row: 2;
  }

  .body-copy,
  .parliament-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .body-copy {
    font-size: 16px;
  }

  .portrait {
    width: 100%;
    height: 430px;
    max-width: 470px;
    margin-right: auto;
    margin-left: auto;
  }

  .timeline-grid,
  .action-grid {
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
  }

  .timeline {
    padding: 58px 0;
  }

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

  .milestone,
  .milestone.short {
    height: auto;
    min-height: 250px;
  }

  .parliament {
    padding: 58px 0;
  }

  .parliament-intro {
    width: 100%;
    font-size: 16px;
  }

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

  .action-grid article {
    height: auto;
    min-height: 223px;
  }

  .public-data {
    padding: 58px 0;
  }

  .milestone-icon,
  .action-grid article > img,
  .action-symbol {
    margin-right: auto;
    margin-left: auto;
  }

  .milestone h4,
  .milestone p {
    max-width: none;
  }

  .data-item,
  .data-item:first-child {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: auto;
    min-height: 112px;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid #d7e7f3;
    text-align: center;
  }

  .data-item:first-child {
    border-top: 0;
  }

  .data-item p {
    text-align: center;
  }

  .follow-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .social-card {
    justify-content: center;
    text-align: left;
  }

  .footer-inner {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  footer {
    padding: 35px 0;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    height: 750px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero h1 span {
    font-size: 40px;
  }

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

  .about h2,
  .timeline h2,
  .parliament h2,
  .public-data h2,
  .follow h2 {
    font-size: 28px;
  }

  .timeline h2 {
    font-size: 26px;
    white-space: nowrap;
  }

  .footer-inner {
    align-items: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (min-width: 1101px) and (max-width: 1249px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero,
  .timeline,
  .parliament,
  .public-data,
  .follow,
  footer {
    width: 100%;
    max-width: 100%;
  }

  .container {
    width: auto;
    max-width: calc(100% - 48px);
  }

  .hero-copy {
    padding-left: 51%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero h1 span {
    font-size: 64px;
  }

  .hero-name {
    font-size: 17px;
    letter-spacing: 6px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.9fr);
    gap: 40px;
  }

  .portrait {
    width: 100%;
  }

  .timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .milestone {
    padding-right: 26px;
    padding-left: 26px;
  }

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

  .data-item,
  .data-item:first-child {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .data-item strong {
    white-space: normal;
  }

  .follow-inner {
    grid-template-columns: minmax(0, 1fr) 240px 280px;
    gap: 32px;
  }
}
