/* =========================================================
   PNG POLYMERS · Editorial Industrial-Refined
   Palette: navy → royal blue → mist → porcelain
   ========================================================= */

:root {
  --ink:         #0A1B3D;   /* deep navy */
  --ink-soft:    #13306E;
  --blue:        #1155CC;   /* logo blue */
  --blue-bright: #1F7BFF;
  --mist:        #D8E4F5;
  --mist-soft:   #EEF3FB;
  --porcelain:   #F6F8FC;
  --paper:       #FFFFFF;
  --line:        rgba(10, 27, 61, 0.12);
  --line-strong: rgba(10, 27, 61, 0.22);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Instrument Sans", -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--ink); color: var(--paper); }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), width 0.3s, height 0.3s;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.08);
}

@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ink), var(--blue-bright));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 10000;
  display: grid; place-items: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-hex {
  width: 60px; height: 60px; color: var(--mist);
  animation: hexspin 2s var(--ease-smooth) infinite;
  margin: 0 auto 20px;
}
@keyframes hexspin {
  0% { transform: rotate(0); opacity: 0.3; }
  50% { transform: rotate(180deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}
.preloader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  margin-bottom: 16px;
  opacity: 0.7;
}
.preloader-bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  background: var(--mist);
  animation: loadbar 1.6s var(--ease-smooth) infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}
.nav.scrolled {
  padding: 14px 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img {
  width: 46px; height: 46px;
  transition: transform 0.4s var(--ease-out);
}
.nav-logo:hover img { transform: rotate(-6deg) scale(1.05); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 3px;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
  padding: 4px 0;
}
.nav-links a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 9px;
  vertical-align: super;
  margin-right: 3px;
  opacity: 0.5;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  position: relative;
}
.nav-cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -10px rgba(17, 85, 204, 0.5);
}
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 40px 60px;
  background: var(--paper);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-mesh {
  position: absolute;
  top: -10%; right: -10%;
  width: 70%; height: 80%;
  background:
    radial-gradient(circle at 30% 30%, rgba(31, 123, 255, 0.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(17, 85, 204, 0.15), transparent 55%);
  filter: blur(40px);
  animation: meshFloat 18s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-30px, 20px) rotate(8deg); }
}

.hero-watermark {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 520px;
  opacity: 0.11;
  transform: rotate(-12deg);
  pointer-events: none;
  filter: grayscale(0.3);
  animation: spin 80s linear infinite;
}
@keyframes spin {
  from { transform: rotate(-12deg); }
  to { transform: rotate(348deg); }
}

/* Molecules */
.molecule {
  position: absolute;
  pointer-events: none;
  opacity: 0.3;
}
.molecule::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--blue);
  border-radius: 50%;
  animation: rotateMol 30s linear infinite;
}
.mol-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(17, 85, 204, 0.4);
}
.mol-1 {
  top: 15%; right: 15%;
  width: 160px; height: 160px;
  animation: float1 8s ease-in-out infinite;
}
.mol-1 .mol-node:nth-child(1) { top: -5px; left: 50%; }
.mol-1 .mol-node:nth-child(2) { top: 50%; right: -5px; }
.mol-1 .mol-node:nth-child(3) { bottom: -5px; left: 50%; }
.mol-1 .mol-node:nth-child(4) { top: 50%; left: -5px; }

.mol-2 {
  top: 55%; right: 8%;
  width: 100px; height: 100px;
  animation: float2 10s ease-in-out infinite;
}
.mol-2 .mol-node:nth-child(1) { top: -5px; left: 50%; }
.mol-2 .mol-node:nth-child(2) { bottom: 10%; left: 10%; }
.mol-2 .mol-node:nth-child(3) { bottom: 10%; right: 10%; }

.mol-3 {
  top: 25%; left: 8%;
  width: 80px; height: 80px;
  animation: float1 12s ease-in-out infinite;
}
.mol-3 .mol-node:nth-child(1) { top: -5px; left: 50%; }
.mol-3 .mol-node:nth-child(2) { bottom: -5px; left: 50%; }

@keyframes rotateMol { to { transform: rotate(360deg); } }
@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, 15px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 20px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  opacity: 0.8;
}
.hero-meta { display: flex; align-items: center; gap: 10px; }
.hero-meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 60px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordRise 1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .word { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.55s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: 0.65s; }
.hero-title .line:nth-child(3) .word:nth-child(1) { animation-delay: 0.8s; }
.hero-title .line:nth-child(3) .word:nth-child(2) { animation-delay: 0.9s; }
.hero-title .line:nth-child(4) .word:nth-child(1) { animation-delay: 1.05s; }
.hero-title .line:nth-child(4) .word:nth-child(2) { animation-delay: 1.15s; }

@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-title .serif-italic {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  color: var(--blue);
}
.hero-title .outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
  font-style: italic;
  font-weight: 300;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.3s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc { max-width: 440px; }
