/* Niroos: photo-led industrial services site. One light theme, navy ink, one amber accent (the logo colours), 4px corners. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('/fonts/hanken.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0B1F33;
  --navy-2: #143349;
  --ink: #0F1E2B;
  --muted: #536676;
  --paper: #FCFDFD;
  --mist: #EEF2F5;
  --line: #D5DDE3;
  --accent: #F2A33A;
  --accent-ink: #0B1F33;
  --on-navy: #EDF1F4;
  --on-navy-muted: #AEBCC7;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --r: 4px;
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1240px;
  --sp: clamp(64px, 8vw, 112px);
  --shadow: 0 18px 40px -22px rgba(11, 31, 51, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; background: var(--navy-2); }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.015em; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.1; }
h3 { font-weight: 650; font-size: 20px; line-height: 1.25; letter-spacing: -.005em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 64ch; margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; font: 600 16px/1 var(--body); padding: 14px 22px; border-radius: var(--r); border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: #F6B65C; border-color: #F6B65C; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 11px 16px; font-size: 15px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.more .ico { width: 1em; height: 1em; transition: transform .2s; }
a:hover .more .ico, .panel:hover .more .ico { transform: translateX(4px); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(252, 253, 253, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand--light { color: #fff; }
.logo { display: block; height: 52px; width: auto; aspect-ratio: 490 / 120; overflow: visible; }
.logo-diag { fill: var(--accent); }
.logo-tag { fill: #A85F06; }
.brand--light .logo-tag { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .brand--intro .logo-hex { stroke-dasharray: 1; animation: logo-hex .9s ease-in-out both; }
  .brand--intro .logo-bar, .brand--intro .logo-diag { transform-box: fill-box; animation: logo-grow .5s cubic-bezier(.2, .7, .2, 1) both; }
  .brand--intro .logo-bar--l { transform-origin: 50% 100%; animation-delay: .5s; }
  .brand--intro .logo-bar--r { transform-origin: 50% 0%; animation-delay: .65s; }
  .brand--intro .logo-diag { transform-origin: 0 0; animation-name: logo-draw; animation-delay: .9s; }
  .brand--intro .logo-tag { animation: logo-fade .6s ease-out 1.1s both; }
}
@keyframes logo-hex { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes logo-draw { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; font: 500 16px/1 var(--body); color: var(--ink); background: none; border: 0; padding: 12px 14px; border-radius: var(--r); text-decoration: none; cursor: pointer; }
.nav-link:hover { background: var(--mist); }
.nav-link .ico { width: .85em; height: .85em; }
.has-menu { position: relative; }
.menu { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: none; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.menu a { display: block; padding: 11px 12px; border-radius: var(--r); text-decoration: none; font-weight: 500; }
.menu a:hover { background: var(--mist); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 9px; color: var(--navy); cursor: pointer; }
.burger .ico { width: 24px; height: 24px; display: block; }
.mobile { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - 72px); overflow: auto; }
.mobile[hidden] { display: none; }
.mobile a:not(.btn) { display: block; padding: 11px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--mist); }
.mobile-h { font: 700 13px/1 var(--body); color: var(--muted); margin: 20px 0 4px; }
.mobile .btn { margin-top: 22px; width: 100%; }

/* Hero */
.hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 31, 51, .94) 0%, rgba(11, 31, 51, .82) 42%, rgba(11, 31, 51, .30) 100%); }
.hero-in { padding-block: clamp(56px, 7vw, 84px); min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.hero--home { display: flex; flex-direction: column; min-height: clamp(600px, 88vh, 860px); }
.hero--home > .wrap { width: 100%; }
.hero-main { flex: 1; display: grid; align-items: center; padding-block: clamp(48px, 6vw, 80px) 44px; }
.hero--home .hero-in { min-height: 0; padding-block: 0; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-tabs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)) auto; gap: clamp(16px, 2.5vw, 36px); align-items: start; padding-bottom: 30px; }
.hero-tab { display: grid; gap: 4px; text-decoration: none; color: var(--on-navy-muted); transition: color .2s; }
.hero-tab:hover, .hero-tab.is-active { color: #fff; }
.hero-tab-bar { position: relative; height: 3px; margin-bottom: 12px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hero-tab-bar::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active .hero-tab-bar::after { transform: scaleX(1); }
.hero-tab-name { font: 700 clamp(17px, 1.6vw, 21px)/1.2 var(--display); }
.hero-tab-text { font-size: 14.5px; line-height: 1.45; }
.hero-pause { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; cursor: pointer; }
.hero-pause:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.hero-pause .ico { width: 16px; height: 16px; }
.hero-pause .ico:last-child, .is-paused .hero-pause .ico:first-child { display: none; }
.is-paused .hero-pause .ico:last-child { display: block; }
.hero--split::before { content: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.hero--split .hero-in { min-height: 0; padding-block: 0; }
.hero--split h1 { font-size: clamp(32px, 3.6vw, 46px); max-width: none; }
.hero-side { width: 100%; aspect-ratio: 1.34; object-fit: cover; border-radius: var(--r); }
.eyebrow { margin-bottom: 18px; font: 600 13px/1.3 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-weight: 750; font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.022em; max-width: 26ch; }
.hero--home h1 { font-size: clamp(38px, 5vw, 68px); max-width: 17ch; }
.hero--home .hero-lead { max-width: 46ch; font-size: clamp(18px, 1.8vw, 22px); }
.hero-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--on-navy); max-width: 54ch; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--on-navy-muted); margin-bottom: 20px; }
.crumbs a { color: inherit; text-decoration: none; display: inline-block; padding-block: 3px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: .06s; }
  .hero-in > :nth-child(3) { animation-delay: .12s; }
  .hero-in > :nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .hero-slide.is-active .hero-bg { animation: drift 9s ease-out both; }
  @keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
  .hero-tab.is-active .hero-tab-bar::after { animation: fill 6.5s linear both; }
  @keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .is-paused .hero-tab.is-active .hero-tab-bar::after { animation: none; }
}


