/* Pat Caporuscio — Actor Site */
:root {
  --bg: #141414;
  --bg-elevated: #1c1c1e;
  --bg-card: #222225;
  --charcoal: #1a1a1c;
  --text: #f2efe8;
  --text-muted: #a8a29a;
  --gold: #c9a227;
  --gold-soft: #d4b84a;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --line: rgba(242, 239, 232, 0.08);
  --line-strong: rgba(201, 162, 39, 0.35);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: #f0d878; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; }
h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: var(--text);
  position: relative;
  display: inline-block;
}
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 0.55em;
  background: linear-gradient(90deg, var(--gold), transparent);
}
h3 { font-size: 1.25rem; color: var(--gold-soft); margin-bottom: 0.4em; }
p { margin: 0 0 1em; color: var(--text-muted); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: 5rem 0; border-top: 1px solid var(--line); }
.section-lead { max-width: 62ch; margin-bottom: 2rem; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(20,20,20,0.88);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201,162,39,0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,162,39,0.06), transparent 50%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 { margin-bottom: 0.35em; }
.hero-role {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.chip {
  border: 1px solid var(--line-strong);
  background: var(--gold-dim);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a8841a);
  color: #141414;
  font-weight: 600;
}
.btn-primary:hover { color: #141414; }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem;
  text-align: center;
}
.stat-value {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Cards / grids */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card p:last-child { margin-bottom: 0; }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.reel-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.reel-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.reel-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  overflow: hidden;
}
.reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.reel-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}
.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(20,20,20,0.7);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.reel-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.reel-body h3 { margin-bottom: 0.35rem; font-size: 1.15rem; }
.reel-body p { font-size: 0.92rem; flex: 1; }
.reel-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.skills-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-clean li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.list-clean li strong { color: var(--text); font-weight: 500; }

.placeholder-box {
  border: 1px dashed var(--line-strong);
  background: rgba(201,162,39,0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text-muted);
}
.placeholder-box strong { color: var(--gold-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card.featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(160deg, rgba(201,162,39,0.1), transparent 45%),
    var(--bg-elevated);
}
.contact-row {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}
.contact-row .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-row .value { color: var(--text); }
.contact-row .value a { color: var(--text); }
.contact-row .value a:hover { color: var(--gold-soft); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; order: -1; width: min(100%, 340px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-card:last-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20,20,20,0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
  .nav-links.open { display: flex; }
  .section { padding: 3.5rem 0; }
}

/* Credits */
.credit-block { margin-bottom: 2.25rem; }
.credit-block h3 { margin-bottom: 0.85rem; }
.credit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.credit-table th,
.credit-table td {
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.credit-table th {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.credit-table td.title { color: var(--text); font-weight: 500; }
.credit-table td.year { color: var(--gold-soft); white-space: nowrap; width: 4.5rem; }
.credit-table td.role { color: var(--text-muted); }
.credit-table td.meta { color: var(--text-muted); font-size: 0.85rem; }
.source-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.credit-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.gallery-grid figcaption {
  padding: 0.65rem 0.8rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.gallery-grid figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.bio-source {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 720px) {
  .credit-table, .credit-table thead, .credit-table tbody, .credit-table th, .credit-table td, .credit-table tr {
    display: block;
  }
  .credit-table thead { display: none; }
  .credit-table tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .credit-table td {
    border: 0;
    padding: 0.15rem 0;
  }
  .credit-table td.year { color: var(--gold-soft); }
}

/* Demo reel featured players */
.demo-reel { margin-bottom: 2.75rem; }
.demo-reel > h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.35rem;
}
.demo-reel .demo-lead {
  color: var(--text-muted);
  max-width: 65ch;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.demo-featured {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-featured video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.demo-featured .demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 1.25rem 1.15rem;
}
.demo-featured .demo-meta h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.demo-featured .demo-meta p {
  margin: 0;
  font-size: 0.88rem;
}
.demo-parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.15rem;
}
.demo-part {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-part video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.demo-part .demo-meta {
  padding: 0.85rem 1rem 1rem;
}
.demo-part .demo-meta h4 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.demo-part .demo-meta p {
  margin: 0;
  font-size: 0.82rem;
}
.backstage-reels-label {
  margin: 2.5rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
}
@media (max-width: 900px) {
  .demo-parts { grid-template-columns: 1fr; }
}
