@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  scroll-padding-top: 92px;
  --bg: #101d33;
  --bg2: #15253f;
  --surface: #1a2d4c;
  --ink: #eef3fa;
  --muted: #a9b9cf;
  --line: rgba(148, 180, 220, 0.16);
  --accent: #2dc4d6;
  --accent-rgb: 45, 196, 214;
  --accent-2: #e3b567;
  --ink-on: #04202a;
  --header: rgba(16, 29, 51, 0.92);
  --topbar: #0b1628;
  --shadow: 0 22px 50px rgba(2, 8, 20, 0.4);
  --lattice: rgba(227, 181, 103, 0.92);
  --lattice-2: rgba(110, 214, 228, 0.78);
  --max: 1320px;
  --serif: "Sora", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
html[data-theme="light"] {
  --bg: #f4f7fb;
  --bg2: #e8eef6;
  --surface: #ffffff;
  --ink: #0f1d33;
  --muted: #52637c;
  --line: rgba(15, 45, 90, 0.12);
  --accent: #0a6f8e;
  --accent-rgb: 10, 111, 142;
  --accent-2: #9a6a1c;
  --ink-on: #ffffff;
  --header: rgba(244, 247, 251, 0.94);
  --topbar: #e6edf6;
  --shadow: 0 16px 40px rgba(15, 45, 90, 0.1);
  --lattice: rgba(10, 90, 120, 0.72);
  --lattice-2: rgba(154, 106, 28, 0.55);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}
