:root {
  color-scheme: dark;
  --forest-deep: #071b13;
  --forest: #123526;
  --cream: #f5efdf;
  --cream-soft: rgba(245, 239, 223, 0.76);
  --sun: #f4bf73;
  --line: rgba(245, 239, 223, 0.22);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { background: var(--forest-deep); }

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest-deep);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 14px;
  left: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--forest-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(245, 239, 223, 0.6);
  border-radius: 50%;
}

.brand-mark span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(244, 191, 115, 0.18);
}

.site-header p {
  margin: 0;
  color: rgba(245, 239, 223, 0.65);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  flex: 1;
  align-items: flex-end;
  overflow: hidden;
  padding: 170px clamp(24px, 8vw, 130px) 0;
  isolation: isolate;
}

.hero__image,
.hero__veil,
.hero__grain { position: absolute; inset: 0; }

.hero__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.77) contrast(1.06);
  transform: scale(1.025);
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 19, 13, 0.97) 0%, rgba(7, 27, 19, 0.82) 45%, rgba(7, 27, 19, 0.14) 100%),
    linear-gradient(0deg, rgba(5, 19, 13, 0.94) 0%, rgba(5, 19, 13, 0.03) 54%);
}

.hero__grain {
  z-index: -1;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(245, 239, 223, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 223, 0.32) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero__content {
  width: min(820px, 72%);
  padding-bottom: clamp(132px, 16vh, 200px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: rgba(245, 239, 223, 0.73);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 6px rgba(244, 191, 115, 0.14);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(62px, 8vw, 126px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.87;
  text-wrap: balance;
}

.lede {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--cream-soft);
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.stage-note {
  max-width: 570px;
  padding-top: 24px;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
  color: rgba(245, 239, 223, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

.hero__footer {
  position: absolute;
  right: clamp(24px, 8vw, 130px);
  bottom: 0;
  left: clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 74px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.hero__footer span {
  padding: 0 20px;
  border-right: 1px solid var(--line);
  color: rgba(245, 239, 223, 0.62);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.hero__footer span:first-child { padding-left: 0; text-align: left; }
.hero__footer span:last-child { padding-right: 0; border-right: 0; text-align: right; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(24px, 8vw, 130px);
  border-top: 1px solid rgba(245, 239, 223, 0.12);
  background: #06160f;
}

.footer-kicker {
  margin: 0 0 7px;
  color: var(--sun);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer p:not(.footer-kicker) {
  max-width: 550px;
  margin: 0;
  color: rgba(245, 239, 223, 0.67);
  font-size: 14px;
  line-height: 1.5;
}

.login-button {
  display: inline-flex;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid rgba(244, 191, 115, 0.62);
  border-radius: 999px;
  color: var(--forest-deep);
  background: var(--sun);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.login-button:hover {
  background: #ffd99a;
  box-shadow: 0 14px 30px rgba(244, 191, 115, 0.2);
  transform: translateY(-2px);
}

.brand:focus-visible,
.login-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header { padding-top: 22px; }
  .hero { min-height: 790px; padding-top: 138px; }
  .hero__image { object-position: 66% center; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(5, 19, 13, 0.96) 0%, rgba(5, 19, 13, 0.17) 76%),
      linear-gradient(90deg, rgba(5, 19, 13, 0.69), transparent);
  }
  .hero__content { width: 100%; padding-bottom: 190px; }
  .hero__footer { grid-template-columns: 1fr; gap: 10px; min-height: 116px; padding: 16px 0; }
  .hero__footer span,
  .hero__footer span:first-child,
  .hero__footer span:last-child { padding: 0; border: 0; text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .site-header p { display: none; }
  .hero { min-height: 740px; }
  h1 { font-size: clamp(52px, 16vw, 74px); }
  .lede { margin-top: 28px; font-size: 17px; }
  .stage-note { font-size: 12px; }
  .login-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .hero__image { transform: none; }
}
