/* ==========================================================================
   PRINCE LUBRICANTS: design system
   This is the client-approved index.html (the old single-page Prince site),
   carried to a multi-page site: the same palette, type, components and
   signature effects (centred photo hero with particles and a typewriter
   title, gold stats band with icons, yellow-bordered pillars, pulsing rings
   around a floating bottle, white product cards with a pale-yellow image
   well, racing band with pill tags, why-cards). Motion is upgraded on top.

   Motion only ever adds. Content is hidden for an entrance only under
   html.js, never under html.reduced, and a CSS failsafe shows everything
   if the runtime never reports in (html.motion-ready).
   ========================================================================== */

/* ---------- Tokens (index.html names) ---------- */
:root {
  --d0: #04040c; --d1: #060611; --d2: #0a0a14; --d3: #10101c; --d4: #1a1a2e;
  --gold: #ffd700; --gold2: #ffc200; --gold3: #e6b800;
  --gold-text: #b8860b;   /* gold headline accents on white: 3.3:1, large text only */
  --gold-ink: #8f6c00;    /* small gold text on white: 4.9:1 */
  --cream: #fff6cc; --cream2: #fffbea; --cream3: #fff7d0;
  --w: #fff; --ow: #f8f9fa; --edge: #e8e8e8;
  --td: #111; --tg: #555;
  --tl: rgba(255, 255, 255, .86);
  --tb: rgba(255, 255, 255, .68);   /* body copy on dark */
  --tm: rgba(255, 255, 255, .42);
  --fh: 'Oswald', 'Arial Black', sans-serif;
  --fb: 'Inter', 'Arial', sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease2: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .3, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--d1); color: var(--w); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[class], ol[class], nav ul, .ft-col ul { list-style: none; }
::selection { background: rgba(255, 215, 0, .28); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--d1); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold2)); border-radius: 4px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
[data-light] :focus-visible { outline-color: var(--d1); }
[id] { scroll-margin-top: 96px; }
main:focus { outline: none; }
/* No orphans: site.js glues the last two words of each heading and paragraph (.glue,
   kept out of the gold-span colour rules so it never changes a word's colour);
   without JavaScript, balance and pretty wrapping do what they can. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.glue { white-space: nowrap; }
.keep-case { text-transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Utilities ---------- */
.container { max-width: 1256px; margin: 0 auto; padding: 0 28px; }
/* clip, not hidden: hidden makes the section a scroll container, which strands any sticky child */
.section { position: relative; padding: 120px 0; overflow: hidden; overflow: clip; }
.bg-light { background: var(--w); color: var(--td); }
.bg-off { background: var(--ow); color: var(--td); }
.bg-d2 { background: var(--d2); }
.bg-d3 { background: var(--d3); }

.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fh); font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.sec-label::before { content: ''; width: 20px; height: 1px; background: currentColor; flex: none; transform-origin: left; transition: transform .8s var(--ease2) .15s; }
[data-light] .sec-label { color: var(--gold-ink); }
.sec-title { font-family: var(--fh); font-size: clamp(32px, 4.5vw, 54px); font-weight: 700; line-height: 1.08; text-transform: uppercase; letter-spacing: 1px; text-wrap: balance; }
.sec-title--md { font-size: clamp(30px, 3.5vw, 44px); }
.sec-title span:not(.glue) { color: var(--gold); }
[data-light] .sec-title { color: var(--td); }
[data-light] .sec-title span:not(.glue) { color: var(--gold-text); }
.gold-bar { width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2)); margin: 16px 0 28px; transform-origin: left; transition: transform .9s var(--ease2) .2s; }
.sec-head { position: relative; z-index: 1; margin-bottom: 60px; }
.sec-head--center { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.sec-head--center .gold-bar { margin-left: auto; margin-right: auto; transform-origin: center; }
.sec-text { font-size: 15.5px; line-height: 1.84; color: var(--tb); }
.sec-text + .sec-text { margin-top: 16px; }
[data-light] .sec-text { color: var(--tg); }
.sec-head--center .sec-text { max-width: 780px; margin-left: auto; margin-right: auto; }
.sec-sub { font-family: var(--fh); font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: -10px 0 18px; }
[data-light] .sec-sub { color: var(--gold-ink); }
.bg-num {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--fh); font-size: min(200px, 18vw); font-weight: 700; line-height: 1; color: rgba(255, 215, 0, .04);
}
[data-light] .bg-num { color: rgba(0, 0, 0, .04); }
.center { text-align: center; }
.mt-cta { margin-top: 56px; text-align: center; position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-out, .btn-dark {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 36px; border-radius: 4px; white-space: nowrap;
  transition: transform .3s, box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}
.btn-gold { background: var(--gold); color: #000; box-shadow: 0 4px 24px rgba(255, 215, 0, .35); }
.btn-gold::after { content: ''; position: absolute; top: -50%; left: -80%; width: 50%; height: 200%; z-index: -1; background: rgba(255, 255, 255, .25); transform: skewX(-20deg); transition: left .5s var(--ease); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(255, 215, 0, .55); background: var(--gold2); }
.btn-gold:hover::after { left: 130%; }
.btn-out { border: 1px solid rgba(255, 215, 0, .5); color: #fff; padding: 14px 35px; }
.btn-out::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 215, 0, .08); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.btn-out:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-out:hover::before { transform: scaleX(1); }
.btn-dark { background: var(--d1); color: var(--gold); border: 1px solid rgba(255, 215, 0, .18); }
.btn-dark:hover { background: var(--gold); color: #000; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(255, 215, 0, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.link-more::after { content: '→'; display: inline-block; transition: transform .25s; }
.link-more:hover::after, :hover > .link-more::after, .p-card:hover .link-more::after, .why-card:hover .link-more::after { transform: translateX(5px); }
[data-light] .link-more { color: #000; }
.stretched::before { content: ''; position: absolute; inset: 0; z-index: 2; }

.tag {
  display: inline-block; font-family: var(--fh); font-size: 10.5px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); background: rgba(255, 215, 0, .08); border: 1px solid rgba(255, 215, 0, .25); padding: 5px 14px; border-radius: 20px;
  transition: background-color .25s, border-color .25s;
}
.tag:hover { background: rgba(255, 215, 0, .18); border-color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tag { display: inline-block; background: var(--gold); color: #000; font-family: var(--fh); font-size: 9.5px; font-weight: 600; letter-spacing: 2px; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; }

/* ---------- Global UI ---------- */
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100000; padding: 12px 18px; border-radius: 4px; background: var(--gold); color: #000; font: 700 12px var(--fh); letter-spacing: 2px; text-transform: uppercase; transition: top .2s; }
.skip-link:focus { top: 16px; }

#loader {
  position: fixed; inset: 0; z-index: 99999; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: var(--d1); animation: loader-failsafe .6s var(--ease) 3.2s forwards;
}
html.js:not(.seen):not(.reduced) #loader { display: flex; }
#loader.is-out { opacity: 0; transform: scale(1.04); pointer-events: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ld-logo { height: 60px; width: auto; filter: drop-shadow(0 0 20px rgba(255, 215, 0, .5)); animation: ld-pulse 1.2s ease-in-out infinite alternate; }
.ld-bar { width: 180px; height: 2px; background: rgba(255, 215, 0, .15); border-radius: 2px; overflow: hidden; }
.ld-bar span { display: block; width: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2)); animation: ld-fill 1.4s var(--ease2) forwards; }
@keyframes ld-pulse { from { filter: drop-shadow(0 0 10px rgba(255, 215, 0, .3)); } to { filter: drop-shadow(0 0 28px rgba(255, 215, 0, .7)); } }
@keyframes ld-fill { to { width: 100%; } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

#progress {
  position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 3px; pointer-events: none;
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--gold), #ff8c00, var(--gold)); background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(255, 215, 0, .6), 0 0 20px rgba(255, 215, 0, .2);
}
@supports (animation-timeline: scroll()) {
  #progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

#cur-ring, #cur-dot { display: none; position: fixed; top: 0; left: 0; z-index: 99997; pointer-events: none; border-radius: 50%; }
html.cursor-on #cur-ring, html.cursor-on #cur-dot { display: block; }
html.cursor-on, html.cursor-on body, html.cursor-on a, html.cursor-on button { cursor: none; }
html.cursor-on input, html.cursor-on textarea { cursor: text; }
html.cursor-on select { cursor: pointer; }
#cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(255, 215, 0, .55); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .35s, background-color .35s, opacity .3s; }
#cur-ring.big { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--gold); background: rgba(255, 215, 0, .04); }
#cur-ring.click { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
#cur-ring.gone, #cur-dot.gone { opacity: 0; }
#cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); box-shadow: 0 0 8px rgba(255, 215, 0, .8); }

#sidenav { position: fixed; right: 22px; top: 50%; z-index: 800; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.snd { position: relative; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255, 215, 0, .4); transition: all .35s var(--ease); }
.snd::before {
  content: attr(data-label); position: absolute; right: 18px; top: 50%; transform: translateY(-50%) translateX(4px);
  padding: 4px 10px; border-radius: 4px; white-space: nowrap; pointer-events: none; opacity: 0;
  font: 500 10px var(--fh); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
  background: rgba(6, 6, 17, .92); border: 1px solid rgba(255, 215, 0, .15); backdrop-filter: blur(8px); transition: opacity .2s, transform .2s;
}
.snd:hover::before, .snd:focus-visible::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.snd.on { background: var(--gold); border-color: var(--gold); transform: scale(1.5); box-shadow: 0 0 10px rgba(255, 215, 0, .6), 0 0 20px rgba(255, 215, 0, .2); }
#sidenav.on-light .snd { border-color: rgba(0, 0, 0, .3); }
#sidenav.on-light .snd.on { background: #000; border-color: #000; box-shadow: none; }

#btt {
  position: fixed; right: 30px; bottom: 30px; z-index: 700; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #000; box-shadow: 0 4px 24px rgba(255, 215, 0, .4);
  opacity: 0; transform: translateY(18px) scale(.8); pointer-events: none; transition: all .4s var(--ease2);
}
#btt svg { width: 18px; height: 18px; }
#btt.show { opacity: 1; transform: none; pointer-events: auto; }
#btt:hover { background: var(--gold2); transform: translateY(-4px); box-shadow: 0 10px 32px rgba(255, 215, 0, .55); }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 50px; pointer-events: none; }
.scroll-sentinel--deep { top: 420px; }

/* ---------- Navbar ---------- */
#nav { position: fixed; top: 3px; left: 0; right: 0; z-index: 1000; transition: background-color .5s, box-shadow .5s, border-color .5s, top .3s; border-bottom: 1px solid transparent; }
#nav.scrolled, #nav.has-open { top: 0; background: rgba(6, 6, 17, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 1px 40px rgba(0, 0, 0, .6); border-bottom-color: rgba(255, 215, 0, .08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); max-width: 1256px; margin: 0 auto; padding: 0 28px; }
.nav-logo img { height: 44px; width: auto; filter: drop-shadow(0 0 8px rgba(255, 215, 0, .25)); transition: filter .3s; }
.nav-logo:hover img { filter: drop-shadow(0 0 18px rgba(255, 215, 0, .7)); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 8px 12px; font-family: var(--fh); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--tl); transition: color .25s; }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 1px; background: var(--gold); transform: translateX(-50%); transition: width .35s var(--ease2); }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--gold); }
.nav-link:hover::after, .nav-item.is-open > .nav-link::after, .nav-link[aria-current="page"]::after { width: 70%; }
body[data-section="company"] .nav-link[data-nav="company"],
body[data-section="technology"] .nav-link[data-nav="technology"],
body[data-section="products"] .nav-link[data-nav="products"],
body[data-section="motorsport"] .nav-link[data-nav="motorsport"],
body[data-section="distributor"] .nav-link[data-nav="distributor"],
body[data-section="faq"] .nav-link[data-nav="faq"],
body[data-section="home"] .nav-link[data-nav="home"] { color: var(--gold); }
body[data-section="company"] .nav-link[data-nav="company"]::after,
body[data-section="technology"] .nav-link[data-nav="technology"]::after,
body[data-section="products"] .nav-link[data-nav="products"]::after,
body[data-section="motorsport"] .nav-link[data-nav="motorsport"]::after,
body[data-section="distributor"] .nav-link[data-nav="distributor"]::after,
body[data-section="faq"] .nav-link[data-nav="faq"]::after,
body[data-section="home"] .nav-link[data-nav="home"]::after { width: 70%; }
.nav-toggle { display: grid; place-items: center; width: 18px; height: 28px; margin: 0 6px 0 -8px; color: rgba(255, 255, 255, .5); transition: color .25s; }
.nav-toggle svg { width: 9px; height: 9px; transition: transform .3s var(--ease2); }
.nav-toggle:hover, .nav-item.is-open .nav-toggle { color: var(--gold); }
.nav-item.is-open .nav-toggle svg { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; padding: 11px 20px; }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 250px; z-index: 5;
  padding: 10px; border-radius: 0 0 10px 10px; border-top: 2px solid var(--gold);
  background: rgba(6, 6, 17, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 215, 0, .08);
  visibility: hidden; opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown--wide { min-width: 340px; }
