.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(242, 245, 240, 0.04);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(200, 245, 66, 0.45);
}

.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 6.6vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__brand span {
  color: var(--accent);
}

.hero__title {
  max-width: 18ch;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 1.5rem 0 4.5rem;
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(18, 22, 18, 0.85);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.tile:hover,
.tile:focus-visible {
  border-color: rgba(200, 245, 66, 0.5);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.tile__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.tile:hover .tile__media img {
  transform: scale(1.04);
}

.tile__body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.tile__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tile__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tile__desc {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .site-nav a:not(.btn) {
    display: none;
  }

  .site-header__inner {
    gap: 0.65rem;
  }

  .brand {
    font-size: 1.02rem;
    min-width: 0;
  }

  .site-nav .btn {
    min-height: 2.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero__brand {
    font-size: clamp(1.2rem, 7.1vw, 1.9rem);
    letter-spacing: -0.055em;
  }

  .wrap {
    width: min(100% - 2rem, var(--max));
  }
}
