/* ==========================================================================
   Sarraf Enertech — design system
   Palette : Ink (deep blue-black) · Drawing paper · Signal copper · Data cyan
   Type    : IBM Plex Sans (text) · IBM Plex Mono (technical annotations)
   ========================================================================== */

:root {
  --ink: #0D1821;
  --ink-2: #132230;
  --ink-3: #1B2D3C;
  --line-d: rgba(255, 255, 255, .08);
  --line-d2: rgba(255, 255, 255, .16);
  --on-dark: #EEF2F5;
  --on-dark-muted: #9DADBA;

  --paper: #F4F2ED;
  --paper-2: #EAE6DE;
  --white: #FFFFFF;
  --text: #15202B;
  --muted: #56626D;
  --line: #DCD6CA;
  --line-2: #C6BEAE;

  --accent: #E07B2E;        /* signal copper — fills, on dark */
  --accent-ink: #A4501A;    /* copper for text on light */
  --accent-soft: rgba(224, 123, 46, .12);
  --cyan: #58B4C4;          /* data lines */
  --wa: #25D366;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 10px;
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(13, 24, 33, .05), 0 8px 24px -12px rgba(13, 24, 33, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.mt { margin-top: 2rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 4px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- surfaces ---------- */
.section { padding-block: var(--sec); position: relative; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark p, .dark .lead, .dark .lead-sm { color: var(--on-dark-muted); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.dark a:not(.btn) { color: var(--on-dark); }

/* blueprint grid */
.hero, .page-hero, .cta-band, .formula-sec { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-hero::before, .cta-band::before, .formula-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 30%, transparent 85%);
}

/* ---------- eyebrow / codes ---------- */
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.dark .eyebrow { color: var(--accent); }
.code { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--accent-ink); }
.dark .code { color: var(--accent); }

.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 62ch; }
.lead-sm { font-size: 1.1rem; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(2px); }
.btn .ico { transition: transform .2s var(--ease); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #EC8C42; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--line-d2); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.04); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-dark { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--text); }
.btn-wa { background: transparent; color: var(--on-dark); border-color: var(--line-d2); }
.btn-wa .ico { color: var(--wa); }
.btn-wa:hover { border-color: var(--wa); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none;
  color: var(--accent-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.dark .link-arrow { color: var(--accent); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

.ico { width: 22px; height: 22px; }
.ico-md { width: 30px; height: 30px; }
.ico-lg { width: 36px; height: 36px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(13, 24, 33, .94); color: var(--on-dark);
  border-bottom: 1px solid var(--line-d);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--on-dark); flex: none; }
.brand .mark { width: 42px; height: 42px; color: var(--on-dark); }
.mark-tile { display: inline-grid; place-items: center; background: #fff; border-radius: 8px; padding: 3px; box-sizing: border-box; flex: none; }
.mark-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { font-size: .95rem; letter-spacing: .16em; font-weight: 400; white-space: nowrap; }
.brand-name b { font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .sub-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-radius: 4px;
  color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:hover, .sub-btn:hover, .nav-list > li > a[aria-current], .has-sub.is-active > .sub-btn { color: var(--accent); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.has-sub { position: relative; }
.subnav {
  position: absolute; left: -12px; top: calc(100% + 10px); min-width: 340px; padding: .5rem;
  background: var(--ink-2); border: 1px solid var(--line-d2); border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav a {
  display: grid; grid-template-columns: 28px 22px 1fr; align-items: center; gap: .7rem;
  padding: .7rem .8rem; border-radius: 6px; color: var(--on-dark); text-decoration: none; font-size: .95rem;
}
.subnav a:hover, .subnav a[aria-current] { background: rgba(255,255,255,.05); }
.subnav a .ico { width: 20px; height: 20px; color: var(--on-dark-muted); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.open .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .chev { transform: rotate(180deg); }

.nav-end { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-d2); border-radius: 4px; overflow: hidden; }
.lang-switch a { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; padding: .35rem .6rem; text-decoration: none; color: var(--on-dark-muted); }
.lang-switch a[aria-current] { background: var(--on-dark); color: var(--ink); }
.lang-switch a:not([aria-current]):hover { color: var(--on-dark); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem; background: none; border: 1px solid var(--line-d2);
  color: var(--on-dark); border-radius: 4px; padding: .5rem .8rem; cursor: pointer; font-size: .9rem;
}
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-6px) rotate(-45deg); }

.lang-hint { background: var(--accent); color: var(--ink); font-size: .92rem; }
.lang-hint .wrap { display: flex; align-items: center; gap: .75rem; min-height: 42px; }
.lang-hint a { font-weight: 600; }
.lang-hint button { margin-left: auto; background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 .25rem; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .nav {
    position: fixed; inset: 72px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 1.5rem var(--gutter) 2rem; gap: 1.5rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-d); }
  .nav-list > li > a, .sub-btn { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.1rem; }
  .subnav { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: none; padding: 0 0 .75rem; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: none; }
  .has-sub.open .subnav { display: block; }
  .subnav a { padding: .7rem 0; }
  .nav-end { justify-content: space-between; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-name { font-size: .8rem; letter-spacing: .12em; } .nav-toggle-label { display: none; } }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 3rem 0 0; border-top: 1px solid var(--line-d2); }
.facts div { padding: 1rem 1rem 0 0; }
.facts div + div { padding-left: 1rem; border-left: 1px solid var(--line-d); }
.facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: .35rem; }
.facts dd { margin: 0; font-size: .95rem; font-weight: 500; color: var(--on-dark); line-height: 1.35; }
.hero-fig { margin: 0; color: var(--on-dark); }
.sheet { width: 100%; height: auto; }
.coord { display: flex; align-items: center; gap: 1rem; padding-block: 2.5rem 1.75rem; font-size: .75rem; letter-spacing: .14em; color: var(--on-dark-muted); }
.coord-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-d2) 30%, var(--line-d2)); position: relative; }
.coord-line::before, .coord-line::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--on-dark-muted); }
.coord-line::before { left: 0; background: var(--accent); } .coord-line::after { right: 0; }