.nav-item.is-open .dropdown, html.no-js .nav-item:hover .dropdown, html.no-js .nav-item:focus-within .dropdown {
  visibility: visible; opacity: 1; transform: translate(-50%, 0); pointer-events: auto;
  transition: opacity .3s var(--ease2), transform .3s var(--ease2), visibility 0s;
}
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 6px; transition: background-color .25s, transform .25s var(--ease2); }
.dropdown a::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 215, 0, .55); transition: background-color .25s, border-color .25s; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(255, 215, 0, .07); transform: translateX(4px); }
.dropdown a:hover::before { background: var(--gold); border-color: var(--gold); }
.dd-title { display: block; font-family: var(--fh); font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tl); }
.dd-desc { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--tm); }
.dropdown a:hover .dd-title { color: var(--gold); }
.dd-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 215, 0, .1); }
.dd-all a .dd-title { color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--gold); transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(3) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
#mob-menu { position: fixed; inset: 0; z-index: 999; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--d1); }
#mob-menu.open { display: flex; }
#mob-menu a { font-family: var(--fh); font-size: 24px; letter-spacing: 4px; text-transform: uppercase; transition: color .25s; }
#mob-menu a:hover { color: var(--gold); }

/* ---------- Hero (home) ---------- */
/* Photo grounds take their picture as an inline background-image, never through a custom
   property: a relative url() inside a variable resolves against this stylesheet, not the page. */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -6% 0; background-position: var(--hero-pos, center); background-size: cover; background-repeat: no-repeat; transform: scale(1.1); will-change: transform; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 6, 17, .68) 0%, rgba(6, 6, 17, .8) 60%, rgba(6, 6, 17, .96) 100%); }
