@font-face { font-family: 'JNRHead'; src: url('/assets/jnr-head.otf') format('opentype'); font-weight: 400 900; font-display: swap; }

:root {
  --ink:        #0B1626;
  --ink-2:      #101D31;
  --ink-3:      #16263F;
  --paper:      #F0F2F5;
  --paper-2:    #E6E9EF;
  --blue:       #2E52B8;
  --blue-hi:    #5E83E8;
  --blue-soft:  #8FA9EE;
  --white:      #FFFFFF;
  --line:       rgba(255,255,255,0.10);
  --line-dark:  rgba(11,22,38,0.12);
  --txt-dim:    rgba(235,240,248,0.62);
  --txt-faint:  rgba(235,240,248,0.38);
  --head:       'JNRHead', 'Archivo', sans-serif;
  --body:       'Archivo', sans-serif;
  --mono:       'IBM Plex Mono', monospace;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, span, div, a, button, label { overflow-wrap: break-word; word-break: normal; }
.section, .section-inner, .hero-content, .page-hero-content, .quote-layout, .foot-grid { max-width: 100%; }
.svc-grid > *, .turn-grid > *, .stats > *, .ind-grid > *, .foot-grid > *, .quality > *, .about-split > *, .svc-full > *, .form-grid > * { min-width: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a, button { cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* ═══ GRAIN OVERLAY ═══ */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══ PRELOADER ═══ */
#loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
#loader.gone { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--head);
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: 0.06em;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 0 8px;
}
.loader-mark::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -110%;
  width: 100%;
  background: linear-gradient(100deg, transparent, rgba(94,131,232,0.85), transparent);
  animation: sweep 1.1s var(--ease) infinite;
}
@keyframes sweep { to { left: 110%; } }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: 96px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s;
  background: transparent;
}
nav.solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  height: 84px;
  box-shadow: 0 1px 0 var(--line-dark), 0 8px 32px rgba(11,22,38,0.08);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 64px; width: auto; transition: height 0.4s var(--ease); }
nav.solid .nav-logo img { height: 56px; }
.nav-logo .lg-white { display: block; }
.nav-logo .lg-navy { display: none; }
nav.solid .nav-logo .lg-white { display: none; }
nav.solid .nav-logo .lg-navy { display: block; }

.nav-links { display: flex; align-items: center; gap: 42px; list-style: none; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
nav.solid .nav-links a { color: rgba(11,22,38,0.75); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--blue-hi);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: #fff; }
nav.solid .nav-links a.active { color: var(--ink); }

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border: none;
  padding: 15px 26px;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease);
}
.nav-cta:hover::before { transform: translateX(110%); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(46,82,184,0.4); }

.hamburger {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none;
  padding: 10px;
  z-index: 300;
}
.hamburger span {
  width: 26px; height: 2px;
  background: #fff;
  transition: all 0.35s var(--ease);
}
nav.solid .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 250;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 32px;
  clip-path: circle(0% at calc(100% - 56px) 48px);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 56px) 48px); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--head);
  font-size: clamp(40px, 11vw, 64px);
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 18px;
}
.mobile-menu a small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-hi);
}

/* ═══ PAGE SYSTEM ═══ */
.page { display: none; }
.page.active { display: block; animation: pageIn 0.55s var(--ease); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100svh;
  height: auto;
  padding-top: 130px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  animation: kenburns 22s var(--ease) infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.5%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,38,0.55) 0%, rgba(11,22,38,0.25) 38%, rgba(11,22,38,0.88) 82%, var(--ink) 100%),
    linear-gradient(100deg, rgba(11,22,38,0.82) 0%, rgba(11,22,38,0.1) 65%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(143,169,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,169,238,0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at 30% 70%, black 30%, transparent 75%);
}
.hero-annot {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(143,169,238,0.55);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.hero-annot::before {
  content: '';
  width: 34px; height: 1px;
  background: rgba(143,169,238,0.45);
}
.annot-1 { top: 30%; right: 5%; }
.annot-2 { top: 46%; right: 10%; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 64px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.95s forwards;
}
.hero-kicker::before {
  content: '';
  width: 46px; height: 1px;
  background: var(--blue-hi);
}
.hero h1 {
  font-family: var(--head);
  font-size: clamp(40px, 8.4vw, 118px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-weight: 400;
  text-transform: uppercase;
}
.hero h1 .line, .page-hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span, .page-hero h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) span { animation-delay: 0.55s; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.7s; color: var(--blue-hi); }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-sub {
  max-width: 560px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--txt-dim);
  margin: 30px 0 38px;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 1.1s forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 1.25s forwards;
}
.hero-meta {
  display: flex; gap: 18px 40px; flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 1.4s forwards;
}
.hero-meta div {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-faint);
  display: flex; align-items: center; gap: 10px;
}
.hero-meta div b { color: var(--blue-soft); font-weight: 500; }
.scroll-cue {
  position: absolute;
  right: 48px; bottom: 64px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--txt-faint);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 1.6s forwards;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--blue-hi), transparent);
  animation: cueDrop 2s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══ BUTTONS ═══ */
