/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  background: #050505;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
}

/* Background media crossfade layers */
.bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 130ms ease-out;
}
.bg-layer.is-visible { opacity: 1; }
.bg-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* ---------- Content ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 4rem);
}

/* ---------- Intro ---------- */
.intro {
  text-align: center;
}
.intro__title {
  max-width: 60ch;
  margin: 0 auto 0.2em;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 6vw, 4rem); /* scales up to 64px on desktop */
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.tagline {
  margin: 0;
  text-transform: uppercase;
  /* 4.6vw keeps the longest state ("...job in talent management") a
     comfortable single line at every viewport width - see nowrap below */
  font-size: clamp(1rem, 4.6vw, 2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
  gap: 0.35em;
  align-items: baseline;
}
.tagline__word {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  transition: color 200ms ease;
}
.tagline__word.is-flip-color {
  color: #ff5c1a;
}
.tagline__word-inner {
  display: inline-block;
  transition: transform 220ms cubic-bezier(0.65, 0, 0.35, 1), opacity 220ms ease;
}
.tagline__word.is-cycling .tagline__word-inner {
  transform: translateY(-100%);
  opacity: 0;
}

/* ---------- Scopes nav ---------- */
.scopes {
  align-self: flex-end;
  width: 100%;
}
.scopes__list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.04em;
}
.scopes__item { line-height: 0.9; }
.scopes__item a {
  display: inline-block;
  text-transform: uppercase;
  font-size: clamp(2rem, 11vw, 8rem); /* scales up to 128px on desktop, same for every item */
  transition: color 150ms ease, transform 150ms ease;
  will-change: transform;
}
.scopes__item a:hover,
.scopes__item a:focus-visible {
  color: #ff5c1a;
}

/* ---------- Simple content pages (Marketing, etc.) ---------- */
.back-link {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #fff;
  opacity: 0.65;
  transition: color 150ms ease, opacity 150ms ease;
}
.back-link:hover,
.back-link:focus-visible {
  color: #ff5c1a;
  opacity: 1;
}

.page {
  min-height: 100vh;
  background: #050505;
  color: #fff;
  padding: clamp(4rem, 10vw, 6rem) 1.5rem 6rem;
}

.page-title {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.02em;
  margin: 0 0 35px;
}

.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 65px;
  text-align: center;
}
/* Without this, whatever happens to be last inside a section (.media,
   .text-list, ...) adds its own bottom margin on top of the section's
   65px padding, so the real gap comes out larger than 65px. */
.content-section > *:last-child {
  margin-bottom: 0;
}

.section-heading {
  /* block + fit-content + auto margins, not inline-block: inline-block
     sits in the same inline "line" as an adjacent inline-block sibling
     (.media) and gets centered as a combined unit with it, which is what
     was shoving headings off to one side instead of each centering on
     its own line. This still shrink-wraps to the text (so the underline
     hugs it) without flowing inline. */
  display: block;
  width: fit-content;
  margin: 0 auto 35px;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* Paid Media marquee — loops by duplicating the track and scrolling exactly -50% */
.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee__track img {
  height: clamp(140px, 22vw, 260px);
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Grey placeholders for sections whose real photos aren't compiled yet */
.placeholder-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 35px;
}
.placeholder-block {
  width: min(22vw, 260px);
  aspect-ratio: 1 / 1;
  background: #232323;
  border-radius: 4px;
}

/* Real photos once a section has them - sized by height only (like the
   marquee) so each keeps its natural aspect ratio instead of being
   cropped into the placeholder's square box. */
.photo-tile {
  height: clamp(160px, 24vw, 280px);
  width: auto;
  border-radius: 4px;
}
/* Bigger variant - Talent Management's flyers specifically, without also
   growing Marketing's Live Nation photos (both share .photo-tile). */
.photo-tile--large {
  height: clamp(220px, 34vw, 420px);
}

/* Quick stats + digit roll-up */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 35px;
}
.stat__value {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 0.6em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.text-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 35px;
}
.text-list li {
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  letter-spacing: 0.03em;
}
.text-list a {
  transition: color 150ms ease;
}
.text-list a:hover,
.text-list a:focus-visible {
  color: #ff5c1a;
}