.h-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 215, 0, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 215, 0, .03) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 215, 0, .1), transparent 70%); animation: orb-pulse 9s ease-in-out infinite; }
.orb-1 { left: 12%; top: 16%; }
.orb-2 { left: 72%; top: 46%; animation-duration: 13s; animation-delay: .8s; }
.orb-3 { left: 42%; top: 68%; animation-duration: 16s; animation-delay: 3s; }
@keyframes orb-pulse { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.2); opacity: .9; } }
.h-content { position: relative; z-index: 2; max-width: 980px; padding: 0 24px; text-align: center; }
.h-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; font-family: var(--fh); font-size: 11.5px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); }
.h-eyebrow::before, .h-eyebrow::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: rgba(255, 215, 0, .4); }
.h-title { position: relative; display: inline-block; font-family: var(--fh); font-size: clamp(46px, 7.4vw, 108px); font-weight: 700; line-height: 1.02; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.h-title .gold { color: var(--gold); }
/* The Singapore sentence as the home title (amendment 1): large, but a sentence, not a name */
.h-title--line { font-size: clamp(38px, 5vw, 72px); line-height: 1.08; letter-spacing: 2px; margin-bottom: 26px; }
.h-sub { font-size: 13px; letter-spacing: 3px; color: rgba(255, 255, 255, .45); margin-bottom: 22px; }
.h-sub span:not(.glue) { color: rgba(255, 215, 0, .85); }
.h-text { max-width: 780px; margin: 0 auto 38px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.8; color: rgba(255, 255, 255, .7); }
.h-btns { justify-content: center; }
.h-scroll { position: absolute; bottom: 28px; left: 50%; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h-scroll span { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .32); }
.arr { width: 18px; height: 18px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

/* ---------- Page banner (inner pages, same family as the hero) ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: calc(var(--nav-h) + 70px) 0 90px; }
.page-hero--short { min-height: 64vh; }
.page-hero .h-content { max-width: 1240px; }
/* Wide enough that the Singapore sentence is two lines at every desktop width. */
.hero .h-content { max-width: 1240px; }
.page-title { text-wrap: balance; font-family: var(--fh); font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 26px; }
.page-title span:not(.glue) { color: var(--gold); }
.page-lede { max-width: 820px; margin: 0 auto; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.85; color: rgba(255, 255, 255, .72); }
.page-lede + .page-lede { margin-top: 14px; }
.breadcrumb { display: flex; justify-content: center; margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-family: var(--fh); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.breadcrumb li { list-style: none; }
.breadcrumb li + li::before { content: '›'; margin-right: 10px; color: var(--gold); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, .78); }
.page-hero .bg-num { right: 50%; transform: translate(50%, -50%); font-size: min(320px, 26vw); }

/* ---------- Stats band ---------- */
.stats { position: relative; overflow: hidden; background: var(--gold); padding: 44px 0; color: #000; }
.stats::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0, rgba(0, 0, 0, .025) 1px, transparent 1px, transparent 60px); }
.stats::before { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: band-sheen 7s var(--ease) infinite 2s; }
@keyframes band-sheen { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.stat-item { display: flex; align-items: center; gap: 16px; padding: 4px 24px; border-right: 1px solid rgba(0, 0, 0, .12); }
.stats-grid--5 { grid-template-columns: 1.34fr 1.3fr 1fr 1.06fr 1.06fr; }
.stats-grid--5 .stat-item { padding: 4px 18px; gap: 14px; }
.stat-item:last-child { border-right: 0; }
.stat-icon { width: 54px; height: 54px; flex: none; color: #000; }
.stat-icon svg { width: 100%; height: 100%; }
.stat-num { display: block; font-family: var(--fh); font-size: clamp(30px, 2.9vw, 44px); font-weight: 700; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .5em; letter-spacing: 1px; margin-left: 4px; }
.stat-lbl { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(0, 0, 0, .7); line-height: 1.35; }
.stat-note { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(0, 0, 0, .55); line-height: 1.35; }

/* ---------- About (white split with pillars and cert badges) ---------- */
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; padding-bottom: 42px; }
.about-accent { position: absolute; top: -18px; right: -18px; width: 90px; height: 90px; border-radius: 8px; background: var(--gold); opacity: .22; z-index: 0; }
.about-main { position: relative; z-index: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 64px rgba(0, 0, 0, .14); }
.about-main img { width: 100%; height: 440px; object-fit: cover; transition: transform .8s var(--ease2); }
.about-main:hover img { transform: scale(1.04); }
.cert-row { position: absolute; bottom: 0; left: -16px; z-index: 2; display: flex; gap: 10px; }
.cert { padding: 10px 14px; border-radius: 7px; text-align: center; background: var(--d1); color: var(--gold); font-family: var(--fh); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(255, 215, 0, .22); box-shadow: 0 4px 22px rgba(0, 0, 0, .35); transition: transform .3s, box-shadow .3s; }
.cert:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }
.cert strong { display: block; font-size: 15px; margin-bottom: 2px; }
.pillars { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--cream2); border-radius: 0 8px 8px 0; transition: transform .35s var(--ease2), background-color .3s, box-shadow .3s; }
.pillar:hover { transform: translateX(8px); background: var(--cream3); box-shadow: 4px 0 20px rgba(255, 215, 0, .15); }
.p-icon { width: 38px; height: 38px; flex: none; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #000; transition: transform .3s; }
.p-icon svg { width: 19px; height: 19px; }
.pillar:hover .p-icon { transform: rotate(15deg) scale(1.1); }
.p-text h3, .p-text h4 { font-family: var(--fh); font-size: 14px; letter-spacing: 1px; color: var(--td); text-transform: uppercase; margin-bottom: 4px; }
.p-text p { font-size: 13.5px; color: var(--tg); line-height: 1.6; }

/* ---------- Tech (dark split with pulsing rings and floating bottle) ---------- */
.tech::before { content: ''; position: absolute; top: 50%; left: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(ellipse, rgba(255, 215, 0, .05) 0%, transparent 70%); }
.tech-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tech-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.g-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 215, 0, .15); animation: ring-pulse 3.2s ease-in-out infinite; }
.g-ring:nth-child(1) { width: 380px; height: 380px; }
.g-ring:nth-child(2) { width: 300px; height: 300px; animation-delay: .7s; border-color: rgba(255, 215, 0, .1); }
.g-ring:nth-child(3) { width: 220px; height: 220px; animation-delay: 1.4s; border-color: rgba(255, 215, 0, .25); }
@keyframes ring-pulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.08); opacity: 1; } }
.g-orbit { position: absolute; width: 380px; height: 380px; border-radius: 50%; animation: orbit 14s linear infinite; }
.g-orbit::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(255, 215, 0, .9); }
@keyframes orbit { to { transform: rotate(360deg); } }
.tech-bottle { position: relative; z-index: 2; animation: float-y 4s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(255, 215, 0, .2)); }
.tech-bottle img { width: 100%; max-width: 520px; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.tech-points { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.tp { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 8px; background: rgba(255, 215, 0, .04); border: 1px solid rgba(255, 215, 0, .09); transition: all .35s var(--ease2); }
.tp:hover { background: rgba(255, 215, 0, .08); border-color: rgba(255, 215, 0, .22); transform: translateX(6px); }
.tp-icon { width: 42px; height: 42px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 215, 0, .1); border: 1px solid rgba(255, 215, 0, .22); color: var(--gold); transition: transform .3s; }
.tp-icon svg { width: 20px; height: 20px; }
.tp:hover .tp-icon { transform: rotate(-10deg) scale(1.1); }
.tp-text h3, .tp-text h4 { font-family: var(--fh); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.tp-text p { font-size: 13.5px; line-height: 1.65; color: var(--tb); }
.tech-nums { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px; }
.tn { padding: 14px 8px; border-radius: 8px; text-align: center; background: rgba(255, 215, 0, .04); border: 1px solid rgba(255, 215, 0, .08); transition: all .3s; }
.tn:hover { border-color: rgba(255, 215, 0, .25); background: rgba(255, 215, 0, .08); transform: translateY(-2px); }
.tn strong { display: block; font-family: var(--fh); font-size: 22px; color: var(--gold); }
.tn span { font-size: 10.5px; color: var(--tm); }

/* Ester cards: index.html's tech-point card, at full size */
.ester-cards { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.ester-card { position: relative; overflow: hidden; isolation: isolate; padding: 40px 40px 38px; border-radius: 12px; background: rgba(255, 215, 0, .04); border: 1px solid rgba(255, 215, 0, .12); transition: border-color .4s, background-color .4s, box-shadow .4s; }
.ester-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 215, 0, .12), transparent 60%); }
.ester-card:hover { border-color: rgba(255, 215, 0, .35); background: rgba(255, 215, 0, .06); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 215, 0, .08); }
.ester-card:hover::after { opacity: 1; }
.ester-head { margin-bottom: 16px; line-height: .9; }
/* Never broken at the hyphen: "P-10" stays whole and next to ESTER. */
.ester-code, .ester-word { font-family: var(--fh); font-size: clamp(48px, 4.4vw, 64px); font-weight: 700; line-height: .9; letter-spacing: 1px; white-space: nowrap; }
.ester-code { color: var(--gold); }
.ester-word { color: #fff; }
.ester-card h3 { font-family: var(--fh); font-size: 15px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.ester-card .ester-sub { font-family: var(--fh); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--tl); margin-bottom: 18px; }
.ester-card .tags { margin-bottom: 18px; }
.ester-card .ester-line { font-size: 14px; color: var(--tb); margin-bottom: 26px; max-width: 46ch; }
.ester-card { display: flex; align-items: center; min-height: 420px; }
.ester-photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 66%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, #000 46%); }
.ester-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease2); }
.ester-card:hover .ester-photo img { transform: scale(1.08); }
.ester-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 20, .7) 0%, rgba(10, 10, 20, .2) 55%, rgba(10, 10, 20, .05) 100%), linear-gradient(0deg, rgba(10, 10, 20, .75) 0%, transparent 45%); }
.ester-body { position: relative; max-width: 60%; }

/* Molecule drawing (ester film on a surface) */
.molecule .mol-surface { fill: none; stroke: var(--gold); stroke-opacity: .55; stroke-width: 1.2; }
.molecule .mol-hatch, .molecule .mol-teeth { fill: none; stroke: #fff; stroke-opacity: .07; stroke-width: 1; }
.molecule .mol-tail { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.molecule .mol-head { fill: url(#pl-head); filter: drop-shadow(0 0 var(--glow, 5px) rgba(255, 215, 0, .75)); transition: filter .8s var(--ease2); }
.molecule .mol { transform-box: fill-box; transform-origin: 50% 100%; animation: mol-sway 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.molecule .mol-drift { animation: mol-drop var(--drift, 8s) ease-in-out infinite; animation-delay: calc(var(--i) * -2.6s); opacity: 0; }
@keyframes mol-sway { 0%, 100% { transform: rotate(calc(var(--sway, 6deg) * -1)); } 50% { transform: rotate(var(--sway, 6deg)); } }
@keyframes mol-drop {
  0% { transform: translate(var(--x), 20px) rotate(170deg); opacity: 0; }
  15% { opacity: .9; }
  70% { transform: translate(calc(var(--x) + 18px), 150px) rotate(195deg); opacity: .9; }
  100% { transform: translate(calc(var(--x) + 26px), 186px) rotate(180deg); opacity: 0; }
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Product cards (2-up, image well beside the copy) ---------- */
.prod-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.p-card {
  position: relative; display: grid; grid-template-columns: 44% 1fr; overflow: hidden; min-height: 236px;
  background: var(--w); border-radius: 12px; border: 1px solid var(--edge); box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
  transition: box-shadow .4s, border-color .4s; will-change: transform; color: var(--td);
}
.p-card:hover { border-color: var(--gold); box-shadow: 0 24px 50px rgba(255, 215, 0, .2), 0 4px 16px rgba(0, 0, 0, .08); }
.p-card-img { position: relative; overflow: hidden; background: var(--cream); }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease2); }
.p-card:hover .p-card-img img { transform: scale(1.07); }
.p-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, .12)); }
.p-card-body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; }
.p-card-body .p-tag { align-self: flex-start; margin-bottom: 10px; }
.p-card-title { font-family: var(--fh); font-size: 23px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--td); margin-bottom: 8px; }
.p-card-body p { font-size: 15.5px; font-weight: 500; line-height: 1.6; color: var(--td); margin-bottom: 16px; }
.p-card-body .link-more { color: #000; }
.p-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease2); }
.p-card:hover::after { transform: scaleX(1); }

