@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-2: #101f35;
  --paper: #faf7f0;
  --paper-2: #f4f1ea;
  --white: #ffffff;
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #ffd200;
  --ink-70: rgba(10, 22, 40, 0.7);
  --ink-50: rgba(10, 22, 40, 0.5);
  --ink-20: rgba(10, 22, 40, 0.2);
  --ink-12: rgba(10, 22, 40, 0.12);
  --line: rgba(10, 22, 40, 0.14);
  --shadow-sm: 0 16px 40px -28px rgba(10, 22, 40, 0.42);
  --shadow-lg: 0 34px 80px -38px rgba(10, 22, 40, 0.5);
  --max: 1400px;
  --header-h: 72px;
  --jyoti-left: #2e3092;
  --jyoti-right: #00adef;
  --jyoti-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 174, 239, 0.035), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(236, 0, 140, 0.025), transparent 20%),
    var(--paper);
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

.font-display {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
}

.font-mono-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mono {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: 40px;
}

section {
  position: relative;
  padding: 104px 0;
}

.paper {
  background: var(--paper);
}

.white {
  background: var(--white);
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.text-yellow {
  color: var(--yellow);
}

.text-cyan {
  color: var(--cyan);
}

.text-magenta {
  color: var(--magenta);
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.52);
}

.text-center {
  text-align: center;
}

.cmyk {
  display: flex;
  height: 3px;
}

.cmyk i {
  flex: 1;
}

.cmyk i:nth-child(1) { background: var(--cyan); }
.cmyk i:nth-child(2) { background: var(--magenta); }
.cmyk i:nth-child(3) { background: var(--yellow); }
.cmyk i:nth-child(4) { background: var(--navy); }

/* .cmyk-bar: reference-named equivalent of .cmyk (span-based) */
.cmyk-bar {
  display: flex;
  width: 100%;
  height: 3px;
  overflow: hidden;
}

.cmyk-bar > span { flex: 1; }
.cmyk-bar > span:nth-child(1) { background: var(--cyan); }
.cmyk-bar > span:nth-child(2) { background: var(--magenta); }
.cmyk-bar > span:nth-child(3) { background: var(--yellow); }
.cmyk-bar > span:nth-child(4) { background: var(--navy); }

/* Subtle off-white paper grain (SVG noise + soft radial fibres) */
.paper-grain {
  background-color: transparent;
  background-image:
    radial-gradient(rgba(10, 22, 40, 0.045) 1px, transparent 1.2px),
    radial-gradient(rgba(10, 22, 40, 0.03) 1px, transparent 1.2px),
    radial-gradient(circle at 20% 30%, rgba(10, 22, 40, 0.025) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(10, 22, 40, 0.03) 0, transparent 45%);
  background-size: 3px 3px, 5px 5px, auto, auto;
  background-position: 0 0, 1.5px 1.5px, 0 0, 0 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Halftone dot overlays */
.halftone { background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 14px 14px; }
.halftone-dark { background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px); background-size: 14px 14px; }

/* Registration mark (crosshair + ring) */
.reg-mark { position: relative; width: 24px; height: 24px; }
.reg-mark::before,
.reg-mark::after { content: ""; position: absolute; background: currentColor; }
.reg-mark::before { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.reg-mark::after { top: 50%; right: 0; left: 0; height: 1px; transform: translateY(-50%); }
.reg-mark span { position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 50%; }

/* Intro */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper-2);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-loader::before,
.intro-loader::after {
  content: "";
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.11;
}

.intro-loader::before {
  top: -20vw;
  left: -10vw;
  background: var(--cyan);
}

.intro-loader::after {
  right: -12vw;
  bottom: -20vw;
  background: var(--magenta);
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  cursor: pointer;
}

.intro-center {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100vw - 48px));
  text-align: center;
}

.intro-center img {
  width: 76px;
  margin-bottom: 18px;
  animation: intro-mark 1.2s ease both;
}

.intro-wordmark {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 700;
}

.intro-wordmark span {
  color: var(--magenta);
}

.intro-rule {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
  margin: 22px 0 18px;
  transform-origin: center;
  animation: intro-rule 1.1s 0.1s ease both;
}

.intro-rule i:nth-child(1) { background: var(--cyan); }
.intro-rule i:nth-child(2) { background: var(--magenta); }
.intro-rule i:nth-child(3) { background: var(--yellow); }
.intro-rule i:nth-child(4) { background: var(--navy); }