.btn {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46,82,184,0.45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-ghost.on-light { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11,22,38,0.25); }
.btn-ghost.on-light:hover { background: rgba(11,22,38,0.05); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

/* ═══ TICKER ═══ */
.ticker {
  background: var(--blue);
  overflow: hidden;
  padding: 17px 0;
  position: relative;
}
.ticker-track {
  display: flex; gap: 0;
  width: max-content;
  animation: tick 30s linear infinite;
}
.ticker span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 34px;
  display: flex; align-items: center; gap: 34px;
  white-space: nowrap;
}
.ticker span::after { content: '◆'; font-size: 8px; color: rgba(255,255,255,0.5); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ═══ SECTION SCAFFOLD ═══ */
.section { padding: 110px 48px; position: relative; }
.section-inner { max-width: 1500px; margin: 0 auto; }
.sec-head { margin-bottom: 64px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-hi);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--blue-hi); }
.sec-title {
  font-family: var(--head);
  font-size: clamp(32px, 5.2vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.sec-desc {
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--txt-dim);
  max-width: 600px;
  margin-top: 24px;
}
.light { background: var(--paper); color: var(--ink); }
.light .sec-desc { color: rgba(11,22,38,0.62); }
.light .eyebrow { color: var(--blue); }
.light .eyebrow::before { background: var(--blue); }

/* ═══ SCROLL REVEAL ═══ */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }

/* ═══ STATS ═══ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 64px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  line-height: 1.05;
  font-family: var(--head);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
  color: #fff;
  display: flex; align-items: baseline;
}
.stat-num em { font-style: normal; color: var(--blue-hi); font-size: 0.6em; margin-left: 4px; }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-top: 16px;
}
.stat-tick {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(143,169,238,0.35);
}

/* ═══ SERVICE CARDS (home preview) ═══ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.svc-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.8) brightness(0.85);
}
.svc-card:hover .svc-img { transform: scale(1.07); filter: saturate(1) brightness(0.95); }
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,38,0.1) 30%, rgba(11,22,38,0.92) 88%);
}
.svc-body { position: relative; z-index: 2; padding: 34px; }
.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--blue-soft);
  margin-bottom: 12px;
  display: block;
}
.svc-name {
  font-family: var(--head);
  font-size: clamp(24px, 2.3vw, 36px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.svc-desc {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--txt-dim);
  max-width: 330px;
}
.svc-go {
  position: absolute; top: 26px; right: 26px;
  z-index: 2;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.svc-card:hover .svc-go { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }

/* ═══ QUALITY SPLIT ═══ */
.quality {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid var(--line-dark);
  background: var(--white);
  overflow: hidden;
}
.quality-img-wrap { position: relative; overflow: hidden; min-height: 540px; }
.quality-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.quality-img-cap {
  position: absolute; left: 24px; bottom: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(11,22,38,0.72);
  backdrop-filter: blur(6px);
  padding: 9px 14px;
}
.quality-body { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.quality-body .sec-title { color: var(--ink); }
.quality-body .sec-desc { color: rgba(11,22,38,0.62); }
.q-points { margin-top: 36px; display: flex; flex-direction: column; }
.q-point {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
.q-point-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  padding-top: 4px;
  min-width: 30px;
}
.q-point-txt b {
  display: block;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.q-point-txt p { font-size: 14px; font-weight: 300; color: rgba(11,22,38,0.6); line-height: 1.65; }

/* ═══ TURNAROUND ═══ */
.turn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.turn-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.35s;
}
.turn-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--blue-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.turn-card:hover::before { transform: scaleX(1); }
.turn-card:hover { transform: translateY(-6px); background: rgba(46,82,184,0.1); }
.turn-num {
  font-family: var(--head);
  font-size: clamp(40px, 4.4vw, 70px);
  line-height: 1;
  color: var(--blue-hi);
}
.turn-label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 16px 0 16px;
}
.turn-card p {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--txt-dim);
}

