/* Mark O'Dell Music — one stylesheet, no framework.
   Sizes follow the old WordPress (Salient) theme:
   desktop 1000px and up, tablet 690–999px, phone under 690px. */

:root {
  --pink: #ff1053;
  --link: #ff0f53;
  --blue: #3452ff;
  --black: #0b0b0b;
  --white: #fff;
  --text: #b3b3b3;
  --muted: #969696;
  --font-body: "Roboto", Arial, sans-serif;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-thin: "Dosis", "Roboto", sans-serif;
  --font-mono: "Source Code Pro", Menlo, monospace;
  --font-menu: "Open Sans", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #000;
  color: var(--text);
  font: 400 19px/30px var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
strong { font-weight: 700; }
/* Even line lengths for headings; no lonely last word in paragraphs (where supported) */
h1, h2, h3, .hero__tagline { text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--pink); color: #fff; padding: 8px 14px; font-size: 15px;
}
.skip-link:focus { top: 12px; }

/* 1320px wide, with a 6% margin each side on smaller screens */
.container { width: 88%; max-width: 1320px; margin: 0 auto; }

/* Anchor jumps land below the fixed header */
section[id] { scroll-margin-top: 100px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(0, 0, 0, .95); }
.site-header__inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 135px; padding: 0 28px; transition: height .3s ease;
}
.site-header.is-scrolled .site-header__inner { height: 102px; }
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.logo img { width: 89px; height: auto; }
.nav-social { display: flex; align-items: center; gap: 6px; }
.nav-social a { display: grid; place-items: center; width: 32px; height: 32px; color: var(--white); transition: opacity .2s; }
.nav-social a:hover { opacity: .7; }
.nav-social svg { width: 20px; height: 20px; fill: currentColor; }

/* ☰ button (turns into an ✕ when the menu is open) */
.nav-toggle {
  position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--white);
}
.nav-toggle__lines, .nav-toggle__lines::before, .nav-toggle__lines::after {
  position: absolute; left: 7px; width: 30px; height: 2px; background: currentColor;
  transition: transform .3s ease, background-color .2s;
}
.nav-toggle__lines { top: 21px; }
.nav-toggle__lines::before, .nav-toggle__lines::after { content: ""; left: 0; }
.nav-toggle__lines::before { top: -9px; }
.nav-toggle__lines::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 40px;
  background: rgba(0, 0, 0, .97); color: var(--white); text-align: center;
  animation: menu-in .3s ease;
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu li { margin-bottom: 8px; }
.menu a {
  display: inline-block; text-decoration: none;
  font: 700 48px/60px var(--font-menu); letter-spacing: -1px; transition: opacity .2s;
}
.menu a:hover { opacity: .75; }
.menu small {
  display: block; font: 600 15px/30px var(--font-menu); letter-spacing: 2px; text-transform: uppercase;
}
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 200px; color: var(--white); text-decoration: none;
  font: 400 18px/20px var(--font-mono); letter-spacing: 2px; text-transform: uppercase;
  padding: 25px 40px; transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; }
.btn--pink { background: var(--pink); }
.btn--blue { background: var(--blue); }
/* White outline button (About section): fills white on hover */
.btn--outline { padding: 13px 30px; border: 2px solid var(--white); background: transparent; font-size: 14px; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--white); color: #000; opacity: 1; }

/* ---------- Hero ----------
   The photo is set on the <section class="hero"> in index.html:
   --hero-img (the picture) and --hero-pos (which part stays in view,
   e.g. "60% 20%" = a bit right of centre, near the top). The title sits
   at the bottom so the face stays clear. */
.hero {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(90vh, 860px); padding: 160px 0 7vw;
}
.hero__bg {
  position: absolute; inset: 0;
  background: #0b0b0c var(--hero-img) var(--hero-pos, center 20%) / cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 50%, rgba(11, 11, 11, .85) 82%, #0b0b0b 100%);
}
.hero__content { position: relative; }
.hero h1 {
  margin-bottom: 10px;
  font: 400 82.5px/88.5px var(--font-display); letter-spacing: 11px; text-transform: uppercase;
}
.hero__tagline {
  font: 300 28.9px/37.4px var(--font-thin); letter-spacing: 4px; text-transform: uppercase;
}

