@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

:root{
  --bg:#0b0b0a;
  --panel:rgba(28,27,24,.78);
  --stroke:rgba(255,255,255,.11);
  --text:#f4efe7;
  --muted:#b9b0a4;
  --accent:#c7923e;
  --accent2:#8f6124;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 650px at 20% 0%, rgba(199,146,62,.16) 0%, var(--bg) 48%, #050505 100%);
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

.nav{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(8,8,7,.82);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav-inner{
  max-width:1100px;
  margin:0 auto;
  padding:20px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* Brand / Logo */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--text);
}

.brand-logo{
  height:58px;
  width:auto;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-top{
  font-weight:900;
  letter-spacing:.3px;
  font-size:20px;
}

.brand-sub{
  font-size:14px;
  color:var(--muted);
}

nav a{
  color:var(--muted);
  text-decoration:none;
  margin-left:18px;
  font-weight:700;
  font-size:15px;
}

nav a:hover{color:var(--text)}
nav a.active{color:var(--text)}

.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  border-bottom:1px solid rgba(255,255,255,.08);
  background-color:#080807;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.hero-home{ background-image:url("assets/home-hero.jpg"); }
.hero-video{ background-image:url("assets/video-hero.jpg"); min-height:420px; }
.hero-vfx{ background-image:url("assets/vfx-hero.jpg"); min-height:420px; }

/* Home hero background video */
.video-hero-bg{
  position:relative;
  overflow:hidden;
  background-image:none !important;
}

.video-hero-bg.hero-home{
  background-image:none !important;
}

.video-hero-bg .hero-bg-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 32%;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg, rgba(8,8,7,.20) 0%, rgba(8,8,7,.58) 55%, rgba(8,8,7,.88) 100%);
}

.hero-inner{
  position:relative;
  z-index:2;
  padding:80px 0 46px;
  max-width:1100px;
  width:100%;
}

.hero-inner.compact{ padding:72px 0 40px; }

.hero h1{
  margin:0 0 10px;
  font-size:clamp(36px,5vw,56px);
  letter-spacing:-.3px;
}

.hero-sub{
  margin:0 0 22px;
  color:rgba(244,239,231,.82);
  max-width:60ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
}

.btn.primary{
  background:linear-gradient(180deg, rgba(199,146,62,.96), rgba(143,97,36,.96));
  border-color:rgba(199,146,62,.58);
  box-shadow:0 14px 30px rgba(0,0,0,.36);
}

.btn.ghost{
  background:rgba(0,0,0,.28);
  border-color:rgba(255,255,255,.18);
}

.btn.small{
  padding:10px 14px;
  border-radius:10px;
  font-size:14px;
}

.section{ padding:64px 0; }

.split-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.panel{
  padding:22px;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--stroke);
  backdrop-filter:blur(8px);
}

.panel h2{margin:0 0 8px}

.panel p{
  margin:0 0 10px;
  color:var(--muted);
}

.text-link{
  color:#e4b66c;
  text-decoration:none;
  font-weight:700;
}

.text-link:hover{color:var(--text)}

.filmstrip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.tile{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  text-decoration:none;
  color:var(--text);
}

.tile img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
  filter:saturate(1.04) contrast(1.06);
}

.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.58) 100%);
}

.tile-label{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:1;
  font-weight:800;
  letter-spacing:.2px;
  text-shadow:0 10px 25px rgba(0,0,0,.65);
}

/* Original stacked project styles — still used on other pages */
.projects{
  display:grid;
  gap:18px;
}

.project{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
  padding:18px;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--stroke);
}

.project-media iframe{
  width:100%;
  aspect-ratio:16/9;
  border:0;
  border-radius:14px;
}

.project-body h3{margin:0 0 8px}

.project-body p{
  margin:0 0 10px;
  color:rgba(244,239,231,.86);
}

.project-body .muted{color:var(--muted)}

/* Portfolio grid pages */
.portfolio-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

.portfolio-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--stroke);
  backdrop-filter:blur(8px);
}

.portfolio-media iframe {
  width:100%;
  aspect-ratio:16/9;
  border:0;
  display:block;
}

.portfolio-card-body {
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  flex:1;
}

.portfolio-card-body h3 {
  margin:0;
  font-size:24px;
  line-height:1.05;
}

