/* Fennec Media — site styles */
:root {
  --black: #0b0b0b;
  --ink: #141414;
  --panel: #1b1b1b;
  --line: #2c2c2c;
  --white: #ffffff;
  --muted: #a7a7a7;
  --yellow: #fddf13;
  --radius: 14px;
  --wrap: 1240px;
  --head: "Barlow Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--yellow); color: var(--black); padding: 8px 14px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: #d9d9d9; max-width: 640px; }
.eyebrow { font: 600 15px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 600 17px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--yellow); background: var(--yellow); color: var(--black); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: var(--white); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-head.solid, .site-head.always { background: rgba(11,11,11,.92); backdrop-filter: blur(10px); border-color: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 54px; width: auto; }
@media (max-width: 760px) { .logo img { height: 44px; } }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font: 600 16px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #e6e6e6; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.nav .btn { padding: 12px 20px; font-size: 15px; color: var(--black); }
.nav .btn:hover { color: var(--black); }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 90px; overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.85) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 980px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Page hero (inner pages) */
.page-hero { padding: 170px 0 70px; border-bottom: 1px solid var(--line); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 38px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(44px, 5vw, 72px)/1 var(--head); color: var(--yellow); }
.stat span { font: 600 16px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #d4d4d4; }

/* Sections */
section { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 760px; }
.link { font: 600 16px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 6px; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: pointer; border: 0; padding: 0; color: var(--white); text-align: left; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.reel:hover video, .reel:hover img { transform: scale(1.04); }
.reel .cap { position: absolute; inset: auto 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font: 600 18px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.reel .play { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; }

/* Services cards */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); transition: border-color .3s; }
.svc:hover { border-color: var(--yellow); }
.svc img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.svc .body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.svc .num { font: 700 16px/1 var(--head); color: var(--yellow); letter-spacing: .14em; margin-bottom: 16px; }
.svc p { color: #cfcfcf; }
.svc .link { margin-top: auto; align-self: flex-start; }

/* Case study */
.case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1/1; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage img:first-child { grid-row: span 2; }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { padding-left: 26px; position: relative; color: #dcdcdc; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--yellow); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { border-top: 2px solid var(--yellow); padding-top: 26px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 54px/1 var(--head); color: #333; display: block; margin-bottom: 14px; }
.step p { color: #cfcfcf; }

/* CTA band */
.cta-band { background: var(--yellow); color: var(--black); padding: 90px 0; }
.cta-band h2 { max-width: 900px; }
.cta-band p { font-size: 20px; max-width: 620px; }
.cta-band .btn { background: var(--black); color: var(--white); border-color: var(--black); }

/* Work grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { background: transparent; color: #ddd; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font: 600 15px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 4/3; border: 0; padding: 0; cursor: zoom-in; color: var(--white); text-align: left; }
.tile.wide { grid-column: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; inset: auto 0 0; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.tile .cap b { display: block; font: 600 20px/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.tile .cap span { font-size: 14px; color: var(--yellow); letter-spacing: .08em; text-transform: uppercase; font-family: var(--head); font-weight: 600; }
.tile[hidden], .reel[hidden] { display: none; }

/* Services page */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 100px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; position: sticky; top: 110px; }
.svc-detail .who { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); color: #cfcfcf; font-size: 16px; }
.svc-detail .who b { color: var(--white); font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.placeholder { aspect-ratio: 4/5; border-radius: var(--radius); border: 1px dashed #444; display: grid; place-items: center; color: #777; text-align: center; padding: 30px; font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact dl { margin: 30px 0 0; }
.contact dt { font: 600 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.contact dd { margin: 8px 0 0; font-size: 22px; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--yellow); }
form { display: grid; gap: 18px; background: var(--panel); padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font: 600 14px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #cfcfcf; }
input, select, textarea { font: 400 17px/1.4 var(--body); color: var(--white); background: var(--black); border: 1px solid #383838; border-radius: 10px; padding: 14px 16px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.fine a { color: var(--white); }

/* Legal */
.legal { max-width: 760px; padding: 60px 0 120px; }
.legal h2 { font-size: 30px; margin-top: 40px; }
.legal p, .legal li { color: #d0d0d0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 70px 0 40px; color: #bdbdbd; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-foot img { height: 40px; width: auto; margin-bottom: 18px; }
.site-foot h4 { font: 600 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social svg .dot { fill: currentColor; stroke: none; }
.foot-legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #8a8a8a; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 60px 20px 20px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-height: calc(100vh - 100px); max-width: 100%; border-radius: 8px; }
.lightbox .close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }

/* Responsive */
@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reels { grid-template-columns: 1fr 1fr; }
  .svc-grid, .case, .svc-detail, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail img { position: static; aspect-ratio: 16/10; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 80px 0; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 84px 0 auto; background: var(--black); flex-direction: column; align-items: flex-start; padding: 30px 24px 40px; gap: 24px; border-bottom: 1px solid var(--line); transform: translateY(calc(-100% - 90px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .nav.open { transform: none; visibility: visible; transition: transform .3s, visibility 0s; }
  .nav a { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; aspect-ratio: 4/3; }
  .ticks, .row2 { grid-template-columns: 1fr; }
  .stat { padding: 28px 18px; }
  form { padding: 24px; }
}
