/* =====================================================================
   NVC Digital — main stylesheet
   Brand tokens carried over from the existing nvcdigital.in theme:
   Kanit (headings, uppercase, 500) · Roboto (body) · #121212 ink ·
   #555 body text · #999 muted · #EFEFEF lines.
   Accent: lime #D4F549. It is a light colour, so: use it as-is on dark
   backgrounds and as a FILL on light ones (with --ink text on top);
   for accent-coloured text/icons on light backgrounds use --accent-deep.
   Errors use --danger (red), not the brand accent.
   ===================================================================== */

:root {
  --ink: #121212;
  --ink-2: #2c2c2c;
  --text: #555555;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --line-strong: #d7d7d7;
  --tint: #f6f6f4;
  --paper: #ffffff;
  --accent: #d4f549;
  --accent-deep: #5f6f00;   /* same hue, ≥ 4.5:1 on white — accent text/icons on light backgrounds */
  --danger: #c80000;        /* form errors only */
  --ok: #1d7a3a;
  --font-head: "Kanit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1290px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: rgba(18,18,18,.3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.section-dark a:hover, .site-footer a:hover, .offcanvas a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 5px var(--accent); }
.section-dark :focus-visible, .site-footer :focus-visible, .offcanvas :focus-visible { outline-color: var(--accent); box-shadow: none; }
::selection { background: var(--accent); color: var(--ink); }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.narrow-left > * { max-width: 980px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------- Type */
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
.h1 { font-size: clamp(2.35rem, 6vw, 5rem); text-transform: uppercase; line-height: .98; }
.h1-home { font-size: clamp(2rem, 4.4vw, 3.75rem); }
.h1-doc { font-size: clamp(2.2rem, 5vw, 3.75rem); text-transform: uppercase; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.125rem); text-transform: uppercase; }
.h2-xl { font-size: clamp(2.3rem, 6vw, 5rem); line-height: .95; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.h4 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; }
.h5 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--ink-2); }
.lead p:last-child { margin-bottom: 0; }

