/* ==========================================================
   Essor Craft — project page upgrade (Noir & Gold)
   Load AFTER css/style.css on every project page:
   <link rel="stylesheet" href="css/project-upgrade.css">
   Only restyles: Creative Direction + type/colour accents.
   Hero and Visual Collection layouts are untouched.
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;800&family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap');

:root{
  --gold:#d4af37; --gold-soft:#e8c874; --gold-deep:#8a6d12;
  --cream:#faf7ef; --ink:#14110a; --muted:#6b6450; --line:#e3dcc6;
}

/* ---------- shared label style (The Story / The Film / ...) ---------- */
.small-title,
.gallery-header span{
  color:var(--gold);
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
  font-size:14px;
}

/* ---------- headings: same Manrope, tighter, premium ---------- */
.story-inner h2,
.film-header h2,
.cta-content h2{
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.08;
}
.project-hero p,
.story-inner p,
.cta-content p{ font-weight:300; }

/* ==========================================================
   CREATIVE DIRECTION — cream section with numbered cards
========================================================== */
.creative-direction{
  background:var(--cream);
  color:var(--ink);
  padding:150px 8%;
  position:relative;
}
.creative-header{ max-width:980px; margin:0 auto 90px; }
.creative-header .small-title{ color:var(--gold-deep); }
.creative-header h2{
  font-family:'Bricolage Grotesque','Manrope',sans-serif;
  font-size:clamp(38px,4.8vw,68px);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--ink);
}

.creative-grid{
  max-width:1200px;
  gap:32px;
  counter-reset:cd;
}
.creative-item{
  counter-increment:cd;
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:44px 40px 48px;
  display:flex; flex-direction:column;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s;
}
/* big outlined numeral */
.creative-item::before{
  content:"0" counter(cd);
  position:absolute; right:26px; top:30px;
  font-family:'Bricolage Grotesque','Manrope',sans-serif;
  font-size:120px; line-height:.8; font-weight:800; letter-spacing:-.05em;
  color:transparent; -webkit-text-stroke:1.5px var(--gold);
  opacity:.55; pointer-events:none;
  transition:opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1);
}
/* gold underline accent */
.creative-item::after{
  content:""; display:block; margin-top:auto; flex:none;
  width:48px; height:3px; border-radius:3px; background:var(--gold);
  transition:width .5s cubic-bezier(.2,.8,.2,1);
}
.creative-item h3{
  font-family:'Bricolage Grotesque','Manrope',sans-serif;
  color:var(--ink);
  font-size:30px; font-weight:800; letter-spacing:-.02em;
  margin:92px 0 18px;
}
.creative-item p{ color:var(--muted); font-size:17px; line-height:1.8; margin:0 0 28px; }

.creative-item:hover{
  transform:translateY(-10px);
  border-color:var(--gold);
  box-shadow:0 30px 60px rgba(138,109,18,.18);
}
.creative-item:hover::before{ opacity:1; transform:translateY(-4px); }
.creative-item:hover::after{ width:110px; }

/* scroll reveal (progressive enhancement) */
@supports (animation-timeline: view()){
  .creative-item, .creative-header{
    animation:cdRise linear both;
    animation-timeline:view();
    animation-range:entry 0% entry 60%;
  }
  @keyframes cdRise{ from{opacity:0; translate:0 50px} to{opacity:1; translate:0 0} }
}
@media (prefers-reduced-motion: reduce){
  .creative-item, .creative-header{ animation:none !important; }
  .creative-item{ transition:none; }
}
@media (max-width:900px){
  .creative-direction{ padding:100px 6%; }
  .creative-grid{ grid-template-columns:1fr; }
  .creative-item{ padding:34px 28px 38px; }
  .creative-item h3{ margin-top:80px; }
  .creative-item::before{ font-size:96px; }
}

/* ---------- footer brand in Cormorant ---------- */
.footer-logo{ font-family:'Cormorant Garamond',serif; color:var(--gold); }

/* ---------- Essor Craft nav: full logo, bigger, fixed bar ---------- */
.navbar{ height:96px; transition:height .35s, background .35s; }
.logo img{ height:84px; width:auto; transition:height .35s; }
.navbar.shrunk{ height:70px; background:rgba(13,13,13,.94); }
.navbar.shrunk .logo img{ height:58px; }
@media (max-width:600px){ .navbar{height:78px} .logo img{height:62px} }

/* ---------- footer + skip link ---------- */
.skip{position:absolute;left:-999px;top:0;z-index:10000;background:#d4af37;color:#0d0d0d;padding:10px 16px;font-weight:700}
.skip:focus{left:12px;top:12px}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.site-footer{ background:#0b0a09; border-top:1px solid rgba(212,175,55,.18); padding:70px 8% 36px; text-align:center; }
.site-footer .footer-brand{ display:inline-block; margin-bottom:18px; }
.site-footer .footer-brand img{ height:120px; width:auto; display:block; }
.site-footer p{ color:#bdb4a4; max-width:520px; margin:0 auto 30px; line-height:1.8; }
.site-footer .footer-links{ display:flex; justify-content:center; flex-wrap:wrap; gap:14px 34px; margin-bottom:34px; }
.site-footer .footer-links a{ color:#e6dfd0; font-size:13px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; transition:color .25s; }
.site-footer .footer-links a:hover{ color:var(--gold); }
.site-footer .footer-bottom{ color:#8f836c; font-size:13px; border-top:1px solid #2a2418; padding-top:24px; }
@media (max-width:600px){ .site-footer{padding:56px 6% 30px} .site-footer .footer-brand img{height:96px} }
/* never let anything cause sideways scroll on phones */
html,body{ max-width:100%; overflow-x:clip; }
img,video{ max-width:100%; }
