/* ============================
   NR Construção — Design Tokens
   ============================ */

:root {
  /* Brand — NR official */
  --nr-blue: #1860A8;
  --nr-blue-deep: #0E3D6E;
  --nr-blue-darker: #0A2A4D;
  --nr-yellow: #EFB218;
  --nr-yellow-soft: #F5C84A;

  /* Legacy aliases (mapped to new brand so older selectors still work) */
  --nr-green-deep: #0A2A4D;
  --nr-green: #1860A8;
  --nr-green-soft: #1860A8;
  --nr-amber: #EFB218;
  --nr-amber-soft: #F5C84A;

  /* Neutrals (cool, professional) */
  --nr-bg: #F4F5F7;
  --nr-bg-alt: #E9ECF0;
  --nr-paper: #FFFFFF;
  --nr-ink: #0B1320;
  --nr-ink-2: #1F2A3A;
  --nr-ink-3: #5C6878;
  --nr-line: #D5DAE2;
  --nr-line-soft: #E5E8EE;

  /* Type scale */
  --f-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --container: 1320px;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--nr-bg); color: var(--nr-ink); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--nr-amber); color: var(--nr-green-deep); }

/* ============================ Layout ============================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nr-ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: inherit;
  text-wrap: balance;
  text-transform: uppercase;
}

.h-display { font-size: clamp(56px, 9vw, 140px); font-weight: 400; line-height: 0.9; letter-spacing: 0; }
.h-xl { font-size: clamp(48px, 6.5vw, 96px); font-weight: 400; line-height: 0.92; }
.h-lg { font-size: clamp(40px, 4.5vw, 72px); font-weight: 400; line-height: 0.94; }
.h-md { font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 0.98; }

.italic-em { font-style: normal; font-weight: 400; color: var(--nr-amber); }

p, li { font-family: var(--f-body); line-height: 1.55; color: var(--nr-ink-2); }
.lede { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--nr-ink-2); max-width: 60ch; }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--nr-yellow);
  color: var(--nr-blue-darker);
}
.btn-primary:hover { background: #fff; color: var(--nr-blue-darker); transform: translateY(-1px); }
.btn-amber {
  background: var(--nr-yellow);
  color: var(--nr-blue-darker);
}
.btn-amber:hover { background: var(--nr-blue-darker); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid currentColor;
  color: currentColor;
}
.btn-ghost:hover { background: currentColor; color: var(--nr-paper); }
.btn-ghost.on-dark:hover { color: var(--nr-green-deep); }

.btn .arrow { transition: transform 250ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================ Header ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 300ms ease;
  mix-blend-mode: normal;
}
.nav.is-scrolled, .nav.is-light {
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(217, 212, 200, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo .nav-logo-img {
  width: 64px;
  height: auto;
  display: block;
  transition: transform 200ms;
}
.nav.is-dark .nav-logo .nav-logo-img,
.nav .nav-logo .nav-logo-img { filter: brightness(0) invert(1); }
.nav.is-scrolled .nav-logo .nav-logo-img,
.nav.is-light .nav-logo .nav-logo-img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 450;
  color: var(--nr-ink-2);
  border-radius: 999px;
  transition: all 200ms;
}
.nav-link:hover { color: var(--nr-green-deep); }
.nav-link.is-active { color: var(--nr-green-deep); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 4px; height: 4px;
  background: var(--nr-amber);
  border-radius: 50%;
  transform: translateX(-50%);
}

.nav.is-dark .nav-link { color: rgba(255,255,255,0.85); }
.nav.is-dark .nav-link:hover, .nav.is-dark .nav-link.is-active { color: #fff; }

.nav-cta {
  padding: 12px 20px;
  background: var(--nr-amber);
  color: var(--nr-green-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms;
}
.nav-cta:hover { background: var(--nr-green-deep); color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(11, 42, 30, 0.08); font-size: 13px; font-weight: 500; }
  .nav.is-dark .nav-toggle { background: rgba(255,255,255,0.12); color: #fff; }
}

.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--nr-green-deep);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-drawer-head .nav-logo .logo-text span { color: #fff !important; }
.mobile-drawer-head button { color: #fff; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: 13px; }
.mobile-drawer-links { display: flex; flex-direction: column; padding-top: 32px; gap: 4px; }
.mobile-drawer-links a {
  font-family: var(--f-display);
  font-size: 44px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-drawer-links a span { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,0.4); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: #0A1A2E;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: 64px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,42,77,0.20) 0%, rgba(10,42,77,0.05) 45%, rgba(10,42,77,0.55) 100%),
    linear-gradient(90deg, rgba(10,42,77,0.30) 0%, rgba(10,42,77,0.02) 55%, transparent 100%);
  z-index: 1;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 50%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 50%, black 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 64px;
}
.hero-top-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-top-meta .live-dot { width: 7px; height: 7px; background: var(--nr-yellow); border-radius: 50%; animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(239,178,24,0.7); }
.hero-top-coords {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex; gap: 20px; align-items: center;
}
.hero-top-coords span:not(:last-child)::after {
  content: '/'; margin-left: 20px; color: rgba(255,255,255,0.25);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-meta {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 56px;
}
.hero-meta .live-dot { width: 8px; height: 8px; background: var(--nr-yellow); border-radius: 50%; animation: pulse 2s infinite; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  max-width: 16ch;
  margin: 0;
  color: #fff;
}
.hero-title em { font-style: normal; font-weight: 400; color: var(--nr-yellow); }
.hero-title .stroke {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.85);
  color: transparent;
  font-style: normal;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-sub {
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.hero-cta-stack { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.hero-cta-stack .row { display: flex; gap: 12px; }
.hero-cta-note {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.hero-cta-note::before {
  content: ''; width: 24px; height: 1px; background: var(--nr-yellow);
}

/* Hero — improved diagram */
.hero-eyebrow-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 56px;
}
.hero-eyebrow-row .left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-eyebrow-row .left .live-dot { width: 7px; height: 7px; background: var(--nr-yellow); border-radius: 50%; animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(239,178,24,0.7); display: inline-block; }
.hero-eyebrow-row .left .sep { color: rgba(255,255,255,0.25); }
.hero-eyebrow-row .right { color: rgba(255,255,255,0.45); }

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.hero-title-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 56px;
}
@media (max-width: 960px) { .hero-title-block { grid-template-columns: 1fr; gap: 32px; } }

