/* Daniel Pera, stunt performer site. Single stylesheet, no external dependencies. */
:root {
  --bg: #0b0b0d;
  --bg-alt: #131317;
  --surface: #1b1b21;
  --line: #2c2c35;
  --text: #ecebe8;
  --muted: #a9a8b0;
  --accent: #e4572e;        /* ember red-orange */
  --accent-ink: #0b0b0d;
  --placeholder: #f2c14e;   /* amber: marks text you still need to fill in */
  --radius: 10px;
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", Impact, var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: .8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.nav-brand {
  font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; font-size: 1rem;
}
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: min(88vh, 820px);
  display: grid; place-items: center; text-align: center;
  padding: 5rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(228, 87, 46, .28), transparent 60%),
    linear-gradient(180deg, #0b0b0d 0%, #111116 60%, #0b0b0d 100%);
  border-bottom: 1px solid var(--line);
}
/* To use a hero photo, uncomment and set the path:
.hero { background: linear-gradient(rgba(11,11,13,.65), rgba(11,11,13,.9)), url("images/hero.jpg") center/cover; }
*/
.hero-inner { max-width: 860px; width: 100%; display: grid; gap: 2.5rem; justify-items: center; }
.hero-portrait { margin: 0; width: min(100%, 280px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(228, 87, 46, .15); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (min-width: 900px) {
  .hero-inner { max-width: var(--max); grid-template-columns: 1.35fr 1fr; align-items: center; justify-items: stretch; gap: 3.5rem; text-align: left; }
  .hero-inner .hero-tagline { margin-left: 0; }
  .hero-inner .hero-actions { justify-content: flex-start; }
  .hero-portrait { width: 100%; max-width: 400px; justify-self: end; }
}
.eyebrow {
  margin: 0 0 1rem; color: var(--accent); font-weight: 700; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase;
}
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 7.5rem); line-height: .92; letter-spacing: .02em;
}
.hero-role {
  margin: .6rem 0 1.4rem; font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.1rem, 3.2vw, 1.6rem); letter-spacing: .35em; color: var(--muted);
}
.hero-tagline { font-size: 1.15rem; margin: 0 auto 2rem; max-width: 40ch; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
  border: 2px solid var(--accent); transition: background .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; scroll-margin-top: 4rem; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.container { max-width: var(--max); margin: 0 auto; }
.container.narrow { max-width: 760px; }
.section-title {
  margin: 0 0 2rem; font-family: var(--display); text-transform: uppercase; font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: .08em;
  display: flex; align-items: center; gap: .9rem;
}
.section-title::before { content: ""; width: 2.2rem; height: 4px; background: var(--accent); flex: none; }
h3 { margin: 0 0 1rem; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h3.sub { margin-top: 1.75rem; }
.note { color: var(--muted); margin-top: 1.25rem; }

.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card p { margin: .35rem 0; }
@media (min-width: 900px) { .skills-grid { grid-template-columns: 2fr 1fr; } }

.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }
.plain-list, .link-list { margin: 0; padding-left: 1.1rem; }
.plain-list li, .link-list li { margin: .3rem 0; }

/* Reel */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { display: grid; place-items: center; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, #0e0e11 0 14px, #121216 14px 28px); }
.reel-link { margin-top: 1rem; }

/* Credits */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.credits-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.credits-group h3 { margin-bottom: .75rem; }
table.credits { width: 100%; border-collapse: collapse; }
.credits th, .credits td { text-align: left; padding: .6rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits tbody th { font-weight: 700; }
.credits td { color: var(--muted); }
.credits thead th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.credits tbody tr:last-child > * { border-bottom: 0; }

/* Actors Doubled */
.section-intro { margin: -0.75rem 0 1.75rem; max-width: 70ch; color: var(--muted); }
.doubles-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem;
  grid-template-columns: repeat(3, 1fr); }
.double-name { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: .9rem 1.15rem;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.15rem; line-height: 1.25; }
li.double-name.placeholder { border-left-color: var(--placeholder); }
p.section-intro.placeholder {
  text-decoration: underline dashed rgba(242, 193, 78, .6); text-underline-offset: 4px;
}

/* Stats */
.stats { margin: 0; display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--surface); padding: 1.1rem 1.25rem; }
.stats > .stat-wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: .25rem 0 0; font-size: 1.1rem; font-weight: 600; }

/* Photos */
.photo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 760px; }
.photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.photo-placeholder { display: grid; place-items: center; text-align: center; padding: 1rem; }

/* Placeholders: amber + dashed underline so unfinished text is obvious.
   Remove class="placeholder" from an element once you've filled it in. */
.placeholder { color: var(--placeholder); font-style: italic; }
span.placeholder, p.placeholder, li.placeholder, dd.placeholder, a.placeholder {
  text-decoration: underline dashed rgba(242, 193, 78, .6); text-underline-offset: 4px;
}
tr.placeholder td { color: var(--placeholder); font-style: italic; }

/* Contact */
.contact-lead { color: var(--muted); margin-bottom: .75rem !important; }
.rep-note { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.rep-note h3 { font-size: .75rem; margin-bottom: .4rem; }
.rep-note p { margin: 0; }
.rep-note a { color: var(--muted); }
.rep-note a:hover { color: var(--accent); }

/* Footer */
.site-footer { text-align: center; padding: 2.5rem 1.25rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  .nav { justify-content: center; }
  .nav-links { gap: .8rem; justify-content: center; }
  .hero { min-height: auto; padding-top: 4rem; }
  .credits th, .credits td { padding: .55rem .7rem; font-size: .92rem; }
  .doubles-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .doubles-grid > .double-name:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: .9rem 1rem; }
  .double-name { font-size: .98rem; padding: .75rem .8rem; }
}
