/* Innolink Holdings company site.
   Brand from the Innolink services deck: ink #111111 on paper #F5F5F3, Archivo for headings,
   IBM Plex Sans for text. Fonts are self-hosted (SIL Open Font License, see fonts/OFL.txt):
   the CSP allows nothing from elsewhere and no scripts or inline styles at all. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #f5f5f3;
  --white: #fcfcfb;
  --text: #4a4a4a;
  --rule: #d9d9d6;
  --rule-strong: #c4c4c2;
  --on-ink: #f5f5f3;
  --on-ink-muted: #b5b5b4;
  --on-ink-rule: #3a3a3a;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); line-height: 1.15; }
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--text); max-width: 64ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 40px; } }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Header */
.top { background: var(--paper); border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.25rem; }
.mark { width: 30px; height: 30px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.top nav a { text-decoration: none; font-size: 0.9375rem; padding: 12px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--ink); }
.top nav .nav-cta { background: var(--ink); color: var(--on-ink); padding: 10px 16px; border: 0; border-radius: 3px; font-weight: 600; margin-left: 8px; }
.top nav .nav-cta:hover { background: #333333; }
@media (max-width: 767px) {
  .top nav { gap: 0 16px; width: 100%; }
  .top nav .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .top-inner { padding-bottom: 4px; }
  .top nav { gap: 0 14px; }
  .top nav a { font-size: 0.8125rem; }
  .lineup figcaption { font-size: 0.75rem; text-align: center; }
  .lineup { gap: 8%; }
  .stats { gap: 10px; }
}

/* Buttons */
.button { display: inline-block; padding: 13px 22px; border: 2px solid var(--on-ink); background: var(--on-ink); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.2; border-radius: 3px; }
.button:hover { background: var(--white); border-color: var(--white); }
.button-quiet { background: transparent; color: var(--on-ink); border-color: #6e6e6e; }
.button-quiet:hover { background: transparent; border-color: var(--on-ink); }
.hero :focus-visible, .contact :focus-visible, .missing :focus-visible { outline-color: var(--on-ink); }

/* Hero: the positioning on the left, the platform we run ourselves as proof on the right */
.hero { background: var(--ink); color: var(--on-ink); padding: 64px 0 72px; }
.hero-inner { display: grid; gap: 48px; }
.hero h1 { color: var(--on-ink); max-width: 16ch; }
.lede { color: var(--on-ink-muted); font-size: 1.1875rem; margin-top: 20px; max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.proof { border-top: 2px solid var(--on-ink); padding-top: 18px; }
.proof .proof-label { color: var(--on-ink); font-size: 0.9375rem; font-family: var(--body); font-weight: 600; margin: 0 0 10px; }
.proof-lead { color: var(--on-ink-muted); max-width: 44ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 18px; }
.stats > div { border-top: 1px solid var(--on-ink-rule); padding-top: 12px; }
.stats dt { color: var(--on-ink); font-family: var(--head); font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); line-height: 1.1; }
.stats dd { color: var(--on-ink-muted); font-size: 0.875rem; margin-top: 6px; }
.proof-note { color: var(--on-ink-muted); font-size: 0.8125rem; margin: 0; }
@media (min-width: 960px) {
  .hero { padding: 104px 0 112px; }
  .hero-inner { grid-template-columns: 7fr 5fr; align-items: end; gap: 72px; }
}

/* Kiosk formats standing on one floor line, inside the in-store section */
.lineup { display: grid; grid-template-columns: 196fr 255fr 281fr; align-items: end; gap: 6%; padding: 0 2%; margin-top: 28px; max-width: 520px; }
.lineup figure { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.lineup img { width: 100%; }
.lineup figcaption { font-size: 0.875rem; color: var(--text); padding: 12px 0 0; }
.nw { white-space: nowrap; }

/* Section bands */
.band { padding: 72px 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.band-white { background: var(--white); }
@media (min-width: 960px) { .band { padding: 104px 0; } }
.band h2 { margin-bottom: 20px; }
.h-sub { font-size: 1.375rem; margin-bottom: 10px; }
.h-gap { margin-top: 64px; }
.note { font-size: 0.9375rem; margin-top: 20px; }

.statement { max-width: 24ch; }
.intro { font-size: 1.1875rem; max-width: 56ch; margin-top: 4px; }


dl { margin: 0; }
dd { margin: 4px 0 0; color: var(--text); }
dt { font-weight: 600; color: var(--ink); }

.services { display: grid; border-top: 1px solid var(--rule-strong); }
.services > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
.services-three { margin-top: 16px; }
@media (min-width: 960px) { .services-three { grid-template-columns: repeat(3, 1fr); } }

/* Kiosks */
.kiosk-intro { display: grid; gap: 40px; }
.lede-dark { font-size: 1.1875rem; max-width: 44ch; margin-bottom: 28px; }
.features { display: grid; border-top: 1px solid var(--rule-strong); }
.features > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.photo { max-width: 440px; }
.photo img { width: 100%; }
.photo figcaption { font-size: 0.875rem; color: var(--text); margin-top: 10px; }
@media (min-width: 960px) {
  .kiosk-intro { grid-template-columns: 1fr 440px; gap: 64px; align-items: start; }
}
.hardware { display: grid; gap: 24px; margin-top: 72px; padding-top: 40px; border-top: 2px solid var(--ink); }
@media (min-width: 960px) { .hardware { grid-template-columns: 4fr 7fr; gap: 64px; } }

table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.specs th { width: 38%; font-weight: 600; color: var(--ink); }
.specs td { color: var(--text); }
.specs tr:first-child th, .specs tr:first-child td { border-top: 1px solid var(--rule-strong); }
.table-scroll { overflow-x: auto; margin-top: 8px; }

.methods thead th { font-size: 0.875rem; color: var(--text); font-weight: 600; border-bottom: 2px solid var(--ink); }
.methods tbody th { font-weight: 600; width: 30%; }
.methods td { color: var(--text); }

@media (max-width: 480px) {
  .methods, .methods tbody { display: block; }
  .methods thead { display: none; }
  .methods tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .methods tbody tr:first-child { border-top: 2px solid var(--ink); }
  .methods th, .methods td { display: block; width: auto; padding: 0; border: 0; }
  .methods tbody th { width: auto; margin-bottom: 2px; }
}

.rows { border-top: 1px solid var(--rule-strong); }
.rows > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) {
  .rows > div { display: grid; grid-template-columns: 15rem 1fr; gap: 24px; }
  .rows dd { margin: 0; }
}

/* Selected work */
.work { display: grid; gap: 28px; margin-top: 36px; }
.work .tag { font-size: 0.875rem; color: var(--text); margin: 0 0 4px; }
.work > div { border-top: 1px solid var(--rule-strong); padding-top: 16px; }
.work h3 { margin-bottom: 8px; }
@media (min-width: 768px) { .work { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; } }
@media (min-width: 1100px) { .work { grid-template-columns: repeat(3, 1fr); } }

/* How we work: a real sequence, so it is numbered */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-family: var(--head); font-weight: 600; font-size: 1.5rem; line-height: 1; margin-bottom: 12px; color: var(--ink); }
.steps h3 { margin-bottom: 6px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); padding: 80px 0; }
.contact-inner { display: grid; gap: 40px; align-items: center; }
.contact h2 { color: var(--on-ink); margin-bottom: 16px; }
.contact p { color: var(--on-ink-muted); }
.lockup { width: 128px; }
.contact-links { display: flex; flex-direction: column; gap: 6px; margin: 20px 0; }
.contact-links a { color: var(--on-ink); font-size: clamp(1.1875rem, 1rem + 1vw, 1.625rem); font-family: var(--head); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration-thickness: 2px; }
.muted { font-size: 0.9375rem; }
@media (min-width: 768px) { .contact-inner { grid-template-columns: 200px 1fr; gap: 64px; } .lockup { width: 160px; } }

.foot { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--on-ink-rule); }
.foot p { margin: 0; padding: 22px 0; font-size: 0.875rem; color: var(--on-ink-muted); }

/* 404 */
.page-missing { min-height: 100vh; display: flex; flex-direction: column; background: var(--ink); }
.missing { flex: 1; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; padding: 80px 0; }
.missing > .wrap { width: 100%; }
.missing h1 { color: var(--on-ink); max-width: 20ch; }
.missing p { color: var(--on-ink-muted); margin-top: 16px; }
