/* ============================================================
   老虎哥 Tigerbro — 漆 lacquer / 金 gold leaf / 印 seal
   Self-hosted type. No third-party requests.
   ============================================================ */

/* ---------- Fonts ---------------------------------------- */
/* Narrow unicode-range face first: it can only ever match the
   three brand glyphs, so it never shadows the Latin face. */
@font-face {
  font-family: "TigerCJK";
  src: url("/assets/fonts/tiger-cjk-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+8001, U+864E, U+54E5;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens --------------------------------------- */
:root {
  /* Ink — warm lacquer black, deliberately not blue-black */
  --ink-900: #0b0a09;
  --ink-850: #121010;
  --ink-800: #191614;
  --ink-700: #221e1b;
  --ink-600: #2e2823;
  --ink-500: #453c34;

  /* Gold — antique leaf. Has a true shadow value, which is what
     separates metal from plastic. */
  --gold-100: #f7eccf;
  --gold-300: #e4c77e;
  --gold-500: #c9a227;
  --gold-700: #8c6d14;
  --gold-900: #4a3908;

  /* Cinnabar 朱红 — seal ink. Replaces the previous screen-neon red. */
  --red-500: #c1272d;
  --red-700: #8a1519;
  --jade-500: #4e8c6a;          /* live/ok state only, never decorative */

  --text-hi: #f5efe4;           /* warm paper white, not pure #fff */
  --text-md: #b9afa0;
  --text-lo: #8a8073;
  --on-gold: #1a1206;

  /* Metal gradient RETURNS to shadow — the specular banding is the trick */
  --grad-gold: linear-gradient(100deg,
      var(--gold-700) 0%, var(--gold-500) 18%, var(--gold-100) 34%,
      var(--gold-500) 48%, var(--gold-700) 68%, var(--gold-300) 86%,
      var(--gold-700) 100%);
  --grad-seal: linear-gradient(160deg, var(--red-500), var(--red-700));

  --hairline: inset 0 0 0 1px rgba(201, 162, 39, 0.14);
  --lift-1: 0 1px 2px rgba(0, 0, 0, 0.5);
  --lift-2: 0 8px 24px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --lift-3: 0 24px 60px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(247, 236, 207, 0.08);

  /* Type scale, 1.25 ratio, damped hard at display sizes */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.10rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.40rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.70vw, 1.80rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.15vw, 2.30rem);
  --step-4:  clamp(2.07rem, 1.70rem + 1.85vw, 2.95rem);
  --step-5:  clamp(2.49rem, 1.90rem + 2.95vw, 3.80rem);
  --step-6:  clamp(2.60rem, 1.95rem + 3.60vw, 4.20rem);

  --track-display: -0.02em;
  --track-eyebrow: 0.14em;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;
  /* Applied top AND bottom, so adjacent sections sum to 2x this.
     Kept modest for that reason. */
  --section-y: clamp(40px, 4.5vw, 68px);
  --measure: 68ch;
  --max: 1160px;

  --radius-xs: 2px;  --radius-sm: 6px;  --radius-md: 10px;
  --radius-lg: 16px; --radius-pill: 999px;

  --dur-fast: 150ms;
  --dur-enter: 320ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink-900);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text-hi);
  background: var(--ink-900);
  font-family: "TigerCJK", "Archivo", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* A single, still lacquer wash. No animation, no conic orb. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 12% -8%, rgba(193, 39, 45, 0.16), transparent 70%),
    radial-gradient(50rem 36rem at 92% 2%,  rgba(201, 162, 39, 0.10), transparent 70%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-850) 55%, var(--ink-900) 100%);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, p, ul, ol { margin-top: 0; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

::selection { background: var(--gold-500); color: var(--on-gold); }

.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- The seal 印章 — signature element ------------- */
/* Real text, not an image: accessible, scalable, zero extra request. */
.seal {
  display: inline-grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  flex: 0 0 auto;
  font-family: "TigerCJK", serif;
  font-weight: 900;
  font-size: 0.66rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--gold-100);
  background: var(--grad-seal);
  border-radius: var(--radius-xs);
  box-shadow: inset 0 0 0 1px rgba(247, 236, 207, 0.28),
              inset 0 0 0 3px rgba(138, 21, 25, 0.55),
              var(--lift-1);
  transform: rotate(-3deg);
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 0.28rem 0.1rem;
}
.seal--lg { inline-size: 4rem; block-size: 4rem; font-size: 0.95rem; }

