:root {
  color-scheme: light;
  --ink: #102039;
  --muted: #5d6a6f;
  --cream: #fffaf0;
  --paper: #ffffff;
  --gold: #e4b452;
  --green: #577a34;
  --line: rgba(16, 32, 57, 0.14);
  --shadow: 0 28px 80px rgba(16, 32, 57, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 860px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #dbe6df;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94) 0%, rgba(255, 250, 240, 0.74) 40%, rgba(255, 250, 240, 0.18) 74%),
    linear-gradient(0deg, rgba(16, 32, 57, 0.58) 0%, rgba(16, 32, 57, 0) 48%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  color: var(--ink);
}

.brand,
.topbar__note {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 38px rgba(16, 32, 57, 0.12);
}

.brand {
  gap: 10px;
  padding: 6px 14px 6px 7px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}

.topbar__note {
  padding: 0 14px;
  border-radius: 999px;
  color: #34434b;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__content {
  width: min(900px, calc(100% - 64px));
  margin-left: clamp(48px, 6vw, 128px);
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 1.8vw, 0.84rem);
}

h1,
h2 {
  overflow-wrap: normal;
  word-break: keep-all;
}

p {
  overflow-wrap: anywhere;
}

.hero-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #071b3f;
  font-size: clamp(4.3rem, 7.2vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.hero-title span {
  display: block;
  white-space: nowrap !important;
}

.mobile-title-line {
  display: none !important;
}

.desktop-title-line {
  display: block !important;
}

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #233441;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(16, 32, 57, 0.14);
}

.button--primary {
  background: var(--gold);
  color: #061739;
}

.button--quiet {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(16, 32, 57, 0.14);
  color: #1d3447;
  backdrop-filter: blur(14px);
}

.updates {
  position: relative;
  margin-top: -28px;
  background: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.updates__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(34px, 6vw, 72px) 0;
}

.message h2,
.next-note h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.message p:not(.eyebrow),
.next-note p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.next-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbf7 0%, #fff7df 100%);
}

.next-note__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero__image {
    object-position: 61% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.82) 46%, rgba(16, 32, 57, 0.62) 100%),
      linear-gradient(90deg, rgba(255, 250, 240, 0.88), rgba(255, 250, 240, 0.2));
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar__note {
    display: none;
  }

  .hero__content {
    width: min(100% - 28px, 560px);
    margin: 0 auto 30px;
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(3rem, 12.5vw, 4.2rem);
    line-height: 0.9;
  }

  .hero-title > span:first-child {
    display: none !important;
  }

  .desktop-title-line {
    display: none !important;
  }

  .mobile-title-line {
    display: block !important;
  }

  .lead {
    color: #17293a;
  }

  .updates__inner {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 100svh;
  }

  .hero__content {
    width: calc(100% - 28px);
    margin-bottom: clamp(44px, 9vh, 72px);
  }

  .hero-title {
    font-size: clamp(2.9rem, 12vw, 3.35rem);
  }

  .lead {
    margin-top: 18px;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .actions {
    margin-top: 22px;
  }

  .button--quiet {
    display: none;
  }

  .brand {
    max-width: calc(100vw - 32px);
  }

  .brand span:last-child {
    font-size: 0.82rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .next-note {
    grid-template-columns: 1fr;
  }
}