.portfolio-card-body p {
  margin:0;
  color:rgba(244,239,231,.86);
}

.portfolio-card-body .muted {
  color:var(--muted);
  font-size:14px;
}

.portfolio-tag {
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(199,146,62,.14);
  border:1px solid rgba(199,146,62,.28);
  color:#e4b66c;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.featured-reel {
  grid-template-columns:1.25fr .75fr;
  border-color:rgba(199,146,62,.28);
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}

/* Full-width Featured Work Carousel */
.featured-section{
  overflow:hidden;
  padding-top:72px;
  padding-bottom:72px;
}

.featured-heading{
  margin-bottom:18px;
}

.featured-heading h2{
  margin:0 0 6px;
}

.featured-heading p{
  margin:0;
  color:var(--muted);
  max-width:60ch;
}

.carousel-shell {
  position:relative;
}

.featured-carousel{
  display:flex;
  gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-left:calc((100vw - min(86vw, 980px)) / 2);
  padding-right:calc((100vw - min(86vw, 980px)) / 2);
  padding-bottom:18px;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}

.featured-carousel::-webkit-scrollbar{
  height:10px;
}

.featured-carousel::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
  border-radius:999px;
}

.featured-carousel::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
}

.featured-slide{
  flex:0 0 min(86vw, 980px);
  scroll-snap-align:center;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:18px;
  padding:18px;
  border-radius:22px;
  background:var(--panel);
  border:1px solid var(--stroke);
  backdrop-filter:blur(8px);
}

.featured-media iframe{
  width:100%;
  aspect-ratio:16/9;
  border:0;
  border-radius:16px;
  display:block;
}

.featured-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}

.featured-info h3{
  margin:0 0 10px;
  font-size:clamp(22px, 3vw, 34px);
  line-height:1.05;
}

.featured-info p{
  margin:0 0 16px;
  color:rgba(244,239,231,.86);
  max-width:42ch;
}

/* Carousel arrows */
.carousel-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(8,8,7,.72);
  color:var(--text);
  font-size:38px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-arrow:hover {
  background:rgba(199,146,62,.88);
  border-color:rgba(199,146,62,.55);
}

.carousel-arrow:active {
  transform:translateY(-50%) scale(.96);
}

.carousel-arrow-left {
  left:18px;
}

.carousel-arrow-right {
  right:18px;
}

.contact a{
  color:#e4b66c;
  font-weight:800;
  text-decoration:none;
}

.contact a:hover{color:var(--text)}

.about-panel{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  align-items:center;
}

.about-image{
  flex:1 1 260px;
  max-width:300px;
}

.about-image img{
  width:100%;
  border-radius:8px;
  display:block;
}

.about-text{
  flex:2 1 400px;
}

.about-text p{
  margin-top:10px;
}

.social-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
  font-size:14px;
  color:var(--muted);
}

.about-actions{
  margin-top:14px;
}

.footer{
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(244,239,231,.65);
}

.footer-inner{
  padding:26px 0;
  font-size:14px;
}

/* Services */
#services{
  padding-top:96px;
  padding-bottom:76px;
}

.services-heading {
  margin-bottom:34px;
}

.services-cards {
  align-items:stretch;
}

.service-card {
  position:relative;
}

.service-label {
  display:inline-block;
  margin-bottom:14px;
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
}

.service-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 18px;
}

.service-tags span {
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  padding:7px 10px;
  border-radius:999px;
  font-size:0.85rem;
}

.image-service-card {
  min-height:720px;
  padding:34px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
  position:relative;
  display:flex;
  align-items:flex-end;
}

.service-card-overlay {
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(5,5,5,.22) 0%,
      rgba(5,5,5,.72) 55%,
      rgba(5,5,5,.92) 100%
    );
  z-index:1;
}

.service-card-content {
  position:relative;
  z-index:2;
  max-width:560px;
}

.image-service-card h2,
.image-service-card p,
.image-service-card .text-link {
  position:relative;
  z-index:2;
}

.image-service-card .service-label {
  color:var(--accent);
}

.image-service-card .service-tags span {
  background:rgba(0,0,0,.35);
  color:var(--text);
  border-color:rgba(255,255,255,.18);
  backdrop-filter:blur(4px);
}