/* ---------- Topbar / nav --------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 10, 9, 0.94);
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: var(--step-1);
}
.brand .brand-name { color: var(--text-hi); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-md);
}
.nav-links a { padding-block: var(--space-2); border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--text-hi); border-bottom-color: var(--gold-500); }

.nav-cta { display: none; }

/* Mobile disclosure nav — works with JS disabled */
.nav-mobile { position: relative; }
.nav-mobile > summary {
  list-style: none;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  cursor: pointer;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius-sm);
  color: var(--gold-300);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::after {
  content: "";
  inline-size: 18px;
  block-size: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-mobile[open] > summary::after {
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  opacity: 0.7;
}
.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-inline-size: 220px;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.20);
  border-radius: var(--radius-md);
  box-shadow: var(--lift-3);
}
.nav-mobile-panel a {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-md);
  font-size: var(--step--1);
}
.nav-mobile-panel a:hover { background: var(--ink-700); color: var(--text-hi); }

/* ---------- Buttons -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-block-size: 52px;
  padding-inline: var(--space-6);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 800;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.985); }

.btn-primary {
  color: var(--on-gold);
  background: var(--grad-gold);
  box-shadow: var(--lift-1);
}
.btn-secondary {
  color: var(--text-hi);
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.34);
}
.btn-secondary:hover { border-color: var(--gold-500); background: rgba(201, 162, 39, 0.07); }

/* ---------- Hero ----------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(32px, 5vw, 72px); }

.hero-grid { display: grid; gap: var(--space-8); align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--radius-pill);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
}
.eyebrow::before {
  content: "";
  inline-size: 6px; block-size: 6px;
  border-radius: var(--radius-pill);
  background: var(--jade-500);
}

h1 {
  margin: var(--space-5) 0 var(--space-4);
  font-size: var(--step-6);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: var(--track-display);
}
.h1-cjk {
  display: block;
  margin-bottom: 0.12em;
  font-family: "TigerCJK", serif;
  font-weight: 900;
  font-size: 0.86em;
  letter-spacing: 0.04em;
  /* Fallback colour set FIRST so the wordmark is never invisible */
  color: var(--gold-300);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .h1-cjk {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-copy {
  max-width: 46ch;
  color: var(--text-md);
  font-size: var(--step-1);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.micro-note {
  margin: var(--space-5) 0 0;
  max-width: 52ch;
  color: var(--text-lo);
  font-size: var(--step--1);
  line-height: 1.6;
}

/* Framed portrait — replaces the spinning conic orb */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-portrait {
  position: relative;
  inline-size: min(78vw, 380px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--lift-3), var(--hairline);
}
.hero-portrait img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.hero-seal { position: absolute; right: -14px; bottom: -14px; z-index: 2; }

.float-card {
  position: absolute;
  z-index: 3;
  max-inline-size: 190px;
  padding: var(--space-3) var(--space-4);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--lift-2);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-md);
}
.float-card strong { display: block; color: var(--gold-300); font-size: 0.86rem; font-weight: 800; }
.float-card.one { left: -8px; bottom: 44px; }
.float-card.two { right: -8px; top: 28px; }

/* ---------- Trust bar ------------------------------------ */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--ink-850);
  color: var(--text-md);
  font-size: var(--step--1);
  font-weight: 400;
}
.trust-item::before {
  content: "";
  inline-size: 5px; block-size: 5px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--gold-500);
}

/* ---------- Sections ------------------------------------- */
section { padding-block: var(--section-y); }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }

.section-kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold-500);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
}
.section-kicker::before {
  content: "";
  inline-size: 22px; block-size: 1px;
  background: var(--gold-500);
}

h2 {
  margin: 0;
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: var(--track-display);
  max-width: 22ch;
}

.section-copy {
  margin: 0;
  max-width: var(--measure);
  color: var(--text-md);
  font-size: var(--step-0);
  line-height: 1.65;
}

/* ---------- Service cards -------------------------------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }

.card {
  position: relative;
  display: block;
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: rgba(201, 162, 39, 0.38); }
.card-inner { padding: var(--space-6); }

.icon {
  display: inline-grid;
  place-items: center;
  min-inline-size: 46px;
  block-size: 30px;
  padding-inline: var(--space-3);
  margin-bottom: var(--space-5);
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: var(--radius-xs);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--step-1);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 var(--space-5);
  color: var(--text-md);
  font-size: var(--step--1);
  line-height: 1.6;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xs);
  background: var(--ink-800);
  color: var(--text-lo);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- Why / feature panel -------------------------- */
.feature-grid { display: grid; gap: var(--space-7); }

.feature-panel {
  padding: var(--space-6);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
}

