/* ExioCraftz service pages (/services/*): static, no JS, same design language as the home page
   (tokens, Sora + IBM Plex Mono, mono eyebrows, gradient key word, pill nav, teal buttons, paper cards, dark footer). */
@font-face{font-family:'Sora';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/Sora-var.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/IBMPlexMono-400.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/IBMPlexMono-500.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/IBMPlexMono-600.woff2) format('woff2')}
:root {
  --bg: #f4f1ea;
  --fg-rgb: 13,15,16;
  --line: rgba(13,15,16,0.1);
  --line-2: rgba(13,15,16,0.18);
  --text: #0d0f10;
  --dim: rgba(13,15,16,0.66);
  --mute: rgba(13,15,16,0.58);
  --teal: oklch(0.52 0.1 192);
  --btn: oklch(0.42 0.085 192);
  --navy: #0d1b24;
  --grad-text: linear-gradient(100deg, oklch(0.48 0.1 196), oklch(0.53 0.11 162) 50%, oklch(0.58 0.11 120));
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 50px -24px rgba(40,34,20,.28), 0 2px 6px rgba(40,34,20,.06);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.22, 1.2, .36, 1);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Sora', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-feature-settings: "ss01"; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--btn); }
::selection { background: oklch(0.7 0.12 196 / 0.35); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 100px; z-index: 200; }
.skip:focus { left: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* ---------- nav (same as home) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(244,241,234,.72); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,4vw,32px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand svg path { stroke: currentColor; } .brand svg rect { fill: currentColor; }
.brand-word { font-size: 19px; letter-spacing: -0.02em; }
.brand-word b { font-weight: 600; } .brand-word span { font-weight: 200; }
.nav-links { display: none; align-items: center; gap: 6px; padding: 5px; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.nav-link { padding: 9px 16px; border-radius: 100px; font-size: 13.5px; color: var(--dim); text-decoration: none; transition: color .25s, background .25s; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.7); }
.nav-link[aria-current] { color: var(--text); background: #fff; box-shadow: 0 1px 3px rgba(40,34,20,.12); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-menu { display: none; } }
/* mobile menu: CSS-only <details>, no JS */
.nav-inner { gap: 12px; }
.nav-menu summary { list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-toggle { flex: none; background: none; border: 1px solid var(--line-2); border-radius: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .bars { display: block; width: 18px; height: 13px; position: relative; }
.nav-toggle .bars i { position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: all .3s ease; }
.nav-toggle .bars i:nth-child(1) { top: 0; } .nav-toggle .bars i:nth-child(2) { top: 5.5px; } .nav-toggle .bars i:nth-child(3) { top: 11px; }
.nav-menu[open] .nav-toggle .bars i:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav-menu[open] .nav-toggle .bars i:nth-child(2) { opacity: 0; }
.nav-menu[open] .nav-toggle .bars i:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }
.nav-menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 2px; padding: 14px clamp(16px,4vw,32px) 24px; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(40,34,20,.35); max-height: calc(100svh - 70px); overflow-y: auto; }
.nav-menu-panel a { padding: 14px 4px; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-menu-panel a:hover { color: var(--teal); }
@media (max-width: 420px) { .nav-inner .btn-sm { padding: 11px 14px; font-size: 12.5px; } .brand-word { font-size: 17px; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 100px; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 16px 30px; text-decoration: none; border: 1px solid transparent; transition: transform .45s var(--spring), background .3s, border-color .3s, box-shadow .35s; }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px oklch(0.35 0.08 192 / .75); }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 34px -14px rgba(13,27,36,.6); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.6); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: rgba(13,15,16,.3); background: rgba(255,255,255,.85); transform: translateY(-2px); }
.btn-wa .wa-i { flex: none; color: #1f9d55; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin: 0; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
h1, h2, h3 { margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(112px, 16vw, 168px) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  background:
    radial-gradient(60% 70% at 12% 20%, rgba(246,233,210,.9), transparent 70%),
    radial-gradient(55% 65% at 85% 30%, rgba(176,226,205,.75), transparent 70%),
    radial-gradient(60% 70% at 55% 100%, rgba(196,226,170,.55), transparent 70%),
    linear-gradient(180deg, #efeee3, #e3efe2); }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-weight: 300; letter-spacing: -0.05em; line-height: 1.04; font-size: clamp(36px, 5.4vw, 76px); max-width: 17ch; text-wrap: balance; }
.hero .lede { margin-top: 26px; max-width: 60ch; }
.hero .lede p { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; color: var(--dim); margin: 0 0 12px; }
.hero .lede .reply { font-size: 14.5px; color: var(--mute); }
.hero .btns { margin-top: 30px; }
.hero .proof { margin: 26px 0 0; font-size: 14.5px; color: var(--dim); }
.hero .proof a { color: var(--text); text-decoration-color: var(--line-2); }

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.sh { position: sticky; top: 100px; }
.sh h2 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 46px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.08; text-wrap: balance; }
.sb > :first-child { margin-top: 0; }
.sb p { margin: 0 0 16px; color: var(--dim); max-width: 64ch; }
.sb p strong, .sb li strong { color: var(--text); font-weight: 600; }
.sb h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); margin: 28px 0 10px; }
.sb h3:first-child { margin-top: 0; }

/* checklist panels */
.sb ul { list-style: none; margin: 0 0 20px; padding: 6px 22px; background: #fffdf9; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.sb ul li { position: relative; padding: 15px 0 15px 28px; border-top: 1px solid var(--line); color: var(--dim); }
.sb ul li:first-child { border-top: 0; }
.sb ul li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--btn); box-shadow: 0 0 0 4px oklch(0.8 0.1 170 / .3); }