.eyebrow {
  font: 500 .8125rem/1.2 var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  margin: 0 0 1.1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow-line::before { display: none; }
.eyebrow-line::after { content: ""; width: 60px; height: 1px; background: var(--muted); }
.eyebrow-light { color: #fff; }

/* ---------------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; min-height: 48px;
  border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 500 1rem/1 var(--font-head); letter-spacing: .02em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.section-dark .btn-outline { --fg: #fff; border-color: #fff; }
.btn-sm { padding: .7rem 1.15rem; min-height: 42px; font-size: .9375rem; }
.btn-lg { padding: 1.1rem 1.9rem; min-height: 54px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn .icon-sm { width: 18px; height: 18px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Circle "Explore" button — signature element of the existing site */
.btn-circle {
  width: 150px; height: 150px; flex: 0 0 auto;
  display: inline-grid; place-items: center; text-align: center;
  border-radius: 50%; border: 1px solid var(--ink);
  font: 500 1rem/1.25 var(--font-head); color: var(--ink); text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn-circle::before { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 50%; transform: scale(0); z-index: -1; transition: transform .5s var(--ease); }
.btn-circle:hover { color: #fff; }
.btn-circle:hover::before { transform: scale(1); }
.btn-circle-light { border-color: rgba(255,255,255,.5); color: #fff; margin-top: 1.5rem; }
.btn-circle-light::before { background: #fff; }
.btn-circle-light:hover { color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font: 500 1rem/1 var(--font-head); color: var(--ink); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon, .card-link:hover .link-arrow .icon { transform: translate(3px, -3px); }

.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon-sm { width: 18px; height: 18px; }
.icon-xl { width: .8em; height: .8em; display: inline-block; vertical-align: -.05em; }

/* ---------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid var(--accent); /* thick brand line under the main menu bar */
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.logo img { width: 150px; height: auto; }
.main-nav { margin-left: auto; display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .7rem .9rem; font: 500 1rem/1 var(--font-head); text-decoration: none; color: var(--ink); border-radius: 999px;
}
.nav-link .icon { transition: transform .3s; }
.nav-list > li.is-active > .nav-link { background: var(--accent); color: var(--ink); }
.has-mega:hover .nav-link .icon, .has-mega:focus-within .nav-link .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%;
  width: min(980px, 92vw); transform: translate(-58%, 10px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-58%, 0); transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 1.5rem; padding: 1.75rem; }
.mega-title { font: 500 .8rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .75rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .38rem 0; color: var(--ink); text-decoration: none; font-size: .975rem; }
.mega li a:hover, .mega li a[aria-current] { color: var(--accent-deep); }
.mega-promo { background: var(--tint); border-radius: 12px; padding: 1.25rem; font-size: .95rem; }
.mega-sm { width: 420px; transform: translate(-50%, 10px); }
.has-mega-sm:hover .mega-sm, .has-mega-sm:focus-within .mega-sm { transform: translate(-50%, 0); }
.mega-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; padding: 1.25rem 1.5rem !important; }
.header-cta { display: none; }
.menu-toggle, .menu-close {
  margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  display: grid; place-items: center;
}

/* Off-canvas menu */
.offcanvas { position: fixed; inset: 0; z-index: 150; background: rgba(18,18,18,.5); }
.offcanvas[hidden] { display: none; }
.offcanvas-panel {
  position: absolute; inset: 0 0 0 auto; width: min(440px, 100%);
  background: var(--ink); color: #cfcfcf; padding: 1.25rem var(--gutter) 2rem;
  display: flex; flex-direction: column; overflow-y: auto;
  animation: slideIn .4s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.offcanvas-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.menu-close { margin-left: 0; color: #fff; border-color: rgba(255,255,255,.25); }
.oc-group { border-bottom: 1px solid rgba(255,255,255,.12); }
.oc-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font: 500 1.375rem/1.2 var(--font-head); text-transform: uppercase; color: #fff; cursor: pointer; }
.oc-group summary::-webkit-details-marker { display: none; }
.oc-group[open] summary .icon { transform: rotate(45deg); }
.oc-group summary .icon { transition: transform .3s; }
.oc-group ul, .oc-links { list-style: none; margin: 0; padding: 0 0 1rem; }
.oc-group a, .oc-links a { color: #cfcfcf; text-decoration: none; display: block; padding: .4rem 0; }
.oc-group a:hover, .oc-links a:hover { color: #fff; }
.oc-links { padding-top: 1rem; }
.oc-links a { font: 500 1.375rem/1.2 var(--font-head); text-transform: uppercase; color: #fff; padding: .55rem 0; }
.offcanvas-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.offcanvas-foot .btn { --bg: #fff; --fg: var(--ink); }
.oc-mail { color: #cfcfcf; display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------- Breadcrumbs */
.breadcrumbs { padding-top: 1.25rem; font-size: .875rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-deep); }

/* ---------------------------------------------------------- Sections */
.section { padding-block: clamp(64px, 9vw, 130px); }
.tone-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #bdbdbd; }
.section-dark h2, .section-dark h3, .section-dark .h2 { color: #fff; }
.section-dark a { color: #fff; }
.block-head { max-width: 860px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.block-intro { font-size: 1.125rem; }
.block-after { margin-top: 2rem; }

.prose { max-width: 780px; }
.prose h3 { font-size: 1.375rem; margin-top: 1.8em; text-transform: none; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-deep); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose-light strong { color: #fff; }
.prose-light { color: #c9c9c9; font-size: 1.125rem; }

/* ---------------------------------------------------------- Heroes */
.hero { padding-block: clamp(40px, 7vw, 100px) clamp(48px, 7vw, 100px); position: relative; }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.answer-summary { max-width: 760px; }

.glance { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.glance-title { display: flex; align-items: center; gap: .5rem; font: 500 .85rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 1rem; }
.glance-title .icon { color: var(--accent-deep); }
.glance dl { margin: 0; display: grid; gap: 1rem; }
.glance dt { font: 500 .95rem/1.3 var(--font-head); color: var(--ink); }
.glance dd { margin: .2rem 0 0; font-size: .97rem; line-height: 1.55; }
.glance dl > div + div { border-top: 1px solid var(--line); padding-top: 1rem; }

/* Home hero: giant outlined/gradient words like the original MARK/ETING lockup */
.hero-home { padding-top: clamp(24px, 4vw, 48px); overflow: hidden; }
.giant { display: block; font: 600 clamp(4.2rem, 17vw, 13.5rem)/.82 var(--font-head); text-transform: uppercase; letter-spacing: -.02em; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); user-select: none; }
.giant-line { display: block; }
/* Right-aligned look, but anchored from the LEFT: "GROWTH" is 3.94em wide in Kanit, so starting it at 100% − 3.94em
   places it flush right while its position depends only on font-size — a web-font swap can no longer move it (CLS). */
.giant-2 { margin-left: max(0px, calc(100% - 3.94em)); white-space: nowrap; }
/* Giant words stay invisible until Kanit is loaded (html.fonts-in, set in <head>), so the fallback→Kanit swap
   happens while hidden and can't register as a layout shift. Box height is fixed by line-height, so nothing moves. */
.js .giant { visibility: hidden; }
.js.fonts-in .giant { visibility: visible; }
.giant .w-in { -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .02em; }
.giant-1 .w-in { background-image: linear-gradient(90deg, #6e6e6e 0%, #bdbdbd 55%, #ececec 100%); }
.giant-2 .w-in { background-image: linear-gradient(90deg, #121212 0%, #555 50%, #c9c9c9 100%); }
.hero-home-grid { display: grid; gap: 2rem; }
.hero-home-side .hero-actions { margin-top: 1.75rem; }

.marquee { margin-top: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0 2rem 0 0; }
.marquee li { font: 500 clamp(1.1rem, 2vw, 1.6rem)/1 var(--font-head); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.marquee li.dot { color: var(--accent-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-404 { text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.giant-word { font: 600 clamp(6rem, 22vw, 15rem)/.85 var(--font-head); background: linear-gradient(90deg, #121212, #c9c9c9); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 1rem; }
.hero-404 .lead { max-width: 620px; margin-inline: auto; }

.hero-doc { padding-bottom: 1rem; }
.doc-meta { color: var(--muted); font-size: .95rem; margin-top: 1rem; }

/* ---------------------------------------------------------- Who (dark) */
.who-grid { display: grid; gap: 2.5rem; }
.founder-role { color: #bdbdbd; font: 500 1.1rem/1.3 var(--font-head); }

/* ---------------------------------------------------------- Home services list */
.svc-rows { border-top: 1px solid var(--line); margin-bottom: 2.5rem; }
.svc-row {
  display: grid; grid-template-columns: 48px 1fr 40px; align-items: center; gap: .5rem 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  position: relative; transition: padding .4s var(--ease), background .4s;
}
.svc-num { font: 500 .9rem/1 var(--font-head); color: var(--muted); }
.svc-name { font: 500 clamp(1.4rem, 3vw, 2.4rem)/1.05 var(--font-head); text-transform: uppercase; }
.svc-blurb { grid-column: 2 / 3; font-size: .98rem; color: var(--text); }
.svc-arrow { grid-row: 1; grid-column: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .35s, color .35s, transform .35s var(--ease); }
.svc-arrow .icon { width: 18px; height: 18px; }
.svc-row:hover { color: var(--ink); padding-inline: .75rem; background: var(--tint); }
.svc-row:hover .svc-arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(45deg); }

/* ---------------------------------------------------------- Cards */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tone-plain .card { background: var(--tint); border-color: transparent; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.card p { margin-bottom: .9rem; }
.card p:last-child { margin-bottom: 0; }
.card-num { display: block; font: 500 .9rem/1 var(--font-head); color: var(--accent-deep); margin-bottom: 1.1rem; }
.card-kicker { font: 500 .78rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .75rem; }
.card-link h3 a { text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link .link-arrow { margin-top: .25rem; }

/* ---------------------------------------------------------- Lists */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem 2rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tone-plain .checklist li { background: var(--tint); border-color: transparent; }
.checklist .icon { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 3px; }
.checklist strong { color: var(--ink); font-weight: 500; font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: .15rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks .icon { color: var(--accent-deep); margin-top: 4px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line-strong); }
.step:last-child { border-bottom: 1px solid var(--line-strong); }
.step-num { font: 500 clamp(1.6rem, 3vw, 2.4rem)/1 var(--font-head); color: var(--line-strong); transition: color .4s; }
.step:hover .step-num { color: var(--accent-deep); }
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; }
.steps-compact .step { grid-template-columns: 44px 1fr; padding: 1rem 0; }
.steps-compact .step-num { font-size: 1.25rem; }
.next-title { margin-top: 2.5rem; }

.split { display: grid; gap: 2rem; }
.split-aside { background: var(--ink); color: #d0d0d0; border-radius: var(--radius); padding: 1.75rem; align-self: start; }
.split-aside .aside-title { font: 500 .85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.split-aside .icon { color: var(--accent); }
.split-aside a { color: #fff; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
thead th { font: 500 .85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--tint); }
tbody th { font-weight: 500; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-center { justify-content: center; margin-top: 2rem; }
.chip { display: inline-flex; padding: .6rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-strong { border-color: var(--ink); }

.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-strong); }
.facts dt { font: 500 1rem/1.4 var(--font-head); color: var(--ink); }
.facts dd { margin: 0; }

/* ---------------------------------------------------------- FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.35 var(--font-head); margin: 0; text-transform: none; }
.faq-icon { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--ink); border-color: var(--accent); }
.faq-a { padding: 0 3.5rem 1.4rem 0; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- Lead form */
.lead-grid { display: grid; gap: 2.5rem; }
.lead-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; color: #d6d6d6; }
.lead-points li { display: flex; gap: .6rem; align-items: flex-start; }
.lead-points .icon { color: var(--accent); margin-top: 4px; }
.lead-form-wrap { background: #fff; border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); color: var(--text); }
.lead-form-wrap a { color: var(--ink); }

.form-grid { display: grid; gap: 1rem 1.1rem; margin-bottom: 1.25rem; }
.field label { display: block; font: 500 .95rem/1.3 var(--font-head); color: var(--ink); margin-bottom: .4rem; }
.field .opt { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  padding: .85rem 1rem; min-height: 50px;
  background: #fafafa; border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23121212' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(18,18,18,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; margin: .35rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; align-items: start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--ink); }
.field-check label { font: 400 .9rem/1.5 var(--font-body); color: var(--text); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { padding: 1rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; background: #fff3f3; color: var(--danger); border: 1px solid #ffd2d2; }
.form-status.is-ok { background: #eef8f1; color: var(--ok); border-color: #cfe9d7; }
.form-status[hidden] { display: none; }
.enquiry-form.is-loading [data-submit] { opacity: .7; pointer-events: none; }

/* Contact page */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-cards { display: grid; gap: .75rem; margin-top: 2rem; }
.contact-card { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .3s; }
.contact-card:hover { border-color: var(--ink); color: var(--ink); }
.contact-card strong { display: block; font: 500 .8rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-card .icon { color: var(--accent-deep); }
.contact-form-card { background: var(--tint); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); align-self: start; }

/* TOC + legal docs */
.toc { background: var(--tint); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.toc-title { font: 500 .85rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 260px; }
.toc li { margin-bottom: .35rem; }
.doc h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); text-transform: none; margin-top: 2.2em; }
.doc h2:first-child { margin-top: 0; }
.section-doc { padding-top: 1rem; }
.prose.doc { max-width: none; }

/* ---------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #a9a9a9; padding-top: clamp(64px, 9vw, 120px); font-size: .97rem; }
.site-footer a { color: #d5d5d5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: clamp(40px, 6vw, 80px); margin-bottom: clamp(40px, 6vw, 70px); }
.footer-kicker { font: 500 1rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: #8f8f8f; }
/* “Let’s talk” — recreates the original theme's animated heading (Kanit 400, 180px, line-height .8):
   letters squash, spring up with an elastic bounce, shift from white to a white→lime gradient,
   settle, then loop. Runs only while on screen (main.js toggles .is-playing). */
.footer-big { margin: 0; font: 400 clamp(3.2rem, 12.5vw, 11.25rem)/.8 var(--font-head); text-transform: uppercase; padding-top: .12em; }
.talk { color: #fff; text-decoration: none; display: inline-block; }
.talk .word { display: inline-block; white-space: nowrap; }
.talk .ch {
  display: inline-block; color: #fff; transform-origin: 50% 100%; will-change: transform;
  animation: talkWave 1.9s linear infinite; animation-delay: calc(var(--i) * 35ms); animation-play-state: paused;
}
.talk.is-playing .ch { animation-play-state: running; }
@keyframes talkWave {
  0%   { transform: translateY(0) scaleY(1); color: #fff; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  18%  { transform: translateY(0) scaleY(.62); color: #fff; animation-timing-function: ease-out; }
  25%  { transform: translateY(-.11em) scaleY(1.2); }
  31%  { transform: translateY(-.07em) scaleY(.9); }
  37%  { transform: translateY(-.09em) scaleY(1.06); color: var(--c); }
  45%  { transform: translateY(.015em) scaleY(.98); }
  53%  { transform: translateY(-.006em) scaleY(1.02); }
  62%, 100% { transform: translateY(0) scaleY(1); color: var(--c); }
}
@media (prefers-reduced-motion: reduce) {
  .talk .ch { animation: none !important; color: var(--c); }
}
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { max-width: 380px; margin-top: 1.25rem; }
.footer-contact { display: grid; gap: .5rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-title { font: 500 .85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-cities { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.social { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin: 0; }
.footer-bottom .linklike { color: #d5d5d5; text-decoration: none; font-size: .9rem; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top-ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: var(--progress, 138.2); }

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.25rem;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.35); font-size: .95rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .9rem; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------------------------------------------------------- Motion
   Content is fully visible without JS. Animations only apply once
   main.js adds .js to <html>, and never under reduced motion. */
/* Hero headings animate with pure CSS from first paint (no JS dependency, short so LCP is not delayed). */
.split-reveal .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-reveal .w-in { display: inline-block; animation: wordUp .75s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes wordUp { from { transform: translateY(100%); } }
/* Block-level word boxes: their position and height come from the container and line-height only,
   never from the font's glyph metrics, so the fallback→Kanit swap cannot move them. */
.giant .w { display: block; }
.giant .w-in { display: block; width: fit-content; }
.fonts-in .giant .w-in { animation: giantIn 1.1s var(--ease) both; }  /* plays once the giant words become visible */
.fonts-in .giant .giant-2 .w-in { animation-delay: .12s; }
@keyframes giantIn { from { transform: translateY(35%); opacity: 0; } }
.js .reveal { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { clip-path: inset(0 0 0 0); transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .split-reveal .w-in, .giant .w-in, .js .reveal, .js .reveal-up { animation: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* ---------------------------------------------------------- Breakpoints */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 48px; }
  .svc-blurb { grid-column: 3; grid-row: 1; }
  .svc-arrow { grid-column: 4; width: 48px; height: 48px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr); gap: 4rem; }
  .hero-grid .glance { margin-top: 2.4rem; }
  .hero-home-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: end; }
  .who-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: .8fr 1.4fr; gap: 5rem; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .lead-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
  .split { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
  .steps.steps-2col { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { margin-left: 0; }
}
@media (min-width: 1280px) {
  .menu-toggle { display: none; }
}
@media (max-width: 1099px) {
  .menu-toggle { margin-left: auto; }
}
@media (max-width: 639px) {
  .btn-circle { width: 120px; height: 120px; font-size: .9rem; }
  .faq-a { padding-right: 0; }
  .facts > div { grid-template-columns: 1fr; gap: .2rem; }
  .hero-actions .btn-lg { width: 100%; }
  .mega { display: none; }
}

/* ---------------------------------------------------------- Insights */
.insights-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.cat-nav { margin-top: 2rem; }
.chip-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-active .muted { color: #bbb; }
.insights-list { padding-top: 1rem; }
.empty-state { max-width: 640px; padding: 2.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.post-grid { display: grid; gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.post-card-img { display: block; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-ph { display: grid; place-items: center; height: 100%; font: 500 clamp(1.4rem, 3vw, 2rem)/1 var(--font-head); text-transform: uppercase; color: var(--accent); }
.post-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.post-card-body h3 { margin-bottom: .5rem; }
.post-card-body h3 a { text-decoration: none; }
.post-card-body p:last-child { margin: 0; font-size: .97rem; }
.post-card-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.post-card-meta a { color: var(--accent-deep); text-decoration: none; font-weight: 500; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid.has-lead .is-lead { grid-column: 1 / -1; flex-direction: row; }
  .post-grid.has-lead .is-lead .post-card-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
  .post-grid.has-lead .is-lead .post-card-body { padding: 2rem 2.2rem; align-self: center; }
  .post-grid.has-lead .is-lead h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
}
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3rem; font-family: var(--font-head); }
.pagination a { text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: .55rem 1.2rem; }
.pagination a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.preview-bar { position: sticky; top: 0; z-index: 110; background: var(--accent); color: var(--ink); text-align: center; padding: .6rem 1rem; font-weight: 500; }
.post-head { padding-top: clamp(24px, 4vw, 48px); max-width: 980px; }
.post-head .eyebrow a { text-decoration: none; }
.post-title { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; text-transform: none; }
.post-dek { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 760px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.byline { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.byline img, .avatar-fallback { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline strong { display: block; font-weight: 500; }
.byline .muted { display: block; font-size: .85rem; }
.avatar-fallback { display: inline-grid; place-items: center; background: var(--ink); color: var(--accent); font: 500 1.1rem var(--font-head); flex: 0 0 auto; }
.avatar-fallback.lg { width: 88px; height: 88px; font-size: 2rem; }
.post-hero { margin: 2rem auto 0; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.post-hero figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.post-layout { display: grid; gap: 2rem; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.post-body { min-width: 0; max-width: 780px; }
.post-toc { font-size: .95rem; }
.post-toc nav { border-left: 4px solid var(--accent); padding: .2rem 0 .2rem 1rem; }
.toc-title { font: 500 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.post-toc a { text-decoration: none; color: var(--text); }
.post-toc a:hover { color: var(--ink); text-decoration: underline; }
.post-toc .toc-l3 { padding-left: 1rem; font-size: .9rem; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: 260px minmax(0, 780px); gap: 4rem; justify-content: center; }
  .post-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
}
.post-content { font-size: 1.1rem; max-width: none; }
.post-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); text-transform: none; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h4 { font-size: 1.15rem; margin: 1.5em 0 .4em; }
.post-content a { color: var(--ink); text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; }
.post-content img { border-radius: 10px; height: auto; }
.post-content figure { margin: 2rem 0; }
.post-content figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.post-content blockquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 4px solid var(--accent); font-size: 1.2rem; color: var(--ink-2); }
.post-content pre { background: var(--ink); color: #eee; padding: 1rem 1.2rem; border-radius: 10px; overflow-x: auto; font-size: .92rem; }
.post-content code { font-size: .92em; background: var(--tint); padding: .1em .35em; border-radius: 4px; }
.post-content pre code { background: none; padding: 0; }
.post-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; margin: 1.5rem 0; }
.post-content .table-wrap { margin: 1.5rem 0; }
.post-content table { min-width: 520px; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.service-cta { background: var(--ink); color: #c9c9c9; border-radius: 16px; padding: clamp(1.4rem, 3vw, 2.2rem); margin: 3rem 0 2rem; border-bottom: 6px solid var(--accent); }
.service-cta-title { font: 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--font-head); color: #fff; text-transform: uppercase; margin-bottom: .6rem; }
.service-cta .btn { --bg: var(--accent); --fg: var(--ink); border-color: var(--accent); margin-top: .5rem; }
.service-cta .btn::before { background: #fff; }
.post-tags { margin: 2rem 0; }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem; background: var(--tint); border-radius: var(--radius); margin-top: 2rem; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box p { margin: 0 0 .5rem; }
.author-name { font: 500 1.15rem var(--font-head); color: var(--ink); }
.author-name a { text-decoration: none; }
.author-head { display: flex; align-items: center; gap: 1.5rem; }
.author-head img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
@media print {
  .site-header, .site-footer, .to-top, .consent, .lead-section, .offcanvas { display: none !important; }
}