/* ---------- About ---------- */
/* Two columns: text on the left, photo on the right */
.about { padding: 3vw 0; background: var(--black); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: stretch; }
.about__col { padding: 16px 0 16px 17px; }
/* Photo fills the column, as tall as the text beside it, centred on Mark */
.about__photo { padding: 16px 0; }
.about__photo img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; object-position: center; }
.kicker { color: var(--link); font: 400 20px/34px var(--font-mono); }
.about__headline {
  margin-bottom: 31px; color: var(--white);
  font: 300 28.9px/37.4px var(--font-thin); letter-spacing: 4px; text-transform: uppercase;
}
.about p:not(.kicker), .booking p { margin-bottom: 27px; }
.about p a, .booking p a { color: var(--link); text-decoration: none; }
.about p a:hover, .booking p a:hover { text-decoration: underline; }
/* Both buttons as wide as the longer one */
.about__buttons { display: inline-grid; padding-top: 6px; }
.about__buttons .btn { text-align: center; }
.about__buttons .btn { margin-bottom: 10px; }
.about__buttons .btn:last-child { margin-bottom: 0; }

/* ---------- Music ---------- */
.music { padding: 3vw 0 7vw; background: var(--black); }
.music__inner { padding: 33px 33px 0; }
.section-title {
  margin-bottom: 42px; color: var(--link); text-align: center;
  font: 300 28.9px/37.4px var(--font-thin); letter-spacing: 4px; text-transform: uppercase;
}
/* Rows of 1, 2, 3 or 4 videos, like the old page */
.videos { display: grid; gap: 24px 22px; align-items: start; margin-bottom: 24px; }
.videos:last-child { margin-bottom: 0; }
.videos--2 { grid-template-columns: repeat(2, 1fr); }
.videos--3 { grid-template-columns: repeat(3, 1fr); }
.videos--4 { grid-template-columns: repeat(4, 1fr); }
.video {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: 10px; overflow: hidden; background: #111; cursor: pointer;
}
.video { aspect-ratio: 16 / 9; }
/* Every tile the same shape; a tile can set --pos to choose which part of its poster shows */
.video img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%; background: var(--pink); transition: transform .3s ease;
}
.video__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px;
  border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff;
}
.video:hover .video__play, .video:focus-visible .video__play { transform: scale(1.2); }

/* ---------- Booking ---------- */
.booking {
  position: relative; padding: 10vw 0; color: var(--text);
  background: #333 url("/thumbs/w1600/2018/10/MarkO-Dark.jpg") center top / cover no-repeat;
}
.booking::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .5); }
.booking .container { position: relative; }
.booking__col { width: 49%; }
.booking__title {
  margin-bottom: 40px; color: var(--white);
  font: 300 82.5px/88.5px var(--font-thin); letter-spacing: 11px; text-transform: uppercase;
}
.booking .btn {
  margin-top: 13px; padding: 13px 40px; font-size: 14px;
}
/* Arrow slides in on hover, like the old theme */
.btn--arrow::after {
  content: "→"; display: inline-block; width: 0; overflow: hidden; vertical-align: top;
  opacity: 0; transition: width .25s, opacity .25s, margin .25s;
}
.btn--arrow:hover::after { width: 1em; margin-left: 8px; opacity: 1; }