@keyframes intro-mark {
  from { opacity: 0; transform: translateY(18px) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}

@keyframes intro-rule {
  from { opacity: 0; transform: scaleX(0.15); }
  to { opacity: 1; transform: scaleX(1); }
}

/* CSS-only loader failsafe: fades the loader out and disables pointer events
   at 2.8s so it can never block the page even if JS fails entirely. */
@keyframes loaderForceHide {
  0%, 93% { opacity: 1; pointer-events: auto; visibility: visible; }
  100% { opacity: 0; pointer-events: none; visibility: hidden; }
}

.loader-force-hide { animation: loaderForceHide 2.8s ease-in forwards; }

/* Radix-style accordion open/close keyframes */
@keyframes accordion-down {
  from { height: 0; }
  to { height: var(--radix-accordion-content-height); }
}

@keyframes accordion-up {
  from { height: var(--radix-accordion-content-height); }
  to { height: 0; }
}

.animate-accordion-down[data-state="open"] { animation: accordion-down 0.2s ease-out; }
.animate-accordion-up[data-state="closed"] { animation: accordion-up 0.2s ease-out; }

/* Full-screen opening logo animation overlay (fixed canvas + centred logo) */
html.jyoti-intro-active,
html.jyoti-intro-active body {
  overflow: hidden;
}

.jyoti-dot-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  background: var(--jyoti-bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 650ms;
}

.jyoti-dot-intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.jyoti-dot-intro canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.jyoti-dot-intro__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82vw, 1180px);
  max-height: 48vh;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(0.985);
  transform-origin: 50% 50%;
  opacity: 0;
  filter: blur(1.6px);
  will-change: opacity, transform, filter;
  pointer-events: none;
  user-select: none;
}

.jyoti-dot-intro__skip {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #5c6680;
  box-shadow: 0 8px 26px rgba(21, 37, 84, 0.12);
  backdrop-filter: blur(12px);
  font: 600 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 640px) {
  .jyoti-dot-intro__logo { width: 94vw; max-height: 38vh; }
}

@media (prefers-reduced-motion: reduce) {
  .jyoti-dot-intro { transition-duration: 260ms; }
}

/* Header */
header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
}

.nav {
  position: relative;
  width: min(100%, 1320px);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 16px;
  background: rgba(244, 241, 234, 0.85);
  box-shadow: 0 14px 36px -22px rgba(10, 22, 40, 0.22);
  backdrop-filter: blur(12px);
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
  pointer-events: auto;
}

header.is-scrolled .nav {
  border-color: rgba(10, 22, 40, 0.12);
  background: rgba(244, 241, 234, 0.95);
  box-shadow: 0 20px 50px -22px rgba(10, 22, 40, 0.28);
  backdrop-filter: blur(24px);
}

.nav > .cmyk {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 20px 0 22px;
}

.logo {
  display: block;
  width: auto;
  height: 35px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo-text {
  display: none;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(10, 22, 40, 0.15);
  line-height: 1.5;
}

.brand-logo-text span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.6);
}

.brand-logo-text span + span {
  margin-top: 2px;
  color: rgba(10, 22, 40, 0.4);
}

@media (min-width: 640px) {
  .brand-logo-text { display: block; }
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}

.navlinks > a,
.dropbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(10, 22, 40, 0.85);
  transition: color 0.2s ease;
}

.navlinks > a:not(.quote-btn)::after,
.dropbtn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.navlinks > a:hover,
.navlinks > a.active,
.drop:hover .dropbtn,
.drop.is-active .dropbtn {
  color: var(--navy);
}

/* Nav-link CMYK registration dot (hover/active indicator) */
.nav-link { position: relative; }

.nav-link .reg-dot {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: conic-gradient(var(--cyan) 0 25%, var(--magenta) 0 50%, var(--yellow) 0 75%, var(--navy) 0 100%);
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-link:hover .reg-dot,
.nav-link:focus-visible .reg-dot { opacity: 1; transform: translateX(-50%) scale(1); }

.navlinks > a:hover::after,
.navlinks > a.active::after,
.drop:hover .dropbtn::after,
.drop.is-active .dropbtn::after {
  transform: scaleX(1);
  transform-origin: left;
}

.drop {
  position: relative;
}

.dropbtn {
  cursor: default;
}

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: -18px;
  min-width: 238px;
  padding-top: 13px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.drop:hover .dropdown,
.drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-box {
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 12px;
  background: rgba(250, 247, 240, 0.98);
  box-shadow: 0 24px 60px -28px rgba(10, 22, 40, 0.55);
}

.dropdown-box a {
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-box a:last-child {
  border-bottom: 0;
}

.dropdown-box a:hover,
.dropdown-box a.active {
  padding-left: 21px;
  background: rgba(10, 22, 40, 0.055);
}

.quote-btn {
  min-height: 40px !important;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper-2) !important;
  font-weight: 600;
  transition: background 0.2s ease !important;
}

.quote-btn:hover {
  background: var(--magenta);
}

.mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--navy);
  font-size: 0;
  cursor: pointer;
}

.mobile-btn::before,
.mobile-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.mobile-btn::before { transform: translateY(-4px); }
.mobile-btn::after { transform: translateY(4px); }

