
/*
 * addnavi.com. Direction (website/BRIEF.md): KONE / Mijksenaar / Siemens. Photography and real
 * product screens carry the page; the only ornament is the language of signage (pictograms,
 * arrows, the navy sign board). Square corners, flat colour, no gradients, glows or card grids.
 */
:root {
  --navy: #0f2540;
  --navy-2: #183153;
  --blue: #1077e5;
  --blue-dark: #0b5bb3;
  --ink: #14213d;
  --text: #33405a;
  --muted: #66728a;
  --rule: #d9dee6;
  --paper: #ffffff;
  --stone: #f2f4f7;
  --danger: #b4233a;
  --ok: #17704a;

  --head: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --gap: clamp(32px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon { width: 24px; height: 24px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border: 2px solid var(--navy);
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--head);
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn .icon { width: 20px; height: 20px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--stone); border-color: var(--stone); color: var(--navy); }
.go { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--head); color: var(--navy); text-decoration: none; }
.go .icon { width: 20px; height: 20px; color: var(--blue); transition: transform .15s; }
.go:hover { color: var(--blue); }
.go:hover .icon { transform: translateX(4px); }
.go-light { color: #fff; }
.go-light .icon { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; align-self: center; }
.nav-by { font: 500 12px/1 var(--head); color: var(--muted); }
.nav-links { display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font: 500 15px/1 var(--head); color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--blue); }
.lang { display: flex; font: 600 13px/1 var(--head); }
.lang a, .lang span { padding: 8px 8px; text-decoration: none; color: var(--muted); }
.lang [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--blue); }
.lang a:hover { color: var(--blue); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; margin: auto; }

/* ---------- Home hero: one photograph, one statement (KONE) ---------- */
.hero {
  position: relative; min-height: min(86vh, 820px);
  display: flex; align-items: center;
  background-color: #c9ced4; background-position: 62% 50%; background-size: cover; background-repeat: no-repeat;
}
.hero .wrap { width: 100%; }
.hero-text { max-width: 760px; padding: 72px 0; }
.hero h1 { color: var(--navy); font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }
.hero .lead { margin-top: 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }

