/* GLOBAL CONTENT ALIGNMENT */
.section{
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
}

/* section spacing */
.section{
  padding: 80px 0;
}

/* headings */
.section-head{
  margin-bottom: 40px;
}

/* services row */
.service-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:30px;
  margin-top:40px;
}

/* works grid */
.grid{
  margin-top:40px;
}

/* contact section */
.contact-card{
  margin-top:30px;
  justify-content:center;
}
.section-head h2{
  text-align:center;
}

.section-head p,
.section-head .accent{
  text-align:center;
}

.contact-card{
  display:flex;
  justify-content:center;
  align-items:center;
}

.logo{
  height:48px;
  width:auto;
  display:block;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  border:none;
  background:none;
  padding:0;
}

:root{
  --bg:#07080c;
  --text:#f2f4ff;
  --muted:rgba(242,244,255,.72);
  --line:rgba(255,255,255,.12);
  --brand:#f59e0b;
  --radius:18px;
  --shadow: 0 18px 55px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:var(--bg);
}

.bg-video{
  position:fixed; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:-3;
}
.bg-overlay{
  position:fixed; inset:0;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(245,158,11,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.65));
  z-index:-2;
}

.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 60px;

  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.25);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav-left{
  display:flex;
  align-items:center;
}

.nav-right{
  display:flex;
  gap:28px;
  align-items:center;
}

.nav-right a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-weight:600;
}

.nav-right a:hover{
  color:#f59e0b;
}

.logo{
  height:48px;
  width:auto;
}
.brand{
  font-weight:900;
  letter-spacing:1px;
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--text);
}
.topnav{display:flex; gap:14px; align-items:center}
.topnav a{
  color:var(--muted);
  text-decoration:none;
  padding:10px 10px;
  border-radius:12px;
}
.topnav a:hover{color:var(--text); background:rgba(255,255,255,.06)}
.menu-btn{
  cursor:pointer;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
}

.hero{
  min-height:65vh;
  display:flex;
  align-items:center;
  justify-content:center;

  padding-top: 50px;   /* pushes content below header */
  padding-bottom: 30px;
	

  box-sizing:border-box;
}

.hero-grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:60px;
  align-items:center;
  justify-content:center;

  max-width:1200px;
  width:100%;
  margin:0 auto;
}

