:root {
  color-scheme: light;
  --navy: #082742;
  --navy-dark: #061d32;
  --navy-deep: #041525;
  --blue: #0b4770;
  --red: #e1063c;
  --red-dark: #b9072f;
  --white: #ffffff;
  --mist: #e8eef4;
  --mist-2: #f4f7fa;
  --text: #07375f;
  --muted: #506578;
  --line: #d8e1ea;
  --shadow: 0 18px 44px rgba(4, 21, 37, 0.18);
  --max: 1220px;
  --radius: 8px;
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-scrolled .site-header {
  box-shadow: 0 10px 30px rgba(4, 21, 37, 0.22);
}

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

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(28px, 6vw, 72px);
  color: var(--white);
  background: var(--navy-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: max-content;
}

.brand-logo {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(4, 21, 37, 0.28));
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 20px;
  font-weight: 800;
}

.brand em {
  margin-top: 3px;
  color: #ff315f;
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.header-cta,
.button.red {
  color: var(--white);
  background: var(--red);
}

.header-cta:hover,
.button.red:hover {
  background: var(--red-dark);
}

.button.light {
  width: 100%;
  color: var(--text);
  background: var(--white);
}

.button.light:hover {
  background: var(--mist-2);
}

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background: url("assets/freedom-hero-main-street.jpg") center / cover no-repeat;
  filter: saturate(0.92) contrast(0.94);
  transform: scale(1.02);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(4, 21, 37, 0.9) 0%, rgba(8, 39, 66, 0.78) 44%, rgba(8, 39, 66, 0.2) 75%, rgba(4, 21, 37, 0.16) 100%),
    linear-gradient(180deg, rgba(4, 21, 37, 0.18) 0%, rgba(4, 21, 37, 0.38) 100%);
}

.hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 670px);
  align-items: center;
  gap: 0;
  min-height: calc(100svh - 88px);
  padding: 46px 0 54px;
}

.hero-copy {
  max-width: 670px;
}

.script-line,
.script-heading,
.signature {
  font-family: var(--script);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.script-line {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 66px;
}

h1 {
  color: var(--white);
  font-size: 70px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  overflow: visible;
}

.hero-title-text {
  position: relative;
  display: block;
  color: var(--white);
  overflow: visible;
  text-shadow: 0 8px 16px rgba(4, 21, 37, 0.28);
}

.hero-title-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(100% + 0.18em);
  overflow: visible;
  background:
    repeating-linear-gradient(
      108deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 24%,
      rgba(225, 6, 60, 0.96) 38%,
      rgba(255, 255, 255, 0.98) 50%,
      rgba(44, 125, 240, 0.96) 62%,
      rgba(255, 255, 255, 0) 76%,
      rgba(255, 255, 255, 0) 100%
    );
  background-size: 420px 100%;
  background-position: 0 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-title-sheen 4.8s linear infinite;
  pointer-events: none;
}

@keyframes hero-title-sheen {
  0% {
    background-position: 0 50%;
  }

  100% {
    background-position: 420px 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-text::after {
    animation: none;
    background-position: 52% 50%;
  }
}

.hero-lede {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 500;
}

.brief-form {
  max-width: 610px;
  margin-top: 34px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.brief-form label {
  display: block;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 3px;
  outline: 0;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brief-form textarea {
  min-height: 82px;
  margin-top: 14px;
  margin-bottom: 18px;
  resize: vertical;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.3);
}

.form-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.formats-section {
  background: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 92px;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.media-tile {
  position: relative;
}

.media-tile img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-tile img {
  aspect-ratio: 16 / 10;
}

.copy-block {
  max-width: 570px;
}

.script-heading {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 50px;
}

.copy-block h2,
.sprint-copy h2 {
  color: var(--text);
  font-size: 46px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.copy-block h2 {
  color: var(--red);
}

.copy-block > p:not(.script-heading) {
  margin-top: 20px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
}

.copy-block .button {
  margin-top: 32px;
}

.quote-band {
  padding: 94px 0 90px;
  text-align: center;
  background: var(--mist);
}

.narrow {
  max-width: 1040px;
}

.quote-mark {
  height: 80px;
  color: var(--red);
  font-size: 164px;
  line-height: 0.8;
  font-weight: 800;
}

blockquote {
  color: var(--text);
  font-size: 35px;
  line-height: 1.6;
  font-weight: 500;
}

blockquote strong {
  font-weight: 800;
}

.signature {
  margin: 28px 0 30px;
  color: var(--red);
  font-size: 46px;
}

.formats-section {
  padding: 124px 0;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.format-list span {
  padding: 9px 12px;
  color: var(--text);
  background: var(--mist-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
}

.sprint-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 430px;
  background: var(--navy);
}

.sprint-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 610px);
  margin-left: max(32px, calc((100vw - var(--max)) / 2));
  padding: 70px 56px 70px 0;
  color: var(--white);
}

.sprint-copy h2,
.sprint-copy .script-line {
  color: var(--white);
}

.sprint-copy .script-line {
  font-size: 52px;
}

.sprint-copy p:not(.script-line) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.sprint-copy .button {
  width: max-content;
  margin-top: 30px;
}

.sprint-image {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(8, 39, 66, 0.16), rgba(8, 39, 66, 0)),
    url("assets/freedom-sprint-studio.jpg") center / cover no-repeat;
}

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

.footer-main {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--text);
}

.footer-brand {
  color: var(--text);
}

.footer-main .brand-logo {
  filter:
    drop-shadow(0 0 1px rgba(4, 21, 37, 0.92))
    drop-shadow(0 5px 10px rgba(4, 21, 37, 0.24));
}

.footer-strip {
  padding: 20px 24px;
  color: var(--white);
  text-align: center;
  background: var(--red);
}

.footer-strip p {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}

.footer-strip a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 28px;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding-top: 56px;
  }

  .sprint-copy {
    margin-left: 32px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 74px;
    padding: 12px 18px;
  }

  .brand-logo {
    width: 53px;
    height: 53px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand em {
    font-size: 15px;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-image: url("assets/freedom-hero-main-street-mobile.jpg");
    background-position: 58% top;
  }

  .hero-inner,
  .section-inner,
  .footer-main {
    width: min(100% - 34px, var(--max));
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 0 48px;
  }

  .script-line {
    font-size: 44px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.65;
  }

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

  .formats-section {
    padding: 76px 0;
  }

  .two-column,
  .two-column.reverse {
    gap: 42px;
  }

  .script-heading {
    font-size: 42px;
  }

  .copy-block h2,
  .sprint-copy h2 {
    font-size: 34px;
  }

  .copy-block > p:not(.script-heading) {
    font-size: 16px;
    line-height: 1.72;
  }

  .quote-band {
    padding: 70px 0;
  }

  .quote-mark {
    height: 56px;
    font-size: 116px;
  }

  blockquote {
    font-size: 24px;
    line-height: 1.55;
  }

  .signature {
    font-size: 36px;
  }

  .sprint-section {
    grid-template-columns: 1fr;
  }

  .sprint-copy {
    width: auto;
    margin: 0;
    padding: 72px 24px;
  }

  .sprint-image {
    min-height: 260px;
  }

  .footer-main {
    width: min(100% - 48px, var(--max));
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

}

@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;
  }
}
