/* Osmoz — osmoz.cloud
   Self-hosted fonts only. No external requests. */

/* ---------- Fonts ----------
   Place the woff2 files in /fonts/ (see fonts/README.txt).
   Latin + Latin Extended cover EU; Arabic falls back to the system stack. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/bricolage-grotesque-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/bricolage-grotesque-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/bricolage-grotesque-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/bricolage-grotesque-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/ibm-plex-sans-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/ibm-plex-sans-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #071a24;
  --deep: #0d2b39;
  --paper: #f1f4f2;
  --line: #c9d5d3;
  --ochre: #dda55c;
  --aqua: #35b6a4;

  --ink-muted: #a8c0c4;      /* 9.3:1 on --ink */
  --ink-body: #c2d3d5;
  --paper-muted: #445a5d;    /* 6.6:1 on --paper */
  --rule-deep: #24475a;

  --display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --pad-y: clamp(64px, 8vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: #0d6f63; text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.028em; margin: 0; text-wrap: pretty; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--aqua); color: #06202b; padding: 10px 16px; font-weight: 600; font-size: 14px;
}
.skip:focus { left: 16px; }

.btn {
  display: inline-block; background: var(--aqua); color: #06202b;
  padding: 15px 26px; border-radius: 2px; font-weight: 600; font-size: 15.5px;
}
.btn:hover { background: #56c8b8; color: #06202b; }
.btn-ghost {
  display: inline-block; border: 1px solid #33555f; color: var(--paper);
  padding: 15px 26px; border-radius: 2px; font-weight: 500; font-size: 15.5px;
}
.btn-ghost:hover { border-color: var(--ink-muted); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,244,242,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px;
}
.wordmark { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.wordmark span { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.wordmark .glyph { flex: none; }

.nav-desktop { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 15px; font-weight: 500; }
.nav-desktop a { color: #33474b; }
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop .btn { padding: 10px 18px; font-size: 15px; }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); }

.nav-mobile {
  display: none; flex-direction: column;
  border-top: 1px solid var(--line); background: var(--paper);
  padding: 8px var(--gutter) 20px;
}
.nav-mobile a { padding: 15px 0; border-bottom: 1px solid #dde5e3; color: var(--ink); font-size: 17px; font-weight: 500; }
.nav-mobile a:hover { color: #0d6f63; }
.nav-mobile .btn { margin-top: 16px; border-bottom: 0; text-align: center; padding: 15px 20px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); }
.hero .wrap { padding-top: clamp(56px, 8vw, 128px); padding-bottom: clamp(64px, 8vw, 128px); }
.hero-inner { max-width: 940px; }
.hero-kicker { margin-bottom: 26px; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); max-width: 46ch; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.04; max-width: 15ch; }
.hero-lede { margin-top: 30px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.62; color: #cddbdb; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- Regions ---------- */
.regions { background: var(--deep); color: var(--paper); }
.regions .wrap { padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }
.h-small { font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin-bottom: 34px; }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-deep); }
.region { background: var(--deep); padding: 26px 24px; }
.region:first-child { padding-left: 0; }
.region:last-child { padding-right: 0; }
.region h3 { font-weight: 700; font-size: 20px; letter-spacing: -0.025em; margin-bottom: 10px; }
.region p { font-size: 15px; line-height: 1.6; color: var(--ink-body); max-width: 34ch; }
.region .offset { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--aqua); font-variant-numeric: tabular-nums; }

/* ---------- Services ---------- */
.services .wrap { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; max-width: 14ch; }
.section-head p { font-size: 16.5px; line-height: 1.62; color: var(--paper-muted); max-width: 56ch; }

.svc-list { border-top: 1px solid var(--line); }
.svc {
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 4vw, 56px);
  padding: clamp(22px, 2.6vw, 32px) 0;
}
.svc h3 { font-weight: 500; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.12; }
.svc p { font-size: 16px; line-height: 1.6; color: var(--paper-muted); max-width: 58ch; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  border: 1px solid var(--line); border-radius: 2px; padding: 5px 10px;
  font-size: 12.5px; font-weight: 500; color: #33474b;
}

/* ---------- Process ---------- */
.process { background: var(--ink); color: var(--paper); }
.process .wrap { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.process h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; max-width: 16ch; margin-bottom: clamp(40px, 5vw, 64px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.step-rule { display: block; width: 46px; height: 1px; background: var(--aqua); margin-bottom: 16px; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--aqua); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.step h3 { font-weight: 500; font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--ink-body); max-width: 36ch; }

/* ---------- Why ---------- */
.why .wrap { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
.why h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; max-width: 13ch; margin-bottom: 24px; }
.why-lede { font-size: 16.5px; line-height: 1.62; color: var(--paper-muted); max-width: 56ch; margin-bottom: 36px; }
blockquote { margin: 0; border-left: 2px solid var(--ochre); padding: 4px 0 4px 24px; }
blockquote p { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.28; letter-spacing: -0.028em; max-width: 26ch; }
blockquote footer { margin-top: 14px; font-size: 14px; color: var(--paper-muted); }
.reasons { border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.reasons li { padding: clamp(20px, 2.4vw, 28px); border-bottom: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 0; }
.reasons h3 { font-weight: 700; font-size: 18.5px; letter-spacing: -0.025em; margin-bottom: 8px; }
.reasons p { font-size: 15.5px; line-height: 1.6; color: var(--paper-muted); max-width: 52ch; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .wrap { padding-top: var(--pad-y); padding-bottom: clamp(64px, 8vw, 120px); }
.contact h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; max-width: 20ch; margin-bottom: clamp(32px, 4vw, 48px); }
.email {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 5.6vw, 68px); letter-spacing: -0.03em; line-height: 1.05;
  color: var(--aqua); word-break: break-word;
}
.email:hover { color: #7fd8cb; }
.facts {
  margin-top: clamp(44px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--rule-deep);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
}
.facts h3 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink-muted); margin-bottom: 8px; letter-spacing: 0; }
.facts p { font-size: 16px; line-height: 1.6; color: #e3ebe9; max-width: 34ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--paper); }
.footer-grid {
  padding-top: clamp(44px, 5vw, 64px); padding-bottom: 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
}
.footer-grid .wordmark { margin-bottom: 14px; }
.footer-grid > div p { font-size: 15px; line-height: 1.6; color: var(--ink-body); max-width: 38ch; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer nav h2 { font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; letter-spacing: 0; }
.site-footer nav a { color: #e3ebe9; }
.site-footer nav a:hover { color: var(--aqua); }
.legal { padding: 24px 0 40px; border-top: 1px solid var(--rule-deep); font-size: 13.5px; color: var(--ink-muted); }

/* ---------- 960px ---------- */
@media (max-width: 960px) {
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .region { padding: 22px; }
  .region:nth-child(odd) { padding-left: 0; }
  .region:nth-child(even) { padding-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section-head, .svc, .why-grid { grid-template-columns: 1fr; }
  .svc { gap: 14px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 720px ---------- */
@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile[data-open] { display: flex; }
  .region-grid { grid-template-columns: 1fr; }
  .region, .region:nth-child(odd), .region:nth-child(even) { padding: 22px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* No-JS fallback: without app.js the .no-js class survives and the menu
   stays expanded, so the links remain reachable. */
@media (max-width: 720px) {
  .no-js .nav-toggle { display: none; }
  .no-js .nav-mobile { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