.hero-title-tag {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 16px 0 16px 20px;
  border-left: 1px solid rgba(239,178,24,0.5);
  min-width: 220px;
}
.hero-title-tag strong { color: var(--nr-yellow); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; }
.hero-title-tag span { color: rgba(255,255,255,0.7); }

.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: end;
}
@media (max-width: 960px) { .hero-bottom-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 12px;
}
.hero-stat-strip .item {
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-stat-strip .item:first-child { padding-left: 0; border-left: 0; }
.hero-stat-strip .v {
  font-family: var(--f-display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 0.9;
  color: #fff;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-stat-strip .v sub { font-size: 0.45em; color: var(--nr-yellow); font-weight: 400; vertical-align: baseline; }
.hero-stat-strip .l {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}

/* Hero side stats — vertical bar of headline numbers */
.hero-side-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-side-stats .item {
  padding: 24px 24px 24px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-side-stats .item:first-child { padding-left: 0; }
.hero-side-stats .item:last-child { border-right: 0; padding-right: 0; }
.hero-side-stats .v {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 0.9;
  color: #fff;
  letter-spacing: 0;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-side-stats .v sub {
  font-size: 0.45em; color: var(--nr-yellow); font-weight: 400; vertical-align: baseline;
}
.hero-side-stats .l {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero-top { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 32px; margin-bottom: 32px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta-stack { align-items: flex-start; }
  .hero-meta { flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
}

/* Hero ticker */
.hero-ticker {
  position: relative;
  background: #0A2A4D;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  z-index: 3;
}
.ticker-track {
  display: flex;
  gap: 64px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-track span {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 64px;
}
.ticker-track span::after {
  content: '◆';
  font-size: 10px;
  color: var(--nr-amber);
  font-style: normal;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================ Sections ============================ */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-head .head-title { font-size: clamp(44px, 6vw, 92px); font-weight: 400; line-height: 0.92; letter-spacing: 0; text-transform: uppercase; }
.section-head .head-title em { font-style: normal; color: var(--nr-amber); font-weight: 400; }
.section-head .head-desc { color: var(--nr-ink-3); font-size: 17px; max-width: 50ch; }

/* ============================ Marquee logos ============================ */
.clients-marquee-wrap {
  margin-top: 48px;
  border-top: 1px solid var(--nr-line);
  border-bottom: 1px solid var(--nr-line);
  padding: 56px 0;
  background: var(--nr-paper);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-marquee-track {
  display: flex; align-items: center;
  gap: 100px;
  width: max-content;
  animation: clients-ticker 38s linear infinite;
}
.clients-marquee-track .client-slide {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 110px;
  padding: 0 24px;
}
.clients-marquee-track .client-slide img {
  max-height: 110px;
  max-width: 240px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: opacity 200ms, filter 200ms;
}
.clients-marquee-track .client-slide:hover img { opacity: 1; filter: grayscale(0); }
@keyframes clients-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .clients-marquee-track { gap: 56px; }
  .clients-marquee-track .client-slide { height: 80px; }
  .clients-marquee-track .client-slide img { max-height: 80px; max-width: 160px; }
}

/* legacy clients-marquee (kept) */
.clients-marquee {
  background: var(--nr-paper);
  border-top: 1px solid var(--nr-line-soft);
  border-bottom: 1px solid var(--nr-line-soft);
  padding: 32px 0;
  overflow: hidden;
}
.clients-marquee .marquee-track {
  display: flex; gap: 80px; align-items: center;
  animation: ticker 35s linear infinite;
  width: max-content;
}
.clients-marquee .marquee-track .client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 180px;
  flex: 0 0 auto;
}
.clients-marquee .marquee-track .client img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 200ms, filter 200ms;
}
.clients-marquee .marquee-track .client:hover img { opacity: 1; filter: grayscale(0); }

/* Static client grid (used on home + sobre pages) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--nr-line);
  border-top: 1px solid var(--nr-line);
  border-bottom: 1px solid var(--nr-line);
}
@media (max-width: 960px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.clients-grid .client-cell {
  background: var(--nr-paper);
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: background 200ms;
}
.clients-grid .client-cell:hover { background: var(--nr-bg-alt); }
.clients-grid .client-cell img {
  max-height: 64px;
  max-width: 180px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 200ms, filter 200ms;
}
.clients-grid .client-cell:hover img { opacity: 1; filter: grayscale(0); }

/* ============================ About / story ============================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 48px; } }

.story-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--nr-green-deep);
  border-radius: 4px;
  overflow: hidden;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image::after {
  content: '';
  position: absolute;
  bottom: 16px; left: 16px;
  width: 32px; height: 32px;
  border-left: 2px solid var(--nr-amber);
  border-bottom: 2px solid var(--nr-amber);
}

.values-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--nr-line);
  margin-top: 64px;
  border-top: 1px solid var(--nr-line);
  border-bottom: 1px solid var(--nr-line);
}
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--nr-bg);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 200ms;
}
.value:hover { background: var(--nr-paper); }
.value .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--nr-amber); text-transform: uppercase; }
.value h4 { font-family: var(--f-display); font-size: 36px; font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.value p { color: var(--nr-ink-3); font-size: 15px; }

/* ============================ Services tabs ============================ */
.services {
  background: var(--nr-green-deep);
  color: #fff;
}
.services .head-title { color: #fff; }
.services .head-desc { color: rgba(255,255,255,0.65); }
.services .eyebrow { color: rgba(255,255,255,0.55); }

.tabs-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 960px) { .tabs-wrap { grid-template-columns: 1fr; gap: 32px; } }

.tabs {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.tab {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-align: left;
  cursor: pointer;
  transition: all 250ms;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tab:hover { color: rgba(255,255,255,0.85); padding-left: 8px; }
.tab.is-active { color: #fff; padding-left: 16px; }
.tab.is-active .num { color: var(--nr-amber); }
.tab .num { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,0.4); }

.tab-panel {
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
  min-height: 540px;
  display: flex; flex-direction: column;
}
.tab-video-wrap { flex: 1; position: relative; background: #000; min-height: 320px; overflow: hidden; }
.tab-video-wrap iframe, .tab-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.tab-video-shield {
  position: absolute; inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: auto;
  cursor: default;
}
.tab-content {
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  background: rgba(255,255,255,0.03);
}
.tab-content h3 { font-size: 48px; font-weight: 400; letter-spacing: 0.01em; }
.tab-content p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 56ch; }
.tab-stat-row {
  display: flex; gap: 32px; align-items: baseline;
  padding-top: 16px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tab-stat .v { font-family: var(--f-display); font-size: 64px; font-weight: 400; color: var(--nr-amber); letter-spacing: 0; line-height: 0.9; }
.tab-stat .l { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ============================ Stats ============================ */
.stats-strip {
  background: var(--nr-paper);
  border-top: 1px solid var(--nr-line-soft);
  border-bottom: 1px solid var(--nr-line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 56px 32px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--nr-line-soft);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-right: 0; }
@media (max-width: 720px) { .stat:nth-child(2) { border-right: 0; } }
.stat .v {
  font-family: var(--f-display);
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  color: var(--nr-green-deep);
  display: flex; align-items: baseline; gap: 4px;
}
.stat .v sub { font-size: 0.4em; color: var(--nr-amber); font-weight: 400; }
.stat .l {
  font-size: 14px;
  color: var(--nr-ink-3);
  max-width: 28ch;
  line-height: 1.4;
}
.stat .num { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--nr-ink-3); text-transform: uppercase; margin-bottom: 16px; }

/* ============================ Fleet preview ============================ */
.fleet-preview {
  background: var(--nr-bg-alt);
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--nr-line);
  border-top: 1px solid var(--nr-line);
  border-bottom: 1px solid var(--nr-line);
}
@media (max-width: 960px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-card {
  background: var(--nr-paper);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  cursor: default;
  transition: background 250ms, transform 250ms;
  position: relative;
  min-height: 200px;
  justify-content: space-between;
}
.fleet-card:hover { background: #fff; transform: translateY(-2px); }
.fleet-card .fleet-meta {
  display: flex; flex-direction: column; gap: 8px;
}
.fleet-card .fleet-cat {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nr-blue);
  font-weight: 500;
}
.fleet-card .fleet-name {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--nr-ink);
  line-height: 1.05;
}
.fleet-card .fleet-arrow {
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--nr-line);
  color: var(--nr-blue);
  display: flex; align-items: center; justify-content: center;
  transition: all 250ms;
  position: static;
  opacity: 1;
}
.fleet-card:hover .fleet-arrow { background: var(--nr-blue); border-color: var(--nr-blue); color: #fff; }

/* Fleet full-page categories */
.fleet-category {
  border-top: 1px solid var(--nr-line);
  padding: 56px 0;
}
.fleet-category-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .fleet-category-head { grid-template-columns: 1fr; } }
.fleet-category-head h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 400; letter-spacing: 0.01em; }
.fleet-category-head .count { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--nr-ink-3); text-transform: uppercase; }

/* ============================ Projects ============================ */
.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
@media (max-width: 960px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-card:hover { transform: translateY(-4px); }
.project-card .img {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a3530, #0e1411);
  overflow: hidden;
}
.project-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-card:hover .img img { transform: scale(1.04); }
.project-card.featured { grid-row: span 2; }
.project-card.featured .img { aspect-ratio: 4/4.4; }
.project-card .info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,42,30,0.9) 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.project-card .info .cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nr-amber); }
.project-card .info h4 { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 38px); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; color: #fff; }
.project-card .info .stats { display: flex; gap: 24px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); margin-top: 8px; }
.project-card .info .stats span { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; }

/* Placeholder image */
.placeholder-img {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(11,42,30,0.06) 12px 13px),
    linear-gradient(135deg, var(--nr-bg-alt) 0%, var(--nr-line-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nr-ink-3);
  text-align: center;
  padding: 16px;
}
.placeholder-img.dark {
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.04) 12px 13px),
    linear-gradient(135deg, #1a2a23 0%, #0e1411 100%);
  color: rgba(255,255,255,0.5);
}

/* ============================ CTA Block ============================ */
.cta-block {
  background: var(--nr-green-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.6;
}
.cta-block .container { position: relative; z-index: 1; }
.cta-block .lockup { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: end; }
@media (max-width: 960px) { .cta-block .lockup { grid-template-columns: 1fr; gap: 32px; } }
.cta-block h2 { font-size: clamp(52px, 7.5vw, 112px); font-weight: 400; line-height: 0.92; letter-spacing: 0; text-transform: uppercase; max-width: 16ch; }
.cta-block h2 em { color: var(--nr-amber-soft); font-style: normal; font-weight: 400; }

/* ============================ Footer ============================ */
.footer {
  background: var(--nr-green-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li, .footer ul li * { color: #fff !important; font-size: 15px; line-height: 1.55; }
.footer ul a { color: #fff; transition: color 200ms; font-size: 15px; }
.footer ul a:hover { color: var(--nr-amber) !important; }
.footer-brand .nr-mark { font-family: var(--f-display); font-size: 72px; font-weight: 400; line-height: 0.9; letter-spacing: 0.02em; color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 15px; max-width: 32ch; }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
@media (max-width: 720px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ============================ Page header ============================ */
.page-hero {
  padding: 200px 0 96px;
  background: var(--nr-green-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero .container { position: relative; }
.page-hero .crumb { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(60px, 10vw, 160px); font-weight: 400; line-height: 0.9; letter-spacing: 0; text-transform: uppercase; max-width: 16ch; }
.page-hero h1 em { color: var(--nr-amber-soft); font-style: normal; font-weight: 400; }
.page-hero .lede { color: rgba(255,255,255,0.7); margin-top: 32px; max-width: 64ch; font-size: 19px; }

/* ============================ Reveal animations ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }

/* Counter */
.counter { font-variant-numeric: tabular-nums; }

/* ============================ Contact ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--nr-ink-3); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  background: var(--nr-paper);
  border: 1px solid var(--nr-line);
  border-radius: 4px;
  color: var(--nr-ink);
  transition: border-color 200ms, box-shadow 200ms;
  outline: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--nr-green-deep);
  box-shadow: 0 0 0 3px rgba(11, 42, 30, 0.08);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-card {
  padding: 24px;
  border: 1px solid var(--nr-line);
  border-radius: 4px;
  background: var(--nr-paper);
}
.contact-card h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nr-amber); margin-bottom: 12px; }
.contact-card p { font-size: 16px; line-height: 1.5; }
.contact-card a { color: var(--nr-green-deep); font-weight: 500; }

/* ============================ Tweaks panel overrides ============================ */
.tweaks-panel { z-index: 9999; }

/* ============================ Loading dot ============================ */
.dot { display: inline-block; width: 6px; height: 6px; background: var(--nr-amber); border-radius: 50%; margin: 0 6px; vertical-align: middle; }

/* ============================ Scroll cue ============================ */
.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 5;
}
.scroll-cue .line { width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, var(--nr-amber)); animation: scrollCue 2s infinite; }
@keyframes scrollCue {
  0% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0.3); transform-origin: bottom; }
}

/* Process / timeline */
.process-list { display: flex; flex-direction: column; }
.process-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--nr-line);
  align-items: start;
}
.process-row:last-child { border-bottom: 1px solid var(--nr-line); }
.process-row .num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--nr-amber); }
.process-row h4 { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.process-row p { color: var(--nr-ink-3); font-size: 16px; max-width: 56ch; }
@media (max-width: 720px) { .process-row { grid-template-columns: 1fr; gap: 12px; } }
