/* Tragic Lovers site styles. Warrior Class has its own stylesheet (warriorclass.css). */
:root {
  --ink: #0e0d0d;
  --ink-2: #171515;
  --paper: #f3efea;
  --mist: #b8b1ab;
  --line: #2e2b2b;
  --pink: #e43080;
  --blue: #5bcefa; /* light blue, as in the trans flag; pairs with the pink */
  --display: 'Montserrat', 'Arial Black', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 10; }

/* Logo (src/images/brand, from tl-logo-primary.svg) */
.brand img { width: 132px; height: auto; }
.hero-logo { width: clamp(260px, 46vw, 620px); height: auto; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
body:not(.home) .site-header { position: static; border-bottom: 1px solid var(--line); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { text-decoration: none; color: var(--paper); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a { text-decoration: none; padding: 12px 0; }
.site-header nav a[aria-current="page"] { color: var(--pink); }
.site-header nav .nav-wc { color: #F2D21E; }
.home .brand { visibility: hidden; }

/* Buttons and small type */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-radius: 2px; }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { border: 2px solid var(--paper); color: var(--paper); padding: 10px 20px; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.label { margin: 0 0 12px; font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.lede { font-size: 21px; color: var(--paper); margin: 12px 0 0; max-width: 46ch; }
.caption { font-size: 15px; color: var(--mist); margin-top: 14px; }
.h-big { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 64px); line-height: .95; letter-spacing: -.01em; }
.h-page { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 9vw, 120px); line-height: .9; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(100vh, 980px); overflow: hidden; background: var(--ink); }
.hero picture { position: absolute; top: 0; left: 0; right: 0; height: 74%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.05); }
.hero::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 74%; background: linear-gradient(180deg, rgba(14,13,13,.6) 0%, rgba(14,13,13,0) 18%, rgba(14,13,13,0) 55%, var(--ink) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 52vh; padding-bottom: 56px; }
.hero h1 { margin: 0; }
.hero-tag { margin: 18px 0 0; font-family: var(--mono); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
@media (max-width: 700px) {
  .hero picture, .hero::after { height: 70%; }
  .hero-img { object-position: center 25%; }
  .hero-copy { padding-top: 56vh; padding-bottom: 40px; }
}

/* Next shows */
.band-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.next-shows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 32px; }
.next-shows li { display: flex; flex-direction: column; gap: 4px; }
.ns-date { font-family: var(--mono); font-size: 15px; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.ns-venue { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.ns-with { color: var(--mist); }
.next-shows-big { grid-template-columns: 1fr; }
.next-shows-big li { padding: 20px 0; border-top: 1px solid var(--line); }
.next-shows-big .ns-venue { font-size: clamp(26px, 3.4vw, 40px); }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding-top: 24px; }
.section-flush { padding-top: 0; }
.section-dark { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cover, .photo { width: 100%; }
.cover { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 45%; }
.photo { filter: grayscale(1); }
.photo-color { filter: none; }
.photo-wide { margin-bottom: 40px; }
.credits { list-style: none; padding: 0; margin: 20px 0 0; font-size: 15px; color: var(--mist); }
.credits li + li { margin-top: 4px; }
.tracklist { margin: 12px 0 0; padding-left: 1.6em; font-size: 16px; }
.tracklist li + li { margin-top: 4px; }
.tracklist li::marker { font-family: var(--mono); color: var(--blue); }
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 28px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-spaced { margin-top: 64px; }

/* Page heads */
.page-head { padding: 64px 0 40px; }
.page-head-photo { position: relative; padding: 140px 0 48px; overflow: hidden; }
.page-head-photo picture { position: absolute; inset: 0; }
.page-head-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .55; }
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,13,.2), var(--ink)); }
.page-head-photo .wrap { position: relative; z-index: 2; }
.pill-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--mist); border-radius: 999px; font-family: var(--mono); font-size: 14px; text-decoration: none; }
.pill-links a:hover { border-color: var(--pink); }
.pill-links-stack { flex-direction: column; align-items: flex-start; margin-top: 0; }

/* Releases */
.release-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
.release-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.release-card img, .cover-type { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.release-card:hover .rc-title { color: var(--pink); }
.cover-type { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 30px; line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.cover-type .ct-band { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; line-height: 1.2; }
.release-grid li:nth-child(3n+2) .cover-type { background: var(--pink); }
.release-grid li:nth-child(3n) .cover-type { background: var(--blue); }
.cover-type-big { aspect-ratio: 1 / 1; font-size: clamp(40px, 6vw, 72px); padding: 28px; }
.cover-type-big .ct-band { font-size: 14px; }
.rc-title { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; margin-top: 6px; }
.rc-meta { font-family: var(--mono); font-size: 13px; color: var(--mist); }
.crumb { font-family: var(--mono); font-size: 14px; color: var(--mist); margin: 0 0 28px; }

/* Shows archive */
.year-block { margin-top: 36px; }
.year { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--pink); }
.table-scroll { overflow-x: auto; }
.shows { width: 100%; border-collapse: collapse; min-width: 560px; }
.shows th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.shows td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.t-date { font-family: var(--mono); font-size: 15px; white-space: nowrap; width: 90px; color: var(--blue); }
.t-venue { font-weight: 600; width: 34%; }
.t-with { color: var(--mist); }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; background: var(--blue); color: var(--ink); margin-left: 4px; }

/* About */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 16px; }
.members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.members img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.m-name { display: block; margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.m-role { font-family: var(--mono); font-size: 14px; color: var(--mist); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; }
.form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.form input, .form textarea { font: inherit; font-family: var(--body); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--paper); background: var(--ink-2); border: 1px solid #4a4545; padding: 12px 14px; min-height: 48px; }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; border: 0; cursor: pointer; }
.form-note { margin: 0; font-size: 15px; color: var(--mist); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.signoff { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4vw, 44px); text-transform: uppercase; color: var(--pink); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: 14px; }
.footer-links a { display: inline-block; padding: 10px 0; }
.fineprint { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--mist); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .split, .split-reverse, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .members { grid-template-columns: 1fr 1fr; }
  .members li:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); }
  .site-header nav { font-size: 13px; }
}
@media (max-width: 480px) {
  .header-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .members { grid-template-columns: 1fr; }
  .members li:last-child { max-width: none; }
  .site-header nav { font-size: 12px; letter-spacing: .04em; column-gap: 13px; row-gap: 0; }
  .site-header nav a { padding: 8px 0; }
}
.split-copy h2.label { margin: 32px 0 0; }
.label-spaced { margin-top: 64px; }
.video-tight { margin-top: 0; }
.video-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 28px; }
.video-grid .video-lead { grid-column: 1 / -1; }
.vg-title { margin: 16px 0 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; letter-spacing: .01em; }
.video-lead .vg-title { font-size: 26px; }
.vg-meta { margin: 6px 0 0; font-size: 15px; color: var(--mist); }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; gap: 36px; } }