/* Placeholder for written copy that isn't ready yet (e.g. About Me bio) -
   distinct from grey media placeholders since there's no box to show. */
.copy-placeholder {
  margin: 0;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.03em;
  opacity: 0.45;
  font-style: italic;
}

/* A real paragraph of prose (e.g. an About Me bio) - sentence case and a
   readable line-height, unlike the short all-caps lines used everywhere
   else on the site. A full paragraph in all-caps condensed type is a
   genuine reading-comfort problem, not just a style choice. */
.bio-copy {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.pdf-link {
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
  transition: color 150ms ease;
}
.pdf-link:hover,
.pdf-link:focus-visible {
  color: #ff5c1a;
}

/* In-page PDF viewer - a modal iframe rather than a new tab, so a brand
   guide/marketing plan opens without leaving the site. Uses the browser's
   own native PDF rendering (no bundled PDF.js needed). */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.pdf-modal[hidden] { display: none; }
.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.pdf-modal__panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  height: 100%;
  max-height: 90vh;
  background: #161616;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.pdf-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.pdf-modal__title {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-modal__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
  transition: color 150ms ease;
}
.pdf-modal__close:hover,
.pdf-modal__close:focus-visible {
  color: #ff5c1a;
}
.pdf-modal__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

/* A mid-page heading, bigger than .section-heading but smaller than
   .page-title - for a distinct category of work within a page (e.g. a
   different role) rather than a single named client under one. */
.role-heading {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  margin: 0 0 35px;
}

/* Same size as .section-heading but no underline - for a label within a
   section (e.g. "Flyer Design") rather than the section's own client name. */
.subsection-label {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  margin: 35px 0;
}

/* A single media block + small credit line, shrink-wrapped so the credit
   right-aligns against the block's own edge rather than the full page.
   Block + fit-content + auto margins, not inline-block - see the note on
   .section-heading above for why (same bug, same fix). */
.media {
  display: block;
  width: fit-content;
  margin: 0 auto 35px;
}
.media-credit {
  margin: 0.5em 0 0;
  text-align: right;
  text-transform: uppercase;
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  letter-spacing: 0.03em;
  opacity: 0.6;
}
.placeholder-block--wide {
  width: min(70vw, 640px);
  aspect-ratio: 16 / 7;
}
/* A prominent, near-square portrait photo (About/Contact's headshot-style
   placeholder) - bigger than the default thumbnail-sized .placeholder-block. */
.placeholder-block--photo {
  width: min(55vw, 420px);
  aspect-ratio: 1 / 1;
}

/* A real video dropped into a .media figure - sized like
   .placeholder-block--wide but without forcing an aspect-ratio, so it
   plays at its own native proportions instead of being stretched/cropped
   to the placeholder's banner shape. */
.media-video {
  display: block;
  width: min(70vw, 640px);
  border-radius: 4px;
}

/* A YouTube (or other) embed dropped into a .media figure - same footprint
   as .media-video, but forced to 16:9 since an iframe has no intrinsic
   size of its own to size by. */
.media-embed {
  width: min(70vw, 640px);
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}
.media-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero-content { justify-content: flex-start; gap: 3rem; }
  .scopes { align-self: stretch; }
  .scopes__list { align-items: flex-start; }
  .scopes__item a { display: block; }

  .placeholder-block { width: min(40vw, 200px); }
  .placeholder-block--wide { width: min(85vw, 400px); }
  .placeholder-block--photo { width: min(65vw, 300px); }
  .media-video { width: min(85vw, 400px); }
  .media-embed { width: min(85vw, 400px); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer, .tagline__word-inner { transition: none; }
  .marquee__track { animation: none; }
}
