/* =========================================================
   Momentum Legal
   ========================================================= */

:root {
  --ml-navy: #00467F;
  --ml-blue: #009DDC;
  --ml-sky: #5BCDFB;
  --ml-black: #000000;
  --ml-white: #FFFFFF;
}


/* =========================================================
   Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--ml-black);
  background: var(--ml-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-weight: 700;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--ml-navy);
  border-bottom: 0;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

  transition:
    box-shadow 0.25s ease;
}

.header-inner {
  width: 100%;
  min-height: 88px;

  transition:
    min-height 0.25s ease;
}

.site-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;

  transition:
    width 0.25s ease;
}

.header-link {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--ml-white);
  text-decoration: none;
  letter-spacing: 0.02em;

  transition:
    color 0.2s ease;
}

.header-link:hover,
.header-link:focus {
  color: var(--ml-sky);
}


/* Header after scrolling */

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
}

.site-header.is-scrolled .site-logo {
  width: 130px;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;

  min-height: 72vh;

  display: flex;
  align-items: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 70, 127, 0.82) 0%,
      rgba(0, 157, 220, 0.58) 55%,
      rgba(91, 205, 251, 0.22) 100%
    );
}

.hero-content {
  max-width: 760px;
  padding: 5rem 0;
  color: var(--ml-white);
}

.hero h1 {
  margin-bottom: 1.25rem;

  font-size: clamp(2.5rem, 6vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 2rem;

  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
}


/* =========================================================
   Buttons
   ========================================================= */

.btn-momentum {
  padding: 0.9rem 1.5rem;

  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 600;

  color: var(--ml-white);
  background: var(--ml-blue);
  border-color: var(--ml-blue);

  border-radius: 999px;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-momentum:hover,
.btn-momentum:focus {
  color: var(--ml-white);
  background: var(--ml-navy);
  border-color: var(--ml-navy);
}


/* =========================================================
   Content
   ========================================================= */

.section {
  padding: 5rem 0;
}

.bio-photo {
  display: block;
  width: 100%;
  height: auto;
}

.bio-copy h2 {
  margin-bottom: 1.5rem;

  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;

  color: var(--ml-navy);
}

.bio-copy p {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.bio-copy ul {
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.bio-copy li {
  margin-bottom: 0.2rem;
  line-height: 1.45;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  color: var(--ml-white);
  background: var(--ml-navy);
}

.footer-inner {
  min-height: 96px;
}

.site-footer a {
  color: var(--ml-white);
  text-decoration: none;

  transition:
    color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--ml-sky);
}


/* =========================================================
   Tablet / Mobile
   ========================================================= */

@media (max-width: 991.98px) {

  /*
   * background-attachment: fixed is unreliable on iOS
   * and many mobile browsers.
   */
  .hero {
    background-attachment: scroll;
  }
}


@media (max-width: 767.98px) {

  /* Header */

  .header-inner {
    min-height: 74px;
  }

  .site-logo {
    width: 145px;
  }

  .site-header.is-scrolled .header-inner {
    min-height: 56px;
  }

  .site-header.is-scrolled .site-logo {
    width: 110px;
  }


  /* Hero */

  .hero {
    min-height: 62vh;
    background-position: center;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 70, 127, 0.82) 0%,
        rgba(0, 157, 220, 0.58) 100%
      );
  }

  .hero-content {
    padding: 4rem 0;
  }


  /* Content */

  .section {
    padding: 3.5rem 0;
  }

  .bio-photo {
    margin-bottom: 2rem;
  }


  /* Footer */

  .footer-inner {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}