/* ---------- Racing band ---------- */
.racing { position: relative; padding: 140px 0 0; overflow: hidden; }
.r-bg { position: absolute; inset: -10% 0; background-position: var(--r-pos, 70% center); background-size: cover; background-repeat: no-repeat; }
.r-ov { position: absolute; inset: 0; background: linear-gradient(to right, rgba(6, 6, 17, .96) 0%, rgba(6, 6, 17, .8) 50%, rgba(6, 6, 17, .38) 100%), linear-gradient(0deg, rgba(6, 6, 17, .9) 0%, transparent 35%); }
.racing > .container { position: relative; z-index: 2; }
.r-content { max-width: 660px; padding-bottom: 110px; }
.r-badge { display: inline-block; margin-bottom: 20px; padding: 7px 18px; border-radius: 2px; background: var(--gold); color: #000; font-family: var(--fh); font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.r-text { font-size: 15px; line-height: 1.84; color: rgba(255, 255, 255, .7); margin-bottom: 30px; }
.arc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.arc-card {
  position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate; padding: 15px 18px;
  border-radius: 10px; background: rgba(6, 6, 17, .55); border: 1px solid rgba(255, 215, 0, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .35s, transform .35s var(--ease2);
}
.arc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--gold), var(--gold2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease2); }
.arc-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.arc-card:hover::before { transform: scaleX(1); }
.arc-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 215, 0, .1); border: 1px solid rgba(255, 215, 0, .3); color: var(--gold); transition: background-color .35s, color .35s, border-color .35s; }
.arc-icon svg { width: 20px; height: 20px; }
.arc-num { font-family: var(--fh); font-size: 11px; letter-spacing: 2px; color: var(--tm); transition: color .35s; }
.arc-name { font-family: var(--fh); font-size: 17px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; transition: color .35s; }
.arc-card:hover .arc-icon { background: #000; color: var(--gold); border-color: #000; }
.arc-card:hover .arc-name, .arc-card:hover .arc-num { color: #000; }
.arc-meta { display: flex; flex-direction: column; gap: 1px; }

/* Ticker strip (motorsport events), the modern addition from index2 */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--gold); color: #000; padding: 15px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--fh); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.ticker-list li::after { content: ''; width: 7px; height: 7px; background: #000; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Why cards ---------- */
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 22px; }
.why-card { position: relative; overflow: hidden; padding: 38px 28px 34px; text-align: center; border-top: 4px solid var(--gold); background: var(--ow); border-radius: 0 0 10px 10px; color: var(--td); transition: transform .4s var(--ease2), box-shadow .4s; }
.why-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 215, 0, .07), transparent); opacity: 0; transition: opacity .35s; }
.why-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.why-card:hover::before { opacity: 1; }
.why-icon { position: relative; width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #000; box-shadow: 0 4px 20px rgba(255, 215, 0, .32); transition: transform .4s var(--ease2), box-shadow .4s; }
.why-icon svg { width: 27px; height: 27px; }
.why-card:hover .why-icon { transform: rotate(10deg) scale(1.1); box-shadow: 0 8px 32px rgba(255, 215, 0, .5); }
.why-card h3 { position: relative; font-family: var(--fh); font-size: 19px; letter-spacing: 1px; text-transform: uppercase; color: var(--td); margin-bottom: 12px; }
.why-card p { position: relative; font-size: 14px; line-height: 1.75; color: var(--tg); }
.why-card .link-more { position: relative; margin-top: 20px; }
.why-card--dark { background: rgba(255, 215, 0, .04); border-left: 1px solid rgba(255, 215, 0, .09); border-right: 1px solid rgba(255, 215, 0, .09); border-bottom: 1px solid rgba(255, 215, 0, .09); color: #fff; }
.why-card--dark h3 { color: #fff; }
.why-card--dark p { color: var(--tb); }
.why-card--dark:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }

/* ---------- Photo band (index.html's sustainability band) ---------- */
.band { position: relative; display: flex; align-items: center; min-height: 340px; padding: 90px 0; overflow: hidden; }
.band-bg { position: absolute; inset: -12% 0; background-position: var(--band-pos, center); background-size: cover; background-repeat: no-repeat; }
.band-ov { position: absolute; inset: 0; background: rgba(6, 6, 17, .8); }
.band > .container { position: relative; z-index: 2; width: 100%; }

/* ---------- Universal CTA ---------- */
.cta { padding: 120px 0; }
.cta .band-ov { background: linear-gradient(110deg, rgba(6, 6, 17, .95) 0%, rgba(6, 6, 17, .84) 55%, rgba(6, 6, 17, .62) 100%); }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; }
.cta-sub { font-family: var(--fh); font-size: clamp(16px, 1.6vw, 22px); font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.cta-box { padding: 36px 36px 34px; border-radius: 12px; background: rgba(255, 215, 0, .05); border: 1px solid rgba(255, 215, 0, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta-box p { font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, .78); margin-bottom: 26px; }

/* ---------- Placeholders: what the client still has to supply ---------- */
.ph { position: relative; padding: 26px 28px; border-radius: 10px; border: 1.5px dashed rgba(255, 215, 0, .45); background: rgba(255, 215, 0, .04); }
[data-light] .ph { border-color: rgba(184, 134, 11, .55); background: var(--cream2); }
.ph-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 4px 10px; border-radius: 2px; background: var(--gold); color: #000; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.ph-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #000; }
.ph p { font-size: 14px; line-height: 1.65; color: var(--tb); }
[data-light] .ph p { color: var(--tg); }
.ph p + p { margin-top: 6px; }
.photo-slot { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; overflow: hidden; background: var(--cream); color: #000; }
.photo-slot::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(184, 134, 11, .1) 0 1px, transparent 1px 14px); }
.photo-slot--dark { background: linear-gradient(135deg, #12122a, #0a0a16); color: var(--gold); }
.photo-slot--dark::before { background: repeating-linear-gradient(-45deg, rgba(255, 215, 0, .07) 0 1px, transparent 1px 14px); }
.ps-label { position: relative; max-width: 30ch; padding: 18px; text-align: center; }
.ps-label svg { width: 32px; height: 32px; margin: 0 auto 10px; opacity: .75; }
.ps-label .ph-tag { margin-bottom: 8px; }
.ps-label p { font-size: 12.5px; line-height: 1.5; color: rgba(0, 0, 0, .62); }
.photo-slot--dark .ps-label p { color: var(--tb); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--d1); padding: 76px 0 26px; border-top: 1px solid rgba(255, 215, 0, .08); }
.ft-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.15fr; gap: 44px; margin-bottom: 48px; }
.ft-brand img { height: 42px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 0 8px rgba(255, 215, 0, .2)); }
.ft-brand p { font-size: 13px; line-height: 1.82; color: var(--tm); max-width: 300px; }
.ft-col h4, .ft-col .ft-h { font-family: var(--fh); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ft-col ul { display: flex; flex-direction: column; gap: 10px; }
.ft-col ul li a { display: inline-block; font-size: 13px; color: var(--tm); transition: color .25s, padding-left .25s; }
.ft-col ul li a:hover { color: var(--gold); padding-left: 6px; }
.ft-socials { display: flex; gap: 10px; margin-bottom: 22px; }
.ft-soc { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 215, 0, .08); border: 1px solid rgba(255, 215, 0, .16); color: var(--gold); transition: all .3s; }
.ft-soc svg { width: 16px; height: 16px; }
.ft-soc:hover { background: var(--gold); color: #000; transform: translateY(-4px); box-shadow: 0 6px 20px rgba(255, 215, 0, .35); }
.ft-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--tm); margin-bottom: 20px; }
.ft-contact a:hover { color: var(--gold); }
.ft-certs { display: flex; flex-direction: column; gap: 6px; }
.ft-cert { font-size: 12px; color: rgba(255, 215, 0, .65); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 12px; letter-spacing: .4px; color: rgba(255, 255, 255, .32); }

