/* FXN Holdings — site styles. */

@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #2d2d2d;
  --ink: #333333;
  --grey: #5f5f5f;
  --line: #e6e1d9;
  --blue: #0062de;
  --blue-dark: #004fb5;
  --lightblue: #d1eef7;
  --beige: #fcf6ef;
  --white: #ffffff;
  --terracotta: #a33c10;
  --crimson: #502631;
  --orange: #ff5149;
  --yellow: #f7bc3a;
  --pink: #f19ed8;

  --font-text: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-text);

  /* Type scale (16px base, ~1.25 ratio). Fluid sizes run from mobile to desktop. */
  --text-xs: 0.75rem;                                    /* 12px labels, badges */
  --text-sm: 0.875rem;                                   /* 14px captions, meta, footer */
  --text-base: 1rem;                                     /* 16px body, UI */
  --text-lg: 1.125rem;                                   /* 18px article body */
  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);   /* 18 -> 20 */
  --text-h4: clamp(1.25rem, 1.15rem + 0.5vw, 1.375rem);  /* 20 -> 22 */
  --text-h3: clamp(1.3125rem, 1.235rem + 0.33vw, 1.5rem); /* 21 -> 24 */
  --text-h2: clamp(1.625rem, 1.47rem + 0.66vw, 2rem);     /* 26 -> 32 */
  --text-h1: clamp(1.875rem, 1.56rem + 1.33vw, 2.625rem); /* 30 -> 42 */
  --text-hero: clamp(2.5rem, 1.6rem + 3.8vw, 4rem);      /* 40 -> 64 */
  --text-stat: clamp(2.5rem, 2rem + 1.5vw, 3rem);        /* 40 -> 48 */

  /* Spacing scale: fluid section rhythm plus fixed component spacing */
  --space-section: clamp(56px, 6vw, 88px);     /* top/bottom of a section */
  --space-cta: clamp(80px, 9vw, 128px);        /* dark and light call-to-action bands */
  --space-head: 40px;                          /* below a section heading */
  --space-card: 22px;                          /* padding inside cards */
  --space-gap: 20px;                           /* gap between cards */
  --header-h: 68px;

  --container: 1366px; /* max width of .container, side gutters included */
  --gutter: 24px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; } /* Lenis does the smoothing */
body { margin: 0; font-family: var(--font-text); font-size: var(--text-base); line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; }
h5 { font-size: var(--text-lg); line-height: 1.4; }
h6 { font-size: var(--text-base); line-height: 1.4; letter-spacing: 0.01em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--black); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--grey); font-size: var(--text-base); line-height: 1.6; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--grey); }

/* Type */
.h1, .h2, .h4 { font-family: var(--font-head); font-weight: 700; color: var(--black); }
.h1 { font-size: var(--text-h1); line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: var(--text-h2); line-height: 1.2; letter-spacing: -0.015em; }
.h4 { font-size: var(--text-h4); line-height: 1.3; letter-spacing: 0; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--black); border-radius: var(--radius); font-family: var(--font-text); font-size: 0.9375rem; font-weight: 600; line-height: 1; letter-spacing: .025em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn .chev { font-size: 0.8125rem; transition: transform .2s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }
.btn-lg { font-size: var(--text-base); padding: 13px 20px; }
.btn-sm { font-size: var(--text-sm); padding: 10px 14px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--black); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--black); text-decoration: none; }
.brand .logo { height: 34px; width: auto; }
.logo { --logo-letter: var(--black); --logo-word: var(--grey); --logo-hole: var(--white); }
.logo .logo-letter { fill: var(--logo-letter); }
.logo .logo-x, .logo .logo-rule { fill: var(--blue); }
.logo .logo-x2 { fill: var(--orange); }
.logo .logo-word { fill: var(--logo-word); }
.logo .logo-hole { fill: var(--logo-hole); }
.brand-tag { padding-left: 12px; margin-left: 4px; border-left: 2px solid var(--blue); font-size: 0.75rem; font-weight: 700; line-height: 1.25; letter-spacing: .02em; color: var(--black); white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.9375rem; line-height: 1.4; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 10px; width: 20px; height: 1.5px; background: var(--black); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span { top: 19px; }
.menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 4.5vw, 56px) 0 16px; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0 0 auto; width: 100%; height: 640px; -webkit-mask-image: radial-gradient(ellipse 50% 70% at 30% 40%, rgba(0,0,0,.9) 0%, transparent 70%); mask-image: radial-gradient(ellipse 50% 70% at 30% 40%, rgba(0,0,0,.9) 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--beige); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--terracotta); line-height: 1.4; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #18773f; box-shadow: 0 0 0 3px rgba(30, 138, 76, .18); }
.hero .h1 { margin-top: 24px; max-width: 640px; font-size: var(--text-hero); text-wrap: balance; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.hero-sub { max-width: 540px; margin-top: 24px; font-size: var(--text-lead); line-height: 1.5; color: var(--grey); }
.hero .btn-group { margin-top: 32px; justify-content: flex-start; }




/* Sections */
.section { padding: var(--space-section) 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 780px; margin: 0 auto var(--space-head); }
.section-head .muted { max-width: 600px; }
.mark { font-size: 1.25rem; color: var(--blue); }
.split-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: var(--space-head); }
.split-head .muted { margin-top: 16px; max-width: 560px; }
.left-head { max-width: 640px; margin-bottom: var(--space-head); }
.left-head .lead { margin-top: 20px; }

