:root {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --ink: #111111;
  --ink-soft: #47667E;
  --accent: #C7002C;
  --cta: #00464F;
  --cta-ink: #FFFFFF;
  --link: #003399;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 10px 24px rgba(17, 17, 17, 0.08);

  --font-heading: "Spectral", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --container: 1200px;
}

@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:where(html) {
  scroll-behavior: smooth;
}

:where(body) {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4) {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

:where(a) {
  color: inherit;
  text-decoration: none;
}

:where(em) {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-header__wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.site-header__nav {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header__nav a {
  position: relative;
  padding-block: 4px;
}

.site-header__nav a.is-active,
.site-header__nav a:hover {
  color: var(--link);
}

.site-header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--link);
}

/* Eyebrow */
.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--cta);
  color: var(--cta-ink);
}

.btn--primary:hover {
  background: #00363d;
}

/* Hero */
.hero {
  padding-block: var(--space-2xl);
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__headline {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  max-width: 12ch;
  margin-bottom: var(--space-lg);
}

.hero__subtext {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: var(--space-xl);
}

.hero__visual {
  position: relative;
  height: 420px;
}

.stack {
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stack--a {
  background: var(--cta);
  top: 10px;
  left: 40px;
  transform: rotate(-6deg);
  z-index: 1;
}

.stack--b {
  background: var(--bg);
  border: 1px solid var(--line);
  top: 40px;
  left: 130px;
  transform: rotate(4deg);
  z-index: 2;
}

.stack--c {
  background: var(--ink);
  top: 90px;
  left: 10px;
  transform: rotate(10deg);
  z-index: 0;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    height: 380px;
    margin-bottom: var(--space-lg);
    order: -1;
  }
  .hero__headline {
    max-width: 100%;
  }
}

/* Footer */
.site-footer {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}