/* ==========================================================
   Fulcrum Systems — site styles
   Brand: navy #00142B + orange #F06D00 (from the logo)
   ========================================================== */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  --navy: #00142b;
  --navy-2: #0a2140;
  --navy-3: #13305a;
  --orange: #f06d00;
  --orange-hover: #ff7d12;
  --orange-text: #a84a00;      /* orange for text on light backgrounds (AA) */

  --paper: #f7f5f1;
  --paper-2: #efebe3;
  --card: #ffffff;
  --ink: #0b1a2e;
  --ink-2: #3a4556;
  --ink-3: #5a6474;
  --line: #ddd6ca;
  --line-2: #c9c0b1;

  --on-navy: #eef2f7;
  --on-navy-2: #b4bfcf;
  --line-navy: #1d3557;

  --ok: #1d7a4a;
  --err: #b42318;

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgb(0 20 43 / .06), 0 12px 32px -12px rgb(0 20 43 / .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.dot { margin-left: -.08em; } /* this font sets the full stop far from the last letter in big headings */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

main { overflow-x: clip; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--on-navy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section--navy .eyebrow { color: var(--orange); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-2); max-width: 62ch; }
.section--navy .lead { color: var(--on-navy-2); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--secondary:hover { border-color: var(--ink); }
.section--navy .btn--secondary { border-color: var(--line-navy); color: var(--on-navy); }
.section--navy .btn--secondary:hover { border-color: var(--on-navy); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 750; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none;
  margin-right: auto; min-height: 44px;
}
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand__light { font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  font-size: .9375rem; font-weight: 550; color: var(--ink-2);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 42px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--ink-2);
}
.lang:hover { border-color: var(--ink); color: var(--ink); }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.header[data-open="true"] .menu-btn .i-open { display: none; }
.header[data-open="true"] .menu-btn .i-close { display: block; }

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgb(0 20 43 / .25);
    display: none;
  }
  .header[data-open="true"] .nav { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: transparent; }
  .nav .nav__cta { margin-top: 16px; border: 0; border-radius: 999px; color: var(--navy); }
  .nav .nav__cta:hover { background: var(--orange-hover); }
}
@media (min-width: 921px) { .nav .nav__cta { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--orange-text); }
.hero .lead { margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9375rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--orange-text); flex: none; }

.shot {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 10px;
  box-shadow: 0 30px 80px -30px rgb(0 20 43 / .35), 0 0 0 1px var(--line);
}
.shot__bar { display: flex; gap: 6px; padding: 6px 6px 12px; }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot img { border-radius: 12px; width: 100%; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--orange);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.375rem; margin-top: 6px; }
.card p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tags li {
  font-size: .8125rem; font-weight: 600; color: var(--ink-2);
  padding: 5px 11px; border-radius: 999px; background: var(--paper-2);
}
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------- case study ---------- */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case__label {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .8125rem; font-weight: 650; color: var(--on-navy);
  padding: 6px 12px; border: 1px solid var(--line-navy); border-radius: 999px;
}
.case__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7f; }
.case h2 { color: #fff; }
.case .lead { margin-top: 18px; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy); }
.checks svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 4px; }
.case__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.case__shots { display: grid; gap: 16px; }
.case__shots figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-navy); background: var(--navy-2); }
.case__shots figcaption { padding: 10px 14px; font-size: .8125rem; color: var(--on-navy-2); }
.case__shots .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 920px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .case__shots .pair { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  border-top: 2px solid var(--ink); padding-top: 24px;
}
.step__n { font-family: var(--mono); font-size: .875rem; color: var(--orange-text); font-weight: 600; }
.step h3 { font-size: 1.375rem; margin: 10px 0 12px; }
.step p { color: var(--ink-2); }
.step ul { margin-top: 16px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .9688rem; }
.step li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--orange); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.principle h3 { font-size: 1.125rem; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: .9688rem; }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }
.about .principles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .about .principles { grid-template-columns: 1fr; } }

