@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alfa-slab-one.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit.woff2") format("woff2");
}

:root {
  --charcoal: #0e0d0c;
  --charcoal-raised: #171614;
  --stone: #c8c3b8;
  --stone-dim: #8f8a80;
  --steel: #6e8496;
  --steel-bright: #8aa0b0;
  --line: rgba(110, 132, 150, 0.35);
  --copy: 28rem;
  --band: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--charcoal);
  background-image: url("/assets/HiddenGainz-hero-mobile.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: var(--stone);
}

body {
  font-family: Outfit, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
  position: relative;
  text-align: left;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 13, 12, 0.92) 0%,
    rgba(14, 13, 12, 0.78) 42%,
    rgba(14, 13, 12, 0.28) 72%,
    rgba(14, 13, 12, 0.06) 100%
  );
}

a {
  color: var(--steel-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--stone);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--charcoal-raised);
  color: var(--stone);
  padding: 0.5rem 0.8rem;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1.15rem 1.75rem;
  max-width: none;
}

header,
.site-footer {
  width: 100%;
  max-width: var(--copy);
  margin: 0;
}

main {
  width: 100%;
  max-width: var(--band);
  margin: 0;
}

.lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.lockup-mark,
.lockup-wordmark {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.lockup-mark {
  display: block;
  width: 4.25rem;
  height: auto;
  aspect-ratio: 776 / 876;
  object-fit: contain;
  flex: 0 0 auto;
}

.lockup-wordmark {
  display: block;
  width: min(15.5rem, 100%);
  height: auto;
  object-fit: contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.manifesto {
  max-width: var(--copy);
  margin: 1.1rem 0 0;
  color: var(--stone);
  font-size: 1.05rem;
}

.manifesto p {
  margin: 0 0 0.85rem;
}

.manifesto p:last-child {
  margin-bottom: 0;
  color: var(--stone-dim);
}



.what {
  margin: 1.1rem 0 0;
  max-width: var(--band);
}

.what h2 {
  font-family: "Alfa Slab One", "Rockwell", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.what ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.what h3 {
  font-family: "Alfa Slab One", "Rockwell", serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.28rem;
  color: var(--stone);
}

.what p {
  margin: 0;
  color: var(--stone-dim);
  font-size: 0.95rem;
}

.what-note {
  margin: 1rem 0 0;
  color: var(--stone);
  font-size: 0.95rem;
}

.what-optional {
  margin: 0.95rem 0 0;
  max-width: var(--copy);
}

.what-optional h3 {
  font-size: 1.05rem;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  width: 100%;
  display: grid;
  gap: 1.15rem;
}

.pillars li {
  background: none;
  border: 0;
  border-top: 1px solid rgba(200, 195, 184, 0.35);
  padding: 0;
  text-align: left;
}

.pillars h2 {
  font-family: "Alfa Slab One", "Rockwell", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.6rem 0 0.4rem;
}

.pillars p {
  margin: 0;
  color: var(--stone-dim);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: auto;
  padding-top: 1.35rem;
  text-align: left;
  color: var(--stone-dim);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-footer p {
  margin: 0;
}

.site-footer .quiet {
  margin-top: 0.4rem;
  opacity: 1;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  color: var(--stone);
  text-transform: none;
}

.lost {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 28rem;
  margin: 0;
}

.lost h1 {
  font-family: "Alfa Slab One", "Rockwell", serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.75rem;
}

.lost p {
  margin: 0 0 1.4rem;
  color: var(--stone-dim);
}

.back {
  display: inline-block;
  border: 1px solid var(--steel);
  color: var(--stone);
  padding: 0.65rem 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  background: none;
}

.back:hover {
  background: rgba(110, 132, 150, 0.12);
  color: var(--stone);
}

@media (min-width: 760px) {
  html,
  body {
    background-image: url("/assets/HiddenGainz-hero-desktop.webp");
    background-position: left center;
  }

  .hero-bg img {
    object-position: left center;
  }

  .hero-bg::after {
    background: linear-gradient(
      90deg,
      rgba(14, 13, 12, 0.88) 0,
      rgba(14, 13, 12, 0.74) var(--copy),
      rgba(14, 13, 12, 0.22) 34rem,
      rgba(14, 13, 12, 0) 38rem
    );
  }

  .page {
    padding: 1.35rem 2rem 2rem;
  }

  .lockup-wordmark {
    width: min(15.25rem, 100%);
  }

  .what ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }

  .manifesto {
    margin-top: 1.05rem;
    font-size: 1.08rem;
  }

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


.nav-ui {
  position: fixed;
  top: 1.05rem;
  right: 1.1rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-disc {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #0a0908;
  border: 1px solid rgba(200, 195, 184, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-disc span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: #f2eee6;
  border-radius: 1px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-toggle:checked + .nav-disc span:nth-child(1) {
  transform: translateY(0.32rem) rotate(45deg);
}

.nav-toggle:checked + .nav-disc span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-disc span:nth-child(3) {
  transform: translateY(-0.32rem) rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-disc,
.nav-disc:hover {
  border-color: rgba(200, 195, 184, 0.5);
}

.nav-panel {
  display: none;
  min-width: 10.5rem;
  padding: 0.45rem;
  border-radius: 0.85rem;
  background: rgba(18, 17, 15, 0.94);
  border: 1px solid rgba(200, 195, 184, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.nav-toggle:checked ~ .nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-panel a {
  color: var(--stone-dim);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
}

.nav-panel a.is-current,
.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--stone);
  background: rgba(200, 195, 184, 0.14);
}

.shots-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--stone);
  margin: 1.05rem 0 0;
}

.shots-tag {
  margin: 0.35rem 0 0;
  color: var(--stone-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stills {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.5rem;
  width: min(100%, 22rem);
  display: grid;
  gap: 1.1rem;
}

.stills figure {
  margin: 0;
}

.stills img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.page-screenshots .page {
  padding-right: 4.2rem;
}

@media (min-width: 760px) {
  .nav-ui {
    top: 1.3rem;
    right: 1.7rem;
  }

  .stills {
    width: min(100%, 46rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 1.4rem;
  }

  .shots-title {
    font-size: 1.45rem;
  }
}

@media (min-width: 1100px) {
  .stills {
    width: min(100%, 62rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}

.still-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 1.35rem;
}

.still-open:focus-visible {
  outline: 2px solid var(--steel-bright);
  outline-offset: 3px;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--stone);
}

.lightbox::backdrop {
  background: rgba(8, 7, 6, 0.9);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1206px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  object-fit: contain;
  border-radius: 1.2rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: fixed;
  top: 1.05rem;
  left: 1.1rem;
  z-index: 40;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid rgba(200, 195, 184, 0.22);
  background: #0a0908;
  color: #f2eee6;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(200, 195, 184, 0.5);
}

@media (min-width: 760px) {
  .lightbox-close {
    top: 1.3rem;
    left: 1.7rem;
  }
}
