/* =========================================================
   Datumax Engineered Solutions
   Dark industrial theme built from the logo: deep navy, drive blue, steel, machined silver.
   Change colours here and the whole site follows.
   ========================================================= */
:root {
  --bg: #050f24;          /* page background, logo navy taken almost to black */
  --bg-2: #0a1a3a;        /* raised panels */
  --navy: #12306b;        /* logo navy */
  --blue: #2b63d0;        /* logo blue, lifted for dark backgrounds */
  --steel: #5b8fd6;       /* logo gear highlight */
  --glow: #7fb2ff;        /* light accents, icon lines */
  --silver: #c9d2de;      /* machined silver */
  --text: #e9eef7;
  --muted: #98a9c5;
  --line: rgba(140, 172, 222, .16);
  --line-strong: rgba(140, 172, 222, .32);
  --ok: #43c08a;

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Archivo", Arial, sans-serif;
  --tech: "Chakra Petch", "Arial Narrow", Arial, sans-serif;
  --wrap: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--glow); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; line-height: 1.05; text-wrap: balance; color: #fff; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; text-transform: uppercase; }
h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 105%; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.tech { font-family: var(--tech); font-weight: 500; letter-spacing: .02em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 15, 36, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(5, 15, 36, .85); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { width: 190px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { position: relative; font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--glow); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.menu-toggle span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .brand img { width: 160px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: #050f24; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; animation: drop .3s var(--ease); }
  .nav a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; color: #fff; padding: 13px 24px; border-radius: 999px; border: 1px solid rgba(127, 178, 255, .5); background: linear-gradient(135deg, #3b7cf2, #1d4eb0); box-shadow: 0 8px 30px -10px rgba(59, 124, 242, .8), inset 0 1px 0 rgba(255,255,255,.25); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(59, 124, 242, .95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:hover::after { left: 120%; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.09); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(59, 124, 242, .16), transparent 60%),
    radial-gradient(900px 600px at 78% 42%, rgba(29, 78, 176, .38), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(18, 48, 107, .55), transparent 70%);
}
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(140,172,222,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(140,172,222,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 56px 56px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--silver); padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(67, 192, 138, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(67, 192, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 192, 138, 0); } }

.headline { font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 850; font-stretch: 112%; overflow-wrap: break-word; line-height: .94; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 26px; }
.headline .line { display: block; overflow: hidden; padding-bottom: .04em; }
.headline .line > span { display: inline-block; background: linear-gradient(180deg, #ffffff 30%, #b9c6da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: line-up 1s var(--ease) both; }
.headline .line:nth-child(2) > span { animation-delay: .1s; }
.headline .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes line-up { from { transform: translateY(105%); } }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 46ch; margin-bottom: 34px; animation: fade-up .9s var(--ease) .35s both; }
.hero .btn-row { animation: fade-up .9s var(--ease) .45s both; }
.hero-meta { margin: 28px 0 0; font-size: .95rem; color: var(--muted); animation: fade-up .9s var(--ease) .55s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

/* Gearbox */
.hero-visual { position: relative; animation: gear-in 1.4s var(--ease) .15s both; }
@keyframes gear-in { from { opacity: 0; transform: scale(.92) rotate(-8deg); } }
.gearbox { width: 100%; max-width: 620px; margin-inline: auto; overflow: visible; }
.gearbox .dial path { stroke: var(--steel); stroke-width: 1.2; opacity: .55; }
.gearbox .dial-lbl text { fill: #7d93b8; font: 600 11px var(--tech); text-anchor: middle; letter-spacing: .05em; }
.gearbox .ring { stroke: rgba(127, 178, 255, .4); stroke-width: 1.2; }
.gearbox .ring-edge { fill: none; stroke: var(--steel); stroke-opacity: .55; stroke-width: 1.5; }
.gearbox .bearing { fill: none; stroke: rgba(10, 28, 68, .45); stroke-width: 2; }
.gearbox .planet path { stroke: rgba(10, 28, 68, .35); stroke-width: 1; }
.gearbox .sun path { stroke: rgba(160, 200, 255, .5); stroke-width: 1; }
.gearbox .carrier path:first-child { fill: rgba(91, 143, 214, .1); stroke: rgba(170, 205, 250, .65); stroke-width: 2; stroke-linejoin: round; }
.gearbox .carrier circle { fill: var(--bg); stroke: #cfe0f7; stroke-width: 2; }
.gearbox .carrier .marker { fill: var(--glow); stroke: none; filter: drop-shadow(0 0 6px var(--glow)); }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px auto 0; max-width: 560px; }
.readout div { padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 26, 58, .55); backdrop-filter: blur(8px); }
.readout dt { font-size: .78rem; color: var(--muted); }
.readout dd { margin: 0; font-size: 1.15rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* Inner page heroes */
.hero-page { padding: 64px 0 72px; }
.hero-page .headline { font-size: clamp(2.2rem, 7vw, 6rem); }
.hero-short { padding-bottom: 40px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; animation: fade-up .9s var(--ease) .45s both; }
.jump a { font-size: .95rem; color: var(--silver); text-decoration: none; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); transition: background .2s, border-color .2s; }
.jump a:hover { background: rgba(127,178,255,.12); border-color: var(--glow); color: #fff; }
.cloud-fig { margin: 0; min-width: 0; animation: fade-up 1s var(--ease) .2s both; }
.cloud-fig canvas { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; touch-action: pan-y; cursor: grab; }
.cloud-fig canvas.grabbing { cursor: grabbing; }
.cloud-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; text-align: center; }

@media (max-width: 960px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .gearbox { max-width: 460px; }
}
@media (max-width: 520px) {
  .readout { gap: 6px; }
  .readout div { padding: 8px 9px; }
  .readout dt { font-size: .7rem; }
  .readout dd { font-size: 1rem; }
}

/* ---------- Marquee of past employers/clients ---------- */
.marquee { padding: 40px 0 46px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,26,58,.5), rgba(5,15,36,0)); }
.marquee-title { font-size: .95rem; font-weight: 500; text-transform: none; color: var(--muted); margin-bottom: 18px; }
.track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track ul { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; align-items: center; animation: marquee 34s linear infinite; }
.track:hover ul { animation-play-state: paused; }
.track li { font-family: var(--display); font-weight: 800; font-stretch: 120%; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.5rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(201, 210, 222, .55); padding: 0 34px; display: flex; align-items: center; gap: 68px; transition: color .3s; }
.track li::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--steel); transform: rotate(45deg); margin-right: -34px; }
.track li:hover { color: var(--silver); }
.track li img { height: 44px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .8; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Story */
.story-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; margin-bottom: 80px; }
.story h2 { max-width: 14ch; position: sticky; top: 110px; }
.statement { font-family: var(--display); font-weight: 600; font-stretch: 100%; font-size: clamp(1.55rem, 3.1vw, 2.6rem); line-height: 1.22; letter-spacing: -.01em; max-width: 30ch; margin: 0; color: var(--text); }
.statement .w { opacity: .16; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
.story-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.story-body p { color: #c3cee0; font-size: 1.1rem; max-width: 62ch; }
.stats { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stats div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stats dt { margin: 0; }
.num { font-family: var(--display); font-weight: 850; font-stretch: 125%; font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, var(--steel)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .story-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; } .story h2 { position: static; } .story-cols { grid-template-columns: 1fr; gap: 40px; } .section { padding: 84px 0; } }

/* ---------- Cards (bento + services) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.span-2 { grid-column: span 2; }
.card { position: relative; isolation: isolate; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; min-width: 0; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 124, 242, .16), transparent 60%); opacity: 0; transition: opacity .35s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 178, 255, .85), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-4px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { margin-top: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-feature { background: radial-gradient(500px 300px at 100% 0%, rgba(43, 99, 208, .35), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border-color: rgba(127, 178, 255, .3); }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--silver); background: rgba(255,255,255,.03); }
.card-link { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-decoration: none; color: var(--text); background: linear-gradient(135deg, rgba(59, 124, 242, .35), rgba(18, 48, 107, .35)); border-color: rgba(127, 178, 255, .35); }
.card-link-text { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.card-link-sub { color: #c3cee0; }
.card-link .arrow { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.card-link:hover .arrow { transform: translateX(8px); }
.card-link:hover { color: #fff; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } .card { padding: 24px; } }

.svc-group + .svc-group { padding-top: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gets { margin-top: 20px !important; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text) !important; }
.gets span { display: block; font-size: .82rem; color: var(--glow); margin-bottom: 2px; }
@media (max-width: 960px) { .svc-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .svc-grid, .svc-grid.three { grid-template-columns: 1fr; } }

/* Icons */
.ico { width: 66px; height: 66px; padding: 9px; border-radius: 16px; border: 1px solid rgba(127, 178, 255, .28); background: linear-gradient(135deg, rgba(59, 124, 242, .22), rgba(59, 124, 242, .05)); fill: none; stroke: var(--glow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico * { transform-box: view-box; }
.ico .laser { stroke: #9fe6ff; stroke-width: 2; filter: drop-shadow(0 0 3px #9fe6ff); }
.ico .dash { stroke-dasharray: 3 4; }
.a-scan { animation: ico-scan 2.6s ease-in-out infinite alternate; }
@keyframes ico-scan { from { transform: translateY(0); } to { transform: translateY(26px); } }
.a-spin { transform-origin: 24px 24px; animation: ico-spin 10s linear infinite; }
@keyframes ico-spin { to { transform: rotate(360deg); } }
.a-float { animation: ico-float 3.4s ease-in-out infinite; }
@keyframes ico-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 5px); } }
.a-rotor { transform-origin: 24px 18px; animation: ico-spin 3.2s linear infinite; }
.a-draw, .a-rail { stroke-dasharray: 1; animation: ico-draw 3.4s var(--ease) infinite; }
@keyframes ico-draw { 0% { stroke-dashoffset: 1; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.a-flow { stroke-dasharray: 3 3; animation: ico-flow 1.2s linear infinite; }
@keyframes ico-flow { to { stroke-dashoffset: -12; } }
.a-spark { animation: ico-flicker 1.1s steps(2) infinite; stroke: #9fe6ff; }
.a-glow { fill: #9fe6ff; stroke: none; animation: ico-flicker .7s steps(2) infinite; }
@keyframes ico-flicker { 50% { opacity: .15; } }
.a-needle { transform-origin: 24px 34px; animation: ico-needle 3s var(--ease) infinite alternate; }
@keyframes ico-needle { from { transform: rotate(-95deg); } to { transform: rotate(8deg); } }
.a-wrench { transform-origin: 11px 34px; animation: ico-wrench 2.4s ease-in-out infinite; }
@keyframes ico-wrench { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-14deg); } }
.a-bar { transform-box: fill-box; transform-origin: left center; animation: ico-bar 3.2s var(--ease) infinite; stroke-width: 4; }
.a-bar.b2 { animation-delay: .2s; } .a-bar.b3 { animation-delay: .4s; } .a-bar.b4 { animation-delay: .6s; }
@keyframes ico-bar { 0% { transform: scaleX(0); } 35%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line-strong); }
.steps::after { right: auto; width: calc((100% - 56px) * var(--p)); background: linear-gradient(90deg, var(--blue), var(--glow)); box-shadow: 0 0 14px var(--glow); }
.steps li { position: relative; z-index: 1; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); font-size: 1.3rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; transition: all .5s var(--ease); }
.steps li.on .step-num { background: linear-gradient(135deg, #3b7cf2, #1d4eb0); border-color: var(--glow); color: #fff; box-shadow: 0 0 0 6px rgba(59, 124, 242, .18), 0 0 26px rgba(127, 178, 255, .55); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps li { padding-left: 82px; }
  .step-num { position: absolute; left: 0; top: -6px; }
  .steps::before, .steps::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps::after { bottom: auto; height: calc((100% - 56px) * var(--p)); background: linear-gradient(180deg, var(--blue), var(--glow)); }
}

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.02); margin-top: 36px; }
.facts div { padding: 30px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Call to action ---------- */
.cta { padding: 40px 0 120px; }
.cta-inner { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(36px, 6vw, 72px); border-radius: 28px; background: #12306b; }
.cta-inner::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 68%, rgba(127, 178, 255, .9) 82%, transparent 92%); animation: ico-spin 7s linear infinite; }
.cta-inner::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 26.5px; background: radial-gradient(600px 300px at 85% 20%, rgba(59,124,242,.45), transparent 70%), linear-gradient(120deg, #0b2458, #12306b 55%, #183f95); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 16ch; margin-bottom: .3em; }
.cta p { margin: 0; color: #c7d6ef; font-size: 1.15rem; max-width: 46ch; }
.cta .btn { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); }
.cta .btn:hover { color: var(--navy); }
.cta .btn::after { background: linear-gradient(100deg, transparent, rgba(59,124,242,.25), transparent); }

/* ---------- Contact ---------- */
.contact-section { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); padding: clamp(24px, 4vw, 40px); }
.panel h2 { font-size: 1.6rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full, .full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1.02rem; color: #fff; padding: 26px 16px 10px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(5, 15, 36, .6); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 180px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 18px; right: 12px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(127, 178, 255, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .78rem; color: var(--glow); }
.hint { font-size: .92rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-weight: 600; margin: 0; }
.notice[hidden] { display: none; }
.notice.ok { background: rgba(67, 192, 138, .14); border: 1px solid rgba(67, 192, 138, .5); color: #9fe9c4; }
.notice.err { background: rgba(230, 90, 90, .14); border: 1px solid rgba(230, 90, 90, .5); color: #ffb3b3; }
.details dl { margin: 0; display: grid; gap: 18px; }
.details dt { font-size: .85rem; color: var(--glow); }
.details dd { margin: 2px 0 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.details dd a { color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 30px; background: linear-gradient(180deg, rgba(10,26,58,.6), var(--bg)); font-size: 1rem; color: var(--muted); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand p { max-width: 40ch; }
.site-footer h2 { font-size: 1rem; font-stretch: 110%; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dim { color: var(--muted); }
.legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
  .no-sdt .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .no-sdt .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(44px) scale(.985); } }

/* ---------- Reduced motion: everything still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .statement .w { opacity: 1; }
}

/* ---------- Phone links ---------- */
.ph-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex-shrink: 0; }
.nav .nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tech); font-weight: 600; font-size: 1rem; letter-spacing: .03em; color: var(--silver); text-decoration: none; padding: 6px 0; }
.nav .nav-phone::after { display: none; }
.nav .nav-phone:hover { color: #fff; }
.nav .nav-phone .ph-ico { color: var(--glow); }
@media (max-width: 1000px) and (min-width: 821px) { .nav { gap: 24px; } }
@media (max-width: 820px) { .nav .nav-phone { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; } }

.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: #dbe7fb; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; }
.cta-phone:hover { color: #fff; }
@media (max-width: 700px) { .cta-actions { align-items: flex-start; } }

.hero-call { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; padding: 12px 22px 12px 14px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); animation: fade-up .9s var(--ease) .45s both; transition: border-color .2s, background .2s; }
.hero-call:hover { color: #fff; border-color: var(--glow); background: rgba(127,178,255,.1); }
.hero-call .ph-ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #3b7cf2, #1d4eb0); box-shadow: 0 8px 24px -8px rgba(59,124,242,.9); }
.hero-call > span { display: grid; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hero-call > span .tech { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; font-stretch: 100%; }

/* ---------- Service areas ---------- */
.areas { padding-top: 0; }
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); min-width: 0; }
.area h3 { font-size: 1.15rem; display: flex; align-items: flex-start; gap: 10px; }
.area h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(127,178,255,.15), 0 0 12px var(--glow); flex-shrink: 0; margin-top: .42em; }
.area .tags { margin-top: 14px; }
.area .tags li { font-size: .85rem; }
.area-wide { grid-column: span 2; }
.area-wide p { color: var(--muted); margin: 0; }
.area-feature { background: radial-gradient(500px 260px at 100% 0%, rgba(43, 99, 208, .38), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border-color: rgba(127, 178, 255, .3); }
@media (max-width: 1000px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .area-grid { grid-template-columns: 1fr; } .area-wide { grid-column: auto; } }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.15rem; font-stretch: 100%; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--glow); }
.faq-icon { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .35s var(--ease), background .2s, border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--glow); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] .faq-icon { background: var(--blue); border-color: var(--glow); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-a { padding: 0 60px 24px 0; }
.faq-a p { color: #c3cee0; margin: 0; max-width: 66ch; }
.faq-item[open] .faq-a { animation: fade-up .45s var(--ease); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } .faq .section-head { position: static; } .faq-a { padding-right: 0; } }
.ico .a-spin.r1 { transform-origin: 20px 20px; animation-duration: 9s; }
.ico .a-spin.r2 { transform-origin: 35.7px 36.7px; animation-duration: 6.2s; animation-direction: reverse; }
section[id] { scroll-margin-top: 96px; }

/* ---------- Case studies: coming soon ---------- */
.dot-soon { background: #f2b544; box-shadow: 0 0 0 0 rgba(242, 181, 68, .7); animation-name: pulse-soon; }
@keyframes pulse-soon { 70% { box-shadow: 0 0 0 9px rgba(242, 181, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 68, 0); } }
.soon-section { padding-top: 40px; }
.soon { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 56px); border-radius: 28px; border: 1px dashed rgba(127, 178, 255, .45); background: radial-gradient(700px 360px at 90% 0%, rgba(43, 99, 208, .28), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); }
.soon-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 140px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(111, 168, 255, .16) 80%, rgba(219, 233, 255, .55)); border-right: 1px solid rgba(219, 233, 255, .5); animation: soon-scan 6s cubic-bezier(.45, 0, .55, 1) infinite; opacity: 0; }
@keyframes soon-scan { 0% { transform: translateX(-140px); opacity: 0; } 8% { opacity: 1; } 60% { transform: translateX(calc(1240px)); opacity: 1; } 65%, 100% { transform: translateX(1240px); opacity: 0; } }
.soon-head { max-width: 60ch; }
.soon-badge { display: inline-block; font-size: .85rem; color: #f8d48a; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(242, 181, 68, .5); background: rgba(242, 181, 68, .1); margin-bottom: 18px; }
.soon-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.soon-head p { color: #c3cee0; font-size: 1.12rem; }
.soon-steps { list-style: none; margin: 40px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.soon-steps li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(5, 15, 36, .55); min-width: 0; }
.soon-steps .step-num { width: 46px; height: 46px; margin-bottom: 18px; font-size: 1.1rem; background: linear-gradient(135deg, #3b7cf2, #1d4eb0); border-color: var(--glow); color: #fff; }
.soon-steps h3 { font-size: 1.2rem; }
.soon-steps p { color: var(--muted); margin: 0; font-size: 1rem; }
.soon-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.soon-foot p { margin: 0; color: #c3cee0; max-width: 46ch; }
@media (max-width: 860px) { .soon-steps { grid-template-columns: 1fr; } }

/* Header: switch to the menu button earlier now there are more links */
@media (max-width: 1360px) {
  .brand img { width: 160px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: #050f24; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; animation: drop .3s var(--ease); }
  .nav a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-phone { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Case studies: blog index ---------- */
.posts-section { padding-top: 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.post-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--steel); margin-right: 16px; vertical-align: middle; }
.post-cat { color: var(--glow); }
.post-cat-soon { color: #f8d48a; }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; padding: 0; border-color: rgba(127, 178, 255, .3); }
.post-feature-img { display: block; position: relative; overflow: hidden; background: #fff; min-height: 100%; }
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-feature:hover .post-feature-img img { transform: scale(1.03); }
.post-feature-body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.post-feature h3, .post-card h3 { margin-top: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; font-stretch: 108%; line-height: 1.12; }
.post-feature h3 a { color: #fff; text-decoration: none; }
.post-feature h3 a:hover { color: var(--glow); }
.post-feature .tags { margin: 18px 0 26px; }
.post-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; text-decoration: none; }
.post-more svg { width: 22px; height: 22px; fill: none; stroke: var(--glow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.post-more:hover { color: var(--glow); }
.post-more:hover svg { transform: translateX(6px); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.post-card { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); overflow: hidden; min-width: 0; }
.post-card-body { padding: 26px; }
.post-card-body p:last-child { color: var(--muted); margin: 0; }
.post-pending { border-style: dashed; border-color: rgba(127, 178, 255, .35); }
.post-pending-img { aspect-ratio: 16 / 7; display: grid; place-items: center; position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(140,172,222,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(140,172,222,.09) 1px, transparent 1px), radial-gradient(400px 200px at 80% 0%, rgba(43, 99, 208, .3), transparent 70%);
  background-size: 28px 28px, 28px 28px, auto; border-bottom: 1px solid var(--line); }
.post-pending-img span { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(5,15,36,.7); }
@media (max-width: 900px) { .post-feature { grid-template-columns: 1fr; } .post-feature-img { aspect-ratio: 3 / 2; } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Case studies: article ---------- */
.post-hero { padding: 48px 0 56px; }
.crumbs { display: flex; gap: 10px; font-size: .92rem; color: var(--muted); margin-bottom: 22px; animation: fade-up .7s var(--ease) both; }
.crumbs a { color: var(--silver); text-decoration: none; }
.crumbs a:hover { color: var(--glow); }
.post-hero .post-meta { animation: fade-up .8s var(--ease) .05s both; }
.post-title { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 850; font-stretch: 110%; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; max-width: 22ch; margin-bottom: 22px; animation: fade-up .9s var(--ease) .1s both; }
.post-hero .lede { max-width: 60ch; margin-bottom: 0; }
.post-cover { margin: 0 0 64px; }
.post-cover img { width: 100%; border-radius: 24px; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.post figure figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 40px; }
.post-aside { position: sticky; top: 110px; }
.glance { padding: 26px; border-radius: var(--radius); border: 1px solid rgba(127, 178, 255, .3); background: radial-gradient(400px 220px at 100% 0%, rgba(43, 99, 208, .3), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); }
.glance h2, .glance h3 { font-size: .85rem; font-stretch: 100%; text-transform: uppercase; letter-spacing: .12em; color: var(--glow); margin-bottom: 14px; }
.glance h3 { margin-top: 24px; }
.glance dl { margin: 0; display: grid; gap: 12px; }
.glance dt { font-size: .82rem; color: var(--muted); }
.glance dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.35; }
.scope { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.scope li { position: relative; padding-left: 22px; color: #c3cee0; line-height: 1.4; }
.scope li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border: 2px solid var(--steel); transform: rotate(45deg); }
.prose { min-width: 0; }
.prose section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.prose h2 .tech { font-size: .9rem; color: var(--glow); letter-spacing: .1em; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; transform: translateY(-.25em); }
.prose p { color: #c3cee0; font-size: 1.12rem; line-height: 1.75; max-width: 66ch; }
.prose figure { margin: 34px 0; }
.prose figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); background: #fff; transition: transform .4s var(--ease), border-color .3s; }
.prose figure a:hover img { border-color: var(--glow); transform: translateY(-3px); }
.pull { position: relative; padding: 22px 0 22px 26px; border-left: 3px solid var(--glow); font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.45rem) !important; line-height: 1.45 !important; color: #fff !important; background: linear-gradient(90deg, rgba(59,124,242,.12), transparent 80%); border-radius: 0 14px 14px 0; }
.post-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-foot .back { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; order: 2; } .post-cover { margin-bottom: 44px; } }

/* ---------- Email next to phone ---------- */
.nav .nav-email { font-size: .92rem; letter-spacing: .01em; }
.nav-email .ph-ico { stroke-linecap: round; }
.hero-calls { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-calls .hero-call > span { overflow-wrap: anywhere; }
.hero-calls .hero-call[href^="mailto"] > span { font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.nav a { white-space: nowrap; }
.post-card-img { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.post-card-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-card h3 a { color: #fff; text-decoration: none; }
.post-card h3 a:hover { color: var(--glow); }
.post-card .post-card-body > p:not(.post-meta) { color: var(--muted); }
.post-card .post-more { margin-top: 18px; }
.post-card.card { padding: 0; }
.post-card.card h3 { margin-top: 0; }
.post-cover img[src$=".svg"] { background: var(--bg); }
.post-cover-tall a { display: block; border-radius: 24px; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.post-cover-tall img { width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; border: 0; box-shadow: none; background: transparent; }
.post-card-img img.pos-top { background: #fff; object-fit: contain; }
.fig-pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 18px; align-items: start; margin: 34px 0; }
.fig-pair figure { margin: 0 !important; }
@media (max-width: 600px) { .fig-pair { grid-template-columns: 1fr; } .fig-pair figure:first-child img { max-height: 520px; width: auto; margin-inline: auto; } }
