/* EMSARO Global Technology – site styles
   Fonts: Inter ships with the site. Archivo (headings) and IBM Plex Mono (labels)
   are added by tools/fetch-fonts.sh; until then the fallbacks below are used. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }

:root {
  --ink: #0A1A36;
  --navy: #0E244A;
  --yellow: #FDCA0F;
  --blue: #2A5DB8;
  --blue-dark: #1B3F85;
  --line: #DCE3EE;
  --paper: #F5F7FA;
  --text: #1B2A44;
  --muted: #4A5568;
  --soft: #B8C4D9;
  --on-dark: #DCE3EE;
  --font-head: "Archivo", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
.plain { list-style: none; padding: 0; }
[id] { scroll-margin-top: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: var(--navy); padding: 12px 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; width: 100%; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.paper { background: var(--paper); }
.bordered-top { border-top: 1px solid var(--line); }
.bordered-bottom { border-bottom: 1px solid var(--line); }
.dark { background: var(--navy); color: #fff; }
.grid-bg { background-color: var(--ink); color: #fff; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; }
.stack { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; } .gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; } .gap-80 { gap: 80px; }
.narrow { max-width: 760px; }

/* Type */
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.dark .eyebrow, .grid-bg .eyebrow, .eyebrow--yellow { color: var(--yellow); }
.h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.h1--hero { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; color: #fff; }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.015em; color: var(--navy); text-wrap: balance; }
.h2--sm { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--navy); }
.dark .h2, .grid-bg .h2, .dark .h3 { color: #fff; }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.sub { font-size: 18px; color: var(--muted); }
.dark .lead, .grid-bg .lead, .dark .sub, .grid-bg .sub { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.note { font-size: 13px; color: var(--soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #FFD83A; color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.arrow-link::after { content: "→"; margin-left: 8px; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(4px); }
.dark .arrow-link { color: var(--yellow); }

/* Header */
.site-header { background: var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 40px; min-height: 84px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.nav a:not(.btn) { color: #C9D3E4; text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--yellow); }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); color: #fff; font: 500 15px var(--font-body); padding: 0 14px; cursor: pointer; }
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .js .nav.open { display: flex; }
  .nav a:not(.btn) { border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
  .nav .btn { margin-top: 16px; align-self: flex-start; }
}

/* Hero */
.hero .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.hero--page .wrap { padding-top: 72px; padding-bottom: 80px; gap: 48px 72px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__side { flex: 1 1 420px; min-width: 0; }
.hero .lead--hero { color: var(--on-dark); max-width: 540px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }

.index { display: flex; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.16); }
.index a { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); text-decoration: none; color: #fff; }
.index__n { font-family: var(--font-mono); font-size: 14px; color: var(--yellow); width: 28px; }
.index__t { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.index__t strong { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.25; }
.index__t span { font-size: 14px; color: var(--soft); }
.index a::after { content: "→"; font-size: 20px; color: var(--yellow); transition: transform .15s; }
.index a:hover::after { transform: translateX(4px); }

/* Brand strip */
.brands .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 48px; }
.brands .eyebrow { color: var(--muted); }
.brands ul { display: flex; flex-wrap: wrap; gap: 8px 44px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--navy); }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.grid--list { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card__n { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--blue); }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 27px; line-height: 1.2; color: var(--navy); }
.card p { color: var(--muted); max-width: 480px; text-wrap: pretty; }
.card .arrow-link { margin-top: auto; padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--font-mono); font-size: 13px; color: var(--navy); border: 1px solid var(--line); background: var(--paper); padding: 6px 12px; border-radius: 2px; }
.panel { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel p { color: var(--muted); font-size: 15px; }
.item { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 4px; background: #fff; }
.item strong { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--navy); }
.item span { font-size: 14px; color: var(--muted); }
.item--row { flex-direction: row; align-items: baseline; gap: 12px; padding: 16px 18px; }
.item--row em { font-family: var(--font-mono); font-style: normal; font-size: 13px; color: var(--blue); }
.item--row strong { font-size: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px 32px; }
.stat { border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: var(--font-head); font-weight: 600; font-size: 36px; line-height: 1.1; color: #fff; white-space: nowrap; }
.stat span { font-size: 14px; color: var(--soft); }

/* Split + product photos */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.photos { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 40px 32px; display: flex; align-items: flex-end; justify-content: center; gap: 32px; }
.photos figure { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; }
.photos img { height: 280px; width: auto; max-width: 100%; object-fit: contain; }
.photos figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; }
.partner { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.partner img { height: 44px; width: auto; }
.tile { background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.tile__img { height: 140px; display: flex; align-items: center; justify-content: center; }
.tile__img img { max-height: 140px; max-width: 100%; object-fit: contain; }
.tile strong { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--navy); }

/* Steps */
.step { border-top: 2px solid var(--navy); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.step__n { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--blue); }
.step p { color: var(--muted); font-size: 15px; }

/* Statement */
.statement { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.015em; color: #fff; max-width: 980px; text-wrap: balance; }
.big-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.big-chips li { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); background: var(--yellow); padding: 8px 20px; border-radius: 2px; }

/* Section heads in catalogue */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; border-top: 3px solid var(--navy); padding-top: 24px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; flex: 1 1 520px; min-width: 0; }
.sec-head p { color: var(--muted); max-width: 640px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--navy); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--radius); }
.jump a:hover { background: var(--navy); color: #fff; }
.download { flex: 0 1 380px; min-width: 0; background: var(--navy); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.download strong { font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1.2; }
.download p { font-size: 15px; color: var(--on-dark); }
.download .btn { align-self: flex-start; margin-top: 6px; }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
thead th { text-align: left; padding: 14px 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); }
tbody th, tbody td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; text-align: left; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy); white-space: nowrap; }

/* CTA band */
.cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.cta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.contact__info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__rows { display: flex; flex-direction: column; margin-top: 16px; border-bottom: 1px solid var(--line); }
.contact__rows div { display: flex; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; color: var(--navy); }
.contact__rows dt, .contact__rows .k { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--muted); width: 72px; flex: none; padding-top: 4px; }
.contact__rows a { text-decoration: none; }
.form { flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid #8A97AD; border-radius: var(--radius); font: inherit; color: var(--text); background: #fff; width: 100%; }
.field textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(42,93,184,.35); border-color: var(--blue); }
.form .btn { align-self: flex-start; }
.form__legal { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Prose (privacy, messages) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--navy); margin-top: 20px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.message { padding: 120px 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--soft); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col img { height: 44px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.footer__col h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8FA0BD; margin-bottom: 6px; }
.footer__col a { color: var(--on-dark); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 13px; color: #8FA0BD; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero .wrap, .hero--page .wrap { padding-top: 56px; padding-bottom: 64px; }
  .card, .form { padding: 24px; }
  .photos { padding: 24px 16px; gap: 16px; }
  .photos img { height: 180px; }
  .contact__rows div { flex-direction: column; gap: 2px; }
  .brands ul { gap: 6px 28px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta, .form { display: none; } }
