/* ==========================================================================
   RankHive design system
   1. Tokens  2. Base  3. Layout  4. Buttons  5. Header  6. Hero  7. Sections
   8. Services  9. Process  10. Growth system  11. Portfolio  12. Content
   13. FAQ  14. Forms  15. Footer  16. Utilities/Motion
   ========================================================================== */

/* 1. Tokens */
:root {
  --ink: #080c16;
  --ink-2: #0f1524;
  --ink-3: #182036;
  --line: rgba(255, 255, 255, .12);
  --paper: #ffffff;
  --paper-2: #f5f6fa;
  --paper-3: #e9ebf3;
  --text: #121826;
  --muted: #566078;
  --muted-dark: #a4adc4;
  --honey: #ffb81c;
  --honey-2: #ffd36b;
  --honey-ink: #3a2600;
  --mint: #34e3b5;
  --violet: #7a6bff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(8, 12, 22, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .25, 1);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.015em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--honey); color: var(--honey-ink); padding: .7rem 1rem; z-index: 1000; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark p { color: var(--muted-dark); }
.section--soft { background: var(--paper-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--honey); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--honey-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* 4. Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; font-family: inherit; line-height: 1.2; }
.btn--primary { background: var(--honey); color: var(--honey-ink); box-shadow: 0 10px 30px -10px rgba(255, 184, 28, .7); }
.btn--primary:hover { background: var(--honey-2); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.section:not(.section--dark) .btn--ghost:hover { background: rgba(8, 12, 22, .06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; border-bottom: 2px solid var(--honey); padding-bottom: 2px; }
.link-arrow:hover { gap: .7rem; }

/* 5. Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: #fff; transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), color .35s; }
.site-header.is-scrolled { background: rgba(8, 12, 22, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px -14px rgba(0, 0, 0, .6); height: 64px; }
body.light-header .site-header:not(.is-scrolled) { color: var(--text); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; min-height: 44px; }
.logo svg { width: 34px; height: 34px; }
.logo span em { font-style: normal; color: var(--honey); }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; align-items: center; }
.primary-nav a { display: block; padding: .6rem .95rem; text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 999px; opacity: .88; transition: background .2s, opacity .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: rgba(255, 255, 255, .12); opacity: 1; }
body.light-header .site-header:not(.is-scrolled) .primary-nav a:hover { background: rgba(8, 12, 22, .07); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: .5rem; list-style: none; display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); box-shadow: var(--shadow); }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { color: #fff; border-radius: 10px; }
.header-cta { display: none; }
.header-cta .btn { min-height: 44px; padding: .55rem 1.2rem; font-size: .93rem; }
.nav-toggle { width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), background .2s; position: relative; }
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }
.mobile-header-cta { display: inline-flex; }
.mobile-header-cta .btn { min-height: 44px; padding: .5rem 1rem; font-size: .88rem; white-space: nowrap; }
@media (max-width: 359px) { .mobile-header-cta { display: none; } }
.mobile-nav { position: fixed; inset: 0; background: var(--ink); color: #fff; z-index: 99; padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; display: flex; flex-direction: column; }
.nav-open .mobile-nav { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.nav-open { overflow: hidden; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { text-decoration: none; }
.mobile-nav nav > ul > li > a { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 750; padding: .55rem 0; text-decoration: none; border-bottom: 1px solid var(--line); min-height: 56px; }
.mobile-nav .sub-menu a { display: block; padding: .6rem 0 .6rem 1rem; color: var(--muted-dark); text-decoration: none; font-size: 1.05rem; min-height: 44px; }
.mobile-nav .btn { margin-top: 2rem; }
@media (min-width: 1000px) {
  .primary-nav, .header-cta { display: block; }
  .nav-toggle, .mobile-header-cta, .mobile-nav { display: none; }
}
main { display: block; }
.has-hero-offset { padding-top: var(--header-h); }

/* 6. Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10%; z-index: -2; background: radial-gradient(60% 50% at 78% 30%, rgba(122, 107, 255, .35), transparent 70%), radial-gradient(45% 45% at 15% 85%, rgba(255, 184, 28, .18), transparent 70%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%); opacity: .55; transition: transform .2s linear; }
.hero-inner { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: .45em; font-size: clamp(2.3rem, 5vw, 4.25rem); }
.hero h1 .hl { background: linear-gradient(100deg, var(--honey), var(--honey-2) 45%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--muted-dark); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 2rem 0 0; padding: 0; color: var(--muted-dark); font-size: .92rem; }
.hero-proof li { list-style: none; display: flex; gap: .45rem; align-items: center; }
.hero-proof ul { display: contents; margin: 0; padding: 0; }
.hero-proof svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.eco { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.eco svg.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-lines path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; stroke-dasharray: 4 6; }
.eco-lines path.flow { stroke: var(--honey); stroke-width: 2; stroke-dasharray: 10 200; stroke-linecap: round; animation: dash 5s linear infinite; }
.eco-lines path.flow:nth-of-type(2n) { animation-delay: -1.2s; stroke: var(--mint); }
.eco-lines path.flow:nth-of-type(3n) { animation-delay: -2.4s; }
@keyframes dash { to { stroke-dashoffset: -420; } }
.eco-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .55rem; padding: .55rem .95rem .55rem .6rem; border-radius: 999px; background: rgba(24, 32, 54, .72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 700; font-size: .9rem; white-space: nowrap; will-change: transform; transition: border-color .3s, background .3s; }
.eco-node:hover { border-color: var(--honey); background: rgba(24, 32, 54, .95); }
.eco-node i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--honey-ink); font-style: normal; font-size: .75rem; font-weight: 800; }
.eco-node small { display: block; font-weight: 500; color: var(--muted-dark); font-size: .72rem; margin-top: -2px; }
.eco-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.eco-core svg { width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(255, 184, 28, .45)); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.eco-chart { position: absolute; right: -2%; bottom: 3%; width: 46%; padding: .9rem; border-radius: 14px; background: rgba(15, 21, 36, .82); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eco-chart b { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.eco-chart svg { width: 100%; height: auto; margin-top: .3rem; }
.eco-chart .line { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2.4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .eco-node { font-size: .74rem; padding: .35rem .6rem .35rem .4rem; } .eco-node i { width: 22px; height: 22px; font-size: .62rem; } .eco-node small { display: none; } .eco-chart { display: none; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, rgba(122, 107, 255, .32), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(255, 184, 28, .14), transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); max-width: 18ch; }
.page-hero .lead { color: var(--muted-dark); }
.breadcrumbs { font-size: .88rem; color: var(--muted-dark); margin-bottom: 1.6rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--honey-2); }

/* 7. Sections: metrics, problems, cards */
.metrics { background: var(--ink-2); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; border-block: 1px solid var(--line); }
.metrics-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 2.4rem; }
.metrics-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; max-width: 20ch; }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; border: 1px dashed var(--honey-2); color: var(--honey-2); }
.badge--light { border-color: var(--muted); color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; }
.metric { padding: 1.4rem 1.6rem; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(120deg, #fff, var(--honey-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric p { margin: .5rem 0 0; color: var(--muted-dark); font-size: .95rem; }
@media (max-width: 600px) { .metric { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .metric:first-child { border-top: 0; } }
@media (min-width: 900px) { .sticky-col { position: sticky; top: 110px; } }
.problems { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.problems li { counter-increment: p; display: grid; grid-template-columns: 3.2rem 1fr; gap: .5rem 1rem; padding: 1.5rem 0; border-top: 1px solid var(--paper-3); align-items: start; }
.problems li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; color: var(--honey); font-size: 1.4rem; }
.problems h3 { margin: 0 0 .25em; }
.problems p { margin: 0; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--paper-3); border-radius: var(--radius); padding: 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.section--dark .card { background: var(--ink-2); border-color: var(--line); }
.section--dark .card h3 { color: #fff; }
.icon-dot { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--honey), var(--honey-2)); color: var(--honey-ink); margin-bottom: 1.1rem; font-weight: 800; font-family: var(--font-display); }
.checklist { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .25em; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23062' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* 8. Services interaction */
.svc { display: grid; gap: 2rem; }
@media (min-width: 900px) { .svc { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.svc-tabs { display: grid; gap: .6rem; align-content: start; }
.svc-tab { text-align: left; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.15rem 1.3rem; cursor: pointer; font: inherit; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; transition: .3s var(--ease); min-height: 64px; }
.svc-tab .n { font-family: var(--font-display); color: var(--honey); font-weight: 800; }
.svc-tab strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
.svc-tab .go { opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.svc-tab:hover, .svc-tab[aria-selected="true"] { background: var(--ink-3); border-color: var(--honey); }
.svc-tab[aria-selected="true"] .go, .svc-tab:hover .go { opacity: 1; transform: none; }
.svc-panel { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.6rem, 4vw, 3rem); min-height: 100%; animation: fadeUp .5s var(--ease); }
.svc-panel[hidden] { display: none; }
.svc-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.svc-panel .caps { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-panel .caps li { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: #dfe4f3; background: rgba(255, 255, 255, .04); }
.svc-visual { height: 120px; margin-bottom: 1.5rem; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); overflow: hidden; }
.svc-visual svg { width: 100%; height: 100%; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .svc-tab .go { display: none; } }

/* 9. Process timeline */
.timeline { display: grid; gap: 2rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: 340px 1fr; gap: 4rem; } }
.tl-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: row; overflow-x: auto; gap: .5rem; scrollbar-width: none; position: relative; }
.tl-steps::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tl-steps { flex-direction: column; overflow: visible; gap: 0; } .tl-steps::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: var(--paper-3); } }
.tl-btn { display: flex; align-items: center; gap: 1rem; background: transparent; border: 0; padding: .7rem .8rem; cursor: pointer; font: inherit; color: var(--muted); text-align: left; border-radius: 999px; min-height: 48px; white-space: nowrap; position: relative; }
.tl-btn .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--paper-3); font-family: var(--font-display); font-weight: 800; font-size: .85rem; transition: .3s var(--ease); flex: none; z-index: 1; }
.tl-btn[aria-selected="true"] { color: var(--text); font-weight: 700; }
.tl-btn[aria-selected="true"] .dot, .tl-btn:hover .dot { background: var(--honey); border-color: var(--honey); color: var(--honey-ink); transform: scale(1.06); }
.tl-panel { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(1.6rem, 4vw, 3rem); animation: fadeUp .5s var(--ease); }
.tl-panel[hidden] { display: none; }
.tl-panel h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tl-panel p { color: var(--muted-dark); }
.tl-panel .out { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; }
.tl-panel .out b { color: var(--honey-2); display: block; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; margin-bottom: .3rem; }
.tl-progress { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 4px; margin-bottom: 1.5rem; overflow: hidden; }
.tl-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--mint)); width: 0; transition: width .5s var(--ease); }

