/* theservicecallkiller.com. A desk, not a dashboard: paper white and ink black, one red (pen, string, stamps),
   brass and tungsten light, a typewriter face and a serif. Night is the home state; daylight turns the page
   to paper. No color carries meaning on its own. */
:root {
  color-scheme: dark light;
  --ink: #14110D; --panel: #1C1813; --rule: #3A3228; --text: #E9E2D2; --soft: #B9AF9B;
  --red: #E5544A; --brass: #C9A468; --glow: rgba(242, 182, 102, 0.16); --sheet: #211C16;
  --type: "Special Elite", "Courier New", Courier, monospace;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}
@media (prefers-color-scheme: light) {
  :root {
    --ink: #F3EEE2; --panel: #EAE3D3; --rule: #CFC5AF; --text: #1B1712; --soft: #5A5040;
    --red: #A3221B; --brass: #7A5A22; --glow: rgba(160, 110, 30, 0.10); --sheet: #FBF8F0;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.65 var(--serif); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -999rem; top: 0; background: var(--sheet); color: var(--text); padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--type); font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); max-width: 24ch; }
h3 { font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; }
p { margin: 0 0 1em; max-width: 62ch; }
.eyebrow { font: 400 0.8rem/1.2 var(--type); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.quiet { color: var(--soft); font-style: italic; }
.lede { font-size: 1.15rem; color: var(--soft); }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }
.band { padding: clamp(3.5rem, 9vw, 7rem) 0; border-top: 1px solid var(--rule); }
.band--sheet { background: var(--panel); }
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

/* The hero: one lamp in a dark office. The photograph sits over a drawn light, so the hero holds with or without it. */
.hero { position: relative; min-height: min(92vh, 56rem); display: grid; align-items: end; overflow: hidden;
  background: radial-gradient(60rem 34rem at 68% 30%, var(--glow), transparent 70%), var(--ink); }
.hero__plate { position: absolute; inset: 0; margin: 0; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, 0.25) 0%, rgba(10, 8, 6, 0.55) 45%, rgba(10, 8, 6, 0.94) 100%); }
.hero__copy { position: relative; z-index: 1; max-width: 76rem; width: 100%; margin: 0 auto; padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(2.5rem, 7vw, 5rem); }
/* Over the photograph the hero is always night, in either theme. */
.hero:has(.hero__plate:not([hidden])) .hero__copy { color: #EFE8D8; }
.hero:has(.hero__plate:not([hidden])) .hero__lede { color: #D5CCB8; }
.wordmark { font-size: clamp(2.5rem, 8.5vw, 6.2rem); letter-spacing: 0.01em; text-transform: uppercase; max-width: 12ch; margin-bottom: 0.25em; }
.tagline { font: italic 400 clamp(1.4rem, 3.2vw, 2.2rem)/1.2 var(--serif); margin-bottom: 1.2rem; }
.tagline::after { content: ""; display: block; width: 7.5rem; height: 3px; margin-top: 0.7rem; background: var(--red); transform: rotate(-1.2deg); }
.hero__lede { max-width: 46ch; color: var(--soft); font-size: 1.15rem; }

.button { display: inline-block; font: 400 0.95rem/1 var(--type); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: #FBF8F0; background: #8F1D17; border: 1px solid #8F1D17; padding: 0.95rem 1.4rem; cursor: pointer; border-radius: 2px; }
.button:hover { background: #A3221B; color: #FFFFFF; }
.button--line { background: transparent; color: var(--text); border-color: var(--text); }
.button--line:hover { background: var(--text); color: var(--ink); }

/* The music toggle: pinned where the eye expects it, lit while the music is set on (it is, unless the visitor turns it off). */
.sound { font: inherit; cursor: pointer; }
.sound:not(.button) { position: fixed; z-index: 10; top: 0.9rem; right: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem;
  color: #EFE8D8; background: rgba(20, 17, 13, 0.82); border: 1px solid #6B5C45; border-radius: 2rem; padding: 0.55rem 0.9rem; min-height: 2.75rem; }
.sound__label { font: 400 0.75rem/1 var(--type); letter-spacing: 0.14em; text-transform: uppercase; }
.sound .sound__off, .sound[aria-pressed="false"] .sound__on { display: none; }
.sound[aria-pressed="false"] .sound__off { display: inline; }
.sound:not(.button)[aria-pressed="false"] { color: #B9AF9B; }
.when-on, [aria-pressed="true"] .when-off { display: none; }
[aria-pressed="true"] .when-on { display: inline; }

.facts { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--rule); max-width: 34rem; }
.facts li { font-family: var(--type); padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }

.plate { margin: 0; }
.plate img { width: 100%; border: 1px solid var(--rule); box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.35); }
.plate figcaption { font: 400 0.85rem/1.4 var(--type); color: var(--soft); padding-top: 0.6rem; }
.plates { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 44rem) { .plates { grid-template-columns: 1fr 1fr; } }

/* The five beats: ruled like a form, numbered like exhibits. */
.beats { list-style: none; counter-reset: beat; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.beats li { counter-increment: beat; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.beats li::before { content: "0" counter(beat); font: 400 1.5rem/1 var(--type); color: var(--red); grid-row: span 2; }
.beats h3 { margin: 0 0 0.3rem; }
.beats p { margin: 0; grid-column: 2; }
@media (min-width: 60rem) { .beats { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* A page of the Profile: typed, struck, rewritten. */
.draft { position: relative; background: var(--sheet); border: 1px solid var(--rule); padding: 1.6rem 1.6rem 2.6rem; margin-top: 2rem; max-width: 30rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25); font-family: var(--type); }
.draft__head { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); border-bottom: 1px solid var(--rule); padding-bottom: 0.7rem; }
.draft__line { font-size: 1.2rem; margin: 0 0 0.6rem; }
.draft__line s { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; color: var(--soft); }
.draft__tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-left: 0.5rem; }
.draft__line--new { font-size: 1.45rem; border: 2px solid var(--text); display: inline-block; padding: 0.3rem 0.7rem; }
.stamp { display: inline-block; font: 400 0.95rem/1 var(--type); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
  border: 3px double var(--red); padding: 0.55rem 0.8rem; transform: rotate(-5deg); opacity: 0.9; margin: 0; }
.draft .stamp { position: absolute; right: 1rem; bottom: 0.9rem; }
.stamps { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.stamps .stamp:nth-child(2) { transform: rotate(3deg); }

.pool { list-style: none; counter-reset: man; padding: 1.2rem 1.4rem; margin: 2rem 0 0; background: var(--sheet); border: 1px solid var(--rule);
  font: 400 0.9rem/1.3 var(--type); columns: 2; column-gap: 2rem; }
.pool li { counter-increment: man; padding: 0.4rem 0; break-inside: avoid; }
.pool li::before { content: counter(man, decimal-leading-zero) "  "; color: var(--brass); }
.pool .is-out { color: var(--soft); text-decoration: line-through; text-decoration-color: var(--soft); }

/* 21, 14, 9: the gaps close as the numbers fall. */
.intervals { display: flex; align-items: center; max-width: none; margin: 1.5rem 0 2.5rem; font: 400 clamp(3rem, 12vw, 8rem)/1 var(--type); }
.intervals i { height: 3px; background: var(--red); margin: 0 clamp(0.6rem, 2vw, 1.5rem); }
.intervals i:nth-of-type(1) { flex: 21 1 0; }
.intervals i:nth-of-type(2) { flex: 9 1 0; }
.intervals span:last-child { color: var(--red); }

.signup label { display: block; font: 400 0.8rem/1.2 var(--type); letter-spacing: 0.14em; text-transform: uppercase; margin: 1.5rem 0 0.5rem; }
.signup__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.signup input { flex: 1 1 16rem; min-width: 0; font: 400 1rem/1.2 var(--type); color: var(--text); background: var(--sheet); border: 1px solid var(--soft); border-radius: 2px; padding: 0.9rem 1rem; }
.signup__note { min-height: 1.6em; margin-top: 0.8rem; font-family: var(--type); font-size: 0.95rem; }
.signup__note[data-state="error"] { color: var(--red); }

.foot { border-top: 1px solid var(--rule); padding: 2.5rem 0 5rem; color: var(--soft); font-size: 0.9rem; }
.lost { min-height: 100vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
