:root {
  --inverse-blue-950: #081424;
  --inverse-blue-900: #0b1b2e;
  --inverse-blue-850: #10253e;

  --inverse-text-100: #f5f7fa;
  --inverse-text-60: #a9b4c2;
  --inverse-text-40: #7d8a9b;

  --inverse-gold-500: #c9a24a;
  --inverse-gold-300: #e2c67a;
  --inverse-gold-700: #8e6b22;

  --font-display: "EB Garamond", ui-serif, Georgia, serif;
  --font-body: "Lora", ui-serif, Georgia, serif;

  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--inverse-blue-950);
  color: var(--inverse-text-100);
  font-family: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--inverse-gold-500);
  text-decoration: none;
}

a:hover {
  color: var(--inverse-gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--inverse-gold-300);
  outline-offset: 2px;
}

.container {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  border-bottom: 1px solid var(--inverse-blue-850);
  background: var(--inverse-blue-950);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.brand-desktop-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-seal {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-wordmark {
  color: var(--inverse-text-100);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.brand-mobile-badge {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.brand-mobile-seal {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
}

.header-spacer {
  min-width: 1px;
  min-height: 1px;
}

.hero {
  border-bottom: 1px solid var(--inverse-blue-850);
}

.hero-inner {
  position: relative;
  padding-block: clamp(88px, 12vw, 140px);
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: clamp(-24px, 4vw, 32px);
  width: clamp(300px, 46vw, 560px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  max-width: 14ch;
}

.hero-subhead {
  margin: 18px 0 0;
  max-width: 66ch;
  color: var(--inverse-text-60);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--inverse-gold-500);
  color: var(--inverse-blue-950);
}

.hero-content .button-primary {
  margin-top: 28px;
}

.button-primary:hover {
  background: var(--inverse-gold-300);
  color: var(--inverse-blue-950);
}

.button-secondary {
  background: transparent;
  border-color: var(--inverse-blue-850);
  color: var(--inverse-text-100);
}

.button-secondary:hover {
  border-color: var(--inverse-gold-700);
  color: var(--inverse-text-100);
}

.section {
  border-bottom: 1px solid var(--inverse-blue-850);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding-block: clamp(96px, 10vw, 132px);
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--inverse-text-100);
}

.section-copy {
  max-width: 78ch;
}

.section-copy p {
  margin: 0;
  color: var(--inverse-text-60);
  font-size: 18px;
  line-height: 1.75;
}

.section-copy p + p {
  margin-top: 14px;
}

.section-actions {
  margin-top: 24px;
}

.bullet-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--inverse-text-60);
  font-size: 18px;
  line-height: 1.75;
}

.bullet-list li::marker {
  color: var(--inverse-gold-500);
}

.bullet-list li + li {
  margin-top: 6px;
}

.site-footer {
  background: var(--inverse-blue-950);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 44px;
}

.footer-block p {
  margin: 0;
  color: var(--inverse-text-60);
  font-size: 16px;
  line-height: 1.7;
}

.footer-block-right {
  text-align: right;
}

.footer-block a {
  color: var(--inverse-text-60);
}

.footer-block a:hover {
  color: var(--inverse-gold-500);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

@media (max-width: 1024px) {
  .hero-watermark {
    right: -24px;
    width: clamp(260px, 42vw, 440px);
    opacity: 0.05;
  }

  .section-copy p,
  .bullet-list {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 24px;
  }

  .header-row {
    min-height: 64px;
  }

  .brand-desktop-lockup {
    display: inline-flex;
    gap: 8px;
  }

  .brand-mobile-badge {
    display: none;
  }

  .brand-seal {
    width: 32px;
    height: 32px;
  }

  .brand-wordmark {
    font-size: 34px;
  }

  .hero-inner {
    padding-block: 88px;
  }

  .hero-watermark {
    top: 28px;
    right: 24px;
    width: 240px;
    transform: none;
    opacity: 0.05;
  }

  .hero-content {
    max-width: none;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-subhead {
    font-size: 17px;
    max-width: 58ch;
  }

  .section-grid {
    grid-template-columns: 1fr;
    padding-block: 88px;
    gap: 16px;
  }

  h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .section-copy p,
  .bullet-list {
    font-size: 17px;
    line-height: 1.7;
  }

  .footer-grid {
    flex-direction: column;
    gap: 12px;
    padding-block: 24px 36px;
  }

  .footer-block-right {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 20px;
  }

  .hero-inner {
    padding-block: 80px;
  }

  .brand-seal {
    width: 28px;
    height: 28px;
  }

  .brand-wordmark {
    font-size: 28px;
  }

  .hero-watermark {
    width: 208px;
    right: 8px;
    top: 18px;
    opacity: 0.045;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }

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