/* numbered step cards */
.sb ol { list-style: none; counter-reset: step; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.sb ol li { counter-increment: step; position: relative; padding: 20px 22px 20px 70px; background: #fffdf9; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); color: var(--dim); }
.sb ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--teal); }

/* faq */
.faq-list { display: grid; gap: 12px; }
.faq-list .q { background: #fffdf9; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px 24px 8px; }
.faq-list h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; color: var(--text); }
.faq-list p { margin: 0 0 14px; font-size: 15.5px; }

/* talk band */
.talk { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.talk-card { border-radius: 36px; background: linear-gradient(160deg, #111a1f, #0a0f12); color: #eef1ee; padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.talk-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, oklch(0.62 0.12 180 / .35), transparent 70%), radial-gradient(40% 60% at 0% 100%, oklch(0.7 0.11 130 / .2), transparent 70%); }
.talk-card .eyebrow { color: oklch(0.8 0.12 196); }
.talk-card h2 { margin-top: 16px; font-size: clamp(30px, 4.4vw, 56px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.05; }
.talk-card .grad-text { background-image: linear-gradient(100deg, oklch(0.84 0.12 196), oklch(0.86 0.13 162) 45%, oklch(0.9 0.11 108)); -webkit-background-clip: text; background-clip: text; }
.talk-card p { color: rgba(238,241,238,.7); max-width: 56ch; margin: 16px 0 0; }
.talk-card .btns { margin-top: 28px; }
.talk-card .note { font-size: 13.5px; color: rgba(238,241,238,.5); }
.talk-card .btn-primary { background: linear-gradient(135deg, oklch(0.64 0.12 196), oklch(0.68 0.13 162), oklch(0.76 0.11 108)); color: #041012; }
.talk-card .btn-primary:hover { color: #041012; background: #fff; }
.talk-card .btn-ghost { background: rgba(255,255,255,.04); color: #eef1ee; border-color: rgba(255,255,255,.18); }
.talk-card .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- footer (same dark panel as home) ---------- */
.footer { background: #0a0e11; border-radius: 36px 36px 0 0; padding: 72px 0 30px; overflow: hidden; color: rgba(238,241,238,.66); font-size: 14.5px; }
.footer a { color: rgba(238,241,238,.66); text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px,100%),1fr)); gap: 40px; margin-bottom: 40px; }
.footer .brand { color: #eef1ee; margin-bottom: 16px; }
.foot-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(238,241,238,.52); margin: 0 0 22px; }
.footer .btn-ghost { background: rgba(255,255,255,.04); color: #eef1ee; border-color: rgba(255,255,255,.18); }
.footer .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,241,238,.52); margin-bottom: 18px; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a[aria-current] { color: #8fe3df; }
.foot-giant { font-size: clamp(64px, 17vw, 260px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; text-align: center; margin: 20px 0 30px; user-select: none; white-space: nowrap; }
.foot-giant span { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: rgba(238,241,238,.52); }
.foot-bottom div { display: flex; gap: 20px; }
.foot-bottom a { color: inherit; }
.footer .btn-wa-link { display: inline-flex; align-items: center; gap: 10px; }
.footer .btn-wa-link .wa-i { color: #1f9d55; }

@media (max-width: 900px) {
  .sec .wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sh { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .btns .btn { width: 100%; }
  .sb ol li { padding-left: 58px; }
  .sb ol li::before { left: 18px; }
  .faq-list .q { padding: 18px 18px 4px; }
  .footer { border-radius: 28px 28px 0 0; padding-top: 56px; }
}
/* ---------- services hub cards + case-study screenshots (Phase 3) ---------- */
.sec-wide .wrap { display: block; }
.sec-wide .sh { position: static; margin-bottom: clamp(24px, 4vw, 40px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: #fffdf9; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 26px 24px; transition: transform .45s var(--spring), box-shadow .35s; }
.card:hover { transform: translateY(-3px); }
.card .eyebrow::before { width: 18px; }
.card h3 { margin: 14px 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; color: var(--text); }
.card p { margin: 0 0 18px; font-size: 15.5px; color: var(--dim); }
.card p.eyebrow { margin: 0; color: var(--teal); font-size: 11.5px; }
.card .more { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--btn); }
.card .more:hover { color: var(--text); }
.card .more .arr { display: inline-block; transition: transform .3s var(--ease); }
.card .more:hover .arr { transform: translateX(4px); }
.shots-sec { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(8px, 2vw, 24px); border-top: 0; }
.shots { margin: 0; display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; }
.shots img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fffdf9; }
.shots figcaption { grid-column: 1 / -1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.shots figcaption a { color: var(--text); }
.talk-card .note a { color: inherit; }
@media (max-width: 560px) { .shots { grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); } .card { padding: 22px 20px 20px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn .arr { transition: none; } }

/* floating WhatsApp button: same as home (exio-fx.css), phones only */
.wa-float { display: none; }
@media (max-width: 768px) {
  .wa-float { display: grid; place-items: center; position: fixed; right: 14px; bottom: 14px; z-index: 150; width: 52px; height: 52px; border-radius: 50%; background: #1f9d55; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none; }
  .wa-float svg { color: #fff; }
  .wa-float:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
  .footer { padding-bottom: 96px; }
}

/* ---------- blog (Phase 4): readable article column, scrolling tables, sources ---------- */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.hero-post { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-post h1 { max-width: 24ch; font-size: clamp(32px, 4.6vw, 60px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 26px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.byline a { color: var(--text); text-decoration-color: var(--line-2); }
.post-sec { padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 4vw, 48px); }
.post-sec .wrap { display: block; }
.post { max-width: 720px; margin: 0 auto; min-width: 0; font-size: 17px; line-height: 1.8; color: var(--dim); }
.post p { margin: 0 0 20px; }
.post strong { color: var(--text); font-weight: 600; }
.post h2 { margin: 56px 0 18px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.15; color: var(--text); text-wrap: balance; scroll-margin-top: 90px; }
.post h2:first-child { margin-top: 0; }
.post h3 { margin: 34px 0 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.post ul, .post ol { margin: 0 0 24px; padding: 0; list-style: none; }
.post ul li { position: relative; padding: 0 0 12px 28px; }
.post ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--btn); box-shadow: 0 0 0 4px oklch(0.8 0.1 170 / .3); }
.post ol { counter-reset: step; }
.post ol li { counter-increment: step; position: relative; margin-bottom: 12px; padding: 16px 20px 16px 62px; background: #fffdf9; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.post ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--teal); }
.post a { overflow-wrap: anywhere; }
/* tables scroll inside the article, never the page */
.tw { margin: 8px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fffdf9; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); max-width: 100%; }
.tw:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tw table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.tw th, .tw td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--dim); }
.tw thead th { border-top: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); white-space: nowrap; background: rgba(13,15,16,.025); }
.tw tbody th { font-weight: 600; color: var(--text); }
/* sources */
.sources { margin-top: 56px; padding: 26px 28px 8px; border: 1px solid var(--line); border-radius: 24px; background: #fffdf9; box-shadow: var(--shadow); font-size: 15px; line-height: 1.65; }
.sources h2 { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.sources ul li { padding-bottom: 10px; }
.sources p { font-size: 14px; color: var(--mute); }
@media (max-width: 560px) {
  .post { font-size: 16px; line-height: 1.75; }
  .post ol li { padding: 14px 16px 14px 54px; } .post ol li::before { left: 16px; top: 16px; }
  .tw th, .tw td { padding: 12px 14px; }
  .sources { padding: 22px 20px 6px; }
}
