/* ==========================================================================
   HOME.CSS — Homepage only (front-page.php).
   Loaded on top of base.css (chrome + shared components). Everything here
   is unique to the homepage: the static hero art, the lazy-loaded reel
   video section, Recent Work, What We Do, Milestones, Reviews, People
   Intro and Awards. (Services/Team *wrapper* styling lives in base.css
   since the Services and Agency pages reuse it — only the homepage-only
   bits are here.)
   ========================================================================== */

/* ---------- HERO (static — image + headline, no video; fastest possible
   above-the-fold, matches the original pre-video design) ---------- */
.hero-static-section{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:var(--black);
}
.hero-static-bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
}
.hero-static-content{
  position:relative; z-index:2;
  display:flex; flex-direction:column;
  min-height:100vh;
  justify-content:center;
  gap:26px;
  padding:120px clamp(20px,5vw,64px) 100px;
  max-width:900px;
}
.hero-rotate{
  color:var(--orange);
  transition:opacity .25s ease;
}

/* Tagline below the reel link */
.hero-static-tagline{
  font-family:'IBM Plex Mono',monospace;
  font-size:14px;
  line-height:1.7;
  color:var(--cream-dim);
}

.hero-reel-link{
  display:inline-flex;
  align-items:center;
  gap:14px;
  width:fit-content;
  font-size:15px;
  color:var(--cream);
  transition:color .3s cubic-bezier(.22,1,.36,1);
}

.hero-reel-link:hover{
  color:var(--orange);
}

.hero-reel-thumb{
  position:relative;
  width:64px;
  height:42px;
  border-radius:999px;
  overflow:hidden;
  flex-shrink:0;
  background:var(--black);
  border:1px solid rgba(238,234,225,.5);
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:
    transform .3s cubic-bezier(.22,1,.36,1),
    border-color .3s ease,
    box-shadow .3s ease;
}

.hero-reel-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .4s ease;
}

/* Play button */
.hero-reel-thumb::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:24px;
  height:24px;
  border-radius:50%;
  background:#ffffff;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}

.hero-reel-thumb::before{
  content:"";
  position:absolute;
  z-index:2;
  left:50%;
  top:50%;
  transform:translate(-35%,-50%);
  width:0;
  height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:7px solid #000000;
}

/* Hover */
.hero-reel-link:hover .hero-reel-thumb{
  transform:translateY(-2px);
  border-color:var(--orange);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

.hero-reel-link:hover .hero-reel-thumb img{
  transform:scale(1.06);
}

/* ---------- REEL VIDEO (moved below Services — see front-page.php for why) ---------- */
.reel-section{
  position:relative;
  min-height:90vh;
  overflow:hidden;
  background:var(--black);
}
.reel-video-el{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.hero-video-scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,5,4,0.25) 0%, rgba(6,5,4,0.05) 35%, rgba(6,5,4,0.45) 100%);
  pointer-events:none;
}
.hero-sound-toggle{
  position:absolute; bottom:32px; right:32px; z-index:3;
  width:52px; height:52px; border-radius:50%;
  background:rgba(10,9,8,0.55);
  backdrop-filter:blur(6px);
  border:1px solid rgba(238,234,225,0.3);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--cream);
  transition:background .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.hero-sound-toggle:hover{background:var(--orange); border-color:var(--orange); color:var(--black); transform:scale(1.06);}
.hero-sound-toggle svg{width:20px; height:20px;}

/* ---------- RECENT WORK ---------- */
/* .work / .work-head moved to base.css — the Services page now reuses this
   "Selected Work" section too, not just the homepage. */

/* ---------- WHAT WE DO ---------- */
.whatwedo{
  background:var(--light-bg); color:var(--black);
  padding:110px clamp(20px,5vw,64px) 70px;
  display:grid; grid-template-columns:1fr 2.4fr; gap:40px;
}
/* Eyebrow label — PT Serif, same family and size as .services-head */
.whatwedo .eyebrow{
  font-family:'Fraunces',serif; font-weight:500; font-size:clamp(27px,3.6vw,47px);
}
/* Statement paragraph — reduced from giant bold heading to a readable size */
.whatwedo .statement{
  font-family:'Familjen Grotesk',sans-serif; font-weight:300;
  font-size:50px; line-height:84px;
}
.whatwedo .statement p{margin:0;}
.whatwedo .statement .statement-link{
  display:inline-block; margin-top:28px; font-family:'IBM Plex Mono',monospace; font-weight:400;
  font-size:13px; border-bottom:1px solid var(--black); padding-bottom:3px;
}
.services-head{
  font-family:'Fraunces',serif; font-weight:500; font-size:clamp(30px,4vw,52px); margin-bottom:50px; max-width:14ch;
}

