/* Jeremiah Burton — mobile-first link-in-bio */

:root {
  --bg: #000000;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.38);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad: max(1.25rem, env(safe-area-inset-left, 0px));
  --page-pad-r: max(1.25rem, env(safe-area-inset-right, 0px));
  --page-pad-b: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body {
    background:
      radial-gradient(ellipse 90% 55% at 50% -15%, rgba(42, 42, 42, 0.55) 0%, transparent 52%),
      radial-gradient(ellipse 70% 45% at 80% 100%, rgba(28, 22, 18, 0.35) 0%, transparent 45%),
      var(--bg);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--page-pad);
  top: 0.75rem;
}

/* Hero — full bleed, gradient into black */

.link-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .link-page {
    align-items: center;
  }
}

.hero-link {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-link {
    display: flex;
    justify-content: center;
  }
}

.hero-link__media {
  position: relative;
  width: 100%;
  max-height: min(78dvh, 560px);
  overflow: hidden;
}

.hero-link__img {
  width: 100%;
  height: min(78dvh, 560px);
  object-fit: cover;
  object-position: center 22%;
}

@media (min-width: 900px) {
  .hero-link__media {
    max-width: min(720px, 94vw);
    max-height: min(68dvh, 640px);
    margin-inline: auto;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
  }

  .hero-link__img {
    height: min(68dvh, 640px);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .hero-link__fade {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .hero-link__overlay {
    padding-bottom: 2rem;
  }

  .hero-link__name {
    font-size: clamp(2rem, 2.8vw, 2.65rem);
  }

  .hero-link__handle {
    font-size: 1.02rem;
  }
}

@media (min-width: 1200px) {
  .hero-link__media {
    max-width: min(800px, 90vw);
    max-height: min(62dvh, 680px);
  }

  .hero-link__img {
    height: min(62dvh, 680px);
  }
}

.hero-link__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 28%,
    rgba(0, 0, 0, 0.55) 72%,
    #000000 100%
  );
}

.hero-link__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem var(--page-pad) 1.75rem;
  text-align: center;
}