.mobile-btn[aria-expanded="true"]::before { transform: rotate(45deg); }
.mobile-btn[aria-expanded="true"]::after { transform: rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  padding: 104px 22px 28px;
  overflow-y: auto;
  background:
    linear-gradient(145deg, rgba(0, 174, 239, 0.07), transparent 35%),
    linear-gradient(325deg, rgba(236, 0, 140, 0.05), transparent 36%),
    var(--paper-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.34s ease, visibility 0.34s ease, transform 0.34s ease;
  pointer-events: auto;
}

.mobile-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-links {
  display: grid;
  width: min(100%, 540px);
  margin: 0 auto;
}

.mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.mobile-links a::after {
  content: "↗";
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.mobile-links .quote-btn {
  justify-content: center;
  min-height: 52px !important;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
}

.mobile-links .quote-btn::after {
  margin-left: 8px;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -20px rgba(10, 22, 40, 0.55);
}

/* Magnetic button hover (reference utility) */
.btn-magnetic { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn-magnetic:hover { transform: translateY(-2px); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-2);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: #ffe04a;
}

.btn-outline {
  border-color: rgba(10, 22, 40, 0.28);
  background: rgba(255, 255, 255, 0.28);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-light-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-light-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

/* Home hero */
.hero {
  min-height: 100svh;
  padding: 138px 0 94px;
  overflow: hidden;
  background: var(--paper-2);
}

.cmyk-overlay {
  position: absolute;
  inset: 0 0 auto;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-jobslip {
  position: absolute;
  top: 96px;
  left: 32px;
  z-index: 2;
  color: rgba(10, 22, 40, 0.6);
  letter-spacing: 0.22em;
}

@media (min-width: 1024px) {
  .hero-jobslip { left: 64px; }
}

.hero-jobslip-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-jobslip-row + .hero-jobslip-row {
  margin-top: 6px;
}

.hero-jobslip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
}

.hero-jobslip-sep {
  opacity: 0.4;
}

@media (max-width: 639px) {
  .hero-jobslip { display: none; }
}

.hero-regtarget {
  position: absolute;
  top: 96px;
  right: 32px;
  z-index: 2;
  width: 62px;
  height: 62px;
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .hero-regtarget { right: 64px; }
}

@media (max-width: 639px) {
  .hero-regtarget { display: none; }
}

.hero-regtarget::before,
.hero-regtarget::after {
  content: "";
  position: absolute;
  background: var(--navy);
}

.hero-regtarget::before { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.hero-regtarget::after { top: 50%; right: 0; left: 0; height: 1px; transform: translateY(-50%); }

.hero-regtarget span {
  position: absolute;
  border-radius: 50%;
}

.hero-regtarget span:nth-child(1) { inset: 18%; border: 2px solid var(--cyan); }
.hero-regtarget span:nth-child(2) { inset: 30%; border: 2px solid var(--magenta); }
.hero-regtarget span:nth-child(3) { inset: 42%; border: 2px solid var(--yellow); }
.hero-regtarget span:nth-child(4) { inset: 48%; border: 2px solid var(--navy); }

.stat-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -9vw;
  width: 35vw;
  min-width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 50%;
  box-shadow:
    -80px 40px 0 rgba(0, 174, 239, 0.035),
    -125px 80px 0 rgba(236, 0, 140, 0.025),
    -165px 120px 0 rgba(255, 210, 0, 0.04);
}

.hero .inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px 40px 58px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink-70);
  font-size: 11px;
}

.eyebrow-row .mono {
  color: var(--navy);
}

.eyebrow-row .mono::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 15px;
  vertical-align: middle;
  background: var(--ink-20);
}

.hero h1 {
  max-width: 850px;
  margin: 21px 0 22px;
  font-size: clamp(55px, 6.3vw, 92px);
  font-weight: 700;
  line-height: 0.95;
}

.accent {
  position: relative;
  color: var(--magenta);
}

.accent::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 2px;
  left: 0;
  height: 7px;
  background: var(--yellow);
  opacity: 0.75;
  transform: skewX(-12deg);
  z-index: -1;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-70);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 590px);
  margin-top: 43px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 15px 20px 17px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat b {
  display: block;
  margin-bottom: 2px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--ink-50);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  min-width: 0;
  /* Perspective belongs on the parent of the tilted element (.sheet-wrap,
     translated/rotated on scroll by setupHeroPaperTilt() in script.js) so the
     3D rotateX/rotateY it applies actually reads as depth, not a flat skew. */
  perspective: 1300px;
}

.sheet-wrap {
  position: relative;
  width: min(100%, 530px);
  margin: 0 auto;
  perspective: 1300px;
  transition: transform 0.1s linear;
}

.sheet-shadow {
  position: absolute;
  right: 6%;
  bottom: -4%;
  left: 8%;
  height: 18%;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.28);
  filter: blur(28px);
  transform: rotate(-4deg);
}

.sheet {
  position: relative;
  min-height: 590px;
  padding: 42px 38px 32px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: #fffdfa;
  box-shadow: 0 42px 70px -28px rgba(10, 22, 40, 0.42);
  transform: rotate(-2.2deg);
  animation: sheet-float 6.5s ease-in-out infinite;
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(10, 22, 40, 0.08);
  pointer-events: none;
}

.sheet img {
  display: block;
  width: 100%;
  height: 405px;
  object-fit: cover;
}

