/* =========================================================
   NEW DALA — production studio site
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg:            #0a0a09;
  --bg-alt:        #131210;
  --bg-panel:      #18170f;
  --line:          rgba(245,243,238,0.10);
  --line-strong:   rgba(245,243,238,0.18);

  --ink:           #f5f3ee;
  --ink-dim:       #b9b6ac;
  --ink-faint:     #83807a;

  --orange:        #e4611e;
  --orange-bright: #ff7a34;
  --olive:         #4a531f;
  --olive-bright:  #7c8a34;

  --font-display:  'Oswald', sans-serif;
  --font-body:     'Manrope', sans-serif;

  --container: 1180px;
  --radius: 2px;

  --ease: cubic-bezier(.22,.68,0,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFade .7s ease both;
}
@keyframes pageFade{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  body{ animation:none; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-family: var(--font-display); font-weight:600; letter-spacing:.01em; text-transform: uppercase; }
p{ margin:0; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* film-grain overlay */
body::before{
  content:"";
  position: fixed; inset:0;
  pointer-events:none;
  z-index: 999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* =============== Buttons =============== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  transition: all .3s var(--ease);
  cursor:pointer;
  white-space: nowrap;
}
.btn:hover{ border-color: var(--orange); color: var(--orange-bright); }
.btn-solid{
  background: var(--orange);
  border-color: var(--orange);
  color: #12100c;
}
.btn-solid:hover{ background: var(--orange-bright); border-color: var(--orange-bright); color:#12100c; }
.btn-arrow::after{
  content:"";
  width: 15px; height: 11px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  display:inline-block;
  transition: transform .3s var(--ease);
}
.btn-arrow:hover::after{ transform: translateX(4px); }

/* =============== Header =============== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(10,10,9,0.88);
  backdrop-filter: blur(10px);
  padding: 13px 0;
  border-bottom-color: var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height: 34px; width:auto; }
.brand-word{ font-family: var(--font-display); font-size: 19px; letter-spacing:.08em; }

.nav-links{ display:flex; align-items:center; gap: 24px; }
.nav-links a{
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background: var(--orange); transition: right .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn{ padding: 11px 22px; font-size:12px; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; cursor:pointer; z-index: 600;
}
.nav-toggle span{ width:24px; height:2px; background: var(--ink); transition: all .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px){
  .nav-links{
    position: fixed; inset:0 0 0 auto; width: min(340px,86vw); height:100vh;
    background: var(--bg-alt); flex-direction:column; justify-content:center; align-items:flex-start;
    padding: 40px; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{ font-size: 18px; }
  .header-cta .btn-solid{ display:none; }
  .nav-toggle{ display:flex; }
}

/* =============== Hero =============== */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex; align-items:flex-end;
  padding: 160px 0 90px;
  background-size: 106%; background-position: center; background-repeat: no-repeat;
  isolation: isolate;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns{ from{ background-size:106%; } to{ background-size:120%; } }
@media (max-width: 760px){
  .hero{ background-size: cover; animation: none; }
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg,
    rgba(10,10,9,.32) 0%,
    rgba(10,10,9,.2) 12%,
    rgba(10,10,9,.28) 42%,
    rgba(10,10,9,.5) 60%,
    rgba(10,10,9,.75) 76%,
    rgba(10,10,9,.92) 90%,
    var(--bg) 100%);
}
.hero-eyebrow{
  font-family: var(--font-display); letter-spacing:.22em; text-transform:uppercase;
  color: var(--orange-bright); font-size: 13px; margin-bottom: 18px; display:block;
}
.hero h1{
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.05;
  max-width: 20ch;
}
.hero-sub{
  margin-top: 22px; max-width: 46ch; color: var(--ink-dim); font-size: 17px;
}
.hero-actions{ display:flex; gap:16px; margin-top: 38px; flex-wrap:wrap; }

