@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.75rem;
    border: 1px solid var(--ink);
    border-radius: 2px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .btn:hover,
  .btn:focus-visible {
    background: var(--petrol);
    border-color: var(--petrol);
  }

  .btn-ghost {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
  }

  .btn-ghost:hover,
  .btn-ghost:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }

  .btn-on-dark {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
  }

  .btn-on-dark:hover,
  .btn-on-dark:focus-visible {
    background: var(--petrol);
    border-color: var(--petrol);
    color: var(--white);
  }

  .page-head {
    padding-block: clamp(2.75rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid var(--hairline);
  }

  .page-head-title {
    max-width: 20ch;
  }

  .page-head-lede {
    margin-top: 1.5rem;
  }

  .intro {
    position: relative;
    padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem);
    overflow: hidden;
  }

  .intro-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
  }

  .intro-copy {
    grid-column: span 12;
  }

  .intro-title {
    max-width: 16ch;
  }

  .intro-title-line {
    display: block;
  }

  .intro-title-line--accent {
    color: var(--petrol);
  }

  .intro-lede {
    margin-top: 1.75rem;
  }

  .intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
  }

  .intro-stage {
    position: relative;
    grid-column: span 12;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 2px;
    background: var(--ink);
    --spot-x: 50%;
    --spot-y: 45%;
  }

  .intro-stage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.55) brightness(0.62) contrast(1.05);
  }

  .intro-stage-veil {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 16rem at var(--spot-x) var(--spot-y), transparent 0%, transparent 35%, rgba(18, 20, 23, 0.72) 78%);
    mix-blend-mode: normal;
  }

  .intro-stage-tag {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 0.5rem 0.9rem;
    background: var(--white);
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .no-js .intro-stage-img,
  .reduced-motion .intro-stage-img {
    filter: grayscale(0.15) brightness(0.94) contrast(1.02);
  }

  .no-js .intro-stage-veil,
  .reduced-motion .intro-stage-veil {
    background: linear-gradient(180deg, rgba(18, 20, 23, 0.05) 0%, rgba(18, 20, 23, 0.4) 100%);
  }

  @media (min-width: 64rem) {
    .intro-copy {
      grid-column: span 7;
    }

    .intro-stage {
      grid-column: span 5;
      aspect-ratio: 4 / 5;
    }
  }

  .marquee-band {
    overflow: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: var(--white);
  }

  .marquee-track {
    display: flex;
    width: max-content;
    padding-block: 0.95rem;
    animation: marquee-scroll 38s linear infinite;
  }

  .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-inline: 1.5rem;
    color: var(--grey);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .marquee-item::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    background: var(--petrol);
    transform: skewX(-14deg);
  }

  @keyframes marquee-scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  .reduced-motion .marquee-track {
    animation: none;
  }

  .section {
    padding-block: 5rem;
  }

  .section-head {
    max-width: 42rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
  }

  .section-head-kicker {
    margin-bottom: 1rem;
  }

  .section--tight {
    padding-block: 3.5rem;
  }

  .section--roomy {
    padding-block: clamp(5rem, 11vw, 8.5rem);
  }

  .section--inverted {
    background: var(--ink);
    color: var(--white);
  }

  .section--inverted .lede {
    color: hsl(0 0% 82%);
  }

  .section--petrol {
    background: var(--petrol-deep);
    color: var(--white);
  }

  .section--petrol .lede {
    color: hsl(0 0% 88%);
  }

  .program-row {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .program-row + .program-row {
    margin-top: clamp(3.5rem, 8vw, 6rem);
  }

  .program-row-media {
    overflow: hidden;
    border-radius: 2px;
  }

  .program-row-media img {
    width: 100%;
  }

  .program-row-copy p {
    margin-top: 0.75rem;
    max-width: 52ch;
    color: var(--grey);
  }

  .program-row-link {
    display: inline-block;
    margin-top: 1.1rem;
    border-bottom: 1px solid var(--petrol);
    color: var(--ink);
    text-decoration: none;
  }

  @media (min-width: 56rem) {
    .program-row {
      flex-direction: row;
      align-items: center;
      gap: clamp(2.5rem, 5vw, 4rem);
    }

    .program-row-media {
      flex: 1 1 56%;
    }

    .program-row-copy {
      flex: 1 1 40%;
    }

    .program-row--reverse {
      flex-direction: row-reverse;
    }
  }

  .section-cta {
    max-width: 40rem;
  }

  .section-cta .lede {
    margin-top: 1.25rem;
  }

  .section-cta .intro-actions {
    margin-top: 2rem;
  }

  .quote-wall {
    display: grid;
    gap: 2.5rem;
  }

  .quote-wall-item {
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
  }

  .quote-wall-item--dark {
    border-top-color: hsl(0 0% 100% / 0.25);
  }

  .quote-wall-mark {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    margin-bottom: 1.25rem;
    background: var(--petrol);
    transform: skewX(-14deg);
  }

  .quote-wall-text {
    max-width: 34ch;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
  }

  .quote-wall-cite {
    display: block;
    margin-top: 1.25rem;
    color: var(--grey);
    font-size: 0.875rem;
    font-style: normal;
  }

  .section--inverted .quote-wall-cite {
    color: hsl(0 0% 72%);
  }

  @media (min-width: 48rem) {
    .quote-wall {
      grid-template-columns: repeat(12, 1fr);
    }

    .quote-wall-item:nth-child(1) {
      grid-column: 1 / span 5;
    }

    .quote-wall-item:nth-child(2) {
      grid-column: 7 / span 6;
      margin-top: 3.5rem;
    }

    .quote-wall-item:nth-child(3) {
      grid-column: 2 / span 5;
      margin-top: -1.5rem;
    }
  }

  .form-panel {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
  }

  .form-card {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border: 1px solid var(--hairline);
    border-radius: 2px;
  }

  .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .form-label {
    font-size: 0.875rem;
    font-weight: 600;
  }

  .form-input {
    padding: 0.85rem 1rem;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: var(--white);
    font-size: 1rem;
  }

  .form-input:focus-visible {
    outline: 2px solid var(--petrol);
    outline-offset: 1px;
  }

  .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    font-size: 0.875rem;
  }

  .form-consent-input {
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    accent-color: var(--petrol);
  }

  .form-consent-text a {
    color: var(--petrol);
  }

  .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .form-status {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
  }

  .form-status[data-state="ok"] {
    color: var(--petrol);
  }

  .form-status[data-state="error"] {
    color: hsl(6 62% 42%);
  }

  .contact-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-fact-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--grey);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .contact-fact-value {
    font-size: 1.0625rem;
  }

  .contact-fact-value a {
    color: var(--ink);
    text-decoration-color: var(--petrol);
  }

  .notice-cookies {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 400;
    display: none;
    max-width: 26rem;
    padding: 1.5rem;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: var(--white);
    box-shadow: 0 1.25rem 2.5rem hsl(216 12% 8% / 0.14);
  }

  .notice-cookies.is-visible {
    display: block;
  }

  .notice-cookies-text {
    margin-bottom: 1.25rem;
    color: var(--grey);
    font-size: 0.875rem;
  }

  .notice-cookies-text a {
    color: var(--petrol);
  }

  .notice-cookies-actions {
    display: flex;
    gap: 0.75rem;
  }

  .notice-cookies-actions .btn {
    flex: 1;
    justify-content: center;
    padding-inline: 1rem;
    font-size: 0.875rem;
  }

  @media (min-width: 30rem) {
    .notice-cookies {
      left: 1.5rem;
      right: auto;
      bottom: 1.5rem;
    }
  }

  .legal-body h2 {
    margin-top: 2.75rem;
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  }

  .legal-body h2:first-child {
    margin-top: 0;
  }

  .legal-body p {
    margin-top: 0.9rem;
    max-width: 68ch;
    color: var(--grey);
  }

  .legal-body address {
    margin-top: 0.9rem;
    font-style: normal;
    color: var(--grey);
  }

  .compare-table {
    margin-top: 1rem;
    font-size: 0.9375rem;
  }

  .compare-table caption {
    margin-bottom: 1rem;
    text-align: left;
    color: var(--grey);
    font-size: 0.875rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--hairline);
    text-align: left;
  }

  .compare-table th {
    color: var(--grey);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .status-panel {
    padding: clamp(3.5rem, 10vw, 7rem) 0;
    text-align: center;
  }

  .status-panel-code {
    color: var(--petrol);
    font-family: var(--font-display);
    font-size: clamp(4rem, 3rem + 5vw, 7rem);
    font-weight: 600;
  }
}