.sheet-topline,
.sheet-spec,
.sheet-footer,
.sheet-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(10, 22, 40, 0.62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-topline {
  margin-bottom: 13px;
}

.sheet-notes {
  margin-top: 12px;
  color: var(--navy);
}

.sheet-spec {
  padding-top: 9px;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.sheet .bar {
  height: 6px;
  margin-top: 13px;
}

.sheet-footer {
  margin-top: 11px;
}

.crop-mark {
  position: absolute;
  width: 18px;
  height: 18px;
}

.crop-mark::before,
.crop-mark::after {
  content: "";
  position: absolute;
  background: rgba(10, 22, 40, 0.45);
}

.crop-mark::before { width: 18px; height: 1px; }
.crop-mark::after { width: 1px; height: 18px; }
.crop-tl { top: 24px; left: 24px; }
.crop-tr { top: 24px; right: 24px; transform: rotate(90deg); }
.crop-bl { bottom: 22px; left: 24px; transform: rotate(-90deg); }
.crop-br { right: 24px; bottom: 22px; transform: rotate(180deg); }

/* Header pill crop marks — reference-exact scoping (fine 12px ticks just
   outside each corner of the .nav pill, distinct from the hero-sheet marks
   above which sit inside the printed mockup) */
.nav .crop-mark { width: 12px; height: 12px; }
.nav .crop-mark::before { top: 0; left: 0; width: 100%; height: 1px; }
.nav .crop-mark::after { top: 0; left: 0; width: 1px; height: 100%; }
.nav .crop-tl { top: -6px; right: auto; bottom: auto; left: -6px; transform: none; }
.nav .crop-tr { top: -6px; right: -6px; bottom: auto; left: auto; transform: scaleX(-1); }
.nav .crop-bl { top: auto; right: auto; bottom: -6px; left: -6px; transform: scaleY(-1); }
.nav .crop-br { top: auto; right: -6px; bottom: -6px; left: auto; transform: scale(-1, -1); }

.hero-bottom-bar {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-bottom-bar { padding: 0 64px; }
}

.hero-bottom-brand,
.page-marker {
  color: var(--ink-50);
  white-space: nowrap;
}

.scroll-cue {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-60, rgba(10, 22, 40, 0.6));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(4px, 4px); }
}

@media (max-width: 639px) {
  .hero-bottom-brand { display: none; }
}

@keyframes sheet-float {
  0%, 100% { transform: rotate(-2.2deg) translateY(0); }
  50% { transform: rotate(-2.2deg) translateY(-12px); }
}

/* Hero 3D float composition (reference keyframes/utilities) */
@keyframes floatA { 0%, 100% { transform: translateY(0) rotateX(8deg) rotateY(-12deg); } 50% { transform: translateY(-14px) rotateX(8deg) rotateY(-12deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0) rotateX(-6deg) rotateY(14deg); } 50% { transform: translateY(-10px) rotateX(-6deg) rotateY(14deg); } }
@keyframes floatC { 0%, 100% { transform: translateY(0) rotateZ(-4deg); } 50% { transform: translateY(-18px) rotateZ(-4deg); } }
.fl-a { animation: floatA 7s ease-in-out infinite; }
.fl-b { animation: floatB 8.5s ease-in-out infinite; }
.fl-c { animation: floatC 9s ease-in-out infinite; }

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  45%, 55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Shared headings */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 960px;
  margin: 10px 0 0;
  font-size: clamp(39px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 0.98;
}

.section-head p {
  max-width: 470px;
  margin: 0 0 4px;
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.7;
}

.section-head-light p {
  color: rgba(255, 255, 255, 0.64);
}

/* Chapter — reference-exact: KineticHeadline.js renders on the paper
   background (#FAF7F0), not a dark panel; there is no giant background
   numeral or glow rings — just the mono-label row and the headline block,
   with per-word scroll-scrubbed colour handled by setupKineticHeadline() in
   js/script.js. */
.chapter-cover {
  min-height: 0;
  padding: 128px 0;
  display: block;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .chapter-cover { padding: 176px 0; }
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.chapter-meta::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(10, 22, 40, 0.3);
}

.chapter-meta .mono {
  color: rgba(10, 22, 40, 0.5);
}

.chapter-number { display: none; }

.chapter-copy {
  max-width: 1040px;
}

.chapter-copy p {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(38px, 5.5vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.chapter-copy p + p {
  margin-top: 12px;
}

.chapter-copy .chapter-accent {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(38px, 5.5vw, 88px);
  font-weight: 700;
}

.kinetic-word {
  display: inline-block;
}

/* Company cards */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
}

.company {
  position: relative;
  overflow: hidden;
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.company:hover {
  transform: translateY(-7px);
  border-color: rgba(10, 22, 40, 0.24);
  box-shadow: var(--shadow-lg);
}

.company-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.company-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.38), transparent 50%);
}

.company img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.company:hover img {
  transform: scale(1.045);
}

.division-no {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  color: var(--white);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 44px;
  font-weight: 700;
}

.company-body {
  padding: 24px;
}

.company-kicker,
.company-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-50);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company .tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid currentColor;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.company h3 {
  margin: 17px 0 9px;
  font-size: 29px;
  line-height: 1.05;
}

.company p {
  min-height: 88px;
  margin: 0;
  color: var(--ink-70);
  font-size: 13.5px;
  line-height: 1.65;
}

