:root {
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --panel: #141414;
  --line: #2A2A2A;
  --gray: #9A9A9A;
  --gray-dim: #686868;
  --white: #FFFFFF;
  --green: #A6FF00;
  --green-dim: #7ECC00;
  --radius: 4px;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .display {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { background: var(--green-dim); }
.btn-outline { border-color: var(--line); color: var(--white); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ---- top bar ---- */
.topbar {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar a:hover { color: var(--green); }

/* ---- nav ---- */
header.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo-mark { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links a { color: var(--gray); transition: color .15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .portal-link { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray); }
.nav-actions .portal-link:hover { color: var(--white); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding: 78px 0 74px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); margin: 18px 0 22px; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { font-size: 18px; color: var(--gray); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div strong { display: block; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 26px; color: var(--green); }
.hero-stats div span { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,0.75) 100%);
  pointer-events: none;
}
.hero-media .tag {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: 'Space Grotesk', Arial, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white);
}
.hero-media .tag span { color: var(--green); }

/* ---- page header (non-home pages) ---- */
.page-header { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 14px; }
.page-header p { color: var(--gray); font-size: 16px; margin-top: 14px; max-width: 60ch; }

/* ---- section shell ---- */
section { padding: 84px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.section-head p { color: var(--gray); font-size: 16px; margin-top: 14px; }
.charcoal-bg { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- services ---- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--black); padding: 30px 22px; transition: background .15s ease; }
.service-card:hover { background: var(--panel); }
.service-num { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 12px; color: var(--green); letter-spacing: 0.1em; }
.service-card h3 { font-size: 19px; margin: 16px 0 10px; }
.service-card p { color: var(--gray); font-size: 13.5px; }

/* ---- work grid ---- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 4px; }
.work-item { position: relative; overflow: hidden; }
.work-item.tall { grid-row: span 2; }
.work-item.wide { grid-column: span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-item .caption {
  position: absolute; inset: auto 0 0 0; padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
}
.work-item .caption .cat { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.work-item .caption .name { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 15px; font-weight: 700; margin-top: 4px; }

/* ---- why ---- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 26px; }
.why-list li { list-style: none; display: flex; gap: 16px; }
.why-list .n { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; color: var(--green); font-size: 14px; width: 28px; flex-shrink: 0; }
.why-list h4 { font-size: 17px; margin-bottom: 4px; }
.why-list p { color: var(--gray); font-size: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-family: 'Space Grotesk', Arial, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray);
}
.badge .dot { color: var(--green); margin-right: 7px; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--panel); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-size: 20px; margin-left: 16px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--gray); font-size: 14px; margin-top: 14px; line-height: 1.6; }

/* ---- cta band ---- */
.cta-band { background: var(--green); color: var(--black); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 54px 0; }
.cta-inner h2 { font-size: clamp(28px, 3.2vw, 40px); color: var(--black); max-width: 18ch; }
.cta-band .btn-primary { background: var(--black); color: var(--white); }
.cta-band .btn-primary:hover { background: #232323; }

/* ---- footer ---- */
footer { background: var(--charcoal); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-grid p.desc { color: var(--gray); font-size: 14px; max-width: 32ch; }
.footer-col h5 { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--gray); font-size: 14px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--gray-dim);
}

/* ---- gallery page ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
}
.gallery-item .caption .cat { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.gallery-item .caption .name { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 14px; font-weight: 700; margin-top: 3px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.gallery-filters button {
  font-family: 'Space Grotesk', Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line); color: var(--gray); padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: all .15s ease;
}
.gallery-filters button:hover { border-color: var(--green); color: var(--white); }
.gallery-filters button.active { background: var(--green); border-color: var(--green); color: var(--black); }
.gallery-item.hidden { display: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 52px 0 46px; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .work-item.wide { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 24px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
}