.hero-image{
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-image img{
  width:100%;
  height:auto;
  display:block;
}

.hero-content{
  max-width: 840px;
}

.hero-kicker{
    margin: 0 0 14px;
    font-weight: 900;
    letter-spacing: 2.02em;
    text-transform: uppercase;
    font-size: 13px;
    color: rgba(250,102,3,1.00);
}

.hero-title{
  font-family: 'Agfont2'; src: url('fonts/Montserrat-ExtraBold.otf') format('opentype');
  margin:0 0 14px;
  font-size: clamp(0px, 5vw, 50px);
  line-height:1.02;
  letter-spacing:-.02em;
}

.hero-sub{
  margin:0 0 14px;
  max-width: 60ch;
  color: rgba(255,101,0,1.00);
  line-height:1.65;
  font-size: 18px;
}

.hero-meta{
  margin:0 0 22px;
  color: rgba(242,244,255,.65);
  font-weight:600;
  letter-spacing:.02em;
}

.hero-meta span{
  margin: 0 10px;
  color: rgba(245,158,11,.8);
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.accent{
  color: #ff5a28;
}

.section-head h2{
  font-family: 'Agfont', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(42px, 4vw, 56px);

  background: linear-gradient(
    90deg,
    #ff6a00,
    #ff9a2a,
    #ff6a00
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  -webkit-font-smoothing: antialiased;

  text-shadow:
    0 0 12px rgba(255,106,0,.25),
    0 0 28px rgba(255,106,0,.15);
}

/* Responsive */
@media (max-width: 980px){
  .hero{
    padding: 140px 20px 50px;
  }
  .hero-grid{
    grid-template-columns: 1fr;
    gap:26px;
  }
  .hero-image{
    max-width: 520px;
  }
}
.hero-content{
  max-width:800px;
}

.eyebrow{
  color:rgba(250,113,59,1.00);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:20px;
  font-size:12px;
  margin:0 0 10px;
}
.hero-title{
  margin:0 0 10px;
  font-size: clamp(34px, 5vw, 64px);
  line-height:1.03;
}
.hero-sub{
  margin:0 0 18px;
  color:var(--muted);
  max-width: 62ch;
  line-height:1.6;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  text-decoration:none;
  font-weight:900;
}
.btn-primary{
  background: linear-gradient(180deg, rgba(255,90,40,1), rgba(255,120,40,.75));
  color:#140900;
  border-color: rgba(245,158,11,.55);
}
.btn-ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.scroll-hint{
  position:absolute;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.65);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
}

.section{
  max-width:1100px;
  margin:0 auto;
  padding: 15px 20px;
	
}
/* =========================
   SECTION HEAD (MATCH WORKS STYLE)
========================= */

.section-head{
  margin: 0 0 34px;              /* space before cards/content */
}

/* Big orange condensed title */
.section-head h2{
  margin: 0 0 10px;              /* close the gap to subline */
  font-family: 'Agfont', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;        /* tight, like your screenshot */
  font-weight: 400;              /* keeps it from looking "thick" */
  line-height: 0.95;

  color: var(--brand);           /* your orange */
  font-size: clamp(72px, 6vw, 96px);
	
}

/* White spaced-out subline (works for <p> OR <span class="accent">) */
.section-head p,
.section-head .accent{
  display: block;
  margin: 0;                     /* keeps it tucked under the title */
  font-family: 'Agfont2';
  src: url('fonts/Montserrat-ExtraBold.otf') format('opentype');
  text-transform: uppercase;
  letter-spacing: 0.14em;        /* spaced out like "HIGH END BRAND VISUALS" */
  font-weight: 100;
  line-height: 1.2;

  color: rgba(255,255,255,.88);
  font-size: clamp(10px, 2vw, 16px);
}

/* Optional: if you want the subline to sit a little lower */
.section-head p,
.section-head .accent{
  padding-top: 0px;
}

  background: linear-gradient(
    90deg,
    #ff6a00,
    #ff9a2a,
    #ff6a00
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  -webkit-font-smoothing: antialiased;

  text-shadow:
    0 0 12px rgba(255,106,0,.25),
    0 0 28px rgba(255,106,0,.15);
}

.section-head span{
  display:block;
  margin-bottom:40px; font-family: 'Agfont';
  src: url('fonts/Heathergreen.otf') format('opentype');
	
}
.section-head .accent{
  font-family: 'Agfont2';
  src: url('fonts/Montserrat-ExtraBold.otf') format('opentype');
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(12px, 2vw, 16px);
  color: #ffffff; font-family: 'Agfont2';
	
}
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0px;
}

/* =========================
   WORK GRID HOVER EFFECT
========================= */

/* smooth animation */
.grid .card{
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
  will-change: transform, filter;
}

/* when hovering the grid */
.grid:hover .card{
  filter: blur(4px);
  opacity:.35;
  transform: scale(.92);
}

/* keep hovered card sharp and lifted */
.grid .card:hover{
  filter: blur(0);
  opacity:1;
  transform: scale(1.15) translateY(-10px);
  z-index:5;
}


/* desktop */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:40px;
}

/* tablet */
@media (max-width:1100px){
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width:600px){
  .grid{
    grid-template-columns: 1fr;
  }
}

.card{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(0,0,0,.20);
  border:none; /* removes stroke */
  box-shadow: var(--shadow);
  text-decoration:none;
  color:var(--text);
  transition: transform .25s ease, filter .25s ease;
	margin-top: 0px; margin-bottom: 10px
}

.card .card-poster{
  width:100%;
  height:auto;         /* IMPORTANT: no cropping */
  display:block;
}