.company-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.company-meta strong {
  color: var(--navy);
  font-size: 11px;
}

/* Company product card + rubber-stamp (reference-exact utilities) */
.company-card {
  position: relative;
  display: block;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
  box-shadow:
    0 2px 0 rgba(10, 22, 40, 0.05),
    0 12px 30px -22px rgba(10, 22, 40, 0.3);
}

.company-card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow:
    0 2px 0 rgba(10, 22, 40, 0.06),
    0 28px 50px -22px rgba(10, 22, 40, 0.4);
}

.stamp {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font: 800 11px/1 "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  opacity: 0.85;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* Company card (reference-exact CompanyPanel) */
.cc-cmyk {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  display: flex;
  z-index: 3;
}

.cc-cmyk span { flex: 1; }
.cc-cmyk span:nth-child(1) { background: var(--cyan); }
.cc-cmyk span:nth-child(2) { background: var(--magenta); }
.cc-cmyk span:nth-child(3) { background: var(--yellow); }
.cc-cmyk span:nth-child(4) { background: var(--navy); }

.cc-punch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-hole {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(10, 22, 40, 0.4);
  background: var(--paper-2);
  box-shadow: inset 0 1px 2px rgba(10, 22, 40, 0.18);
}

.cc-string {
  margin-top: 4px;
  width: 1px;
  height: 12px;
  background: rgba(10, 22, 40, 0.5);
}

.cc-body {
  position: relative;
  background: #f8f5ee;
  padding: 48px 24px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cc-body { padding: 48px 32px 32px; }
}

.cc-corner { position: absolute; width: 12px; height: 12px; z-index: 2; pointer-events: none; }
.cc-corner::before { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(10, 22, 40, 0.4); border-top: 1px solid rgba(10, 22, 40, 0.4); }
.cc-corner-tl { top: 8px; left: 8px; }
.cc-corner-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.cc-corner-bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.cc-corner-br { bottom: 8px; right: 8px; transform: scale(-1); }

.cc-body .stamp { margin-top: 4px; }

.cc-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
  margin-top: 16px;
}

.cc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.company-card:hover .cc-media img {
  opacity: 1;
  transform: scale(1.05);
}

.cc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.45), transparent 55%);
}

.cc-division {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px;
}

.cc-regmark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.cc-label { margin-top: 20px; position: relative; flex: 1; }

.cc-label::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(10, 22, 40, 0.3) 55%, transparent 0);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}

.cc-tagrow { display: flex; align-items: center; gap: 8px; }
.cc-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.cc-tagrow .font-mono-label { color: rgba(10, 22, 40, 0.6); }

.company-card h3 {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.company-card .cc-label p {
  margin: 12px 0 0;
  color: rgba(10, 22, 40, 0.7);
  font-size: 13.5px;
  line-height: 1.55;
}

.cc-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 22, 40, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc-meta .font-mono-label { color: rgba(10, 22, 40, 0.6); }

.cc-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: gap 0.25s ease;
}

.company-card:hover .cc-explore { gap: 9px; }

.cc-barcode {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  opacity: 0.7;
}

.cc-barcode span:not(.cc-barcode-label) {
  display: inline-block;
  width: 2px;
  background: var(--navy);
}

.cc-barcode-label {
  margin-left: 12px;
  color: rgba(10, 22, 40, 0.6);
  white-space: nowrap;
}

/* Metrics */
.metrics-section {
  padding-top: 20px;
}

.filed-note {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec {
  position: relative;
  min-height: 230px;
  padding: 24px 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  transition: background 0.25s ease, transform 0.25s ease;
}

.spec:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.spec-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  color: rgba(10, 22, 40, 0.6);
}

.spec-corner::before,
.spec-corner::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.spec-corner::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.spec-corner::after { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); }
.spec-corner-tl { top: 8px; left: 8px; }
.spec-corner-tr { top: 8px; right: 8px; }
.spec-corner-bl { bottom: 8px; left: 8px; }
.spec-corner-br { bottom: 8px; right: 8px; }

.spec-punch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(10, 22, 40, 0.3);
  background: var(--paper);
}

