:root {
  --forest-deep: #14241b;
  --forest-mid: #1d3427;
  --ivory: #fbf8f1;
  --ivory-soft: rgba(251, 248, 241, 0.9);
  --ivory-muted: rgba(251, 248, 241, 0.78);
  --gold: #e6c684;
  --gold-bright: #f2d79c;
  --gold-line: rgba(230, 198, 132, 0.42);
  --surface-header-fallback: rgba(16, 30, 22, 0.78);
  --surface-header-glass: rgba(16, 30, 22, 0.44);
  --surface-glass-fallback: rgba(16, 30, 22, 0.84);
  --surface-glass: rgba(16, 30, 22, 0.56);
  --surface-glass-hover: rgba(22, 42, 31, 0.78);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  background-color: var(--forest-deep);
  color: var(--ivory);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--forest-deep);
  color: var(--ivory);
  position: relative;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1.25rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background-color: var(--forest-deep);
  color: var(--ivory);
  border: 1px solid var(--gold);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1.25rem;
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Full-bleed scenic backdrop */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--forest-deep);
}

.scene-picture,
.scene-image {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-image {
  object-fit: cover;
  object-position: center 44%;
}

.scene-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 88% 66% at 50% 56%,
      rgba(14, 27, 20, 0.46) 0%,
      rgba(14, 27, 20, 0.24) 55%,
      rgba(12, 22, 16, 0.48) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(14, 26, 19, 0.48) 0%,
      rgba(16, 30, 22, 0.22) 28%,
      rgba(14, 27, 20, 0.56) 64%,
      rgba(12, 22, 16, 0.82) 100%
    );
}

/* Main layout shell */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.25rem, 3.5vw, 2.75rem) clamp(1.25rem, 5vw, 4rem);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--ivory);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(10, 18, 13, 0.55);
}

.brand-home-link {
  min-height: 44px;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.2rem 0.5rem 0.2rem 0.15rem;
}

.brand-home-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow:
    0 4px 14px rgba(8, 16, 11, 0.48),
    0 0 0 1px rgba(230, 198, 132, 0.24);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(251, 248, 241, 0.26);
  background-color: var(--surface-header-fallback);
  color: var(--ivory);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header-link {
    background-color: var(--surface-header-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

.header-link:hover {
  background-color: rgba(22, 42, 31, 0.72);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.header-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.icon-external {
  flex-shrink: 0;
}

/* Hero content */
.hero-main {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(1rem, 4vh, 3rem);
}

.hero-content {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-bright);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(10, 18, 13, 0.7);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 6.2vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ivory);
  text-shadow:
    0 2px 24px rgba(10, 18, 13, 0.65),
    0 1px 4px rgba(10, 18, 13, 0.5);
}

.wordmark-tld {
  color: var(--gold);
}

.wordmark-not-found {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.14;
  max-width: 18ch;
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ivory-soft);
  text-shadow: 0 2px 18px rgba(10, 18, 13, 0.65);
}

.intro {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.975rem, 1.35vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ivory-muted);
  text-shadow: 0 1px 12px rgba(10, 18, 13, 0.7);
}

.shared-quote {
  margin: clamp(1.4rem, 3.2vh, 2.1rem) auto 0;
  max-width: 34rem;
  padding-inline: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.58;
  letter-spacing: 0.008em;
  color: rgba(230, 198, 132, 0.92);
  text-shadow: 0 1px 14px rgba(10, 18, 13, 0.78);
}

.shared-quote p {
  margin: 0;
}

.hero-actions {
  margin-top: clamp(1.65rem, 3.2vh, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.15rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background-color: var(--surface-glass-fallback);
  color: var(--ivory);
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(8, 16, 11, 0.34);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .cta-link {
    background-color: var(--surface-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.cta-link:hover {
  background-color: var(--surface-glass-hover);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.cta-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  color: var(--ivory-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.secondary-link:hover {
  color: var(--gold-bright);
}

.secondary-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(251, 248, 241, 0.14);
  color: var(--ivory-muted);
  font-size: 0.875rem;
  text-shadow: 0 1px 10px rgba(10, 18, 13, 0.7);
}

.footer-note,
.footer-ecosystem {
  margin: 0;
}

.footer-ecosystem {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.2rem;
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(242, 215, 156, 0.5);
  text-underline-offset: 3px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.footer-link:hover {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
}

.footer-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .page-shell {
    gap: 1.75rem;
    padding: 1.25rem 1.15rem 1.5rem;
  }

  .scene-image {
    object-position: 54% 42%;
  }

  .site-header {
    gap: 0.65rem 0.75rem;
  }

  .brand-badge {
    gap: 0.55rem;
    font-size: 0.875rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-link {
    font-size: 0.8125rem;
    padding: 0.4rem 0.78rem;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.7rem;
  }

  .wordmark {
    font-size: clamp(1.85rem, 8.6vw, 2.75rem);
  }

  .shared-quote {
    margin-top: 1.25rem;
    max-width: 24rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .cta-link {
    width: 100%;
    max-width: 20rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
  }
}

@media (max-width: 375px) {
  .page-shell {
    padding: 1rem 0.9rem 1.25rem;
    gap: 1.35rem;
  }

  .site-header {
    justify-content: center;
  }

  .wordmark {
    font-size: clamp(1.6rem, 8.2vw, 1.95rem);
  }

  .shared-quote {
    font-size: 0.9375rem;
    padding-inline: 0.25rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .page-shell {
    padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
    gap: 0.85rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-main {
    padding-block: 0.35rem;
  }

  .eyebrow {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
  }

  .wordmark {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
  }

  .tagline {
    margin-top: 0.55rem;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
  }

  .intro {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
  }

  .shared-quote {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .site-footer {
    padding-top: 0.35rem;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-link,
  .cta-link,
  .secondary-link,
  .footer-link {
    transition: none;
  }
}
