/* =========================================================
   Techlub Specialities — Landing
   Brand: navy #24378B · amber #FBBA2C · steel #94A5D5
   ========================================================= */
:root {
  --navy-950: #070E2B;
  --navy-900: #0B1640;
  --navy-800: #13215A;
  --navy: #24378B;
  --navy-400: #4A5DB0;
  --steel: #94A5D5;
  --steel-200: #D5DCF0;
  --amber: #FBBA2C;
  --amber-600: #E59A12;
  --amber-100: #FFF3D6;
  --ink: #0E1224;
  --text: #2B3046;
  --muted: #6B7084;
  --line: #E3E6EF;
  --paper: #F5F6FA;
  --white: #FFFFFF;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.02; }
.display { font-size: clamp(38px, 4.4vw, 72px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: .95; }
.h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; font-stretch: 108%; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.kicker::before { content: ""; width: 9px; height: 12px; background: var(--amber); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: rotate(0deg); clip-path: path("M4.5 0 C6 3 9 6 9 8.4 A4.5 4.5 0 0 1 0 8.4 C0 6 3 3 4.5 0Z"); }
.lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
em.hl { font-style: normal; color: var(--amber); }
.on-dark { color: #C9D0EA; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .kicker { color: var(--steel); }
.on-dark .lead { color: #AEB6D6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.35); transform: translateX(-101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(229,154,18,.65); }
.btn:hover::after { transform: translateX(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--ghost::after { background: rgba(255,255,255,.08); }
.btn--navy { --bg: var(--navy); --fg: var(--white); }
.btn--navy:hover { box-shadow: 0 14px 30px -12px rgba(36,55,139,.6); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.header.is-scrolled { background: rgba(7,14,43,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header.is-scrolled .header__inner { height: 70px; }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand svg { height: 40px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; color: #D5DBF2; font-size: 15px; font-weight: 500; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.22); color: var(--white); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: .06em; }
.lang__btn svg { width: 14px; height: 14px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border-radius: 12px; padding: 6px; min-width: 160px; box-shadow: 0 20px 50px -15px rgba(7,14,43,.5); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .25s var(--ease); list-style: none; margin: 0; }
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button { display: flex; justify-content: space-between; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink); text-align: left; }
.lang__menu button:hover, .lang__menu button[aria-current="true"] { background: var(--paper); }
.lang__menu button span:last-child { color: var(--muted); font-size: 12px; font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; background: var(--navy-950); flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--gutter); gap: 8px; transform: translateY(-110vh); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; z-index: -1; }
  .nav a { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--white); }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .header__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 78% 30%, #1B2C78 0%, transparent 60%), linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #C9D0EA; overflow: hidden; padding: 120px 0 100px;
}
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(148,165,213,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,165,213,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; width: 100%; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #DDE2F5; margin-bottom: 22px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(251,186,44,.18); flex-shrink: 0; }
.hero__badge b { background: var(--amber); color: var(--ink); font-family: var(--font-display); font-size: 11px; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; }
.hero h1 { color: var(--white); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { margin: 24px 0 32px; color: #AEB6D6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 440px; justify-self: end; }
.hero__visual svg { width: 100%; height: 100%; overflow: visible; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--steel), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: -2px; width: 5px; height: 8px; border-radius: 50%; background: var(--amber); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { top: -10px; } to { top: 50px; } }

.drop-shine { mix-blend-mode: screen; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { position: absolute; right: -28%; top: 4%; width: 78%; opacity: .32; z-index: 0; pointer-events: none; }
  .hero__text { position: relative; z-index: 1; }
}

/* Splash (drop impact) */
.splash { position: relative; height: 0; z-index: 3; }
.splash__rings { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.splash__rings span { position: absolute; left: 0; top: 0; width: 40px; height: 12px; border: 2px solid var(--amber); border-radius: 50%; transform: translate(-50%,-50%) scale(0); opacity: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #C9D0EA; border-top: 1px solid rgba(255,255,255,.07); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 30px; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(32px, 3vw, 44px); color: var(--white); line-height: 1; letter-spacing: -.03em; }
.stat__n sup { font-size: .4em; color: var(--amber); vertical-align: top; margin-left: 2px; }
.stat__l { margin-top: 10px; font-size: 14px; line-height: 1.45; color: #A9B2D4; max-width: 28ch; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat { padding: 28px 18px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 7vw, 108px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(32px, 3.5vw, 52px); }
.section__head .kicker { margin-bottom: 16px; }
@media (max-width: 900px) { .section__head { grid-template-columns: 1fr; } }

/* What we do */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 32px 6px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--amber-600); letter-spacing: .1em; }
.step h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 800; font-stretch: 108%; margin: 12px 0 10px; }
.step p { color: var(--muted); margin: 0; }
.step__icon { width: 44px; height: 44px; margin-top: 20px; color: var(--navy); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Sectors horizontal ---------- */
.sectors { background: var(--navy-950); color: #C9D0EA; overflow: hidden; }
.sectors__pin { padding: clamp(64px, 7vw, 108px) 0; }
.sectors .section__head { margin-bottom: 32px; }
.sectors__track { display: flex; gap: 24px; padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.sectors__track::-webkit-scrollbar { display: none; }
.sectors__track:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.sectors__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sectors__track.is-dragging .scard { pointer-events: none; }
.scard { position: relative; width: clamp(280px, 27vw, 390px); height: min(48vh, 430px); min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; scroll-snap-align: start; color: var(--white); background: var(--navy-800); isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); z-index: -2; }
.scard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,14,43,.15) 0%, rgba(7,14,43,.35) 40%, rgba(7,14,43,.94) 100%); z-index: -1; }
.scard:hover img { transform: scale(1.0); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.scard__n { position: absolute; top: 24px; left: 28px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--amber); }
.scard h3 { color: var(--white); font-size: clamp(22px, 1.8vw, 26px); font-weight: 800; font-stretch: 106%; }
.scard p { margin: 10px 0 14px; font-size: 14.5px; line-height: 1.5; color: #D3D9F0; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(251,186,44,.14); color: var(--amber); font-size: 12.5px; font-weight: 600; border: 1px solid rgba(251,186,44,.3); }
.scard--cta { background: var(--amber); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.scard--cta::before { display: none; }
.scard--cta h3 { color: var(--ink); font-size: clamp(24px, 2.2vw, 32px); }
.scard--cta p { color: #4A3A10; }
.sectors__nav { display: flex; align-items: center; gap: 24px; margin: 24px var(--gutter) 0; }
.sectors__progress { flex: 1; height: 2px; background: rgba(255,255,255,.12); position: relative; max-width: 420px; }
.sectors__btns { display: flex; gap: 10px; margin-left: auto; }
.sectors__btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, opacity .25s; }
.sectors__btn svg { width: 20px; height: 20px; }
.sectors__btn--prev svg { transform: rotate(180deg); }
.sectors__btn:hover:not(:disabled) { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.sectors__btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sectors__btn:disabled { opacity: .3; cursor: default; }
.sectors__progress i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
@media (max-width: 900px) {
  .scard { width: 82vw; }
  .sectors__btns { display: none; }
}

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.product { background: var(--white); padding: 24px 22px 22px; position: relative; transition: background .35s; min-height: 172px; display: flex; flex-direction: column; }
.product::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.product:hover { background: #FBFBFE; }
.product:hover::after { transform: scaleX(1); }
.product__icon { width: 36px; height: 36px; color: var(--navy); margin-bottom: auto; }
.product h4 { font-size: 18px; font-weight: 700; margin: 20px 0 6px; }
.product p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.product--service { background: var(--navy); }
.product--service:hover { background: var(--navy-400); }
.product--service h4 { color: var(--white); }
.product--service p { color: #C7CFEE; }
.product--service .product__icon { color: var(--amber); }
.product .badge { position: absolute; top: 22px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } .product { min-height: 0; } .product h4 { margin-top: 22px; } }

/* ---------- Calculator ---------- */
.calc-sec { background: var(--navy-900); color: #C9D0EA; overflow: hidden; }
.calc-sec__gear { position: absolute; right: -180px; top: -140px; width: 560px; opacity: .06; color: var(--steel); pointer-events: none; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); position: relative; }
.calc__form { padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.field output, .field .val { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); white-space: nowrap; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; }
.select, .input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; color: var(--ink); transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2324378B' stroke-width='2.2'%3E%3Cpath d='m2 5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.select:focus, .input:focus { outline: none; border-color: var(--navy); background-color: var(--white); }
.input-group { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; transition: border-color .2s; }
.input-group:focus-within { border-color: var(--navy); background: var(--white); }
.input-group .input { border: 0; background: transparent; }
.input-group span { padding: 0 16px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--amber) var(--p, 30%), var(--line) var(--p, 30%)); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 6px solid var(--navy); box-shadow: 0 4px 12px rgba(7,14,43,.25); transition: transform .2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 6px solid var(--navy); box-shadow: 0 4px 12px rgba(7,14,43,.25); }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--amber); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

.calc__result { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%); color: #D0D7F2; padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.calc__tank { position: absolute; inset: 0; z-index: -1; }
.calc__tank svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
.calc__result .label { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--steel); }
.calc__big { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: clamp(40px, 4.2vw, 64px); color: var(--white); line-height: 1; margin: 10px 0 6px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__range { font-size: 15px; color: #B8C1E6; }
.calc__rows { margin: 22px 0 22px; display: grid; gap: 0; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.calc__row b { font-family: var(--font-display); font-size: 20px; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__result .btn { margin-top: auto; }
.calc__note { margin-top: 30px; font-size: 13px; color: #8F9AC8; line-height: 1.55; }
.calc__note summary { cursor: pointer; color: #C9D0EA; font-weight: 600; margin-bottom: 8px; }
.calc__note ol { padding-left: 18px; margin: 10px 0 0; }
.calc__note li { margin-bottom: 6px; }
.calc__note a { text-decoration: underline; text-underline-offset: 2px; }
.calc-disclaimer { margin-top: 20px; font-size: 13.5px; line-height: 1.6; color: #93A0CF; max-width: 110ch; }
.calc-disclaimer strong { color: #C9D0EA; }
.calc-disclaimer a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Matrix partner ---------- */
/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--white); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: clamp(20px, 2.2vw, 30px); color: var(--ink); display: flex; align-items: center; gap: 60px; white-space: nowrap; letter-spacing: -.02em; }
.marquee span::after { content: ""; width: 14px; height: 18px; background: var(--amber); clip-path: path("M7 0 C9 4.5 14 9 14 12.4 A7 7 0 0 1 0 12.4 C0 9 5 4.5 7 0Z"); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.contact__aside .h2 { margin: 16px 0 18px; }
.contact__cards { display: grid; gap: 12px; margin-top: 28px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.ccard:hover { border-color: var(--navy); transform: translateX(4px); }
.ccard__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--amber-100); color: var(--amber-600); display: grid; place-items: center; flex-shrink: 0; }
.ccard__icon svg { width: 22px; height: 22px; }
.ccard small { display: block; color: var(--muted); font-size: 13px; }
.ccard b { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 2.8vw, 36px); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(7,14,43,.25); }
.form__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--paper); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.form__tabs button { border: 0; background: none; border-radius: 999px; padding: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--muted); transition: .25s; }
.form__tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px -6px rgba(36,55,139,.6); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .full { grid-column: 1 / -1; }
.form .field label { font-size: 14px; margin-bottom: 8px; }
.form textarea.input { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check a { text-decoration: underline; }
.form__calc { display: none; padding: 14px 16px; border-radius: 12px; background: var(--amber-100); color: #6B4E00; font-size: 14px; border: 1px solid #F7DC9A; }
.form__calc.is-on { display: block; }
.form__status { font-size: 15px; font-weight: 600; margin: 0; min-height: 1px; }
.form__status.ok { color: #0F7A4A; } .form__status.err { color: #B42318; }
.input.is-invalid { border-color: #D92D20; background: #FFF6F5; }
.is-call-only { display: none; }
.form[data-mode="call"] .is-call-only { display: block; }
.form[data-mode="call"] .is-quote-only { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #8E98C2; padding: 64px 0 30px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__claim { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: clamp(22px, 2vw, 28px); color: var(--white); line-height: 1.1; margin: 20px 0 0; letter-spacing: -.02em; max-width: 16ch; }
.footer h5 { font-family: var(--font-display); color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--amber); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: 13px; }
.footer__credits { margin-top: 18px; font-size: 12px; color: #636D99; line-height: 1.6; }
.footer__credits a { text-decoration: underline; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Floating call ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; box-shadow: 0 16px 40px -12px rgba(7,14,43,.55); transform: translateY(140%); transition: transform .5s var(--ease); border: 0; cursor: pointer; }
.fab.is-visible { transform: none; }
.fab svg { width: 20px; height: 20px; }
.fab .pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(251,186,44,.6); animation: pulse 2.4s infinite; pointer-events: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(251,186,44,0); } 100% { box-shadow: 0 0 0 0 rgba(251,186,44,0); } }

/* ---------- Scroll progress (oil gauge) ---------- */
.oil-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--amber-600), var(--amber)); pointer-events: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

/* ---------- Animation switcher (demo) ---------- */
.anim-switch { position: fixed; left: 20px; bottom: 20px; z-index: 45; background: rgba(7,14,43,.9); backdrop-filter: blur(10px); color: #C9D0EA; border-radius: 14px; padding: 10px 12px; font-size: 12px; border: 1px solid rgba(255,255,255,.1); display: none; }
.anim-switch.is-on { display: block; }
.anim-switch b { display: block; color: var(--white); margin-bottom: 6px; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.anim-switch label { display: flex; gap: 8px; align-items: center; cursor: pointer; padding: 2px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.footer__made a { color: var(--amber); font-weight: 600; }
.footer__made a:hover { text-decoration: underline; }


/* Matrix partner — stacked, centered */
.partner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.partner__logo { width: clamp(200px, 20vw, 300px); height: auto; margin-bottom: clamp(28px, 3vw, 44px); }
.partner .h2 { margin-top: 16px; max-width: 24ch; }
#matrix-title { font-size: clamp(28px, 3.2vw, 46px); }
.partner .lead { margin: 18px auto 0; }
.partner__list { list-style: none; padding: 0; margin: clamp(32px, 3.5vw, 44px) 0 clamp(28px, 3vw, 40px); width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); text-align: left; }
.partner__list li { display: flex; gap: 14px; padding: 20px 22px 0; font-weight: 500; color: var(--ink); border-left: 1px solid var(--line); }
.partner__list li:first-child { border-left: 0; padding-left: 0; }
.partner__list li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--amber-600); margin-top: 2px; }
@media (max-width: 1000px) { .partner__list { grid-template-columns: 1fr 1fr; } .partner__list li { padding: 22px 18px; } .partner__list li:nth-child(odd) { border-left: 0; padding-left: 0; } .partner__list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .partner__list { grid-template-columns: 1fr; } .partner__list li { border-left: 0; padding: 18px 0; } .partner__list li + li { border-top: 1px solid var(--line); } }
/* compact: footnote in two columns on wide screens */
@media (min-width: 1000px) { .calc-disclaimer { column-count: 2; column-gap: 48px; max-width: none; font-size: 13px; } }
.product { min-height: 150px; }
/* sector cards grow with their text; all cards in the row share the tallest height */
.scard { display: flex; flex-direction: column; justify-content: flex-end; height: auto; min-height: min(48vh, 430px); }
.scard__body { position: relative; padding-top: 64px; }
.scard--cta { justify-content: space-between; }
.scard::before { background: linear-gradient(180deg, rgba(7,14,43,.25) 0%, rgba(7,14,43,.62) 38%, rgba(7,14,43,.95) 100%); }

/* ---------- Motto band ---------- */
.motto { background: var(--amber); color: var(--navy-900); padding: clamp(56px, 6.5vw, 100px) 0; }
.motto__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.motto__drop { width: 26px; height: 34px; color: var(--navy-900); }
.motto__text { margin: 0; max-width: 22ch; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; color: var(--navy-900); }
.motto__sign { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }

/* ---------- ESG block (inside Matrix section) ---------- */
:root { --green: #1E7F55; --green-100: #E6F4EC; }
.esg { width: 100%; margin: 0 0 clamp(32px, 3.5vw, 44px); display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 64px); text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 44px); }
.esg__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.esg__kicker svg { width: 22px; height: 22px; }
.esg__title { margin: 14px 0 12px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; font-stretch: 106%; text-wrap: balance; }
.esg__lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 44ch; }
.esg__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--green); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.esg__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.esg__link:hover svg { transform: translateX(3px); }
.esg__list { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.esg__list li { display: grid; gap: 4px; padding: 16px 0 16px 18px; border-left: 3px solid var(--green-100); }
.esg__list li + li { margin-top: 6px; }
.esg__list li:hover { border-left-color: var(--green); }
.esg__list b { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.esg__list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .esg { grid-template-columns: 1fr; } }

/* links to Matrix Specialty Lubricants */
a.ext { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s, color .2s; }
a.ext:hover { text-decoration-color: currentColor; }
.hero__badge a.ext:hover { color: var(--amber); }
.partner__logo-link { display: inline-block; margin-bottom: clamp(28px, 3vw, 44px); transition: transform .35s var(--ease), opacity .25s; }
.partner__logo-link:hover { transform: translateY(-3px); }
.partner__logo-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 8px; border-radius: 8px; }
.partner__logo-link .partner__logo { margin-bottom: 0; }

/* faithful brand logo */
.brand .logo { height: 46px; width: auto; }
.header.is-scrolled .brand .logo { height: 40px; }
.logo { overflow: visible; }
.logo--footer { height: 54px; width: auto; display: block; }
@media (max-width: 560px) { .brand .logo { height: 38px; } }
.brand .logo { height: 56px; }
.header.is-scrolled .brand .logo { height: 48px; }
@media (max-width: 560px) { .brand .logo { height: 44px; } .header.is-scrolled .brand .logo { height: 40px; } }

/* hero visual uses the logo icon proportions */
.hero__visual { aspect-ratio: 366 / 410; max-width: 460px; margin-right: clamp(-24px, -1vw, 0px); }
