:root {
  --bg: #080b0a;
  --text: #f7f1e3;
  --muted: #cbd2c1;
  --gold: #d6b35e;
  --green: #23b26a;
  --panel: rgba(7, 16, 12, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
}

.hero-bg,
.hero-shade,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/stf-hero.png");
  background-position: center 42%;
  background-size: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(4, 7, 6, 0.96) 0%, rgba(4, 7, 6, 0.72) 44%, rgba(4, 7, 6, 0.22) 100%);
}

.hero-glow {
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 184, 88, 0.26), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(4, 7, 6, 0.72) 83%, #080b0a 100%);
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1280px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 40px;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(214, 179, 94, 0.7);
  background: rgba(12, 23, 18, 0.8);
  box-shadow: 0 0 30px rgba(36, 178, 103, 0.16);
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  gap: 24px;
  color: #d9ddce;
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  flex: 1;
  align-items: center;
  gap: 40px;
  padding: 64px 0;
}

.intro {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid rgba(214, 179, 94, 0.45);
  background: rgba(11, 24, 18, 0.75);
  padding: 8px 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff8e8;
  font-size: clamp(58px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.tagline {
  margin: 28px 0 0;
  color: #f1ead7;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.08;
}

.summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d9ddce;
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary {
  background: var(--gold);
  color: #09110d;
}

.primary:hover,
.primary:focus-visible {
  background: #f1d277;
}

.secondary {
  border: 1px solid rgba(247, 241, 227, 0.25);
  background: rgba(9, 17, 13, 0.72);
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.link-grid {
  display: grid;
  gap: 12px;
}

.link-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(247, 241, 227, 0.14);
  border-radius: 6px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(214, 179, 94, 0.7);
  background: rgba(12, 24, 18, 0.88);
  transform: translateY(-2px);
}

.link-card strong,
.link-card small,
.link-card em {
  display: block;
}

.link-card strong {
  color: #fff8e8;
  font-size: 18px;
}

.link-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.link-card em {
  margin-top: 18px;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  border-top: 1px solid rgba(247, 241, 227, 0.12);
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
}

.mission p {
  margin: 0;
}

.mission strong {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .shell {
    padding: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 28px;
    padding: 56px 0 28px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(4, 7, 6, 0.92) 0%, rgba(4, 7, 6, 0.7) 42%, rgba(4, 7, 6, 0.96) 100%);
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-name,
  .nav {
    display: none;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-grid {
    padding-top: 44px;
  }

  .summary {
    font-size: 16px;
  }

  .actions,
  .link-grid,
  .mission {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission {
    display: grid;
  }
}