/* drawing animation */
.js .sheet .draw.d1, .js .sheet .draw.d2 { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .3s forwards; }
.js .sheet .draw.d1 { stroke-dasharray: 5 4; stroke-dashoffset: 0; animation: fade 1.2s ease .2s both; }
.js .sheet .loss { animation: fade 1.2s ease 1.6s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { max-width: 560px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) { .coord span:last-child { display: none; } }

/* ---------- page hero ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.page-hero.compact { padding-bottom: clamp(40px, 5vw, 64px); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.ph-grid:not(:has(.ph-aside)) { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); max-width: 20ch; }
.page-hero .eyebrow .code { letter-spacing: .14em; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--on-dark-muted) !important; text-decoration: none; }
.crumbs a:hover { color: var(--on-dark) !important; }
.white .crumbs ol, .paper .crumbs ol { color: var(--muted); }
.white .crumbs a { color: var(--muted) !important; }

/* spec sheet (engineering data block) */
.spec { position: relative; border: 1px solid var(--line-d2); border-radius: 4px; background: rgba(255,255,255,.02); font-family: var(--mono); }
.spec-h { margin: 0; padding: .85rem 1rem; font-size: .75rem; letter-spacing: .12em; color: var(--accent) !important; border-bottom: 1px solid var(--line-d2); }
.spec dl { margin: 0; }
.spec-row { display: grid; grid-template-columns: 132px 1fr; border-bottom: 1px solid var(--line-d); }
.spec-row:last-child { border-bottom: 0; }
.spec dt, .spec dd { margin: 0; padding: .7rem 1rem; font-size: .78rem; letter-spacing: .08em; }
.spec dt { color: var(--on-dark-muted); border-right: 1px solid var(--line-d); }
.spec dd { color: var(--on-dark); }
.spec-corner { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.dark .sec-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.sec-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split-wide { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- cards (with drafting crop marks) ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.card::before, .card::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--accent); border-style: solid;
  opacity: 0; transition: opacity .25s, transform .25s var(--ease);
}
.card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; transform: translate(4px, 4px); }
.card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; transform: translate(-4px, -4px); }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before, .card:hover::after { opacity: 1; transform: none; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; margin: calc(-1 * clamp(22px, 2.4vw, 32px)); padding: clamp(22px, 2.4vw, 32px); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .ico-md, .card .ico-lg { color: var(--accent-ink); }

.dom-card .dom-top { display: flex; justify-content: space-between; align-items: flex-start; }
.dom-card h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.dom-card .more { margin-top: auto; padding-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent-ink); font-size: .95rem; }
.dom-card .more .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.dom-card:hover .more .ico { transform: translateX(3px); }