/* keep your movement */
.card:hover{
  transform: translateY(-6px);
  filter: brightness(1.03);
  padding:18px 12px 22px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.cap h3{margin:10px 0 0; font-size:16px}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.panel{
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  padding:16px;
  box-shadow: var(--shadow);
}
.panel h3{margin:0 0 10px}
.panel ul{margin:0; padding-left:18px; color:var(--muted); line-height:1.8}
.muted{color:var(--muted)}

.service-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.service{
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  padding:10px;
  box-shadow: var(--shadow);
}
.service h3{margin:0 0 8px;
  font-family: 'Agfont';
  font-size: 32px;
  font-weight: normal;
  color:#FF8015; /* orange */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: -3px
}

.service p{margin:0; color:var(--muted); line-height:1.6; font-family: 'Agfont3';
  src: url('fonts/Montserrat-Medium.otf') format('opentype'); font-size: 14px; text-transform: uppercase}

.contact-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  padding:16px;
  box-shadow: var(--shadow);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Menu overlay */
.menu-overlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
  z-index:40;
  display:none;
}
.menu-overlay.is-open{display:block}
.menu-close{
  position:absolute; top:18px; right:20px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  width:44px; height:44px;
  border-radius:14px;
  font-size:26px;
  cursor:pointer;
}
.menu-inner{
  max-width:900px;
  margin: 110px auto 0;
  padding: 0 20px;
  display:grid;
  gap:16px;
}
.menu-link{
  font-size: clamp(28px, 4vw, 52px);
  font-weight:900;
  letter-spacing:.5px;
}
.menu-link:hover{color: rgba(245,158,11,.95)}
.menu-meta{
  margin-top: 18px;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top: 14px;
  color: rgba(255,255,255,.70);
}
.menu-meta .k{color: rgba(245,158,11,.90); font-weight:900; margin-right:10px}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.88);
  z-index:60;
  display:none;
  place-items:center;
  padding: 30px 18px;
}
.lightbox.is-open{display:grid}
.lightbox img{
  max-width:min(1100px, 95vw);
  max-height: 85vh;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
}
.lightbox-close{
  position:fixed; top:18px; right:20px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  width:44px; height:44px;
  border-radius:14px;
  font-size:26px;
  cursor:pointer;
}

@media (max-width: 980px){
  .grid{grid-template-columns: repeat(2, 1fr)}
  .two-col{grid-template-columns:1fr}
  .service-row{grid-template-columns:1fr}
  .topnav a{display:none}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
}

