/* ============================================================
   Rye Birnecker — Actor Portfolio
   Custom stylesheet rebuilt to match the production site
   (ryebirnecker.com). Light palette, PT Serif, no dark divs.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root{
  --ink:#2b2b2b;        /* headings / bold city names */
  --gray:#6c6d74;       /* body text (matches original) */
  --bg:#ffffff;
  --form-bg:#f9f9f9;
  --border:#cccccc;
  --btn:#333333;
  --btn-hover:#222222;
  --serif:'PT Serif', Georgia, 'Times New Roman', serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--serif);
  color:var(--gray);
  background:var(--bg);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);font-weight:400;line-height:1.2;margin:0 0 .5em;}
strong{color:var(--ink);font-weight:700;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;width:100%;}

/* ---------- Header ---------- */
header.site{
  position:fixed;top:0;left:0;width:100%;
  display:flex;align-items:center;justify-content:flex-end;
  padding:22px 34px;z-index:1000;
  mix-blend-mode:difference;   /* brand + hamburger stay legible over photo AND white */
  color:#fff;
  pointer-events:none;
}
header.site a,header.site button{pointer-events:auto;}
.brand-name{
  font-family:var(--serif);color:#fff;font-size:1.35rem;
  letter-spacing:.28em;text-transform:uppercase;font-weight:400;
}
nav.main{display:none;}   /* hamburger only, like the original */
.hamburger{
  display:flex;flex-direction:column;justify-content:center;gap:6px;
  width:40px;height:32px;background:none;border:0;cursor:pointer;padding:4px;
}
.hamburger span{display:block;height:2px;width:28px;background:#fff;transition:transform .3s,opacity .3s;}
.hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* ---------- Full-screen nav overlay ---------- */
.nav-overlay{
  position:fixed;inset:0;z-index:999;
  background:rgba(20,20,22,.97);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.4rem;
  opacity:0;visibility:hidden;transition:opacity .35s;
}
body.nav-open .nav-overlay{opacity:1;visibility:visible;}
.nav-overlay a{
  font-family:var(--serif);color:#f4f4f4;font-size:2rem;letter-spacing:.18em;
  text-transform:uppercase;font-weight:400;opacity:.85;transition:opacity .2s;
}
.nav-overlay a:hover{opacity:1;}
body.nav-open{overflow:hidden;}

/* ============================================================
   FULL-SCREEN PANELS (hero + teasers) — reveal handled by JS
   ============================================================ */
.hero-clapperboard,.teaser-section{
  height:100vh;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
}
.hero-media,.teaser-media{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;z-index:0;
}
/* portrait: keep head (top) visible, crop the bottom */
.teaser-media[src*="media_hero"]{object-position:center top;}

.hero-scrim,.teaser-scrim{
  position:absolute;inset:0;background:rgba(0,0,0,.28);z-index:1;
}
.hero-overlay,.teaser-inner{
  position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:2rem;
}
.hero-name,.teaser-title{
  font-family:var(--serif);color:#fff;font-weight:400;
  font-size:clamp(2.6rem,7vw,5.5rem);letter-spacing:.32em;text-transform:uppercase;
  margin:0;text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.hero-subtitle{color:#f0f0f0;letter-spacing:.35em;text-transform:uppercase;font-size:.8rem;margin:0;}

/* circular "+" that links to the sub-page */
.teaser-plus{
  display:flex;align-items:center;justify-content:center;
  width:58px;height:58px;border:1px solid rgba(255,255,255,.85);border-radius:50%;
  color:#fff;font-size:1.6rem;line-height:1;font-family:var(--serif);
  transition:background .25s,transform .25s;
}
.teaser-plus:hover{background:rgba(255,255,255,.15);transform:scale(1.06);}

/* spacer that gives the reveal its scroll length (JS sets height) */
.rv-spacer{width:100%;pointer-events:none;}

/* ============================================================
   CONTENT SECTIONS — light, like the original (no dark divs)
   ============================================================ */
.bio-section,.contact-section{
  position:static;              /* never sticky — fixes About/Contact overlap */
  background:var(--bg);color:var(--gray);
  padding:110px 0;position:relative;z-index:5;
}
.bio-section .bio-inner{max-width:820px;margin:0 auto;text-align:center;}
.bio-section h2,.contact-section h2{
  font-size:clamp(2rem,5vw,3rem);letter-spacing:.14em;text-transform:uppercase;
  text-align:center;margin-bottom:1.2rem;
}
.bio-section p{margin:0 0 1.1rem;}

/* Contact */
.contact-section .contact-form-wrap{max-width:560px;margin:0 auto;}
.contact-location{text-align:center;color:var(--gray);letter-spacing:.05em;margin-bottom:2rem;}
.contact-form{
  background:var(--form-bg);
  padding:32px;border-radius:8px;box-shadow:0 4px 22px rgba(0,0,0,.06);
}
.contact-form .form-group{margin-bottom:1.1rem;}
.contact-form label{display:block;margin-bottom:.4rem;color:var(--ink);font-size:.95rem;}
.contact-form input,.contact-form textarea{
  width:100%;padding:11px 12px;font-size:1rem;font-family:var(--serif);
  color:var(--ink);background:#fff;border:1px solid var(--border);border-radius:4px;
}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:#999;}
.contact-form textarea{resize:vertical;min-height:150px;}
.btn-submit{
  background:var(--btn);color:#fff;border:0;border-radius:4px;
  padding:12px 26px;font-size:1rem;font-family:var(--serif);letter-spacing:.05em;
  cursor:pointer;transition:background .2s;
}
.btn-submit:hover{background:var(--btn-hover);}
.form-success,.form-error{display:none;margin-top:1rem;font-weight:700;}
.form-success{color:#2e7d32;}
.form-error{color:#c0392b;}

/* ============================================================
   SUB-PAGE SECTIONS (media / gallery / resume pages)
   ============================================================ */
.section-inner{position:relative;z-index:2;width:100%;padding:90px 0;}
.section-heading{
  font-family:var(--serif);color:var(--ink);text-align:center;
  font-size:clamp(2rem,5vw,3rem);letter-spacing:.16em;text-transform:uppercase;margin-bottom:2.4rem;
}

/* media page hero band keeps a photo bg; content on white below */
.media-section{background:var(--bg);color:var(--gray);padding:120px 0 90px;}
.media-section .section-heading{margin-bottom:1.6rem;}
.media-tabs{display:flex;justify-content:center;gap:2.4rem;border-bottom:1px solid #e5e5e5;margin-bottom:2.4rem;}
.tab-btn{
  background:none;border:0;padding:.6rem .2rem 1rem;cursor:pointer;
  font-family:var(--serif);font-size:1rem;letter-spacing:.12em;text-transform:uppercase;
  color:#9a9aa0;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;
}
.tab-btn.active{color:var(--ink);border-color:var(--ink);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.media-grid.cols-1{grid-template-columns:1fr;max-width:760px;margin:0 auto;}
.media-grid.cols-2{grid-template-columns:repeat(2,1fr);max-width:900px;margin:0 auto;}
.video-item{}
.youtube-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:4px;cursor:pointer;background:#000;}
.youtube-thumb img{width:100%;height:100%;object-fit:cover;}
.youtube-thumb .play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.youtube-thumb .play-btn svg{width:64px;height:auto;}
.video-item video{width:100%;border-radius:4px;background:#000;display:block;}
.video-caption{margin-top:.7rem;text-align:left;color:var(--gray);letter-spacing:.06em;font-size:.95rem;}

/* gallery page */
.gallery-section{padding:120px 0 90px;background:var(--bg);}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.gallery-item{margin:0;overflow:hidden;border-radius:4px;}
.gallery-item img{width:100%;height:100%;object-fit:cover;aspect-ratio:2/3;transition:transform .4s;}
.gallery-item img:hover{transform:scale(1.03);}

/* resume page (photo hero + download) */
.resume-section{height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;}
.resume-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.resume-section .section-inner{padding:0;}
.resume-section h2{color:#fff;font-size:clamp(2.4rem,6vw,4.5rem);letter-spacing:.3em;text-transform:uppercase;text-shadow:0 2px 24px rgba(0,0,0,.35);}
.btn-download{
  display:inline-block;margin-top:1.6rem;padding:12px 30px;border:1px solid rgba(255,255,255,.85);
  color:#fff;letter-spacing:.14em;text-transform:uppercase;font-size:.85rem;border-radius:2px;transition:background .25s;
}
.btn-download:hover{background:rgba(255,255,255,.15);}

/* ---------- Footer ---------- */
footer.site{background:var(--bg);border-top:1px solid #ececec;padding:34px 0;}
footer.site .container{display:flex;flex-direction:column;align-items:center;gap:18px;}
.footer-social{display:flex;gap:18px;align-items:center;justify-content:center;}
.footer-social a{
  width:42px;height:42px;border:1px solid #dcdcdc;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#8a8a90;transition:color .2s,border-color .2s;
}
.footer-social a:hover{color:var(--ink);border-color:#bbb;}
.footer-social img{height:20px;width:auto;opacity:.6;}
.footer-copy{color:var(--gray);letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;margin:0;}

/* ---------- Responsive ---------- */
@media (max-width:768px){
  header.site{padding:16px 20px;}
  .brand-name{font-size:1.05rem;letter-spacing:.2em;}
  .bio-section,.contact-section{padding:70px 0;}
  .media-grid,.gallery-grid{grid-template-columns:1fr;}
  .hero-name,.teaser-title{font-size:2.4rem;letter-spacing:.22em;}
}

/* ---- About (bio) — dark section with headshot, matches original ---- */
.bio-section{background:#2b2b2b;color:rgba(255,255,255,.75);}
.bio-section .bio-grid{display:flex;gap:56px;align-items:flex-start;text-align:left;max-width:1080px;}
.bio-photo{flex:0 0 32%;max-width:340px;}
.bio-photo img{width:100%;border-radius:4px;box-shadow:0 12px 44px rgba(0,0,0,.45);display:block;}
.bio-inner{flex:1;max-width:none;margin:0;text-align:left;}
.bio-section h2{color:#fff;text-align:left;text-transform:none;letter-spacing:.02em;font-size:clamp(1.9rem,4vw,2.8rem);margin-bottom:1.1rem;}
.bio-section p{color:rgba(255,255,255,.75);text-align:justify;margin:0 0 1.1rem;}
.bio-section .cta-link{color:#fff;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:2px;}
@media (max-width:768px){
  .bio-section .bio-grid{flex-direction:column;gap:28px;}
  .bio-photo{max-width:260px;margin:0 auto;}
  .bio-section p{text-align:left;}
}

/* original header = hamburger only, no brand text */
.brand-name{display:none;}

/* ---- Media page: 3 stacked groups, no tabs ---- */
.media-group-heading{font-family:var(--serif);color:var(--ink);text-align:center;font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:.04em;margin:56px 0 30px;}
.media-group-heading:first-child{margin-top:0;}
.media-section .video-caption{margin:0 0 .5rem;text-align:left;color:var(--gray);letter-spacing:.05em;font-size:.95rem;}

/* ---- Resume page: headshot + resume sheet on white ---- */
.resume-page{background:var(--bg);color:var(--gray);padding:120px 0 90px;}
.resume-page .section-heading{margin-bottom:2.4rem;}
.resume-grid{display:flex;gap:48px;align-items:flex-start;justify-content:center;max-width:1080px;margin:0 auto;}
.resume-photo{flex:0 0 32%;max-width:340px;}
.resume-photo img{width:100%;border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.12);}
.resume-sheet{flex:1;max-width:640px;}
.resume-sheet img{width:100%;border:1px solid #eee;box-shadow:0 6px 30px rgba(0,0,0,.10);}
.resume-download{text-align:center;margin-top:36px;}
.btn-download-dark{display:inline-block;padding:12px 28px;background:var(--btn);color:#fff;border-radius:4px;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;}
.btn-download-dark:hover{background:var(--btn-hover);}
@media (max-width:768px){.resume-grid{flex-direction:column;align-items:center;}.resume-photo{max-width:280px;}}

/* ---- Footer: arrow left / copy center / social right ---- */
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;}
.footer-top{order:0;color:#8a8a90;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #dcdcdc;border-radius:50%;transition:color .2s,border-color .2s;}
.footer-top:hover{color:var(--ink);border-color:#bbb;}
.footer-copy{order:1;margin:0;}
.footer-social{order:2;}
@media (max-width:640px){.footer-row{flex-direction:column;gap:16px;} .footer-copy{order:2;} .footer-social{order:1;} .footer-top{order:0;}}

/* override footer container to a row (higher specificity than the column rule) */
footer.site .container.footer-row{flex-direction:row;align-items:center;justify-content:space-between;gap:20px;}