.hero-desc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-desc p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { position: relative; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: inline-block;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--blue);
  font-style: italic;
  vertical-align: top;
  margin-left: 2px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.8;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--ink-soft), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0; width: 100%;
  height: 40%;
  background: var(--blue);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-section {
  background: var(--ink);
  color: var(--paper);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.02em;
}
.marquee-track .dot {
  font-style: normal;
  color: var(--blue-bright);
  font-size: 24px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION LABELS / HEADINGS
   ========================================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 48px;
}
.section-label.light { color: rgba(255,255,255,0.7); }
.label-num { color: var(--blue); font-weight: 500; }
.label-line {
  flex: 1; max-width: 200px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
}
.section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.section-heading.light { color: var(--paper); max-width: 18ch; }
.section-heading.light em { color: var(--blue-bright); }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 140px 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  margin-bottom: 120px;
}
.about-right p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-right p + p { margin-top: 20px; }

.about-sign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.sign-swoosh svg {
  width: 100px; height: 36px;
  color: var(--blue);
}
.sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
}
.sign-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.7;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  padding: 36px 30px;
  background: var(--paper);
  position: relative;
  transition: background 0.4s var(--ease-out);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.value-card:hover { background: var(--porcelain); }
.value-card:hover .value-icon {
  transform: translateY(-4px) rotate(-6deg);
  color: var(--blue);
}
.value-icon {
  width: 44px; height: 44px;
  color: var(--ink);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}
.value-icon svg { width: 100%; height: 100%; }
.value-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: auto;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products {
  padding: 140px 40px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.products::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(31, 123, 255, 0.15), transparent 50%);
  filter: blur(60px);
}
.products > * { position: relative; z-index: 1; max-width: 1440px; margin-left: auto; margin-right: auto; }
.products-intro {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-top: 28px;
  margin-bottom: 80px;
}

.products-list {
  border-top: 1px solid rgba(255,255,255,0.15);
}
.product-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 40px;
  gap: 30px;
  align-items: center;
  padding: 28px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  position: relative;
  transition: padding 0.5s var(--ease-out);
}
.product-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,123,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.product-row:hover { padding-left: 30px; padding-right: 30px; }
.product-row:hover::before { opacity: 1; }
.product-row:hover .product-arrow { transform: translateX(6px); color: var(--blue-bright); }
.product-row:hover h3 { color: var(--blue-bright); }

