/* No Pants Profits — orange + black, mobile-first */

:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --paper: #f5f5f5;
  --muted: #9a9a9a;
  --orange: #ff6a00;
  --orange-hot: #ff8533;
  --orange-dim: rgba(255, 106, 0, 0.14);
  --line: rgba(245, 245, 245, 0.12);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --tap: 44px;
  --pad-x: 1.125rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--orange-hot);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - (var(--pad-x) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  position: relative;
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.mark:hover {
  color: var(--orange);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--bg-3);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--paper);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):last-of-type {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  padding: 0.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.nav.is-open {
  display: flex;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 0.55rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
  background: var(--orange-dim);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .nav a {
    min-height: auto;
    padding: 0.55rem 0.65rem;
  }
}

/* Hero — stacked on phones, never cramped */
.hero {
  position: relative;
  padding: 2.25rem 0 2.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 80% 0%, rgba(255, 106, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(255, 106, 0, 0.08), transparent 50%),
    var(--bg);
}

.hero-stack {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 9.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.accent {
  color: var(--orange);
}

.lede {
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  color: rgba(245, 245, 245, 0.9);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.lede strong {
  color: var(--paper);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: var(--tap);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #000;
}

.btn-primary:hover {
  background: var(--orange-hot);
  color: #000;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--paper);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: var(--bg-3);
}

.hero-photo figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-stack {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100svh - 3.5rem);
    padding-block: 1.5rem 2rem;
  }

  .hero-photo img {
    max-height: none;
  }
}

/* Chapters */
.story {
  border-top: 1px solid var(--line);
}

.chapter {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .chapter {
    padding: 4.5rem 0;
  }
}

.chapter-accent {
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.07), transparent 42%),
    var(--bg-2);
}

.chapter-inner {
  max-width: 42rem;
}

.chapter-wide {
  max-width: var(--max);
}

.chapter-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin: 0 0 0.65rem;
}

.chapter h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1.1rem;
}

.chapter p {
  margin: 0 0 1.05rem;
  color: rgba(245, 245, 245, 0.9);
}

.chapter p:last-child {
  margin-bottom: 0;
}

.open-note {
  border-left: 3px solid var(--orange);
  padding: 0.75rem 0 0.75rem 1rem;
  color: var(--muted) !important;
  background: var(--orange-dim);
  border-radius: 0 0.5rem 0.5rem 0;
}

.open-note code,
.chapter code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: var(--orange);
}

.tm {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.text-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 0, 0.45);
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}


/* Featured video */
.featured-video {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.15rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.16), transparent 50%),
    var(--bg-3);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 1.1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.featured-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.35rem !important;
}

.featured-video h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-caption {
  margin: 0.95rem 0 0 !important;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.9) !important;
}

.featured-caption strong {
  color: var(--paper);
  font-weight: 600;
}

.featured-caption a {
  display: inline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.yt-links .yt-featured {
  grid-column: 1 / -1;
}

.yt-links .yt-featured a {
  background: rgba(255, 106, 0, 0.18);
  border-color: var(--orange);
  color: var(--paper);
  font-weight: 800;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.yt-links .yt-featured a:hover {
  background: rgba(255, 106, 0, 0.28);
  color: var(--orange-hot);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange);
  color: #000;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  line-height: 1;
  flex-shrink: 0;
}


.vid-meta {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.25rem 0 0.55rem;
}

/* Timeline video cards */
.yt-videos {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.yt-video {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
}

.yt-video-featured {
  border-color: rgba(255, 106, 0, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.14), transparent 55%),
    rgba(0, 0, 0, 0.35);
}

.yt-thumb {
  position: relative;
  display: block;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-thumb .featured-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
}

.yt-video-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.yt-video-title:hover {
  color: var(--orange);
}

.yt-blurb {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.82) !important;
}

@media (min-width: 640px) {
  .yt-video {
    grid-template-columns: minmax(9rem, 12.5rem) 1fr;
    align-items: start;
    gap: 1rem;
  }
}

/* Brand map */
.brand-map {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.brand-map li {
  padding: 1rem 1.05rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  border-left: 3px solid var(--orange);
}

.brand-map strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}


/* YouTube timeline */
.yt-timeline {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.yt-era {
  margin: 0;
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 1rem;
  border-left: 3px solid var(--orange);
}

.yt-era-now {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.12), transparent 55%),
    var(--bg-3);
}

.yt-era-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}

.yt-meta h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.yt-meta p {
  margin: 0 0 0.75rem;
}

.yt-links {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.yt-links a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.35rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.2);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--paper);
}


.yt-links a:hover {
  background: rgba(255, 106, 0, 0.18);
  color: var(--orange-hot);
  border-color: var(--orange);
}

.dot-sep {
  color: var(--muted);
  margin: 0 0.35rem;
}

.verified-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 1.25rem 0 0.75rem;
}

.verified-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  border-left: 2px solid rgba(255, 106, 0, 0.35);
  padding-left: 0.95rem;
}

.verified-timeline > li {
  margin: 0;
  padding: 0.85rem 0.95rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.verified-timeline time {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.35rem;
}

.verified-timeline p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--paper);
}


@media (min-width: 800px) {
  .yt-timeline {
    gap: 1.15rem;
  }

  .yt-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

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

.build-list li {
  padding: 1.05rem 1.1rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.build-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  margin: 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-2);
}

.gallery-item figcaption {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0.75rem 0.8rem;
}

.gallery-item.placeholder .ph {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(245, 245, 245, 0.18);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(245, 245, 245, 0.03) 8px,
      rgba(245, 245, 245, 0.03) 16px
    );
}

/* Closing */
.closing {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 106, 0, 0.14), transparent 60%),
    var(--bg);
}

.close-wink {
  font-style: italic;
  color: var(--muted) !important;
  margin: 1.25rem 0 0 !important;
}

.contact-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  word-break: break-word;
}

.contact-links .dot {
  display: none;
}

@media (min-width: 560px) {
  .contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .contact-links .dot {
    display: inline;
    margin: 0 0.5rem;
    color: var(--muted);
  }
}

.contact-block .btn {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 480px) {
  .contact-block .btn {
    width: auto;
  }
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0 0 0.75rem;
}

.fine {
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 42rem;
  opacity: 0.85;
}

/* Reveal on scroll */
.chapter {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.chapter.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}