@keyframes heroUp{ from{ opacity:0; transform: translateY(22px); } to{ opacity:1; transform:none; } }
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions{ animation: heroUp .9s var(--ease) both; }
.hero-eyebrow{ animation-delay: .05s; }
.hero h1{ animation-delay: .15s; }
.hero-sub{ animation-delay: .32s; }
.hero-actions{ animation-delay: .46s; }
.page-hero{
  min-height: 52vh; padding: 150px 0 60px; align-items:flex-end;
}
.page-hero::before{
  background: linear-gradient(180deg,
    rgba(10,10,9,.35) 0%,
    rgba(10,10,9,.4) 15%,
    rgba(10,10,9,.62) 30%,
    rgba(10,10,9,.8) 45%,
    rgba(10,10,9,.92) 60%,
    var(--bg) 78%,
    var(--bg) 100%);
}
.page-hero h1{ font-size: clamp(38px, 6.4vw, 74px); max-width: 20ch; }

/* =============== Sections =============== */
section{ position: relative; padding: 110px 0; }
.section-tight{ padding: 70px 0; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:30px;
  margin-bottom: 56px; flex-wrap:wrap;
}
.eyebrow{
  font-family: var(--font-display); letter-spacing:.22em; text-transform:uppercase;
  color: var(--orange); font-size:12px; margin-bottom:14px; display:block;
}
.section-head h2{ font-size: clamp(30px, 4.4vw, 52px); max-width: 18ch; }
.nowrap-heading{ max-width:none !important; white-space:nowrap; }
@media (max-width: 900px){ .nowrap-heading{ white-space:normal; max-width:18ch !important; } }
.section-lede{ color: var(--ink-dim); max-width: 46ch; font-size: 16px; }
.bg-alt{ background: var(--bg-alt); }
.bg-line-top{ border-top: 1px solid var(--line); }

/* =============== About / mission =============== */
.mission-grid{
  display:grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items:center;
}
.mission-text{ font-family: var(--font-display); font-size: clamp(24px,3vw,34px); line-height:1.35; text-transform:none; letter-spacing:0; color: var(--ink); }
.mission-text b{ color: var(--orange-bright); font-weight: 600; }
@media (max-width: 880px){ .mission-grid{ grid-template-columns: 1fr; gap:36px; } }