/* Centered top navigation for homepage index */
.nav-centered {
  position:sticky;
  top:0;
  z-index:10;
}

.nav-inner-centered {
  position:relative;
  min-height:92px;
  justify-content:center;
}

.nav-left {
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-left a {
  margin-left:0;
}

.brand-centered {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  display:flex;
  justify-content:center;
  align-items:center;
}

.brand-logo-centered {
  height:70px;
}

/* Bigger homepage video hero */
.hero-home,
.video-hero-bg {
  min-height:88vh;
}

.hero-inner-centered {
  min-height:88vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  text-align:center;
  padding:110px 0 105px;
}

.hero-actions-centered {
  justify-content:center;
}

/* Kaushan Script display font for major titles only */
.hero h1,
.featured-heading h2,
.service-card h2,
.featured-info h3,
.about-text h2 {
  font-family:'Kaushan Script', cursive;
  font-style:normal;
  font-weight:400;
  letter-spacing:.01em;
  text-shadow:0 10px 30px rgba(0,0,0,.48);
}

/* Homepage hero title */
.hero-inner-centered h1 {
  max-width:1000px;
  margin:0 0 26px;
  font-size:clamp(54px, 8vw, 104px);
  line-height:.95;
  text-shadow:0 12px 35px rgba(0,0,0,.7);
}

/* Section titles like Services / Featured Work / About */
.featured-heading h2,
.about-text h2 {
  font-size:clamp(42px, 5vw, 68px);
  line-height:1;
}

/* Service card titles */
.service-card h2 {
  font-size:clamp(38px, 4.5vw, 64px);
  line-height:1;
  margin-bottom:14px;
}

/* Featured video titles */
.featured-info h3 {
  font-size:clamp(34px, 4vw, 54px);
  line-height:1;
}

/* Keep readable text clean */
p,
.hero-sub,
.featured-heading p,
.service-card p,
.featured-info p,
.about-text p,
.service-tags,
.btn,
.text-link,
nav a {
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.image-service-card p {
  font-size:1.08rem;
  line-height:1.55;
}

.service-label {
  font-size:.86rem;
}

.service-tags {
  margin:26px 0 24px;
}

.service-tags span {
  padding:9px 13px;
  font-size:.92rem;
}

/* Responsive */
@media (max-width: 1000px){
  .portfolio-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px){
  .split-cards{grid-template-columns:1fr}
  .filmstrip{grid-template-columns:1fr}
  .project{grid-template-columns:1fr}

  .nav-inner{
    padding:14px 20px;
    gap:12px;
  }

  .brand-logo{
    height:46px;
  }

  .brand-top{
    font-size:17px;
  }

  .brand-sub{
    font-size:12px;
  }

  nav a{
    font-size:13px;
    margin-left:10px;
  }

  .nav-inner-centered {
    min-height:104px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .brand-centered {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    order:1;
    margin-bottom:10px;
  }

  .brand-logo-centered {
    height:54px;
  }

  .nav-left {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    order:2;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
  }

  .nav-left a {
    margin-left:0;
  }

  .hero-home,
  .video-hero-bg {
    min-height:82vh;
  }

  .video-hero-bg .hero-bg-video{
    object-position:center 35%;
  }

  .hero-inner-centered {
    min-height:82vh;
    justify-content:flex-end;
    padding:84px 0 78px;
  }

  .hero-inner-centered h1 {
    font-size:clamp(46px, 13vw, 72px);
  }

  #services{
    padding-top:78px;
    padding-bottom:62px;
  }

  .image-service-card{
    min-height:560px;
    padding:26px;
  }

  .image-service-card h2 {
    font-size:clamp(32px, 9vw, 48px);
  }

  .featured-slide{
    flex-basis:88vw;
    grid-template-columns:1fr;
  }

  .featured-info h3{
    font-size:clamp(32px, 9vw, 46px);
  }

  .carousel-arrow {
    width:42px;
    height:42px;
    font-size:30px;
  }

  .carousel-arrow-left {
    left:10px;
  }

  .carousel-arrow-right {
    right:10px;
  }
}

@media (max-width: 680px){
  .portfolio-grid {
    grid-template-columns:1fr;
  }

  .portfolio-card-body h3 {
    font-size:22px;
  }
}
