:root {
  --bg: #f7f2ea;
  --bg-soft: #efe8dd;
  --panel: #ffffff;
  --ink: #181512;
  --muted: #5f564e;
  --line: #d9cec1;
  --accent: #6f544a;
  --accent-dark: #4f3a32;
  --shadow: 0 20px 50px rgba(24, 21, 18, 0.10);
  --radius: 24px;
  --radius-sm: 16px;
  --shell: min(1120px, calc(100vw - 2rem));
  --shell-narrow: min(980px, calc(100vw - 2rem));
  --heading: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration-color: rgba(24, 21, 18, 0.28);
  text-underline-offset: 0.16em;
}

a:hover { text-decoration-color: currentColor; }

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdfa;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.shell--narrow {
  width: var(--shell-narrow);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24, 21, 18, 0.08);
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 160ms ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link:last-child {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(24, 21, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(24, 21, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
}

.nav-toggle__bar {
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.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;
}

.hero {
  padding: 3rem 0 2.25rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
}

.hero__media {
  min-height: 680px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #e6ddd2;
  box-shadow: var(--shadow);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-kicker--center { text-align: center; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

.meta-line,
.page-hero__copy,
.footer-copy,
.clip-card__sub,
.contact-value,
.info-card p {
  color: var(--muted);
}

.meta-line {
  margin: 0.8rem 0 1.4rem;
  font-size: 1rem;
}

.page-hero {
  padding: 2.1rem 0 0.5rem;
}

.page-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-hero__copy {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.04rem;
}

.section {
  padding: 2.2rem 0 3.4rem;
}

.section--soft { background: var(--bg-soft); }

.section--reel {
  padding-top: 0.5rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.button-row--compact { margin-top: 1rem; }
.button-row--center { justify-content: center; }
.button-row--reel {
  margin-top: 1.1rem;
}

.video-actions {
  margin-top: 1rem;
}

.section--upcoming {
  padding-top: 1.2rem;
}

.upcoming-list {
  display: grid;
  gap: 1rem;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(24, 21, 18, 0.08);
  box-shadow: var(--shadow);
}

.event-card__media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #e6ddd2;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.event-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card__date {
  margin: 0 0 0.55rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.event-card__sub {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(24, 21, 18, 0.08);
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.12rem;
  border: 1px solid rgba(24, 21, 18, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 21, 18, 0.3);
  background: rgba(255, 255, 255, 0.75);
}

.button--primary {
  background: var(--ink);
  color: #fffdfa;
  border-color: var(--ink);
}

.button--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button--with-icon {
  gap: 0.55rem;
}

.button__icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.video-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-card--feature {
  margin: 0 auto;
}

.video-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0b09;
  border: 1px solid rgba(24, 21, 18, 0.08);
}

.video-shell video,
.video-shell iframe,
.video-shell__poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d0b09;
}

.video-shell iframe {
  display: block;
  border: 0;
}

.video-shell[data-video-state="placeholder"] {
  background: #181512;
}

.video-shell__poster {
  position: relative;
}

.video-shell__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 21, 18, 0) 48%, rgba(24, 21, 18, 0.48) 100%);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card,
.media-thumb {
  appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.photo-card {
  display: block;
  text-decoration: none;
}

.photo-card img,
.media-thumb img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-card:hover img,
.media-thumb:hover img {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(24, 21, 18, 0.16);
}

.photo-card__label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
}

.media-tabs,
.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.media-tabs {
  margin-bottom: 1.5rem;
}

.media-tab,
.subtab {
  border: 1px solid rgba(24, 21, 18, 0.12);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.media-tab:hover,
.subtab:hover,
.media-tab.is-active,
.subtab.is-active {
  border-color: rgba(24, 21, 18, 0.22);
  color: var(--ink);
  background: #fffdfa;
}

.media-panel {
  padding-top: 0.3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid--portraits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-thumb--portrait img {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.performance-gallery {
  margin-top: 1.3rem;
}

.clip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.clip-grid--wide {
  max-width: 980px;
}

.clip-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.clip-card__meta {
  padding: 0.9rem 0.35rem 0.2rem;
}

.clip-card__sub {
  margin: 0.35rem 0 0;
}

.section--resume {
  padding-top: 1rem;
}

.embed-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--panel);
  border: 1px solid rgba(24, 21, 18, 0.08);
}

.embed-card iframe {
  width: 100%;
  height: min(1200px, 82vh);
  border: 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-panel,
.portrait-card,
.contact-form {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 21, 18, 0.08);
}

.contact-panel {
  padding: 1.4rem;
}

.contact-panel--center {
  display: grid;
  justify-items: center;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-label {
  margin: 0 0 0.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-value {
  margin: 0;
  font-size: 1.04rem;
}

.portrait-card {
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 21, 18, 0.16);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #fffdfa;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  display: block;
  padding: 1.2rem;
  background: var(--panel);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 21, 18, 0.08);
  text-decoration: none;
}

.info-card h3 {
  margin-bottom: 0.55rem;
}

.info-card p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid rgba(24, 21, 18, 0.08);
  padding: 2rem 0 1rem;
  background: rgba(255,255,255,0.38);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.footer-copy {
  margin: 0;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 21, 18, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 11, 9, 0.88);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
}

.lightbox__image {
  max-height: calc(100vh - 7rem);
  width: auto;
  border-radius: var(--radius-sm);
}

.lightbox__caption {
  margin-top: 0.8rem;
  color: #f4e9dc;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fffdfa;
  font-size: 1.7rem;
}

@media (max-width: 980px) {
  .hero__grid,
  .contact-grid,
  .event-card {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 560px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-strip,
  .gallery-grid,
  .gallery-grid--portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 4.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .nav__link:last-child {
    text-align: center;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__media {
    min-height: 460px;
  }

  .page-hero {
    padding-top: 2rem;
  }

  .page-hero__inner {
    align-items: flex-start;
  }

  .photo-strip,
  .gallery-grid,
  .gallery-grid--portraits,
  .card-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    gap: 0.65rem;
  }
}
