/* Trailboss Management — Swiss / International Style
   Cobalt #0047ab on white. No border radius anywhere. */

:root {
  --cobalt: #0047ab;
  --cobalt-dark: #002f6f;
  --rule-faint: rgba(0, 71, 171, 0.32);
  --photo-bg: #dce6f5;
  --gutter: 72px;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--cobalt);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; margin: 0; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-dark); }
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}
::selection { background: rgba(0, 71, 171, 0.18); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.rule-top { border-top: 1px solid var(--cobalt); }
.rule-bottom { border-bottom: 1px solid var(--cobalt); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--cobalt);
  padding: 26px var(--gutter) 20px;
  align-items: center;
}
.brand { grid-column: span 4; display: flex; align-items: center; }
.brand .mark {
  height: 137px; width: 340px; max-width: 100%;
  background: var(--cobalt);
  -webkit-mask: url(trailboss-logo.png) no-repeat left center / contain;
  mask: url(trailboss-logo.png) no-repeat left center / contain;
}
.site-nav {
  grid-column: 6 / span 7;
  display: flex; gap: 34px; justify-content: flex-end; align-items: center;
}
.site-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
}
.nav-cta {
  border: 1px solid var(--cobalt);
  padding: 9px 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--cobalt); color: #fff; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  grid-column: span 2;
  justify-self: end;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--cobalt);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  margin: 4px auto;
  background: var(--cobalt);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- type ---------- */
.h-home { grid-column: span 9; font-size: 57px; line-height: 0.97; letter-spacing: -0.04em; text-wrap: balance; }
.h-section { font-size: 74px; line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.h-artist { font-size: 84px; line-height: 0.95; letter-spacing: -0.04em; }
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.micro {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.mono { font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; }
.body { font-size: 15px; line-height: 1.6; font-weight: 400; }

.section-head { padding: 22px var(--gutter) 0; align-items: baseline; }

/* ---------- duotone ---------- */
.duo { position: relative; overflow: hidden; background: var(--photo-bg); }
.duo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.65) brightness(1.12);
  transition: filter 0.4s ease;
}
.duo::after, .duo .grain { pointer-events: none; }
.duo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--cobalt); mix-blend-mode: multiply; opacity: 0.70;
  transition: opacity 0.4s ease;
}
.duo .grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(#fff 0.9px, transparent 1px);
  background-size: 4px 4px; mix-blend-mode: soft-light; opacity: 0.42;
  transition: opacity 0.4s ease;
}
.duo-hover:hover img { filter: none; }
.duo-hover:hover::after { opacity: 0; }
.duo-hover:hover .grain { opacity: 0; }

/* embeds keep the treatment but never reveal */
.embed { position: relative; border: 1px solid var(--cobalt); }
.embed iframe {
  display: block; width: 100%; border: 0;
  filter: grayscale(1) contrast(1.15) brightness(1.08);
}
.embed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--cobalt); mix-blend-mode: multiply; opacity: 0.62;
}
.embed .grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#fff 0.9px, transparent 1px);
  background-size: 4px 4px; mix-blend-mode: soft-light; opacity: 0.35;
}

/* ---------- home ---------- */
.hero { padding: 104px var(--gutter) 112px; }
.press-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 24px;
  padding: 44px var(--gutter) 112px;
}
.press-card { display: flex; flex-direction: column; gap: 14px; }
.press-card .duo { aspect-ratio: 16 / 10; }
.press-meta {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--cobalt); padding-top: 12px;
}
.press-title { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; }

/* video slider */
.video-nav { grid-column: 9 / span 4; display: flex; gap: 10px; justify-self: end; align-items: center; }
.video-nav .counter { font: 11px ui-monospace, monospace; letter-spacing: 0.06em; margin-right: 8px; }
.video-nav button {
  font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--cobalt); background: transparent;
  border: 1px solid var(--cobalt); padding: 8px 16px; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.video-nav button:hover { background: var(--cobalt); color: #fff; }
.video-stage { padding: 36px var(--gutter) 112px; }
.video-poster {
  position: relative; display: block; border: 1px solid var(--cobalt);
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--photo-bg);
}
.video-poster .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt); background: #fff; padding: 14px 28px;
}
.video-frame { position: relative; border: 1px solid var(--cobalt); aspect-ratio: 16 / 9; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- roster ---------- */
.roster-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 56px 24px;
  padding: 0 var(--gutter) 120px;
}
.roster-card { display: flex; flex-direction: column; gap: 16px; }
.roster-card .duo { aspect-ratio: 1; }
.roster-meta {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--cobalt); padding-top: 12px;
}
.roster-name { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }

/* ---------- artist detail ---------- */
.artist-body { padding: 0 var(--gutter) 96px; }
.artist-left { grid-column: span 7; display: flex; flex-direction: column; gap: 32px; }
.artist-right { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 44px; }
.artist-hero { aspect-ratio: 1; max-width: 520px; }
.bio-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  border-top: 1px solid var(--cobalt); padding-top: 20px;
}
.bio-cols p { margin: 0; font-size: 14px; line-height: 1.6; }
.block-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 14px; border-bottom: 1px solid var(--cobalt);
}
.press-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 16px; }
.press-photos a { position: relative; aspect-ratio: 1; display: block; }
.press-photos .tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cobalt); background: #fff; padding: 6px 10px;
}
.press-credit { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; }
.detail-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--rule-faint);
}
.detail-row .k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.detail-row .v { font-size: 14px; }
.btn-solid {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: #fff; background: var(--cobalt); border: 1px solid var(--cobalt);
  padding: 14px 26px; cursor: pointer;
  transition: background 0.2s ease;
}
.btn-solid:hover { background: var(--cobalt-dark); color: #fff; }
.elsewhere a {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--rule-faint); font-size: 14px;
}
.dates-wrap { padding: 32px var(--gutter) 64px; }
.next-roster { padding: 26px var(--gutter) 96px; border-top: 1px solid var(--cobalt); }
.next-roster .names { grid-column: 5 / span 8; display: flex; gap: 32px; flex-wrap: wrap; }
.next-roster .names a { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }

/* ---------- listen ---------- */
.playlist-wrap { padding: 0 var(--gutter) 56px; }
.playlist-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px solid var(--cobalt);
}
.players {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px;
  padding: 44px var(--gutter) 120px; border-top: 1px solid var(--cobalt);
}
.player { display: flex; flex-direction: column; gap: 12px; }
.player-name { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }

/* ---------- partners ---------- */
.partner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 44px var(--gutter) 120px; border-top: 1px solid var(--cobalt);
}
.partner {
  position: relative; display: block;
  border: 1px solid var(--cobalt); aspect-ratio: 16 / 9;
  overflow: hidden; background: #fff;
}
.partner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 22px;
  filter: grayscale(1) contrast(1.35) brightness(1.06);
}
.partner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--cobalt); mix-blend-mode: lighten; opacity: 1;
  transition: opacity 0.25s ease;
}
.partner:hover::after { opacity: 0; }
.partner .name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 8px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cobalt); background: #fff; border-top: 1px solid var(--cobalt);
  opacity: 0; transition: opacity 0.25s ease;
}
.partner:hover .name { opacity: 1; }

/* ---------- contact ---------- */
.contact-wrap { padding: 96px var(--gutter) 120px; }
.contact-form { grid-column: span 7; display: flex; flex-direction: column; }
.contact-form label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 8px;
}
.contact-form select,
.contact-form input,
.contact-form textarea {
  font-family: inherit; font-size: 15px; color: var(--cobalt);
  background: transparent; border: 0; border-bottom: 1px solid var(--cobalt);
  border-radius: 0; padding: 10px 0 12px; margin-bottom: 26px; outline: none;
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; margin-bottom: 30px; }
.contact-form button {
  align-self: flex-start;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #fff; background: var(--cobalt); border: 1px solid var(--cobalt);
  padding: 15px 32px; cursor: pointer; transition: background 0.2s ease;
}
.contact-form button:hover { background: var(--cobalt-dark); }
.contact-socials {
  display: flex; gap: 26px; align-items: center;
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--cobalt);
}
.contact-socials a { display: flex; align-items: center; transition: opacity 0.2s ease; }
.contact-socials a:hover { opacity: 0.6; }
.contact-socials svg { width: 26px; height: 26px; fill: var(--cobalt); display: block; }
.contact-socials .wordmark { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; }

/* ---------- footer ---------- */
.site-footer { padding: 28px var(--gutter) 44px; border-top: 1px solid var(--cobalt); }
.site-footer .copy { grid-column: span 3; font-size: 12px; }
.site-footer .links {
  grid-column: 9 / span 4; display: flex; gap: 22px; justify-content: flex-end;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .brand .mark { height: 92px; width: 230px; }
  .h-home { font-size: 44px; grid-column: span 12; }
  .h-section { font-size: 52px; }
  .h-artist { font-size: 56px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .players { grid-template-columns: repeat(2, 1fr); }
  .artist-left, .artist-right { grid-column: span 12; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-form { grid-column: span 12; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .site-header { padding: 18px var(--gutter) 14px; }
  .brand { grid-column: span 10; }
  .brand .mark { height: 56px; width: 140px; }
  .nav-toggle { display: block; }
  .site-nav {
    grid-column: span 12;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 18px;
    border-top: 1px solid var(--cobalt);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    font-size: 15px;
    letter-spacing: 0.1em;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule-faint);
  }
  .site-nav .nav-cta {
    border: 0;
    border-bottom: 1px solid var(--rule-faint);
    padding: 18px 0;
  }
  .site-nav .nav-cta:hover { background: transparent; color: var(--cobalt-dark); }

  /* homepage: three news items only */
  .press-grid .press-card:nth-child(n + 4) { display: none; }
  .hero { padding: 56px var(--gutter) 64px; }
  .h-home { font-size: 34px; }
  .h-section { font-size: 38px; }
  .h-artist { font-size: 40px; }
  .press-grid, .roster-grid, .players, .partner-grid { grid-template-columns: 1fr; }
  .bio-cols { grid-template-columns: 1fr; }
  .press-photos { grid-template-columns: repeat(2, 1fr); }
  .video-nav { grid-column: span 12; justify-self: start; margin-top: 12px; }
  .site-footer .copy, .site-footer .links { grid-column: span 12; justify-content: flex-start; }
  .next-roster .names { grid-column: span 12; }
}