/* ---------- MILESTONES ---------- */
.milestones{
  position:relative;
  background:
    linear-gradient(100deg, rgba(6,5,4,0.75) 0%, rgba(6,5,4,0.35) 55%, rgba(6,5,4,0.15) 100%),
    url('../milestones-bg.jpg') center center / cover no-repeat,
    var(--black);
  padding:110px clamp(20px,5vw,64px) 90px;
  overflow:hidden;
}
.who-inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 1fr; gap:50px;
  align-items:center;
  margin-bottom:80px;
}
.who-heading{
  display:flex; flex-direction:column;
  font-family:'Inter',sans-serif; font-weight:800;
  line-height:0.98;
}
.who-heading .line-who{
  color:var(--orange);
  font-size:clamp(30px,4.4vw,52px);
}
.who-heading .line-brand{
  color:var(--cream);
  font-size:clamp(38px,5.6vw,68px);
}
.who-heading .accent{color:var(--orange);}
/* Tagline — switched from one-off Fraunces italic to IBM Plex Mono,
   consistent with .who-desc and all other body copy on the page */
.who-tagline{
  font-family:'IBM Plex Mono',monospace; font-weight:400;
  font-size:14px; line-height:1.6;
  margin-top:22px; color:var(--cream-dim);
}
.who-desc{
  font-family:'IBM Plex Mono',monospace; font-size:14px; line-height:1.75;
  color:var(--cream-dim);
  margin-top:18px; max-width:48ch;
}
.who-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:36px 24px;
}
.stat-item .num{
  font-family:'Inter',sans-serif; font-weight:800; color:var(--orange);
  font-size:clamp(38px,4.6vw,58px); line-height:1;
}
.stat-item .label{font-family:'Inter',sans-serif; font-size:15px; margin-top:8px; color:var(--cream);}
.stat-wide{grid-column:1 / -1;}
.stat-wide .num{font-size:clamp(46px,5.6vw,70px);}
/* The scrolling client-logo strip below the stats used to be styled here —
   it's now fully self-contained in the Django Clients plugin's own
   frontend.css (.django-clients-marquee / .django-clients-track /
   .django-client-item), same "each plugin owns its own rendering + CSS"
   pattern as Work/Services/Team. Nothing left to style here for it. */

/* ---------- REVIEWS (testimonial slider) ---------- */
.reviews{
  background:var(--black);
  padding:110px clamp(20px,5vw,64px);
}
.reviews-head{
  display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:24px;
  margin-bottom:56px;
}
.reviews-head h2{
  font-family:'Fraunces',serif; font-weight:500; font-size:clamp(27px,3.6vw,47px);
  display:flex; align-items:baseline; gap:16px;
  color:var(--cream);
}
.reviews-head h2 .dash{color:var(--cream-dim); font-weight:300;}
.reviews-head h2 .stars{color:var(--orange);}
.reviews-head p{
  font-family:'IBM Plex Mono',monospace; font-size:14px; max-width:34ch; color:var(--cream-dim); line-height:1.6;
}

.testimonial-card{
  position:relative;
  background:var(--card-dark);
  border:1px solid var(--line);
  padding:clamp(30px,4vw,56px);
  display:grid; grid-template-columns:minmax(200px,300px) 1fr; gap:clamp(30px,5vw,64px);
  align-items:center;
}
.testimonial-corner{
  position:absolute; width:12px; height:12px; background:var(--orange);
}
.testimonial-corner.tl{top:-6px; left:-6px;}
.testimonial-corner.tr{top:-6px; right:-6px;}
.testimonial-corner.bl{bottom:-6px; left:-6px;}
.testimonial-corner.br{bottom:-6px; right:-6px;}

.testimonial-photo-wrap{
  position:relative;
}
.testimonial-photo{
  position:relative; z-index:2;
  aspect-ratio:1/1.05;
  width:100%;
  border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-size:clamp(48px,6vw,72px); font-weight:500;
  color:rgba(0,0,0,0.5);
  transition:background .5s cubic-bezier(.22,1,.36,1);
}
.testimonial-photo-stack{
  position:absolute; z-index:1;
  left:-12px; right:12px; bottom:-12px; top:14px;
  background:var(--near-black);
  border:1px solid var(--line);
  border-radius:4px;
  transform:rotate(3deg);
}

