/*
 * Inter (SIL Open Font License, see fonts/OFL-Inter.txt), self-hosted so the site looks the same
 * on every device and makes no requests to third parties.
 * The Latin Extended file is subset to U+0100-017F (Czech, Slovak, German and other Central European letters).
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Michroma (SIL Open Font License, see fonts/OFL-Michroma.txt) for the company name only.
   It has a single weight; .brand-stroke thickens it slightly. */
@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/michroma-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #65d12e;
  --brand-soft: #eef9e7;
  --brand-ink: #2b7512;
  --ink: #1c2119;
  --muted: #5b6157;
  --line: #e3e7df;
  --bg: #ffffff;
  --bg-soft: #f5f7f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 33, 25, .04), 0 8px 24px rgba(28, 33, 25, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Michroma", var(--font);
  --brand-stroke: .025em;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none;
  font-family: var(--font-brand); font-weight: 400; letter-spacing: .06em; font-size: .95rem;
  -webkit-text-stroke: var(--brand-stroke) currentColor;
}
.brand img { width: 30px; height: 30px; }
.header-end { display: flex; align-items: center; gap: 1.75rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Language switcher */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang a {
  min-width: 2.4rem; padding: .3rem .55rem; border-radius: 999px; text-align: center;
  color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
}
.lang a:hover { color: var(--ink); background: var(--bg-soft); }
.lang a[aria-current="page"] { background: var(--brand); color: var(--ink); }
.lang a:focus-visible { outline-offset: 1px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 1rem;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
/* The heading scales with its column: "CONCEPTUAL" in Michroma is 10em wide, so 9.5cqi always fits on one line. */
.hero-text { container-type: inline-size; }
h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 4vw, 2.85rem);
  font-size: min(2.85rem, 9.5cqi);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 400;
  -webkit-text-stroke: var(--brand-stroke) currentColor;
}
h1 .suffix { color: var(--muted); }
.lead { margin: 0 0 2rem; color: var(--muted); font-size: 1.15rem; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink); background: #fff;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: #c9d0c3; background: var(--bg-soft); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.btn.primary:hover { background: #5bc426; border-color: #5bc426; }
.btn svg { width: 18px; height: 18px; flex: none; }
.hero-img img { display: block; width: 100%; height: auto; }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.75rem; font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.01em; line-height: 1.2;
}
h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--brand); flex: none; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Company facts */
.facts { margin: 0; padding: 8px 28px; }
.fact { display: grid; grid-template-columns: 190px 1fr; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: .95rem; padding-top: .1rem; }
.fact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fact dd address { font-style: normal; }
.fact .note { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.fact .country { font-weight: 400; color: var(--muted); }
.fact .map-link { display: inline-block; margin-top: .4rem; font-weight: 500; font-size: .95rem; }
.ext svg { width: 15px; height: 15px; vertical-align: -.15em; margin-left: .3rem; }
.ico-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.ico-row .num { font-size: 1.15rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ico-row a { font-weight: 500; font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
.person { padding: 32px 28px; background: linear-gradient(160deg, var(--brand-soft), #fff 70%); border-right: 1px solid var(--line); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em;
  margin-bottom: 1rem;
}
.person .name { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.person .role { margin: .2rem 0 0; color: var(--muted); }
.channels { list-style: none; margin: 0; padding: 12px 28px; }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; }
.channel .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink);
}
.channel .icon svg { width: 22px; height: 22px; }
.channel .label { display: block; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.channel .value { font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.channel .value.id { display: block; letter-spacing: .06em; }
.channel .hint { display: block; font-size: .9rem; margin-top: .1rem; }
.channel .hint svg { width: 14px; height: 14px; vertical-align: -.1em; margin-left: .25rem; }
.nowrap { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer .brand-mini { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer img { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-img { order: -1; max-width: 520px; }
  .contact { grid-template-columns: 1fr; }
  .person { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 20px; display: flex; align-items: center; gap: 16px; }
  .person .avatar { margin: 0; flex: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .brand { font-size: .85rem; }
  .lead { font-size: 1.05rem; }
  section.block { padding: 40px 0; }
  .facts { padding: 4px 20px; }
  .fact { grid-template-columns: 1fr; padding: 14px 0; }
  .channels { padding: 4px 20px; }
  .channel { grid-template-columns: 40px 1fr; gap: 14px; }
  .channel .icon { width: 40px; height: 40px; }
  .channel .value { font-size: 1.02rem; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 400px) {
  .site-header .wrap { gap: .75rem; }
  .brand { font-size: .72rem; gap: .5rem; }
  .brand img { width: 24px; height: 24px; }
  .lang a { min-width: 2rem; padding: .3rem .4rem; }
  .eyebrow { font-size: .78rem; padding: .3rem .7rem; }
}

@media print {
  .site-header { position: static; }
  .nav, .lang, .actions, .skip { display: none; }
  .card { box-shadow: none; }
  section.block.soft { background: none; }
}