/* ---------- Footer: sits under the page and is revealed as you scroll ---------- */
main { position: relative; z-index: 1; background: var(--black); }
.site-footer {
  position: sticky; bottom: 0; z-index: 0;
  background: var(--black) url("/thumbs/w1600/2026/11/Mark-ODell-Live-BW-Stage.jpg") center 30% / cover no-repeat;
  color: var(--muted); text-align: center;
}
/* Dark layer over the photo so the logo and links stand out */
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 11, .45); }
@media (max-height: 600px) { .site-footer { position: relative; } }
.site-footer__inner { position: relative; padding: 70px 24px 0; }
.site-footer__logo { width: 300px; margin: 0 auto; }
.footer-social { display: flex; justify-content: center; gap: 20px; margin-top: 95px; }
.footer-social a {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25); color: var(--white);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.footer-social a:hover, .footer-social a:focus-visible {
  background: var(--pink); border-color: var(--pink); transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer__copy { padding: 56px 0 62px; font-size: 19px; line-height: 30px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 17px; bottom: 17px; z-index: 80;
  display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%;
  background: rgba(0, 0, 0, .25); color: var(--white);
  opacity: 0; pointer-events: none; transition: opacity .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: rgba(0, 0, 0, .7); }
.to-top svg { width: 14px; height: 14px; }

/* ---------- Video player ---------- */
.player {
  width: min(1100px, 92vw); max-width: none; padding: 0; border: 0;
  background: #000; overflow: visible;
}
.player::backdrop { background: rgba(0, 0, 0, .9); }
.player__frame { aspect-ratio: 16 / 9; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.dialog-close {
  position: absolute; right: -6px; top: -48px; width: 44px; height: 44px;
  background: none; border: 0; font-size: 40px; line-height: 1; color: var(--white); cursor: pointer;
}

/* =========================================================
   Tablet and phone (under 1000px): the theme's mobile header,
   ☰ on the left, no photo behind About, one column of videos
   ========================================================= */
@media (max-width: 999px) {
  section[id] { scroll-margin-top: 89px; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { height: 89px; padding: 0 46px; }
  .nav-social { display: none; }
  .nav-toggle { margin: 0 0 0 -3px; }
  .logo img { width: 84px; }
  .menu a { font-size: 36px; line-height: 44px; }

  .hero { min-height: min(80vh, 760px); padding: 140px 0 48px; }
  .hero h1 { font-size: 77px; line-height: 82.6px; }
  .hero__tagline, .about__headline, .section-title { font-size: 27.2px; line-height: 35.2px; }

  .about__grid { grid-template-columns: 1fr; gap: 10px; }
  .about__col { padding: 16px 66px 0 18px; }
  .about__photo { padding: 0 18px 40px; }
  .about__photo img { height: auto; max-width: 520px; }
  .music__inner { padding: 18px 18px 0; }

  .videos--2, .videos--3 { grid-template-columns: 1fr; }
  .videos--4 { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }

  .booking__col { width: auto; }
  .booking__title { font-size: 77px; line-height: 82.6px; }

  .site-footer { position: relative; background-position: 72% 30%; }
  .site-footer::before { background: rgba(11, 11, 11, .55); }
}

@media (max-width: 689px) {
  .site-header__inner, .site-header.is-scrolled .site-header__inner { padding: 0 36px; }
  .hero__content { padding: 0 24px; }
  .logo img { width: 84px; }
  .menu a { font-size: 28px; line-height: 36px; letter-spacing: 0; }
  .menu small { font-size: 12px; line-height: 22px; letter-spacing: 1.5px; }
  .menu li { margin-bottom: 14px; }

  .hero { min-height: min(82vh, 640px); padding: 120px 0 34px; }
  .hero h1 { font-size: 71.5px; line-height: 76.7px; }
  .about__col { padding: 16px 12px 0; }
  .about__photo { padding: 0 12px 30px; }
  .music__inner { padding: 12px 12px 0; }
  .kicker { font-size: 18px; line-height: 30.6px; }
  .about__buttons { display: grid; }
  .about__buttons .btn { padding: 18px 14px; font-size: 14px; letter-spacing: 1.5px; }
  .videos--4 { grid-template-columns: 1fr; gap: 24px; }
  .booking__title { font-size: 71.5px; line-height: 76.7px; letter-spacing: 8px; }
  .site-footer__copy { padding-bottom: 50px; }
}

@media (max-width: 374px) {
  .hero h1 { font-size: 60px; line-height: 66px; letter-spacing: 8px; }
  .booking__title { font-size: 56px; line-height: 64px; letter-spacing: 6px; }
}