/* AITOWN band */

/* Sections */
.sec { padding-block: var(--sp); }
.sec--mist { background: var(--mist); }
.sec--top { padding-top: clamp(40px, 5vw, 64px); }

/* Services bento: one large card, two compact cards */
.inline-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.inline-list li, .tags li { font-size: 14.5px; font-weight: 500; padding: 6px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }

/* Industries switcher */
.ind { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); margin-top: 44px; align-items: stretch; }
.ind-list { display: grid; gap: 12px; align-content: start; }
.ind-item { display: grid; gap: 6px; padding: 24px 26px; border-radius: var(--r); border: 1px solid transparent; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.ind-item.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.ind-name { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.015em; }
.ind-text { color: var(--muted); }
.ind-item .more { margin-top: 8px; }
.ind-thumb { display: none; }
.ind-stage { position: relative; border-radius: var(--r); overflow: hidden; min-height: 440px; background: var(--navy-2); }
.ind-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.ind-photo.is-active { opacity: 1; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font: 750 44px/1 var(--display); color: var(--accent); margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Split: photo + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-img { width: 100%; border-radius: var(--r); object-fit: cover; }
.points { display: grid; gap: 26px; margin-top: 34px; }
.points li, .scope li { display: flex; gap: 16px; align-items: flex-start; }
.points .ico, .scope .ico { width: 30px; height: 30px; color: var(--accent); margin-top: 2px; }
.points p, .scope p { color: var(--muted); margin-top: 6px; }

.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 5vw, 80px); margin-top: 48px; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { color: var(--accent); width: 22px; height: 22px; margin-top: 3px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags li { font-size: 16px; padding: 10px 16px; background: #fff; }
.note { margin-top: 28px; max-width: 70ch; padding: 18px 20px; background: var(--mist); border-radius: var(--r); font-weight: 500; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); margin-top: 40px; }
.cols h3 { padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.plain { display: grid; gap: 9px; margin-top: 16px; color: var(--muted); }
.cols--points { margin-top: 64px; }
.cols--points p { color: var(--muted); margin-top: 14px; }

/* Industry tiles on service pages */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.tile { display: grid; gap: 6px; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; transition: filter .25s; }
.tile:hover img { filter: brightness(1.08); }
.tile-name { font: 700 20px/1.2 var(--display); }
.tile-text { color: var(--muted); }

/* Service rows on industry pages */
.rows { margin-top: 36px; border-top: 2px solid var(--navy); }
.row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) auto; gap: 16px 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row h3 { font-size: 22px; }
.row p { color: var(--muted); }

/* Two blocks side by side */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.two .checks { margin-bottom: 0; }

/* Inspection points on a photo */
.spots { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 40px; }
.spots-pic { position: relative; }
.spots-pic img { width: 100%; border-radius: var(--r); }
.spot { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 15px/1 var(--display); cursor: pointer; box-shadow: 0 4px 12px -2px rgba(11, 31, 51, .55); transition: background .15s, transform .15s; }
.spot:hover { transform: translate(-50%, -50%) scale(1.1); }
.spot.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.spots-list { display: grid; gap: 4px; }
.spots-list button { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 13px 16px; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: var(--r); cursor: pointer; }
.spots-list li.is-active button { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.spot-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px/1 var(--display); }
.spots-list li.is-active .spot-n { background: var(--accent); color: var(--accent-ink); }
.spots-list strong { display: block; font: 650 18px/1.3 var(--display); }
.spots-list strong + span { display: block; margin-top: 3px; color: var(--muted); font-size: 15.5px; }
.spots + .hint { margin-top: 18px; }

/* Job adverts */
.jobs { display: grid; gap: 20px; margin-top: 36px; }
.job { padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.job h3 { font-size: 24px; }
.job-flag { font-size: 13.5px; font-weight: 600; padding: 4px 10px; border-radius: var(--r); background: var(--mist); color: var(--muted); }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 14px; color: var(--muted); font-size: 15.5px; }
.job-meta .ico { width: 18px; height: 18px; color: var(--accent); }
.job-meta span { margin-right: 14px; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin: 22px 0 26px; }
.job h4 { margin: 0; font: 650 17px/1.3 var(--display); }
.job .plain { margin-top: 10px; list-style: disc; padding-left: 20px; }
.job .btn .ico, .talent-btn .ico { width: 18px; height: 18px; }
.talent-btn { margin-top: 30px; }
.kicker { margin-top: 6px; font-weight: 600; color: var(--muted); }
.h1-dark.h1-job { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; margin-top: 6px; }
.h1-job + .job-flag { display: inline-block; margin-top: 14px; }
.quote .job-cols { grid-template-columns: 1fr; margin-bottom: 0; }
.quote .job-cols h2 { margin: 0; font: 650 17px/1.3 var(--display); }
.quote .job-cols .plain { margin-top: 10px; list-style: disc; padding-left: 20px; }
.mail-line { margin-top: 30px; color: var(--muted); }
.mail-line a { display: inline-block; padding-block: 3px; color: var(--ink); font-weight: 600; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.check input { width: 24px; height: 24px; margin-top: 1px; padding: 0; }
.check label { font-weight: 500; }
input[type=file] { padding: 10px; background: #fff; }

/* FAQ */
.faq { margin-top: 32px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 650 19px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 18px; height: 18px; transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { color: var(--muted); padding: 0 40px 24px 0; max-width: 70ch; }

/* Closing band and footer */
/* Service panels (home): the panel under the pointer widens and shows its text */
.panels { position: relative; display: flex; gap: 6px; height: 480px; margin-top: 44px; }
/* Round badge that follows the mouse over the panels (mouse only, off for reduced motion and on phones). */
.panel-cursor { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); z-index: 3; display: flex; align-items: center; justify-content: center; gap: 4px; width: 78px; height: 78px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 14.5px/1 var(--body); pointer-events: none; opacity: 0; transform: translate(16px, calc(-100% - 16px)) scale(.6); transition: opacity .2s ease, transform .2s ease; }
.panel-cursor .ico { width: 15px; height: 15px; }
.panels.is-hover .panel-cursor { opacity: 1; transform: translate(16px, calc(-100% - 16px)) scale(1); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); background: var(--navy); color: #fff; isolation: isolate; transition: flex-grow .5s cubic-bezier(.2, .7, .2, 1); }
.panel.is-active { flex-grow: 2.6; }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 51, .38) 0%, rgba(11, 31, 51, .55) 45%, rgba(11, 31, 51, .94) 100%); }
.panel-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 22px 26px; }
.panel-n { position: absolute; top: 24px; left: 22px; font: 700 15px/1 var(--display); letter-spacing: .08em; color: var(--accent); }
.panel h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.14; hyphens: auto; }
.panel h3 a { text-decoration: none; }
.panel h3 a::after { content: ''; position: absolute; inset: 0; }
.panel-more { width: min(430px, 60vw); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .3s ease; }
.panel.is-active .panel-more { max-height: 220px; opacity: 1; }
.panel-more p { margin-top: 12px; color: var(--on-navy); font-size: 17px; }
.panel-more .more { margin-top: 16px; color: var(--accent); }

