:root {
  --ink: #07090b;
  --panel: #10140f;
  --gold: #d7ad3b;
  --cream: #f4efe0;
  --muted: #b1b8bd;
  --line: #d7ad3b55;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, #674b1d25, transparent 28%), var(--ink);
  color: var(--cream);
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
}
header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 7vw, 110px);
  border-bottom: 1px solid #ffffff13;
  background: #07090be8;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  letter-spacing: 0.13em;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--cream);
}
.login {
  border: 1px solid var(--gold);
  padding: 10px 14px;
  border-radius: 5px;
  color: var(--cream);
}
.login span {
  margin-left: 6px;
  color: var(--gold);
}
main {
  max-width: 1520px;
  margin: auto;
  padding: 0 clamp(22px, 7vw, 110px);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-left: 1px solid #ffffff10;
  border-right: 1px solid #ffffff10;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      #07090bf2 0%,
      #07090baa 43%,
      #07090b2e 74%,
      #07090bc9 100%
    ),
    linear-gradient(0deg, #07090be8 0%, transparent 42%),
    url("/static/fib-headquarters.png");
  background-position: center;
  background-size: cover;
}
.hero-backdrop:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 49.8%,
    #d7ad3b22 50%,
    transparent 50.15%
  );
  opacity: 0.45;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 60px;
  align-items: center;
  min-height: 590px;
  padding: 70px clamp(28px, 6vw, 90px) 40px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(54px, 7vw, 100px);
  line-height: 0.86;
  margin: 20px 0;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.lead {
  font-family: Georgia, serif;
  font-size: 24px;
  margin: 0;
}
.intro,
.section > p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.actions a {
  padding: 13px 17px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s,
    background 0.2s;
}
.actions a:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--gold);
  color: #1a1205;
}
.primary span {
  margin-left: 10px;
}
.secondary {
  border: 1px solid #f4efe066;
  color: var(--cream);
  background: #090a0a66;
}
.hero-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}
.gold-ring {
  position: absolute;
  width: min(360px, 100%);
  aspect-ratio: 1;
  border: 1px solid #d7ad3b88;
  border-radius: 50%;
  box-shadow:
    0 0 0 18px #d7ad3b0a,
    0 0 90px #d7ad3b22;
}
.hero-seal {
  position: relative;
  width: min(285px, 82%);
  filter: drop-shadow(0 24px 40px #000c);
}
.hero-card {
  position: absolute;
  right: -10px;
  bottom: 4px;
  display: grid;
  gap: 14px;
  min-width: 225px;
  padding: 22px;
  border: 1px solid #d7ad3b77;
  background: #0c0e0dd9;
  box-shadow: 0 22px 42px #0008;
  backdrop-filter: blur(8px);
}
.hero-card span,
.hero-card strong {
  display: block;
}
.hero-card span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.hero-card strong {
  margin-top: 4px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
}
.hero-card p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #ffffff1f;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px clamp(28px, 6vw, 90px);
  border-top: 1px solid #ffffff1c;
  background: #07090b9e;
  color: #c8c4b9;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.hero-caption span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 21px;
}
.hero-caption p {
  margin: 0;
}
.hero-caption i {
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats div {
  padding: 26px;
  border-right: 1px solid var(--line);
}
.stats div:last-child {
  border-right: 0;
}
.stats strong,
.stats span {
  display: block;
}
.stats strong {
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--gold);
}
.stats span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.section {
  padding: 115px 0;
}
.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin: 12px 0;
}
.mission {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  border-bottom: 1px solid var(--line);
}
.mission > p {
  align-self: end;
  margin: 0 0 8px;
}
.citizen {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.service-grid article {
  position: relative;
  overflow: hidden;
  padding: 25px;
  background: linear-gradient(145deg, #161b18, #0b0e0c);
  border: 1px solid #ffffff17;
  min-height: 252px;
}
.service-grid article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.service-grid article:hover:before {
  transform: scaleX(1);
}
.service-grid span {
  color: var(--gold);
  font-weight: 900;
}
.service-grid h3 {
  font-family: Georgia, serif;
  font-size: 22px;
}
.service-grid p {
  color: var(--muted);
  line-height: 1.55;
}
.service-grid small {
  color: var(--gold);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(22px, 7vw, 110px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
footer a {
  color: var(--gold);
}
@media (max-width: 800px) {
  header {
    height: auto;
    padding: 15px 22px;
  }
  nav a:not(.login) {
    display: none;
  }
  .hero {
    min-height: 620px;
    border: 0;
  }
  .hero-content {
    grid-template-columns: 1fr;
    min-height: 540px;
    padding: 62px 28px 26px;
  }
  .hero-visual {
    display: none;
  }
  .hero-caption {
    padding: 16px 28px;
  }
  .hero-caption i,
  .hero-caption p:last-child {
    display: none;
  }
  .stats,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mission,
  .citizen {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section {
    padding: 70px 0;
  }
  .service-grid article {
    min-height: auto;
  }
}