.spec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--ink-50);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spec-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.spec b {
  display: block;
  margin: 20px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(45px, 4.2vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.spec-cmyk {
  margin-top: 20px;
  height: 4px;
  display: flex;
}

.spec-cmyk span { flex: 1; }
.spec-cmyk span:nth-child(1) { background: var(--cyan); }
.spec-cmyk span:nth-child(2) { background: var(--magenta); }
.spec-cmyk span:nth-child(3) { background: var(--yellow); }
.spec-cmyk span:nth-child(4) { background: var(--navy); }

.spec-foot {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.spec-foot > span:first-child {
  color: var(--ink-70);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.spec-barcode {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  opacity: 0.7;
  flex-shrink: 0;
}

.spec-barcode i {
  display: inline-block;
  width: 2px;
  background: var(--navy);
}

.spec-barcode i:nth-child(4n+1) { height: 9px; }
.spec-barcode i:nth-child(4n+2) { height: 15px; }
.spec-barcode i:nth-child(4n+3) { height: 6px; }
.spec-barcode i:nth-child(4n) { height: 18px; }

.spec > span {
  color: var(--ink-70);
  font-size: 12px;
  line-height: 1.5;
}

/* Printed technical spec-sheet card (reference "STATS" component) */
.spec-card {
  position: relative;
  background: #fbf8f1;
  border: 1px solid rgba(10, 22, 40, 0.1);
  padding: 20px 22px 22px;
  box-shadow:
    0 1px 0 rgba(10, 22, 40, 0.06),
    0 10px 24px -18px rgba(10, 22, 40, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 22, 40, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

.spec-card:hover {
  transform: translateY(-3px) rotate(-0.2deg);
  box-shadow:
    0 1px 0 rgba(10, 22, 40, 0.06),
    0 20px 40px -22px rgba(10, 22, 40, 0.35);
}

/* Services — pkg-sample cards (reference-exact ServiceCard) */
.service-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 640px) {
  .service-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .service-catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .service-catalogue { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pkg-sample {
  position: relative;
  display: block;
}

.pkg-cmyk {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
  opacity: 0.9;
  z-index: 2;
}

.pkg-cmyk span { flex: 1; }
.pkg-cmyk span:nth-child(1) { background: var(--cyan); }
.pkg-cmyk span:nth-child(2) { background: var(--magenta); }
.pkg-cmyk span:nth-child(3) { background: var(--yellow); }
.pkg-cmyk span:nth-child(4) { background: var(--navy); }

.pkg-corner { position: absolute; width: 12px; height: 12px; z-index: 2; pointer-events: none; }
.pkg-corner::before { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(10, 22, 40, 0.45); border-top: 1px solid rgba(10, 22, 40, 0.45); }
.pkg-corner-tl { top: 6px; left: 6px; }
.pkg-corner-tr { top: 6px; right: 6px; transform: scaleX(-1); }
.pkg-corner-bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.pkg-corner-br { bottom: 6px; right: 6px; transform: scale(-1); }

.pkg-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tan, #ede7d9);
}

.pkg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.pkg-sample:hover .pkg-media img {
  transform: scale(1.05);
}

.pkg-sweep {
  position: absolute;
  inset: 0 auto 0 -33%;
  width: 33%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  pointer-events: none;
}

.pkg-sample:hover .pkg-sweep {
  opacity: 1;
  animation: paperSweep 3.5s ease-in-out infinite;
}

.pkg-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--paper-2);
  color: var(--navy);
  border: 1px solid rgba(10, 22, 40, 0.1);
  box-shadow: var(--shadow-sm);
  padding: 4px 8px;
}

.pkg-sku {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: var(--navy);
  color: var(--paper-2);
  letter-spacing: 0.2em;
  padding: 2px 6px;
}

.pkg-label {
  position: relative;
  background: #f8f5ee;
  padding: 16px 20px 20px;
}

.pkg-label::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(10, 22, 40, 0.25) 50%, transparent 0);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}

.pkg-toprow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.min0 { min-width: 0; }
.pkg-tagrow { display: flex; align-items: center; gap: 8px; }
.pkg-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pkg-tagrow .font-mono-label { color: rgba(10, 22, 40, 0.55); }

.pkg-sample h3 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.pkg-sample p {
  margin: 4px 0 0;
  color: rgba(10, 22, 40, 0.7);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkg-arrow {
  flex-shrink: 0;
  margin-top: 4px;
  color: rgba(10, 22, 40, 0.5);
  transition: transform 0.2s ease, color 0.2s ease;
}

.pkg-sample:hover .pkg-arrow {
  color: var(--navy);
  transform: translateX(2px);
}

/* Packaging sample card (reference "SERVICES" component) */
.pkg-sample {
  position: relative;
  overflow: hidden;
  background: #fbf8f1;
  border: 1px solid rgba(10, 22, 40, 0.1);
  box-shadow:
    0 1px 0 rgba(10, 22, 40, 0.05),
    0 8px 22px -20px rgba(10, 22, 40, 0.25);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.pkg-sample:hover {
  transform: translateY(-4px) rotate(-0.15deg);
  border-color: rgba(10, 22, 40, 0.3);
  box-shadow:
    0 1px 0 rgba(10, 22, 40, 0.06),
    0 22px 40px -22px rgba(10, 22, 40, 0.35);
}

/* Hero light sweep across paper (reference keyframe, used inline) */
@keyframes paperSweep {
  0% { transform: translateX(0%) skewX(-15deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(420%) skewX(-15deg); opacity: 0; }
}

/* Process */
.process-section {
  overflow: hidden;
}

.process-section::after {
  content: none;
}

.process-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}

.process-visual {
  position: sticky;
  top: 116px;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.1);
}

.process-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent 58%);
}

.process-visual img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.process-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  color: var(--white);
}

