:root {
  --ink: #1d1b1a;
  --paper: #f1e8dc;
  --rose: #a7565b;
  --rose-dark: #834348;
  --blue: #1e4d55;
  --white: #fffaf3;
  --line: rgba(29, 27, 26, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .17; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.site-header { position: fixed; z-index: 90; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; background: rgba(241,232,220,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.wordmark { font: 900 24px/1 Arial Narrow, Arial, sans-serif; text-decoration: none; letter-spacing: -.05em; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .17em; }
nav a:hover { color: var(--rose); }
.menu-toggle { display: none; border: 0; background: transparent; text-transform: uppercase; letter-spacing: .14em; }
.hero { min-height: 900px; height: 100vh; position: relative; overflow: hidden; display: grid; grid-template-columns: 48% 52%; align-items: center; padding: 110px 5vw 40px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 52%); pointer-events: none; }
.hero-shape { position: absolute; z-index: 0; right: -5%; top: 0; width: 58%; height: 100%; background: var(--rose); clip-path: polygon(26% 0,100% 0,100% 100%,0 100%,32% 52%); }
.hero-copy { z-index: 3; align-self: center; max-width: 650px; }
.eyebrow,.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 700; }
h1 { margin: 22px 0 10px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(88px, 10.4vw, 164px); line-height: .85; letter-spacing: -.045em; text-transform: uppercase; font-weight: 900; }
h1 span { display: block; }
.role { margin: 30px 0 22px; font-size: clamp(18px,2vw,30px); text-transform: uppercase; letter-spacing: .25em; }
.rule { width: 58px; height: 3px; background: var(--rose); }
.genres { margin: 25px 0 32px; font-size: 15px; text-transform: uppercase; letter-spacing: .27em; font-weight: 700; }
.genres span { color: var(--rose); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 24px; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; border: 1px solid var(--ink); transition: .2s ease; }
.button-primary { background: var(--rose); border-color: var(--rose); color: white; }
.button-primary:hover { background: var(--rose-dark); transform: translateY(-2px); }
.button-secondary:hover { background: var(--ink); color: white; }
.hero-photo-wrap { position: absolute; z-index: 2; right: -1%; bottom: -1%; width: min(61vw, 900px); height: 92%; display: flex; align-items: flex-end; justify-content: center; }
.hero-photo { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(-25px 16px 35px rgba(29,27,26,.18)); }
.hero-index { position: absolute; right: 3vw; bottom: 1vw; z-index: 4; margin: 0; color: rgba(255,255,255,.55); font: 900 80px/1 Impact, sans-serif; }
.section { max-width: 1440px; margin: 0 auto; padding: 150px 6vw; position: relative; }
.section-index { position: absolute; top: 80px; right: 5vw; font: 900 130px/1 Impact, sans-serif; color: rgba(167,86,91,.12); }
.profile { display: grid; grid-template-columns: minmax(300px,.88fr) 1.12fr; gap: 9vw; align-items: start; }
.profile-photo { position: relative; min-height: 1120px; display: flex; align-items: flex-start; justify-content: center; isolation: isolate; }
.profile-photo::after,.profile-photo::before { content:none; }
.profile-photo img { position:relative; z-index:1; width:auto; max-width:none; height:1100px; object-fit:contain; object-position:center top; background:transparent; transform:translateX(-3%); }
h2 { margin: 16px 0 28px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(54px,6vw,100px); line-height: .88; letter-spacing: -.025em; text-transform: uppercase; font-weight: 900; }
.lead { font-size: clamp(22px,2.2vw,34px); line-height: 1.25; }
.profile-copy > p:not(.kicker):not(.lead) { max-width: 680px; font-size: 17px; line-height: 1.7; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 42px; }
.facts div { padding: 18px 8px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.facts dd { margin: 8px 0 0; font-size: 16px; }
.section-dark { background: var(--ink); color: var(--white); padding: 140px 6vw; }
.reel-heading,.video-frame,.credits { max-width: 1320px; margin-left: auto; margin-right: auto; }
.video-frame { border: 1px solid rgba(255,255,255,.22); background: #000; box-shadow: 20px 20px 0 var(--rose); }
.video-frame video { width: 100%; aspect-ratio: 16/9; }
.credits { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 50px; color: rgba(255,250,243,.62); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.photos { max-width: 1600px; }
.photos-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 65px; }
.gallery { columns: 3; column-gap: 22px; }
.gallery-headshots { display: grid; grid-template-columns: .75fr .562fr .562fr; gap: 22px; columns: auto; align-items: start; }
.gallery-headshots .portrait { display: block; margin-bottom: 22px; }
.portrait,.portrait-tall,.portrait-wide { display: inline-block; width: 100%; margin: 0 0 22px; break-inside: avoid; }
.portrait img,.portrait-wide img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; background: transparent; filter: saturate(.82); transition: filter .25s, transform .25s; }
.portrait:hover img { filter: saturate(1); transform: translateY(-4px); }
.gallery-feature { display: grid; grid-template-columns: 1.316fr 1fr; gap: 22px; align-items: start; margin-bottom: 22px; }
.gallery-feature .portrait { display: block; margin: 0; }
.gallery-feature-stack { display: grid; gap: 22px; }
.resume { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding: 150px 6vw; background: var(--rose); color: var(--white); }
.resume-title { position: sticky; top: 120px; align-self: start; }
.resume .button-primary { background: var(--ink); border-color: var(--ink); }
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.35); }
.resume-grid article { padding: 30px 25px 35px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.resume-grid article:nth-child(even) { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.35); }
.resume-grid h3 { text-transform: uppercase; letter-spacing: .15em; font-size: 12px; }
.resume-grid ul { padding-left: 18px; line-height: 1.8; }
.resume-wide { grid-column: 1/-1; }
.contact { min-height: 780px; display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); color: var(--white); }
.contact-photo { min-height: 650px; background: linear-gradient(rgba(30,77,85,.08),rgba(30,77,85,.08)), url('assets/Mathias-Waicman-contacto-personaje-cinematografico.jpg') center 38%/cover; }
.contact-copy { padding: 120px 7vw; display: flex; flex-direction: column; justify-content: center; }
.contact-link { display: block; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.35); text-decoration: none; font-size: clamp(16px,1.6vw,23px); }
.contact-link:hover { color: #e7a5a8; }
footer { min-height: 95px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 4vw; background: var(--ink); color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .site-header { height: 64px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 64px; inset-inline: 0; padding: 26px 4vw; background: var(--paper); flex-direction: column; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .hero { height: auto; min-height: 850px; grid-template-columns: 1fr; padding: 95px 7vw 0; align-items: start; }
  .hero-shape { right: -25%; width: 85%; height: 70%; top: 30%; }
  .hero-copy { z-index: 5; }
  h1 { font-size: clamp(76px,22vw,130px); }
  .role { font-size: 16px; }
  .eyebrow { max-width: 240px; }
  .hero-photo-wrap { position: relative; width: 120%; height: 520px; right: 6%; bottom: 0; margin-top: -20px; }
  .hero-index { display: none; }
  .profile,.resume,.contact { grid-template-columns: 1fr; }
  .profile { gap: 70px; }
  .profile-photo { min-height: 880px; }
  .profile-photo img { width:auto; height:860px; max-width:none; transform:translateX(-9%); }
  .section,.section-dark,.resume { padding: 100px 7vw; }
  .resume-title { position: static; }
  .gallery { columns: 2; }
  .gallery-headshots { display: grid; grid-template-columns: 1fr 1fr; columns: auto; }
  .gallery-feature { grid-template-columns: 1fr 1fr; }
  .contact-photo { min-height: 600px; }
}
@media (max-width: 560px) {
  .hero { min-height: 820px; }
  h1 { font-size: 21vw; }
  .hero-actions { gap: 9px; }
  .button { padding: 0 17px; font-size: 10px; }
  .hero-photo-wrap { width: 145%; right: 25%; height: 440px; margin-top: 0; }
  .profile-photo { min-height: 790px; }
  .profile-photo img { width:auto; height:770px; transform:translateX(-15%); }
  .facts,.resume-grid { grid-template-columns: 1fr; }
  .resume-grid article:nth-child(even) { padding-left: 0; border-left: 0; }
  .gallery { columns: 1; }
  .gallery-headshots { grid-template-columns: 1fr; }
  .gallery-feature { grid-template-columns: 1fr; }
  .photos-heading { display: block; }
  .contact-copy { padding: 90px 7vw; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