.ticks { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .93rem; }
.ticks li { position: relative; padding: .38rem 0 .38rem 1.2rem; border-top: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 1.5px; background: var(--accent); }
.svc-card .ticks { margin-top: 1rem; }

/* ---------- formula ---------- */
.formula-h { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; font-size: clamp(1.3rem, .9rem + 1.8vw, 2.3rem); }
.formula { display: flex; align-items: stretch; gap: .75rem; flex-wrap: wrap; }
.f-item { flex: 1 1 180px; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border: 1px solid var(--line-d2); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.f-item strong { font-size: 1.25rem; font-weight: 600; color: var(--on-dark); }
.f-item span:not(.f-n) { color: var(--on-dark-muted); font-size: .95rem; }
.f-n { color: var(--accent); font-size: .75rem; letter-spacing: .12em; }
.op { align-self: center; font-family: var(--mono); font-size: 1.6rem; color: var(--accent); }
.formula-text { margin-top: 2.5rem; max-width: 68ch; font-size: 1.12rem; }
@media (max-width: 760px) { .op { display: none; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.step-n { display: block; font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--accent-ink); margin-bottom: .8rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 1080px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps-5 { grid-template-columns: 1fr; } }

/* ---------- clocks ---------- */
.clocks { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.25rem 1.25rem .5rem; }
.dark .clocks { background: rgba(255,255,255,.02); border-color: var(--line-d2); }
.clocks-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.dark .clocks-h { color: var(--on-dark-muted); }
.clocks ul { list-style: none; margin: 0; padding: 0; }
.clock { display: grid; grid-template-columns: 1fr auto 14px; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.dark .clock { border-color: var(--line-d2); }
.c-city { font-weight: 500; }
.clock.home .c-city::after { content: " · LB"; font-family: var(--mono); font-size: .75rem; color: var(--accent-ink); }
.dark .clock.home .c-city::after { color: var(--accent); }
.c-time { font-family: var(--mono); font-size: 1.05rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.clock.is-work .c-dot { background: var(--cyan); box-shadow: 0 0 0 3px rgba(88, 180, 196, .2); }
.clocks-big .c-time { font-size: 1.3rem; }

/* ---------- clients ---------- */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.clients li { display: flex; gap: 1.1rem; padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.clients li:not(:nth-child(3n + 1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.clients .ico-md { color: var(--accent-ink); flex: none; margin-top: .15rem; }
.clients h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.clients p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .clients li:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) { .clients { grid-template-columns: 1fr; } .clients li:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* ---------- founder ---------- */
.founder-teaser { display: grid; grid-template-columns: 140px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; max-width: 980px; }
.ft-avatar { width: 140px; height: 140px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-2); outline: 1px dashed var(--line-2); outline-offset: 8px; }
.ft-avatar span { font-size: 2rem; letter-spacing: .1em; }
.ft-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-teaser blockquote { margin: 0 0 1.5rem; }
.founder-teaser blockquote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.4; color: var(--text); font-weight: 400; letter-spacing: -.01em; }
.who { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.who span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .founder-teaser { grid-template-columns: 1fr; } .ft-avatar { width: 96px; height: 96px; } }

.founder { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.founder-media img, .avatar-ph { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; border-radius: var(--radius); }
.avatar-ph { background: var(--ink); color: var(--on-dark); display: grid; place-items: center; align-content: center; gap: 1.25rem; position: relative; overflow: hidden; }
.avatar-ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 32px 32px; }
.avatar-ph .mark { width: 72px; height: 72px; position: relative; }
.avatar-ph span { position: relative; font-size: 1.4rem; letter-spacing: .3em; color: var(--on-dark-muted); }
.f-title { font-size: 1.1rem; font-weight: 500; color: var(--text); margin-bottom: 1.5rem; }
.f-title span { color: var(--muted); font-weight: 400; font-size: 1rem; }
.f-lang { font-size: .8rem; letter-spacing: .1em; color: var(--muted); margin-top: 1rem; text-transform: uppercase; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-media { max-width: 340px; } }

.prose p { color: var(--muted); font-size: 1.08rem; }
.prose p:first-child { color: var(--text); }
.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .8rem; letter-spacing: .04em; padding: .4rem .75rem; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); }

/* vision / mission */
.vm { border-top: 1px solid var(--line-d2); padding-top: 1.5rem; }
.vm-text { font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); line-height: 1.45; color: var(--on-dark) !important; letter-spacing: -.01em; }

.values { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 1.5rem 0 0; border-top: 1px solid var(--line-2); }
.values-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 500; }
.values ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.values li { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; }
.values .ico-md { width: 24px; height: 24px; color: var(--accent-ink); }

.member { text-align: left; }
.member img, .m-ini { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.m-ini { display: grid; place-items: center; background: var(--ink); color: var(--on-dark); letter-spacing: .08em; }
.m-role { color: var(--accent-ink) !important; font-family: var(--mono); font-size: .8rem !important; letter-spacing: .06em; }

/* ---------- deliverables / faq ---------- */
.deliv { list-style: none; margin: 0; padding: 0; }
.deliv li { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.deliv .ico { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: .2rem; }

.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; font-weight: 500; }
.faq-item .plus { width: 22px; height: 22px; flex: none; color: var(--accent-ink); transition: transform .25s var(--ease); }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: -.25rem 0 1.5rem; max-width: 70ch; }

/* KPI list / dashboard */
.kpi-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; font-size: .88rem; }
.kpi-list li { padding: .65rem 0; border-top: 1px solid var(--line-d2); color: var(--on-dark); }
.kpi-list li::before { content: "▸ "; color: var(--accent); }
.fig-dash, .split figure { margin: 0; color: var(--on-dark); }
.dash, .codewin { width: 100%; height: auto; }
.codewin .c { fill-opacity: .45; } .codewin .k { fill: var(--accent); } .codewin .n { fill-opacity: .3; }
@media (max-width: 480px) { .kpi-list { grid-template-columns: 1fr; } }

