/* Spidev — layout: left-aligned editorial grid, 1180px measure, hairline-ruled sections,
   one bold moment (the Kerala ⇄ UAE "two desks" card in the hero). */
@font-face {
  font-family: "Spidev Logo";
  src: url("fonts/spidev-logo.woff2") format("woff2"), url("fonts/spidev-logo.woff") format("woff");
  font-display: swap;
}
/* Spidev — brand colours and logo carried over from the current spidev.in theme
   (maroon #a31600, red #e40000, gold #ffc945, cream #fcf1e7, ink #161623, Ubuntu).
   Layout: left-aligned editorial grid, 1180px measure, hairline-ruled sections,
   one bold moment (the Kerala & UAE "two desks" card in the hero). */
:root {
  --paper: #fafafa;
  --surface: #ffffff;
  --ink: #161623;
  --ink-2: #43435a;
  --muted: #6b6b7b;
  --line: #e6e4ea;
  --accent: #a31600;
  --accent-2: #e40000;
  --accent-ink: #ffffff;
  --accent-soft: #fcf1e7;
  --gold: #ffc945;
  --signal: #e40000;
  --band: #161623;
  --ok: #157f4a;
  --err: #b42318;

  --f-display: "Ubuntu", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Ubuntu", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Ubuntu Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-logo: "Spidev Logo", "Ubuntu", "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);

  --measure: 1180px;
  --radius: 12px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161625; --surface: #1d1d30; --ink: #fdfffc; --ink-2: #c6c6d2; --muted: #9d9db2;
    --line: #2d2d45; --accent: #ff4c4c; --accent-2: #ff6b5e; --accent-ink: #161625; --accent-soft: #2b1b24;
    --gold: #ffc945; --signal: #ffc945; --band: #0d0d18; --ok: #4cc38a; --err: #ff7a6b; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161625; --surface: #1d1d30; --ink: #fdfffc; --ink-2: #c6c6d2; --muted: #9d9db2;
  --line: #2d2d45; --accent: #ff4c4c; --accent-2: #ff6b5e; --accent-ink: #161625; --accent-soft: #2b1b24;
  --gold: #ffc945; --signal: #ffc945; --band: #0d0d18; --ok: #4cc38a; --err: #ff7a6b; color-scheme: dark;
}
/* Dark bands (CTA + footer) re-map the tokens so components inside them just work */
.cta, .site-footer {
  --paper: var(--band); --surface: var(--band); --ink: #fdfffc; --ink-2: #c9c9d6; --muted: #9a9ab2;
  --line: #2f2f48; --accent: #ff4c4c; --accent-ink: #161623; --accent-soft: #2b1b24;
  background: var(--band); color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.section--tint { background: var(--surface); }
.eyebrow {
  font: 400 var(--step--1)/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  display: inline-flex; gap: 10px; align-items: center;
}
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 600 var(--step-0)/1 var(--f-body); text-decoration: none; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font: 400 2.125rem/1 var(--f-logo); color: var(--accent); padding-bottom: 4px; }
.brand:hover { color: var(--accent-2); }
.site-footer .brand { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 8px; min-height: 42px; color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent); color: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; width: 20px; height: 20px; }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 16px var(--gutter); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-radius: 999px; border-bottom: 0; }
}

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lede { margin-bottom: 30px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Two-desk card */
.desks { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 4px; min-width: 0; }
.desks__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; }
.desks__arc { color: var(--accent); height: 76px; width: 100%; }
.desks__arc .dash { stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.desk__place { font: 500 var(--step-1)/1.2 var(--f-display); }
.desk__time { font: 500 var(--step-2)/1 var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; }
.desk__meta { font: 400 var(--step--1)/1.4 var(--f-mono); color: var(--muted); }
.desk__meta a { color: var(--ink-2); text-decoration: none; }
.desk__meta a:hover { color: var(--accent); }
.desk__tz { text-align: right; }
.desks__note { font-size: var(--step--1); color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }

/* Service groups */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.group { padding: 24px 24px 28px 0; display: grid; align-content: start; gap: 14px; }
.group + .group { padding-left: 24px; border-left: 1px solid var(--line); }
.group__label { font: 500 var(--step--1)/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.group h3 { font-size: var(--step-2); }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.group li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.group li a:hover { color: var(--accent); }
.group li a::after { content: "→"; opacity: .4; }
@media (max-width: 960px) {
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group:nth-child(3) { padding-left: 0; border-left: 0; }
  .group:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .groups { grid-template-columns: 1fr; }
  .group + .group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font: 500 var(--step--1)/1 var(--f-mono); color: var(--accent); }
.step p { color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.reason { display: grid; gap: 10px; align-content: start; }
.reason svg { width: 28px; height: 28px; color: var(--accent); }
.reason p { color: var(--ink-2); }
@media (max-width: 820px) { .reasons { grid-template-columns: 1fr; } }

/* Clients: logo wall. Tiles stay white in both themes because the logos are artwork on white */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.clients li { min-width: 0; }
.clients .logo-tile { display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%; padding: 14px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s ease, border-color .15s ease; }
.clients a.logo-tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.clients .logo-tile { overflow: hidden; }
.clients .logo-tile--dark { background: #161623; }
.clients img { width: 100%; height: clamp(44px, 5.5vw, 72px); object-fit: contain; }
.clients-note { margin-top: 18px; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 700px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* CTA band */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-block: clamp(56px, 8vw, 96px); }
.cta h2 span { color: var(--gold); }
.cta p { color: var(--ink-2); margin-top: 16px; max-width: 52ch; }
.cta .actions { justify-content: flex-end; }
.cta .btn--primary { background: var(--gold); color: #161623; }
.cta .btn--ghost:hover { border-color: var(--ink); }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* Page header (inner pages) */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: var(--step-4); margin-block: 14px 18px; max-width: 18ch; }
.page-head--art .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.art { margin: 0; background: #fcf1e7; border-radius: 20px; padding: clamp(16px, 3vw, 32px); max-width: 100%; }
.art img { width: 100%; height: auto; }
@media (max-width: 820px) { .page-head--art .wrap { grid-template-columns: 1fr; } .art { max-width: 460px; } }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; font: 400 var(--step--1)/1 var(--f-mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Two-column prose */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); }
.prose { display: grid; gap: 18px; max-width: 66ch; color: var(--ink-2); font-size: 1.0625rem; }
.prose strong { color: var(--ink); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.principles li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.principles blockquote { margin: 0; font: 500 var(--step-2)/1.2 var(--f-display); }
.principles p { color: var(--ink-2); }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* Service detail list */
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-nav a { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); color: var(--ink-2); }
.svc-nav a:hover { border-color: var(--accent); color: var(--accent); }
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-child { border-top: 2px solid var(--ink); }
.svc__cat { font: 500 var(--step--1)/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; display: block; }
.svc h2 { font-size: var(--step-2); }
.svc p { color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 0.9375rem; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border: 2px solid var(--accent); border-radius: 50%; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 var(--step-1)/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .actions { grid-column: 1 / -1; align-items: center; }
.form small { color: var(--muted); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; font-weight: 500; }
.notice--ok { color: var(--ok); border-color: currentColor; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.notice--err { color: var(--err); border-color: currentColor; background: color-mix(in srgb, var(--err) 8%, transparent); }
.cards { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.card { padding-block: 20px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.card .eyebrow { color: var(--accent); }
.card .big { font: 500 var(--step-1)/1.3 var(--f-mono); text-decoration: none; overflow-wrap: anywhere; }
.card a.big:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 0.9375rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font: 500 var(--step--1)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--accent); }
.foot p { color: var(--ink-2); max-width: 36ch; margin-top: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > :first-child { grid-column: 1 / -1; } }

/* Floating WhatsApp */
.wa {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #0b3d1f; box-shadow: 0 8px 24px rgb(0 0 0 / .18);
}
.wa svg { width: 28px; height: 28px; }

/* 404 */
.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound .code { font: 700 var(--step-4)/1 var(--f-mono); color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Added: service, location and blog pages ---- */
.nav a.is-section { color: var(--ink); font-weight: 600; }
.page-head .actions { margin-top: 26px; }
.post-meta { margin-top: 14px; font: 400 var(--step--1)/1.4 var(--f-mono); color: var(--muted); }

.svc-groups { display: grid; gap: clamp(40px, 6vw, 72px); }
.svc-group { display: grid; gap: 22px; }
.svc-group__head { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.svc-group__head h2 { font-size: var(--step-2); }

.lcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.lcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .lcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lcards--3 { grid-template-columns: 1fr; } }
.lcard {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 22px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.lcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.lcard__cat { font: 400 var(--step--1)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.lcard__title { font: 500 var(--step-1)/1.3 var(--f-display); color: var(--ink); }
.lcard__text { color: var(--ink-2); font-size: 0.9375rem; }
.lcard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); font-size: 0.9375rem; }
.lcard__more svg { width: 16px; height: 16px; }

.split--aside { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 820px) { .split--aside { grid-template-columns: 1fr; } }
.prose h2 { font-size: var(--step-3); color: var(--ink); margin-top: 4px; }
.prose a, .article a { color: var(--accent); }
.panel { display: grid; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; align-content: start; }
.panel__h { font-size: var(--step-1); font-weight: 500; }
.panel .big { font: 500 var(--step-1)/1.3 var(--f-mono); text-decoration: none; }
.panel .desk__time { text-align: left; }
.panel .btn { justify-content: center; }
@media (min-width: 900px) { .panel--sticky { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); } }
.ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; max-width: 900px; }
.ticks--grid li { font-size: 1rem; }
@media (max-width: 640px) { .ticks--grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.chips .eyebrow { margin-right: 6px; }
.chips a { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); color: var(--ink-2); background: var(--surface); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: border-color .15s ease; }
.area:hover { border-color: var(--accent); }
.area__country { font: 400 var(--step--1)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.area__city { font: 700 var(--step-2)/1.1 var(--f-display); }
.area__more { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 500; font-size: 0.9375rem; }
.area__more svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .posts, .posts--2 { grid-template-columns: 1fr; } }
.post-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); text-decoration: none; min-width: 0; }
.post-card:hover { border-color: var(--accent); }
.post-card__meta { font: 400 var(--step--1)/1 var(--f-mono); color: var(--muted); }
.post-card__title { font: 500 var(--step-1)/1.3 var(--f-display); color: var(--ink); }
.post-card__text { color: var(--ink-2); font-size: 0.9375rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.article { max-width: 70ch; display: grid; gap: 18px; font-size: 1.0625rem; color: var(--ink-2); }
.article h2 { font-size: var(--step-2); color: var(--ink); margin-top: 18px; }
.article ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.article table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.9375rem; }
.article th, .article td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article thead th { font: 400 var(--step--1)/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.article tbody th { color: var(--ink); font-weight: 500; }
.article tr:last-child > * { border-bottom: 0; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-links a { color: var(--accent); }

.clients--few { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 700px) { .clients--few { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.foot { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr); }
.foot ul.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.foot h2.mt { margin-top: 28px; }
.foot li { overflow-wrap: anywhere; }
@media (max-width: 960px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } .foot ul.cols-2 { grid-template-columns: 1fr; } }
