/*
  Palette
  Every color on the page comes from these variables.
  Charcoal is the text. Near-black is for dark bars.
  Red is the accent, used on the buttons.
  Gray is secondary text.

  The logo files and the three example PNGs are separate from
  these variables. Replace the files in place when the recolored
  versions arrive. Paths stay the same:
  public/logo-reversed.svg, public/logo-light.svg,
  public/favicon.svg, public/img/coaching-desk.png,
  public/img/pipeline-health.png, public/img/revenue-pacing.png.
*/

:root {
  --color-charcoal: #1c1c1c;
  --color-red: #d7263d;
  --color-dark: #141414;
  --color-gray: #6b6b6b;
  --color-bg: #f6f6f4;
  --color-surface: #ffffff;
  --color-band: color-mix(in srgb, var(--color-charcoal) 6%, var(--color-bg));
  --color-line: #e2e2e2;
  --color-white: #ffffff;
  --color-on-dark: #ffffff;
  --color-on-accent: var(--color-white);
  --color-accent-hover: color-mix(in srgb, var(--color-red) 86%, black);
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shell: 1160px;
  --radius: 12px;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-charcoal);
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-charcoal);
  outline-offset: 3px;
}

::selection {
  background: var(--color-red);
  color: var(--color-on-accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--color-red);
  color: var(--color-on-accent);
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.site-header :focus-visible {
  outline-color: var(--color-red);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.05rem 0;
}

.logo-link {
  display: block;
  max-width: 100%;
  line-height: 0;
  flex: 0 1 auto;
}

.logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(320px, 100%);
  aspect-ratio: 463.545 / 104.145;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.nav a:not(.cta) {
  color: var(--color-on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35rem 0;
}

.nav a:not(.cta):hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: var(--color-red);
  color: var(--color-on-accent);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.cta:hover {
  background: var(--color-accent-hover);
}

.cta-large {
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
}

.hero {
  padding: 3.5rem 0 0.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--color-gray);
  font-size: 1rem;
  font-weight: 500;
}

.hero-copy p {
  max-width: 38rem;
}

.hero-copy .cta {
  margin-top: 0.35rem;
}

.section {
  margin-top: 4.75rem;
}

.help-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.help-list li {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}

.help-list h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.help-list p {
  margin: 0;
  color: var(--color-charcoal);
}

.band {
  margin-top: 4.75rem;
  padding: 3.75rem 0;
  background: var(--color-band);
}

.fee {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.band-intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.deliverables {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.deliverables li {
  margin: 0;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 2px solid var(--color-charcoal);
}

.band-note {
  max-width: 40rem;
  margin: 0;
}

.section-caption {
  max-width: 42rem;
  color: var(--color-gray);
  margin-bottom: 1.25rem;
}

.gallery {
  display: grid;
  gap: 1rem;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.frame {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.55rem 0.55rem 0.75rem;
}

.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-bg);
  cursor: zoom-in;
  line-height: 0;
  border-radius: 8px;
}

.shot img,
.lb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--color-bg);
}

.frame figcaption {
  margin: 0.6rem 0.15rem 0.1rem;
  color: var(--color-gray);
  font-size: 0.92rem;
  line-height: 1.4;
}

.work-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
}

.work-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.work-card dl {
  margin: 0;
}

.work-card dt {
  margin: 0.85rem 0 0.2rem;
  color: var(--color-charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card dt:first-child {
  margin-top: 0;
}

.work-card dd {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.98rem;
  line-height: 1.5;
}

.about-copy {
  max-width: 40rem;
}

.talk {
  margin-top: 4.5rem;
  padding-top: 0.25rem;
}

.talk-line {
  max-width: 28rem;
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-gray);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-logo {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 463.545 / 104.145;
  margin-bottom: 0.8rem;
}

dialog {
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0.75rem 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-charcoal);
}

dialog::backdrop {
  background: color-mix(in srgb, var(--color-dark) 70%, transparent);
}

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.lb-bar p {
  margin: 0;
  font-weight: 600;
}

.lb img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  margin-inline: auto;
}

.lb .section-caption {
  margin: 0.7rem 0 0.15rem;
}

.close {
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-charcoal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.close:hover {
  background: var(--color-bg);
}

.missing {
  padding: 4rem 0 5rem;
}

.missing h1 {
  margin-bottom: 0.75rem;
}

.text-link {
  color: var(--color-charcoal);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .logo-link {
    flex-basis: 100%;
    max-width: min(280px, 100%);
  }

  .nav {
    width: 100%;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-grid,
  .help-list,
  .work-list,
  .deliverables,
  .pair {
    grid-template-columns: 1fr;
  }

  .deliverables li {
    border-left: 0;
    border-top: 1px solid var(--color-line);
    padding: 0.9rem 0 0;
  }

  .header-bar {
    align-items: flex-start;
  }

  .section {
    margin-top: 3.25rem;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--shell), calc(100% - 2rem));
  }

  .nav {
    width: 100%;
  }

  .nav .cta,
  .hero-copy .cta {
    width: 100%;
  }

  .cta-large {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .cta,
  dialog {
    display: none;
  }
}