/* Equipment model (home) */
.xplr { background: var(--navy); color: #fff; padding-block: var(--sp); }
.xplr .lead { color: var(--on-navy-muted); }
.xplr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 44px; align-items: start; }
.xplr-stage { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); background: radial-gradient(120% 90% at 50% 40%, #183852 0%, #0E2940 60%, #0B1F33 100%); overflow: hidden; }
.xplr-canvas { display: block; width: 100%; aspect-ratio: 16 / 10; background: transparent; cursor: grab; touch-action: pan-y; }
.xplr-canvas.is-dragging { cursor: grabbing; }
.xplr-tools { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.xplr-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; font: 600 15px/1 var(--body); color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r); cursor: pointer; }
.xplr-btn:hover { background: rgba(255, 255, 255, .14); }
.xplr-btn[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.xplr-btn .ico { width: 18px; height: 18px; }
.xplr-hint { margin-left: auto; font-size: 14px; color: var(--on-navy-muted); }
.xplr-parts { border-top: 1px solid rgba(255, 255, 255, .22); }
.xplr-parts li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.xplr-parts button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 0; font: 650 20px/1.2 var(--display); color: #fff; background: none; border: 0; text-align: left; cursor: pointer; }
.xplr-n { font: 700 14px/1 var(--display); letter-spacing: .06em; color: var(--on-navy-muted); }
.xplr-parts .ico { width: 18px; height: 18px; margin-left: auto; color: var(--on-navy-muted); transition: transform .2s; }
.xplr-parts li.is-active button, .xplr-parts li.is-active .xplr-n { color: var(--accent); }
.xplr-parts li.is-active .ico { transform: rotate(180deg); color: var(--accent); }
.xplr-parts p { display: none; padding: 0 0 20px 36px; color: var(--on-navy); }
.xplr-parts li.is-active p { display: block; }
.xplr-hook { margin: 26px 0 20px; color: var(--on-navy); font-weight: 500; }
.xplr-note { margin-top: 18px; font-size: 14px; color: var(--on-navy-muted); }

/* Maintenance report example */
.demo-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.flag { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: var(--r); background: var(--navy); color: #fff; }
.demo { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.demo-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.kpi { display: grid; gap: 8px; align-content: space-between; padding: 18px 18px 14px; text-align: left; font: inherit; color: inherit; background: var(--paper); border: 0; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; cursor: pointer; }
.kpi:last-child { border-right: 0; }
.kpi:hover { background: #fff; }
.kpi.is-active { background: #fff; border-bottom-color: var(--accent); }
.kpi:focus-visible { outline-offset: -3px; }
.kpi-name { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.kpi-val { font: 750 30px/1 var(--display); letter-spacing: -.01em; }
.kpi-val small { margin-left: 4px; font: 600 15px/1 var(--body); color: var(--muted); }
.demo-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding: clamp(20px, 3vw, 34px); }
.demo-panel[hidden] { display: none; }
.chart { display: block; width: 100%; height: auto; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-tick { font: 500 14px var(--body); fill: var(--muted); }
.chart-line { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.chart-dot.is-last { fill: var(--accent); stroke: var(--navy); }
.chart-value { font: 700 15px var(--display); fill: var(--ink); }
.demo-table { width: 100%; margin-top: 12px; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; text-align: center; }
.demo-table caption { caption-side: top; padding-bottom: 6px; text-align: left; font-size: 14px; color: var(--muted); }
.demo-table th { padding: 6px 2px 2px; border-top: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.demo-table td { padding: 2px 2px 6px; font-weight: 600; }
.demo-text h3 { font-size: 17px; margin-top: 22px; }
.demo-text h3:first-child { margin-top: 4px; }
.demo-text p { margin-top: 6px; color: var(--muted); }
.demo + .hint { margin-top: 16px; }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.demo-cta p { font: 650 20px/1.3 var(--display); }

/* Quote form in three steps */
.form.form--steps { display: block; }
.stepnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.stepnav[hidden] { display: none; }
.stepnav li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--muted); }
.stepnav li.is-current { border-top-color: var(--accent); color: var(--ink); }
.stepnav li.is-done { border-top-color: var(--navy); color: var(--ink); }
.stepnav-n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); font: 700 13px/1 var(--display); color: var(--ink); }
.is-current .stepnav-n { background: var(--accent); color: var(--accent-ink); }
.is-done .stepnav-n { background: var(--navy); color: #fff; }
.step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.step[hidden] { display: none; }
.step + .step { margin-top: 18px; }
.step > .full, .step-title, .step-lead { grid-column: 1 / -1; }
.step-title { font-size: 24px; }
.step-title:focus { outline: none; }
.step-lead { margin-top: -10px; color: var(--muted); }
[data-review-wrap] .step-lead { margin-top: 8px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #B8C4CD; border-radius: var(--r); background: var(--paper); font-weight: 600; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; padding: 0; accent-color: var(--navy); }
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
.step-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 6px; }
.step-foot [data-next], .step-foot [type='submit'] { margin-left: auto; }
.btn-line { background: transparent; border-color: #B8C4CD; color: var(--ink); }
.btn-line:hover { background: var(--mist); border-color: var(--navy); }
.btn .ico { width: 18px; height: 18px; }
.review { display: grid; grid-template-columns: minmax(96px, auto) minmax(0, 1fr); gap: 10px 20px; margin-top: 16px; padding: 18px 20px; background: var(--mist); border-radius: var(--r); }
.review dt { font-size: 15px; font-weight: 600; color: var(--muted); }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.form--steps .status { margin-top: 14px; }
.form--steps .status:empty { display: none; }

/* Text pages and small helpers */
.prose h2 { font-size: 24px; margin-top: 44px; }
.prose p { margin-top: 12px; max-width: 70ch; }
.prose .lead { margin-top: 16px; }
.prose .hint { margin-top: 36px; }
.prose .crumbs { color: var(--muted); }
.prose .crumbs a:hover { color: var(--ink); }
.prose p a, .hint a, .check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.para { margin-top: 16px; max-width: 64ch; color: var(--muted); }
.cols--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }

.band { background: var(--navy); color: #fff; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(48px, 6vw, 76px); }
.band h2 { font-size: clamp(26px, 3vw, 38px); }
.band p { color: var(--on-navy-muted); margin-top: 10px; font-size: 18px; }
.foot { background: var(--navy); color: var(--on-navy-muted); font-size: 15.5px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.foot .logo { height: 58px; }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.foot h3 { font: 700 14px/1 var(--body); color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot nav a { display: block; padding: 6px 0; color: var(--on-navy); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.foot-legal a { display: inline-block; padding-block: 3px; color: var(--on-navy); text-underline-offset: 3px; }

/* Quote page */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote .crumbs { color: var(--muted); }
.quote .crumbs a:hover { color: var(--ink); }
.h1-dark { font-weight: 750; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.022em; }
.h-small { font-size: 20px; margin-top: 44px; }
.help { display: grid; gap: 18px; margin-top: 18px; }
.help li { display: grid; gap: 2px; }
.help span { color: var(--muted); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full, .form-foot { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #B8C4CD; border-radius: var(--r); padding: 13px 14px; width: 100%; min-width: 0; }
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--navy); }
.hint { font-size: 14.5px; color: var(--muted); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { font-size: 15.5px; font-weight: 600; flex: 1 1 220px; }
.status.err { color: #B3261E; }

/* Responsive */
/* Desktop: the opening, the service panels, the industries and the 3D model each fill one screen.
   The soft stop at each section while scrolling is done in site.js (section stops). */
@media (min-width: 981px) {
  html { scroll-padding-top: 81px; }
  .hero--home { min-height: clamp(600px, calc(100vh - 81px), 1040px); }
  #services, #industries, #model { display: flex; align-items: center; min-height: calc(100vh - 81px); padding-block: clamp(36px, 6vh, 68px); }
  #services > .wrap, #industries > .wrap, #model > .wrap { width: 100%; }
  #services { align-items: stretch; }
  #services > .wrap { display: flex; flex-direction: column; }
  #services .lead { max-width: none; margin-top: 12px; }
  #services .panels { flex: 1; height: auto; min-height: 380px; margin-top: clamp(22px, 3.5vh, 36px); }
  /* Panel titles stand upright along the left edge. The description sits beside them and only appears once
     the panel has finished opening, so it is never seen cut off. */
  .panel-in { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 22px; padding: 62px 22px 26px; }
  .panel h3 { flex: none; align-self: stretch; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.12; hyphens: manual; }
  .panel h3 a { display: block; height: 100%; }
  .panel-title { display: block; height: 100%; writing-mode: vertical-rl; transform: rotate(180deg); text-align: end; }
  .panel-more { flex: none; width: clamp(230px, 25vw, 390px); max-height: none; padding-bottom: 2px; opacity: 0; transition: opacity .1s ease; }
  .panel.is-active .panel-more { max-height: none; opacity: 1; transition: opacity .4s ease .42s; }
  .panel-more p { margin-top: 0; }
  /* Industries and the 3D model are tightened so each fits one screen. */
  #industries .ind { margin-top: clamp(24px, 4vh, 40px); }
  #industries .ind-list { gap: 8px; }
  #industries .ind-item { padding: 16px 22px; }
  #industries .ind-item .more { display: none; }
  #industries .ind-item.is-active .more { display: inline-flex; }
  #industries .ind-stage { min-height: 0; }
  #model .xplr-grid { margin-top: clamp(24px, 4vh, 40px); }
  #model .xplr-canvas { aspect-ratio: auto; height: clamp(300px, calc(100vh - 430px), 460px); }
}
/* Short desktop screens: tighten the opening so the industry tabs stay in view. */
@media (min-width: 981px) and (max-height: 780px) {
  .hero--home { min-height: max(540px, calc(100vh - 81px)); }
  .hero--home h1 { font-size: clamp(36px, 4.2vw, 56px); }
  .hero-main { padding-block: 32px 24px; }
  .hero-cta { margin-top: 24px; }
  .hero-tabs { padding-bottom: 20px; }
}
@media (max-width: 980px) {
  .nav, .top-cta { display: none; }
  .burger { display: block; }
  .ind { grid-template-columns: 1fr; }
  .ind-stage { display: none; }
  .ind-item, .ind-item.is-active { background: #fff; border-color: var(--line); box-shadow: none; padding: 0 0 22px; overflow: hidden; }
  .ind-item > :not(.ind-thumb) { padding-inline: 22px; }
  .ind-thumb { display: block; width: 100%; aspect-ratio: 1.9; object-fit: cover; margin-bottom: 12px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .quote { grid-template-columns: 1fr; }
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel-cursor { display: none; }
  .panel, .panel.is-active { flex: none; }
  .panel-in { position: relative; min-height: 230px; }
  .panel-more, .panel.is-active .panel-more { width: auto; max-height: none; opacity: 1; }
  .xplr-grid, .demo-panel { grid-template-columns: 1fr; }
  .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { border-bottom: 1px solid var(--line); }
  .kpi.is-active { box-shadow: inset 4px 0 0 var(--accent); }
  .cols--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--rev .split-img { order: -1; }
  .cols { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spots, .two { grid-template-columns: 1fr; }
  .job-cols { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero::before { background: linear-gradient(90deg, rgba(11, 31, 51, .94) 0%, rgba(11, 31, 51, .80) 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { padding-bottom: 36px; }
  .hero-side { aspect-ratio: 1.9; }
}
@media (max-width: 600px) {
  .logo { height: 42px; }
  .foot .logo { height: 50px; }
  body { font-size: 16.5px; }
  .scope, .steps, .form { grid-template-columns: 1fr; }
  .step, .choices, .cols--four { grid-template-columns: 1fr; }
  .xplr-hint { display: none; }
  .stepnav li { font-size: 13.5px; gap: 7px; }
  .hero-cta .btn, .band .btn { width: 100%; }
  .hero-tab-text { display: none; }
  .hero-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-bottom: 20px; }
  .hero-pause { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr; }
  .hero-pause { width: 34px; height: 34px; margin-top: 8px; }
  .foot-in { grid-template-columns: 1fr; }
  .faq p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