.testimonial-content .name{
  font-family:'Familjen Grotesk',sans-serif; font-weight:700;
  font-size:clamp(24px,2.8vw,32px);
  color:var(--cream);
}
.testimonial-content .role{
 font-family:'Familjen Grotesk',sans-serif; font-weight:700; font-size:13.5px;
  color:var(--orange);
  margin-top:6px; margin-bottom:24px;
}
.testimonial-content .quote{
font-family:'IBM Plex Mono',monospace; font-weight:400; font-style:normal;
  font-size:clamp(17px,1.8vw,21px); line-height:1.6;
  color:var(--cream-dim);
  min-height:110px;
}
.testimonial-controls{
  display:flex; align-items:center; gap:14px;
  margin-top:34px;
}
.testimonial-arrow{
  width:50px; height:50px; border-radius:8px;
  background:var(--orange); border:1px solid var(--orange);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0;
  color:var(--black);
  transition:background .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.testimonial-arrow:hover{background:#ff7a45; transform:translateY(-2px);}
.testimonial-arrow svg{width:18px; height:18px;}
.testimonial-dots{
  display:flex; gap:8px; margin-left:6px;
}
.testimonial-dots span{
  width:6px; height:6px; border-radius:50%; background:var(--line);
  transition:background .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1);
}
.testimonial-dots span.active{background:var(--orange); width:20px; border-radius:4px;}

/* ---------- PEOPLE INTRO ---------- */
.people-intro{
  background:var(--black);
  padding:110px clamp(20px,5vw,64px) 50px;
  display:grid; grid-template-columns:1fr 1fr;
  gap:50px; align-items:center;
}
.people-intro h2{
  font-family:'Fraunces',serif; font-weight:500;
  font-size:clamp(38px,6vw,76px); line-height:1.02;
}
.people-photo-copy{
  display:flex; flex-direction:column; gap:26px;
}
.people-photo{
  width:100%; aspect-ratio:16/9; border-radius:2px;
  overflow:hidden;
  background:#0f0d0c;
}
.people-photo img{width:100%; height:100%; object-fit:cover; display:block;}
/* font-size standardised to 14px — was 14.5px, inconsistent with all other
   IBM Plex Mono body paragraphs on the page */
.people-photo-copy p{
  font-family:'IBM Plex Mono',monospace; font-size:14px; line-height:1.75; color:var(--cream-dim);
}

/* ---------- AWARDS ---------- */
.awards{
  background:var(--black);
  padding:110px clamp(20px,5vw,64px) 130px;
  display:grid; grid-template-columns:1fr 1.3fr; gap:50px;
}
/* Eyebrow — switched from Inter to PT Serif to match .whatwedo .eyebrow
   and .services-head; all three section labels now use the same font */
.awards-eyebrow{
  font-family:'PT Serif',serif; font-weight:400;
  font-size:clamp(22px,2.6vw,32px);
  color:var(--cream-dim); margin-bottom:26px;
}
.awards h2{
  font-family:'Fraunces',serif; font-weight:500; font-size:clamp(26px,3.2vw,38px); line-height:1.3;
}
.award-item{
  border-top:1px solid var(--line);
  padding:26px 0;
  cursor:pointer;
}
.award-item:last-child{border-bottom:1px solid var(--line);}
.award-head{
  display:flex; justify-content:space-between; align-items:center;
}
.award-item .title{font-family:'Fraunces',serif; font-size:20px; letter-spacing:0.02em;}
.award-item .plus{
  font-size:20px; color:var(--orange); transition:transform .45s cubic-bezier(.22,1,.36,1);
  width:24px; text-align:center;
}
.award-item.open .plus{transform:rotate(45deg);}
.award-item .sub{
  max-height:0; overflow:hidden; transition:max-height .5s cubic-bezier(.22,1,.36,1), padding-top .5s cubic-bezier(.22,1,.36,1);
  font-family:'IBM Plex Mono',monospace; font-size:13.5px; color:var(--cream-dim); line-height:1.6;
}
.award-item.open .sub{max-height:60px; padding-top:14px;}

/* ---------- MOBILE (homepage-only sections) ---------- */
@media (max-width:900px){
  .people-intro{grid-template-columns:1fr; gap:34px;}
  .awards{grid-template-columns:1fr; gap:34px;}
  .testimonial-card{grid-template-columns:minmax(180px,220px) 1fr;}
}
@media (max-width:760px){
  .whatwedo{grid-template-columns:1fr; padding:70px 20px 40px;}
 .whatwedo .statement{font-size:clamp(28px,8vw,38px); line-height:1.05;}
  .hero-static-section{min-height:auto;}
  .hero-static-content{min-height:78vh; padding:90px 20px 50px; gap:18px;}
  .hero-heading{font-size:clamp(28px,8vw,40px);}
  .hero-reel-thumb{width:56px; height:38px;}
  .reel-section{min-height:70vh;}
  .hero-sound-toggle{bottom:20px; right:20px; width:44px; height:44px;}
  .hero-sound-toggle svg{width:17px; height:17px;}

  .milestones{padding:70px 20px 60px;}
  .who-inner{grid-template-columns:1fr; gap:36px; margin-bottom:50px;}
  .who-heading .line-who{font-size:26px;}
  .who-heading .line-brand{font-size:34px;}
  .who-stats{gap:26px 18px;}
  .stat-item .num{font-size:34px;}
  .stat-wide .num{font-size:40px;}

  .reviews{padding:70px 20px;}
  .reviews-head{margin-bottom:36px;}
  .testimonial-card{grid-template-columns:1fr; padding:24px; gap:24px;}
  .testimonial-photo-wrap{max-width:220px;}
  .testimonial-content .quote{min-height:0;}
  .testimonial-controls{margin-top:26px;}

  .people-intro{padding:70px 20px 40px;}

  .awards{padding:70px 20px 80px;}
  .awards-eyebrow{font-size:clamp(16px,5vw,20px);}
  .award-item{padding:20px 0;}
  .award-item .title{font-size:17px;}
}