.hero-link__name {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.65rem, 6.5vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-link__handle {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}

/* Content stack */

.link-page__stack {
  flex: 1;
  padding: 0.5rem var(--page-pad) calc(2rem + var(--page-pad-b));
  padding-right: var(--page-pad-r);
  width: min(440px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .link-page__stack {
    width: min(480px, 100%);
    gap: 1.35rem;
  }

  .bio {
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  .link-page__stack {
    width: min(540px, 94vw);
    padding-top: 0.85rem;
    padding-bottom: calc(2.75rem + var(--page-pad-b));
    gap: 1.5rem;
  }

  .action-row {
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .link-page__stack {
    width: min(580px, 92vw);
    gap: 1.65rem;
  }
}

/* Action row — Instagram, phone, mail */

.action-row {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  padding: 0.25rem 0 0.15rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 4.5rem;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.action-btn__circle {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.action-btn:hover .action-btn__circle,
.action-btn:focus-visible .action-btn__circle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.action-btn__icon {
  color: #fff;
}

.action-btn__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Bio */

.bio {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .bio {
    max-width: 52ch;
    margin-inline: auto;
    font-size: 1.02rem;
    line-height: 1.7;
  }
}

/* Keys & production card */

.pitch-card {
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
}

.pitch-card__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.pitch-card__title--brand {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-faint);
  line-height: 1.35;
}

.pitch-card__tagline {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pitch-card__body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pitch-card__sub {
  margin: 1rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.pitch-card__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pitch-card__list li {
  margin-bottom: 0.25rem;
}

.pitch-card__list li::marker {
  color: var(--text-faint);
}

.pitch-card__close {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 900px) {
  .pitch-card {
    padding: 1.5rem 1.45rem 1.55rem;
  }

  .pitch-card__tagline {
    font-size: 1.15rem;
  }

  .pitch-card__body,
  .pitch-card__list {
    font-size: 0.95rem;
  }
}

/* Expandable sections + YouTube thumbnail grid */

.drop {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, var(--surface) 38%);
}

.drop__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0.2rem 0;
  padding: 1.05rem 1.1rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  text-align: left;
}

.drop__head--static {
  cursor: default;
  user-select: none;
}

.drop__kicker {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.drop__title {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .drop__head {
    padding: 1.15rem 1.25rem;
  }

  .drop__title {
    font-size: 1.15rem;
  }

  .drop__panel {
    padding: 0.9rem 0.85rem 1rem;
  }
}

.drop__panel {
  padding: 0.75rem 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
}

.drop__preview {
  position: relative;
}

.drop.drop--expandable:not(.drop--expanded) .drop__preview {
  max-height: 240px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .drop.drop--expandable:not(.drop--expanded) .drop__preview {
    max-height: 300px;
  }
}

/* Featured on keys: peek uses max-height. Production: hide 3rd card until expanded. */
.drop--production.drop--expandable:not(.drop--expanded) .drop__preview {
  max-height: none;
  overflow: visible;
}

.drop--production.drop--expandable:not(.drop--expanded) .thumb-grid .yt-item:nth-child(3) {
  display: none;
}

.drop--production.drop--expandable.drop--expanded .thumb-grid .yt-item:nth-child(3) {
  display: flex;
}

.drop--production.drop--expandable:not(.drop--expanded) .drop__fade {
  display: none !important;
}

.drop.drop--expanded .drop__preview {
  max-height: none;
  overflow: visible;
}

.drop__fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 0.75) 55%, #0f0f0f 100%);
  z-index: 1;
}

.drop.drop--expandable:not(.drop--expanded) .drop__fade {
  display: block;
}

.drop__more {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 20, 20, 0.92);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s;
}

.drop.drop--expandable:not(.drop--expanded) .drop__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drop--production .drop__more--inline {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  margin-top: 0.65rem;
  width: 100%;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.drop__more:hover,
.drop__more:focus-visible {
  background: rgba(34, 34, 34, 0.96);
  border-color: rgba(255, 255, 255, 0.26);
}

.drop__more:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.drop.drop--expanded .drop__more,
.drop.drop--expanded .drop__fade {
  display: none !important;
}

.drop__less {
  display: none;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 24, 0.95);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.drop.drop--expanded .drop__less {
  display: inline-flex;
}

.drop__less:hover,
.drop__less:focus-visible {
  background: rgba(34, 34, 34, 0.98);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.drop__less:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .drop--production .thumb-grid,
  .drop--keys .thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.thumb-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.thumb-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.thumb-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.thumb-card__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
}

.thumb-card__meta {
  padding: 0.5rem 0.6rem 0.62rem;
}

@media (min-width: 900px) {
  .thumb-card__meta {
    padding: 0.55rem 0.65rem 0.7rem;
  }
}

.thumb-card__title {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 900px) {
  .thumb-card__title {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .thumb-card {
    border-radius: 16px;
  }

  .drop,
  .pitch-card,
  .footer-card {
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
  }
}

/* Footer contact card */

.footer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
}

.footer-card__title {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-card__row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  transition: opacity 0.15s;
}

.footer-card__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.footer-card__row:hover,
.footer-card__row:focus-visible {
  opacity: 0.88;
}

.footer-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-card__value {
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-word;
}

@media (min-width: 900px) {
  .footer-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.35rem;
    padding: 1.35rem 1.35rem 1.4rem;
  }

  .footer-card__title {
    grid-column: 1 / -1;
    margin-bottom: 0.35rem;
  }

  .footer-card__row {
    border-top: none;
    padding: 0.35rem 0 0;
    border-left: 1px solid var(--border);
    padding-left: 1.15rem;
    min-height: 4.5rem;
  }

  .footer-card__title + .footer-card__row {
    border-left: none;
    padding-left: 0;
  }
}

.fine-print {
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* Larger screens: cap hero, comfortable reading */

@media (min-width: 480px) {
  .hero-link__media {
    max-height: min(72dvh, 560px);
  }

  .hero-link__img {
    height: min(72dvh, 560px);
  }
}