/* Services bento */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.svc { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: var(--space-card); background: var(--beige); text-decoration: none; color: var(--black); overflow: hidden; transition: background-color .25s; }
.svc:hover { background: #f8eee2; }
.svc-wide { grid-column: span 2; }
.svc { scroll-margin-top: 100px; }
.svc-head { display: flex; justify-content: space-between; gap: 16px; }
.svc-arrow { flex: none; font-size: 1.125rem; color: var(--blue); transform: rotate(-45deg); transition: transform .25s var(--ease); }
.svc:hover .svc-arrow { transform: rotate(-45deg) translateX(4px); }
.title-ico { margin-right: 10px; font-size: .85em; color: var(--blue); }
.svc p { margin-top: 12px; font-size: var(--text-sm); line-height: 1.5; color: var(--grey); max-width: 320px; }
.svc-art { margin-top: auto; padding-top: 24px; }
.art-cart { display: flex; flex-wrap: wrap; gap: 8px; }
.art-cart span { padding: 10px 14px; background: #fff; font-size: var(--text-sm); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.art-cart span:nth-child(1) { border-left: 3px solid var(--blue); }
.art-cart span:nth-child(3) { border-left: 3px solid var(--orange); }
.art-doc { display: grid; gap: 8px; padding: 16px; background: #fff; margin-top: auto; }
.art-doc i { display: block; height: 6px; background: #efe8de; }
.art-doc i:first-child { width: 55%; height: 10px; background: var(--black); }
.art-doc i:last-child { width: 70%; }
.art-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 0 8px; }
.art-bars i { flex: 1; height: var(--h); background: #efe3d3; }
.art-bars i:nth-child(4) { background: var(--blue); }
.art-tag span { display: inline-block; padding: 10px 14px; background: #fff; font-size: var(--text-sm); font-weight: 600; border: 1px dashed var(--terracotta); color: var(--terracotta); }

/* Dark sections */
.dark { background: var(--black); color: #fff; }
.dark .h2 { color: #fff; }
.dark .muted { color: #c9c9c9; }


/* Feature rows */
.feature-rows { display: grid; gap: var(--space-gap); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: center; padding: 20px; background: var(--lightblue); }
.feature-text { padding: 8px; }
.feature-text ul { margin-top: 16px; padding-left: 20px; display: grid; gap: 10px; font-size: var(--text-base); line-height: 1.5; color: var(--ink); }
.feature-art { background: var(--beige); min-height: 280px; }
.flow { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 88px 120px; padding: 40px 32px; background-color: #fbf7f1; background-image: radial-gradient(#e7ddd0 1px, transparent 1.2px); background-size: 12px 12px; }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cert { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; padding: 24px 20px; background: var(--beige); }
.cert p { margin-top: 10px; font-size: var(--text-sm); line-height: 1.55; color: var(--grey); }
.cert-badge { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--black); font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; color: var(--black); }
.cert-blue { background: var(--blue); border-color: var(--blue); }
.cert-blue svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--font-head); font-size: var(--text-h4); font-weight: 600; line-height: 1.3; color: var(--black); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; flex: none; width: 14px; height: 14px; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--blue); transition: transform .25s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .answer { max-width: 720px; padding: 0 0 24px; font-size: var(--text-base); line-height: 1.6; color: var(--grey); }
.faq .answer a { color: var(--blue); }

/* CTA */
.cta { position: relative; padding: var(--space-cta) 0; background: var(--black); color: #fff; overflow: hidden; }
.cta-pattern { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 10%, transparent 75%); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cta .h2 { color: #fff; }
.cta p { color: #c9c9c9; }
.cta .btn { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--black); color: #fff; padding-top: 64px; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 48px; }
.foot-brand { flex: 0 1 320px; }
.foot-col { flex: 0 0 auto; }
.site-footer .brand { color: #fff; }
.site-footer .brand .logo { height: 34px; }
.site-footer .logo { --logo-letter: #fff; --logo-word: #c9c9c9; --logo-hole: var(--black); }
.site-footer .brand-tag { color: #fff; }
.foot-brand p { margin-top: 20px; font-size: var(--text-sm); line-height: 1.55; color: #c9c9c9; max-width: 280px; }
.foot-brand .mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--text-sm); color: #fff; text-decoration: none; transition: color .2s; }
.foot-brand .mail:hover { color: #7fb0ff; }
.social a { text-decoration: none; }
.foot-brand .mail i, .foot-reg i { color: var(--blue); margin-right: 6px; }
.social-label { margin-top: 24px; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: #9a9a9a; line-height: 1.4; text-transform: uppercase; }
.social { list-style: none; padding: 0; margin-top: 12px; display: flex; gap: 12px; }
.social a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4a4a4a; color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s; }
.social a:hover, .social a:focus-visible { transform: translateY(-3px); border-color: transparent; }
.social a.s-facebook:hover, .social a.s-facebook:focus-visible { background: #1877f2; }
.social a.s-x:hover, .social a.s-x:focus-visible { background: #fff; color: #000; }
.social a.s-whatsapp:hover, .social a.s-whatsapp:focus-visible { background: #1faa52; }
.social i { font-size: 1.0625rem; }
.foot-col h2 { font-family: var(--font-text); font-size: var(--text-sm); font-weight: 600; color: #9a9a9a; }
.foot-col ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 14px; }
.foot-col a { font-size: var(--text-sm); text-decoration: none; color: #fff; line-height: 1.6; }
.foot-col a { transition: color .2s; }
.foot-col a:hover { color: #7fb0ff; }
.ack { margin-top: 56px; font-size: var(--text-sm); line-height: 1.55; color: #9a9a9a; max-width: 640px; }
.foot-bottom { position: relative; margin-top: 32px; height: 160px; display: flex; align-items: flex-end; }
.foot-word { position: absolute; left: -2%; top: 50%; transform: translateY(-50%); display: flex; gap: 6vw; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: clamp(5.625rem, 15vw, 13.125rem); letter-spacing: -0.05em; line-height: 1; color: #353535; pointer-events: none; user-select: none; }
.foot-bottom::after { content: ""; position: absolute; left: 0; right: 0; bottom: 50px; border-top: 1px solid #3d3d3d; }
.foot-bottom::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: rgba(45, 45, 45, .85); }
.foot-reg { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 4px 24px; height: 50px; max-height: 50px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); font-size: var(--text-sm); line-height: 1.3; color: #c9c9c9; overflow: hidden; }

/* Icons */
.tags li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
.tags li i, .kpis dt i { color: var(--blue); }
.kpis dt i { margin-right: 8px; }
.stack-group h3 i { margin-right: 8px; }
.vrow-num i, .step-num i { margin-right: 10px; }
.step-num i { font-size: .7em; vertical-align: .15em; }
.practices .info-ico { color: var(--yellow); }
.beliefs .title-ico { color: var(--yellow); }

/* Home: launch */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding: 0; list-style: none; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--black); background: #fff; }
.launch { list-style: none; padding: 0; display: grid; gap: 14px; }
.launch { --launch-step: 3000ms; }
.launch li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; background: var(--beige); transition: background-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.launch strong, .launch p { transition: color .5s var(--ease); }
.launch li.on { transform: translateX(-8px); box-shadow: 0 14px 36px rgba(0, 112, 255, .22); }
.launch li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .7); transform: scaleX(0); transform-origin: left; }
.launch.is-cycling li.on::after { animation: launch-progress var(--launch-step) linear forwards; }
.launch.is-paused li.on::after { animation-play-state: paused; }
@keyframes launch-progress { to { transform: scaleX(1); } }
.launch li + li::before { content: ""; position: absolute; left: 51px; top: -14px; width: 2px; height: 14px; background: var(--blue); }
.launch-n { display: grid; place-items: center; width: 56px; height: 56px; background: #fff; font-family: var(--font-head); font-size: 1.25rem; color: var(--blue); }
.launch strong { font-family: var(--font-head); font-size: var(--text-h4); font-weight: 600; color: var(--black); line-height: 1.3; }
.launch p { margin-top: 4px; font-size: var(--text-sm); line-height: 1.5; color: var(--grey); }
.launch li.on { background: var(--blue); }
.launch li.on .launch-n { color: var(--blue); }
.launch li.on strong { color: #fff; }
.launch li.on p { color: rgba(255, 255, 255, .85); }

.stack-grid { align-items: center; }
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stack-group { padding: 20px; background: #363636; }
.stack-group h3 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--yellow); line-height: 1.4; text-transform: uppercase; }
.stack-group ul { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-group li { padding: 7px 12px; background: #fff; font-size: var(--text-sm); font-weight: 600; color: var(--black); }

.art-route { display: flex; align-items: center; gap: 12px; padding: 28px 0 8px; }
.art-route span { padding: 8px 12px; background: #fff; font-size: var(--text-sm); font-weight: 700; letter-spacing: .06em; }
.art-route i { flex: 1; height: 0; border-top: 2px dashed var(--orange); position: relative; }
.art-route i::after { content: ""; position: absolute; right: -2px; top: -6px; border: 5px solid transparent; border-left: 8px solid var(--orange); }
.art-tool { display: grid; gap: 8px; }
.art-tool .tool-in { padding: 11px 12px; background: #fff; border: 1px solid #e6dccf; font-size: var(--text-sm); color: #9a9a9a; }
.art-tool .tool-btn { justify-self: start; padding: 8px 14px; background: var(--blue); color: #fff; font-size: var(--text-sm); font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); }
.kpis > div { padding: 18px; }
.kpis > div + div { border-left: 1px solid var(--line); }
.kpis dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--grey); line-height: 1.4; text-transform: uppercase; }
.kpis dd { margin-top: 8px; font-family: var(--font-head); font-size: var(--text-stat); line-height: 1; color: var(--black); font-weight: 700; }

/* Business overview */
.facts-card.hero-facts dl > div { grid-template-columns: 110px minmax(0, 1fr); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.asset-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.asset-table th { padding: 14px 20px; text-align: left; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--grey); background: var(--beige); white-space: nowrap; line-height: 1.4; text-transform: uppercase; }
.asset-table td { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.asset-table td:first-child { font-weight: 600; color: var(--black); white-space: nowrap; }
.asset-table td a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--line); }
.asset-table td a:hover { color: var(--blue); border-bottom-color: currentColor; }
.asset-table tbody tr:hover { background: #fdfaf6; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; color: #18773f; white-space: nowrap; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.pipeline { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: pipe; }
.pipeline li { position: relative; display: grid; gap: 6px; padding: 18px 20px; background: #363636; }
.pipeline li + li::before { content: ""; position: absolute; left: 32px; top: -12px; width: 2px; height: 12px; background: var(--yellow); }
.pipe-step { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--yellow); line-height: 1.4; text-transform: uppercase; }
.pipeline p { font-size: var(--text-base); line-height: 1.5; color: #e6e6e6; }
.pipeline-light { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pipeline-light li { background: var(--lightblue); padding: 24px; }
.pipeline-light li + li::before { left: -12px; top: 50%; width: 12px; height: 2px; background: var(--blue); }
.pipeline-light .pipe-step { color: var(--blue); }
.pipeline-light p { color: var(--ink); }

.feature-lead { margin: 16px 0 24px; font-size: var(--text-base); line-height: 1.6; color: var(--ink); }
.commit { display: grid; place-items: center; padding: 32px; min-height: 0; }
.commit-card, .commit-panel { background: #fff; padding: 28px; box-shadow: 0 12px 40px rgba(10, 31, 68, .08); }
.commit-card { max-width: 440px; }
.commit-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--terracotta); line-height: 1.4; text-transform: uppercase; }
.commit-text { margin-top: 10px; font-family: var(--font-head); font-size: var(--text-h4); font-weight: 600; line-height: 1.3; color: var(--black); }
.commit-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: var(--text-sm); font-weight: 600; }
.commit-flow span:not(.arrow) { padding: 7px 10px; background: var(--beige); color: var(--black); }
.commit-flow .arrow { color: var(--grey); }
.commit-flow .on { background: var(--blue) !important; color: #fff !important; }
.commit-panel { background: var(--lightblue); box-shadow: none; padding: 28px; position: sticky; top: 92px; }
.commit-title { margin-top: 12px; font-family: var(--font-head); font-size: var(--text-h3); font-weight: 600; line-height: 1.25; color: var(--black); letter-spacing: -0.01em; }
.commit-panel p { margin-top: 20px; font-size: var(--text-base); line-height: 1.55; color: var(--ink); }
.commit-panel .commit-flow span:not(.arrow) { background: #fff; }
.ai-grid { align-items: start; }

.practices .info-card { background: #363636; }
.practices .h4 { color: #fff; }
.practices .info-card p { color: #c9c9c9; }

.asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-gap); }
.asset { display: flex; flex-direction: column; gap: 12px; padding: var(--space-card); background: var(--beige); }
.asset-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.asset .site-domain a { display: inline-flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; }
.asset .site-domain a:hover { color: var(--blue); }
.asset .site-domain .svc-arrow { font-size: 0.875rem; transform: none; }
.asset > p { font-size: var(--text-base); line-height: 1.55; color: var(--grey); }
.asset-tech { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(45, 45, 45, .1); }
.asset-tech > span { padding-top: 7px; font-size: var(--text-xs); font-weight: 600; color: var(--black); line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.asset-tech .chips { margin-top: 0; }

/* About, contact */
.accent { color: var(--blue); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-tile { position: relative; margin: 0; aspect-ratio: 5 / 6; max-width: 100%; background: var(--beige); overflow: hidden; }
.hero-tile-art { position: absolute; inset: 12% 12% auto; width: 76%; }
.hero-tile figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 4px; font-size: var(--text-sm); color: var(--grey); }
.hero-tile figcaption strong { font-size: var(--text-h4); font-weight: 600; color: var(--black); line-height: 1.3; }
.statement-band { padding: clamp(48px, 5vw, 72px) 0; background: var(--blue); }
.statement { max-width: 1000px; margin: 0 auto; font-size: var(--text-h2); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; text-align: center; text-wrap: balance; color: #fff; }
.statement .accent { color: #ffd166; }
.eyebrow-dark { background: #3a3a3a; color: var(--yellow); }
.beliefs { list-style: none; padding: 0; display: grid; }
.beliefs li { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid #444; }
.beliefs li:last-child { border-bottom: 1px solid #444; }
.beliefs .h4 { color: #fff; }
.beliefs p { font-size: var(--text-base); line-height: 1.6; color: #c9c9c9; }
.card-tag { align-self: flex-start; padding: 4px 8px; background: var(--blue); color: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px; line-height: 1.4; text-transform: uppercase; }
.contact-side { display: grid; gap: 32px; }
.reach { list-style: none; padding: 0; margin-top: 20px; display: grid; }
.reach li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.reach .info-ico { margin: 2px 0 0; }
.reach p { margin-top: 6px; font-size: var(--text-base); line-height: 1.55; color: var(--grey); }
.portfolio-panel { padding: 24px; background: var(--beige); }
.portfolio-panel .eyebrow { background: #fff; }
.portfolio-panel .chips { margin-top: 16px; }
.vrow-body .ticks { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }

/* Insights */
.post-filters a { display: inline-flex; align-items: center; gap: 8px; }
.post-filters a i { color: var(--blue); }
.post-filters a[aria-current="page"] { background: var(--black); border-color: var(--black); color: #fff; }
.post-filters a[aria-current="page"] i { color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gap); }
/* Blog listing: categories on the left, posts on the right */
.blog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.blog-side { position: sticky; top: calc(var(--header-h) + 24px); }
.blog-side-title { margin-bottom: 12px; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.blog-cats { display: flex; flex-direction: column; gap: 6px; }
.blog-cats a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); font-size: var(--text-sm); color: var(--black); text-decoration: none; transition: border-color .2s, background-color .2s; }
.blog-cats a:hover { border-color: var(--black); background: var(--beige); }
.blog-cats a i { width: 16px; color: var(--blue); text-align: center; }
.blog-cats a[aria-current="page"] { background: var(--black); border-color: var(--black); color: #fff; }
.blog-cats a[aria-current="page"] i { color: #fff; }
.blog-count { margin-left: auto; font-size: var(--text-xs); color: var(--grey); }
.blog-cats a[aria-current="page"] .blog-count { color: #c9c9c9; }
.blog-main .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Single post: article on the left, categories + latest posts on the right */
.post-content.has-toc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.post-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.post-toc .blog-side-title { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-toc ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.post-toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.4; color: var(--grey); text-decoration: none; transition: background-color .2s, color .2s; }
.post-toc a:hover { color: var(--black); background: var(--beige); }
.post-toc .toc-num { font-size: var(--text-xs); font-weight: 600; line-height: 1.9; color: var(--grey); }
.post-toc a.is-active { background: var(--black); color: #fff; }
.post-toc a.is-active .toc-num { color: #c9c9c9; }
.post-share { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 20px 10px 0; border-top: 1px solid var(--line); }
.post-share a, .post-share button { display: inline-flex; padding: 0; border: 0; background: none; font-size: 1.15rem; color: var(--black); text-decoration: none; cursor: pointer; transition: color .2s; }
.post-share a:hover, .post-share button:hover { color: var(--blue); }
.post-share button.copied { color: var(--blue); }
.post-body h2[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.post-side { display: grid; gap: 12px; }
.post-side .blog-side-title + * { margin-bottom: 24px; }
.blog-cats a.is-active { border-color: var(--black); background: var(--beige); font-weight: 600; }
/* Latest posts slider (post sidebar) */
.feat-track { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.feat-track::-webkit-scrollbar { display: none; }
.feat-slide { flex: 0 0 100%; scroll-snap-align: start; }
.feat-slide a { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 12px; background: var(--crimson); color: #fff; text-decoration: none; }
.feat-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat-slide a:hover img { transform: scale(1.04); }
.feat-slide a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .45) 45%, rgba(20, 20, 20, .05) 75%); }
.feat-cat { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 12px; border-radius: 8px; background: rgba(20, 20, 20, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.feat-text { position: absolute; z-index: 1; right: 18px; bottom: 18px; left: 18px; display: grid; gap: 8px; }
.feat-meta { font-size: var(--text-xs); color: #ddd; }
.feat-meta strong { font-weight: 600; color: #fff; }
.feat-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.feat-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.feat-dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.feat-dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #c9c9c9; transition: width .3s var(--ease), background-color .3s; }
.feat-dot[aria-current="true"]::before { width: 24px; background: var(--black); }
.feat-dot:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .feat-slide img, .feat-dot::before { transition: none; } }
@media (max-width: 1180px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-side { position: static; }
}
@media (max-width: 760px) {
  .post-content.has-toc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .post-toc { position: static; max-height: none; padding: 16px; background: var(--beige); }
}
.post-card a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: var(--space-card) 20px; background: var(--beige); color: var(--black); text-decoration: none; transition: background-color .25s, transform .25s var(--ease); }
.post-card a:hover { background: #f8eee2; transform: translateY(-3px); }
.post-thumb { display: block; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: calc(-1 * var(--space-card)) -20px 4px; }
.post-figure { margin: 0 0 40px; }
.post-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-cat { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 600; color: var(--blue); line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.post-title { font-size: var(--text-h4); line-height: 1.3; font-weight: 600; }
.post-card p { font-size: var(--text-sm); line-height: 1.55; color: var(--grey); }
.post-meta { margin-top: auto; padding-top: 8px; font-size: var(--text-sm); color: var(--grey); }
.post-draft { align-self: flex-start; padding: 3px 8px; border-radius: var(--radius); background: var(--yellow); color: var(--black); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
.post-empty { display: grid; justify-items: center; gap: 12px; padding: 64px 24px; background: var(--beige); text-align: center; }
.post-empty i { font-size: 1.75rem; color: var(--blue); }
.post-empty p { color: var(--grey); }
.post-byline { margin-top: 20px; font-size: var(--text-sm); color: var(--grey); }
.post-byline a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; text-decoration: none; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.post-wrap { padding-bottom: 24px; }
.post-draft-note { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 0 24px; padding: 12px 16px; border-radius: var(--radius); background: #fff6db; color: var(--black); font-size: var(--text-sm); }
.post-draft-note i { color: #b7791f; }
.post-body { max-width: 70ch; }
.post-body .post-inline { margin: 32px 0; }
.post-body .post-inline img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-body > * + * { margin-top: 18px; }
.post-body h2 { margin-top: 40px; font-size: var(--text-h3); line-height: 1.25; color: var(--black); letter-spacing: -0.01em; font-weight: 600; }
.post-body h3 { margin-top: 28px; font-size: var(--text-h4); color: var(--black); line-height: 1.3; font-weight: 600; }
.post-body p, .post-body li { font-size: var(--text-lg); line-height: 1.6; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 24px; display: grid; gap: 10px; }
.post-body a { color: var(--blue); }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); }
.post-body blockquote p { font-size: 1.25rem; color: var(--black); line-height: 1.5; font-style: italic; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.post-body code { padding: 2px 6px; border-radius: var(--radius); background: var(--beige); font-size: .9em; }

/* Inner pages */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--beige); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--terracotta); line-height: 1.4; text-transform: uppercase; }
.page-hero { position: relative; padding: clamp(40px, 4.5vw, 64px) 0 clamp(32px, 3.5vw, 48px); overflow: hidden; }
.page-hero.compact { padding: clamp(36px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); }
.page-hero .hero-pattern { height: 100%; -webkit-mask-image: radial-gradient(ellipse 45% 80% at 25% 40%, rgba(0,0,0,.9) 0%, transparent 70%); mask-image: radial-gradient(ellipse 45% 80% at 25% 40%, rgba(0,0,0,.9) 0%, transparent 70%); }
.page-hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.page-hero .h1 { margin-top: 24px; max-width: 860px; text-wrap: balance; }
.page-hero.compact .h1 { font-size: var(--text-h1); }
.page-hero .lead { max-width: 620px; margin-top: 24px; }
.updated { margin-top: 20px; font-size: var(--text-sm); color: var(--grey); font-variant-numeric: tabular-nums; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.anchor-nav a { padding: 8px 14px; border: 1px solid var(--line); font-size: var(--text-sm); text-decoration: none; color: var(--black); transition: border-color .2s, background-color .2s; }
.anchor-nav a:hover { border-color: var(--black); background: var(--beige); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.prose { display: grid; gap: 18px; max-width: 70ch; }
.prose .h2 { margin-bottom: 8px; }
.prose p { font-size: var(--text-lg); line-height: 1.6; color: var(--ink); }
.ticks { list-style: none; padding: 0; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 26px; font-size: var(--text-base); line-height: 1.45; }
.ticks li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.8125rem; color: var(--blue); }

.facts-card { padding: 24px; background: var(--beige); }
.facts-card dl, .info-list { display: grid; margin-top: 16px; }
.facts-card dl > div, .info-list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--text-base); line-height: 1.45; }
.facts-card dt, .info-list dt { color: var(--grey); }
.facts-card dd, .info-list dd { color: var(--black); font-weight: 500; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.facts-card a, .info-list a { color: var(--blue); }

.card-grid { display: grid; gap: var(--space-gap); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { display: flex; flex-direction: column; gap: 12px; padding: var(--space-card) 20px; background: var(--beige); }
.info-card p { font-size: var(--text-sm); line-height: 1.55; color: var(--grey); }
.info-ico { display: block; font-size: 1.5rem; margin-bottom: 12px; color: var(--blue); }
.step-num { font-family: var(--font-head); font-size: var(--text-h2); line-height: 1; color: var(--blue); margin-bottom: 16px; }

.timeline { list-style: none; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid #444; }
.timeline li:last-child { border-bottom: 1px solid #444; }
.timeline .yr { font-family: var(--font-head); font-size: var(--text-h4); color: var(--yellow); font-variant-numeric: tabular-nums; line-height: 1.3; font-weight: 600; }
.timeline p { font-size: var(--text-base); line-height: 1.5; color: #e6e6e6; }

.cta-light { background: var(--beige); color: var(--black); padding: var(--space-cta) 0; }
.cta-light .h2 { color: var(--black); }
.cta-light p { color: var(--grey); }
.cta-light .btn-group { margin-top: 8px; }

/* Portfolio */
.site-kind { font-size: var(--text-xs); font-weight: 600; color: var(--blue); letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase; }
.site-domain { font-family: var(--font-head); font-size: var(--text-h4); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }

.vrows { display: grid; gap: var(--space-gap); }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; padding: 28px; background: var(--beige); scroll-margin-top: 100px; }
.vrow-alt { background: var(--lightblue); }
.vrow-num { font-family: var(--font-head); font-size: var(--text-xs); font-weight: 600; color: var(--blue); line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.vrow-head .h2 { margin-top: 12px; }
.vrow-tag { margin-top: 14px; font-size: var(--text-lg); color: var(--grey); line-height: 1.6; }
.vrow-body > p { font-size: var(--text-base); line-height: 1.6; color: var(--ink); }
.vrow-body > p a { color: var(--blue); }
.vrow-body .chips { margin-top: 20px; }
.vrow-how { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(45, 45, 45, .12); font-size: var(--text-base); }
.vrow-how span { font-weight: 600; color: var(--black); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { padding: 7px 12px; background: #fff; font-size: var(--text-sm); font-weight: 500; color: var(--black); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.contact-grid .chips li { background: var(--beige); }
.form-card { padding: 28px; background: var(--beige); }
.form-note { margin-top: 8px; font-size: var(--text-sm); }
.req { color: var(--orange); }
.hp { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--black); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; font: inherit; font-size: 1rem; color: var(--black); background: #fff; border: 1px solid #d9d2c7; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 112, 255, .15); }
.field [aria-invalid="true"] { border-color: var(--orange); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.form-foot small { font-size: var(--text-sm); line-height: 1.5; color: var(--grey); max-width: 340px; }
.form-foot small a { color: var(--blue); }
.form-status { margin-top: 16px; font-size: var(--text-sm); min-height: 1em; }
.form-status.err { color: var(--terracotta); }
.form-status a { color: inherit; }
.sent { display: grid; justify-items: start; gap: 12px; padding: 24px 0; }
.sent .tick { display: grid; place-items: center; width: 52px; height: 52px; background: var(--blue); color: #fff; }
.h-md { font-family: var(--font-head); font-size: var(--text-h3); font-weight: 600; color: var(--black); line-height: 1.25; letter-spacing: -0.01em; }

/* Sitemap */
.map-card { padding: var(--space-card) 20px; background: var(--beige); }
.map-card ul { list-style: none; padding: 0; margin-top: 16px; display: grid; }
.map-card li { border-top: 1px solid var(--line); }
.map-card a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: var(--text-base); text-decoration: none; color: var(--black); }
.map-card a .chev { font-size: 0.8125rem; color: var(--blue); transition: transform .2s var(--ease); }
.map-card a:hover .chev { transform: translateX(3px); }

/* 404 */
.lost { position: relative; padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 9vw, 128px); overflow: hidden; }
.lost .hero-pattern { height: 100%; }
.lost-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.lost-code { font-family: var(--font-head); font-size: clamp(6.875rem, 18vw, 12.5rem); line-height: .9; letter-spacing: -0.05em; color: var(--blue); }
.lost .muted { max-width: 460px; }
.lost .btn-group { margin-top: 12px; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 120px; }
.toc { position: sticky; top: 92px; padding: 20px; background: var(--beige); }
.toc p { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--terracotta); line-height: 1.4; text-transform: uppercase; }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid transparent; font-size: var(--text-sm); line-height: 1.4; text-decoration: none; color: var(--grey); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--black); }
.toc a.active { color: var(--black); border-left-color: var(--blue); font-weight: 600; }
.legal { max-width: 760px; }
.legal p, .legal li { max-width: 70ch; }
.legal section { padding: 8px 0 32px; scroll-margin-top: 100px; }
.legal section + section { border-top: 1px solid var(--line); padding-top: 32px; }
.legal h2 { font-family: var(--font-head); font-size: var(--text-h3); font-weight: 600; line-height: 1.25; color: var(--black); margin-bottom: 16px; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--font-head); font-size: var(--text-h4); font-weight: 600; color: var(--black); margin: 24px 0 10px; line-height: 1.3; }
.legal p, .legal li { font-size: var(--text-base); line-height: 1.6; color: var(--ink); }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--blue); overflow-wrap: anywhere; }
.legal .table-wrap, .legal table { margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { background: var(--beige); font-weight: 600; color: var(--black); }

/* Cookie notice */
.cookie-banner { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 61; display: flex; align-items: center; gap: 16px; max-width: 560px; padding: 16px 18px; background: var(--black); color: #e6e6e6; border-radius: 12px; box-shadow: 0 18px 48px rgba(20, 20, 20, .3); animation: cookie-in .35s var(--ease); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: var(--text-sm); line-height: 1.5; }
.cookie-banner strong { color: #fff; }
.cookie-banner a { color: #7fb0ff; }
.cookie-ico { flex: none; font-size: 1.5rem; color: var(--yellow); }
.cookie-ok { flex: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 84px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; gap: 10px; padding: 14px; }
  .cookie-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

/* Website assistant */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; }
.chat-fab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff; font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; box-shadow: 0 12px 32px rgba(0, 98, 222, .35); transition: transform .2s var(--ease), background-color .2s; }
.chat-fab:hover { background: var(--blue-dark); transform: translateY(-2px); }
.chat-fab i { font-size: 1.125rem; }
.chat.open .chat-fab { display: none; }
.chat-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(20, 20, 20, .25); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--black); color: #fff; }
.chat-head div { display: grid; flex: 1; min-width: 0; }
.chat-head strong { font-size: var(--text-base); }
.chat-head span { font-size: var(--text-sm); color: #c9c9c9; }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: var(--radius); background: transparent; color: #fff; font-size: 1.125rem; cursor: pointer; }
.chat-close:hover { background: #444; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--beige); overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: var(--text-sm); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.msg-bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg-error { align-self: flex-start; background: #fff3f0; color: var(--terracotta); }
.msg-typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9a; animation: chat-dot 1s infinite ease-in-out; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--beige); }
.chat-suggest[hidden] { display: none; }
.chat-suggest button { padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: var(--text-sm); color: var(--black); cursor: pointer; }
.chat-suggest button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; min-width: 0; max-height: 120px; padding: 10px 12px; border: 1px solid #d9d2c7; border-radius: 10px; font: inherit; font-size: 1rem; line-height: 1.4; resize: none; color: var(--black); }
.chat-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 98, 222, .15); }
.chat-form button { flex: none; width: 42px; height: 42px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff; cursor: pointer; }
.chat-form button:disabled { opacity: .5; cursor: default; }
.chat-note { padding: 0 14px 12px; background: #fff; font-size: var(--text-xs); line-height: 1.45; color: var(--grey); }
.chat-note a { color: var(--blue); }
@media (max-width: 640px) {
  .chat { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .chat-fab span { display: none; }
  .chat-fab { padding: 16px; }
  .chat.open { left: 8px; right: 8px; }
  .chat-panel { width: 100%; height: min(600px, calc(100vh - 90px)); }
}
@media (prefers-reduced-motion: reduce) { .msg-typing i { animation: none; } .chat-fab { transition: none; } }

/* Reveal */
html:not(.no-js) .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html:not(.no-js) .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .launch li, .launch strong, .launch p { transition: none; }
  .launch li.on { transform: none; }
  html { scroll-behavior: auto; }
  html:not(.no-js) .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-header .brand-tag { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  /* A backdrop filter on the header would contain the fixed menu. */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .header-row { height: 60px; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; display: flex; flex-direction: column; gap: 4px; padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; background: #fff; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a:not(.btn) { padding: 14px 0; font-family: var(--font-head); font-size: var(--text-h3); text-decoration: none; color: var(--black); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
  .menu-open { overflow: hidden; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .services { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-tile { aspect-ratio: 16 / 9; max-width: 560px; }
  .hero-tile-art { inset: 10% auto auto 50%; width: 36%; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-side { position: static; }
  .blog-side { position: static; }
  .blog-cats { flex-direction: row; flex-wrap: wrap; }
  .blog-count { margin-left: 4px; }
  .vrow { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px; }
  .pipeline-light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis > div:nth-child(3) { border-left: 0; }
  .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pipeline-light li + li::before { display: none; }
  .commit-panel { position: static; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .foot-brand { flex: 1 1 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero .btn-group { align-self: stretch; }
  .hero .btn-group .btn { flex: 1 1 100%; }
  .services { grid-template-columns: 1fr; }
  .svc-wide { grid-column: auto; }
  .svc { min-height: 0; }
  .split-head { flex-direction: column; }
  .flow { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .cert { grid-template-columns: 1fr; }
  .cert-badge { width: 80px; height: 80px; font-size: 1.125rem; }
  .foot-top { flex-direction: column; }
  .foot-reg { padding: 0 var(--gutter); flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; font-size: var(--text-xs); line-height: 1.3; }
  .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-main .post-grid { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: 1fr; }
  .facts-card, .form-card { padding: 24px 20px; }
  .facts-card dl > div, .info-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot { flex-direction: column; align-items: stretch; }
  .vrow { padding: 24px 20px; }
  .pipeline-light, .asset-grid { grid-template-columns: minmax(0, 1fr); }
  .asset { padding: 24px 20px; }
  .stack { grid-template-columns: minmax(0, 1fr); }
  .launch li { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .launch-n { width: 44px; height: 44px; font-size: 1.0625rem; }
  .launch li + li::before { left: 39px; }
  .kpis > div { padding: 18px; }
  .asset-tech { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .commit { padding: 20px; }
  .commit-panel { padding: 24px 20px; }
  .asset-table th, .asset-table td { padding: 12px 14px; }
  .facts-card.hero-facts dl > div { grid-template-columns: minmax(0, 1fr); }
  .vrow-how { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; }
  .hero-tile { aspect-ratio: 4 / 3; }
  .hero-tile-art { width: 46%; left: 48%; }
  .legal-grid { padding-bottom: 80px; }
  .legal th, .legal td { padding: 8px; }
  .feature { padding: 16px; }
}