/* ═══ INDUSTRIES ═══ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
}
.ind-cell {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 38px 30px;
  position: relative;
  transition: background 0.3s;
}
.ind-cell:hover { background: rgba(46,82,184,0.05); }
.ind-cell span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.ind-cell b {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ═══ CTA BAND ═══ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 130px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(46,82,184,0.35), transparent),
    var(--ink);
}
.cta-band .hero-grid { mask-image: radial-gradient(ellipse at 50% 100%, black 20%, transparent 70%); }
.cta-title {
  font-family: var(--head);
  font-size: clamp(34px, 6.2vw, 88px);
  text-transform: uppercase;
  line-height: 0.94;
}
.cta-title em { font-style: normal; color: var(--blue-hi); }
.cta-sub {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--txt-dim);
  max-width: 520px;
  margin: 26px auto 40px;
  line-height: 1.8;
}

/* ═══ FOOTER ═══ */
footer {
  background: #081120;
  border-top: 1px solid var(--line);
  padding: 80px 48px 0;
}
.foot-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
}
.foot-logo {
  background: #fff;
  display: inline-flex;
  padding: 16px 20px;
  border-radius: 6px;
}
.foot-logo img { height: 74px; width: auto; }
.foot-tag {
  font-size: 14px;
  font-weight: 300;
  color: var(--txt-faint);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 280px;
}
.foot-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 22px;
}
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.foot-links a, .foot-links span {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--txt-dim);
  text-decoration: none;
  transition: color 0.25s;
}
.foot-links a:hover { color: #fff; }
.foot-bottom {
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--txt-faint);
}

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  position: relative;
  min-height: 62svh;
  height: auto;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 160px 48px 64px;
}
.page-hero .hero-bg { animation-duration: 26s; }
.page-hero-content { position: relative; z-index: 2; max-width: 1500px; margin: 0 auto; width: 100%; }
.page-hero h1 {
  font-family: var(--head);
  font-size: clamp(36px, 6.8vw, 96px);
  line-height: 0.94;
  text-transform: uppercase;
  font-weight: 400;
}
.page-hero h1 em { font-style: normal; color: var(--blue-hi); }
.page-hero .hero-sub { animation-delay: 0.5s; }

/* ═══ SERVICES FULL ═══ */
.svc-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.svc-full-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.svc-full-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(11,22,38,0.14); }
.svc-full-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.svc-full-img > div {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease);
}
.svc-full-card:hover .svc-full-img > div { transform: scale(1.06); }
.svc-full-img .fig {
  position: absolute; left: 18px; top: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11,22,38,0.78);
  backdrop-filter: blur(6px);
  padding: 8px 13px;
}
.svc-full-body { padding: 34px 36px 38px; }
.svc-full-body h3 {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.svc-full-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(11,22,38,0.62);
}
.svc-spec {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px;
}
.svc-spec span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(46,82,184,0.3);
  padding: 7px 12px;
}