/* ---------- Tilt ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .45s var(--ease2); }
.tilt.is-tilting { transition: transform .08s linear; }

/* ---------- Reveal system (index.html's .rv / .rvl / .rvr, progressive) ---------- */
.rv, .rv-l, .rv-r, .rv-s { transition: opacity .8s var(--ease2) calc(var(--d, 0) * 100ms), transform .8s var(--ease2) calc(var(--d, 0) * 100ms); }
html.js:not(.reduced) .rv { opacity: 0; transform: translateY(38px); }
html.js:not(.reduced) .rv-l { opacity: 0; transform: translateX(-50px); }
html.js:not(.reduced) .rv-r { opacity: 0; transform: translateX(50px); }
html.js:not(.reduced) .rv-s { opacity: 0; transform: scale(.93); }
html.js .rv.vis, html.js .rv-l.vis, html.js .rv-r.vis, html.js .rv-s.vis { opacity: 1; transform: none; }
html.js:not(.reduced) .sec-label.rv::before { transform: scaleX(0); }
html.js:not(.reduced) .sec-label.rv.vis::before { transform: scaleX(1); }
html.js:not(.reduced) .gold-bar.rv { opacity: 1; transform: scaleX(0); }
html.js:not(.reduced) .gold-bar.rv.vis { transform: scaleX(1); }
html.js:not(.reduced) [data-split] { visibility: hidden; }
html.js [data-split].is-split { visibility: visible; }
html.js:not(.reduced):not(.motion-ready) :is(.rv, .rv-l, .rv-r, .rv-s) { animation: failsafe-show .01s linear 2.5s forwards; }
html.js:not(.reduced):not(.motion-ready) [data-split] { animation: failsafe-visible .01s linear 2.5s forwards; }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }
@keyframes failsafe-visible { to { visibility: visible; } }

/* Image reveal: a gold panel wipes across, then the picture */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
html.js:not(.reduced) .img-reveal.rv-wipe::after { animation: wipe 1.1s var(--ease-io) forwards; animation-play-state: paused; }
html.js:not(.reduced) .img-reveal.rv-wipe.vis::after { animation-play-state: running; }
html.js:not(.reduced) .img-reveal.rv-wipe img { opacity: 0; transition: opacity .01s .55s; }
html.js:not(.reduced) .img-reveal.rv-wipe.vis img { opacity: 1; }
html.js:not(.reduced):not(.motion-ready) .img-reveal.rv-wipe img { animation: failsafe-show .01s linear 2.5s forwards; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Company ---------- */
.sec-text--lead { font-size: 17px; line-height: 1.85; margin-bottom: 26px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; position: relative; z-index: 1; }

/* Journey: the five proof points on a gold value-chain line that draws across */
.chain { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-top: 46px; margin-top: 10px; }
.chain::before { content: ''; position: absolute; top: 6px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(255, 215, 0, .25), var(--gold), rgba(255, 215, 0, .25)); transform-origin: left; transition: transform 1.8s var(--ease-io) .2s; }
html.js:not(.reduced) .chain::before { transform: scaleX(0); }
html.js:not(.reduced) .chain.vis::before { transform: scaleX(1); }
.proof { position: relative; padding: 32px 20px 28px; text-align: center; border-radius: 0 0 10px 10px; background: rgba(255, 215, 0, .04); border: 1px solid rgba(255, 215, 0, .1); border-top: 3px solid var(--gold); transition: transform .4s var(--ease2), background-color .35s, box-shadow .4s; }
.proof::before { content: ''; position: absolute; top: -47px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255, 215, 0, .14), 0 0 18px rgba(255, 215, 0, .6); }
.proof:hover { transform: translateY(-6px); background: rgba(255, 215, 0, .08); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.proof-num { display: block; font-family: var(--fh); font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; line-height: 1; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.proof-num small { font-size: .5em; margin-left: 4px; letter-spacing: 1px; }
.proof-label { font-family: var(--fh); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; margin: 12px 0 10px; line-height: 1.35; }
.proof p { font-size: 13px; line-height: 1.65; color: var(--tb); }
.footprint { position: relative; z-index: 1; max-width: 900px; margin: 54px auto 0; text-align: center; font-size: 15.5px; line-height: 1.95; color: var(--tb); }
.footprint b { color: var(--gold); font-weight: 600; }

/* Quality: lab frame and the five marks */
.quality-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .14); }
.quality-frame img { width: 100%; height: 230px; object-fit: cover; }
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 16px; }
.cert-grid .cert { padding: 14px 6px; font-size: 10px; letter-spacing: 1px; }
.cert-grid .cert strong { font-size: 15px; }
.ph--slim { padding: 14px 18px; }
.ph--slim p { font-size: 13px; }

/* Global presence map: dot field below, hub, markers and arcs above, same viewBox */
.map-wrap { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto 34px; aspect-ratio: 1000 / 585; }
.map-wrap > img, .map-wrap > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-arc { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-opacity: .8; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255, 215, 0, .55)); }
html.js:not(.reduced) .map-arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* 18 routes: the stagger keeps the whole draw inside about three seconds. */
html.js:not(.reduced) .map-on .map-arc { animation: arc-draw 1.5s var(--ease-io) forwards; animation-delay: calc(var(--k) * 85ms + .2s); }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
.map-dot { fill: var(--gold); }
.map-ring { fill: none; stroke: var(--gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring-ping 2.6s ease-out infinite; animation-delay: calc(var(--k) * 180ms); }
.map-hub .map-dot { fill: #fff; }
.map-hub .map-ring { stroke: #fff; animation-duration: 1.8s; }
@keyframes ring-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.map-label { fill: rgba(255, 255, 255, .86); font-family: var(--fh); font-size: 11.5px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; paint-order: stroke; stroke: rgba(6, 6, 17, .8); stroke-width: 3px; }
.map-hub .map-label { fill: var(--gold); font-size: 13px; font-weight: 600; }
html.js:not(.reduced) .map-market { opacity: 0; transition: opacity .6s var(--ease2); transition-delay: calc(var(--k) * 85ms + 1.1s); }
html.js:not(.reduced) .map-on .map-market { opacity: 1; }
html.js:not(.reduced):not(.motion-ready) .map-market { animation: failsafe-show .01s linear 2.5s forwards; }
html.js:not(.reduced):not(.motion-ready) .map-arc { animation: arc-draw .01s linear 2.5s forwards; }
.tags--center { justify-content: center; position: relative; z-index: 1; }

/* Featured stories: index.html's white product card, at full size */
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.story-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--w); border: 1px solid var(--edge); border-radius: 12px; box-shadow: 0 4px 24px rgba(0, 0, 0, .07); transition: box-shadow .4s, border-color .4s; color: var(--td); }
.story-card:hover { border-color: var(--gold); box-shadow: 0 24px 50px rgba(255, 215, 0, .2), 0 4px 16px rgba(0, 0, 0, .08); }
.story-media { height: 260px; overflow: hidden; }
.story-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 30px 32px 32px; }
.story-body .p-tag { margin-bottom: 14px; }
.story-title { font-family: var(--fh); font-size: 25px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--td); line-height: 1.15; }
.story-sub { font-family: var(--fh); font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); margin: 8px 0 16px; }
.story-body > p:not(.story-sub) { font-size: 14px; line-height: 1.75; color: var(--tg); margin-bottom: 22px; }
.story-body .link-more { margin-top: auto; color: #000; }
.story-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease2); }
.story-card:hover::after { transform: scaleX(1); }

/* The journey continues: a taller photo band */
.band--tall { padding: 130px 0; }
.band--tall .cta-box p + p { margin-top: 14px; }
.band--tall .cta-box p { margin-bottom: 0; }

/* ---------- Technology ---------- */
[data-light] .tag { color: var(--gold-ink); background: var(--cream2); border-color: rgba(184, 134, 11, .35); }
[data-light] .tag:hover { background: var(--cream3); border-color: var(--gold-text); }
a.tn { display: block; color: inherit; }
a.tn:hover strong { text-shadow: 0 0 18px rgba(255, 215, 0, .6); }
.why-card--left { text-align: left; padding: 40px 34px 36px; }
.why-card--left .why-icon { margin: 0 0 22px; }
.why-card--left p { font-size: 13.8px; line-height: 1.8; }
.why-step { position: absolute; top: 22px; right: 26px; font-family: var(--fh); font-size: 46px; font-weight: 700; line-height: 1; color: rgba(0, 0, 0, .05); transition: color .4s; }
.why-card:hover .why-step { color: rgba(184, 134, 11, .22); }

/* Ester technologies: a sticky stage beside the copy; the stage follows the pillar that
   holds the viewport centre. CSS sticky, no scroll-jacking. */
.ester { padding: 130px 0; }
.ester-block { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ester-block + .ester-block { margin-top: 150px; }
.ester-block--flip .ester-visual { order: 2; }
.ester-visual { align-self: stretch; }   /* the column spans the copy's height, so the stage has room to stick */
.ester-sticky { position: sticky; top: 110px; }
.ester-stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; margin: 0 auto; display: grid; place-items: center;
  --sway: 6deg; --glow: 5px; --drift: 8s; --tint: rgba(255, 215, 0, .07); }