/* ---------- sound familiar ---------- */
.pains { border-top: 1px solid var(--line); }
.pain__i { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--paper-2); color: var(--navy-3); }
.pain__i svg { width: 24px; height: 24px; }
.pains__close { margin-top: 32px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); font-weight: 600; color: var(--ink); max-width: 62ch; }

/* ---------- service demos: before / after inside each card ---------- */
.svc.svc--demos { grid-template-columns: 1fr; }
.svc--demos .svc__body > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 16px clamp(24px, 4vw, 56px); align-items: start; padding: 4px 4px 32px; }
.svc--demos .svc__body .tags { margin-bottom: 0; }
@media (max-width: 860px) { .svc--demos .svc__body > div { grid-template-columns: minmax(0, 1fr); padding: 0 0 28px; } }

.dm { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); padding: clamp(10px, 1.6vw, 16px); box-shadow: var(--shadow); }
.dm__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.dm__switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.dm__tab { font: inherit; font-size: .875rem; font-weight: 650; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.dm__tab[aria-pressed="true"] { background: var(--navy); color: #fff; }
.dm__note { font-size: .75rem; color: var(--ink-3); }
.dm__stage { position: relative; }
.dm__panel { min-width: 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: clamp(12px, 1.8vw, 18px); }
.dm__panel + .dm__panel { margin-top: 12px; }
.dm--js .dm__panel + .dm__panel { margin-top: 0; }
.dm--js .dm__panel { transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .55s; }
.dm--js[data-view="before"] [data-panel="after"],
.dm--js[data-view="after"] [data-panel="before"] { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.985); pointer-events: none; }
.dm--js[data-view="before"] [data-panel="before"],
.dm--js[data-view="after"] [data-panel="after"] { transition-delay: 0s; }
.dm__go { margin-top: 14px; }
.dm:not(.dm--js) .dm__go { display: none; }
.dm .dm__title { font-size: .9688rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.dm__flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dm__flags li { font-size: .75rem; font-weight: 650; color: var(--err); background: #fdecea; border-radius: 6px; padding: 4px 8px; }
.dm__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.dm__kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--paper); }
.dm__kpis dt { font-size: .75rem; color: var(--ink-3); }
.dm__kpis dd { margin: 2px 0 0; font-size: 1.375rem; font-weight: 750; color: var(--ink); }
.dm__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dm__chip { font: inherit; font-size: .8125rem; font-weight: 600; color: var(--ink-2); background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; min-height: 36px; cursor: pointer; text-align: left; }
.dm__chip b { font-weight: 750; margin-left: 4px; color: var(--ink-3); }
.dm__chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.dm__chip[aria-pressed="true"] b { color: var(--on-navy-2); }
.dm__chip:disabled { opacity: .55; cursor: default; }
.dm--js .is-new { animation: dm-in .55s var(--ease) both; }
.dm--js .dm__in:nth-child(2) { animation-delay: .06s; }
.dm--js .dm__in:nth-child(3) { animation-delay: .12s; }
.dm--js .dm__in:nth-child(4) { animation-delay: .18s; }
.dm--js .dm__in:nth-child(5) { animation-delay: .24s; }
@keyframes dm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* spreadsheet look (before) */
.sheet__file { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8125rem; color: var(--ink-3); margin-bottom: 10px; }
.sheet__file strong { color: var(--ink); font-weight: 650; }
.sheet__icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #1d6f42; color: #fff; font-size: .6875rem; font-weight: 800; }
.sheet__scroll { overflow-x: auto; border: 1px solid #d4d4d4; }
.sheet { width: 100%; min-width: 420px; border-collapse: collapse; font-family: var(--mono); font-size: .75rem; color: #222; }
.sheet th, .sheet td { border: 1px solid #d4d4d4; padding: 6px 8px; text-align: left; white-space: nowrap; font-weight: 400; }
.sheet thead th { background: #f0f0f0; color: #444; font-weight: 600; }
.sheet tbody th { background: #f0f0f0; color: #666; width: 30px; text-align: center; }
.sheet tr.dup td { background: #fdecea; }
.sheet tr.hl td { background: #fff4c2; }
.sheet td.is-empty { background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgb(0 0 0 / .05) 6px 12px); }

/* 01 system */
.app__list { display: grid; gap: 6px; }
.app__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.app__row[hidden] { display: none; }
.app__who { display: grid; gap: 1px; min-width: 0; }
.app__who strong { font-size: .875rem; color: var(--ink); }
.app__who span { font-size: .8125rem; color: var(--ink-3); }
.app__loc { font-size: .75rem; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: 3px 9px; }
.app__st { font-size: .75rem; font-weight: 650; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.app__st--open { background: #e6eef9; color: #1b4a8a; }
.app__st--wait { background: #fff1e0; color: var(--orange-text); }
.app__st--done, .app__st--ok { background: #e3f3ea; color: var(--ok); }
.app__approve, .web__go { grid-column: 1 / -1; justify-self: start; font: inherit; font-size: .8125rem; font-weight: 700; color: var(--navy); background: var(--orange); border: 0; border-radius: 999px; padding: 9px 16px; min-height: 40px; cursor: pointer; }
.app__approve:hover, .web__go:hover { background: var(--orange-hover); }
.app__approve:disabled { background: #e3f3ea; color: var(--ok); cursor: default; }

/* 02 dashboards */
.dm .bi__h { font-size: .8125rem; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.bi__bars { display: grid; gap: 10px; }
.bi__bar { display: grid; grid-template-columns: 64px 1fr 72px; align-items: center; gap: 10px; font-size: .8125rem; }
.bi__lbl { color: var(--ink-2); }
.bi__track { height: 14px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bi__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--navy-3); transition: width .9s var(--ease); }
.bi__val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dm__kpis dd { font-variant-numeric: tabular-nums; }

/* 03 websites */
.web { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.web__url { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: .75rem; color: var(--ink-3); background: var(--paper); border-bottom: 1px solid var(--line); }
.web__warn { font-weight: 700; color: var(--err); }
.web__lock { display: inline-flex; color: var(--ok); }
.web__lock svg { width: 14px; height: 14px; }
.web__oldbody { padding: 22px 16px; background: #dcdcdc; font-family: "Times New Roman", Times, serif; color: #000; text-align: center; }
.dm .web__oldh { font-size: 1.25rem; font-weight: 700; color: #0000c8; text-decoration: underline; margin-bottom: 8px; }
.dm .web__oldsm { font-size: .75rem; color: #444; margin-top: 10px; }
.web__body { padding: 14px 16px 16px; }
.web__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: .9375rem; color: var(--ink); }
.web__lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.web__lang button { font: inherit; font-size: .75rem; font-weight: 700; color: var(--ink-2); background: transparent; border: 0; padding: 6px 12px; min-height: 32px; cursor: pointer; }
.web__lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.dm .web__h { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 750; line-height: 1.2; color: var(--ink); }
.dm .web__sub { font-size: .875rem; color: var(--ink-3); margin: 4px 0 12px; }
.web__book { border-top: 1px solid var(--line); padding-top: 12px; display: grid; }
.dm .web__lbl { font-size: .8125rem; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.dm .web__ok { margin-top: 10px; font-size: .875rem; font-weight: 650; color: var(--ok); background: #e3f3ea; border-radius: 10px; padding: 10px 12px; }

/* 04 AI */
.inv { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-family: var(--mono); font-size: .8125rem; color: #333; background: #fffef9; }
.dm .inv__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.inv__t { width: 100%; border-collapse: collapse; }
.inv__t td { padding: 5px 0; border-bottom: 1px dashed #ccc; }
.inv__t td:last-child { text-align: right; }
.dm .inv__tot { text-align: right; font-weight: 700; margin-top: 8px; }
.ai__log { display: grid; gap: 8px; margin-bottom: 12px; }
.dm .ai__msg { max-width: 92%; font-size: .875rem; line-height: 1.5; padding: 9px 12px; border-radius: 14px; }
.dm .ai__msg--bot { justify-self: start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 4px; }
.dm .ai__msg--me { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.dm .ai__msg b { font-weight: 750; }
.ai__dots { display: inline-flex; gap: 4px; }
.ai__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dm-dot 1s infinite ease-in-out; }
.ai__dots i:nth-child(2) { animation-delay: .15s; }
.ai__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dm-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.dm .ai__foot { font-size: .75rem; color: var(--ink-3); margin-top: 2px; }

@media (max-width: 560px) {
  .app__row { grid-template-columns: 1fr auto; }
  .app__loc { grid-row: 2; justify-self: start; }
  .dm__kpis dd { font-size: 1.125rem; }
  .dm__tab { padding: 8px 10px; font-size: .8125rem; }
  .bi__bar { grid-template-columns: 56px 1fr 64px; }
}

/* ---------- image zoom ---------- */
.shot img, .service__visual img, .case__shots img { cursor: zoom-in; }
.lightbox {
  margin: auto; border: 0; padding: 0; background: transparent; overflow: visible;
  max-width: 96vw; max-height: 94vh;
}
.lightbox::backdrop { background: rgb(0 20 43 / .85); }
.lightbox img {
  max-width: 96vw; max-height: 90vh; width: auto; height: auto;
  border-radius: 12px; background: var(--card); cursor: zoom-out;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .6);
}
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--card); color: var(--navy); cursor: pointer;
}
.lightbox__close svg { width: 22px; height: 22px; }
/* on phones, show the picture larger and let people scroll around it */
@media (max-width: 760px) and (orientation: portrait) {
  .lightbox { overflow: auto; max-width: 100vw; max-height: 100vh; width: 100vw; margin: auto 0; }
  .lightbox img { max-width: none; max-height: none; width: 190vw; border-radius: 0; }
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact__meta { display: grid; gap: 18px; margin-top: 36px; }
.contact__meta div { display: grid; gap: 2px; }
.contact__meta dt { font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.contact__meta dd { margin: 0; font-size: 1.0625rem; color: #fff; }
.contact__meta a { color: #fff; }

.form {
  background: var(--card); color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px);
  display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .9375rem; font-weight: 650; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff;
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(240 109 0 / .35);
}
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { color: var(--err); font-size: .875rem; font-weight: 550; min-height: 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--line-2); border-radius: 999px; font-size: .9375rem; font-weight: 550;
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .875rem; color: var(--ink-3); }
.form__legal a { color: var(--ink-2); }
.form__status { font-weight: 600; border-radius: 10px; padding: 14px 16px; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { background: #e7f5ee; color: var(--ok); }
.form__status[data-state="error"] { background: #fdecea; color: var(--err); }
.form__status a { color: inherit; }
.turnstile:empty { display: none; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-navy-2); border-top: 1px solid var(--line-navy); padding-block: 56px 32px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-block; padding: 10px 0; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-navy); font-size: .875rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- legal pages ---------- */
.legal-head { padding-block: clamp(48px, 7vw, 88px) 32px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; font-size: .875rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.legal-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; color: var(--ink-3); font-size: .9375rem; }
.legal-meta strong { color: var(--ink); font-weight: 650; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); padding-block: 48px var(--section); }
.toc { position: sticky; top: 96px; align-self: start; font-size: .9375rem; }
.toc h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-3); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 72ch; }
.prose section + section { margin-top: 48px; }
.prose h2 { font-size: 1.625rem; margin-bottom: 16px; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; padding-left: 1.25em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-text); font-weight: 600; }
.callout { margin-top: 20px; padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); }
.callout p { color: var(--ink); }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound__code { font-family: var(--mono); font-weight: 600; color: var(--orange-text); letter-spacing: .1em; }
.notfound h1 { font-size: clamp(2.25rem, 6vw, 4rem); margin: 12px 0 16px; }
.notfound .lead { margin-inline: auto; }
.notfound .hero__cta { justify-content: center; }


/* ---------- service rows (text + visual) ---------- */
.services { display: grid; gap: clamp(64px, 9vw, 120px); }
.service { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.service:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.service:nth-child(even) .service__text { order: 2; }
.service__text { display: flex; flex-direction: column; gap: 14px; }
.service__text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 6px; }
.service__text p { color: var(--ink-2); font-size: 1.0625rem; }
.service__text .tags { margin-top: 6px; }
.service__text .tags li { background: var(--card); border: 1px solid var(--line); }
.service__visual {
  margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgb(0 20 43 / .55), 0 0 0 1px rgb(0 20 43 / .06);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform: perspective(1400px) rotateY(0) translateY(0);
}
.service:hover .service__visual { transform: perspective(1400px) rotateY(-3deg) translateY(-6px); box-shadow: 0 50px 90px -40px rgb(0 20 43 / .65), 0 0 0 1px rgb(240 109 0 / .25); }
.service:nth-child(even):hover .service__visual { transform: perspective(1400px) rotateY(3deg) translateY(-6px); }
@media (max-width: 860px) {
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__text { order: 0; }
}

/* ---------- motion ---------- */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgb(240 109 0 / .16), rgb(240 109 0 / 0) 65%);
  animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, 80px) scale(1.15); } }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes shot-in { from { opacity: 0; transform: perspective(1400px) rotateY(-12deg) translateX(40px) scale(.96); } to { opacity: 1; transform: perspective(1400px) rotateY(-4deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero .eyebrow  { animation: rise .7s var(--ease) both; }
.hero h1        { animation: rise .8s .08s var(--ease) both; }
.hero .lead     { animation: rise .8s .18s var(--ease) both; }
.hero__cta      { animation: rise .8s .28s var(--ease) both; }
.hero__facts    { animation: rise .8s .38s var(--ease) both; }
.hero .shot     { animation: shot-in 1.1s .2s var(--ease) backwards, float 7s 1.4s ease-in-out infinite; transform: perspective(1400px) rotateY(-4deg); transition: transform .6s var(--ease); }
.hero .shot:hover { transform: perspective(1400px) rotateY(0deg) scale(1.01); }

/* scroll reveal — only hidden when JS is running, so content never disappears without it */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .service.reveal .service__visual { opacity: 0; translate: 60px 0; transition: opacity 1s .15s var(--ease), translate 1s .15s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.js .service.reveal:nth-child(even) .service__visual { translate: -60px 0; }
.js .service.reveal.is-in .service__visual { opacity: 1; translate: 0 0; }
.js .reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .reveal-group.is-in > :nth-child(2) { transition-delay: .1s; }
.js .reveal-group.is-in > :nth-child(3) { transition-delay: .2s; }
.js .reveal-group.is-in > :nth-child(4) { transition-delay: .3s; }
.js .reveal-group.is-in > :nth-child(5) { transition-delay: .4s; }
.js .reveal-group.is-in > :nth-child(6) { transition-delay: .5s; }
.js .reveal-group.done > * { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); transition-delay: 0s; }

/* process: the top rule draws itself in */
.step { position: relative; border-top: 2px solid var(--line); }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.js .steps.is-in .step::before { transform: scaleX(1); }
.js .steps.is-in .step:nth-child(2)::before { transition-delay: .25s; }
.js .steps.is-in .step:nth-child(3)::before { transition-delay: .5s; }
html:not(.js) .step::before { transform: scaleX(1); }

/* hover lift for cards */
.principle, .case__shots figure, .faq details {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.case__shots figure:hover { transform: translateY(-4px) scale(1.01); border-color: color-mix(in srgb, var(--orange) 50%, var(--line-navy)); }
.case__shots figure img { transition: transform .8s var(--ease); }
.case__shots figure:hover img { transform: scale(1.03); }
.card__icon { transition: transform .4s var(--ease); }
.service:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(240 109 0 / .7); }

.header { transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(0 20 43 / .35); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .js .reveal, .js .reveal-group > *, .js .service.reveal .service__visual { opacity: 1; transform: none; translate: none; }
  .hero::before { animation: none; }
}
