@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-paper: #f5f7f8;
  --color-paper-alt: #e7eff4;
  --color-ink: #14232b;
  --color-teal: #0089be;
  --color-teal-deep: #0a2e42;
  --color-gold: #ec3339;
  --color-gold-light: #f28c90;
  --color-rose: #0089be;
  --color-line: rgba(20, 35, 43, 0.14);
  --color-line-soft: rgba(20, 35, 43, 0.08);
  --color-cream-text: #f4f7f9;
  --font-display: 'Lato', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1180px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-teal-deep);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.eyebrow svg {
  width: 34px;
  height: 10px;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--color-gold);
  color: var(--color-teal-deep);
}
.btn-primary:hover {
  background: var(--color-gold-light);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(244, 247, 249, 0.5);
  color: var(--color-cream-text);
}
.btn-ghost:hover {
  border-color: var(--color-cream-text);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-cream-text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: white;
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-teal-deep);
}

.brand img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-teal-deep);
  position: relative;
  padding: 4px 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: opacity 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  opacity: 0.65;
}

.nav-toggle:active {
  opacity: 0.45;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal-deep);
  margin: 5px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--color-teal-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .main-nav a {
    color: var(--color-cream-text);
    font-size: 1.2rem;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-cream-text);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 46, 66, 0.75) 0%,
    rgba(10, 46, 66, 0.45) 38%,
    rgba(10, 46, 66, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 20px 64px 20px;
  width: 100%;
}

.hero-content .eyebrow {
  color: var(--color-gold-light);
}

.hero-content h1 {
  color: var(--color-cream-text);
  max-width: 17ch;
}

.hero-sub {
  max-width: 54ch;
  font-size: 1.15rem;
  color: rgba(244, 247, 249, 0.88);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-paper-alt);
}

.divider {
  width: 64px;
  height: 10px;
  margin: 0 0 26px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.split img {
  width: 100%;
  border-radius: var(--radius);
}

.split.reverse .split-media {
  order: 2;
}

/* Stat strip */
.stat-strip {
  background: var(--color-teal-deep);
  color: var(--color-cream-text);
  padding: 56px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

.stat {
  border-left: 1px solid rgba(242, 140, 144, 0.35);
  padding-left: 18px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(244, 247, 249, 0.75);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--color-rose);
}

/* Quote */
.quote-block {
  border-left: 3px solid var(--color-gold);
  padding-left: 28px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-teal-deep);
  margin: 40px 0;
}

.quote-block cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  opacity: 0.7;
}

/* Info list */
.info-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line-soft);
}

.info-list dt {
  flex: 0 0 130px;
  font-weight: 700;
  color: var(--color-teal);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-list dd {
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--color-teal-deep);
  color: rgba(244, 247, 249, 0.82);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--color-cream-text);
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand img {
  height: 36px;
}

.footer-col h4 {
  color: var(--color-gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(244, 247, 249, 0.82);
}

.footer-col a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 247, 249, 0.14);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(244, 247, 249, 0.55);
}

.footer-bottom a {
  color: rgba(244, 247, 249, 0.7);
  text-decoration: none;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 249, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  opacity: 0.72;
  transform: translateY(-2px);
}

.social-row a:active {
  opacity: 0.55;
  transform: translateY(0) scale(0.94);
}

.social-row.on-light a {
  border-color: var(--color-line);
  color: var(--color-teal-deep);
}

.social-row i {
  font-size: 16px;
  line-height: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-teal-deep);
  padding: 12px 18px;
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}