/* =============== Stats =============== */
.stats-strip{
  display:grid; grid-template-columns: repeat(4,1fr);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.stat{
  padding: 44px 26px; border-left: 1px solid var(--line); text-align:left;
}
.stat:first-child{ border-left:none; }
.stat .num{
  font-family: var(--font-display); font-size: clamp(38px,5vw,58px); color: var(--orange-bright); line-height:1;
}
.stat .label{ margin-top:12px; color: var(--ink-dim); font-size:13px; letter-spacing:.04em; line-height:1.5; }
@media (max-width: 760px){
  .stats-strip{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
  .stat{ border-top:1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2){ border-top:none; }
}

/* =============== Services =============== */
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card{
  position:relative; overflow:hidden; padding: 32px; min-height: 270px;
  display:flex; flex-direction:column; border:1px solid var(--line);
  background:
    radial-gradient(120% 130% at 100% 100%, rgba(228,97,30,.20), transparent 55%),
    radial-gradient(90% 110% at 0% 0%, rgba(74,83,31,.22), transparent 60%),
    var(--bg-alt);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover{ border-color: var(--orange); transform: translateY(-4px); }
.service-card .idx{ font-family: var(--font-display); color: var(--ink-faint); font-size: 13px; letter-spacing:.08em; }
.service-card h3{ font-size: 23px; margin-top:14px; max-width: 16ch; }
.service-card p{ color: var(--ink-dim); font-size:14.5px; line-height:1.6; margin-top:12px; max-width: 34ch; }
.service-icon{
  margin-top:auto; align-self:flex-end; width:54px; height:54px; border-radius:14px; flex:none;
  background: linear-gradient(135deg, var(--orange-bright), var(--olive-bright));
  display:flex; align-items:center; justify-content:center;
}
.service-icon svg{ width:26px; height:26px; color:#12100c; }
@media (max-width: 980px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }

/* =============== Project / Poster cards =============== */
.projects-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line);
}
.project-card{
  position:relative; background: var(--bg); overflow:hidden; aspect-ratio: 2/3;
}
.project-card img{
  width:100%; height:100%; object-fit:cover; object-position: top center;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: grayscale(.25) brightness(.82);
}
.project-card:hover img{ transform: scale(1.06); filter: grayscale(0) brightness(.95); }
.project-card .overlay{
  position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:flex-end;
  padding: 24px; background: linear-gradient(180deg, transparent 40%, rgba(6,6,5,.94) 100%);
}
.project-card .cat{ font-family: var(--font-display); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color: var(--orange-bright); margin-bottom:8px; }
.project-card h3{ font-size: 22px; line-height:1.15; text-transform:none; letter-spacing:0; font-weight:600; }
.project-card .tag{
  position:absolute; top:18px; right:18px; z-index:2;
  font-family: var(--font-display); font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  border:1px solid rgba(245,243,238,.4); color: var(--ink); padding: 5px 10px; backdrop-filter: blur(4px);
  background: rgba(10,10,9,.35);
}
@media (max-width: 960px){ .projects-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .projects-grid{ grid-template-columns: 1fr; } }

.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 40px; }
.filter-btn{
  font-family: var(--font-display); font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  padding: 10px 18px; border:1px solid var(--line-strong); color: var(--ink-dim); background:none; cursor:pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover{ color: var(--ink); }
.filter-btn.active{ background: var(--orange); border-color: var(--orange); color:#12100c; }

/* =============== Team =============== */
.team-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 34px 26px; }
.team-card img{ width:100%; aspect-ratio: 3/4; object-fit:cover; filter: grayscale(1) contrast(1.05); transition: filter .4s var(--ease); }
.team-card:hover img{ filter: grayscale(0); }
.team-card .name{ margin-top:18px; font-family: var(--font-display); font-size:20px; letter-spacing:.02em; }
.team-card .role{ margin-top:6px; color: var(--orange-bright); font-size: 13px; letter-spacing:.02em; }
.team-card .bio{ margin-top:10px; color: var(--ink-dim); font-size: 14px; line-height:1.6; }
@media (max-width: 880px){ .team-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .team-grid{ grid-template-columns: 1fr; max-width: 360px; margin:0 auto; } }

.founder-block{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items:center; }
.founder-block img{ width:100%; aspect-ratio: 3/4; object-fit:cover; filter: grayscale(1) contrast(1.05); transition: filter .4s var(--ease); }
.founder-block:hover img{ filter: grayscale(0) contrast(1.05); }
.founder-block .role{ color: var(--orange-bright); font-family: var(--font-display); letter-spacing:.1em; text-transform:uppercase; font-size:14px; margin-bottom: 8px;}
.founder-block h2{ font-size: clamp(30px,4vw,46px); margin-bottom: 22px; }
.founder-block .meta{ display:flex; gap:26px; margin: 22px 0; color: var(--ink-faint); font-size:13px; }
.founder-block .meta b{ color: var(--ink); display:block; font-family: var(--font-display); font-size: 22px; font-weight:500; }
.founder-block dl{ margin-top: 26px; }
.founder-block dt{ font-family: var(--font-display); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-faint); margin-top:20px; }
.founder-block dd{ margin:8px 0 0; color: var(--ink-dim); font-size:15px; line-height:1.7; }
@media (max-width: 880px){ .founder-block{ grid-template-columns: 1fr; gap:34px; } }

/* =============== Clients strip =============== */
.clients-grid{ display:grid; grid-template-columns: repeat(6,1fr); gap:1px; background: var(--line); border:1px solid var(--line); }
.client-logo{
  background: var(--bg); display:flex; align-items:center; justify-content:center; aspect-ratio:1; overflow:hidden;
  filter: grayscale(1) opacity(.6); transition: filter .3s var(--ease);
}
.client-logo:hover{ filter: grayscale(0) opacity(1); }
.client-logo img{ width:100%; height:100%; object-fit:cover; }
.client-logo span{ padding: 0 20px; }
@media (max-width: 880px){ .clients-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 520px){ .clients-grid{ grid-template-columns: repeat(2,1fr); } }

/* =============== Creative evenings gallery =============== */
.evenings-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.evenings-grid img{ width:100%; aspect-ratio:3/4; object-fit:cover; filter: grayscale(.5) brightness(.85); transition: all .35s var(--ease); }
.evenings-grid img:hover{ filter:none; transform: translateY(-6px); }
@media (max-width: 880px){ .evenings-grid{ grid-template-columns: repeat(2,1fr); } }

.evenings-list{ margin-top: 40px; display:grid; grid-template-columns: repeat(2,1fr); gap: 12px 40px; }
.evenings-list li{ padding: 14px 0; border-bottom:1px solid var(--line); color: var(--ink-dim); font-size:15px; display:flex; gap:14px; }
.evenings-list li::before{ content:"—"; color: var(--orange); }
@media (max-width: 700px){ .evenings-list{ grid-template-columns: 1fr; } }

/* =============== CTA band =============== */
.cta-band{
  background: var(--olive); position:relative; overflow:hidden;
  padding: 90px 0; text-align:center;
}
.cta-band h2{ font-size: clamp(30px,5vw,58px); color: var(--ink); }
.cta-band p{ margin-top:16px; color: rgba(245,243,238,.75); font-size:16px; }
.cta-band .btn-solid{ background: var(--ink); color: var(--bg); border-color: var(--ink); margin-top: 32px; }
.cta-band .btn-solid:hover{ background: var(--orange); border-color: var(--orange); color:#12100c; }

/* =============== Footer =============== */
.site-footer{ border-top:1px solid var(--line); padding: 70px 0 30px; background: var(--bg-alt); }
.footer-top{ display:flex; justify-content:space-between; gap: 50px; flex-wrap:wrap; padding-bottom: 50px; }
.footer-brand{ display:flex; flex-direction:column; align-items:flex-start; }
.footer-brand img{ height: 44px; margin-bottom: 18px; }
.footer-brand p{ color: var(--ink-dim); max-width: 32ch; font-size:14px; }
.footer-legal{ margin-top:auto; margin-bottom:-44px; padding-top:34px; display:flex; flex-direction:column; gap:2px; }
.footer-legal a{ color: var(--ink-faint); font-size:12.5px; text-decoration:underline; transition: color .25s; }
.footer-legal a:hover{ color: var(--orange-bright); }
.footer-cols{ display:flex; gap: 70px; flex-wrap:wrap; }
.footer-col h4{ font-size:12px; letter-spacing:.14em; color: var(--ink-faint); margin-bottom: 18px; }
.footer-col ul li{ margin-bottom: 11px; }
.footer-col a{ color: var(--ink-dim); font-size: 14px; transition: color .25s; }
.footer-col a:hover{ color: var(--orange-bright); }
.footer-bottom{
  border-top:1px solid var(--line); padding-top: 26px; display:flex; justify-content:space-between;
  color: var(--ink-faint); font-size: 12.5px; flex-wrap:wrap; gap:10px;
}
@media (max-width: 700px){ .footer-top{ flex-direction:column; } .footer-cols{ gap:40px; } }

/* =============== Project detail page =============== */
.project-hero{ position:relative; overflow:hidden; padding: 150px 0 90px; min-height: 620px; display:flex; align-items:center; }
.project-hero-bg{
  position:absolute; inset:-40px; z-index:-2; background-size:cover; background-position:center;
  filter: blur(8px) brightness(.6) saturate(1.1); transform: scale(1.05);
}
.project-hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(90deg, rgba(10,10,9,.75) 0%, rgba(10,10,9,.62) 40%, rgba(10,10,9,.4) 70%, rgba(10,10,9,.12) 100%);
}
.project-hero-inner{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; width:100%; }
.project-hero .cat{ color: var(--orange); font-family: var(--font-display); letter-spacing:.18em; text-transform:uppercase; font-size:12px; }
.project-hero h1{ font-size: clamp(34px,5.6vw,64px); margin-top:14px; max-width: 16ch; }
.project-hero .tagline{ margin-top: 16px; color: var(--ink-dim); font-size:17px; max-width: 52ch; }
.project-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.chip{
  border:1px solid var(--line-strong); color: var(--ink-dim); padding:7px 15px; font-size:12px;
  font-family: var(--font-display); letter-spacing:.06em; text-transform:uppercase; border-radius:999px;
}
.chip-status{ border-color: var(--orange); color: var(--orange-bright); }
.project-credits{ margin-top:26px; display:flex; flex-direction:column; gap:9px; max-width:52ch; }
.project-credits p{ font-size:14.5px; color: var(--ink-dim); }
.project-credits p span{ color: var(--ink-faint); text-transform:uppercase; letter-spacing:.07em; font-size:11px; font-family: var(--font-display); margin-right:10px; }
.credits-heading{
  color: var(--orange); font-family: var(--font-display); text-transform:uppercase; letter-spacing:.1em;
  font-size:12px; margin-top:16px; padding-top:12px; border-top:1px solid var(--line);
}
.project-credits p:first-child.credits-heading, .project-credits .credits-heading:first-child{ margin-top:0; padding-top:0; border-top:none; }
.project-hero-actions{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; }
.project-hero-poster{ position:relative; justify-self:end; width:100%; max-width:480px; }
.project-hero-poster img, .project-hero-poster video{
  width:100%; aspect-ratio:2/3; object-fit:cover; border:1px solid var(--line-strong); display:block;
  box-shadow: 0 60px 100px -30px rgba(0,0,0,.7), 0 20px 50px rgba(0,0,0,.5);
}
.project-hero-poster.is-landscape{ aspect-ratio:16/9; max-width:640px; }
.project-hero-poster.is-landscape video{ aspect-ratio:16/9; object-fit:contain; background:#000; }
#course-video-frame video{ aspect-ratio:16/9; object-fit:cover; }
.play-trailer{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2;
  width:76px; height:76px; border-radius:50%; border:none; cursor:pointer;
  background: linear-gradient(135deg, var(--orange-bright), var(--olive-bright));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .25s var(--ease);
}
.play-trailer:hover{ transform:translate(-50%,-50%) scale(1.08); }
.play-trailer::before{
  content:""; width:0; height:0; margin-left:5px;
  border-style:solid; border-width:11px 0 11px 18px; border-color: transparent transparent transparent #12100c;
}
.project-body{ max-width: 760px; }
.project-body p + p{ margin-top: 18px; }
.project-body p{ color: var(--ink-dim); font-size:16px; line-height:1.8; }
.stat-mini-row{ display:flex; gap: 46px; flex-wrap:wrap; margin: 46px 0; padding: 30px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat-mini-row div b{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--orange-bright); }
.stat-mini-row div span{ color: var(--ink-faint); font-size: 12.5px; text-transform:uppercase; letter-spacing:.06em; }
.project-nav{ display:flex; justify-content:space-between; padding: 40px 0; border-top:1px solid var(--line); margin-top: 60px; }
@media (max-width: 880px){
  .project-hero{ padding-top:130px; min-height:0; }
  .project-hero-inner{ grid-template-columns: 1fr; }
  .project-hero-poster{ justify-self:start; max-width: 280px; order:-1; margin-bottom:10px; }
  .project-hero-poster.is-landscape{ max-width: 100%; }
}

/* =============== Contacts =============== */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.social-card{
  display:flex; align-items:center; justify-content:space-between; padding: 30px; border:1px solid var(--line);
  transition: all .3s var(--ease); margin-bottom: 16px;
}
.social-card:hover{ border-color: var(--orange); background: rgba(228,97,30,.05); }
.social-card .name{ font-family: var(--font-display); font-size: 22px; letter-spacing:.02em; }
.social-card .handle{ color: var(--ink-faint); font-size: 13px; margin-top:6px; }
.social-card .go{ font-family: var(--font-display); font-size:13px; color: var(--orange-bright); }
@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; } }