.ester-stage::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, var(--tint), transparent 70%); transition: background 1s var(--ease2); }
.ester-stage .g-ring:nth-child(1) { width: 100%; height: 100%; }
.ester-stage .g-ring:nth-child(2) { width: 78%; height: 78%; }
.ester-stage .g-ring:nth-child(3) { width: 56%; height: 56%; }
.ester-stage.pulse .g-ring:nth-child(3) { animation: ring-hit .9s var(--ease2); }
@keyframes ring-hit { 0% { transform: scale(1); border-color: rgba(255, 215, 0, .7); } 100% { transform: scale(1.25); border-color: rgba(255, 215, 0, .25); } }
.ester-big { position: absolute; top: 16%; font-family: var(--fh); font-size: clamp(120px, 12vw, 200px); font-weight: 700; line-height: 1; letter-spacing: 2px; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 215, 0, .55); text-shadow: 0 0 60px rgba(255, 215, 0, .12); }
.stage-mol { position: absolute; left: 7%; width: 86%; bottom: 21%; }
.ester-caption { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 30px; white-space: nowrap;
  background: rgba(6, 6, 17, .85); border: 1px solid rgba(255, 215, 0, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  font-family: var(--fh); font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.ester-caption-num { color: var(--gold); }
.ester-caption.swap { animation: cap-swap .5s var(--ease2); }
@keyframes cap-swap { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ester-stage[data-state="1"] { --sway: 2deg; }
.ester-stage[data-state="2"] { --glow: 16px; }
.ester-stage[data-state="3"] { --tint: rgba(255, 120, 40, .16); }
.ester-stage[data-state="4"] { --drift: 3.2s; --tint: rgba(120, 190, 255, .1); }
.ester-stage[data-state="5"] { --glow: 11px; --tint: rgba(255, 245, 200, .1); }
.ester-copy .sec-title { font-size: clamp(32px, 3.8vw, 50px); }
.ester-pillars { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 34px; }
.ep { position: relative; }
.ep .ep-num { display: block; font-family: var(--fh); font-size: 11px; letter-spacing: 2px; color: var(--tm); margin-bottom: 2px; }
.ep.is-active { background: rgba(255, 215, 0, .1); border-color: var(--gold); transform: translateX(8px); box-shadow: -6px 0 0 -2px var(--gold), 0 14px 34px rgba(0, 0, 0, .35); }
.ep.is-active .tp-icon { background: var(--gold); color: #000; border-color: var(--gold); }
.ep.is-active .ep-num { color: var(--gold); }

/* ---------- P-9 / P-10 pages ---------- */
.page-hero--split { text-align: left; justify-content: flex-start; min-height: 86vh; padding-bottom: 70px; }
.page-hero--split > .container { position: relative; z-index: 2; width: 100%; }
.hero-ov--solid { background: radial-gradient(ellipse 70% 80% at 72% 45%, #15152b 0%, var(--d1) 62%), var(--d1); }
.split-copy .sec-label { margin-bottom: 14px; }
.page-title--left { text-align: left; font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 0; }
.breadcrumb--left { justify-content: flex-start; }
.breadcrumb--left ol { justify-content: flex-start; }
.split-copy .sec-sub { margin: 0 0 18px; }
.hero-tagline { font-size: 15.5px; line-height: 1.8; color: var(--tb); margin-bottom: 34px; max-width: 52ch; }
.hero-tagline strong { display: block; font-family: var(--fh); font-size: 18px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ester-stage--hero { max-width: 500px; }
.series-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card--v { grid-template-columns: 1fr; grid-template-rows: 240px auto; min-height: 0; }
.p-card--v .p-card-img::after { display: none; }
.p-card--v .p-card-body { justify-content: flex-start; }
/* A pack shot in a card: on the same yellow as the pack photographs beside it, the pack whole
   and standing on its shadow. */
.p-card-img--pack { display: flex; align-items: center; justify-content: center; padding: 22px 20px 30px; background: radial-gradient(circle at 50% 50%, #ffe85c 0%, var(--gold) 58%, var(--gold2) 100%); }
.p-card-img--pack::before { content: ''; position: absolute; left: 30%; right: 30%; bottom: 20px; height: 14px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .28), transparent 70%); }
.p-card-img--pack img { position: relative; z-index: 1; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.p-card:hover .p-card-img--pack img { transform: translateY(-6px) scale(1.04); }
.why-card--compact { padding: 32px 16px 28px; }
.why-card--compact .why-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.why-card--compact .why-icon svg { width: 23px; height: 23px; }
.why-card--compact h3 { font-size: 15px; line-height: 1.3; }
.why-card--compact p { font-size: 13px; line-height: 1.7; }
.ph--wide { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; padding: 30px 36px; }
.ph--wide p { margin: 0 auto; }

/* ---------- Products ---------- */
.page-hero--mosaic { min-height: 74vh; }
.mosaic { position: absolute; inset: -3%; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; animation: mosaic-drift 26s ease-in-out infinite alternate; }
.mosaic span { background-size: cover; background-position: center; background-repeat: no-repeat; }
.mosaic span:first-child { grid-row: span 2; }
@keyframes mosaic-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-ov--deep { background: linear-gradient(160deg, rgba(6, 6, 17, .8) 0%, rgba(6, 6, 17, .86) 55%, rgba(6, 6, 17, .97) 100%); }
html.reduced .mosaic { animation: none; }

.cat-nav { position: sticky; top: 72px; z-index: 900; background: rgba(6, 6, 17, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 215, 0, .1); border-bottom: 1px solid rgba(255, 215, 0, .12); }
.cat-nav ul { display: flex; justify-content: center; gap: 8px; padding: 12px 0; overflow-x: auto; }
.cat-nav a { display: block; padding: 8px 18px; border-radius: 20px; white-space: nowrap; font-family: var(--fh); font-size: 12px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tl); border: 1px solid rgba(255, 215, 0, .2); background: rgba(255, 215, 0, .04); transition: background-color .3s, color .3s, border-color .3s; }
.cat-nav a:hover { border-color: var(--gold); color: var(--gold); }
.cat-nav a.is-active { background: var(--gold); border-color: var(--gold); color: #000; }
.section--intro { padding: 90px 0; }
.cat-section { scroll-margin-top: 140px; }
.cat-section--flip .about-img-wrap { order: 2; }
.cat-section:not([data-light]) .pillar { background: rgba(255, 215, 0, .05); }
.cat-section:not([data-light]) .pillar:hover { background: rgba(255, 215, 0, .1); box-shadow: 4px 0 20px rgba(255, 215, 0, .12); }
.cat-section:not([data-light]) .p-text h3 { color: #fff; }
.cat-section .pillar { align-items: center; padding: 14px 18px; }
.cat-section .p-text h3 { margin: 0; font-size: 15px; }
.pillars--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.series-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 30px; }
.series-label { font-family: var(--fh); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tm); }
[data-light] .series-label { color: var(--tg); }
.cat-section .btn-row { margin-top: 26px; }
.series-tags + .btn-row { margin-top: 0; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .25); color: #000; font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: border-color .3s, background-color .3s, transform .3s; }
.btn-ghost:hover { border-color: #000; background: rgba(255, 215, 0, .25); transform: translateY(-3px); }
.about-main--slot { height: 440px; }

/* ---------- Motorsport ---------- */
.page-sub { font-family: var(--fh); font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.hero-stat { display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px 12px 14px; border-radius: 60px; background: rgba(6, 6, 17, .6); border: 1px solid rgba(255, 215, 0, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-align: left; }
.hero-stat-num { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 10px; border-radius: 40px; background: var(--gold); color: #000; font-family: var(--fh); font-size: 24px; font-weight: 700; }
.hero-stat-text { font-size: 13px; color: var(--tb); line-height: 1.4; }
.hero-stat-text b { display: block; font-family: var(--fh); font-size: 14px; font-weight: 600; letter-spacing: 2px; color: #fff; }
.disc-num { display: block; font-family: var(--fh); font-size: 84px; font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 215, 0, .55); margin-bottom: 4px; }
[data-light] .disc-num { -webkit-text-stroke-color: rgba(184, 134, 11, .55); }
.discipline .series-tags { margin: 6px 0 24px; }
.discipline .ph, .discipline .disc-copy { max-width: 540px; }
.about-main--yellow { background: #fed917; }
.about-main--yellow img { object-fit: contain; }

/* ---------- Stories ---------- */
.flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flight-route { fill: none; stroke: rgba(255, 215, 0, .45); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 12; animation: route-flow 1.2s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -26; } }
.flight-plane { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 215, 0, .75)); }
html.reduced .flight-plane { display: none; }
@media (prefers-reduced-motion: reduce) { .flight-plane { display: none; } }
.page-hero .bg-num--hero { font-size: min(400px, 30vw); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 215, 0, .16); }
.gallery { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.gallery li { height: 250px; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .08); }
.next-story {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: 980px; margin: 0 auto; padding: 60px 40px 54px; text-align: center; border-radius: 14px;
  background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255, 215, 0, .1), transparent 70%), var(--d3);
  border: 1px solid rgba(255, 215, 0, .16);
  transition: transform .45s var(--ease2), border-color .35s, box-shadow .45s;
}
.next-story::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(.3); transition: transform .6s var(--ease2); }
.next-story:hover { transform: translateY(-6px); border-color: rgba(255, 215, 0, .45); box-shadow: 0 26px 64px rgba(0, 0, 0, .5); }
.next-story:hover::before { transform: scaleX(1); }
.next-kicker { font-family: var(--fh); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.next-title { font-family: var(--fh); font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: 1px; text-transform: uppercase; color: #fff; text-wrap: balance; }
.next-sub { font-family: var(--fh); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: 2.5px; text-transform: uppercase; color: var(--tb); margin-bottom: 10px; }

/* ---------- Contact and Become a Distributor (index.html's contact and partner blocks) ---------- */
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.c-info { display: flex; flex-direction: column; gap: 30px; }
.c-map { height: 300px; border-radius: 12px; overflow: hidden; background: var(--ow); box-shadow: 0 14px 44px rgba(0, 0, 0, .12); }
.c-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.c-details { display: flex; flex-direction: column; gap: 18px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; }
.c-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: #000; box-shadow: 0 6px 18px rgba(255, 215, 0, .3); transition: transform .3s var(--ease2); }
.c-icon svg { width: 20px; height: 20px; }
.c-item:hover .c-icon { transform: scale(1.1) rotate(-5deg); }
.c-label { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tg); }
.c-value { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--td); }
a.c-value { transition: color .25s; }
a.c-value:hover { color: var(--gold-ink); }
.c-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.soc-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 7px;
  background: var(--d1); color: #fff; font-family: var(--fh); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: background-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.soc-btn svg { width: 16px; height: 16px; }
.soc-btn:hover { background: var(--gold); color: #000; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255, 215, 0, .35); }

/* Forms: a white card with index.html's gold top rule; native validation decides */
.c-form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 40px 34px; border-radius: 0 0 12px 12px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--gold); box-shadow: 0 24px 64px rgba(0, 0, 0, .08); }
.c-form .sec-label { margin-bottom: -8px; }
.form-title { font-family: var(--fh); font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase; color: var(--td); text-wrap: balance; margin-bottom: 6px; }
.form-title span:not(.glue) { color: var(--gold-text); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-field label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tg); }
.f-field input, .f-field select, .f-field textarea { width: 100%; padding: 13px 15px; border: 1px solid #ddd; border-radius: 8px; background-color: var(--ow); font: 14px/1.5 var(--fb); color: var(--td); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.f-field textarea { min-height: 128px; resize: vertical; }
.f-field select {
  appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3.2 5 7l4-3.8' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 10px;
}
.f-field :is(input, select, textarea):hover { border-color: #c9c9c9; }
.f-field :is(input, select, textarea):focus { outline: none; border-color: var(--gold-text); background-color: #fff; box-shadow: 0 0 0 3px rgba(255, 215, 0, .32); }
.f-field :is(input, select, textarea):user-invalid { border-color: #c0392b; }
.f-field :is(input, select, textarea):user-invalid:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .18); }
.f-submit { align-self: flex-start; margin-top: 4px; }
.form-status { font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--gold-ink); }
.form-status:empty { margin-top: -16px; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 12px; line-height: 1.6; color: var(--tg); }

/* Distributor: index.html's partner split, then the markets card beside the application */
.partner-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.p-benefits { display: flex; flex-direction: column; gap: 4px; margin: 24px 0 34px -16px; }
.pb { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 8px; transition: background-color .3s, transform .35s var(--ease2); }
.pb:hover { background: rgba(255, 215, 0, .05); transform: translateX(6px); }
.pb-icon { width: 24px; height: 24px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #000; box-shadow: 0 0 0 5px rgba(255, 215, 0, .12); transition: transform .3s var(--ease2); }
.pb-icon svg { width: 12px; height: 12px; }
.pb:hover .pb-icon { transform: scale(1.12); }
.pb-text { font-size: 14.5px; line-height: 1.65; color: var(--tb); }
.pb-text strong { font-weight: 600; color: var(--gold); }
.partner-img { position: relative; }
.partner-img-main { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 215, 0, .1); box-shadow: 0 24px 64px rgba(0, 0, 0, .44); }
.partner-img-main img { width: 100%; height: 340px; object-fit: cover; transition: transform .8s var(--ease2); }
.partner-img-main:hover img { transform: scale(1.04); }
.partner-badge { position: absolute; right: -16px; bottom: -16px; z-index: 4; padding: 13px 20px; border-radius: 7px; background: var(--gold); color: #000; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; box-shadow: 0 4px 24px rgba(255, 215, 0, .44); animation: badge-bob 5s ease-in-out infinite; }
@keyframes badge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.contact-grid--apply { grid-template-columns: .92fr 1.08fr; }
.markets { position: sticky; top: 110px; overflow: hidden; padding: 34px 34px 32px; border-radius: 12px; background: radial-gradient(ellipse 80% 60% at 55% 40%, #15152b, var(--d1) 72%), var(--d1); box-shadow: 0 24px 64px rgba(0, 0, 0, .18); }
.markets .sec-label { color: var(--gold); }
.markets-map { position: relative; margin: 14px 0 24px; }
.markets-map img { width: 100%; height: auto; }
.markets-hub { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.markets-hub::before, .markets-hub::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: ring-ping 2.4s ease-out infinite; }
.markets-hub::after { animation-delay: 1.2s; }
.markets .footprint { max-width: none; margin: 0; text-align: left; font-size: 15px; line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq-nav .container { display: flex; align-items: center; gap: 18px; }
.faq-nav ul { flex: 1; justify-content: flex-start; }
.faq-search { flex: none; }
.faq-search input {
  width: 250px; padding: 9px 16px 9px 38px; border-radius: 20px; border: 1px solid rgba(255, 215, 0, .25);
  background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") no-repeat 14px center / 15px;
  color: #fff; font: 13px/1.4 var(--fb); transition: border-color .3s, background-color .3s, width .4s var(--ease2);
}
.faq-search input::placeholder { color: var(--tm); }
.faq-search input:focus { outline: none; border-color: var(--gold); background-color: rgba(255, 215, 0, .07); width: 300px; }
.faq-cat { padding: 100px 0; }
.faq-cat, .faq-item { scroll-margin-top: 150px; }
.faq-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.faq-head .sec-title { font-size: clamp(28px, 2.6vw, 38px); }
.faq-head { position: sticky; top: 150px; }
.faq-head .disc-num { margin-bottom: 14px; }
.faq-count { margin-top: -10px; font-family: var(--fh); font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tg); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { interpolate-size: allow-keywords; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream2); transition: background-color .3s, box-shadow .35s; }
.bg-off .faq-item { background: #fff; }
.faq-item:hover { background: var(--cream3); }
.faq-item[open] { background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .08); }
.faq-item summary { display: flex; align-items: center; gap: 18px; padding: 18px 22px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; font-family: var(--fb); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--td); }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 14px rgba(255, 215, 0, .35); transition: transform .4s var(--ease2), background-color .3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: #000; transition: transform .4s var(--ease2), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { transform: scale(1.1); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--d1); box-shadow: none; }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--gold); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 70px 24px 22px; }
.faq-a p { font-size: 15px; line-height: 1.85; color: var(--tg); }
/* Answers slide open where the browser can animate to an auto height */
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease2), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-empty { padding: 90px 0; }
.faq-empty-text { margin-bottom: 24px; font-size: 16px; color: var(--tg); }
.faq-item[hidden], .faq-cat[hidden], .faq-empty[hidden] { display: none; }

/* ---------- Catalogue (amendment 1): category pages, product pages, the Products page ---------- */
.hero-count { margin-top: 20px; font-family: var(--fh); font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tl); }
.hero-count b { font-size: 17px; font-weight: 600; color: var(--gold); }
.cat-nav--ranges ul { justify-content: flex-start; scrollbar-width: thin; scrollbar-color: rgba(255, 215, 0, .45) transparent; }
.cat-nav--ranges li:first-child { margin-left: auto; }
.cat-nav--ranges li:last-child { margin-right: auto; }
.range-sec { padding: 90px 0; scroll-margin-top: 140px; }
.range-head { position: relative; z-index: 1; max-width: 780px; margin-bottom: 40px; }
.range-head .gold-bar { margin-bottom: 18px; }
.pc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pc { display: flex; }
.pc-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid var(--edge); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); transition: transform .45s var(--ease2), box-shadow .45s, border-color .35s; }
.pc-card:hover { transform: translateY(-8px); border-color: rgba(255, 215, 0, .7); box-shadow: 0 26px 54px rgba(0, 0, 0, .1), 0 0 0 1px rgba(255, 215, 0, .4); }
.pc-well { position: relative; display: flex; align-items: center; justify-content: center; height: 250px; padding: 24px 20px 30px; overflow: hidden; background: radial-gradient(circle at 50% 58%, #fff 0%, var(--cream2) 52%, var(--cream3) 100%); }
.pc-well::before { content: ''; position: absolute; left: 22%; right: 22%; bottom: 20px; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .2), transparent 70%); transition: transform .6s var(--ease2), opacity .6s; }
/* Flex, not grid: a grid row is sized by its content, so max-height: 100% would never bind. */
.pc-well img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .7s var(--ease2); }
.pc-card:hover .pc-well img { transform: translateY(-8px) scale(1.04); }
.pc-card:hover .pc-well::before { transform: scaleX(.8); opacity: .6; }
.pc-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-top: 3px solid var(--gold); }
.pc-range { font-family: var(--fh); font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); }
.pc-name { font-family: var(--fh); font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: .5px; text-transform: uppercase; color: var(--td); }
.pc-spec { font-size: 12.5px; line-height: 1.55; color: var(--tg); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.pc-sizes { font-size: 11.5px; font-weight: 600; letter-spacing: .4px; color: var(--td); }
.pc-card .link-more { color: #000; }

/* A product: its pack floats in index.html's rings, its facts beside it */
.pd-hero { padding: calc(var(--nav-h) + 44px) 0 100px; }
.breadcrumb--left { justify-content: flex-start; margin-bottom: 34px; }
.breadcrumb--left ol { justify-content: flex-start; }
.pd-grid { grid-template-columns: 1fr 1.08fr; gap: 72px; }
.pd-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pd-visual .tech-img-wrap { width: 100%; min-height: 470px; }
.pd-pack img { width: auto; max-width: 92%; max-height: 430px; margin: 0 auto; }
.pd-thumbs { position: relative; z-index: 3; display: flex; gap: 10px; }
.pd-thumb { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; padding: 9px 6px 7px; border-radius: 8px; border: 1px solid rgba(255, 215, 0, .2); background: rgba(255, 215, 0, .04); color: var(--tl); font-family: var(--fh); font-size: 11px; letter-spacing: 1px; transition: border-color .3s, background-color .3s, color .3s, transform .3s; }
.pd-thumb img { width: auto; height: 54px; }
.pd-thumb:hover { transform: translateY(-3px); }
.pd-thumb:hover, .pd-thumb.is-active { border-color: var(--gold); background: rgba(255, 215, 0, .1); color: var(--gold); }
.pd-info .sec-label { display: inline-flex; }
.pd-info .sec-label:hover { color: #fff; }
.pd-title { font-family: var(--fh); font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.pd-title span:not(.glue) { color: var(--gold); }
.pd-info .sec-text { margin-bottom: 14px; }
.pd-grades { margin-bottom: 14px; font-family: var(--fh); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.pd-facts { display: grid; gap: 14px; margin: 26px 0 30px; padding: 20px 22px; border-radius: 10px; background: rgba(255, 215, 0, .05); border: 1px solid rgba(255, 215, 0, .14); }
.pd-facts:empty { display: none; }
.pd-fact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pd-fact-label { flex: none; width: 128px; font-family: var(--fh); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tm); }
.pd-fact-value { flex: 1; min-width: 200px; font-size: 14px; line-height: 1.55; color: var(--tl); }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sizes li { padding: 4px 13px; border-radius: 20px; background: var(--gold); color: #000; font-family: var(--fh); font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.pd-blocks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.pd-block { padding: 28px 30px; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream2); transition: box-shadow .35s, transform .35s var(--ease2); }
.pd-block:hover { box-shadow: 4px 0 24px rgba(255, 215, 0, .16); }
.pd-block-title { margin-bottom: 14px; font-family: var(--fh); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--td); }
.pd-block p { font-size: 14.5px; line-height: 1.8; color: var(--tg); }
.pd-block p + p, .pd-block p + .pd-list, .pd-block .pd-list + p { margin-top: 10px; }
.pd-list { display: grid; gap: 9px; }
.pd-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.6; color: var(--tg); }
.pd-list li::before { content: ''; position: absolute; top: 2px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.4 6.3 2.4 2.3 4.8-5.1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.pd-term { margin-bottom: 10px; font-family: var(--fh); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-ink); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chips li { padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid rgba(184, 134, 11, .3); font-size: 12.5px; color: var(--td); }
.pd-chips + .pd-term { margin-top: 16px; }
.pd-table-wrap { overflow-x: auto; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-table th, .pd-table td { padding: 10px 12px; border-bottom: 1px solid rgba(0, 0, 0, .07); text-align: left; vertical-align: top; }
.pd-table th { width: 62%; font-weight: 600; color: var(--td); }
.pd-table td { color: var(--tg); font-variant-numeric: tabular-nums; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }

/* The Products page: the doc's line, the write-up, the category's ranges and its catalogue */
.cat-lines { margin: -8px 0 12px; font-family: var(--fh); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); }
.cat-section:not([data-light]) .cat-lines { color: var(--gold); }
.cat-intro { margin-bottom: 22px; }
.range-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin-bottom: 22px; }
.range-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 11px 14px 11px 16px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--cream2); font-family: var(--fh); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--td); transition: transform .35s var(--ease2), background-color .3s, box-shadow .3s; }
.range-link:hover { transform: translateX(6px); background: var(--cream3); box-shadow: 4px 0 20px rgba(255, 215, 0, .15); }
.rl-count { flex: none; display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--gold); color: #000; font-size: 11px; }
.cat-section:not([data-light]) .range-link { background: rgba(255, 215, 0, .05); color: #fff; }
.cat-section:not([data-light]) .range-link:hover { background: rgba(255, 215, 0, .11); }
.cat-total { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cat-total li { padding: 11px 24px; border-radius: 40px; background: var(--d1); color: #fff; font-family: var(--fh); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.cat-total b { margin-right: 6px; font-size: 19px; color: var(--gold); }

/* Motorsport: the written copy for each discipline */
.disc-copy p { font-size: 15.5px; line-height: 1.85; color: var(--tb); }
.disc-copy p + p { margin-top: 12px; }
[data-light] .disc-copy p { color: var(--tg); }

/* ---------- Typewriter title (index.html's, with the words in the HTML) ---------- */
html.js:not(.reduced) [data-scene="typewriter"]:not(.tw-ready) { visibility: hidden; }
html.js:not(.reduced):not(.motion-ready) [data-scene="typewriter"] { animation: failsafe-visible .01s linear 2.5s forwards; }
.tw-on .tw-char { opacity: 0; }
.tw-on .tw-char.on { opacity: 1; }

/* The F1 frame is 1651x458: it sits as a panel at the top right, never stretched over the
   whole band, and fades into the ink on its left and bottom edges. */
.racing { background: var(--d1); }
.racing .r-bg { inset: 0 0 auto auto; width: 74%; height: 700px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(0deg, transparent 0%, #000 40%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(0deg, transparent 0%, #000 40%); mask-composite: intersect; }
.racing .r-ov { background: linear-gradient(to right, rgba(6, 6, 17, .96) 0%, rgba(6, 6, 17, .72) 45%, rgba(6, 6, 17, .2) 100%), linear-gradient(0deg, var(--d1) 0%, var(--d1) 34%, rgba(6, 6, 17, 0) 62%); }

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition { background: var(--gold); }
::view-transition-old(root) { animation: vt-old .4s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-new .65s var(--ease-io) .1s both; }
@keyframes vt-old { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-new { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
html.reduced .ticker-track { animation: none; }

/* ---------- Responsive (fluid; desktop is the reviewed target) ---------- */
@media (max-width: 1140px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  #sidenav { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .tech-grid, .ester-cards, .prod-grid, .cta-grid, .story-grid, .two-col { grid-template-columns: 1fr; gap: 44px; }
  .chain { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .contact-grid, .contact-grid--apply, .partner-grid { grid-template-columns: 1fr; gap: 44px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-blocks, .range-list { grid-template-columns: 1fr; }
  .ester-body { max-width: none; }
  .ester-photo { width: 100%; opacity: .45; }
  .faq-head { position: relative; top: 0; }
  .faq-nav .container { flex-wrap: wrap; }
  .faq-search, .faq-search input, .faq-search input:focus { width: 100%; }
  .markets { position: relative; top: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .ester-block { grid-template-columns: 1fr; gap: 40px; }
  .ester-block--flip .ester-visual { order: 0; }
  .ester-sticky { position: relative; top: 0; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 0; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-grid, .stats-grid, .ft-grid, .arc-grid { grid-template-columns: 1fr; }
  .p-card { grid-template-columns: 1fr; }
  .p-card-img { height: 200px; }
  .f-row, .gallery, .pc-grid { grid-template-columns: 1fr; }
  .c-form { padding: 30px 22px 26px; }
  .btn-gold, .btn-out, .btn-dark { white-space: normal; }
}
