/* ==========================================================================
   Base — reset, typography, layout primitives, shared components (buttons)
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-ocean);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: var(--lh-snug);
  font-weight: var(--fw-bold);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-blue);
}

/* Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: calc(var(--z-header) + 1);
  padding: var(--space-2) var(--space-4);
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.6em;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--color-yellow-dark);
  box-shadow: var(--shadow-md);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-btn);
}

.btn--light:hover {
  box-shadow: var(--shadow-md);
}

.btn--sm {
  min-height: 40px;
  padding: 0.6em 1.3em;
  font-size: var(--fs-xs);
}

/* Round play badge used inside "Watch Video" */
.play-badge {
  display: inline-grid;
  place-items: center;
  width: 2em;
  height: 2em;
  margin-left: -0.7em;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  flex-shrink: 0;
}

.play-badge svg {
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.12em;
}

/* Sections --------------------------------------------------------------- */
.section {
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.container--wide {
  max-width: calc(1360px + var(--container-pad) * 2);
  padding-inline: clamp(1rem, 0.2rem + 2.2vw, 2.25rem);
}

.eyebrow--light { color: rgba(255, 255, 255, 0.92); }
.eyebrow--navy  { color: var(--color-navy); }

.title-serif {
  font-family: var(--font-serif);
  font-weight: var(--fw-bold);
  letter-spacing: -0.005em;
  line-height: 1.15;
}

/* Section heading row: eyebrow + title + intro on the left, link on the right */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.section-head__title {
  margin-top: var(--space-2);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-head__desc {
  max-width: 40rem;
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  flex-shrink: 0;
  padding-bottom: 2px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-blue);
  border-bottom: 1.5px solid currentColor;
  transition: gap var(--dur) var(--ease), color var(--dur-fast);
}

.link-arrow svg {
  width: 1em;
  height: 1em;
}

.link-arrow:hover {
  gap: 0.7em;
  color: var(--color-navy);
}

@media (max-width: 767.98px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
