:root {
  --bg: #000;
  --panel: #000;
  --text: #f4f4f4;
  --muted: #b5b5b5;
  --line: rgba(255, 255, 255, 0.18);
  --blue: #000;
  --yellow: #fff687;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  padding: 0 22px;
}

a {
  color: inherit;
}

.top-strip {
  background: var(--yellow);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 0;
  text-transform: lowercase;
}

.top-strip .container-fluid {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.top-strip a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.navbar {
  background: var(--blue);
  border-bottom: 0;
  padding: 1.55rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-word {
  font-size: 1.45rem;
}

.custom-toggler {
  width: 52px;
  height: 42px;
  border: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  box-shadow: none;
}

.custom-toggler:focus {
  box-shadow: none;
}

.custom-toggler span {
  display: block;
  width: 100%;
  height: 4px;
  background: #fff;
  transition: transform 220ms ease, opacity 180ms ease;
  transform-origin: center;
}

.custom-toggler[aria-expanded="true"] span:nth-child(1),
.custom-toggler.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] span:nth-child(2),
.custom-toggler.is-open span:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] span:nth-child(3),
.custom-toggler.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.nav-link {
  color: #fff;
  font-size: 1.05rem;
  margin-left: 1.4rem;
  text-transform: lowercase;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.hero-section {
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: 0;
  background: var(--blue);
}

.hero-section > .container-fluid {
  display: flex;
}

.hero-grid {
  width: 100%;
}

.hero-media {
  position: relative;
  min-height: 460px;
  overflow: visible;
  z-index: 20;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.floating-profile {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: -46px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  max-width: 420px;
  padding: 0.85rem 1rem;
}

.tp {
  background: #000;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  border-radius: 99px;
}

.floating-profile img {
  width: 58px;
  height: 58px;
  min-height: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.floating-profile strong,
.floating-profile a {
  display: block;
}

.floating-profile strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.floating-profile a {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
}

.hero-main {
  background: var(--blue);
  padding: calc(clamp(4rem, 8vw, 8rem) + 2rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: none;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 0;
  text-transform: lowercase;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.lead {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-main h2 {
  color: #fff;
  margin-bottom: 1.7rem;
}

.logo-marquee {
  width: min(100%, 720px);
  overflow: hidden;
  margin: 0 0 1.3rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0.9rem 0;
  animation: logo-run 18s linear infinite;
}

.logo-track img {
  max-width: 120px;
  max-height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@keyframes logo-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-main p {
  max-width: 650px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-inline-image {
  width: min(100%, 640px);
  max-height: 260px;
  display: block;
  margin: 2.2rem 0 0;
  border-radius: 12px;
  object-fit: cover;
}

.hero-image-note {
  max-width: 640px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-copy,
.section-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.button-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.outline-button,
.contact-links a {
  color: #fff;
  text-decoration: none;
  border: 2px solid currentColor;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  font-weight: 800;
  text-transform: lowercase;
}

.outline-button:hover,
.contact-links a:hover {
  background: #fff;
  color: var(--blue);
}

.section-pad {
  background: var(--blue);
  padding: 6.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.interest-image {
  width: min(100%, 680px);
  display: block;
  margin: 0 0 2.2rem;
  border-radius: 12px;
  object-fit: cover;
}

.steam-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 2rem;
  padding: 0 1.1rem;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.steam-link:hover {
  background: #fff;
  color: #000;
}

.principles-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  color: #fff;
  max-width: 720px;
}

.principles-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.principles-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 10px;
  height: 10px;
  background: var(--yellow);
}

.simple-list {
  display: grid;
  gap: 0;
}

.simple-list article {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.simple-list article:last-child {
  margin-bottom: 0;
}

.simple-list span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.simple-list p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.friend-marquee {
  width: min(100%, 720px);
  overflow: hidden;
  margin-top: 2.4rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.friend-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
  animation: logo-run 22s linear infinite;
}

.friend-track img {
  max-width: 140px;
  max-height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.contact-section {
  border-bottom: 0;
  background: var(--blue);
  color: #fff;
  margin-left: -22px;
  margin-right: -22px;
  padding-left: 22px;
  padding-right: 22px;
}

.contact-section .eyebrow,
.contact-section .section-copy {
  color: #fff;
}

.contact-note {
  max-width: 720px;
  margin-top: 2rem;
  color: #fff;
}

.contact-note p {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-note a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  /* background: rgba(255, 255, 255, 0.22); */
}

.project-tiles article {
  /* min-height: 260px; */
  background: var(--blue);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-tiles article:first-child {
  background: var(--yellow);
  color: var(--blue);
}

.project-tiles article:first-child p,
.project-tiles article:first-child span {
  color: var(--blue);
}

.project-tiles span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.project-tiles p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: var(--blue);
  text-align: center;
}

@media (max-width: 991.98px) {
  body {
    padding: 0 18px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .nav-link {
    margin-left: 0;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-main {
    padding: 4.2rem 2rem 4.8rem;
  }

  .hero-media {
    min-height: 380px;
  }

  .floating-profile {
    bottom: -42px;
  }

  .contact-section {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding: 0;
  }

  .top-strip {
    display: block;
    position: static;
    background: var(--yellow);
    color: var(--blue);
    padding: 0.7rem 1.7rem;
    font-size: 0.85rem;
    line-height: 1.2;
    max-width: none;
    text-align: left;
  }

  .top-strip .container-fluid {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
  }

  .top-strip a {
    display: inline;
    color: var(--blue);
  }

  .navbar {
    padding: 1rem 1.7rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-width: 3px;
    font-size: 0.85rem;
  }

  .brand-word {
    font-size: 1.18rem;
    letter-spacing: 0.1em;
  }

  .custom-toggler {
    width: 34px;
    height: 30px;
    gap: 5px;
  }

  .custom-toggler span {
    height: 3px;
  }

  .custom-toggler[aria-expanded="true"],
  .custom-toggler.is-open {
    position: fixed;
    top: 2.25rem;
    right: 1.7rem;
    z-index: 1100;
  }

  .custom-toggler[aria-expanded="true"] span:nth-child(1),
  .custom-toggler.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .custom-toggler[aria-expanded="true"] span:nth-child(3),
  .custom-toggler.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar-collapse {
    position: fixed;
    inset: 0;
    z-index: 1050;
    min-height: 100vh;
    height: 100vh !important;
    background: var(--blue);
    padding: 8rem 1.7rem 2rem;
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 260ms ease, transform 260ms ease;
    overflow: hidden;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-collapse.is-closing.collapsing {
    opacity: 0;
    transform: translateY(-18px);
  }

  .navbar-nav {
    min-height: calc(100vh - 10rem);
    align-items: flex-start !important;
    justify-content: center;
    gap: 1.2rem;
  }

  .nav-link {
    display: inline-block;
    color: #fff;
    font-size: clamp(2.5rem, 13vw, 4.6rem);
    line-height: 1;
    font-weight: 900;
    margin-left: 0;
  }

  .section-pad {
    padding: 4.2rem 0;
    padding-left: 1.7rem;
    padding-right: 1.7rem;
    padding-top: 0;
  }

  .hero-media {
    min-height: 320px;
    height: 50vh;
  }

  .floating-profile {
    left: 1.7rem;
    right: 1.7rem;
    bottom: -40px;
    max-width: none;
    padding: 0.75rem 0.85rem;
    border-radius: 99px;
  }

  .floating-profile img {
    width: 48px;
    height: 48px;
  }

  .hero-main {
    padding: 6.4rem 1.7rem 3rem;
  }

  .hero-main .eyebrow,
  .button-row {
    display: none;
  }

  h1 {
        font-size: 2rem;
        line-height: 1.02;
        margin-bottom: 2rem;
  }

  .hero-main h2 {
    font-size: clamp(1.65rem, 7vw, 2.45rem);
    line-height: 1.45;
    margin-bottom: 1.5rem;
  }

  .hero-main p {
    font-size: 1.35rem;
    line-height: 1.55;
    font-weight: 400;
  }

  .project-tiles {
    grid-template-columns: 1fr;
  }

  .friend-track {
    gap: 2rem;
  }

  .friend-track img {
    max-width: 110px;
    max-height: 38px;
  }

  .contact-section {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.7rem;
    padding-right: 1.7rem;
  }
}