.choose-list { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.choose-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--space-3);
  align-items: start;
  color: var(--text-md);
  font-size: var(--step--1);
  line-height: 1.55;
}
.check {
  display: grid;
  place-items: center;
  inline-size: 20px; block-size: 20px;
  margin-top: 2px;
  border-radius: var(--radius-xs);
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 800;
}

/* ---------- Stats ---------------------------------------- */
.stats { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.stat {
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}
.stat strong {
  display: block;
  font-family: "TigerCJK", "Archivo", sans-serif;
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-300);
}
.stat span {
  display: block;
  margin-top: var(--space-3);
  color: var(--text-md);
  font-size: var(--step--1);
  line-height: 1.5;
}

/* ---------- Process -------------------------------------- */
.process { display: grid; gap: var(--space-5); }
.step { padding-top: var(--space-5); border-top: 1px solid rgba(201, 162, 39, 0.18); }
.step-num {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--gold-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
}
.step h3 { margin-bottom: var(--space-3); font-size: var(--step-1); }
.step p { margin: 0; color: var(--text-md); font-size: var(--step--1); line-height: 1.6; }

/* ---------- Industry badges ------------------------------ */
.badge-cloud { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 14px;
  border: 1px solid rgba(201, 162, 39, 0.20);
  border-radius: var(--radius-sm);
  background: var(--ink-850);
  color: var(--text-md);
  font-size: var(--step--1);
}
.industry-badge::before {
  content: "";
  inline-size: 4px; block-size: 4px;
  border-radius: var(--radius-pill);
  background: var(--gold-500);
}

.disclaimer {
  margin: var(--space-7) 0 0;
  max-width: var(--measure);
  color: var(--text-lo);
  font-size: var(--step--1);
  line-height: 1.65;
}

/* ---------- Final CTA ------------------------------------ */
.final-cta {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-grid { display: grid; gap: var(--space-6); align-items: center; }
.cta-copy h2 { margin-top: var(--space-4); }
.cta-copy p {
  margin: var(--space-4) 0 0;
  max-width: 56ch;
  color: var(--text-md);
  line-height: 1.65;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-seal { position: absolute; right: clamp(20px, 4vw, 44px); top: clamp(20px, 4vw, 44px); }

/* ---------- Footer --------------------------------------- */
footer { padding-block: var(--space-8) calc(var(--space-8) + 60px); color: var(--text-lo); }
.footer-inner { border-top: 1px solid rgba(201, 162, 39, 0.16); padding-top: var(--space-7); }
.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.footer-col h4 {
  margin: 0 0 var(--space-4);
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.footer-col a { color: var(--text-md); font-size: var(--step--1); }
.footer-col a:hover { color: var(--gold-300); }
.footer-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--step--1);
  line-height: 1.6;
}

/* ---------- Sticky CTA ----------------------------------- */
.sticky-telegram {
  position: fixed;
  z-index: 40;
  left: 16px; right: 16px; bottom: 14px;
  min-block-size: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding-inline: var(--space-5);
  border-radius: var(--radius-sm);
  color: var(--on-gold);
  background: var(--grad-gold);
  box-shadow: var(--lift-2);
  font-weight: 800;
  font-size: var(--step--1);
}

/* ---------- Breadcrumbs (sub-pages) ---------------------- */
.crumbs { padding-top: var(--space-6); font-size: var(--step--1); color: var(--text-lo); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.crumbs a { color: var(--text-md); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--ink-500); }

/* ---------- Sub-page components -------------------------- */
.page-hero { padding-block: var(--space-6) var(--space-5); }
.page-hero h1 {
  margin: var(--space-4) 0 var(--space-5);
  font-size: var(--step-5);
  max-width: 20ch;
}
.lede {
  max-width: var(--measure);
  color: var(--text-md);
  font-size: var(--step-1);
  line-height: 1.55;
}

.prose { max-width: var(--measure); }

/* When .prose sits on the same element as .page-shell, the two max-widths
   collide and the block centres itself instead of aligning with the rest
   of the page. Keep the container's grid alignment, constrain the text. */
.page-shell.prose { max-width: none; }
.page-shell.prose > * { max-width: var(--measure); }
.prose p { margin-bottom: var(--space-5); color: var(--text-md); line-height: 1.7; }
.prose ul { margin: 0 0 var(--space-5); padding-left: 1.15em; color: var(--text-md); line-height: 1.7; }
.prose li { margin-bottom: var(--space-3); }
.prose li::marker { color: var(--gold-700); }
.prose strong { color: var(--text-hi); font-weight: 800; }

/* Deliverables — one block per capability */
.deliverables { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.deliverable {
  padding: var(--space-5);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
}
.deliverable h3 { margin: 0 0 var(--space-2); font-size: var(--step-0); }
.deliverable p { margin: 0; color: var(--text-md); font-size: var(--step--1); line-height: 1.6; }

/* FAQ — native disclosure, works with JS disabled */
.faq { display: grid; gap: var(--space-3); max-width: var(--measure); }
.faq-item {
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: var(--step-0);
  line-height: 1.4;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold-500);
  font-size: var(--step-1);
  line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-md);
  font-size: var(--step--1);
  line-height: 1.7;
}
.faq-body p { margin: 0 0 var(--space-3); }
.faq-body p:last-child { margin-bottom: 0; }

