:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --text: #221c18;
  --muted: #6b5f57;
  --rule: #e4d9cc;
  --accent: #8c1f2e;
  --accent-ink: #ffffff;
  --accent-soft: #f3e3e1;
  --hero-bg: #000000;
  --hero-text: #f4efe8;
  --hero-muted: #c9bfb3;
  --gold: #c99a4a;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --measure: 720px;
  --wide: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131110;
    --surface: #1c1917;
    --text: #efe8df;
    --muted: #b1a59a;
    --rule: #37302b;
    --accent: #f0b15f;
    --accent-ink: #1a1210;
    --accent-soft: #2a2119;
  }
}

*, *::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(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 10px;
}
p { margin: 0 0 16px; }

.meta { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.print-only { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}
.button:active { transform: scale(0.98); }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { filter: brightness(1.08); }
.button.ghost { color: var(--hero-text); border: 1px solid rgba(244, 239, 232, 0.45); }
.button.ghost:hover { border-color: var(--hero-text); }

/* Hero: always dark, so the black-and-white photo blends into it */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  text-align: center;
  padding: 48px var(--gutter) 0;
}
.hero-text { max-width: var(--measure); margin: 0 auto; position: relative; z-index: 1; }
.logo { width: 72px; margin: 0 auto 20px; filter: invert(1); opacity: 0.9; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 11vw, 96px);
  letter-spacing: 0.01em;
}
.kicker {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hook {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--hero-muted);
  margin: 16px 0 28px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .button.primary { background: #f0b15f; color: #1a1210; }
.hero-photo {
  width: 100%;
  max-width: 1040px;
  margin: 8px auto 0;
  /* Fade the photo's edges into the black hero so no seam shows */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

/* Sections */
.section {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--rule);
}
.section.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
main > .section:first-child { border-top: 0; }
.lede { color: var(--muted); }

/* Video */
.video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  color: #ff0033;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.video:hover img { transform: scale(1.015); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.play svg { width: 76px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45)); }

/* Bio */
.bio { font-size: 18px; }

/* Credits */
.clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.clients li {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  padding: 6px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
}

/* Venues */
.venues { list-style: none; margin: 0; padding: 0; }
.venues li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.venues li:first-child { border-top: 1px solid var(--rule); }
.venues strong { flex: 1 1 0; min-width: 0; font-weight: 600; }
.venues span { color: var(--muted); text-align: right; }

/* Quotes */
.quote { margin: 0 0 20px; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 15px; }
.quote.featured {
  padding: 28px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--rule);
}
.quote.featured blockquote p { font-size: clamp(24px, 3.6vw, 28px); }
.quote-grid { display: grid; gap: 20px; margin-top: 8px; }
.quote-grid .quote {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
}
.quote.press { padding-left: 0; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: 1fr 1fr; } }

/* Formats */
.formats { margin: 0 0 20px; }
.formats div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.formats div:first-child { border-top: 1px solid var(--rule); }
.formats dt { flex: 1 1 0; min-width: 0; font-weight: 600; }
.formats dd { margin: 0; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tech */
.tech-grid { display: grid; gap: 4px 32px; }
.tech-grid h3 { margin-top: 20px; }
.tech-grid ul { margin: 0; padding-left: 20px; }
.tech-grid li { margin-bottom: 6px; }
@media (min-width: 640px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* Photos */
.gallery { column-gap: 20px; }
@media (min-width: 760px) { .gallery { column-count: 2; } }
.gallery figure { margin: 0 0 24px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 10px; background: var(--surface); }
.gallery figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding-top: 10px;
  font-weight: 500;
}
.gallery figcaption strong { flex-basis: 100%; font-weight: 500; }
.gallery figcaption a { font-weight: 600; font-size: 15px; }

/* Downloads */
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.download-card:hover { border-color: var(--accent); }
.download-card strong { display: block; }
.file-type {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
}

/* Contact */
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
}
.contact-list .label { width: 88px; flex: none; color: var(--muted); font-size: 15px; padding-top: 2px; }
.contact-list a { overflow-wrap: anywhere; font-weight: 500; }

.footer {
  padding: 32px var(--gutter) 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--rule);
}
.footer p { margin: 0; }

/* Print: a clean, ink-light document */
@media print {
  @page { margin: 14mm; }
  :root {
    --bg: #fff; --surface: #fff; --text: #000; --muted: #444; --rule: #ccc;
    --accent: #000; --accent-ink: #fff; --accent-soft: #fff; --gold: #444;
  }
  body { font-size: 11pt; line-height: 1.45; background: #fff; color: #000; }
  .hero { background: #fff; color: #000; padding: 0 0 12px; }
  .logo { filter: none; width: 56px; margin-bottom: 8px; }
  .hero h1 { font-size: 34pt; }
  .kicker { color: #000; }
  .hook { color: #333; margin-bottom: 8px; }
  .actions, .play, .video, .hero-photo { display: none; }
  .print-only { display: block; }
  .section { padding: 14px 0; max-width: none; }
  h2 { font-size: 20pt; margin-bottom: 8px; }
  h3 { margin-top: 12px; }
  .quote.featured, .quote-grid .quote { padding: 10px 12px; }
  .quote blockquote p, .quote.featured blockquote p { font-size: 13pt; }
  .clients li { font-size: 13pt; padding: 2px 10px; }
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; column-count: auto; }
  .gallery figure { margin: 0; }
  .gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
  #photos { break-inside: avoid; }
  .gallery figcaption a { display: none; }
  figure, .formats div, .venues li, .contact-list li, .tech-grid > div { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  #photos, #downloads { break-before: auto; }
  #downloads { display: none; }
  .contact .button { display: none; }
  a { color: #000; text-decoration: none; }
  .footer { border-top: 1px solid #ccc; padding: 8px 0 0; }
}

/* Keep body copy to a readable measure and avoid one-word last lines. */
p, blockquote, figcaption { max-width: 56ch; text-wrap: pretty; }
.hero p { margin-left: auto; margin-right: auto; }