/* =============== Poster carousel =============== */
.carousel-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }
.carousel-controls{ display:flex; align-items:center; gap:14px; }
.carousel-arrow{
  width:44px; height:44px; flex:none; border:1px solid var(--line-strong); background:none; color:var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition: all .25s var(--ease);
}
.carousel-arrow:hover{ border-color: var(--orange); color: var(--orange-bright); }
.carousel-arrow::before{
  content:""; width:14px; height:12px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.carousel-arrow.prev::before{ transform: scaleX(-1); }

.carousel{
  display:flex; gap:22px; overflow-x:auto; padding: 6px 6px 18px; margin: 0 -6px;
  scroll-snap-type: x proximity; cursor: grab; user-select:none;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar{ display:none; }
.carousel.dragging{ cursor: grabbing; scroll-snap-type: none; }
.carousel-item{
  flex: 0 0 auto; width: 220px; scroll-snap-align: start;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.carousel-item a{ display:block; }
.carousel-item .poster-wrap{ position:relative; aspect-ratio:2/3; overflow:hidden; background: var(--bg-alt); border:1px solid var(--line); }
.carousel-item img{
  width:100%; height:100%; object-fit:cover; pointer-events:none;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: grayscale(.2) brightness(.88);
}
.carousel-item:hover img{ transform: scale(1.06); filter:none; }
.carousel-item .badge{
  position:absolute; top:10px; left:10px; z-index:2;
  font-family: var(--font-display); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  background: var(--orange); color:#12100c; padding: 5px 10px;
}
.carousel-item .badge.status{ background: var(--olive-bright); }
.carousel-item .ttl{ margin-top:16px; font-family: var(--font-display); font-size:16px; line-height:1.3; letter-spacing:.01em; }
.carousel-item .sub{ margin-top:5px; color: var(--ink-faint); font-size:12px; letter-spacing:.05em; text-transform:uppercase; }
@media (max-width: 560px){ .carousel-item{ width:160px; } }

.carousel-lg{ gap:24px; }
.carousel-lg .carousel-item{ width:248px; }
.carousel-lg .carousel-item .ttl{ font-size:15px; margin-top:14px; }
.carousel-lg .carousel-item .sub{ font-size:11px; }
.carousel-lg .carousel-item .badge{ font-size:10px; padding:5px 10px; }
@media (max-width: 880px){ .carousel-lg .carousel-item{ width:210px; } }
@media (max-width: 560px){ .carousel-lg .carousel-item{ width:175px; } }

/* =============== Pricing (Обучение) =============== */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; align-items:stretch; }
.price-card{
  display:flex; flex-direction:column; background: var(--bg);
  border:1px solid var(--line); padding: 40px 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover{ transform: translateY(-8px); border-color: var(--orange); box-shadow: 0 26px 54px rgba(0,0,0,.38); }
.price-card.featured{ border-color: var(--orange); background: linear-gradient(180deg, rgba(228,97,30,.07), transparent 55%); }
.price-card .tier{ font-family: var(--font-display); font-size:14px; letter-spacing:.2em; color: var(--orange-bright); }
.price-card .price{ font-family: var(--font-display); font-size: 36px; margin: 14px 0 18px; }
.price-card .desc{ color: var(--ink-dim); font-size:14.5px; line-height:1.6; min-height: 66px; }
.price-card ul{ margin: 24px 0; flex:1; }
.price-card li{
  display:flex; gap:10px; align-items:flex-start; padding: 12px 0; border-top:1px solid var(--line);
  font-size:14px; color: var(--ink-dim); line-height:1.5;
}
.price-card li:first-child{ border-top:none; }
.price-card li::before{
  content:""; flex:none; width:14px; height:14px; margin-top:3px;
  background-color: var(--orange-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card .note{ font-size:13px; color: var(--ink-faint); border-top:1px solid var(--line); padding-top:16px; margin-top:auto; line-height:1.6; }
@media (max-width: 960px){ .pricing-grid{ grid-template-columns: 1fr; } }

.info-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: var(--line); border:1px solid var(--line); margin: 40px 0; }
.info-item{ background: var(--bg); padding: 26px 22px; }
.info-item .k{ font-family: var(--font-display); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-faint); margin-bottom:10px; }
.info-item .v{ font-size:15px; color: var(--ink); line-height:1.4; }
@media (max-width: 760px){ .info-grid{ grid-template-columns: repeat(2,1fr); } }

.months-row{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-top:26px; }
.month-card{ border:1px solid var(--line); padding:24px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.month-card:hover{ border-color: var(--orange); transform: translateY(-4px); }
.month-card .m{ font-family: var(--font-display); color: var(--orange-bright); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:10px; }
.month-card .t{ font-size:15px; color: var(--ink); }
@media (max-width: 760px){ .months-row{ grid-template-columns: 1fr; } }

/* =============== Coming soon =============== */
.soon-badge{
  display:inline-flex; align-items:center; gap:9px; font-family: var(--font-display); font-size:12px;
  letter-spacing:.14em; text-transform:uppercase; color: var(--olive-bright);
  border:1px solid var(--olive-bright); padding: 9px 18px;
}
.soon-badge .dot{ width:7px; height:7px; border-radius:50%; background: var(--olive-bright); animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.35; transform:scale(1.3); } }

/* =============== utility =============== */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.text-center{ text-align:center; }
.mt-lg{ margin-top: 60px; }

/* staggered cascade for grids */
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(1){ transition-delay: .02s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(2){ transition-delay: .09s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(3){ transition-delay: .16s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(4){ transition-delay: .23s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(5){ transition-delay: .30s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(6){ transition-delay: .37s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(7){ transition-delay: .44s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(8){ transition-delay: .51s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(9){ transition-delay: .58s; }
:is(.projects-grid, .team-grid, .pricing-grid, .clients-grid, .months-row) > .reveal:nth-child(10){ transition-delay: .65s; }

/* =============== Legal documents =============== */
.legal-sub{ color: var(--ink-dim); font-size:16px; line-height:1.6; max-width:70ch; margin-top:18px; }
.legal{ max-width: 860px; margin-top: 46px; }
.legal h3{ font-size: clamp(20px,2.4vw,26px); margin: 40px 0 14px; color: var(--orange-bright); }
.legal p{ color: var(--ink-dim); font-size:15.5px; line-height:1.8; margin-bottom:12px; }
.legal p strong, .legal li strong{ color: var(--ink); font-weight:600; }
.legal p.sub{ margin-top:22px; margin-bottom:8px; }
.legal ul{ margin: 4px 0 16px; padding-left:0; }
.legal li{ position:relative; color: var(--ink-dim); font-size:15.5px; line-height:1.75; padding-left:22px; margin-bottom:6px; }
.legal li::before{ content:"—"; position:absolute; left:0; color: var(--orange); }
.legal-table{ overflow-x:auto; margin: 22px 0; border:1px solid var(--line); }
.legal-table table{ border-collapse:collapse; width:100%; min-width:640px; font-size:14px; }
.legal-table th, .legal-table td{ border:1px solid var(--line); padding:12px 14px; text-align:left; vertical-align:top; color: var(--ink-dim); line-height:1.5; }
.legal-table th{ color: var(--ink); font-family: var(--font-display); letter-spacing:.06em; text-transform:uppercase; font-size:12px; background: var(--bg-alt); }