/* HARD OVERRIDE: remove any box around the logo */
a.brand{
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

a.brand img.logo{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  display: block;
}
.marquee-section{
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: -60px; /* adjust to sit near your feet */
  height: 220px;     /* controls the marquee band height */
}

/* Faded edges */
.marquee-fade{
  position:absolute;
  top:0; bottom:0;
  width:200px;
  z-index: 4;
  pointer-events:none;
}
.marquee-fade-left{
  left:0;
  background: linear-gradient(to right, rgba(0,0,0,.95), rgba(0,0,0,0));
}
.marquee-fade-right{
  right:0;
  background: linear-gradient(to left, rgba(0,0,0,.95), rgba(0,0,0,0));
}

/* Particles canvas behind text */
.marquee-particles{
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  opacity: .55;
}

/* =========================
   MARQUEE
========================= */

.marquee-section{
  position: relative;
  overflow: hidden;
  height: 200px;

  margin-top: -90px;   /* pulls it upward */
  margin-bottom: 0px;
}

.marquee{
  display:flex;
  align-items:center;
  height:100%;
}

.marquee-track{
  display:flex;
  gap:120px;
  white-space:nowrap;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-track span{
  font-family: 'Agfont', sans-serif;
  font-size: clamp(80px, 10vw, 160px);
  letter-spacing: .12em;
  text-transform: uppercase;

  color: #ff6a00;
  opacity: .25;
}

/* scrolling animation */

@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* fade edges */

.marquee-fade{
  position:absolute;
  top:0;
  bottom:0;
  width:140px;
  pointer-events:none;
  z-index:2;
}

.marquee-fade-left{
  left:0;
  background:linear-gradient(to right,#07080c,transparent);
}

.marquee-fade-right{
  right:0;
  background:linear-gradient(to left,#07080c,transparent);
}
/* Smooth infinite scroll */
@keyframes scroll-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}
/* Smooth infinite scroll */
@keyframes scroll-marquee{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@font-face{
  font-family: 'Agfont';
  src: url('fonts/Heathergreen.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Agfont2';
  src: url('fonts/Montserrat-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Agfont3';
  src: url('fonts/Montserrat-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.project-btn{
  display:block;
  width:min(320px, 85%);
  height:auto;
  margin:16px auto 6px auto;
}

.project-btn:hover{
  transform: scale(1.05);
  filter: brightness(1.1);
}

#works{
  margin-top: -70px;
}

/* ==== Works hover focus effect ==== */

/* make sure scaled cards aren't clipped */
.grid{
  overflow: visible;
}

/* smooth animation + default stacking */
.grid .card{
  position: relative;
  z-index: 1;
  transition: transform .45s ease, filter .45s ease;
  transform-origin: center;
}

/* when hovering anywhere in the grid, blur/dim all cards */
.grid:hover .card{
  filter: blur(6px) brightness(.6);
  transform: scale(.95);
}

/* bring the hovered card into focus */
.grid .card:hover{
  filter: none;
  transform: scale(1.25);
  z-index: 10;
}

/* optional: make the focused card feel more premium */
.grid.is-hovering .card{
  filter: blur(6px) brightness(.6);
  transform: scale(.95);
}
.grid.is-hovering .card:hover{
  filter:none;
  transform: scale(1.25);
  z-index:10;
  box-shadow: 0 40px 80px rgba(0,0,0,.7);
}

/* ===== Fullscreen Gallery Overlay ===== */
body.has-gallery-open{
  overflow: hidden;
}

/* Optional: blur ONLY the page behind overlay (not your navbar inside overlay) */
body.has-gallery-open .topbar,
body.has-gallery-open main,
body.has-gallery-open .section,
body.has-gallery-open .hero{
  filter: blur(10px);
  transform: translateZ(0);
}

/* =========================
   GALLERY OVERLAY
========================= */

.g-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none; /* hidden by default */

  background: rgba(0,0,0,.85);
  backdrop-filter: blur(14px);

  align-items: center;
  justify-content: center;
}

.g-overlay.is-open{
  display: flex;
}

/* Prevent scrolling when gallery is open */
body.has-gallery-open{
  overflow: hidden;
}

/* Gallery container */
.g-shell{
  width: min(1400px, 92vw);
  height: min(90vh, 900px);

  background: rgba(10,10,12,.85);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 40px 120px rgba(0,0,0,.65);

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.g-top{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:20px 30px;

  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Body */
.g-body{
  overflow-y:auto;
  padding:30px;
}

/* Masonry grid */
.g-masonry{
  column-count:4;
  column-gap:24px;
}

@media (max-width:1100px){
  .g-masonry{ column-count:3; }
}

@media (max-width:700px){
  .g-masonry{ column-count:2; }
}

/* Items */
.g-item{
  break-inside: avoid;
  margin-bottom:24px;
  cursor:pointer;
}

.g-item img{
  width:100%;
  border-radius:14px;

  transition: transform .35s ease, box-shadow .35s ease;
}

.g-item:hover img{
  transform: scale(1.04);
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 0 30px rgba(255,120,0,.25);
}

/* =========================
   LIGHTBOX
========================= */

.lb{
  position: fixed;
  inset:0;
  z-index:10000;

  display:none;

  background: rgba(0,0,0,.95);
  backdrop-filter: blur(12px);

  align-items:center;
  justify-content:center;
}

.lb.is-open{
  display:flex;
}

.lb-img{
  max-width:90vw;
  max-height:85vh;

  border-radius:14px;
  box-shadow:0 30px 80px rgba(0,0,0,.8);
}

.lb-close{
  position:absolute;
  top:30px;
  right:40px;

  font-size:36px;
  color:white;
  background:none;
  border:none;
  cursor:pointer;
}

/* arrows */
.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);

  font-size:60px;
  color:white;
  background:none;
  border:none;
  cursor:pointer;
}

.lb-prev{ left:40px; }
.lb-next{ right:40px; }

/* =========================
SECTION TITLE (BIG ORANGE)
========================= */

.section-head h2{
  font-family: 'Agfont', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: .95;

  margin: 0 0 12px;

  color: var(--brand); /* orange */
  font-size: clamp(56px, 6vw, 96px);

  text-shadow:
    0 0 12px rgba(255,120,0,.55),
    0 0 40px rgba(255,120,0,.25);
}


/* =========================
SUBLINE (SPACED WHITE TEXT)
========================= */

.section-head .accent,
.section-head p{

  font-family: 'Agfont2';
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 300;

  color: rgba(255,255,255,.9);

  font-size: clamp(17px, 1.2vw, 18px);

  margin: 0 0 10px;
}

/* =========================
CAPABILITIES (COMBINED BLOCK)
========================= */

.cap-card{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 28px;

  padding: 26px;
  border-radius: 26px;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);

  box-shadow:
    0 30px 70px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cap-title{
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
}

.cap-sub{
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  max-width: 70ch;
}

.cap-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.cap-item{
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}

.cap-name{
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 6px;
}

.cap-desc{
  color: rgba(255,255,255,.68);
  line-height: 1.45;
  font-size: 14px;
}

.cap-right{
  display: grid;
  align-content: start;
  gap: 14px;

  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.10);
}

.cap-meta{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}

.cap-meta-k{
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}

.cap-meta-v{
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px){
  .cap-card{
    grid-template-columns: 1fr;
  }
  .cap-right{
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 16px;
  }
  .cap-grid{
    grid-template-columns: 1fr;
  }
}

/* MARKET SECTION */

.gtm{
  padding: 90px 0;
}

.gtm-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 3fr;
  gap: 60px;
  align-items: start;
}

.gtm-title{
  margin: 0;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.95);
}

.gtm-right{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.gtm-item h3{
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.gtm-item p{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  max-width: 34ch;
}

/* Responsive */
@media (max-width: 980px){
  .gtm-wrap{
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .gtm-right{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .gtm-item p{
    max-width: none;
  }
}
/* ==============================
   GALLERY OVERLAY + LIGHTBOX
   (HIDDEN until .is-open)
============================== */

/* ------------------------------
   GALLERY OVERLAY (DEFAULT HIDDEN)
------------------------------ */
.g-overlay{
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.g-overlay.is-open{
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0,0,0,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  align-items: center;
  justify-content: center;
}

body.has-gallery-open{
  overflow: hidden;
}

/* backdrop click area */
.g-backdrop{
  position: absolute;
  inset: 0;
}

/* dialog shell */
.g-shell{
  position: relative;
  width: min(1400px, 92vw);
  height: min(90vh, 900px);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: rgba(10,10,12,.88);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
}

/* top bar */
.g-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.g-kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.g-title{
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.g-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-filters{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.g-filter{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.g-filter.is-active{
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
}

.g-close{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

/* body */
.g-body{
  overflow: auto;
  padding: 22px 24px 28px;
}

/* masonry */
.g-masonry{
  column-count: 4;
  column-gap: 22px;
}

@media (max-width: 1100px){
  .g-masonry{ column-count: 3; }
}
@media (max-width: 720px){
  .g-masonry{ column-count: 2; }
}

.g-item{
  break-inside: avoid;
  margin-bottom: 22px;
  cursor: pointer;
}

.g-item img{
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
}

/* ------------------------------
   LIGHTBOX (DEFAULT HIDDEN)
------------------------------ */
.lb{
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.lb.is-open{
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  position: fixed;
  inset: 0;
  z-index: 10000;

  background: rgba(0,0,0,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  align-items: center;
  justify-content: center;
}

.lb-backdrop{
  position: absolute;
  inset: 0;
}

.lb-img{
  position: relative;
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
}

/* lightbox controls */
.lb-close,
.lb-nav{
  position: fixed;
  z-index: 10001;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);

  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
}

.lb-close{ top: 18px; right: 18px; }
.lb-prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 18px; top: 50%; transform: translateY(-50%); }

/* ===== Creative Direction: Glass Card ===== */
.cd-explain{
  padding: 26px 0 10px;
}

.cd-glass{
  width: min(1240px, 92%);
  margin: 0 auto;

  /* "Sitting off background" look */
  position: relative;
  border-radius: 26px;
  padding: 28px 28px 22px;

  background: rgba(8, 10, 14, .58);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 40px 120px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,255,255,.06) inset;

  transform: translateY(-6px);
}

/* subtle glow edge */
.cd-glass::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 26px;
  pointer-events:none;

  background: radial-gradient(
    1200px 280px at 20% 0%,
    rgba(255,120,0,.18),
    transparent 55%
  );
  opacity: .9;
}

/* text */
.cd-lede{
  max-width: 980px;
}

.cd-lede p{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
}

.cd-lede .cd-sub{
  color: rgba(255,255,255,.65);
}

/* feature grid inside glass */
.cd-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cd-card{
  border-radius: 18px;
  padding: 18px 18px 16px;

  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform .2s ease, border-color .2s ease;
}

.cd-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.16);
}

.cd-card h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255,255,255,.95);
}

.cd-card p{
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.70);
}

/* deliverables row */
.cd-deliverables{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);

  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cd-k{
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

.cd-line{
  font-size: 14px;
  color: rgba(255,255,255,.62);
}

@media (max-width: 980px){
  .cd-glass{ padding: 22px 18px 18px; }
  .cd-grid{ grid-template-columns: 1fr; }
  .cd-lede p{ font-size: 16.5px; }
}

/* ==============================
   CREATIVE DIRECTION (GLASS PANEL)
============================== */
.cd-explain{
  padding: 34px 0 10px;
}

.cd-wrap{
  width: min(1240px, 92%);
  margin: 0 auto;
}

.cd-panel{
  background: rgba(10,10,12,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  padding: 28px 30px 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cd-lede{
  max-width: 980px;
}

.cd-lede p{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
}

.cd-lede .cd-sub{
  color: rgba(255,255,255,.62);
}

.cd-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cd-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.cd-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.cd-card p{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
}

.cd-deliverables{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cd-k{
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.cd-line{
  font-size: 14px;
  color: rgba(255,255,255,.62);
}

@media (max-width: 980px){
  .cd-grid{ grid-template-columns: 1fr; }
  .cd-lede p{ font-size: 16.5px; }
}
.topbar .menu-btn{
  color: #FF7800 !important;
}

/* =========================
   WORKS SECTION SCALE
========================= */

/* make the section wider */
#works{
  width: min(1500px, 94%);
  margin: 0 auto;
}

/* bring cards closer */
#works .grid{
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;   /* was 40px */
}

/* make cards visually bigger */
#works .card{
  transform: scale(1.27);
}

/* keep hover effect smooth */
#works .card:hover{
  transform: scale(1.25) translateY(-10px);
}

/* ===== HARD OVERRIDE: WORKS GRID SPACING ===== */
#works .grid{
  gap:22px !important;
  grid-template-columns:repeat(4, 1fr) !important;
}

#works .card{
  transform:scale(1.27) !important;
}

/* Main content sits above marquee */
#works,
#works .section,
.section,
.section-head,
.grid,
.card{
  position: relative;
  z-index: 2;
}

@media (max-width: 768px){
  .marquee-section{
    height: 120px;
    margin-top: -30px;
  }

  .marquee-track span{
    font-size: clamp(42px, 12vw, 72px);
    opacity: .14;
  }
}

  /* make the works/content section sit above it */
  #works,
  .section,
  .section-head,
  .grid{
    position: relative;
    z-index: 3 !important;
  }
}

@media (max-width: 768px){
  .marquee-track span{
    opacity: .06 !important;
  }
}

/* =========================
   MOBILE MARQUEE OVERLAP FIX
========================= */
 /* keep marquee layers behind */
  .marquee,
  .marquee-track,
  .marquee-particles,
  .marquee-fade{
    position: relative;
    z-index: 0 !important;
  }

  /* soften marquee on mobile */
  .marquee-track span{
    font-size: clamp(34px, 10vw, 56px) !important;
    opacity: .08 !important;
    letter-spacing: .08em !important;
  }

  /* works section sits above everything below */
  #works,
  #works .section,
  .section-head,
  .grid{
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 768px){

  /* hero gets extra room at bottom */
  .hero{
    padding-bottom: 90px !important;
  }

  /* marquee is pushed lower and made smaller */
  .marquee-section{
    height: 70px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .marquee-track span{
    font-size: 42px !important;
    line-height: 1 !important;
    opacity: .06 !important;
    letter-spacing: .06em !important;
  }

  /* keep all hero content above it */
  .hero-grid,
  .hero-content,
  .hero-cta,
  .btn{
    position: relative !important;
    z-index: 5 !important;
  }

  /* keep works section above marquee too */
  #works{
    position: relative !important;
    z-index: 3 !important;
  }
}

/* =========================
   MOBILE HERO CENTER ALIGN
========================= */
@media (max-width: 768px){

  .hero-content{
    text-align: center !important;
  }

  .hero-kicker{
    text-align: center !important;
    letter-spacing: .45em !important;
  }

  .hero-title{
    text-align: center !important;
  }

  .hero-sub{
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-meta{
    text-align: center !important;
    justify-content: center !important;
  }

}

/* =========================
   HARD MOBILE HERO CENTER
========================= */
@media (max-width: 768px){

  .hero,
  .hero-grid,
  .hero-content{
    text-align: center !important;
  }

  .hero-grid{
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .hero-content{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-meta{
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-kicker{
    letter-spacing: .35em !important;
  }

  .hero-sub{
    max-width: 92% !important;
  }

  .hero-meta{
    display: block !important;
    max-width: 92% !important;
  }

  .hero-meta span{
    display: inline-block !important;
    margin: 0 8px !important;
  }
}

/* =========================
   MOBILE HERO CENTER FIX
========================= */
@media (max-width: 768px){

  .hero{
    min-height: auto !important;
    padding: 120px 20px 70px !important;
  }

  .hero-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    justify-items: center !important;
    max-width: 100% !important;
  }

  .hero-image{
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-image img{
    width: min(82vw, 360px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-content{
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-kicker{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    letter-spacing: .38em !important;
    font-size: 11px !important;
  }

  .hero-title{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    font-size: clamp(30px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  .hero-sub{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .hero-meta{
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .hero-meta span{
    margin: 0 6px !important;
  }
}

@media (max-width: 768px){

  .hero{
    min-height: auto !important;
    padding: 120px 20px 70px !important;
  }

  .hero-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    justify-items: center !important;
    max-width: 100% !important;
  }

  .hero-image{
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-image img{
    width: min(82vw, 360px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-content{
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-kicker{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    letter-spacing: .38em !important;
    font-size: 11px !important;
  }

  .hero-title{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    font-size: clamp(30px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  .hero-sub{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .hero-meta{
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .hero-meta span{
    margin: 0 6px !important;
  }

  .marquee-section{
    display: none !important;
  }
}

@media (max-width: 768px){

  .hero{
    min-height: auto !important;
    padding: 120px 20px 70px !important;
  }

  .hero-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    justify-items: center !important;
    max-width: 100% !important;
  }

  .hero-image{
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-image img{
    width: min(82vw, 360px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-content{
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-kicker{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    letter-spacing: .38em !important;
    font-size: 11px !important;
  }

  .hero-title{
    width: 100% !important;
    margin: 0 0 16px !important;
    text-align: center !important;
    font-size: clamp(30px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  .hero-sub{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .hero-meta{
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .hero-meta span{
    margin: 0 6px !important;
  }

  .marquee-section{
    display: none !important;
  }
}

/* =========================
   FORCE WORK CARDS TO STACK ON MOBILE
========================= */
@media (max-width: 768px){

  #works .grid{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  #works .card{
    display: block !important;
    width: min(300px, 88vw) !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }

  #works .card img,
  #works .card .card-poster{
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .grid:hover .card,
  .grid .card:hover,
  #works .card:hover{
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* =========================
   DESKTOP MARQUEE RESET
========================= */
@media (min-width: 769px){

  .marquee-section{
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    height: 180px !important;
    margin-top: -40px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
  }

  .marquee{
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .marquee-track{
    display: flex !important;
    gap: 120px !important;
    white-space: nowrap !important;
    animation: marquee-scroll 40s linear infinite !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .marquee-track span{
    display: inline-block !important;
    font-family: 'Agfont', sans-serif !important;
    font-size: clamp(80px, 10vw, 160px) !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #ff6a00 !important;
    opacity: .16 !important;
    line-height: 1 !important;
  }

  .marquee-particles{
    z-index: 0 !important;
    opacity: .35 !important;
  }

  .marquee-fade{
    z-index: 2 !important;
  }

  /* keep works content above, but not hiding marquee */
  #works .section{
    position: relative !important;
    z-index: 2 !important;
  }
}

/* =========================
   FINAL MARQUEE RULES
========================= */

/* desktop */
@media (min-width: 769px){
  .marquee-section{
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    height: 170px !important;
    margin-top: -20px !important;
    margin-bottom: 30px !important;
    overflow: hidden !important;
  }

  .marquee{
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .marquee-track{
    display: flex !important;
    gap: 120px !important;
    white-space: nowrap !important;
    animation: marquee-scroll 40s linear infinite !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .marquee-track span{
    display: inline-block !important;
    font-family: 'Agfont', sans-serif !important;
    font-size: clamp(90px, 10vw, 160px) !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #ff6a00 !important;
    opacity: .20 !important;
    line-height: 1 !important;
  }

  .marquee-particles{
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    opacity: .35 !important;
  }

  .marquee-fade{
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 140px !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .marquee-fade-left{
    left: 0 !important;
    background: linear-gradient(to right, #07080c, transparent) !important;
  }

  .marquee-fade-right{
    right: 0 !important;
    background: linear-gradient(to left, #07080c, transparent) !important;
  }

  #works .section{
    position: relative !important;
    z-index: 2 !important;
  }
}

/* mobile */
@media (max-width: 768px){
  .marquee-section{
    display: none !important;
  }
}