/* =====================================================================
   NEEL OVERSEAS: main.css
   Light, photo-led layout. Colour follows the Neel Overseas logo:
   one azure (#038EEB) plus darker shades of the same hue for text and
   buttons, so every blue on the page is the logo's blue. Light theme.
   ===================================================================== */
:root {
  --logo: #038EEB;        /* the logo's azure: marks, rules, large type, UI graphics (3.5:1 on white) */
  --brand: #0274BF;       /* same hue, 4.9:1 on white: buttons, links, small text */
  --brand-3: #025B97;     /* hover / pressed */
  --brand-dark: #024979;  /* dark bands */
  --sky: #68C1FD;         /* logo tint for text on dark grounds */
  --tint: #D7EFFE;
  --ink: #0A293E;

  --warn: #C98A12;        /* semantic amber: "limited suitability" and draft flags */
  --warn-soft: #F3C46B;
  --on-warn: #2A1C02;

  --bg: #FFFFFF;
  --bg-2: #F2F8FD;
  --line: #DCE8F2;
  --text: #10263A;
  --text-2: #4A6177;
  --text-3: #768DA2;

  --ok: #1D7A5F;
  --no: #A2B3C3;
  --err: #B3261E;

  --shadow: 0 10px 30px -14px rgba(10, 41, 62, .22);
  --shadow-lg: 0 24px 50px -22px rgba(10, 41, 62, .38);
  --r: 4px;
  --r-lg: 10px;
  --maxw: 1240px;
  --gutter: clamp(1rem, 4vw, 2.4rem);
  --hd: 68px;

  --f: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

/* ------------------------------ base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 15.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--logo); outline-offset: 3px; }
.ic { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--md { width: 22px; height: 22px; stroke-width: 1.6; }
.ic--xl { width: 34px; height: 34px; stroke-width: 1.3; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 99; background: var(--brand); color: #fff; padding: .6rem 1rem; font-weight: 600; }
.skip:focus { left: .5rem; top: .5rem; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.sec-head--left { text-align: left; max-width: 62ch; margin-inline: 0; }
.sec-head p { color: var(--text-2); margin-top: .8rem; font-size: .95rem; }
.kicker { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--brand); margin-bottom: .55rem; }
.kicker--light { color: var(--sky); }

/* ------------------------------ buttons ------------------------------ */
.btn-o {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px;
  padding: .8rem 1.5rem; border: 1.5px solid var(--brand); color: var(--brand); background-color: transparent;
  font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer;
  background-image: linear-gradient(var(--brand), var(--brand)); background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size .45s cubic-bezier(.2,.8,.2,1), color .3s ease;
}
.btn-o:hover { background-size: 100% 100%; color: #fff; }
.btn-o--fill { background-color: var(--brand); color: #fff; background-image: linear-gradient(var(--brand-3), var(--brand-3)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--r); border: 0; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; transition: background .2s ease; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-3); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--tint); color: var(--brand-3); }
.link-u { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; font-size: .85rem; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; }
.link-u:hover { text-decoration: underline; }

/* ------------------------------ header ------------------------------ */
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-txt { min-width: 0; }
.logo-txt small { display: block; font-size: .64rem; color: var(--text-2); letter-spacing: .02em; margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo--light .lg-mark, .logo--light .lg-word { color: #fff; }
.logo--light .logo-txt small { color: rgba(255,255,255,.72); }
@media (max-width: 600px) { .logo-txt small { display: none; } }

.mlink small { display: block; font-size: .7rem; color: rgba(255,255,255,.6); font-family: var(--f-mono); }

/* ------------------------------ mosaic hero ------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(255px, 22vw, 320px); background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,26,45,.95) 0%, rgba(8,26,45,.88) 32%, rgba(8,26,45,.68) 60%, rgba(8,26,45,.52) 100%); }
.hero-in { position: relative; width: 100%; padding-block: clamp(2rem, 4vw, 3rem); }
.hero h1 { border-left: 5px solid #fff; padding-left: 1.1rem; font-size: clamp(1.5rem, 3.1vw, 2.5rem); font-weight: 600; line-height: 1.12;
  letter-spacing: .005em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-tag { margin-top: .7rem; padding-left: calc(1.1rem + 5px); font-size: .92rem; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
@media (max-width: 760px) {
  .hero { min-height: 230px; }
  .hero::after { background: linear-gradient(90deg, rgba(8,26,45,.92) 0%, rgba(8,26,45,.8) 60%, rgba(8,26,45,.6) 100%); }
}

/* ------------------------------ intro ------------------------------ */
.intro { padding-block: clamp(3rem, 7vw, 5rem); }
.intro-in { max-width: 880px; margin-inline: auto; text-align: center; }
.intro .h2 { margin-bottom: 1.1rem; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }
.intro-in p { color: var(--text-2); }
.intro-in p + p { margin-top: .9rem; }
.intro-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.cats { padding-block: clamp(2.8rem, 6vw, 4.2rem) 0; background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 20vw, 300px); gap: 0; }
.cat { position: relative; overflow: hidden; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; background: var(--ink); }
.cat.wide { grid-column: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.3s cubic-bezier(.2,.8,.2,1); }
.cat:hover img { scale: 1.08; }
.cat-shade { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c) 92%, transparent) 0%, color-mix(in srgb, var(--c) 35%, transparent) 45%, rgba(0,0,0,.04) 72%); }
.cat::after { content: ""; position: absolute; inset: 0; background: var(--c); opacity: 0; transition: opacity .45s ease; }
.cat:hover::after { opacity: .3; }
.cat-label { position: absolute; left: clamp(1rem, 2vw, 1.6rem); right: 1rem; bottom: clamp(1rem, 2vw, 1.5rem); z-index: 2; color: #fff; }
.cat-label h3 { font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.cat-label span { display: block; font-size: .82rem; opacity: .9; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.cat-more { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 600; margin-top: .7rem;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; }
.cat:hover .cat-more, .cat:focus-visible .cat-more { max-height: 2rem; opacity: 1; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; } .cat-more { max-height: 2rem; opacity: 1; } }

/* ------------------------------ chemistry band ------------------------------ */
.chem { background: var(--bg-2); padding-block: clamp(3.5rem, 7vw, 6rem); }
.chem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.chem .lead { color: var(--text-2); margin-top: 1rem; max-width: 56ch; }
.ticks { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text-2); font-size: .9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--logo); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.3em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--text); font-weight: 600; }
.chem-panel { position: relative; background: radial-gradient(circle at 50% 40%, #0C3F63, var(--ink) 70%); border-radius: var(--r-lg); padding: 1.2rem 1.4rem 1.4rem; color: #EAF1F9; box-shadow: var(--shadow-lg); }
#molecule { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 460px; margin-inline: auto; cursor: grab; touch-action: pan-y; }
#molecule.is-drag { cursor: grabbing; }
#molecule canvas, #molecule svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.mol-hint { position: absolute; top: 1rem; right: 1.2rem; z-index: 2; font-size: .78rem; font-weight: 600; color: #9CC4E4; display: inline-flex; gap: .4rem; align-items: center; }
.mol-ui { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; }
.mol-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 3px; }
.mol-toggle button { font-size: .75rem; font-weight: 600; color: #9CC4E4; background: none; border: 0; border-radius: 999px; padding: .45rem .9rem; cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; }
.mol-toggle button i { width: 9px; height: 9px; border-radius: 50%; }
.mol-toggle button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; }
.mol-read { font-family: var(--f-mono); font-size: .74rem; color: #9CC4E4; line-height: 1.5; text-align: right; }
.mol-read b { display: block; color: #fff; font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) { .chem-grid { grid-template-columns: 1fr; } #molecule { aspect-ratio: 4 / 3; } }

/* ------------------------------ applications ------------------------------ */
.apps { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.app-card { background: #fff; border: 0; padding: 0; text-align: left; cursor: pointer; box-shadow: var(--shadow); transition: translate .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; display: flex; flex-direction: column; }
.app-card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.app-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.app-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2,.8,.2,1); }
.app-card:hover .app-img img { scale: 1.07; }
.app-body { padding: 1.1rem 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.app-body h3 { font-size: 1.02rem; font-weight: 600; }
.app-body .bar { width: 30px; height: 2px; background: var(--logo); margin: .7rem 0 .8rem; transition: width .4s ease; }
.app-card:hover .bar { width: 60px; }
.app-body p { font-size: .8rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.app-body .go { margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--brand); display: inline-flex; gap: .4rem; align-items: center; }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .app-grid { grid-template-columns: 1fr; } }

/* ------------------------------ compliance ------------------------------ */
.comp { background: var(--bg-2); padding-block: clamp(2.8rem, 5vw, 3.8rem); }
.comp-in { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; align-items: center; }
.comp-head .link-u { margin-top: 1rem; }
.badges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.badge { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: .9rem .8rem .8rem; text-align: center; text-decoration: none; color: inherit; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .55rem; transition: translate .35s ease, box-shadow .35s ease; }
.badge:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.badge svg { width: 100%; max-width: 104px; height: auto; }
.badge .ring { transform-origin: 60px 60px; transition: rotate 1.6s cubic-bezier(.2,.8,.2,1); }
.badge:hover .ring { rotate: 40deg; }
.badge > span { font-size: .7rem; color: var(--text-2); line-height: 1.35; }
@media (max-width: 960px) { .comp-in { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------ global presence ------------------------------ */
.globe { padding-block: clamp(3.5rem, 7vw, 6rem); }
.globe-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.stats { display: grid; gap: 1.1rem; }
.stat { display: flex; align-items: center; gap: 1.2rem; background: #fff; box-shadow: var(--shadow); padding: 1.1rem 1.3rem; }
.stat .num { min-width: 96px; padding-right: 1.1rem; border-right: 1px solid var(--line); color: var(--logo); font-size: 2.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.stat .num b { font-weight: 500; }
.stat .num sup { font-size: .9rem; margin-left: 2px; }
.stat-l { font-size: .8rem; color: var(--text-2); line-height: 1.45; }
.stat-l em { display: block; font-style: normal; font-weight: 600; color: var(--text); font-size: .88rem; }
.map-wrap { position: relative; color: #A6C4DD; }
.map-dots { width: 100%; height: auto; display: block; }
.map-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pin path { fill: var(--logo); }
.pin circle.dot { fill: #fff; }
.pin--home path { fill: var(--ink); }
.pin--home .pulse { fill: none; stroke: var(--logo); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.arc { fill: none; stroke: var(--logo); stroke-width: 1.3; stroke-opacity: .32; }
.globe .center { margin-top: 2.2rem; }
@media (max-width: 900px) { .globe-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat { flex-direction: column; align-items: flex-start; } .stat .num { border-right: 0; padding-right: 0; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat { flex-direction: row; align-items: center; } .stat .num { border-right: 1px solid var(--line); padding-right: 1.1rem; } }

/* ------------------------------ events ------------------------------ */
.events { background: var(--bg-2); padding-block: clamp(3rem, 6vw, 5rem); }
.events .h2 { margin-bottom: 2rem; }
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-card { padding: 0 2rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.ev-card:first-child { padding-left: 0; border-left: 0; }
.ev-logo { width: 180px; height: 84px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; justify-content: center; padding: .6rem .9rem; position: relative; overflow: hidden; }
.ev-logo b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--logo); line-height: 1; }
.ev-logo i { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--brand); margin-top: .35rem; }
.ev-logo::after { content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, transparent 0 34%, var(--logo) 35% 52%, transparent 53%); opacity: .2; }
.ev-card .visit { font-size: .85rem; font-weight: 600; color: var(--brand); }
.ev-card p { font-size: .86rem; color: var(--text); }
.ev-card .btn-o { min-height: 36px; padding: .5rem 1rem; font-size: .66rem; }
@media (max-width: 860px) { .ev-grid { grid-template-columns: 1fr; gap: 2rem; } .ev-card { padding: 0; border-left: 0; } }

/* ------------------------------ enquiry ------------------------------ */
.enq { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); color: #fff; overflow: hidden; isolation: isolate; }
.enq-bg { position: absolute; inset: 0; z-index: -1; }
.enq-bg img { width: 100%; height: 115%; object-fit: cover; }
.enq-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,41,62,.95) 0%, rgba(2,73,121,.9) 55%, rgba(10,41,62,.82) 100%); }
.enq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.enq .h2 { color: #fff; max-width: 16ch; }
.enq-text > p { color: rgba(255,255,255,.82); margin-top: 1rem; max-width: 46ch; }
.enq-facts { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; max-width: 420px; }
.enq-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .85rem; }
.enq-facts span { color: rgba(255,255,255,.7); }
.enq-facts b { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .enq-grid { grid-template-columns: 1fr; } }

.form { background: #fff; color: var(--text); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
.form-h { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.2rem; color: var(--brand); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 600; color: var(--text-2); letter-spacing: .02em; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea { font: inherit; font-size: .88rem; padding: .62rem .75rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: var(--text); width: 100%; transition: border-color .2s ease, background .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(3,142,235,.2); }
.field textarea { min-height: 96px; resize: vertical; }
.field textarea::placeholder { color: var(--text-3); }
.field.is-err input { border-color: var(--err); }
.field.is-err label { color: var(--err); }
.qty { display: flex; gap: .5rem; } .qty input { flex: 2; min-width: 0; } .qty select { flex: 1; min-width: 0; }
.formfoot { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.formfoot p { font-size: .72rem; color: var(--text-3); flex: 1; min-width: 180px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--r); font-size: .84rem; background: var(--bg-2); border-left: 3px solid var(--ok); color: var(--text); }
.formmsg[data-kind="err"] { border-left-color: var(--err); }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* ------------------------------ footer ------------------------------ */
.ft { color: #fff; padding-top: clamp(2.8rem, 5vw, 3.8rem);
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(3,142,235,.34), transparent 32%), radial-gradient(circle at 88% 70%, rgba(104,193,253,.16), transparent 30%),
              radial-gradient(circle at 60% 10%, rgba(255,255,255,.07), transparent 20%), linear-gradient(120deg, var(--ink) 0%, var(--brand-dark) 62%, #03609E 100%); }
.ft-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .8fr; margin-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.15); }
.ft-c { display: flex; gap: 1rem; padding: 1.8rem 1.5rem 2.2rem; border-left: 1px solid rgba(255,255,255,.15); min-width: 0; }
.ft-c:first-child { border-left: 0; padding-left: 0; }
.ft-c .ic { color: rgba(255,255,255,.85); }
.ft-c h3 { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.ft-c p, .ft-c a { display: block; color: rgba(255,255,255,.82); font-size: .82rem; text-decoration: none; line-height: 1.7; overflow-wrap: anywhere; }
.ft-c a:hover { color: #fff; text-decoration: underline; }
.soc { display: flex; gap: .6rem; flex-wrap: wrap; }
.soc a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.soc a:hover { background: #fff; color: var(--brand); text-decoration: none; }
@media (min-width: 901px) { .ft-cols--3 { grid-template-columns: 1.3fr 1fr 1.1fr; } }
.ft-bot { background: rgba(5,14,30,.35); }
.ft-bot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.1rem; font-size: .76rem; color: rgba(255,255,255,.75); }
.ft-bot a { color: rgba(255,255,255,.88); }
.regs { display: flex; gap: 1.2rem; flex-wrap: wrap; font-family: var(--f-mono); }
@media (max-width: 900px) { .ft-cols { grid-template-columns: 1fr 1fr; } .ft-c { border-top: 1px solid rgba(255,255,255,.15); } .ft-c:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .ft-cols { grid-template-columns: 1fr; } .ft-c { border-left: 0; padding-left: 0; } }

/* ------------------------------ floating ------------------------------ */
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: scale .25s ease; }
.fab:hover { scale: 1.08; }
.fab .ic { width: 26px; height: 26px; }
.totop { position: fixed; right: 1.25rem; bottom: 5rem; z-index: 55; width: 46px; height: 46px; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, background .2s ease; }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--brand-3); }
.mbar { display: none; }
@media (max-width: 760px) {
  .fab, .totop { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; box-shadow: 0 -8px 24px -14px rgba(10,41,62,.5); }
  .mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .55rem .3rem; font-size: .68rem; font-weight: 600; color: var(--text); text-decoration: none; }
  .mbar a .ic { color: var(--brand); width: 20px; height: 20px; }
  .mbar a:last-child { background: var(--brand); color: #fff; } .mbar a:last-child .ic { color: #fff; }
  body { padding-bottom: 58px; }
}

/* ------------------------------ drawer ------------------------------ */
.dr-wrap { position: fixed; inset: 0; z-index: 90; }
.dr-shade { position: absolute; inset: 0; background: rgba(10,41,62,.55); backdrop-filter: blur(3px); }
.dr { position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.45); }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.dr-head h2 { font-size: 1.05rem; font-weight: 600; }
.dr-x { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.dr-x:hover { border-color: var(--brand); color: var(--brand); }
.dr-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.4rem 2rem; }
.dr-body .form { box-shadow: none; padding: 1.4rem 0 0; border-radius: 0; }
.dr-body .form-h { display: none; }
.dr-hero { margin: 0 -1.4rem; height: 190px; position: relative; overflow: hidden; }
.dr-hero img { width: 100%; height: 100%; object-fit: cover; }
.dr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c, #0A293E) 92%, transparent), transparent 75%); }
.dr-hero div { position: absolute; left: 1.4rem; bottom: 1.1rem; right: 1.4rem; z-index: 1; color: #fff; }
.dr-hero b { display: block; font-size: 1.3rem; font-weight: 600; }
.dr-hero span { font-family: var(--f-mono); font-size: .76rem; opacity: .9; }
.dr-lead { color: var(--text-2); font-size: .9rem; margin: 1.3rem 0 .4rem; }
.dr-sub { font-size: .95rem; font-weight: 600; color: var(--brand); margin: 1.8rem 0 .8rem; }

.grade { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 1rem; }
.grade-tones { display: flex; height: 70px; }
.grade-tones div { flex: 1; position: relative; transition: flex-grow .6s cubic-bezier(.2,.8,.2,1); }
.grade:hover .grade-tones div:last-child { flex-grow: 2.2; }
.grade-tones span { position: absolute; left: .6rem; bottom: .4rem; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.grade-body { padding: 1rem 1.1rem 1.1rem; }
.grade-code { font-family: var(--f-mono); font-size: .76rem; color: var(--text-3); }
.grade h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: .15rem 0 .4rem; }
.grade p { font-size: .82rem; color: var(--text-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.2rem; margin: .9rem 0 0; font-family: var(--f-mono); font-size: .72rem; }
.specs div { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px dotted var(--line); padding: .25rem 0; min-width: 0; }
.specs dt { color: var(--text-3); } .specs dd { margin: 0; color: var(--text); text-align: right; }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }
.fits { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.fit { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; padding: .25rem .55rem; border-radius: 999px; background: var(--bg-2); color: var(--text-2); }
.mk { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mk--2 { background: var(--ok); } .mk--1 { box-shadow: inset 0 0 0 2px var(--warn); } .mk--0 { box-shadow: inset 0 0 0 1px var(--no); }
.grade-acts { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.grade-acts .btn-o { min-height: 38px; padding: .5rem 1rem; font-size: .66rem; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .72rem; color: var(--text-2); margin-top: 1rem; }
.legend span { display: inline-flex; gap: .35rem; align-items: center; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: flex; align-items: center; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.rank .sw { width: 34px; height: 34px; border-radius: 4px; flex: none; }
.rank b { display: block; font-size: .9rem; font-weight: 600; }
.rank small { font-family: var(--f-mono); font-size: .7rem; color: var(--text-3); }
.rank .tag { margin-left: auto; font-size: .8rem; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; white-space: nowrap; }
.rank button { margin-left: .6rem; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.kv span { color: var(--text-2); } .kv b { font-weight: 600; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .74rem; padding: .32rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.certs { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.certs h3 { font-size: .9rem; font-weight: 600; display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.certs h3 .ic { color: var(--logo); }
.certs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.certs li { font-size: .84rem; color: var(--text-2); padding-left: 1rem; position: relative; }
.certs li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1.5px; background: var(--logo); }
.certs .cval { color: var(--text-3); font-family: var(--f-mono); font-size: .74rem; }

/* ------------------------------ logo (traced from the supplied artwork) ------------------------------ */
.lg-mark { width: 46px; height: 46px; flex: none; color: var(--logo); }
.lg-word { display: block; width: 186px; height: 17.45px; color: var(--logo); }
.logo-txt small { margin-top: .35rem; }
.wm { position: absolute; pointer-events: none; color: #fff; }
.ft > .wrap, .ft-bot { position: relative; }
.ft .wm { width: 540px; height: 540px; right: -130px; top: -150px; opacity: .06; }
@media (max-width: 600px) { .lg-mark { width: 38px; height: 38px; } .lg-word { width: 150px; height: 14.07px; } }

/* ------------------------------ reduced motion / print ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .v3-hd, .fab, .totop, .mbar, .dr-wrap, .chem-panel { display: none !important; } }

/* ==========================================================================
   INNER PAGES: about, products, applications, certificates, events, contact
   ========================================================================== */

/* how we work */
.ways { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.way-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.way { padding: clamp(1.4rem, 2.6vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.way h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; padding-bottom: .6rem; border-bottom: 2px solid var(--logo); display: inline-block; }
.way p { color: var(--text-2); font-size: .95rem; }
@media (max-width: 860px) { .way-grid { grid-template-columns: 1fr; } }

/* quality control */
.lab { padding-block: clamp(3rem, 7vw, 5rem); }
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lab-grid > div > p { color: var(--text-2); margin-bottom: 1.2rem; }
.lab-h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: .9rem; }
.lab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.lab-list li { position: relative; padding-left: 1.5rem; color: var(--text-2); font-size: .95rem; }
.lab-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--logo); }
.lab-note { margin-top: 1.2rem; font-size: .9rem; color: var(--text-3); }
@media (max-width: 860px) { .lab-grid { grid-template-columns: 1fr; } }

/* grade specification table */
.gradespecs { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 780px; }
.spec-table th, .spec-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.spec-table thead th:first-child { border-top-left-radius: 13px; } .spec-table thead th:last-child { border-top-right-radius: 13px; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--bg-2); }
.spec-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table td { color: var(--text-2); }
.spec-table .nowrap { white-space: nowrap; }
.spec-table .right { text-align: right; }
.spec-sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: .6rem; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.spec-note { margin-top: 1rem; font-size: .88rem; color: var(--text-3); }

/* application detail */
.appdetail { padding-block: clamp(3rem, 7vw, 5rem); }
.ad-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.ad { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.2rem, 2.4vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ad:nth-child(even) .ad-art { order: 2; }
.ad-art { margin: 0; border-radius: 12px; overflow: hidden; }
.ad-art img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ad-body h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; color: var(--ink); }
.ad-sub { margin-top: .4rem; color: var(--text-2); font-size: .95rem; }
.ad-grades { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.ad-grades li { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.ad-grades b { font-weight: 600; color: var(--ink); }
.ad-grades small { color: var(--text-3); font-variant-numeric: tabular-nums; }
.ad-grades .sw { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.ad-grades .tag { margin-left: auto; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.ad-grades .tag--2 { color: #0E7A45; } .ad-grades .tag--1 { color: #9A6212; }
@media (max-width: 860px) { .ad { grid-template-columns: 1fr; } .ad:nth-child(even) .ad-art { order: 0; } }

/* documents and registrations */
.docs { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.doc { padding: clamp(1.3rem, 2.4vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.doc h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.doc p { color: var(--text-2); font-size: .94rem; }
.reglist { list-style: none; margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.reglist li { display: grid; gap: .15rem; }
.reglist span { font-size: .85rem; color: var(--text-3); }
.reglist b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .doc-grid { grid-template-columns: 1fr; } }

/* contact cards */
.ctc { padding-block: clamp(3rem, 7vw, 5rem); }
.ctc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.ctc-card { padding: clamp(1.3rem, 2.4vw, 1.7rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.ctc-card .ic { width: 22px; height: 22px; color: var(--logo); margin-bottom: .8rem; }
.ctc-card h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.ctc-card p, .ctc-card a { color: var(--text-2); font-size: .95rem; text-decoration: none; }
.ctc-card a:hover { color: var(--brand); text-decoration: underline; }
.ctc-sub { margin-top: .4rem; font-size: .86rem; color: var(--text-3); }
@media (max-width: 1000px) { .ctc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ctc-grid { grid-template-columns: 1fr; } }

/* privacy / 404 body pages */
.docpage { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.docpage .doc { max-width: 760px; }
.docpage .doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; margin-bottom: .8rem; }
.docpage .doc h2 { font-size: 1.15rem; font-weight: 600; margin: 2.2rem 0 .6rem; color: var(--ink); }
.docpage .doc p, .docpage .doc li { color: var(--text-2); }
.docpage .doc p + p { margin-top: .8rem; }
.docpage .doc ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.docpage .doc .meta { font-size: .88rem; color: var(--text-3); }

/* ==========================================================================
   NEW SITE: corporate, family and sector pages
   ========================================================================== */

/* key numbers */
.numbers { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--ink); color: #fff; }
.num-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.num-grid li { display: grid; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--logo); }
.num-grid b { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.num-grid span { font-size: .9rem; color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* photo + list split */
.split { padding-block: clamp(3rem, 7vw, 5rem); }
.split-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-art { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-art img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.ticks { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .9rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--logo); box-shadow: 0 0 0 4px var(--tint); }
.ticks b { color: var(--ink); }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } }

/* management */
.people { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.person { padding: clamp(1.3rem, 2.4vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.person-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--brand); margin-bottom: .9rem; }
.person-ic .ic { width: 20px; height: 20px; }
.person h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.person-name { margin: .2rem 0 .6rem; font-size: .9rem; color: var(--text-3); }
.person p { color: var(--text-2); font-size: .94rem; }
.people-note { margin-top: 1.6rem; color: var(--text-2); font-size: .95rem; }
@media (max-width: 1000px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people-grid { grid-template-columns: 1fr; } }

/* shipping steps */
.ship { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.steps li { counter-increment: s; position: relative; padding: clamp(1.2rem, 2.2vw, 1.6rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: .6rem; font-size: .9rem; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps b { display: block; color: var(--ink); margin-bottom: .35rem; }
.steps p { color: var(--text-2); font-size: .93rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* grade cards on a family page */
.family { padding-block: clamp(3rem, 7vw, 5rem); }
.gcards { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.gcard { display: grid; grid-template-columns: 160px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gcard-tones { display: grid; }
.gcard-tones span { display: block; }
.gcard-body { padding: clamp(1.2rem, 2.4vw, 1.8rem); }
.gcard h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--ink); }
.gcard-code { margin: .15rem 0 .7rem; font-size: .88rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.gcard-note { color: var(--text-2); font-size: .95rem; }
.gcard-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem 1.2rem; margin: 1.1rem 0; }
.gcard-specs div { display: grid; gap: .1rem; padding-bottom: .4rem; border-bottom: 1px dotted var(--line); }
.gcard-specs dt { font-size: .8rem; color: var(--text-3); }
.gcard-specs dd { margin: 0; font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.gcard-fit { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.fit { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; color: var(--text-2); }
.fit i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.fit--2 i { background: #17A35D; } .fit--1 i { background: #E3A008; } .fit--0 { opacity: .55; }
@media (max-width: 640px) { .gcard { grid-template-columns: 1fr; } .gcard-tones { grid-auto-flow: column; height: 90px; } }

/* sector page grade list */
.sector { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sector-list li { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sector-list .sw { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sector-list b { color: var(--ink); font-weight: 600; }
.sector-list small { color: var(--text-3); font-variant-numeric: tabular-nums; }
.sector-list .tag { margin-left: auto; font-size: .82rem; font-weight: 600; }
.sector-list .tag--2 { color: #0E7A45; } .sector-list .tag--1 { color: #9A6212; }
.sector-list .link-u { flex: none; }
.ev-more { margin-top: 1.5rem; }
@media (max-width: 560px) { .sector-list li { flex-wrap: wrap; } .sector-list .tag { margin-left: 0; } }

.way-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .way-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .way-grid--4 { grid-template-columns: 1fr; } }

/* ---------- home: tile mosaic, in place of a banner ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 215px); gap: 6px; background: #fff; }
.tile { position: relative; overflow: hidden; display: block; text-decoration: none; background: var(--ink); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.5s cubic-bezier(.2,.8,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,26,45,.05) 35%, rgba(8,26,45,.72) 100%); transition: background .4s ease; }
.tile:hover img, .tile:focus-visible img { scale: 1.06; }
.tile:hover::after, .tile:focus-visible::after { background: linear-gradient(180deg, rgba(8,26,45,.15) 25%, rgba(8,26,45,.82) 100%); }
.tile:focus-visible { outline: 3px solid var(--logo); outline-offset: -3px; }
.tile-label { position: absolute; z-index: 2; left: clamp(1rem, 1.8vw, 1.5rem); right: 1rem; bottom: clamp(.9rem, 1.6vw, 1.3rem); color: #fff;
  font-size: clamp(.95rem, 1.25vw, 1.15rem); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.tile-label small { display: block; margin-top: .35rem; font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.85); }
.tile--a { grid-column: 1; grid-row: 1; }
.tile--b { grid-column: 1; grid-row: 2; }
.tile--c { grid-column: 2 / 4; grid-row: 1 / 3; }
.tile--d { grid-column: 4; grid-row: 1; }
.tile--e { grid-column: 4; grid-row: 2; }
.tile--f { grid-column: 1 / 5; grid-row: 3; }
@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .tile--a { grid-column: 1; grid-row: 1; } .tile--b { grid-column: 2; grid-row: 1; }
  .tile--c { grid-column: 1 / 3; grid-row: 2 / 4; } .tile--d { grid-column: 1; grid-row: 4; }
  .tile--e { grid-column: 2; grid-row: 4; } .tile--f { grid-column: 1 / 3; grid-row: 5; }
}

/* home intro: words left, buttons stacked right */
.intro-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 260px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.intro-h { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.intro-h em { font-style: italic; color: var(--logo); }
.intro-words p { color: var(--text-2); max-width: 70ch; }
.intro-words p + p { margin-top: .9rem; }
.intro-btns { display: grid; gap: .7rem; }
.intro-btns .btn-o { width: 100%; }
@media (max-width: 860px) { .intro-row { grid-template-columns: 1fr; } .intro-btns { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }

/* whole-card links should not look like inline links */
.app-card, .cat, .tile { text-decoration: none; color: inherit; }
.app-card:hover .app-body h3 { color: var(--brand); }

/* ---------- brand swatch rule: real grade colours ---------- */
.swatchline { height: 6px; background-image: var(--swatch); background-size: var(--swatch-w, 700px) 6px; background-repeat: repeat-x; }

/* ---------- shade card ---------- */
.shades { padding-block: clamp(3rem, 7vw, 5rem); }
.shade-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.shade { display: grid; grid-template-rows: auto 1fr; gap: .55rem; text-decoration: none; }
.shade-card { position: relative; aspect-ratio: 5 / 7; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(90deg, #2b3238 0 50%, #fafbfc 50% 100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.shade-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(10,41,62,.14); border-radius: 8px; }
.shade-card i, .shade-card u { position: absolute; left: 0; right: 0; mix-blend-mode: multiply; }
.shade-card i { top: 8%; height: 50%; background: var(--m); }              /* masstone, full strength */
.shade-card u { top: 62%; height: 30%; background: var(--r); }             /* the same grade, reduced to a tint */
.shade-card b { position: absolute; z-index: 2; left: 50%; top: 8%; bottom: 8%; width: 1px; background: rgba(255,255,255,.35); }
.shade b { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.3; align-self: start; }
.shade small { display: block; margin-top: .1rem; font-size: .75rem; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }
.shade:hover .shade-card { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shade-key { display: flex; justify-content: center; gap: 1.6rem; margin: 0 0 1.4rem; font-size: .85rem; color: var(--text-2); }
.shade-key span { display: inline-flex; align-items: center; gap: .45rem; }
.shade-key i { width: 22px; height: 10px; border-radius: 2px; }
.shade-key .k1 { background: linear-gradient(90deg, #2b3238, #0A4E8F); }
.shade-key .k2 { background: linear-gradient(90deg, #7f9fbd, #cfe0ef); }
@media (max-width: 1000px) { .shade-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shade-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shade b { font-size: .78rem; } }

/* ---------- grade finder ---------- */
.finder { padding-block: clamp(3rem, 7vw, 5rem); background: var(--bg-2); }
.finder-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; }
.finder-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--text-2); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.finder-tab:hover { border-color: var(--logo); color: var(--brand); }
.finder-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.finder-panel { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.finder-list { list-style: none; margin: 0; padding: 0; }
.finder-list li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); animation: fadeUp .4s ease both; }
.finder-list li:last-child { border-bottom: 0; }
.finder-list .sw { width: 22px; height: 22px; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.finder-list b { color: var(--ink); font-weight: 600; }
.finder-list small { color: var(--text-3); font-variant-numeric: tabular-nums; }
.finder-list .tag { margin-left: auto; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.finder-list .tag--2 { color: #0E7A45; } .finder-list .tag--1 { color: #9A6212; }
.finder-list .link-u { flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 560px) { .finder-list li { flex-wrap: wrap; } .finder-list .tag { margin-left: 0; } }

/* ---------- tile mosaic: label lift on hover ---------- */
.tile-label { transition: translate .4s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-label, .tile:focus-visible .tile-label { translate: 0 -4px; }
.tile-label::after { content: ""; display: block; width: 26px; height: 2px; margin-top: .55rem; background: var(--logo); scale: 0 1; transform-origin: left; transition: scale .4s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-label::after, .tile:focus-visible .tile-label::after { scale: 1 1; }
@media (prefers-reduced-motion: reduce) { .tile img, .tile-label, .tile-label::after, .shade-card { transition: none; } .finder-list li { animation: none; } }




/* ==========================================================================
   HOME HERO: the colour takes the stage
   The hero is flooded with the featured grade's masstone; the next colour
   wipes across on change. Type sits in white, the photograph is a panel.
   ========================================================================== */
.phero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.phero-bgs { position: absolute; inset: 0; z-index: -2; }
.phero-bg { position: absolute; inset: 0; opacity: 0; visibility: hidden;
  background: radial-gradient(120% 90% at 8% 0%, color-mix(in srgb, var(--r) 55%, var(--m)) 0%, var(--m) 55%, color-mix(in srgb, var(--m) 78%, #000) 100%); }
.phero-bg.is-on { opacity: 1; visibility: visible; }
.phero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center; padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(3.4rem, 5vw, 4.2rem); }

.phero-body { display: grid; }
.phero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.phero-slide.is-on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.phero-fam { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .8rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.92); }
.phero-h { margin-top: .9rem; font-size: clamp(2.1rem, 4.3vw, 3.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.phero-code { margin-top: .7rem; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .03em; color: rgba(255,255,255,.78); }
.phero-line { margin-top: .9rem; max-width: 42ch; font-size: 1.02rem; color: rgba(255,255,255,.88); }
.phero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.phero-btn { background: #fff; color: var(--ink); border: 1px solid #fff; border-radius: 3px; font-weight: 600; }
.phero-btn:hover { background: rgba(255,255,255,.88); color: var(--ink); }
.phero-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.phero-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.phero-media { position: relative; }
.phero-shot { position: relative; grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.phero-media { display: grid; }
.phero-shot.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.phero-shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.phero-shot figcaption { display: flex; align-items: center; gap: .6rem; margin-top: .7rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.phero-shot .tone { display: inline-grid; width: 46px; height: 20px; border-radius: 2px; overflow: hidden; }
.phero-shot .tone i { background: var(--m); } .phero-shot .tone u { background: var(--r); }
.phero-shot .tone i, .phero-shot .tone u { display: block; }

.phero-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.22); }
.phero-nav-in { display: flex; align-items: stretch; gap: 0; }
.pchip { position: relative; display: flex; align-items: center; gap: .6rem; padding: 1rem 1.4rem 1rem 0; border: 0; background: none;
  font: inherit; font-size: .88rem; color: rgba(255,255,255,.62); cursor: pointer; transition: color .3s ease; }
.pchip + .pchip { padding-left: 1.4rem; border-left: 1px solid rgba(255,255,255,.18); }
.pchip-dot { width: 12px; height: 12px; border-radius: 2px; background: var(--m); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.pchip.is-on { color: #fff; }
.pchip-bar { position: absolute; left: 0; right: 1.4rem; bottom: 0; height: 2px; background: rgba(255,255,255,.2); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.pchip + .pchip .pchip-bar { left: 1.4rem; }
.pchip.is-on .pchip-bar { opacity: 1; }
.pchip-bar b { position: absolute; inset: 0; display: block; background: #fff; transform-origin: left; transform: scaleX(0); }
.pchip-pause { width: 34px; height: 34px; margin-left: auto; align-self: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.pchip-pause:hover { background: rgba(255,255,255,.14); }
.pchip-pause .ic { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .phero-in { grid-template-columns: 1fr; padding-bottom: 7rem; }
  .phero-media { order: -1; max-width: 420px; }
  .pchip-t { display: none; }
  .pchip, .pchip + .pchip { padding-inline: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .phero-slide, .phero-shot { transition: none; } }

/* quick links under the hero: icon badge, two lines of text, arrow, one aligned row */
.vlinks { background: var(--bg-2); border-block: 1px solid var(--line); }
.vlinks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vlinks a { position: relative; display: flex; align-items: center; gap: .85rem; min-height: 96px; padding: 1.1rem 2.1rem 1.1rem 1.2rem;
  text-decoration: none; color: inherit; border-left: 1px solid var(--line); transition: background .25s ease; }
.vlinks-grid a:first-child { border-left: 0; padding-left: 0; }
.vl-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--logo); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.vl-ic .ic { width: 21px; height: 21px; }
.vl-tx { display: grid; gap: .15rem; min-width: 0; flex: 1; }
.vl-tx b { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.vl-tx small { font-size: .86rem; line-height: 1.4; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlinks .go { position: absolute; right: .9rem; top: 50%; margin-top: -8px; width: 16px; height: 16px; color: var(--brand); opacity: 0; translate: -6px 0; transition: opacity .3s ease, translate .35s ease; }
.vlinks a:hover { background: #fff; }
.vlinks a:hover .vl-ic, .vlinks a:focus-visible .vl-ic { background: var(--logo); border-color: var(--logo); color: #fff; }
.vlinks a:hover .go, .vlinks a:focus-visible .go { opacity: 1; translate: 0 0; }
.vlinks a:focus-visible { outline: 2px solid var(--logo); outline-offset: -2px; }
@media (max-width: 1150px) {
  .vlinks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vlinks-grid a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .vlinks-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .vlinks-grid { grid-template-columns: 1fr; }
  .vlinks-grid a { border-left: 0; padding-left: 0; }
  .vlinks-grid a + a { border-top: 1px solid var(--line); }
  .vlinks .go { opacity: 1; translate: 0 0; }
}

/* style switcher in the hero navigation */
.pstyles { display: inline-flex; align-items: center; gap: .3rem; margin-left: 1.6rem; padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,.18); align-self: center; }
.pstyle { padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: none;
  font: inherit; font-size: .8rem; color: rgba(255,255,255,.72); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pstyle:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.pstyle.is-on { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .pstyles { margin-left: .8rem; padding-left: .8rem; } .pstyle { padding: .3rem .6rem; font-size: .74rem; } }
@media (max-width: 720px) { .phero-nav-in { flex-wrap: wrap; } .pstyles { border-left: 0; margin-left: 0; padding-left: 0; } }

/* ---------- home intro: words and one action on the left, key facts on the right ---------- */
.intro2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro2-k { font-size: .95rem; font-weight: 600; color: var(--brand); margin-bottom: .7rem; }
.intro2-h { font-size: clamp(1.75rem, 2.7vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1.1rem; }
.intro2-h span { color: var(--logo); }
.intro2-text > p:not(.intro2-k) { color: var(--text-2); max-width: 60ch; }
.intro2-text > p + p { margin-top: .8rem; }
.intro2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.intro2-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.intro2-link .ic { width: 16px; height: 16px; transition: translate .3s ease; }
.intro2-link:hover { color: var(--brand-3); } .intro2-link:hover .ic { translate: 4px 0; }
.intro2-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--logo); border-radius: 12px; overflow: hidden; }
.intro2-facts div { display: grid; gap: .3rem; padding: clamp(1.2rem, 2.2vw, 1.7rem); }
.intro2-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.intro2-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.intro2-facts dt { order: 2; font-size: .86rem; color: var(--text-2); }
.intro2-facts dd { order: 1; margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .intro2 { grid-template-columns: 1fr; } }

/* ---------- home about: photograph with a stat card, words and one action beside it ---------- */
.about3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about3-art { position: relative; margin: 0 0 1.5rem; }
.about3-art::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: 14px; background: var(--tint); z-index: -1; }
.about3-art img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-lg); }
.about3-stat { position: absolute; left: -1.4rem; bottom: -1.5rem; display: grid; gap: .15rem; padding: 1.1rem 1.4rem; min-width: 190px;
  background: var(--brand); color: #fff; border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(2,91,151,.6); }
.about3-stat b { font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.about3-stat span { font-size: .85rem; color: rgba(255,255,255,.88); }
.about3-text > p:not(.intro2-k) { color: var(--text-2); max-width: 56ch; }
.about3-points { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .65rem; }
.about3-points li { position: relative; padding-left: 1.9rem; color: var(--ink); font-weight: 500; }
.about3-points li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--tint); }
.about3-points li::after { content: ""; position: absolute; left: .42rem; top: .38em; width: .32rem; height: .6rem; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .about3 { grid-template-columns: 1fr; }
  .about3-art { margin: 0 1.4rem 2.5rem 0; }
  .about3-stat { left: 1rem; }
}

/* ---------- About ring ---------- */
.about3-ring { margin: 0; max-width: 560px; width: 100%; justify-self: center; }
.about3-ring svg { display: block; width: 100%; height: auto; overflow: visible; }
.ring-frame path { fill: none; stroke: #9DBBD4; stroke-width: 1.6; }
.ring-text { font-family: var(--f); font-size: 22px; font-weight: 600; letter-spacing: 0; fill: var(--ink); }
.ring-disc { fill: #D5E1EB; }
.ring-blades { transform-origin: 320px 320px; animation: ringTurn 90s linear infinite; }
.ring-blades path { stroke: #D5E1EB; stroke-width: 3; stroke-linejoin: round; transition: filter .3s ease; }
.ring-blades path:hover { filter: brightness(1.15); }
.ring-core { fill: #fff; }
.ring-logo { color: var(--logo); }
.ring-since { font-family: var(--f); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-anchor: middle; fill: var(--ink); }
@keyframes ringTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring-blades { animation: none; } }

/* ---------- home: family showcase (option 3 of options-products.html) ---------- */
.fshow { padding-block: clamp(3rem, 7vw, 5rem); }
/* desktop: buttons stack in column 1, the open panel fills column 2 */
.fs { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); grid-auto-rows: auto; column-gap: clamp(1.2rem, 3vw, 2.4rem); row-gap: .4rem; }
.fs-tab { grid-column: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.fs-tab i { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--m) 55%, var(--r) 55%); }
.fs-tab b { display: block; color: var(--ink); font-weight: 600; }
.fs-tab small { display: block; font-size: .8rem; color: var(--text-3); }
.fs-tab em { font-style: normal; font-size: .8rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fs-chev { display: none; }
.fs-tab:hover { border-color: var(--logo); }
.fs-tab:focus-visible { outline: 2px solid var(--logo); outline-offset: 2px; }
.fs-tab.is-on { background: var(--ink); border-color: var(--ink); }
.fs-tab.is-on b { color: #fff; } .fs-tab.is-on small, .fs-tab.is-on em { color: rgba(255,255,255,.7); }
.fs-pane { grid-column: 2; grid-row: 1 / span 6; position: relative; min-height: 440px; overflow: hidden; border-radius: 16px; background: var(--m); color: #fff; animation: fsIn .45s ease; }
.fs-pane[hidden] { display: none; }
.fs-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--m) 94%, #000) 0%, color-mix(in srgb, var(--m) 78%, transparent) 45%, transparent 78%); }
.fs-text { position: relative; z-index: 1; display: grid; gap: .6rem; align-content: end; height: 100%; max-width: 440px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.fs-text small { font-size: .82rem; color: rgba(255,255,255,.8); }
.fs-text h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; }
.fs-text p { color: rgba(255,255,255,.92); }
.fs-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 .6rem; }
.fs-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem .22rem .35rem; border-radius: 999px; font-size: .78rem; white-space: nowrap;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.fs-chip i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.fs-btn { justify-self: start; background: #fff; color: var(--ink); }
.fs-btn:hover { background: rgba(255,255,255,.88); color: var(--ink); }
@keyframes fsIn { from { opacity: 0; } }

/* phones: an accordion. Each family opens under its own button, photo first, then words on the family colour */
@media (max-width: 860px) {
  .fs { display: flex; flex-direction: column; gap: .5rem; }
  .fs-tab { grid-template-columns: auto 1fr auto auto; padding: .85rem .9rem; }
  .fs-tab em { display: none; }
  .fs-chev { display: block; width: 18px; height: 18px; color: var(--text-3); transition: rotate .3s ease; }
  .fs-tab.is-on { border-radius: 12px 12px 0 0; }
  .fs-tab.is-on .fs-chev { rotate: 180deg; color: #fff; }
  .fs-pane { min-height: 0; margin-top: -.5rem; border-radius: 0 0 12px 12px; animation: fsOpen .4s ease; }
  .fs-pane img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .fs-pane::after { display: none; }
  .fs-text { max-width: none; padding: 1.2rem 1.1rem 1.4rem; gap: .5rem; }
  .fs-text small { display: none; }
  .fs-text h3 { font-size: 1.45rem; }
  .fs-text p { font-size: .95rem; }
  .fs-btn { justify-self: stretch; text-align: center; }
  @keyframes fsOpen { from { opacity: 0; transform: translateY(-6px); } }
}
@media (prefers-reduced-motion: reduce) { .fs-pane { animation: none; } .fs-chev { transition: none; } }

/* ---------- home: application cards (option 1 of options-applications.html) ---------- */
.apc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.apc-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; color: #fff; text-decoration: none; background: var(--ink); }
.apc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s ease; }
.apc-card:hover img, .apc-card:focus-visible img { scale: 1.06; }
.apc-card:focus-visible { outline: 3px solid var(--logo); outline-offset: 3px; }
.apc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,41,62,.05) 30%, rgba(10,41,62,.9) 100%); transition: background .4s ease; }
.apc-card:hover .apc-shade, .apc-card:focus-visible .apc-shade { background: linear-gradient(180deg, rgba(10,41,62,.35) 0%, rgba(10,41,62,.95) 100%); }
.apc-body { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: grid; gap: .5rem; }
.apc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.apc-ic .ic { width: 20px; height: 20px; }
.apc-body b { font-size: 1.35rem; font-weight: 600; }
.apc-more { display: grid; gap: .6rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; }
.apc-card:hover .apc-more, .apc-card:focus-visible .apc-more { max-height: 12rem; opacity: 1; }
.apc-more em { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.88); }
.apc-more i { display: inline-flex; align-items: center; gap: .4rem; font-style: normal; font-weight: 600; font-size: .88rem; }
.apc-more .ic { width: 15px; height: 15px; }
@media (hover: none) { .apc-more { max-height: none; opacity: 1; } .apc-shade { background: linear-gradient(180deg, rgba(10,41,62,.15) 20%, rgba(10,41,62,.92) 100%); } }
@media (max-width: 900px) { .apc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .apc-grid { grid-template-columns: 1fr; } .apc-card { aspect-ratio: 4 / 3; } .apc-more { max-height: none; opacity: 1; } .apc-shade { background: linear-gradient(180deg, rgba(10,41,62,.15) 20%, rgba(10,41,62,.92) 100%); } }
@media (prefers-reduced-motion: reduce) { .apc-card img, .apc-more, .apc-shade { transition: none; } }

/* ---------- home: global presence hub (option 7 of options-presence.html, extended) ---------- */
.hubp { padding-block: clamp(3rem, 7vw, 5rem); background: radial-gradient(90% 70% at 50% 45%, var(--bg-2) 0%, #fff 70%); overflow: hidden; }
.hub { position: relative; aspect-ratio: 1100 / 580; max-width: 1100px; margin: .5rem auto 0; }
.hub-world { position: absolute; inset: -4% -8%; width: 116%; height: 108%; opacity: .6; pointer-events: none; }
.hub-world path { fill: none; stroke: #D3E3F0; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-route { fill: none; stroke: var(--logo); stroke-width: 2; stroke-linecap: round; opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(.6,.1,.2,1), opacity .3s ease, stroke-width .3s ease; }
.hub.is-in .hub-route { stroke-dashoffset: 0; }
.hub-route:nth-of-type(2) { transition-delay: .1s, 0s, 0s; } .hub-route:nth-of-type(3) { transition-delay: .2s, 0s, 0s; }
.hub-route:nth-of-type(4) { transition-delay: .3s, 0s, 0s; } .hub-route:nth-of-type(5) { transition-delay: .4s, 0s, 0s; }
.hub.has-hot .hub-route { opacity: .18; }
.hub.has-hot .hub-route.is-hot { opacity: 1; stroke-width: 3.5; }
.hub-ship { fill: var(--brand); stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .6s ease 1.4s; }
.hub.is-in .hub-ship { opacity: 1; }
.hub.has-hot .hub-ship { opacity: .25; }

.hub-core { position: absolute; translate: -50% -50%; display: grid; place-items: center; z-index: 2; }
.hub-hub { position: relative; display: grid; justify-items: center; gap: .25rem; padding: 1.2rem 1.5rem; border-radius: 20px; background: var(--ink); color: #fff; text-align: center;
  box-shadow: 0 24px 50px -18px rgba(10,41,62,.6); scale: .85; opacity: 0; transition: scale .8s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.hub.is-in .hub-hub { scale: 1; opacity: 1; }
.hub-hub .lg-mark { width: 46px; height: 46px; color: #38B2FF; }
.hub-hub b { font-weight: 600; } .hub-hub small { font-size: .78rem; color: rgba(255,255,255,.72); }
.hub-ring { position: absolute; inset: -10px; border-radius: 26px; border: 2px solid var(--logo); opacity: 0; animation: hubRing 3s ease-out infinite; }
.hub-ring--2 { animation-delay: 1.5s; }
@keyframes hubRing { 0% { opacity: .55; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.45); } }

.hub-node { position: absolute; z-index: 3; translate: -50% -50%; width: min(240px, 23vw); padding: .85rem 1rem .95rem; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.96); box-shadow: var(--shadow); cursor: default; outline: none;
  opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease var(--d), transform .6s cubic-bezier(.2,.8,.2,1) var(--d), border-color .25s ease, box-shadow .25s ease; }
.hub.is-in .hub-node { opacity: 1; transform: none; }
.hub-node header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.hub-node b { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.hub-count { flex: none; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .4rem; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: .82rem; font-weight: 700; }
.hub-node ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: .6rem 0 0; padding: 0; }
.hub-node li { padding: .15rem .5rem; border-radius: 999px; background: var(--bg-2); font-size: .75rem; color: var(--text-2); }
.hub-node.is-hot, .hub-node:focus-visible { border-color: var(--logo); box-shadow: 0 18px 40px -20px rgba(3,142,235,.55); }
.hub-node.is-hot .hub-count { background: var(--logo); color: #fff; }

.hub-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.hub-figs div { display: grid; gap: .15rem; padding-left: 1rem; border-left: 3px solid var(--logo); }
.hub-figs dd { order: 1; margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hub-figs dt { order: 2; font-size: .88rem; color: var(--text-2); }
.hub-cta { margin-top: 1.8rem; text-align: center; }

/* phones: a vertical route. Gujarat first, then each region hanging off one line */
@media (max-width: 760px) {
  .hub { aspect-ratio: auto; display: grid; gap: .8rem; padding-left: 1.4rem; }
  .hub::before { content: ""; position: absolute; left: .45rem; top: 2rem; bottom: 2rem; border-left: 2px dashed var(--logo); opacity: .5; }
  .hub-world, .hub-lines, .hub-ring { display: none; }
  .hub-core, .hub-node { position: relative; left: auto !important; top: auto !important; translate: none; width: auto; }
  .hub-core { justify-items: stretch; }
  .hub-hub { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: .1rem .9rem; text-align: left; padding: .9rem 1.1rem; }
  .hub-hub .lg-mark { width: 34px; height: 34px; grid-row: span 2; }
  .hub-node::before { content: ""; position: absolute; left: -1.25rem; top: 1.2rem; width: 12px; height: 12px; border-radius: 50%; background: var(--logo); box-shadow: 0 0 0 4px #fff; }
  .hub-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-route { transition: none; stroke-dashoffset: 0; } .hub-ring { animation: none; }
  .hub-hub, .hub-node { transition: none; opacity: 1; transform: none; scale: 1; }
}

/* ---------- home: global presence figures, one blue band with the call to action inside ---------- */
.hub-stats { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; margin-top: clamp(1.8rem, 3vw, 2.8rem);
  border-radius: 20px; color: #fff; background: linear-gradient(110deg, #025B97 0%, var(--brand) 45%, var(--logo) 100%); box-shadow: 0 30px 60px -30px rgba(2,91,151,.6); }
.hub-stats::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); pointer-events: none; }
.hs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.hs-list div { display: grid; grid-template-columns: 1fr; row-gap: .35rem; align-content: center; justify-items: start;
  padding: clamp(1.3rem, 2.4vw, 1.9rem) clamp(1rem, 2vw, 1.6rem); border-right: 1px solid rgba(255,255,255,.16); }
.hs-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .35rem; border-radius: 11px; background: rgba(255,255,255,.14); }
.hs-ic .ic { width: 20px; height: 20px; color: #fff; }
.hs-list dd { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-list dt { font-size: .85rem; color: rgba(255,255,255,.8); }
.hs-cta { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; align-content: center; align-items: center;
  padding: 1.3rem clamp(1.2rem, 2.2vw, 1.8rem); background: #fff; color: var(--ink); text-decoration: none; min-width: 230px; transition: background .25s ease; }
.hs-cta span { font-weight: 600; color: var(--brand); }
.hs-cta small { grid-row: 2; font-size: .82rem; color: var(--text-3); }
.hs-cta .ic { grid-row: span 2; grid-column: 2; grid-row-start: 1; width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--tint); color: var(--brand); transition: translate .3s ease, background .3s ease, color .3s ease; }
.hs-cta:hover { background: var(--bg-2); }
.hs-cta:hover .ic { translate: 4px 0; background: var(--brand); color: #fff; }
@media (max-width: 1100px) { .hub-stats { grid-template-columns: 1fr; } .hs-cta { min-width: 0; } }
@media (max-width: 760px) {
  .hs-list { grid-template-columns: 1fr 1fr; }
  .hs-list div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hs-list div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); }
}

.hs-list div:last-child { border-right: 0; }
@media (max-width: 760px) { .hs-list div:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- home: applications in detail (same card as the sectors, .apc-card) ---------- */
.uses-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.uses-h { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 600; color: var(--ink); }
.uses-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* seven cards: four to a row like the sectors, the last row centred */
.apc-grid--uses { display: flex; flex-wrap: wrap; justify-content: center; }
.apc-grid--uses .apc-card { flex: 0 0 calc((100% - 3 * clamp(.8rem, 1.6vw, 1.2rem)) / 4); }
@media (max-width: 900px) { .apc-grid--uses .apc-card { flex-basis: calc((100% - clamp(.8rem, 1.6vw, 1.2rem)) / 2); } }
@media (max-width: 520px) { .apc-grid--uses .apc-card { flex-basis: 100%; } }

/* ---------- global presence on phones: map, region chips, countries ---------- */
.hubm { display: none; }
@media (max-width: 760px) {
  .hub { display: none; }
  .hubm { display: none; }                         /* phones: the four figures only */
  .hubm-map { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #06182A, #0A293E); padding: .6rem .4rem 2.4rem; }
  .hubm-map svg { display: block; width: 100%; height: auto; }
  .hubm-dots { fill: none; stroke: #2A5173; }
  .hubm-arc { fill: none; stroke: #38B2FF; stroke-width: 2.2; opacity: .28; stroke-dasharray: 1; stroke-dashoffset: 0; transition: opacity .3s ease, stroke-width .3s ease; }
  .hubm-arc.is-lit { opacity: 1; stroke-width: 3.2; animation: hubmDraw 1s ease; filter: drop-shadow(0 0 4px rgba(56,178,255,.8)); }
  @keyframes hubmDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .hubm-pin { fill: #38B2FF; stroke: #06182A; stroke-width: 3; opacity: .45; transition: opacity .3s ease, r .3s ease; }
  .hubm-pin.is-lit { opacity: 1; r: 13; fill: #fff; stroke: #38B2FF; stroke-width: 4; }
  .hubm-home { fill: #fff; stroke: #038EEB; stroke-width: 5; }
  .hubm-pulse { fill: #38B2FF; transform-box: fill-box; transform-origin: center; animation: pPulseM 2.2s ease-out infinite; }
  @keyframes pPulseM { from { transform: scale(1); opacity: .5; } to { transform: scale(3.4); opacity: 0; } }
  .hubm-origin { position: absolute; left: .9rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; color: rgba(255,255,255,.8); }
  .hubm-origin i { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #038EEB; }
  .hubm-chips { display: flex; gap: .45rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .1rem .1rem .4rem; scrollbar-width: none; }
  .hubm-chips::-webkit-scrollbar { display: none; }
  .hubm-chip { flex: none; scroll-snap-align: center; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px;
    background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
  .hubm-chip span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: .75rem; }
  .hubm-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
  .hubm-chip.is-on span { background: rgba(255,255,255,.22); color: #fff; }
  .hubm-panel { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); animation: fsIn .35s ease; }
  .hubm-panel b { display: block; margin-bottom: .6rem; color: var(--ink); font-weight: 600; }
  .hubm-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
  .hubm-panel li { padding: .25rem .65rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .85rem; color: var(--text-2); }
}
@media (prefers-reduced-motion: reduce) { .hubm-arc.is-lit, .hubm-pulse, .hubm-panel { animation: none; } }

@media (max-width: 760px) { .hub-stats { margin-top: 1rem; } }