/* Related services */
.related-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.related-card {
  display: block;
  padding: var(--space-5);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.related-card:hover { transform: translateY(-2px); border-color: rgba(201, 162, 39, 0.38); }
.related-card h3 { margin: 0 0 var(--space-2); font-size: var(--step-0); }
.related-card p { margin: 0; color: var(--text-lo); font-size: var(--step--1); line-height: 1.55; }

@media (min-width: 700px) {
  .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Motion --------------------------------------- */
/* One orchestrated entrance on the hero, pure CSS, runs on load.
   Deliberately NOT scroll-linked: content must never depend on an
   IntersectionObserver firing in order to be visible. Everything
   below the hero is simply present. */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-intro > *,
  .hero-visual { animation: rise 460ms var(--ease) both; }
  .hero-intro > .eyebrow { animation-delay: 0ms; }
  .hero-intro > h1       { animation-delay: 70ms; }
  .hero-intro > .hero-copy    { animation-delay: 130ms; }
  .hero-intro > .hero-actions { animation-delay: 180ms; }
  .hero-intro > .micro-note   { animation-delay: 220ms; }
  .hero-visual { animation-delay: 120ms; }
}

/* ---------- Breakpoints ---------------------------------- */
@media (min-width: 600px) {
  .trust-bar, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-row { flex-direction: row; }
}

@media (min-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--space-9); }
  .feature-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cta-grid { grid-template-columns: 1fr auto; }
  .footer-nav { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1020px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-mobile { display: none; }
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .sticky-telegram { left: auto; right: 24px; bottom: 24px; inline-size: fit-content; }
  footer { padding-bottom: var(--space-8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   BLOG
   Reading settings are evidence-led, not taste:
   measure ~65-70ch (Dyson & Haselgrove 2001), line-height 1.6+
   (WCAG 2.2 SC 1.4.12 needs layouts to survive 1.5x), body >=18px
   (NN/g "Bigger Is Better"). Heading hierarchy carries the most
   weight — it produces layer-cake scanning.
   ============================================================ */

/* ---------- Blog index ----------------------------------- */
.post-list { display: grid; gap: var(--space-4); }

.post-card {
  display: block;
  padding: var(--space-6);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.13);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.post-card:hover { transform: translateY(-2px); border-color: rgba(201, 162, 39, 0.38); }
.post-card h2 {
  margin: var(--space-3) 0 var(--space-3);
  max-width: none;
  font-size: var(--step-2);
  line-height: 1.2;
}
.post-card p { margin: 0; color: var(--text-md); font-size: var(--step--1); line-height: 1.6; }

/* ---------- Post meta ------------------------------------ */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-lo);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-meta span + span::before {
  content: "·";
  margin-right: var(--space-3);
  color: var(--gold-700);
}

/* ---------- Post body ------------------------------------ */
.post { max-width: var(--measure); }

.post > h2 {
  margin: var(--space-8) 0 var(--space-4);
  max-width: none;
  font-size: var(--step-3);
  line-height: 1.15;
  scroll-margin-top: 90px;      /* clears the sticky topbar on anchor jump */
}
.post > h3 {
  margin: var(--space-7) 0 var(--space-3);
  font-size: var(--step-1);
  scroll-margin-top: 90px;
}
.post p,
.post li {
  color: var(--text-md);
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.7;
}
.post p { margin: 0 0 var(--space-5); }
.post ul, .post ol { margin: 0 0 var(--space-5); padding-left: 1.2em; }
.post li { margin-bottom: var(--space-3); }
.post li::marker { color: var(--gold-700); }
.post strong { color: var(--text-hi); font-weight: 800; }

.post a:not(.btn):not(.related-card) {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.post a:not(.btn):not(.related-card):hover { color: var(--gold-100); }

.post blockquote {
  margin: 0 0 var(--space-5);
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 2px solid var(--gold-700);
  color: var(--text-md);
}

.post figure { margin: 0 0 var(--space-6); }
.post figure img {
  inline-size: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 39, 0.13);
}
.post figcaption {
  margin-top: var(--space-3);
  color: var(--text-lo);
  font-size: var(--step--1);
  line-height: 1.5;
}

/* ---------- Table of contents ---------------------------- */
/* NN/g: in-page links need strong click signifiers, so these are
   deliberately coloured AND underlined rather than styled subtly. */
.toc {
  margin: 0 0 var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: var(--radius-md);
}
.toc h2 {
  margin: 0 0 var(--space-4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--gold-500);
  max-width: none;
}
.toc ol { margin: 0; padding-left: 1.15em; display: grid; gap: var(--space-3); }
.toc li { color: var(--text-lo); font-size: var(--step--1); line-height: 1.5; }
.toc li::marker { color: var(--gold-700); }
.toc a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.toc a:hover { color: var(--gold-100); }

/* ---------- Pagination ----------------------------------- */
/* Real <a href> links only — Google does not click buttons. */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
.pager a,
.pager span {
  display: inline-grid;
  place-items: center;
  min-inline-size: 42px;
  min-block-size: 42px;
  padding-inline: var(--space-3);
  border: 1px solid rgba(201, 162, 39, 0.20);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 800;
}
.pager a { color: var(--text-md); }
.pager a:hover { color: var(--text-hi); border-color: var(--gold-500); }
.pager [aria-current="page"] {
  color: var(--on-gold);
  background: var(--grad-gold);
  border-color: transparent;
}
.pager .pager-gap { border: 0; color: var(--text-lo); min-inline-size: auto; }

/* ---------- Post footer nav ------------------------------ */
.post-nav {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
@media (min-width: 700px) { .post-nav { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   MEGA MENU (desktop only, >=1020px)
   CSS-only: :hover for mouse, :focus-within for keyboard.
   No JS toggle, so no aria-expanded — nothing would keep it
   truthful. The panel holds real <a href> links that are in the
   DOM on every page, so they are crawlable with JS disabled.
   Below 1020px the existing <details> mobile panel takes over.
   ============================================================ */
.has-mega { position: relative; display: inline-flex; }

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  z-index: 40;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              visibility 0s linear var(--dur-fast);
  /* The gap between trigger and panel is bridged by ::before below,
     so a diagonal mouse path toward column 3 does not close it. */
  padding-top: 14px;
}
.mega::before {
  content: "";
  position: absolute;
  inset: 0 -24px auto -24px;
  block-size: 22px;
}

.has-mega:hover > .mega,
.has-mega:focus-within > .mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--ink-850);
  border: 1px solid rgba(201, 162, 39, 0.20);
  border-radius: var(--radius-md);
  box-shadow: var(--lift-3);
}

.mega-col h3 {
  margin: 0 0 var(--space-4);
  color: var(--gold-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.mega-col a {
  display: block;
  padding: var(--space-2) 0;
  color: var(--text-md);
  font-size: var(--step--1);
  line-height: 1.35;
  border-bottom: 1px solid transparent;
}
.mega-col a:hover { color: var(--text-hi); border-bottom-color: var(--gold-700); }

.mega-foot {
  grid-column: 1 / -1;
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
.mega-foot a {
  color: var(--gold-300);
  font-size: var(--step--1);
  font-weight: 800;
}
.mega-foot a:hover { color: var(--gold-100); }

/* Hidden entirely below the desktop breakpoint — the <details>
   panel handles small screens and must not double up. */
@media (max-width: 1019px) {
  .mega { display: none; }
  .has-mega { display: contents; }
}

/* Nested service list inside the mobile disclosure panel */
.nav-mobile-panel .sub-label {
  padding: var(--space-3) var(--space-3) var(--space-1);
  color: var(--gold-500);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.nav-mobile-panel .sub a { padding-left: var(--space-5); font-size: 0.82rem; }

/* ---------- Footer payment row --------------------------- */
/* Text, not logos: bank/Tether marks are third-party trademarks
   with usage rules, and text costs nothing in page weight. */
.footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}
.footer-pay .pay-label {
  color: var(--gold-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.footer-pay .pay-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border: 1px solid rgba(201, 162, 39, 0.20);
  border-radius: var(--radius-sm);
  background: var(--ink-850);
  color: var(--text-md);
  font-size: var(--step--1);
  font-weight: 400;
}
.footer-pay .pay-net {
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-300);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
