*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1f3d;
  --navy-mid: #1a3260;
  --navy-light: #2a4a8a;
  --navy-pale: #e8edf7;
  --white: #ffffff;
  --off: #f7f8fc;
  --mid: #5a6a80;
  --light: #8a9ab0;
  --black: #0a0f1a;
  --border: rgba(15,31,61,0.1);
  --fd: 'Inter', sans-serif;
  --fds: 'Inter', sans-serif;
  --fb: 'DM Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root { --white: #0d1117; --off: #161b22; --black: #f0f6fc; --mid: #8b949e; --light: #6e7681; --border: rgba(240,246,252,0.1); --navy-pale: #1c2d4f; }
  nav { background: rgba(13,17,23,0.97) !important; }
  .nav-links { background: rgba(13,17,23,0.97) !important; }
  .nav-toggle span { background: var(--black); }
  .nav-links a { color: var(--black) !important; }
  .why-card, .cform, .hl-card, .testimonial, .svc-info-card { background: #161b22 !important; }
  .clients-strip { background: #161b22 !important; }
  .contact-wrap { background: #0d1117 !important; }
  .port-card { background: #161b22 !important; }
  .njf-stat-card { background: #161b22 !important; }
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--fb); background: var(--white); color: var(--black); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 3rem; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--fds); font-weight: 800; font-size: 0.92rem; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--mid); text-decoration: none; transition: color 0.18s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { background: var(--navy) !important; color: var(--white) !important; padding: 0.45rem 1.2rem; border-radius: 6px; font-weight: 600 !important; transition: background 0.18s !important; }
.nav-cta:hover { background: var(--navy-light) !important; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; width: 36px; height: 36px; flex-shrink: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn-primary { background: var(--white); color: var(--navy); font-family: var(--fb); font-size: 0.9375rem; font-weight: 700; padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; cursor: pointer; border: none; transition: all 0.18s; display: inline-block; }
.btn-primary:hover { background: var(--navy-pale); }
.btn-ghost { font-size: 0.9375rem; font-weight: 600; color: var(--white); padding: 0.85rem 2rem; border: 2px solid var(--white); border-radius: 6px; cursor: pointer; transition: all 0.18s; display: inline-block; background: none; text-decoration: none; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { font-size: 0.9375rem; font-weight: 500; color: var(--navy); padding: 0.85rem 2rem; border: 2px solid var(--navy); border-radius: 6px; cursor: pointer; transition: all 0.18s; display: inline-block; background: none; text-decoration: none; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); font-family: var(--fb); font-size: 0.9375rem; font-weight: 500; padding: 0.85rem 2rem; border-radius: 6px; border: none; cursor: pointer; transition: background 0.18s; display: inline-block; text-decoration: none; }
.btn-navy:hover { background: var(--navy-light); }
.btn-white { background: var(--white); color: var(--navy); font-family: var(--fb); font-size: 0.9375rem; font-weight: 700; padding: 0.85rem 2rem; border-radius: 6px; border: none; cursor: pointer; transition: all 0.18s; display: inline-block; text-decoration: none; }
.btn-white:hover { background: var(--navy-pale); }

/* HERO */
.hero { background: var(--navy); padding: 6rem 3rem; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); font-size: 0.7rem; font-weight: 700; font-family: var(--fds); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 4px; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.15); line-height: 1.8; }
.hero h1 { font-family: var(--fd); font-size: clamp(3.5rem,7vw,6.5rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; color: #fff; margin-bottom: 0.5rem; text-transform: none; }
.hero h1 em { font-style: normal; color: rgba(255,255,255,0.4); }
.hero-nofluff { font-family: var(--fds); font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 480px; line-height: 1.75; font-weight: 300; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-carousel { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.hero-carousel-track { display: flex; transition: transform 0.5s ease; height: 100%; }
.hero-carousel-slide { min-width: 100%; height: 100%; }
.hero-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background 0.2s; padding: 0; }
.hero-carousel-dot.active { background: #fff; }

/* STATS */
.stats-band { background: var(--black); display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 2rem; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--fd); font-size: 2.75rem; font-weight: 900; letter-spacing: 0.02em; color: #fff; line-height: 1; margin-bottom: 0.35rem; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.55; font-weight: 300; }
.stat-label strong { color: rgba(255,255,255,0.7); font-weight: 500; }

/* SHARED */
section.std { max-width: 1100px; margin: 0 auto; padding: 5rem 3rem; }
.sec-label { font-family: var(--fds); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.6rem; }
h2.sec-h { font-family: var(--fd); font-size: clamp(2.5rem,4vw,4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1rem; color: var(--black); text-transform: none; }
h2.sec-h-mixed { font-family: var(--fds); font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1rem; color: var(--black); }
.sec-intro { font-size: 1rem; color: var(--mid); max-width: 560px; line-height: 1.75; font-weight: 300; margin-bottom: 3rem; }
.body-p { font-size: 1rem; color: var(--mid); line-height: 1.8; font-weight: 300; margin-bottom: 1rem; }
.body-p:last-child { margin-bottom: 0; }
hr.div { border: none; border-top: 1px solid var(--border); margin: 0; }

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-cards { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.why-card { background: var(--white); padding: 1.5rem; transition: background 0.18s; }
.why-card:hover { background: var(--off); }
.why-card-dot { width: 8px; height: 8px; background: var(--navy); border-radius: 50%; margin-bottom: 0.75rem; }
.why-card-title { font-family: var(--fds); font-size: 0.9375rem; font-weight: 700; color: var(--black); margin-bottom: 0.3rem; }
.why-card-desc { font-size: 0.875rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

/* CLIENTS */
.clients-strip { padding: 1.75rem 3rem; display: flex; align-items: center; gap: 3rem; background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.clients-label-sm { font-size: 0.72rem; font-weight: 700; font-family: var(--fds); letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); white-space: nowrap; }
.clients-list { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.client-link { font-family: var(--fds); font-size: 0.875rem; font-weight: 700; color: var(--navy-mid); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.18s; padding-bottom: 1px; }
.client-link:hover { border-color: var(--navy-mid); }
.clients-more { font-size: 0.8rem; color: var(--light); font-weight: 900; font-style: italic; }

/* PROCESS */
.process-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 2.5rem; }
.ps-num { font-family: var(--fd); font-size: 3rem; font-weight: 900; color: var(--navy-pale); line-height: 1; margin-bottom: 0.6rem; }
.ps-title { font-family: var(--fds); font-size: 0.9375rem; font-weight: 700; color: var(--black); margin-bottom: 0.4rem; }
.ps-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

/* CTA BAND */
.cta-band { background: var(--navy); padding: 4rem 3rem; text-align: center; }
.cta-band h3 { font-family: var(--fd); font-size: clamp(2rem,4vw,3.5rem); font-weight: 900; letter-spacing: -0.03em; text-transform: none; color: #fff; margin-bottom: 1.25rem; }

/* SERVICES */
.services-band { background: var(--navy); padding: 5rem 0; }
.services-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; overflow: hidden; margin-top: 2.5rem; }
.svc-card { background: rgba(255,255,255,0.04); padding: 2rem; transition: background 0.18s; }
.svc-card:hover { background: rgba(255,255,255,0.07); }
.svc-title { font-family: var(--fds); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.svc-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; font-weight: 300; }
.svc-price { margin-top: 1.1rem; font-size: 0.8125rem; font-weight: 700; color: rgba(255,255,255,0.65); font-family: var(--fds); }
.svc-info-card { background: var(--off); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; }
.svc-info-title { font-family: var(--fds); font-size: 0.875rem; font-weight: 700; color: var(--black); margin-bottom: 0.25rem; }
.svc-info-desc { font-size: 0.8125rem; color: var(--mid); line-height: 1.6; font-weight: 300; }

/* ABOUT */
.about-intro-grid { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; }
.about-photo-wrap { position: relative; width: 260px; height: 260px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.about-photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(10px); transform: scale(1.15); }
.about-photo-fg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about-photo-fg img { width: 84%; height: 84%; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
.about-right-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.hl-card { background: var(--off); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem 1.6rem; }
.hl-num { font-family: var(--fd); font-size: 2.25rem; font-weight: 900; letter-spacing: 0.02em; line-height: 1; color: var(--navy); margin-bottom: 0.2rem; }
.hl-label { font-size: 0.8rem; color: var(--mid); font-weight: 900; line-height: 1.45; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.testimonial { border: 2px solid var(--navy-pale); border-radius: 10px; padding: 1.75rem; background: var(--white); }
.testimonial-quote { font-size: 0.9375rem; line-height: 1.75; color: var(--black); font-weight: 300; font-style: italic; margin-bottom: 1rem; }
.testimonial-attr { font-size: 0.825rem; font-weight: 700; font-family: var(--fds); color: var(--navy); }
.cred-bar { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cred { background: var(--navy); color: #fff; font-size: 0.775rem; font-weight: 600; font-family: var(--fds); padding: 0.35rem 0.9rem; border-radius: 4px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag { font-size: 0.8rem; font-weight: 500; color: var(--navy); background: var(--navy-pale); border: 1px solid rgba(42,74,138,0.15); padding: 0.3rem 0.85rem; border-radius: 4px; }

/* PORTFOLIO */
.portfolio-hero { background: var(--navy); padding: 5rem 0 3rem; }
.portfolio-hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.port-section { max-width: 1100px; margin: 0 auto; padding: 4rem 3rem; }
.port-divider { font-family: var(--fds); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); padding-bottom: 0.75rem; border-bottom: 2px solid var(--navy-pale); margin-bottom: 2.5rem; }
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 3rem; }
.port-card { border-radius: 10px; overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform 0.18s, box-shadow 0.18s; }
.port-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15,31,61,0.12); }
.port-card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; cursor: pointer; }
.port-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.port-card:hover .port-card-img img { transform: scale(1.03); }
.port-card-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15,31,61,0.25); opacity: 0; transition: opacity 0.2s; }
.port-card-img:hover .port-card-play { opacity: 1; }
.port-card-play svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.port-card-info { padding: 1rem 1.25rem 0.5rem; }
.port-card-title { font-family: var(--fds); font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 0.15rem; }
.port-card-sub { font-size: 0.775rem; color: var(--mid); font-weight: 300; margin-bottom: 0.6rem; }
.port-stat-carousel { border-top: 1px solid var(--border); overflow: hidden; }
.port-stat-track { display: flex; transition: transform 0.4s ease; }
.port-stat-slide { min-width: 100%; padding: 0.75rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.port-stat-key { font-size: 0.775rem; color: var(--mid); }
.port-stat-val { font-family: var(--fds); font-size: 0.875rem; font-weight: 700; color: var(--navy); text-align: right; max-width: 60%; }
.port-stat-nav { display: flex; justify-content: center; gap: 4px; padding: 0.5rem; border-top: 1px solid var(--border); }
.port-stat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-pale); border: none; cursor: pointer; padding: 0; transition: background 0.2s; }
.port-stat-dot.active { background: var(--navy); }

/* NJF STAT CARD */
.njf-stat-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 2.5rem; background: var(--white); }
.njf-stat-header { background: var(--navy); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.njf-stat-title { font-family: var(--fds); font-size: 1rem; font-weight: 800; color: #fff; }
.njf-stat-badge { background: rgba(255,255,255,0.15); color: #fff; font-size: 0.7rem; font-weight: 700; font-family: var(--fds); padding: 0.25rem 0.65rem; border-radius: 4px; }
.njf-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); background: var(--off); }
.njf-stat-item { padding: 1.5rem; border-right: 1px solid var(--border); }
.njf-stat-item:last-child { border-right: none; }
.njf-stat-num { font-family: var(--fd); font-size: 1.75rem; font-weight: 900; letter-spacing: 0.02em; color: var(--navy); line-height: 1; margin-bottom: 0.25rem; }
.njf-stat-label { font-size: 0.775rem; color: var(--mid); line-height: 1.45; font-weight: 900; }
.njf-stat-context { padding: 1.25rem 2rem; font-size: 0.9rem; color: var(--mid); line-height: 1.7; font-weight: 300; border-top: 1px solid var(--border); }

/* CONTACT */
.contact-wrap { background: var(--off); padding: 5rem 0; }
.contact-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.contact-left h3 { font-family: var(--fds); font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 0.7rem; }
.contact-detail { display: flex; align-items: center; gap: 0.7rem; font-size: 0.875rem; font-weight: 500; color: var(--black); margin-bottom: 0.6rem; }
.contact-detail a { color: inherit; text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.ci { width: 30px; height: 30px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; color: #fff; font-weight: 700; }
.cform { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 2.25rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.fg label { font-size: 0.8rem; font-weight: 500; color: var(--black); }
.fg input, .fg select, .fg textarea { font-family: var(--fb); font-size: 0.9375rem; padding: 0.7rem 0.9rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 6px; background: var(--white); color: var(--black); outline: none; width: 100%; transition: border-color 0.18s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--navy); }
.fg textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.fsub { width: 100%; padding: 0.9rem; background: var(--navy); color: #fff; font-family: var(--fds); font-size: 0.9375rem; font-weight: 700; border: none; border-radius: 6px; cursor: pointer; transition: background 0.18s; }
.fsub:hover { background: var(--navy-light); }
.fnote { font-size: 0.775rem; color: var(--mid); margin-top: 0.6rem; text-align: center; }
.fsuccess { display: none; text-align: center; padding: 2.5rem; }
.fsuccess.show { display: block; }
.fcheck { width: 52px; height: 52px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin: 0 auto 1rem; }

/* FOOTER */
footer { background: var(--black); padding: 1.75rem 3rem; display: flex; justify-content: space-between; align-items: center; }
.fl { font-family: var(--fds); font-size: 0.825rem; font-weight: 700; color: rgba(255,255,255,0.35); }
.fr { display: flex; gap: 1.5rem; }
.fr a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.18s; }
.fr a:hover { color: rgba(255,255,255,0.8); }

/* RESPONSIVE */
@media(max-width:700px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); flex-direction: column; padding: 0.5rem 1.25rem 0.75rem; gap: 0; z-index: 99; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
  nav.open .nav-links { display: flex; }
  .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; color: var(--navy) !important; background: none !important; border-radius: 0 !important; }
  .nav-links a:last-child { border-bottom: none; padding-bottom: 0.3rem; }
  .nav-cta { background: none !important; }
  nav { position: relative; }
}
@media(max-width:900px) {
  nav { padding: 1rem 1.25rem; }
  .hero { padding: 4rem 1.25rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-right-grid { grid-template-columns: 1fr; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .port-grid, .process-row { grid-template-columns: 1fr 1fr; }
  .njf-stat-grid { grid-template-columns: 1fr 1fr; }
  section.std, .services-inner, .contact-inner, .port-section, .portfolio-hero-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .frow { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .clients-strip { padding: 1.5rem 1.25rem; gap: 1rem; }
  .cta-band { padding: 3rem 1.25rem; }
}
@media(max-width:480px) {
  .hero-tag { white-space: normal; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; box-sizing: border-box; width: 100%; }
  .services-grid, .port-grid, .process-row, .hl-grid { grid-template-columns: 1fr; }
  .njf-stat-grid { grid-template-columns: 1fr 1fr; }
}