.product-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
}
.product-name { position: relative; z-index: 1; }
.product-name h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.3s;
}
.product-name h3 span {
  font-style: italic;
  font-weight: 300;
  font-size: 0.55em;
  color: rgba(255,255,255,0.55);
  margin-left: 8px;
}
.product-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  position: relative; z-index: 1;
}
.product-arrow {
  width: 32px; height: 32px;
  color: rgba(255,255,255,0.5);
  transition: all 0.4s var(--ease-out);
  position: relative; z-index: 1;
}
.product-arrow svg { width: 100%; height: 100%; }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  padding: 140px 40px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--paper);
}
.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  position: relative;
  padding-top: 50px;
}
.rail-line {
  position: absolute;
  top: 34px; left: 40px; right: 40px;
  height: 1px;
  background: var(--line);
}
.rail-line-fill {
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 1.2s var(--ease-smooth);
}
.step {
  position: relative;
}
.step-dot {
  position: absolute;
  top: -50px;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  z-index: 1;
  transition: all 0.4s;
}
.step-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform 0.4s var(--ease-out) 0.2s;
}
.step.is-visible .step-dot {
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(17, 85, 204, 0.1);
}
.step.is-visible .step-dot::after {
  background: var(--blue);
  transform: scale(1);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries {
  padding: 140px 40px;
  background: var(--porcelain);
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 2px;
}
.industries-head { margin-bottom: 60px; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.industry {
  padding: 40px 32px;
  background: var(--porcelain);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.industry:hover {
  background: var(--paper);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(10, 27, 61, 0.15);
  z-index: 2;
}
.industry-icon {
  width: 48px; height: 48px;
  color: var(--ink);
  margin-bottom: 20px;
  transition: color 0.3s, transform 0.4s;
}
.industry:hover .industry-icon { color: var(--blue); transform: rotate(-5deg); }
.industry-icon svg { width: 100%; height: 100%; }
.industry h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.industry p {
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial {
  padding: 160px 40px;
  background: var(--paper);
  position: relative;
}
.testimonial-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.18;
  margin-bottom: -60px;
  font-style: italic;
  font-weight: 300;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 40px;
}
.testimonial blockquote em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.quote-attrib {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--ink));
  position: relative;
}
.quote-avatar::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 50% 35%, var(--mist) 25%, transparent 26%),
    radial-gradient(circle at 50% 85%, var(--mist) 40%, transparent 41%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.quote-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.quote-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 140px 40px 100px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(200px, 28vw, 460px);
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}
.contact-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.contact-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-bright);
}
.contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* -------- Success overlay (appears after enquiry is sent) -------- */
.form-success-overlay {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.97), rgba(31, 123, 255, 0.97));
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.45s var(--ease-out),
              transform 0.55s var(--ease-out),
              visibility 0s linear 0.45s;
  z-index: 5;
  pointer-events: none;
}
.contact-form.sent-email .form-success-overlay {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.45s var(--ease-out),
              transform 0.55s var(--ease-out),
              visibility 0s linear 0s;
  pointer-events: auto;
}
.success-icon svg {
  width: 72px;
  height: 72px;
}
.success-circle {
  stroke: rgba(255,255,255,0.7);
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.success-check {
  stroke: #fff;
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
}
.contact-form.sent-email .success-circle {
  animation: draw-circle 0.55s 0.1s var(--ease-out) forwards;
}
.contact-form.sent-email .success-check {
  animation: draw-check 0.35s 0.55s var(--ease-out) forwards;
}
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check  { to { stroke-dashoffset: 0; } }

.success-title {
  font-family: var(--font-display, var(--font-body));
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.success-sub {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 380px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label.full { grid-column: 1 / -1; }
.contact-form span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: var(--ink); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-bright);
}

.form-submit {
  align-self: flex-start;
  margin-top: 16px;
  padding: 18px 32px;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.form-actions .form-submit { margin-top: 0; }

/* Secondary (email) button — outlined style */
.form-submit-alt {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.form-submit-alt:hover {
  background: var(--blue-bright);
  color: var(--paper);
  border-color: var(--blue-bright);
  box-shadow: 0 15px 30px -15px rgba(31, 123, 255, 0.6);
}
.contact-form.sent-email .form-submit-alt { background: var(--blue-bright); border-color: var(--blue-bright); }
.contact-form.sent-email .form-submit-alt .sub-default { display: none; }
.contact-form.sent-email .form-submit-alt .sub-sent { display: inline-flex; align-items: center; }
/* Hide the whatsapp "sent" state when email was clicked instead */
.contact-form.sent-email .form-submit .sub-sent { display: none; }
.contact-form.sent-email .form-submit .sub-default { display: inline-flex; align-items: center; }

/* -------- Email button: SENDING state (spinner) -------- */
.form-submit .sub-sending { display: none; }
.contact-form.sending-email .form-submit-alt {
  background: rgba(31, 123, 255, 0.25);
  border-color: var(--blue-bright);
  color: var(--paper);
  cursor: wait;
  pointer-events: none;
}
.contact-form.sending-email .form-submit-alt .sub-default { display: none; }
.contact-form.sending-email .form-submit-alt .sub-sending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-form.sending-email .form-submit:not(.form-submit-alt) {
  opacity: 0.4;
  pointer-events: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--paper);
  border-radius: 50%;
  display: inline-block;
  animation: spinner-rotate 0.7s linear infinite;
}
@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}

/* Override the faint form-label span styling for button spans */
.form-submit span,
.contact-form.sent .form-submit span,
.contact-form.sent-email .form-submit span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}
.form-submit:hover {
  background: #25D366; /* WhatsApp green */
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -15px rgba(37, 211, 102, 0.6);
}
.form-submit-alt:hover { background: var(--blue-bright); }
.form-submit .sub-sent { display: none; }
.contact-form.sent .form-submit:not(.form-submit-alt) { background: #25D366; color: var(--paper); }
.contact-form.sent .form-submit:not(.form-submit-alt) .sub-default { display: none; }
.contact-form.sent .form-submit:not(.form-submit-alt) .sub-sent { display: inline; }

.form-note {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.form-note strong {
  color: #25D366;
  font-weight: 500;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.aside-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.aside-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--paper);
  line-height: 1.4;
}
.aside-value a { border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color 0.3s; }
.aside-value a:hover { border-color: var(--blue-bright); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 60px 40px 40px;
}
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo { width: 56px; }
.footer-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover { color: var(--paper); transform: translateX(3px); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.footer-big {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.2);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }
  .nav-burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--ink);
  }

  .hero { padding: 120px 20px 40px; }
  .hero-top { flex-direction: column; gap: 8px; margin-bottom: 50px; }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-num { font-size: 48px; }
  .hero-scroll { display: none; }
  .hero-watermark { width: 320px; }
  .mol-1 { width: 100px; height: 100px; }

  .about { padding: 80px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card { min-height: auto; }

  .products { padding: 80px 20px; }
  .product-row {
    grid-template-columns: 40px 1fr 28px;
    gap: 16px;
    padding: 20px 8px;
  }
  .product-desc { grid-column: 1 / -1; grid-row: 2; padding-left: 56px; font-size: 13px; }
  .product-row:hover { padding-left: 12px; padding-right: 12px; }

  .process { padding: 80px 20px; }
  .process-rail {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 30px;
  }
  .rail-line {
    top: 0; bottom: 0;
    left: 6px; right: auto;
    width: 1px; height: auto;
  }
  .rail-line-fill { width: 100%; height: 0; transition: height 1.2s var(--ease-smooth); }
  .step-dot { top: 4px; left: -30px; }

  .industries { padding: 80px 20px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial { padding: 100px 20px; }
  .quote-mark { font-size: 120px; margin-bottom: -30px; }

  .contact { padding: 100px 20px 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-aside { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 50px 20px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-big { font-size: 22px; }

  .marquee-track { font-size: 28px; gap: 30px; }
}

@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

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