/* ═══ ABOUT ═══ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  aspect-ratio: 4/3.4;
  background-size: cover; background-position: center;
  border: 1px solid var(--line-dark);
}
.about-img-badge {
  position: absolute; right: -22px; bottom: -22px;
  background: var(--blue);
  color: #fff;
  padding: 26px 30px;
  font-family: var(--head);
  font-size: 46px;
  line-height: 0.95;
  text-transform: uppercase;
  box-shadow: 0 20px 44px rgba(46,82,184,0.4);
}
.about-img-badge small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-top: 8px;
  opacity: 0.8;
}
.about-copy .sec-title { color: var(--ink); }
.about-copy p {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(11,22,38,0.66);
  margin-top: 22px;
}
.marpet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(36px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.marpet::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  border: 1px solid rgba(94,131,232,0.18);
  border-radius: 50%;
}
.marpet::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 280px; height: 280px;
  border: 1px solid rgba(94,131,232,0.12);
  border-radius: 50%;
}
.marpet h3 {
  font-family: var(--head);
  font-size: clamp(26px, 3.2vw, 44px);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 14px;
}
.marpet p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--txt-dim); max-width: 560px; }

/* ═══ QUOTE PAGE ═══ */
.quote-layout {
  display: grid;
  width: 100%;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 88px 48px 110px;
}
.quote-layout > * { min-width: 0; }
.q-form-wrap {
  background: var(--white);
  border: 1px solid var(--line-dark);
  padding: clamp(34px, 4vw, 56px);
  position: relative;
}
.q-form-wrap::before {
  content: 'FORM 01 · RFQ';
  position: absolute; top: -11px; left: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--blue);
  background: var(--paper);
  padding: 0 12px;
}
.q-form-wrap h2 {
  font-family: var(--head);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 30px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11,22,38,0.55);
  margin-bottom: 9px;
}
.form-input {
  min-width: 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 15px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
  appearance: none;
  border-radius: 0;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46,82,184,0.14);
}
textarea.form-input { min-height: 130px; resize: vertical; }
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E52B8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.file-drop {
  border: 1.5px dashed rgba(46,82,184,0.4);
  background: rgba(46,82,184,0.04);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.file-drop:hover { background: rgba(46,82,184,0.09); border-color: var(--blue); }
.file-drop b {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.file-drop small { font-size: 12.5px; color: rgba(11,22,38,0.5); }
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 26px;
  padding: 19px;
}
.form-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(11,22,38,0.45);
  margin-top: 16px;
}
#formSuccess {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
#formSuccess.show { display: block; animation: pageIn 0.5s var(--ease); }
#formSuccess .ok-ring {
  width: 84px; height: 84px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  color: var(--blue);
}
#formSuccess h3 {
  font-family: var(--head);
  font-size: 38px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
#formSuccess p { font-size: 15px; font-weight: 300; color: rgba(11,22,38,0.6); max-width: 420px; margin: 0 auto; line-height: 1.75; }
.form-hidden { display: none; }

.q-aside { display: flex; flex-direction: column; gap: 26px; }
.q-aside-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 36px;
  color: #fff;
}
.q-aside-card .eyebrow { color: var(--blue-hi); }
.q-aside-card .eyebrow::before { background: var(--blue-hi); }
.q-aside-card h3 {
  font-family: var(--head);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.q-aside-card > p { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--txt-dim); margin-bottom: 26px; }
.q-contact { display: flex; flex-direction: column; gap: 4px; }
.q-contact a, .q-contact div {
  display: flex; align-items: center; gap: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  transition: color 0.25s;
}
.q-contact a:hover { color: var(--blue-soft); }
.q-contact .ic {
  width: 40px; height: 40px;
  border: 1px solid rgba(94,131,232,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-soft);
  flex-shrink: 0;
}
.q-contact small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-bottom: 3px;
}
.q-hours {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--txt-dim);
  line-height: 2.1;
}
.q-hours b { color: var(--blue-soft); font-weight: 500; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1400px) {
  .hero-annot { display: none; }
}
@media (max-width: 1100px) {
  .section { padding: 84px 36px; }
  .hero-content { padding: 0 36px 56px; }
  nav { padding: 0 32px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:first-child { grid-column: 1 / -1; min-height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .quality { grid-template-columns: 1fr; }
  .quality-img-wrap { min-height: 380px; }
  .svc-full { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 64px; }
  .quote-layout { grid-template-columns: 1fr; padding: 64px 36px 84px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .marpet { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero-annot { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 84px; }
  nav.solid { height: 76px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 52px; }
  nav.solid .nav-logo img { height: 46px; }
  .section { padding: 64px 20px; }
  .hero-content { padding: 0 20px 48px; }
  .hero h1 { font-size: clamp(52px, 15vw, 86px); }
  .hero-meta { gap: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card:first-child { min-height: 440px; grid-column: auto; }
  .turn-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 44px 28px; }
  .stat:last-child { border-bottom: none; }
  .stat:nth-child(3) { border-bottom: 1px solid var(--line); }
  .page-hero { padding: 130px 20px 48px; }
  .quote-layout { padding: 48px 20px 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  footer { padding: 56px 20px 0; }
  .cta-band { padding: 84px 20px; }
  .about-img-badge { right: 0; bottom: -22px; font-size: 34px; padding: 20px 22px; }
}
.bg-mill { background-image: url('/assets/mill.jpg'); }
.bg-fab { background-image: url('/assets/fab.jpg'); }
.bg-turn { background-image: url('/assets/turn.jpg'); }
.bg-mach { background-image: url('/assets/mach.jpg'); }
.bg-insp { background-image: url('/assets/insp.jpg'); }
.bg-mat { background-image: url('/assets/mat.jpg'); }
.bg-draw { background-image: url('/assets/draw.jpg'); }