body {
  margin: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.wrap { width: min(calc(100% - 36px), var(--max)); margin: auto; }
.skip { position: absolute; left: 10px; top: -40px; background: var(--accent); color: var(--ink-on); padding: 8px 12px; z-index: 90; }
.skip:focus { top: 8px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.topbar { background: var(--topbar); color: var(--muted); font-size: 0.82rem; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { min-height: 74px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.brand span { color: var(--muted); font-size: 0.75rem; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop > button {
  position: relative; color: var(--muted); background: none; border: 0; padding: 10px 11px; border-radius: 0;
}
.nav-links > a.active, .nav-links > a:hover, .nav-drop > button:hover, .nav-drop.is-current > button { color: var(--ink); }
.nav-links > a.active::after, .nav-drop.is-current > button::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 0;
}
.nav-drop { position: relative; }
.nav-drop-panel {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow);
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { display: grid; }
.nav-drop-panel a { padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.nav-drop-panel a:hover { background: rgba(var(--accent-rgb), 0.12); }
.header-actions { display: flex; gap: 6px; }
.icon-btn, .menu-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center;
}
.menu-toggle { display: none; width: auto; padding: 0 12px; }
.icon-btn svg, .menu-toggle svg, .tag svg { width: 18px; height: 18px; display: block; }
.theme-toggle { position: relative; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.menu-toggle { width: 40px; padding: 0; }
.mfg-shell { width: 100%; margin: 0; }
.mfg-shell .slide-frame { width: 100%; aspect-ratio: auto; height: min(68vh, 580px); min-height: 380px; border-radius: 0; }
.mfg-ui { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 14px; color: #fff; letter-spacing: 0.12em; font-size: 0.75rem; }
.mfg-dots { display: flex; gap: 8px; }
.mfg-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.35); }
.mfg-dots button.active { background: #2dc4d6; box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); transform: scale(1.15); }
.mfg-shell .progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.mfg-shell .progress-fill { background: linear-gradient(90deg, #2dc4d6, #e3b567); }
.mfg-shell .slide-copy { left: max(20px, calc((100% - 1320px) / 2)); right: auto; max-width: 560px; bottom: 54px; padding: 0 8px 8px; background: none; }
.mfg-shell .slide-copy h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.reveal, .card, .step, .process-step { opacity: 0; transform: translateY(16px); }
.card.in, .reveal.in, .step.in, .process-step.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease, border-color .25s ease; }
.tag { display: inline-flex; align-items: center; gap: 6px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.inst-card h3 a { color: inherit; }
.mobile-panel { display: none; border-top: 1px solid var(--line); padding: 8px 0 14px; }
.mobile-panel.open { display: block; }
.mobile-panel a { display: block; padding: 9px 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 16px; font-weight: 700; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--ink-on); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-small { padding: 8px 12px; font-size: 0.9rem; }
.kicker { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.page-hero { padding: 36px 0 8px; }
.hero { padding: 28px 0 12px; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); margin: 10px 0 14px; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.crumbs a:hover { color: var(--accent); }

.hero-split { width: min(calc(100% - 40px), 1440px); margin: auto; display: grid; grid-template-columns: minmax(300px, 0.84fr) minmax(420px, 1.16fr); gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.fact-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { border-top: 2px solid var(--accent); padding: 8px 12px 0 0; min-width: 108px; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.fact span { color: var(--muted); font-size: 0.78rem; }

.carousel { position: relative; }
.slide-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #0a1424; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 54px 64px 18px;
  background: linear-gradient(transparent, rgba(6, 12, 24, 0.82)); color: #f1f5fb;
}
.slide-copy small { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; color: #e3b567; }
.slide-copy h2 { font-size: 1.55rem; margin: 4px 0; color: white; }
.slide-copy p { margin: 0; color: #d6e2f1; font-size: 0.95rem; max-width: 42ch; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 56px; border: 0; border-radius: 50%; color: #fff;
  background: rgba(6, 14, 28, 0.55); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 0;
}
.car-btn:hover { background: rgba(10, 111, 142, 0.92); }
.car-btn.prev { left: 16px; }
.car-btn.next { right: 16px; }
.car-btn svg { width: 34px; height: 34px; display: block; }
.car-meta { position: absolute; left: 68px; right: 68px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 0.78rem; letter-spacing: 0.12em; }
.progress-track { flex: 1; height: 2px; background: rgba(255,255,255,.28); border-radius: 99px; overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 0; background: #fff; transition: width .4s ease; }
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 18px; flex-wrap: wrap; }
.section-head > div { flex: 1 1 auto; min-width: 0; }
.section-head > a, .section-head > .btn { flex: 0 0 auto; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: none; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: stretch; }
.card { background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card .pad { padding: 20px 22px 22px; }
.bullets { list-style: none; margin: 8px 0 0; padding: 4px 22px 18px 22px; }
.bullets li { position: relative; margin: 0 0 12px; padding-left: 28px; line-height: 1.55; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.2 6.2 11.5 13 4.5' fill='none' stroke='%230fa3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px 16px no-repeat;
}
.card.timeline { padding: 6px 10px 10px; }
.tl { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.enquiry { display: grid; gap: 16px; padding: 4px 22px 22px; }
.enquiry label { display: grid; gap: 6px; font-weight: 650; }
.enquiry .btn { width: auto; justify-self: start; }
.field, textarea.field { min-height: 46px; padding: 10px 12px; }
.field:focus, textarea.field:focus, .search:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22); }
.field.is-invalid, textarea.field.is-invalid { border-color: #c46b4a; }
.field-error { color: #e7b4a0; font-size: 0.82rem; font-weight: 700; }
html[data-theme="light"] .field-error { color: #8a3d24; }
.card + .card { margin-top: 0; }
.detail-grid .card { margin-bottom: 14px; }
.card > h2, .card > h3, .card > p, .card > ul, .card > ol, .card > .steps { padding-left: 22px; padding-right: 22px; }
.card > h2, .card > h3 { padding-top: 20px; }
.card > :last-child { padding-bottom: 20px; }
.card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.card p, .card li { color: var(--muted); }
.shot { overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.shot img, img.media { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; display: block; transition: transform .5s ease; }
a.card:hover, article.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--shadow); }
a.card:hover .shot img, article.card:hover .shot img { transform: scale(1.05); }
.more { display: inline-flex; margin-top: 8px; font-weight: 700; color: var(--accent); }
a.card:hover .more { letter-spacing: 0.02em; }
.meta { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip, .search, .field, textarea.field {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 12px;
}
.chip[aria-pressed="true"] { background: var(--accent); color: var(--ink-on); border-color: transparent; }
.search, .field, textarea.field { border-radius: 12px; }
.field, textarea.field { width: 100%; }
textarea.field { min-height: 120px; }
.instrument-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tag { font-size: 0.75rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 10px; }
.step-no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); font-family: var(--serif); }
.callout { border-left: 3px solid var(--accent-2); padding: 12px 14px; background: rgba(227,181,103,.12); border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
th { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
tr.group td { background: #162a47; font-family: var(--serif); }
html[data-theme="light"] tr.group td { background: #e3eef8; }
.detail-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 16px; }
.side-card { position: sticky; top: 96px; }
.timeline { display: grid; gap: 12px; }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: 10px; }
.empty { padding: 20px; color: var(--muted); text-align: center; }
.doc-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }

.search-dialog { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; z-index: 70; padding: 12vh 16px; }
.search-dialog.open { display: block; }
.search-panel { width: min(680px, 100%); margin: auto; background: var(--surface); border-radius: 16px; padding: 14px; }
.search-panel input { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px; }
.search-results { margin-top: 8px; display: grid; max-height: 46vh; overflow: auto; }
.search-results a { padding: 10px; border-radius: 8px; display: block; }
.search-results a:hover { background: rgba(var(--accent-rgb), .12); }
.search-results small { display: block; color: var(--muted); }

.site-footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 34px 0 18px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 8px; }
.site-footer a, .site-footer p { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer a.btn-primary { color: #04202a; }
html[data-theme="light"] .site-footer a.btn-primary { color: #ffffff; }
.btn .btn-ico, .wa-link .btn-ico { width: 18px; height: 18px; flex: none; display: block; }
.btn-small .btn-ico { width: 16px; height: 16px; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.wa-link:hover { color: var(--accent-2); }
.section + .section { scroll-margin-top: 92px; }
.section:has(.steps-strong) + .section { padding-top: 84px; }
.grid-2 + .grid-3, .section .grid-2 { align-items: start; }
.page-hero .grid-2 { align-items: stretch; }
.foot-links { display: grid; gap: 6px; }
.legal { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .hero-split, .grid-3, .grid-2, .detail-grid, .instrument-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-split, .grid-5 { grid-template-columns: 1fr; width: min(calc(100% - 28px), 1440px); }
  .grid-5 { width: auto; grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .tl { grid-template-columns: 1fr; }
  .slide-copy { padding: 48px 56px 16px; }
}
@media (max-width: 700px) {
  .hero-split, .grid-3, .grid-2, .grid-5, .detail-grid, .instrument-grid, .foot-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .side-card { position: static; }
  h1 { font-size: 2.2rem; }
  .car-btn { width: 48px; height: 48px; }
  .car-btn svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .card, .reveal, .btn, .process-step, .spec, .slide img { transition: none; }
  .card, .reveal { opacity: 1; transform: none; }
  .slide img { transform: none; }
  html { scroll-behavior: auto; }
  main { animation: none; }
}

main { animation: rise .45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.nav-links > a, .nav-drop > button { font-weight: 650; }
.nav-drop.is-current > button { color: var(--ink); box-shadow: none; }
.nav-drop-panel {
  border: 1px solid var(--line);
  padding: 8px;
  margin-top: 6px;
}
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-drop-panel a.active { background: rgba(var(--accent-rgb), 0.14); color: var(--ink); }
.mobile-panel a.active { color: var(--accent); font-weight: 700; }
.nav-cta { white-space: nowrap; }
.header-actions { align-items: center; }
.btn { transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.22); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.mfg-shell { touch-action: pan-y; }
.mfg-shell .slide-frame { height: min(78vh, 720px); min-height: 440px; }
.slide-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(4, 11, 24, 0.9) 0%, rgba(4, 11, 24, 0.55) 48%, rgba(4, 11, 24, 0.18) 100%);
}
.slide-veil::after { content: none; }
.slide img { position: relative; z-index: 0; }
.slide.active img { transform: scale(1.045); transition: transform 8s ease; }
.mfg-shell .slide-copy {
  z-index: 2;
  left: max(28px, calc((100% - 1320px) / 2));
  right: auto;
  bottom: 72px;
  max-width: min(640px, calc(100% - 132px));
  padding: 22px 24px 20px;
  border-radius: 18px;
  background: rgba(6, 14, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}
.mfg-shell .slide-copy h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 6px 0 8px; }
.mfg-shell .slide-copy p { font-size: 1.02rem; margin-bottom: 14px; }
.mfg-shell .slide-copy .btn { margin-top: 2px; }
.mfg-ui { gap: 0; letter-spacing: 0; }
.mfg-dots button {
  width: 28px; height: 28px; border-radius: 99px; background: transparent; position: relative;
}
.mfg-dots button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,.45); transform: translate(-50%, -50%); transition: width .25s ease, background .25s ease;
}
.mfg-dots button.active { background: transparent; box-shadow: none; transform: none; }
.mfg-dots button.active::before { width: 22px; background: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.car-btn, .mfg-ui, .mfg-shell .progress-track { z-index: 4; }

.intro { padding: 56px 0 28px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.intro-panel {
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  padding: 22px 22px 8px; backdrop-filter: blur(8px);
}
.intro-panel li { margin: 0 0 14px; color: var(--muted); }
.glance { padding-top: 10px; }
.glance-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.glance-item, .fact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 16px;
  border-top: 2px solid var(--accent);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
@media (hover: hover) {
  .glance-item:hover, .fact:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.55);
    box-shadow: var(--shadow);
    background: var(--bg2);
  }
}
.glance-item strong, .fact strong {
  display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1;
}
.glance-item span, .fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.section-num { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.page-hero { padding: 42px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: relative; }
.page-hero .grid-2 { align-items: stretch; }
.page-hero figure.card { margin: 0; height: 100%; display: flex; min-height: 260px; }
.page-hero .shot { flex: 1; width: 100%; height: 100%; aspect-ratio: auto; min-height: 260px; }
.page-hero .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; aspect-ratio: auto; }
.page-hero::after { content: none; }
.caption { color: var(--muted); font-size: 0.82rem; }
.callout.warn { border-left-color: var(--accent-2); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 16px; min-width: 0;
  transition: transform .25s ease, border-color .25s ease;
}
.process-step:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.45); }
.process-no { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--accent); letter-spacing: -0.03em; margin-bottom: 8px; }
.process-step h3 { margin: 0 0 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.steps-strong .step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; align-items: start;
}
@media (hover: hover) {
  .step.in:hover, .process-step.in:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.45); }
}
.step-no { font-size: 1rem; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.spec {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px;
  min-height: 100%; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.spec:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.5); box-shadow: var(--shadow); }
.spec strong { display: block; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.03em; }
.spec b { display: block; font-weight: 700; margin: 2px 0 6px; }
.spec span { display: block; color: var(--muted); font-size: 0.92rem; }
.shot.lattice-shot {
  display: grid; place-items: center; color: var(--accent-2); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.78rem; font-weight: 700;
  background:
    radial-gradient(circle at 30% 40%, rgba(var(--accent-rgb), 0.09), transparent 46%),
    linear-gradient(rgba(8, 18, 34, 0.62), rgba(8, 18, 34, 0.62)),
    url("../images/nano/lattice-bg.svg"),
    linear-gradient(160deg, #10294a, #09152a);
  background-size: auto, auto, cover, auto;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.action-band {
  border: 1px solid var(--line); border-radius: 18px; padding: 22px; background:
    radial-gradient(420px 120px at 100% 0%, rgba(var(--accent-rgb), 0.05), transparent 70%),
    var(--surface);
}
tbody tr:hover td { background: #182b48; }
tr.group:hover td { background: #1b3557; }
html[data-theme="light"] tbody tr:hover td { background: #f0f5fb; }
html[data-theme="light"] tr.group:hover td { background: #d6e6f4; }

@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .process, .spec-grid, .glance-row { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .mfg-shell .slide-frame { height: auto; min-height: 520px; }
  .mfg-shell .slide-copy { left: 16px; right: 16px; bottom: 56px; max-width: none; padding: 16px; }
  .mfg-shell .slide-copy h2 { font-size: 1.7rem; }
  .car-btn.prev { left: 8px; }
  .car-btn.next { right: 8px; }
  .process, .spec-grid, .glance-row, .intro-grid { grid-template-columns: 1fr; }
  .page-hero::after { display: none; }
}

/* ---- Navigation typography ---- */
.nav-links > a, .nav-drop > button {
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em;
}
.nav-links > a.active, .nav-drop.is-current > button { color: var(--ink); }

/* ---- WhatsApp group: icon + number, with (Text Only) beneath ---- */
.wa-group { --wa-ico: 1.25rem; --wa-gap: 0.5rem; display: inline-flex; flex-direction: column; align-items: flex-start; vertical-align: middle; line-height: 1.25; }
.wa-link { display: inline-flex; align-items: center; gap: var(--wa-gap); color: inherit; font-weight: 600; }
.wa-link:hover { color: var(--accent); }
.wa-ico { width: var(--wa-ico); height: var(--wa-ico); flex: none; display: block; color: #25d366; }
.wa-num { font-variant-numeric: tabular-nums; }
.wa-note { padding-left: calc(var(--wa-ico) + var(--wa-gap)); font-size: 0.85em; font-weight: 400; color: var(--muted); }
.foot-links .wa-group { justify-self: start; }

/* ---- Subtler decorative background ---- */
html { background-color: var(--bg); }

/* ---- Symmetric cards ---- */
.grid-3 { gap: clamp(16px, 2vw, 24px); }
.grid-3 > .card, .grid-5 > .card, .instrument-grid > .card { display: flex; flex-direction: column; }
.grid-3 > .card > .pad, .grid-5 > .card > .pad, .instrument-grid > .card > .pad { flex: 1; display: flex; flex-direction: column; }
.grid-3 > .card > .pad .more, .grid-5 > .card > .pad .more, .instrument-grid > .card > .pad .more { margin-top: auto; padding-top: 10px; }
.grid-5 .pad h3, .grid-3 .pad h3 { text-wrap: balance; line-height: 1.2; }
.grid-5 .pad p, .grid-3 .pad p { font-size: 0.95rem; line-height: 1.5; margin: 0 0 12px; text-wrap: pretty; }
@media (min-width: 1101px) {
  .grid-5 .pad p { min-height: 4.5em; }
}

/* ---- Instruments: stat boxes, filter, grid spacing ---- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); margin: 22px 0; }
.stat-row .fact { min-width: 0; padding: 18px 12px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.stat-row .fact strong { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.stat-row .fact span { margin-top: 8px; font-size: 0.9rem; line-height: 1.3; min-height: 2.6em; text-wrap: balance; }
.filter-search { display: block; width: 100%; margin-top: 14px; }
@media (min-width: 981px) { .filter-search { width: 50%; } }
.instrument-grid { gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Gallery: each machine shown as its own image ---- */
.shot.shot-fit { background: #e4e5e2; }
.shot.shot-fit img { object-fit: contain; }
.shot.shot-column img { object-position: 50% 18%; }

/* ---- Forms: card padding, equal columns, bottom-aligned actions ---- */
.grid-2:has(> .card[data-form]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.card[data-form] { display: flex; flex-direction: column; padding: 22px 24px 22px; }
.card[data-form] > h3, .card[data-form] > p { padding-left: 0; padding-right: 0; }
.card[data-form] > h3 { padding-top: 6px; margin: 0 0 8px; }
.card[data-form] > p { margin: 0 0 18px; }
.card[data-form] > :last-child { padding-bottom: 0; }
.card[data-form] .doc-row { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); gap: 12px; }
.card[data-form] .doc-row > span { display: inline-flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) {
  .grid-2:has(> .card[data-form]) { grid-template-columns: 1fr; }
  .card[data-form] { padding: 18px 18px 18px; }
}
.doc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.doc-link:hover { color: var(--accent-2); }
.doc-link .btn-ico { width: 18px; height: 18px; flex: none; }

/* ---- At a glance: equal, fixed-width boxes (no stretching) ---- */
.glance-row { grid-template-columns: repeat(4, 280px); justify-content: space-between; row-gap: 16px; }
.glance-item { min-width: 0; }
@media (max-width: 1220px) { .glance-row { grid-template-columns: repeat(2, 280px); } }
@media (max-width: 700px) { .glance-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Full-page image background (replaces hexagon pattern) ---- */
:root { --veil: rgba(16, 29, 51, 0.96); --page-img: url("../images/bg/page-dark.webp"); --hero-o: 0.26; }
html[data-theme="light"] { --veil: rgba(244, 247, 251, 0.94); --page-img: url("../images/bg/page-light.webp"); --hero-o: 0.4; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--veil), var(--veil)), var(--page-img) 0 0 / 960px 960px repeat;
}

/* ---- Per-page hero images ---- */
.page-hero[data-hero] > .wrap { position: relative; z-index: 1; }
.page-hero[data-hero]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--hero-img) center / cover no-repeat; opacity: var(--hero-o);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 48%, #000 90%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 48%, #000 90%);
}
.page-hero[data-hero="about"] { --hero-img: url("../images/bg/hero-about.webp"); }
.page-hero[data-hero="research"] { --hero-img: url("../images/bg/hero-research.webp"); }
.page-hero[data-hero="facilities"] { --hero-img: url("../images/bg/hero-facilities.webp"); }
.page-hero[data-hero="instruments"] { --hero-img: url("../images/bg/hero-instruments.webp"); }
.page-hero[data-hero="gallery"] { --hero-img: url("../images/bg/hero-gallery.webp"); }
.page-hero[data-hero="guidelines"] { --hero-img: url("../images/bg/hero-guidelines.webp"); }
.page-hero[data-hero="rates"] { --hero-img: url("../images/bg/hero-rates.webp"); }
.page-hero[data-hero="forms"] { --hero-img: url("../images/bg/hero-forms.webp"); }
.page-hero[data-hero="contact"] { --hero-img: url("../images/bg/hero-contact.webp"); }
.page-hero[data-hero="lost"] { --hero-img: url("../images/bg/hero-lost.webp"); }
.page-hero[data-hero="microscopy"] { --hero-img: url("../images/bg/hero-microscopy.webp"); }
.page-hero[data-hero="thermal"] { --hero-img: url("../images/bg/hero-thermal.webp"); }
.page-hero[data-hero="spectroscopy"] { --hero-img: url("../images/bg/hero-spectroscopy.webp"); }
.page-hero[data-hero="electro"] { --hero-img: url("../images/bg/hero-electro.webp"); }
.page-hero[data-hero="chemical"] { --hero-img: url("../images/bg/hero-chemical.webp"); }
@media (max-width: 700px) {
  .page-hero[data-hero]::before {
    opacity: calc(var(--hero-o) * 0.6);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 95%); mask-image: linear-gradient(180deg, #000, transparent 95%);
  }
}

/* ---- Floating-label enquiry form (standard / underline style) ---- */
.enquiry { gap: 26px; padding-top: 10px; }
.enquiry .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.enquiry .float { position: relative; z-index: 0; display: block; }
.enquiry .float .field {
  display: block; width: 100%; min-height: 0; padding: 12px 0 8px; font-size: 1rem; line-height: 1.5;
  background: transparent; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; appearance: none; box-shadow: none;
  transition: border-color .2s ease;
}
.enquiry .float textarea.field { min-height: 110px; resize: vertical; }
.enquiry .float .field:focus { outline: none; box-shadow: none; border-bottom-color: var(--accent); }
.enquiry .float .field.is-invalid { border-bottom-color: #c46b4a; }
.enquiry .float > label {
  position: absolute; left: 0; top: 12px; z-index: -1; display: block; gap: 0; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: 400; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: 0 0;
  transition: transform .3s ease, color .3s ease;
}
.enquiry .float .field:focus + label,
.enquiry .float .field:not(:placeholder-shown) + label { transform: translateY(-24px) scale(0.75); }
.enquiry .float .field:focus + label { color: var(--accent); }
.enquiry .float:has(.field:required) > label::after { content: " *"; color: var(--accent-2); }
.enquiry .float .field.is-invalid + label { color: #c46b4a; }
.enquiry .float .field-error { display: block; margin-top: 6px; }
.enquiry .btn { margin-top: 6px; }
@media (max-width: 700px) { .enquiry .row-2 { grid-template-columns: 1fr; gap: 26px; } }
@media (prefers-reduced-motion: reduce) { .enquiry .float > label, .enquiry .float .field { transition: none; } }

/* ---- Home slider: picture wrapper + refined prev/next buttons ---- */
.slide picture { display: block; width: 100%; height: 100%; }
.car-btn {
  width: 52px; height: 52px; background: rgba(6, 14, 28, 0.42); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px); transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.car-btn svg { width: 26px; height: 26px; }
.car-btn:hover { background: var(--accent); border-color: transparent; color: var(--ink-on); transform: translateY(-50%) scale(1.06); }
.car-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.car-btn.prev { left: clamp(10px, 2vw, 28px); }
.car-btn.next { right: clamp(10px, 2vw, 28px); }
@media (max-width: 700px) { .car-btn { width: 44px; height: 44px; } .car-btn svg { width: 22px; height: 22px; } }

/* ---- Page background: soft colour-wash + fine dot grid (replaces image tiles) ---- */
:root {
  --bg-wash:
    radial-gradient(1100px 700px at 100% -10%, rgba(45, 196, 214, 0.07), transparent 62%),
    radial-gradient(900px 600px at -10% 105%, rgba(227, 181, 103, 0.045), transparent 62%),
    radial-gradient(800px 500px at 55% 45%, rgba(60, 120, 200, 0.05), transparent 65%);
  --bg-dots: radial-gradient(rgba(150, 200, 235, 0.055) 1px, transparent 1.4px);
}
html[data-theme="light"] {
  --bg-wash:
    radial-gradient(1100px 700px at 100% -10%, rgba(10, 111, 142, 0.055), transparent 62%),
    radial-gradient(900px 600px at -10% 105%, rgba(176, 122, 30, 0.035), transparent 62%),
    radial-gradient(800px 500px at 55% 45%, rgba(70, 130, 210, 0.035), transparent 65%);
  --bg-dots: radial-gradient(rgba(15, 60, 110, 0.06) 1px, transparent 1.4px);
}
body::before { background: linear-gradient(var(--veil), var(--veil)), var(--page-img) center / cover no-repeat; }
@media (min-width: 701px) {
  .mfg-shell .slide-copy { left: max(88px, calc((100% - 1320px) / 2)); max-width: min(640px, calc(100% - 200px)); }
}
@media (max-width: 700px) { .car-btn { top: 24%; } }
/* Hero image: fade out toward the bottom so it never sits behind controls */
@media (min-width: 701px) {
  .page-hero[data-hero]::before {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 48%, #000 90%), linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 48%, #000 90%), linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}

/* ---- Search inputs with a leading magnifier icon ---- */
.search-box { position: relative; display: block; width: 100%; margin-top: 14px; }
.search-box .search { display: block; width: 100%; padding-left: 44px; min-height: 46px; }
.search-box .search-ico { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s ease; }
.search-box:focus-within .search-ico { color: var(--accent); }
@media (min-width: 981px) { .search-box { width: 50%; } }
.search-panel input {
  padding-left: 44px;
  background-repeat: no-repeat; background-position: 14px 50%; background-size: 20px 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='6.5' fill='none' stroke='%2395a3b8' stroke-width='1.8'/><path d='M16 16l4.5 4.5' fill='none' stroke='%2395a3b8' stroke-width='1.8' stroke-linecap='round'/></svg>");
}

/* ---- Slide text card: more transparent so the image shows through ---- */
.mfg-shell .slide-copy {
  background: rgba(6, 14, 28, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mfg-shell .slide-copy h2, .mfg-shell .slide-copy p, .mfg-shell .slide-copy small { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }

/* ---- Facilities: balanced group rows ---- */
#microscopy .grid-3, #thermal .grid-3, #spectroscopy .grid-3, #electro .grid-3, #chemical .grid-3 {
  gap: clamp(14px, 1.5vw, 20px); align-items: stretch;
}
/* A group with 4 techniques sits as 4 across (or 2 x 2), never 3 + 1 */
@media (min-width: 1200px) {
  #microscopy .grid-3:has(> :nth-child(4):last-child), #thermal .grid-3:has(> :nth-child(4):last-child),
  #spectroscopy .grid-3:has(> :nth-child(4):last-child), #electro .grid-3:has(> :nth-child(4):last-child),
  #chemical .grid-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 1199px) {
  #microscopy .grid-3:has(> :nth-child(4):last-child), #thermal .grid-3:has(> :nth-child(4):last-child),
  #spectroscopy .grid-3:has(> :nth-child(4):last-child), #electro .grid-3:has(> :nth-child(4):last-child),
  #chemical .grid-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Hero photo always fills its frame (no dark strip at the bottom) */
.page-hero .shot { position: relative; }
.page-hero .shot img { position: absolute; inset: 0; }

/* ---- Gallery: remove default <figure> margins so cards align in a clean grid ---- */
.instrument-grid > figure.card { margin: 0; min-width: 0; }
.instrument-grid:has(> figure.card) { gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.shot.shot-fit { background: #111; }
.shot.shot-fit img { object-fit: cover; object-position: 50% 68%; }

/* ---- Six-step submission workflow ---- */
.process { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.process-step { padding: 18px 16px 18px; }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .process { grid-template-columns: 1fr; } }

/* ================= Instrument detail pages ================= */
.inst-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.inst-figure { position: relative; margin: 0; min-height: 360px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0b1a2e; box-shadow: var(--shadow); }
.inst-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; display: block; }
.inst-figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(5, 12, 24, 0.28)); }

.rate-card { padding: 28px clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 0; border-radius: 20px; }
.rate-card > .meta { padding: 0; }
.rate-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 10px; }
.rate-price .cur { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--accent); }
.rate-price strong { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; }
.rate-price .unit { color: var(--muted); font-size: 0.95rem; }
.rate-price .pending { color: var(--accent-2); }
.rate-note { margin: 0; padding: 0 !important; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.rate-sep { height: 1px; background: var(--line); margin: 22px 0 20px; }
.doc-item { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0 16px; }
.doc-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }
.doc-ico svg { width: 22px; height: 22px; display: block; }
.doc-item strong { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.doc-item p { margin: 4px 0 0; padding: 0 !important; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.doc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doc-actions .btn, .rate-contact { justify-content: center; }
.rate-contact { margin-top: 12px; }
.rate-card > :last-child { padding-bottom: 0; }

.inst-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); align-items: stretch; }
.info-card { padding: 26px clamp(20px, 2.4vw, 30px); border-radius: 20px; }
.info-card > h2, .info-card > p, .info-card > ul, .info-card > div { padding-left: 0; padding-right: 0; }
.info-card > h2 { padding-top: 0; font-size: 1.35rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.info-card > h2::before { content: ""; width: 4px; height: 1.1em; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); flex: none; }
.info-card > :last-child { padding-bottom: 0; }
.related-card { margin-top: clamp(16px, 2vw, 24px); }

/* Check-mark lists (replace the default round bullets) */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; line-height: 1.55; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 24px; height: 24px; border-radius: 8px;
  background-color: rgba(var(--accent-rgb), 0.14);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.5 12.5l3.6 3.6L17.5 8.5' fill='none' stroke='%2314a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center; background-size: 16px 16px; background-repeat: no-repeat;
}
.info-note { margin: 18px 0 0; padding: 14px 16px !important; border-radius: 12px; background: rgba(var(--accent-2-rgb, 227, 181, 103), 0.12); border-left: 3px solid var(--accent-2); color: var(--ink); font-size: 0.95rem; line-height: 1.55; }

.chip-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip-links .chip-link { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--accent-rgb), 0.08); font-weight: 600; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.chip-links .chip-link:hover { background: var(--accent); border-color: transparent; color: var(--ink-on); }
.rel-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.more-link { color: var(--accent); font-weight: 600; }
.more-link:hover { color: var(--accent-2); }

@media (max-width: 900px) {
  .inst-top, .inst-body { grid-template-columns: 1fr; }
  .inst-figure { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) { .doc-actions { grid-template-columns: 1fr; } }

/* ---- Rate card actions: compact, polished buttons ---- */
.rate-card > :last-child:not(.btn) { padding-bottom: 0; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-actions .btn {
  flex: 1 1 0; min-width: 120px; min-height: 40px; padding: 0 16px; gap: 8px; justify-content: center; align-items: center;
  font-size: 0.9rem; font-weight: 600; line-height: 1; letter-spacing: 0.01em; border-radius: 999px;
}
.doc-actions .btn .btn-ico { width: 16px; height: 16px; }
.doc-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #0a3050));
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.doc-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(var(--accent-rgb), 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.doc-actions .btn-ghost { border: 1px solid rgba(var(--accent-rgb), 0.45); background: rgba(var(--accent-rgb), 0.07); color: var(--accent); }
.doc-actions .btn-ghost:hover { background: rgba(var(--accent-rgb), 0.16); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Facility contact: evenly centred text */
.rate-card .rate-contact {
  display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
  width: 100%; min-height: 44px; padding: 0 18px; line-height: 1; margin-top: 12px;
}

/* Note callout: square corners, straight left border */
.info-note { border-radius: 0; border: 0; border-left: 4px solid var(--accent-2); background: rgba(227, 181, 103, 0.12); }
html[data-theme="light"] .info-note { background: rgba(154, 106, 28, 0.09); }

/* Dropdown menu: hairline gap so the selected and hovered items never merge */
.nav-drop-panel { gap: 1.5px; }
.nav-drop-panel a { display: block; }

/* Home characterization cards: link follows the text directly (no empty gap) */
.grid-5 .pad p { min-height: 0; margin: 0 0 10px; }
.grid-5 .pad h3 { min-height: 0; }
.grid-5 > .card > .pad .more { margin-top: 0; padding-top: 0; }
@media (min-width: 1101px) { .grid-5 .pad p { min-height: 0; } }

/* ---- Facility desk contact list + one-line WhatsApp ---- */
.fd-list { list-style: none; margin: 16px 0 14px; padding: 0; display: grid; gap: 10px; }
.fd-list li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink); }
.fd-list .k { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fd-list a { color: var(--ink); font-weight: 600; }
.fd-list a:hover { color: var(--accent); }
@media (max-width: 480px) { .fd-list li { grid-template-columns: 1fr; gap: 2px; } }
.fd-list .wa-group, .foot-links .wa-group { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.fd-list .wa-note, .foot-links .wa-note { padding-left: 0; font-size: 0.9em; }

/* ---- Guidelines cards with icons ---- */
.guide-card { padding: 24px clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.guide-card > * { padding-left: 0; padding-right: 0; }
.guide-card .g-head { display: flex; align-items: center; gap: 14px; padding: 0; }
.guide-card .g-head h3 { margin: 0; padding: 0; font-size: 1.12rem; line-height: 1.25; }
.guide-card .g-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.22); }
.guide-card .g-ico svg { width: 24px; height: 24px; display: block; }
.guide-card > p { margin: 0; padding: 0; color: var(--muted); line-height: 1.6; }
.guide-card > :last-child { padding-bottom: 0; }
.guide-card .g-contact { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.08); border: 1px solid var(--line); color: var(--ink); }
.guide-card .gc-k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.guide-card .gc-v { display: inline-flex; align-items: center; }
.guide-card .wa-group { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.guide-card .wa-note { padding-left: 0; font-size: 0.9em; }

/* ================= Icon system (Lucide-style) ================= */
.ic-tile { flex: none; width: 44px; height: 44px; border-radius: 13px; display: inline-grid; place-items: center; color: var(--accent); background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.22); }
.ic-tile svg { width: 22px; height: 22px; display: block; }
.ic-tile.ic-warn { color: var(--accent-2); background: rgba(227, 181, 103, 0.16); border-color: rgba(227, 181, 103, 0.34); }
.ic-inline { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -0.16em; margin-right: 0.45em; opacity: 0.85; }
.has-inline-ic { display: inline-flex; align-items: center; }
.has-inline-ic .ic-inline { margin-right: 0.45em; vertical-align: 0; }
tr.group td.has-inline-ic { display: table-cell; }
tr.group td .ic-inline { color: var(--accent); width: 1.1em; height: 1.1em; vertical-align: -0.2em; opacity: 1; }
.topbar .ic-inline { width: 0.95em; height: 0.95em; opacity: 0.9; }
.topbar-inner > span.has-inline-ic, .topbar-inner > div a.has-inline-ic { display: inline-flex; }

/* Heading with a tile */
.ic-head { display: flex; align-items: center; gap: 12px; }
.ic-head .ic-tile { width: 40px; height: 40px; border-radius: 12px; }
.ic-head .ic-tile svg { width: 20px; height: 20px; }
/* Block with a tile on the left */
.ic-row { display: flex; align-items: flex-start; gap: 14px; }
.callout.ic-row { align-items: center; }

/* Contact page items */
.contact-card { padding: 8px clamp(20px, 2.4vw, 30px); }
.contact-card .c-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card .c-item:last-child { border-bottom: 0; }
.contact-card .c-item > div { min-width: 0; }
.contact-card .c-item h3 { margin: 0 0 6px; padding: 0; font-size: 1.05rem; }
.contact-card .c-item p { margin: 0 0 4px; padding: 0; color: var(--muted); line-height: 1.6; }
.contact-card .c-item a { color: var(--ink); font-weight: 600; }
.contact-card .c-item a:hover { color: var(--accent); }
.contact-card .wa-group { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.contact-card .wa-note { padding-left: 0; }
.note-row { align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.07); border: 1px solid var(--line); color: var(--muted); }
.note-row .ic-tile { width: 38px; height: 38px; border-radius: 11px; }

/* Home: at-a-glance + process step icon tiles */
.glance-item.ic-row { flex-direction: column; align-items: flex-start; gap: 12px; }
.glance-item.ic-row .ic-tile { width: 40px; height: 40px; border-radius: 12px; }
.process-step { position: relative; }
.process-step.ic-row { display: block; }
.process-step > .ic-tile { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 11px; }
.process-step > .ic-tile svg { width: 19px; height: 19px; }

/* Check-mark lists on cards (About / Guidelines / Home) */
.card > ul.check-list, .intro-panel > ul.check-list { padding: 0 22px 20px; margin: 4px 0 0; }
.intro-panel > ul.check-list { padding: 4px 0 12px; }
.intro-panel .check-list li { color: var(--muted); }

/* Research future-plan cards */
.card > h3.ic-head { padding-top: 20px; }

/* Guidelines: more space below the workflow, vehicle icon, different WhatsApp box colour */
.steps-strong { gap: 16px; margin-top: 18px; }
.steps-strong .step { padding: 16px 18px; }
.steps-strong .step h3 { margin: 0 0 4px; }
.guide-card .g-contact { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.3); }
html[data-theme="light"] .guide-card .g-contact { background: rgba(37, 211, 102, 0.09); border-color: rgba(18, 140, 126, 0.28); }

/* At-a-glance boxes: roomier padding so the icon never touches the top border */
.glance-item.ic-row { padding: 28px 24px 24px; gap: 14px; align-items: flex-start; text-align: left; }
.glance-item.ic-row .ic-tile { margin: 0; }
.glance-item.ic-row strong { margin: 0; line-height: 1; }
.glance-item.ic-row span:not(.ic-tile) { margin-top: 0; }

/* Contact: note under the form sits inside the card with even side margins */
.card > .note-row { margin: 18px 22px 22px; padding: 14px 16px; }
@media (max-width: 480px) { .card > .note-row { margin-left: 16px; margin-right: 16px; } }

/* Leadership timeline: each period stays on a single line */
.timeline .tl { grid-template-columns: minmax(max-content, 250px) minmax(0, 1fr); align-items: center; column-gap: 20px; }
.timeline .tl > strong { white-space: nowrap; }
@media (max-width: 980px) { .timeline .tl { grid-template-columns: 1fr; row-gap: 4px; } }

/* At-a-glance / fact icon tiles: ".glance-item span" (display:block, muted colour, margin-top) was also matching the tile.
   Restore centring so the icon sits in the exact middle of its tile, horizontally and vertically. */
.glance-item .ic-tile,
.fact .ic-tile {
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  line-height: 0;
  color: var(--accent);
}
.glance-item .ic-tile.ic-warn, .fact .ic-tile.ic-warn { color: var(--accent-2); }
.glance-item .ic-tile svg,
.fact .ic-tile svg { display: block; margin: 0; }

/* =====================================================================
   NS&TD v2 — nano-lab design layer (cyan + gold)
   ===================================================================== */
:root { --ease: cubic-bezier(.22, 1, .36, 1); --hh: 72px; --grad: linear-gradient(135deg, var(--accent), var(--accent-2)); }
::selection { background: rgba(var(--accent-rgb), .3); }
.scroll-progress { height: 4px; box-shadow: 0 0 12px rgba(var(--accent-rgb), .5); }

/* animated atom marker before kickers */
.kicker { display: flex; align-items: center; gap: 10px; }
.kicker::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 50%, var(--accent-2) 0 3px, transparent 3.5px);
  border: 1.5px solid var(--accent); animation: atom-pulse 2.4s ease-in-out infinite;
}
.kicker::after {
  content: ""; position: absolute; width: 0; height: 0;
}
@keyframes atom-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .45); transform: rotate(0); } 50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); transform: rotate(180deg); } }
.page-hero .kicker, .intro .kicker { margin-bottom: 8px; }

/* top bar + nav polish */
.topbar a { padding: 2px 8px; border-radius: 6px; transition: background .2s, color .2s; }
.topbar a:hover { background: var(--accent); color: var(--ink-on) !important; }
.nav-links > a, .nav-drop > button { font-weight: 600; }

/* sub navigation chips */
.subnav { position: sticky; top: var(--hh); z-index: 40; background: var(--header); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { white-space: nowrap; font-size: .86rem; font-weight: 600; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: all .25s var(--ease); }
.subnav a:hover, .subnav a.on { color: var(--ink-on); background: var(--grad); border-color: transparent; transform: translateY(-2px); }
html:has(.subnav) { scroll-padding-top: calc(var(--hh) + 68px); }

/* key figures */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .25s, box-shadow .3s; }
.kpi:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.kpi-ico { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; color: var(--ink-on); background: var(--grad); transition: transform .35s var(--ease); }
.kpi-ico svg { width: 22px; height: 22px; }
.kpi:hover .kpi-ico { transform: rotate(-8deg) scale(1.08); }
.kpi strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.kpi span.kpi-txt { display: block; margin-top: 3px; font-size: .84rem; color: var(--muted); }
@media (max-width: 980px) { .kpi-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpi-row { grid-template-columns: 1fr; } }

/* draggable techniques ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 12px 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker.dragging { cursor: grabbing; }
.ticker-track { display: flex; width: max-content; gap: 38px; will-change: transform; }
.ticker span { display: inline-flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ticker span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 5px var(--accent-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 920px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 56px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(var(--accent-rgb), .14); transition: background .25s; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; transition: transform .3s var(--ease);
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat; }
.faq details[open] summary::before { background: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); background: linear-gradient(var(--ink-on), var(--ink-on)) center / 12px 2px no-repeat, linear-gradient(var(--ink-on), var(--ink-on)) center / 2px 12px no-repeat; }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* CTA band */
.cta-band .wrap { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #0b3a52 0%, #0a6f8e 55%, #9a6a1c 130%); box-shadow: var(--shadow); }
.cta-band .wrap::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255,255,255,.09); box-shadow: 0 0 0 30px rgba(255,255,255,.05); }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 6px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; position: relative; z-index: 1; }
.cta-band .cta-row { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: #0b3a52; border-color: transparent; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ink-on); background: var(--grad); box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); border: 0; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* thank-you panel */
.enquiry .form-done { display: none; text-align: center; padding: 14px 4px 4px; }
.enquiry.is-done > *:not(.form-done) { display: none !important; }
.enquiry.is-done .form-done { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.form-done h3 { font-size: 1.4rem; margin: 6px 0 0; }
.form-done h3 [data-done-name] { color: var(--accent); }
.done-check { width: 76px; height: 76px; margin: 0 auto 8px; color: var(--accent); }
.done-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dn-draw .7s .1s var(--ease) forwards; }
.done-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: dn-draw .5s .6s var(--ease) forwards; }
@keyframes dn-draw { to { stroke-dashoffset: 0; } }
.done-msg { color: var(--muted); margin: 10px auto 0; max-width: 480px; font-size: .96rem; }
.done-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: nowrap; }
.done-actions .btn { flex: 1 1 auto; min-width: 0; margin: 0; padding: 11px 10px; font-size: .86rem; white-space: nowrap; justify-content: center; }
.done-actions .btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (max-width: 560px) { .done-actions { flex-wrap: wrap; } .done-actions .btn { flex: 1 1 100%; } }

@media (prefers-reduced-motion: reduce) { .kicker::before { animation: none; } .ticker-track { transform: none !important; } }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.enquiry .btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
html:has(.subnav) main [id] { scroll-margin-top: 0; }
html:has(.subnav) main .section[id], html:has(.subnav) main section[id] { scroll-margin-top: -36px; }

/* =====================================================================
   Contact form v3 — NS&TD logo styling: green ring, navy hairline, red molecule nodes
   ===================================================================== */
.enquiry {
  --g: #2f8f46; --r: #d9482b; --n: #1f2e8a;
  position: relative; display: grid; gap: 26px; padding: 36px 26px 26px; margin-top: 10px;
  background: var(--surface); border: 3px solid var(--g); border-radius: 22px;
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px rgba(31, 46, 138, .3), var(--shadow);
}
html[data-theme="dark"] .enquiry { --g: #4fbf67; --r: #ff7a59; --n: #9db0ff; box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px rgba(157, 176, 255, .35), var(--shadow); }
.enquiry::before, .enquiry::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--r); z-index: 3;
}
.enquiry::before { top: -10px; left: 26px; }
.enquiry::after { bottom: -10px; right: 26px; }
.enquiry .form-progress { position: absolute; top: 14px; left: 26px; right: 26px; height: 4px; border-radius: 4px; background: rgba(var(--accent-rgb), .12); overflow: hidden; }
.enquiry .form-progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--g), var(--r), var(--n)); transition: width .5s var(--ease); }
.enquiry .row-2 { gap: 26px; }

/* fields: original underline style, with icons and a logo-coloured animated underline */
.enquiry .float.has-ico .field { padding-left: 36px; }
.enquiry .float.has-ico > label { left: 36px; }
.enquiry .float .f-ico { position: absolute; left: 4px; top: 13px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; transition: color .25s, transform .3s var(--ease); }
.enquiry .float:focus-within .f-ico { color: var(--g); transform: scale(1.15) rotate(-6deg); }
.enquiry .float .field {
  background-image: linear-gradient(90deg, var(--g), var(--r), var(--n)); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 2px;
  transition: background-size .45s var(--ease), border-color .2s;
}
.enquiry .float .field:focus { background-size: 100% 2px; border-bottom-color: transparent; }
.enquiry .float:hover .field { border-bottom-color: color-mix(in srgb, var(--g) 55%, var(--line)); }
.enquiry .float .field:focus + label { color: var(--g); }
.enquiry .float .f-ok { position: absolute; right: 2px; top: 12px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; background: var(--g); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.enquiry .float.ok .f-ok { opacity: 1; transform: none; }
.enquiry .float .f-count { position: absolute; right: 0; bottom: -20px; font-size: .74rem; color: var(--muted); }
.enquiry .float:has(textarea) { margin-bottom: 14px; }

/* quick-pick technique chips */
.enquiry .tech-chips { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: -12px; }
.tc-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 2px; }
.tech-chip { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .8rem; font-weight: 600; transition: all .22s var(--ease); }
.tech-chip:hover { border-color: var(--g); color: var(--g); transform: translateY(-2px); }
.tech-chip.on { background: var(--g); border-color: var(--g); color: #fff; }
.tech-chip.on::before { content: "✓ "; }

/* send button */
.enquiry .btn-primary[type="submit"] { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--g), #1f7a8e 55%, var(--n)); background-size: 160% 100%; border: 0; color: #fff; transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s; box-shadow: 0 10px 22px rgba(47, 143, 70, .28); }
.enquiry .btn-primary[type="submit"]:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31, 46, 138, .3); }
.enquiry .btn-primary[type="submit"] svg { transition: transform .3s var(--ease); }
.enquiry .btn-primary[type="submit"]:hover svg { transform: translateX(4px) rotate(-12deg); }
.enquiry .btn-primary[type="submit"].is-loading { pointer-events: none; opacity: .85; }
.enquiry .btn-primary[type="submit"].is-loading svg { display: none; }
.enquiry .btn-primary[type="submit"].is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.enquiry .form-done { padding-top: 18px; }
@media (max-width: 700px) { .enquiry { padding: 34px 18px 22px; } .enquiry .row-2 { gap: 26px; } }

/* name and organization: one full-width field per row */
.enquiry .row-2 { grid-template-columns: 1fr; gap: 26px; }