/* 10. Growth system (signature) */
.gs { position: relative; }
.gs-track { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; counter-reset: g; }
.gs-track::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--honey), var(--violet) 50%, var(--mint)); opacity: .5; }
.gs-step { position: relative; padding: .9rem 0 .9rem 5rem; counter-increment: g; opacity: .35; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.gs-step.is-in { opacity: 1; transform: none; }
.gs-step::before { content: counter(g); position: absolute; left: 0; top: .6rem; width: 56px; height: 56px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--ink-3); color: var(--honey); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; text-align: center; line-height: 56px; }
.gs-step.is-in::before { background: var(--honey); color: var(--honey-ink); }
.gs-step h3 { margin: 0 0 .2em; color: #fff; font-size: 1.35rem; }
.gs-step p { margin: 0; color: var(--muted-dark); font-size: 1rem; max-width: 56ch; }
.gs-step a { color: var(--honey-2); }
@media (min-width: 900px) { .gs-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .gs-sticky { position: sticky; top: 110px; } }
.gs-loop { position: relative; aspect-ratio: 1; max-width: 420px; margin-top: 2rem; }
.gs-loop svg { width: 100%; height: 100%; overflow: visible; }
.gs-loop .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.gs-loop .arc { fill: none; stroke: var(--honey); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 900; animation: spin 9s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.gs-loop text { fill: #fff; font-family: var(--font-display); font-weight: 700; text-anchor: middle; }

/* 11. Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { border: 1px solid var(--paper-3); background: #fff; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: .93rem; min-height: 44px; transition: .25s; }
.filter-btn:hover { border-color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.work { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--paper-3); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work[hidden] { display: none; }
.work-thumb { aspect-ratio: 16 / 11; position: relative; overflow: hidden; background: var(--ink); }
.work-thumb svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.work:hover .work-thumb svg { transform: scale(1.05); }
.work-tag { position: absolute; top: 12px; left: 12px; background: rgba(8, 12, 22, .85); color: var(--honey-2); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; border: 1px dashed var(--honey-2); }
.work-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.work-body h3 { margin: 0; }
.work-meta { font-size: .85rem; color: var(--muted); }
.work-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.work-foot { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem .8rem; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; }
.work-foot > span:last-child { white-space: nowrap; margin-left: auto; }
.pill { display: inline-block; font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-weight: 600; }
.mock { width: 100%; height: 100%; }

/* 12. Content, case studies, articles */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.prose a { color: #5a3f00; font-weight: 600; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.prose blockquote { border-left: 4px solid var(--honey); margin: 1.6rem 0; padding: .3rem 1.4rem; color: var(--muted); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.answer-box { border-left: 4px solid var(--honey); background: var(--paper-2); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0; }
.answer-box p { margin: 0; }
.answer-box strong:first-child { display: block; font-family: var(--font-display); margin-bottom: .2rem; }
.cs-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: cs; }
.cs-flow li { counter-increment: cs; display: grid; grid-template-columns: 4rem 1fr; gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--paper-3); }
.cs-flow li::before { content: counter(cs, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--honey); line-height: 1; }
.cs-flow h3 { margin: 0 0 .3em; }
.cs-flow p { margin: 0; color: var(--muted); }
.bars { display: grid; gap: .9rem; margin: 1.5rem 0; }
.bar { display: grid; grid-template-columns: 9rem 1fr 3.5rem; gap: .8rem; align-items: center; font-size: .92rem; }
.bar-track { height: 12px; border-radius: 12px; background: var(--paper-3); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--honey), var(--mint)); border-radius: 12px; transition: width 1.4s var(--ease); }
.is-visible .bar-track i, .bar.is-visible .bar-track i { width: var(--w); }
@media (max-width: 520px) { .bar { grid-template-columns: 1fr 3rem; } .bar span:first-child { grid-column: 1 / -1; } }
.quote { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.quote::before { content: "\201C"; position: absolute; right: 1.4rem; top: -1.2rem; font-size: 9rem; font-family: var(--font-display); color: rgba(255, 184, 28, .18); line-height: 1; }
.quote blockquote { margin: 0 0 1.4rem; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.quote cite { font-style: normal; color: var(--muted-dark); font-size: .92rem; display: block; }
.quote .badge { margin-bottom: 1.2rem; }
.demo-note { font-size: .85rem; color: var(--muted); border: 1px dashed var(--muted); border-radius: 10px; padding: .6rem .9rem; display: inline-block; }
.placeholder { background: rgba(255, 184, 28, .25); border-bottom: 2px dashed var(--honey); padding: 0 .2em; }
.price-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.price { border: 1px solid var(--paper-3); border-radius: var(--radius); padding: 2rem 1.6rem; display: flex; flex-direction: column; background: #fff; position: relative; }
.price--hot { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-8px); }
.price--hot .checklist li { color: #dfe4f3; }
.price--hot p { color: var(--muted-dark); }
.price .tag { position: absolute; top: -13px; left: 1.6rem; background: var(--honey); color: var(--honey-ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.price .btn { margin-top: auto; }
.price .checklist { margin-bottom: 1.6rem; }
.industry-list { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.industry { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--paper-3); background: #fff; transition: .3s var(--ease); }
.industry:hover { border-color: var(--honey); transform: translateY(-3px); }
.industry h3 { display: flex; align-items: center; gap: .6rem; }
.industry h3 i { width: 10px; height: 10px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; width: 18px; height: 18px; }
.post-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .work-thumb { aspect-ratio: 16 / 9; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card .work-body { position: relative; }
.article-meta { color: var(--muted-dark); font-size: .92rem; display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1.4rem; background: var(--paper-2); border-radius: var(--radius); margin-top: 3rem; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--honey); display: grid; place-items: center; font-weight: 800; flex: none; }
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.toc { background: var(--paper-2); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2rem; font-size: .95rem; }
.toc b { font-family: var(--font-display); }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { padding: .6rem 1rem; border-radius: 10px; border: 1px solid var(--paper-3); text-decoration: none; min-width: 44px; text-align: center; }
.pagination .current { background: var(--ink); color: #fff; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 50% 120%, rgba(255, 184, 28, .35), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(122, 107, 255, .3), transparent 70%); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--muted-dark); max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* 13. FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--paper-3); border-radius: 14px; background: #fff; transition: border-color .25s; }
.faq details[open] { border-color: var(--honey); }
.faq summary { cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--honey); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq .ans p:last-child { margin-bottom: 0; }
.section--dark .faq details { background: var(--ink-2); border-color: var(--line); }
.section--dark .faq .ans { color: var(--muted-dark); }

/* 14. Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); padding: .85rem 1rem; border: 1.5px solid #c6cbd9; border-radius: 12px; background: #fff; min-height: 52px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(255, 184, 28, .35); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.4rem; }
.notice--ok { background: #e3fbf1; color: #075c3e; border: 1px solid #a5ebcf; }
.notice--err { background: #fdeceb; color: #8a1a12; border: 1px solid #f5b8b3; }
.form-card { background: #fff; border: 1px solid var(--paper-3); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.contact-alt { display: grid; gap: 1.2rem; align-content: start; }
.contact-alt .card { padding: 1.3rem 1.5rem; }
.contact-alt .card h3 { font-size: 1.1rem; }

/* 15. Footer */
.site-footer { background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.footer-top { display: grid; gap: 3rem; grid-template-columns: 1fr; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 2.6fr; } }
.footer-brand p { color: var(--muted-dark); max-width: 38ch; font-size: .98rem; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.footer-cols h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-2); font-family: var(--font); font-weight: 700; margin-bottom: 1rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.footer-cols a { color: var(--muted-dark); text-decoration: none; display: inline-block; padding: .3rem 0; min-height: 32px; font-size: .97rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: var(--muted-dark); font-size: .88rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; }
.social a:hover { background: var(--honey); color: var(--honey-ink); border-color: var(--honey); }
.social svg { width: 18px; height: 18px; }

/* 404 */
.nf { min-height: 100vh; display: grid; align-items: center; text-align: center; }
.nf .big { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; line-height: .9; background: linear-gradient(120deg, var(--honey), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .btn-row { justify-content: center; }

/* 16. Utilities / motion */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.reveal.is-visible { opacity: 1; translate: none; }
.no-js .reveal { opacity: 1; translate: none; }
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border: 1.5px solid var(--honey); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-100px, -100px); transition: width .25s var(--ease), height .25s var(--ease), background .25s, opacity .25s; mix-blend-mode: normal; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 62px; height: 62px; background: rgba(255, 184, 28, .18); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
  .gs-step { opacity: 1; transform: none; }
  .cursor { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* 17. Mobile optimization + touch targets */
html { -webkit-tap-highlight-color: rgba(255, 184, 28, .25); }
.link-arrow { border-bottom: 0; padding: .7rem 0; background: linear-gradient(var(--honey), var(--honey)) 0 calc(100% - .55rem) / 100% 2px no-repeat; }
.footer-cols a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.work-tag, .badge, .price .tag { font-size: .75rem; }
.metrics-note { margin: 1.75rem 0 0; color: var(--muted-dark); font-size: .85rem; max-width: 64ch; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) {
  .section { padding: clamp(2.75rem, 10vw, 4rem) 0; }
  .section-head { margin-bottom: 1.75rem; }
  h2 { font-size: clamp(1.7rem, 7.2vw, 2.2rem); }
  .hero { padding-bottom: 2.5rem; }
  .hero-inner { gap: 2rem; }
  .page-hero { padding-bottom: 2.5rem; }
  .cta-band { padding: 3rem 0; }
  .card { padding: 1.35rem; }
  .form-card { padding: 1.25rem; border-radius: 18px; }
  .svc-panel, .tl-panel { padding: 1.35rem; border-radius: 18px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .btn-row .link-arrow { align-self: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric, .metric:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 1rem .5rem 1rem 0; }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric .num { font-size: 2.35rem; }
  .tl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; overflow: visible; }
  .tl-btn { flex-direction: column; gap: .4rem; padding: .5rem .25rem; text-align: center; white-space: normal; font-size: .85rem; }
  .gs-loop { max-width: 240px; margin-inline: auto; }
  .gs-step { padding-left: 4.25rem; }
  .price--hot { transform: none; }
  .work-grid, .post-grid { gap: 1.25rem; }
  .eco-node { font-size: .78rem; }
  .snap-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: -1.25rem; padding: 0 1.25rem 1rem; scrollbar-width: none; }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { flex: 0 0 86%; scroll-snap-align: center; }
}
@media (max-width: 700px) { .home-blog { display: none; } }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.post-card:hover .work-thumb img { transform: scale(1.04); }
.post-cover { margin: 0 0 2.25rem; border-radius: 20px; overflow: hidden; background: var(--ink); }
.post-cover img { width: 100%; height: auto; display: block; }