/* Brandon Baily — "Showtime" brand
   Black and signal orange, heavy capitals, a spaced serif for labels,
   and a handwritten line for the things said over the mic. */

:root {
  --black: #111111;
  --black-2: #161616;
  --black-3: #1b1b1b;
  --orange: #ff6a13;
  --stylie-blue: #3d8bff;
  --chalk: #f2f2f0;
  --soft: #d4d4cf;
  --muted: #b5b5b0;
  --quiet: #8f8f8a;
  --line: #2e2e2e;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --label: "Libre Caslon Text", Georgia, serif;
  --hand: "Reenie Beanie", "Comic Sans MS", cursive;
  --body: "Manrope", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--chalk);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Shared pieces */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 136px) var(--gutter); }
.rule { border-top: 1px solid #222; }
.band { background: var(--black-2); border-top: 1px solid #222; border-bottom: 1px solid #222; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 40px; }

.label {
  margin-bottom: 16px;
  font: 700 clamp(.75rem, 1.3vw, .95rem)/1.3 var(--label);
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--orange);
}
.label--quiet { margin: 56px 0 8px; font-size: .8rem; letter-spacing: .4em; color: #7d7d78; }
.title { font: 900 clamp(2.75rem, 6.5vw, 5rem)/.94 var(--display); text-transform: uppercase; margin-bottom: 40px; }
.section__head .title { margin-bottom: 0; }
.title--small { font-size: clamp(2.25rem, 4.5vw, 3.25rem); margin-bottom: 16px; }
.aside { font: 400 2rem/1 var(--hand); color: var(--muted); transform: rotate(-2deg); }
.muted { color: var(--muted); max-width: 36ch; }

.btn { display: inline-block; padding: 15px 26px; font: 700 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: #ff8540; color: var(--black); }
.btn--outline { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 2px var(--chalk); }
.btn--outline:hover { background: rgba(242, 242, 240, .1); color: var(--chalk); }
.btn--small { padding: 10px 18px; font-size: .9375rem; white-space: nowrap; flex: none; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(17, 17, 17, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.topbar__name { font: 900 1.4rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.topbar__name span { color: var(--orange); }
.topbar__nav { flex: 1; min-width: 0; display: flex; gap: 24px; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; font-size: .9375rem; font-weight: 500; }
.topbar__nav::-webkit-scrollbar { display: none; }
.topbar__nav a { text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .topbar__nav { display: none; } .topbar__inner { justify-content: space-between; } }

/* Hero */
.hero { position: relative; min-height: min(92svh, 920px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: max(56%, min(100%, 560px)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111111 0%, rgba(17,17,17,.6) 22%, rgba(17,17,17,0) 55%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17,17,17,.2) 0%, rgba(17,17,17,.45) 50%, #111111 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) clamp(56px, 8vw, 104px); }
.hero__name { font: 900 clamp(4rem, 17vw, 13rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-left: -.035em; }
.hero__name span { color: var(--orange); }
.hero__shout {
  display: inline-block;
  margin: clamp(28px, 3.5vw, 44px) 0 0 clamp(0px, 3vw, 40px);
  font: 400 clamp(2rem, 4.6vw, 3.6rem)/1 var(--hand);
  transform: rotate(-3deg); transform-origin: left;
  animation: shout-in .9s cubic-bezier(.2, .9, .3, 1.2) .2s both;
}
@keyframes shout-in { from { opacity: 0; transform: rotate(-9deg) translateY(16px); } to { opacity: 1; transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .hero__shout { animation: none; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; width: 100%; max-width: 440px; justify-self: center; padding: 6px; background: #ffffff; box-shadow: clamp(10px, 1.4vw, 16px) clamp(10px, 1.4vw, 16px) 0 var(--orange); margin-bottom: 56px; }
.about__frame { position: relative; aspect-ratio: 9 / 16; max-height: min(720px, 86svh); width: 100%; background: var(--black); overflow: hidden; }
.about__frame video, .about__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption { position: absolute; left: 6px; bottom: -6px; transform: translateY(100%) rotate(-3deg); transform-origin: left top; padding-top: clamp(18px, 2vw, 26px); font: 400 clamp(1.6rem, 2.4vw, 2rem)/1 var(--hand); }
.about .title { margin-bottom: 28px; }
.about__text { display: flex; flex-direction: column; gap: 18px; max-width: 52ch; font-size: 1.125rem; color: var(--soft); text-wrap: pretty; }
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin-top: 40px; border-top: 2px solid var(--orange); }
.skills li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.skills h3 { font: 900 2rem/1 var(--display); text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.skills p { color: var(--muted); font-size: .975rem; }
/* Photography is a Stylie Media service, so it takes Stylie blue instead of orange. */
.skills__stylie h3 { color: var(--stylie-blue); }

/* Tour dates */
.dates { border-top: 2px solid var(--orange); }
.date { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 4vw, 48px); padding: 24px 0; border-bottom: 1px solid var(--line); }
.date__when { flex: none; width: 88px; display: flex; flex-direction: column; }
.date__day { font: 900 3rem/.9 var(--display); }
.date__month { margin-top: 6px; font: 700 .75rem/1.4 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.date__what { flex: 1 1 260px; min-width: 0; }
.date__what h3 { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.05 var(--display); text-transform: uppercase; }
.date__what p { color: var(--muted); margin-top: 6px; }
.date__role { flex: none; padding: 6px 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); box-shadow: inset 0 0 0 1px #3a3a3a; }
.date__link { flex: none; padding: 10px 0; font-weight: 700; text-decoration: none; color: var(--orange); }
.past { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.past li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #262626; color: var(--quiet); }
.past b { flex: none; width: 64px; font-size: .875rem; }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); grid-auto-rows: clamp(200px, 22vw, 260px); grid-auto-flow: dense; gap: 10px; }
.photo--tall { grid-row: span 2; }
.photo button { width: 100%; height: 100%; padding: 0; border: 0; background: var(--black-3); cursor: zoom-in; overflow: hidden; display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.photo button:hover img { transform: scale(1.04); }
.photos:not(.show-all) .is-extra { display: none; }
.photos__more { display: flex; justify-content: center; margin-top: 32px; }

/* Worked with */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1px; background: #2a2a2a; border: 1px solid #2a2a2a; }
.logos li { min-height: clamp(96px, 11vw, 150px); background: var(--black); padding: clamp(10px, 2vw, 24px) clamp(6px, 2.5vw, 32px); display: flex; align-items: center; justify-content: center; text-align: center; }
.logos span { font: 400 clamp(1.05rem, 2.6vw, 2.3rem)/1.05 var(--hand); text-wrap: balance; transform: rotate(-3deg); }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px clamp(32px, 6vw, 88px); margin-top: clamp(64px, 8vw, 104px); align-items: start; }
.locations__list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.locations__list li { display: flex; align-items: center; gap: 22px; font: 400 clamp(2rem, 3.4vw, 2.8rem)/1.2 var(--hand); }
.locations__list li::after { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }

/* Instagram */
.ig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; background: var(--black-3); border: 0 !important; }
.ig .instagram-media > a { display: block; padding: 24px; color: var(--muted); }

/* Booking */
.book { background: var(--orange); color: var(--black); }
.book .section { padding-top: clamp(80px, 11vw, 152px); padding-bottom: clamp(80px, 11vw, 152px); }
.book .label { color: var(--black); }
.book a:hover { color: var(--black); }
.book a:focus-visible { outline-color: var(--black); }
.book__title { font: 900 clamp(3rem, 9vw, 7.5rem)/.9 var(--display); text-transform: uppercase; max-width: 12ch; }
.book__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px clamp(32px, 6vw, 88px); margin-top: 40px; align-items: end; }
.book__lede { max-width: 42ch; font-size: 1.25rem; line-height: 1.5; }
.book__email { display: block; margin-top: 28px; font: 900 clamp(1.5rem, 3.6vw, 2.75rem)/1.05 var(--display); text-decoration-thickness: 3px; text-underline-offset: 8px; overflow-wrap: anywhere; }
.book__email:hover { text-decoration-thickness: 6px; }
.book__facts { border-top: 2px solid var(--black); }
.book__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(17, 17, 17, .3); }
.book__facts dt { font-weight: 700; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px var(--gutter); color: var(--muted); font-size: .9375rem; }
.footer p:last-child { display: flex; gap: 24px; }
.footer a { text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 10, .94); display: flex; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 56px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; border: 0; cursor: pointer; font: 700 1.5rem/1 var(--body); color: var(--chalk); background: rgba(17, 17, 17, .7); width: 52px; height: 52px; }
.lightbox__prev { left: clamp(4px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(4px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lightbox .lightbox__close { top: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.25rem; background: var(--orange); color: var(--black); }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font: 700 .8rem/1 var(--label); letter-spacing: .3em; color: var(--muted); }

/* Links under a skill (Car stunts / Quad stunts) */
.skills__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn--line { padding: 11px 18px; font-size: .9375rem; color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.btn--line:hover { background: var(--orange); color: var(--black); }

/* Car and quad stunt pages */
.subhero { padding-top: clamp(56px, 8vw, 104px); }
.subhero .label a { text-decoration: none; }
.subhero__title { font: 900 clamp(4rem, 15vw, 11rem)/.86 var(--display); text-transform: uppercase; color: var(--orange); margin-left: -.03em; }
.subhero__lede { max-width: 52ch; margin-top: clamp(32px, 4vw, 48px); font-size: 1.25rem; line-height: 1.55; color: var(--soft); }
.subhero__facts { max-width: 760px; margin-top: 40px; border-top: 2px solid var(--orange); }
.subhero__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.subhero__facts dt { font-weight: 700; }
.subhero__facts dd { color: var(--muted); }
.topbar__nav a[aria-current="page"] { color: var(--orange); }