/* ---------- projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--text); }
.chip.is-on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.proj-card { padding: 0; overflow: hidden; }
.proj-card .card-link { margin: 0; padding: 0; }
.pc-media { aspect-ratio: 16 / 9; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-ph .mark { width: 56px; height: 56px; color: var(--on-dark); }
.pc-body { padding: 1.5rem; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: .2rem .5rem; border-radius: 3px; }
.card .pc-meta { font-size: .78rem; color: var(--muted); margin: 0; }

.empty { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 0; padding: 0; }
.empty-main { padding: clamp(28px, 4vw, 56px); }
.empty-main p { font-size: 1.08rem; max-width: 60ch; margin-bottom: 2rem; }
.empty-side { padding: clamp(28px, 4vw, 56px); border-left: 1px dashed var(--line-2); background: var(--paper); }
.empty-side h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.badge { display: inline-block; font-size: .7rem; letter-spacing: .14em; padding: .3rem .6rem; border: 1px solid var(--accent); color: var(--accent-ink); border-radius: 3px; margin-bottom: 1.5rem; }
.struct { list-style: none; margin: 1rem 0 0; padding: 0; }
.struct li { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.struct .mono { color: var(--accent-ink); font-size: .8rem; padding-top: .2rem; }
@media (max-width: 800px) { .empty { grid-template-columns: 1fr; } .empty-side { border-left: 0; border-top: 1px dashed var(--line-2); } }

.case h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.case p { color: var(--muted); font-size: 1.08rem; }
.case-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.proj-img { margin: 0 0 2rem; } .proj-img img { border-radius: var(--radius); }

/* ---------- international ---------- */
.globe-card { color: var(--on-dark); max-width: 340px; margin-inline: auto; }
.globe .arc { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2s var(--ease) forwards; }
.pillars .card:last-child { grid-column: span 2; }
@media (max-width: 1080px) { .pillars .card:last-child { grid-column: auto; } }
.remote .r-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 .5rem; }
.remote .r-yes { color: var(--accent-ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form:hover::before, .form:hover::after { opacity: 0; }
.form .h3 { margin-bottom: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .f-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field > span { font-size: .85rem; font-weight: 500; }
.req { color: var(--accent-ink); margin-left: .2rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 4px; padding: .75rem .85rem; min-height: 48px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .invalid, .check .invalid + span { border-color: #B3261E; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: .5rem 0 1rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent-ink); flex: none; }
.check a { color: var(--accent-ink); }
.nda { display: flex; gap: .6rem; align-items: center; font-size: .8rem; color: var(--muted); margin: 0 0 1.5rem; }
.nda .ico { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status p { margin: 1.25rem 0 0; padding: 1rem 1.1rem; border-radius: 4px; display: flex; gap: .6rem; align-items: flex-start; }
.f-status .ok { background: rgba(88, 180, 196, .14); color: var(--text); }
.f-status .ok .ico { color: #2C8797; width: 20px; height: 20px; flex: none; }
.f-status .err { background: rgba(179, 38, 30, .08); color: #7F1D18; display: block; }
.f-status .err a { color: inherit; font-weight: 600; }
button[disabled] { opacity: .6; pointer-events: none; }

.direct { display: grid; gap: 1.25rem; }
.dark-card { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.dark-card h2 { color: var(--on-dark); }
.dark-card:hover { border-color: var(--ink); }
.d-person { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.d-person span { color: var(--on-dark-muted); font-size: .92rem; }
.dark-card dl { margin: 0 0 1.5rem; }
.dark-card dl div { padding: .75rem 0; border-top: 1px solid var(--line-d2); }
.dark-card dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.dark-card dd { margin: .2rem 0 0; word-break: break-word; }
.dark-card dd a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-d2); }
.dark-card dd a:hover { border-color: var(--accent); }
.d-actions { display: grid; gap: .6rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2.5rem; align-items: center; }
.cta-grid h2 { margin-bottom: .6rem; }
.cta-grid p { max-width: 60ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- legal / 404 ---------- */
.page-top { padding-top: clamp(40px, 6vw, 72px); }
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p { color: var(--muted); }
.legal a { color: var(--accent-ink); }
.nf { min-height: 62vh; display: flex; align-items: center; padding-block: 96px; }
.nf [lang] + [lang] { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-d2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(56px, 6vw, 80px) 2rem; border-top: 3px solid var(--accent); font-size: .95rem; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.ft-h { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; margin: .6rem 0 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.ft-tag { color: var(--on-dark); font-size: 1.15rem; font-weight: 500; margin: 1.25rem 0 .4rem; }
.ft-desc { font-size: .9rem; }
.ft-contact a { display: inline-flex; gap: .5rem; align-items: center; word-break: break-all; }
.ft-contact .ico { width: 18px; height: 18px; flex: none; }
.ft-contact .muted { color: var(--on-dark-muted); opacity: .8; font-size: .88rem; }
.ft-contact li:first-child { color: var(--on-dark); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-d); font-size: .82rem; }
.ft-bottom .mono { letter-spacing: .12em; font-size: .72rem; }
@media (max-width: 960px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .lang-hint { display: none; }
  .dark { background: #fff; color: #000; }
}
.site-footer .brand { color: var(--on-dark); }
.dark-card p, .dark-card strong { color: var(--on-dark); }
.dark-card .d-person span { color: var(--on-dark-muted); }
.field input, .field select, .field textarea { line-height: 1.4; }
.split.top { align-items: start; }

/* ---------- pricing ---------- */
.price-card { padding: clamp(16px, 2vw, 28px) clamp(18px, 2.4vw, 32px); }
.price-card:hover::before, .price-card:hover::after { opacity: 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: .75rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.p-name { font-weight: 500; }
.p-dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.p-val { text-align: right; white-space: nowrap; display: inline-flex; align-items: baseline; gap: .35rem; }
.p-from { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-amt { font-family: var(--mono); font-size: 1.1rem; font-weight: 500; color: var(--accent-ink); }
.p-unit { font-size: .8rem; color: var(--muted); }
.p-note { font-size: .78rem; color: var(--muted); margin: 1.25rem 0 0; }
.card .p-note { border-top: 1px solid var(--line); padding-top: 1rem; }
.p-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.price-block { margin-bottom: clamp(32px, 4vw, 48px); scroll-margin-top: 96px; }
.pb-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pb-head .ico-md { color: var(--accent-ink); }
.pb-head h2 { margin: 0; flex: 1; font-size: 1.3rem; }
.filters a.chip { text-decoration: none; }
.terms li { align-items: flex-start; }
@media (max-width: 620px) {
  .price-list li { flex-wrap: wrap; gap: .2rem .75rem; }
  .p-dots { display: none; }
  .p-val { width: 100%; justify-content: flex-start; }
}

/* official logo + service chips (2026-10-07) */
.skills { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; max-width: 62ch; }
.skills li { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--on-dark); border: 1px solid var(--line-d2); border-radius: 999px; padding: .3rem .7rem; }
.ft-logo { display: inline-block; background: #fff; border-radius: var(--radius-lg); padding: .8rem 1rem; max-width: 280px; }
.ft-logo img { display: block; width: 100%; height: auto; }