.process-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.process-caption-title {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.registration-dots {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.registration-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.registration-dots i:nth-child(1) { background: var(--cyan); }
.registration-dots i:nth-child(2) { background: var(--magenta); }
.registration-dots i:nth-child(3) { background: var(--yellow); }
.registration-dots i:nth-child(4) { background: #000; border: 1px solid rgba(255,255,255,.5); }

.process-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: var(--paper);
}

.process-step > span {
  color: rgba(10, 22, 40, 0.3);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 4px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.process-step p {
  margin: 0;
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.65;
}

/* Capabilities — reference-exact: dark navy panel, 1px hairline grid (via a
   background-color gap trick), a small yellow registration-mark icon next to
   each heading (not a "01" numeral), and cyan check-mark bullets. */
.capabilities-section.dark { background: var(--navy); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cap {
  position: relative;
  padding: 26px;
  background: var(--navy);
}

.cap-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cap-no {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  color: var(--yellow);
  font-size: 0;
}

.cap-no::before,
.cap-no::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.cap-no::before { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.cap-no::after { top: 50%; right: 0; left: 0; height: 1px; transform: translateY(-50%); }

.cap h3 {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 10px;
  font-size: 20px;
  color: var(--white);
}

.cap ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cap li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

.cap li::before {
  content: "✓";
  position: static;
  width: auto;
  height: auto;
  background: none;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  flex-shrink: 0;
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.02) 65%);
}

.showcase-large {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-tall {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.showcase-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.showcase-card > span {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  color: var(--white);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
}

.showcase-card small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-family: Inter, sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Infrastructure */
.infrastructure-section {
  overflow: hidden;
}

.infrastructure-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 58%, rgba(0, 174, 239, 0.06)),
    linear-gradient(70deg, transparent 70%, rgba(236, 0, 140, 0.045));
}

.infrastructure-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.infrastructure-copy h2 {
  max-width: 700px;
  margin: 12px 0 24px;
  font-size: clamp(43px, 5vw, 72px);
  line-height: 0.98;
}

.infrastructure-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.75;
}

.unit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.unit-list > div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.unit-list span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.unit-list strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

/* Quality */
.quality-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}

.quality-head {
  margin-bottom: 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quality-card {
  padding: 20px;
  border: 1px solid var(--line);
}

.quality-card > span {
  display: none;
}

.quality-card h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.quality-card p {
  margin: 6px 0 0;
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.65;
}

/* Client marquee */
.client-trust {
  overflow: hidden;
  padding-bottom: 88px;
  text-align: center;
}

.client-trust > .wrap > .mono {
  color: rgba(10, 22, 40, 0.6);
}

.client-trust h2 {
  max-width: 768px;
  margin: 12px auto 46px;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.35;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee-track span {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA */
.quote-cta {
  position: relative;
  padding: 96px 0 128px;
  overflow: hidden;
}

.quote-cta::before,
.quote-cta::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.quote-cta::before {
  top: -80px;
  right: -80px;
  background: rgba(236, 0, 140, 0.2);
}

.quote-cta::after {
  bottom: -80px;
  left: -80px;
  background: rgba(0, 174, 239, 0.2);
}

.quote-cta-grid {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.quote-cta h2 {
  max-width: 900px;
  margin: 16px auto 20px;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
}

.quote-cta p {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Inner page hero */
.page-hero {
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 174px 0 86px;
  overflow: hidden;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 1080px;
  margin: 12px 0 18px;
  font-size: clamp(52px, 7vw, 98px);
  line-height: 0.95;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.contact-hero-bg {
  background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.58)), url('../images/remote/press-room.jpg');
}

.about-hero-bg {
  background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.63)), url('../images/remote/product-folding.jpg');
}

.graphics-hero-bg {
  background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.63)), url('../images/remote/product-sign.jpg');
}

.signink-hero-bg {
  background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.63)), url('../images/remote/product-boxes.jpg');
}

.enterprise-hero-bg {
  background-image: linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.63)), url('../images/remote/product-print.jpg');
}

