/* StudioRankings
   Palette: rehearsal-room whiteboard, dry-erase markers, road-case aluminum.
   Type: Momo Trust Display for headings and wordmark, Archivo for body, Permanent Marker only on the booking board. */
:root {
  --board: #f2f5f6;
  --surface: #fbfcfc;
  --ink: #1d2125;
  --ink-soft: #4a525a;
  --marker-blue: #1e4fa3;
  --marker-blue-dark: #173e82;
  --marker-red: #c3352b;
  --alu: #8b9299;
  --alu-light: #cfd4d8;
  --case: #25282c;
  --display: "Momo Trust Display", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --marker: "Permanent Marker", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

a { color: var(--marker-blue); text-underline-offset: 0.18em; }
a:hover { color: var(--marker-blue-dark); }

:focus-visible {
  outline: 3px solid var(--marker-blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */
h1, h2 {
  font-family: var(--display);
  font-weight: 400; /* display face ships one weight; avoid faux bold */
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
p { margin: 0 0 1.1rem; }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; max-width: 38rem; }
.prose { max-width: 40rem; }
.muted { color: var(--ink-soft); }
.note { font-size: 0.95rem; color: var(--ink-soft); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--alu-light);
  background: var(--board);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.brand svg { width: 1.6rem; height: 1.6rem; flex: none; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--marker-blue); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--marker-blue);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border: 2px solid var(--marker-blue);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--marker-blue-dark); border-color: var(--marker-blue-dark); color: #fff; }
.btn-small { padding: 0.55rem 0.9rem; font-size: 0.98rem; }
.site-nav .btn { color: #fff; }
.link-quiet { font-weight: 600; }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0 2rem; }
.byline { display: flex; align-items: center; gap: 0.9rem; font-size: 1rem; line-height: 1.4; }
.byline img { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.byline strong { display: block; }
.byline p { margin: 0; }

/* Booking board: the one loud element */
.board {
  margin: 0;
  background: var(--surface);
  border: 10px solid var(--alu-light);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--alu), 0 1px 0 var(--alu);
  padding: 1.1rem 1rem 0.9rem;
}
.board-title {
  font-family: var(--marker);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.board-grid {
  display: grid;
  grid-template-columns: 2.6rem repeat(7, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}
.board-grid > * {
  min-height: 3.4rem;
  padding: 0.35rem 0.3rem;
  border-bottom: 1px solid var(--alu-light);
  border-right: 1px solid var(--alu-light);
  font-family: var(--marker);
  font-size: 0.82rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.board-grid > :nth-child(8n) { border-right: 0; }
.board-grid .day { min-height: 2rem; font-size: 0.95rem; border-bottom: 2px solid var(--ink); }
.board-grid .time { font-family: var(--body); font-weight: 700; font-size: 0.78rem; color: var(--ink-soft); }
.slot.booked { color: var(--ink); }
.slot.empty .was { color: var(--marker-red); }
.slot .now {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marker-blue);
  opacity: 0;
  transform: rotate(-4deg) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.slot.empty .was {
  background-image: linear-gradient(var(--marker-red), var(--marker-red));
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 0% 2px;
  transition: background-size 0.3s ease, opacity 0.3s ease 0.15s;
}
.slot.filled .was { background-size: 100% 2px; opacity: 0; transition: background-size 0.3s ease, opacity 0.25s ease 0.35s; }
.slot.filled .now { opacity: 1; transform: rotate(-4deg) scale(1); }
.board figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.75rem; font-family: var(--body); }
@media (prefers-reduced-motion: reduce) {
  .slot .now, .slot.empty .was { transition: none; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--alu-light); }
.section-head { max-width: 44rem; margin-bottom: 2.25rem; }

/* Log-sheet tables */
.table-wrap { overflow-x: auto; }
.log {
  width: 100%;
  max-width: 60rem;
  border-collapse: collapse;
  font-size: 1.02rem;
  min-width: 34rem;
}
.log th, .log td {
  text-align: left;
  padding: 0.75rem 0.9rem 0.75rem 0;
  border-bottom: 1px solid var(--alu-light);
  vertical-align: top;
}
.log thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.log td.num, .log th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; white-space: nowrap; }
.log td.query { font-weight: 600; }
.log caption { caption-side: bottom; text-align: left; padding-top: 0.9rem; }

/* Work list */
.worklist { display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.worklist li { border-top: 3px solid var(--ink); padding-top: 1rem; }
.worklist p { margin: 0; }

/* Why a drummer */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.photo { margin: 0; }
.photo img { border: 8px solid var(--alu-light); border-radius: 4px; }
.photo figcaption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; }
.checks { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.checks li { margin-bottom: 0.45rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.5rem; max-width: 46rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--marker-blue);
}
.steps p { margin: 0; }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--alu-light); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.15rem; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--marker-blue);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 1.2rem; max-width: 40rem; }

/* Road-case band */
.case-band {
  background: var(--case);
  color: #eef1f3;
  border-top: 6px solid var(--alu-light);
  border-bottom: 6px solid var(--alu-light);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.case-band h2 { color: #fff; }
.case-band p { color: #d5dadf; max-width: 38rem; }
.case-band .btn { background: #fff; color: var(--case); border-color: #fff; }
.case-band .btn:hover { background: var(--alu-light); border-color: var(--alu-light); color: var(--case); }

/* Forms */
.form { max-width: 38rem; display: grid; gap: 1.2rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { display: block; font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--alu);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--marker-blue); outline-offset: 1px; border-color: var(--marker-blue); }
.hidden-field { position: absolute; left: -9999px; }

/* Page header for inner pages */
.page-head { padding-block: clamp(3rem, 6vw, 4.5rem) 1rem; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 20ch; }

/* Footer */
.site-footer { padding-block: 2.5rem 3rem; font-size: 0.98rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { color: var(--ink); }
.site-footer p { margin: 0 0 0.35rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .worklist { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .site-nav { gap: 0.9rem; }
  .site-nav .nav-about { display: none; }
  .board { border-width: 7px; padding: 0.9rem 0.7rem 0.75rem; }
  .board-grid { grid-template-columns: 2.3rem repeat(4, minmax(0, 1fr)); }
  .board-grid .wknd { display: none; }
  .board-grid > :nth-child(8n) { border-right: 1px solid var(--alu-light); }
  .board-grid > .thu { border-right: 0; }
}