/* ---------- Figures ---------- */
.figures { border-bottom: 1px solid var(--rule); }
.figures ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 0 var(--gutter); list-style: none; max-width: var(--wrap); }
.figures li { padding: 36px 24px 36px 0; }
.figures li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.figures strong { display: block; font: 500 clamp(24px, 2.3vw, 32px)/1.1 var(--head); color: var(--navy); letter-spacing: -0.02em; }
.figures span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section.tight { padding-top: 0; }
.stone { background: var(--stone); }
.navy { background: var(--navy); color: rgb(255 255 255 / .82); }
.navy h2, .navy h3, .navy h4 { color: #fff; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.intro p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
.intro.solo { grid-template-columns: 1fr; max-width: 820px; }
.intro.solo p { margin-top: 24px; }

/* ---------- Numbered lists with rules (instead of card grids) ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.points.two { grid-template-columns: repeat(2, 1fr); }
.points li { border-top: 1px solid var(--rule); padding: 24px 0 40px; counter-increment: pt; }
.points li::before { content: counter(pt, decimal-leading-zero); display: block; font: 500 14px/1 var(--head); color: var(--blue); margin-bottom: 18px; letter-spacing: .04em; }
.points.plain li::before { content: none; }
.points.one { grid-template-columns: 1fr; margin-top: 32px; }
.points.one li { padding-bottom: 24px; }
.points h3, .points h4 { margin-bottom: 10px; }
.points p { color: var(--text); }
.navy .points li { border-top-color: rgb(255 255 255 / .2); }
.navy .points li::before { color: #7fb7f3; }
.navy .points p { color: rgb(255 255 255 / .75); }

/* ---------- Alternating blocks: photograph and text ---------- */
.block { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gap); align-items: center; }
.block + .block { margin-top: clamp(80px, 10vw, 140px); }
.block.flip .block-media { order: 2; }
.block-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.block-media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.block-text h2 { font-size: clamp(28px, 3vw, 40px); }
.block-text > p { margin-top: 22px; font-size: 18px; }
.block-text ul { margin: 28px 0 0; padding: 0; list-style: none; }
.block-text li { padding: 14px 0; border-top: 1px solid var(--rule); }
.block-text li:last-child { border-bottom: 1px solid var(--rule); }
.block-text .go { margin-top: 32px; }
.diagram { background: var(--stone); padding: clamp(16px, 3vw, 36px); }
.stone .diagram { background: #fff; }
.diagram svg { width: 100%; height: auto; }

/* ---------- Kiosk family ---------- */
.family { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; background: var(--stone); padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.stone .family { background: #fff; }
.family figure { display: grid; justify-items: center; gap: 20px; }
.family img { width: auto; max-width: 100%; max-height: 460px; }
.family .totem img { max-height: 500px; }
.family .wall img { max-height: 290px; }
.family .wall { align-self: start; }
.family figcaption { font: 600 15px/1.3 var(--head); color: var(--ink); text-align: center; }
.family figcaption small { display: block; margin-top: 4px; font: 400 14px/1.45 var(--body); color: var(--muted); }
.family .pick figcaption::after { content: ''; display: block; width: 32px; height: 3px; background: var(--blue); margin: 10px auto 0; }

/* ---------- The sign board: industries as a directional sign (Mijksenaar) ---------- */
.signboard { background: var(--navy); }
.signboard a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 22px clamp(20px, 3vw, 36px); color: #fff; text-decoration: none;
  border-top: 1px solid rgb(255 255 255 / .14);
}
.signboard a:first-child { border-top: 0; }
.signboard .picto { width: 64px; height: 64px; display: grid; place-items: center; border: 2px solid #fff; }
.signboard .picto .icon { width: 34px; height: 34px; }
.signboard strong { display: block; font: 500 clamp(20px, 2vw, 26px)/1.2 var(--head); letter-spacing: -0.01em; }
.signboard small { display: block; margin-top: 4px; font-size: 15px; color: rgb(255 255 255 / .68); }
.signboard .arrow { width: 40px; height: 40px; color: #fff; transition: transform .15s; }
.signboard a:hover { background: var(--navy-2); }
.signboard a:hover .arrow { transform: translateX(6px); }
.signboard a[aria-current] { background: var(--blue); }
.signboard a[aria-current] small { color: rgb(255 255 255 / .85); }

/* ---------- Two columns of facts (service, security) ---------- */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.columns h3 { padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.navy .columns h3 { border-bottom-color: #fff; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.navy .facts li { border-bottom-color: rgb(255 255 255 / .18); }
.facts strong { display: block; font: 600 17px/1.3 var(--head); color: var(--ink); margin-bottom: 4px; }
.navy .facts strong { color: #fff; }
.facts span { color: var(--text); }
.navy .facts span { color: rgb(255 255 255 / .75); }

/* ---------- Statement over a photograph ---------- */
.statement { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--navy); }
.statement-media { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 320px; }
.statement-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px); }
.statement blockquote { margin: 0; font: 500 clamp(26px, 2.8vw, 38px)/1.2 var(--head); color: #fff; letter-spacing: -0.015em; }
.statement p { margin-top: 22px; color: rgb(255 255 255 / .75); }

/* ---------- Sector page hero (Siemens: navy text panel beside a photograph) ---------- */
.s-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; min-height: min(78vh, 720px); }
.s-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(24px, 5vw, 72px) 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.s-hero h1 { color: #fff; font-size: clamp(32px, 3.8vw, 54px); }
.s-hero .lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgb(255 255 255 / .8); max-width: 560px; }
.s-hero .hero-actions { margin-top: 36px; }
.s-hero-photo { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 340px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; font: 500 14px/1 var(--head); color: rgb(255 255 255 / .6); }
.crumbs a { color: rgb(255 255 255 / .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }

/* ---------- Real product screen next to a kiosk render ---------- */
.screen { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; align-items: end; background: var(--stone); padding: clamp(20px, 3vw, 36px); }
.stone .screen { background: #fff; }
.screen .shot { border: 8px solid var(--ink); }
.screen figcaption { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 500 19px/1.35 var(--head); color: var(--ink); transition: color .2s; }
.faq summary:hover { color: var(--blue-dark); }
.faq summary::-webkit-details-marker { display: none; }
/* Plus drawn from two bars: the vertical one folds away as the answer opens */
.faq summary::after {
  content: ''; flex: none; align-self: flex-start; width: 16px; height: 16px; margin-top: calc((1.35em - 16px) / 2);
  background: linear-gradient(var(--blue), var(--blue)) center / 16px 2.5px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2.5px 16px no-repeat;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-size .35s cubic-bezier(.2, .7, .2, 1);
}
.faq details[open] summary::after { transform: rotate(180deg); background-size: 16px 2.5px, 2.5px 0; }
.faq details p { padding: 0 0 28px; max-width: 760px; }
.faq details[open] p { animation: faq-in .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
/* Height slides open and shut where the browser can animate to auto */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.3fr; gap: var(--gap); align-items: start; }
.contact-info > p { margin-top: 22px; font-size: 18px; }
.contact-list { margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--rule); }
.contact-list small { display: block; font: 500 13px/1 var(--head); color: var(--muted); margin-bottom: 8px; }
.contact-list a { font: 500 19px/1.3 var(--head); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-list address { font-style: normal; color: var(--ink); }

.form { background: #fff; padding: clamp(24px, 3.5vw, 44px); border-top: 4px solid var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 14px/1.3 var(--head); color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1px solid #b9c1ce; border-radius: 0; padding: 13px 14px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.field .err { display: none; color: var(--danger); font-size: 13px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.consents { display: grid; gap: 12px; margin-top: 24px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--text); line-height: 1.55; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.check a { color: var(--blue); }
.check.invalid { color: var(--danger); }
.form-foot { margin-top: 28px; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 20px; }
.form-note a { color: var(--blue); }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; font-size: 15px; border-left: 4px solid; }
.form-status.ok { display: block; background: #eef7f2; color: var(--ok); }
.form-status.error { display: block; background: #fbeff1; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgb(255 255 255 / .72); padding: 64px 0 40px; font-size: 15px; }
.site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; line-height: 1.65; }
.footer-col h2 { font: 600 13px/1 var(--head); color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .16); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }

/* ---------- Legal page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 600; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--blue); }
.draft-note { margin: 0 0 32px; padding: 14px 18px; background: #fdf6e8; color: #6b4a10; border-left: 4px solid #d8a43b; font-size: 15px; }
.legal-head { display: flex; align-items: center; height: 76px; }
.legal-head .lang { margin-left: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links, .nav .btn, .nav-by { display: none; }
  .nav { gap: 16px; }
  .lang { margin-left: auto; }
  .nav-toggle { display: grid; }
  .site-header.open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 76px; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px;
  }
  .site-header.open .nav-links a { display: block; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .site-header.open .nav-links li:last-child a { border-bottom: 0; color: var(--blue); }
  .intro, .block, .columns, .contact, .statement, .s-hero { grid-template-columns: 1fr; }
  .block.flip .block-media { order: 0; }
  .points { grid-template-columns: 1fr 1fr; }
  .figures ul { grid-template-columns: 1fr 1fr; }
  .figures li:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .s-hero-text { padding: 48px var(--gutter) 56px; }
  .s-hero-photo { order: -1; min-height: 46vw; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1061px) { .nav-links li.only-mobile { display: none; } }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { min-height: 0; background-position: 70% 50%; }
  .hero::before { content: ''; position: absolute; inset: 0; background: rgb(255 255 255 / .55); }
  .hero .wrap { position: relative; }
  .hero-text { padding: 64px 0 72px; }
  .points, .points.two, .form-grid, .footer-row { grid-template-columns: 1fr; }
  .figures li { padding: 24px 12px 24px 0; }
  .figures li:nth-child(2n) { padding-left: 16px; }
  .family { grid-template-columns: 1fr 1fr; }
  .family .totem { grid-column: 1 / -1; max-width: 240px; justify-self: center; }
  .signboard a { grid-template-columns: 48px 1fr 28px; gap: 16px; }
  .signboard .picto { width: 48px; height: 48px; }
  .signboard .picto .icon { width: 26px; height: 26px; }
  .signboard .arrow { width: 28px; height: 28px; }
  .screen { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .route-draw { stroke-dashoffset: 0 !important; }
}

/* Diagram animation (route drawing) */
.route-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 5s ease-in-out infinite; }
.route-draw.up { animation-name: draw-up; }
.route-draw.top { animation-name: draw-top; }
@keyframes draw { 0% { stroke-dashoffset: 600; } 35%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-up { 0%, 35% { stroke-dashoffset: 600; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-top { 0%, 50% { stroke-dashoffset: 600; } 85%, 100% { stroke-dashoffset: 0; } }
.block-text .points li { padding: 20px 0 22px; border-bottom: 0; }
.block-text .points li:last-child { border-bottom: 1px solid var(--rule); }
.statement, .s-hero, .block, .intro, .columns, .contact { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.block { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); }
h1, h2, blockquote { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1060px) { .statement, .s-hero, .block, .intro, .columns, .contact { grid-template-columns: minmax(0, 1fr); } }

/* Kiosk family at one scale: --kh = the free-standing kiosk's height. The wall kiosk is the same
   head without legs (795 of 1310 px), hung at the height of the free-standing head. */
.family { --kh: clamp(240px, 34vw, 460px); }
.family img, .family .totem img { height: var(--kh); max-height: none; width: auto; }
.family .totem img { height: calc(var(--kh) * 1.08); }
.family .wall { align-self: end; }
.family .wall img { height: calc(var(--kh) * 795 / 1310); max-height: none; margin-bottom: calc(var(--kh) * 515 / 1310); }
@media (max-width: 680px) { .family { --kh: 230px; } }
.family figcaption::after { content: ''; display: block; width: 32px; height: 3px; background: transparent; margin: 10px auto 0; }
.family .pick figcaption::after { background: var(--blue); }
.family-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Industries submenu (styled as the sign board) ---------- */
.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font: 500 15px/1 var(--head); color: var(--ink); }
.sub-toggle:hover, .has-sub.open .sub-toggle { border-bottom-color: var(--blue); }
.sub-toggle .chevron { width: 16px; height: 16px; transition: transform .15s; }
.has-sub.open .chevron { transform: rotate(180deg); }
.sub { display: none; position: absolute; left: -20px; top: calc(100% + 18px); width: 380px; margin: 0; padding: 0; list-style: none; background: var(--navy); box-shadow: 0 18px 40px -16px rgb(3 20 40 / .45); z-index: 60; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 1061px) { .has-sub:hover .sub { display: block; } .has-sub:hover .chevron { transform: rotate(180deg); } }
.nav-links .sub a { display: grid; grid-template-columns: 36px 1fr 18px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 0; border-top: 1px solid rgb(255 255 255 / .12); color: #fff; font: 500 15px/1.3 var(--head); }
.nav-links .sub li:first-child a { border-top: 0; }
.sub .picto { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid #fff; }
.sub .picto .icon { width: 20px; height: 20px; }
.sub .arrow { width: 18px; height: 18px; opacity: .7; transition: transform .15s; }
.nav-links .sub a:hover { background: var(--navy-2); border-bottom-color: transparent; }
.nav-links .sub a:hover .arrow { transform: translateX(3px); opacity: 1; }
.nav-links .sub a[aria-current] { background: var(--blue); }
.nav-links .sub .sub-all a { display: block; padding: 14px 18px; color: rgb(255 255 255 / .8); font-size: 14px; }
@media (max-width: 1060px) {
  .site-header.open .has-sub .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .site-header.open .sub { position: static; width: auto; box-shadow: none; }
  .site-header.open .sub::before { content: none; }
  .site-header.open .nav-links .sub a { display: grid; padding: 12px 16px; font-size: 15px; border-bottom: 0; color: #fff; }
  .site-header.open .nav-links .sub .sub-all a { display: block; color: rgb(255 255 255 / .8); }
}
/* Top-level menu items: links and the industries button share one box model. */
.nav-links { align-items: center; }
.nav-links > li > a, .nav-links > li > .sub-toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0; font: 500 15px/1 var(--head); color: var(--ink); border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.nav-links > li > a:hover, .nav-links > li > .sub-toggle:hover, .has-sub.open > .sub-toggle { border-bottom-color: var(--blue); }
@media (max-width: 1060px) { .site-header.open .nav-links > li > a, .site-header.open .nav-links > li > .sub-toggle { display: flex; height: auto; padding: 16px 0; font-size: 17px; border-top: 0; border-bottom: 1px solid var(--rule); } }
/* Figures: four equal columns, one-line values, even padding on every cell. */
.figures li, .figures li + li { padding: 32px 28px; border-left: 1px solid var(--rule); }
.figures li:first-child { padding-left: 0; border-left: 0; }
.figures li:last-child { padding-right: 0; }
.figures strong { font-size: clamp(22px, 2.1vw, 30px); white-space: nowrap; }
.figures span { margin-top: 8px; }
@media (max-width: 1060px) {
  .figures li:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures li:nth-child(2) { padding-right: 0; }
}
@media (max-width: 680px) { .figures li, .figures li + li { padding: 22px 16px; } .figures li:nth-child(odd) { padding-left: 0; } .figures li:nth-child(even) { padding-right: 0; } .figures strong { font-size: 21px; } }
@media (max-width: 1200px) {
  .figures ul { grid-template-columns: 1fr 1fr; }
  .figures li:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures li:nth-child(2) { padding-right: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Industry pictograms: solid signage glyphs, sized to hold their own inside the frame */
.signboard .picto .icon { width: 40px; height: 40px; }
.sub .picto .icon { width: 24px; height: 24px; }
@media (max-width: 680px) { .signboard .picto .icon { width: 30px; height: 30px; } }

/* Kiosk screenshot and device: show the whole portrait image (the block rule crops photos to 3:2) */
.screen img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* Item titles inside a section are h3 (outline); feature and step lists keep the smaller size */
.points.one h3, .points.plain h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }

/* Solutions submenu: text items without pictograms; footer gets a fourth column */
.nav-links .sub a.plain { grid-template-columns: 1fr 18px; padding-top: 14px; padding-bottom: 14px; }
@media (min-width: 1061px) { .footer-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* Phone screenshot in a plain rounded frame (no notch) */
.phone-shot { display: grid; justify-items: center; align-content: center; }
.phone-frame { width: min(290px, 72%); border: 10px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); }
.block-media .phone-frame img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 24px; }
.phone-shot figcaption { justify-self: start; }

/* One kiosk screenshot without the device next to it; text-only block while its photo is missing */
.screen.single { grid-template-columns: minmax(0, 340px); justify-content: center; padding: clamp(16px, 2.4vw, 28px); }
/* A block without a picture reads like a section intro: heading left, text right */
.block.text-only { grid-template-columns: minmax(0, 1fr); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.block.text-only .block-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.block.text-only .block-text > h2 { grid-column: 1; grid-row: 1 / span 4; }
.block.text-only .block-text > :not(h2) { grid-column: 2; }
.block.text-only .block-text > p { margin-top: 0; }
@media (max-width: 1060px) { .block.text-only .block-text { grid-template-columns: minmax(0, 1fr); } .block.text-only .block-text > h2, .block.text-only .block-text > :not(h2) { grid-column: 1; grid-row: auto; } .block.text-only .block-text > p { margin-top: 22px; } }

/* A panel screenshot shown as it is (no photo crop) */
.panel-shot img { aspect-ratio: auto; height: auto; object-fit: contain; border: 1px solid var(--rule); background: #fff; }
/* Short expandable descriptions inside a block (kiosk accessibility) */
.faq.compact { margin-top: 28px; }
/* Heading and lead on the left (kept in view while the list is read), expandable list on the right */
.block.text-only .block-text.with-items > .block-lead { grid-column: 1; grid-row: 1; position: sticky; top: 100px; }
.block-lead p { margin-top: 22px; max-width: 520px; }
.block-text.with-items > .faq.compact { margin-top: 0; }
@media (max-width: 1060px) { .block.text-only .block-text.with-items > .block-lead { position: static; } .block-text.with-items > .faq.compact { margin-top: 28px; } }
.faq.compact summary { padding: 16px 0; font-size: 17px; }
.faq.compact details p { padding: 0 0 18px; margin: 0; }
/* Contact details stay in view beside the longer form */
@media (min-width: 1061px) { .contact-info { position: sticky; top: 100px; } }