/* Generic content */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.media-wide {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.stack-20 {
  display: grid;
  gap: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info,
.info-tile,
.light-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.info {
  padding: 28px;
}

.info h3,
.info-tile h3 {
  margin-top: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.info p,
.info-tile p {
  color: var(--ink-70);
  line-height: 1.65;
}

.info-tile {
  padding: 18px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 4px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.bordered-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.heading-sm { font-size: 34px !important; }
.heading-md { font-size: 40px; }
.heading-lg-bold { font-size: 44px; font-weight: 700; }
.heading-xl { font-size: 48px; }
.metric-heading { margin: 10px 0; font-size: 48px; }
.cta-heading { max-width: 900px; margin: 14px auto; font-size: clamp(38px, 5vw, 64px); }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.py-10 { padding: 10px 0; }
.py-40 { padding: 40px 0; }
.inline-center { display: flex; align-items: center; gap: 12px; }

/* Timeline */
.timeline {
  position: relative;
  max-width: 1050px;
  margin: 55px auto 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 52px 54px;
  border-left: 1px solid var(--line);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -7px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  background: var(--yellow);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-item h3 {
  margin: 0 0 9px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
}

.timeline-item p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-70);
  line-height: 1.7;
}

/* Filters and product cards */
.filters {
  position: sticky;
  top: 92px;
  z-index: 80;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(14px);
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter:hover,
.filter.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product.is-hidden,
.gallery-item.is-hidden {
  display: none;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product:hover > img {
  transform: scale(1.045);
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 19px;
}

.product-body p {
  margin: 9px 0 0;
  color: var(--ink-70);
  font-size: 12.5px;
  line-height: 1.6;
}

/* Gallery */
.gallery {
  columns: 4 250px;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0 0 16px;
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item::after {
  content: "View";
  position: absolute;
  inset: auto 14px 14px auto;
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.76);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: transform 0.48s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 10, 20, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 34px;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 22, 40, 0.2);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form textarea {
  min-height: 155px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

.form button {
  justify-self: start;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #147d4f;
  font-size: 12px;
  font-weight: 700;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
}

.client-logo {
  max-width: 300px;
  max-height: 75px;
  margin-bottom: 22px;
  object-fit: contain;
}

/* Footer */
footer {
  background: #07111f;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.55fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.logo-foot {
  width: auto;
  height: 48px;
}

.footer-brand-title {
  font-size: 24px;
  font-weight: 700;
}

.footer-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-copy {
  max-width: 390px;
}

.footer-grid p,
.footer-grid li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.footer-grid ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 7px 0;
}

.footer-grid a {
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

/* Reveal — matches the reference's site-wide fadeUp variant exactly:
   { hidden:{opacity:0,y:30}, show:{opacity:1,y:0,transition:{duration:0.7,
   ease:[0.2,0.7,0.2,1]}} } (app/page.js), children staggered 0.08s apart. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1240px) {
  .navlinks { gap: 16px; font-size: 12px; }
  .hero .inner { grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); gap: 48px; }
  .sheet { min-height: 535px; }
  .sheet img { height: 355px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  header { z-index: 2200; }
  .navlinks { display: none; }
  .mobile-btn { position: relative; display: inline-flex; }
  .hero .inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-art { width: min(100%, 620px); margin: 0 auto; }
  .sheet-wrap { margin-top: 25px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 .company:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-layout { grid-template-columns: 1fr; }
  .process-visual { position: relative; top: auto; min-height: 480px; }
  .process-visual img { height: 480px; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-large { grid-column: span 2; }
  .infrastructure-grid { grid-template-columns: 1fr; }
  .quality-layout { grid-template-columns: 1fr; gap: 24px; }
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid,
  .quote-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .wrap { padding-inline: 20px; }
  section { padding: 78px 0; }
  header { inset-block-start: 10px; padding-inline: 10px; }
  .nav { border-radius: 13px; }
  .nav > .cmyk { border-radius: 12px 12px 0 0; }
  .nav-inner { min-height: 60px; padding-inline: 15px; }
  .logo { height: 31px; }
  .hero { min-height: auto; padding: 120px 0 82px; }
  .hero .inner { padding: 10px 20px 58px; }
  .eyebrow-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .eyebrow-row .mono::after { display: none; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero p { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding-inline: 10px; }
  .sheet { min-height: 470px; padding: 36px 28px 26px; }
  .sheet img { height: 310px; }
  .sheet-spec { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero-bottom-bar { padding: 0 20px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(37px, 11vw, 54px); }
  .section-head p { max-width: 100%; }
  .chapter-cover { padding: 88px 0; }
  .chapter-copy p { font-size: clamp(34px, 10.5vw, 54px); }
  .chapter-copy .chapter-accent { font-size: clamp(34px, 10.5vw, 54px); }
  .grid3 { grid-template-columns: 1fr; }
  .grid3 .company:last-child { grid-column: auto; max-width: none; }
  .company p { min-height: auto; }
  .specs,
  .service-catalogue,
  .cap-grid,
  .quality-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 215px; }
  .process-visual,
  .process-visual img { min-height: 360px; height: 360px; }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .showcase-large { grid-column: span 2; grid-row: span 2; }
  .showcase-tall { grid-row: span 2; }
  .infrastructure-copy h2 { font-size: clamp(40px, 11vw, 58px); }
  .client-trust h2 { font-size: clamp(37px, 10vw, 54px); }
  .quote-cta h2 { font-size: clamp(38px, 10vw, 56px); }
  .page-hero { min-height: 460px; padding: 150px 0 70px; }
  .page-hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .page-hero p { font-size: 15px; }
  .contact-grid,
  .info-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .filters { top: 80px; }
  .filterbar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filterbar::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 54px; padding-bottom: 46px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-inline: 20px; }
}

@media (max-width: 520px) {
  .buttons { flex-direction: column; }
  .buttons .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-top: 1px solid var(--line); border-left: 0; }
  .sheet { min-height: 410px; padding: 34px 23px 23px; }
  .sheet img { height: 255px; }
  .sheet-topline { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero-bottom-bar { padding: 0 16px; }
  .company-meta { align-items: flex-start; flex-direction: column; }
  .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .showcase-large,
  .showcase-tall { grid-column: auto; grid-row: auto; }
  .process-step { grid-template-columns: 42px 1fr; gap: 12px; }
  .unit-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .heading-xl,
  .metric-heading { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
