@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  touch-action: manipulation;
}

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

a {
  color: var(--color-royal);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

a:hover {
  color: var(--color-royal-deep);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-navy);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-hero);
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, var(--fs-3xl));
}

h3 {
  font-size: clamp(1.25rem, 3.2vw, var(--fs-xl));
}

h4 {
  font-size: clamp(1.05rem, 2.6vw, var(--fs-lg));
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--topbar-h) + 1.5rem);
}

p {
  color: var(--color-slate);
}

b,
strong {
  font-weight: 700;
  color: var(--color-ink);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-12);
}

.section-tight {
  padding-block: var(--space-8);
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(248, 250, 252, 0.82);
}

.section-light {
  background: var(--color-surface);
}

.section-head {
  max-width: 780px;
  margin-bottom: var(--space-8);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-royal);
}

.section-dark .eyebrow {
  color: var(--color-amber);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-head.center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-head p {
  margin-top: var(--space-4);
  font-size: var(--fs-md);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.skip-link {
  position: fixed;
  top: -60px;
  left: var(--space-4);
  z-index: 2000;
  padding: var(--space-3) var(--space-5);
  background: var(--color-amber);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--dur);
}

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