/*
Theme Name: K.Kumaar — Metric Bento
Theme URI: https://kumaarkeshav.lovable.app
Author: Keshav Kumaar
Description: Premium dark "Metric Bento" theme for a performance marketing, SEO and brand strategy consultancy. Ports the React/Tailwind design system to native WordPress templates with a Services custom post type, Yoast-friendly markup and schema-ready sections.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: kkumaar
Tags: portfolio, dark, one-column, custom-menu, block-styles, translation-ready
*/

/* ============================================================
   1. Design tokens (ported from src/styles.css)
   ============================================================ */
:root {
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --base: oklch(0.145 0.005 264);
  --surface: oklch(0.19 0.006 264);
  --surface-bright: oklch(0.22 0.006 264);
  --surface-hi: oklch(0.26 0.006 264);

  --background: var(--base);
  --foreground: oklch(0.98 0 0);

  --accent: oklch(0.82 0.14 202);
  --accent-foreground: oklch(0.145 0.005 264);

  --muted: oklch(0.55 0.01 264);
  --muted-foreground: oklch(0.68 0.01 264);

  --border: oklch(1 0 0 / 6%);
  --hairline: oklch(1 0 0 / 10%);
  --ring: oklch(0.82 0.14 202 / 60%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --shadow-glow: 0 0 0 1px color-mix(in oklab, var(--accent) 20%, transparent),
    0 20px 60px -20px color-mix(in oklab, var(--accent) 25%, transparent);

  --maxw: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.5rem, 8vw, 6rem);
  --grid-gap: 1rem;
  --card-padding: 1.75rem;
  --logo-height: 32px;
  --heading-scale: 1;
}

/* ============================================================
   2. Base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; border-color: var(--border); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); color: var(--accent); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-foreground);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ============================================================
   3. Layout helpers
   ============================================================ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space, clamp(3.5rem, 8vw, 6rem)); }
.section--alt { background: color-mix(in oklab, var(--surface) 40%, transparent); border-block: 1px solid var(--border); }
.section--top { border-top: 1px solid var(--border); }

.grid { display: grid; gap: var(--grid-gap, 1rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }

@media (max-width: 1023px) {
  .grid-12 { grid-template-columns: 1fr; gap: 2.5rem; }
  .col-4, .col-5, .col-7, .col-8 { grid-column: auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   4. Typography primitives
   ============================================================ */
.mono { font-family: var(--font-mono); }

.label {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--accent);
}
.eyebrow {
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted-foreground);
}
.h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.02; max-width: 20ch; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.2; max-width: 24ch; }
.h3 { font-size: 1.25rem; font-weight: 500; }
.lead { font-size: 1.125rem; color: var(--muted-foreground); max-width: 52ch; }
.muted { color: var(--muted-foreground); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.8125rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); background: color-mix(in oklab, var(--surface) 60%, transparent);
  border-radius: 999px; padding: 0.25rem 0.75rem;
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-foreground);
}

.rule { height: 1px; width: 100%; margin-top: 1.5rem;
  background: linear-gradient(to right, color-mix(in oklab, var(--accent) 50%, transparent), var(--border), transparent); }

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.75rem 1.25rem;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--accent-foreground); box-shadow: 0 0 0 1px var(--accent); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--foreground); }
.btn--ghost:hover { background: var(--surface-bright); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--block { width: 100%; justify-content: center; padding-block: 0.875rem; }

.arrow { transition: transform 0.15s ease; }
.btn:hover .arrow, .card:hover .arrow { transform: translate(2px, -2px); }

/* ============================================================
   6. Header / sticky nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in oklab, var(--base) 80%, transparent);
  backdrop-filter: blur(12px);
}
.site-nav {
  max-width: var(--maxw); margin-inline: auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.brand img, .custom-logo { height: var(--logo-height, 32px); width: auto; }
.brand--text {
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: -0.01em; color: var(--accent);
}
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s ease; }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--foreground); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.5rem 0.75rem; color: var(--foreground); cursor: pointer;
}
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; inset: 4rem 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0.25rem; padding: 1.25rem var(--gutter) 1.75rem;
    background: var(--surface); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.25s ease; z-index: 40;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.625rem 0; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
}

/* ============================================================
   7. Hero + bento
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 4%) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
}
.hero__glow {
  position: absolute; top: -8rem; left: 50%; transform: translateX(-50%);
  width: 60rem; height: 24rem; border-radius: 999px; pointer-events: none;
  background: color-mix(in oklab, var(--accent) 10%, transparent); filter: blur(120px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; align-items: start; }
.hero__copy { grid-column: span 7; }
.hero__bento { grid-column: span 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy, .hero__bento { grid-column: auto; }
}

.pill-live {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem;
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-radius: 999px; padding: 0.25rem 0.75rem;
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
}
.dot { position: relative; display: inline-flex; width: 0.375rem; height: 0.375rem; }
.dot::before, .dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--accent); }
.dot::before { animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.7; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.tile {
  background: var(--surface); border-radius: var(--radius-xl); padding: 1.25rem;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 5%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile--wide { grid-column: span 2; }
.tile--bright { background: var(--surface-bright); }
.tile--square { aspect-ratio: 1 / 1; }
.tile__figure { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.04em; }

.portrait { width: 5rem; height: 5rem; border-radius: var(--radius); object-fit: cover; box-shadow: 0 0 0 1px var(--hairline); flex-shrink: 0; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.stat__value { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.stat__label { margin-top: 0.125rem; font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

.meter { height: 4px; width: 100%; border-radius: 999px; overflow: hidden; background: color-mix(in oklab, var(--accent) 15%, transparent); margin-top: 0.75rem; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* ============================================================
   8. Cards
   ============================================================ */
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-xl); padding: var(--card-padding, 1.5rem);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); background: var(--surface-bright); transform: translateY(-2px); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 20%, transparent);
}
.icon-box svg { width: 1.25rem; height: 1.25rem; }
.card__cta {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted-foreground); transition: color 0.2s ease;
}
.card:hover .card__cta { color: var(--accent); }

.case-card { border-radius: 1.75rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--border); background: var(--surface); }
.case-card dl { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: grid; gap: 1rem; font-size: 0.875rem; }
.case-card dt { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.case-card dd { margin: 0.25rem 0 0; color: var(--muted-foreground); }
.case-card dd.is-result { color: var(--foreground); }

.metric {
  border: 1px solid var(--border); background: var(--surface-bright);
  border-radius: var(--radius); padding: 0.75rem;
}
.metric__value { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.metric__label { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

.quote-card { border: 1px dashed color-mix(in oklab, var(--accent) 30%, transparent); background: var(--surface); border-radius: var(--radius-xl); padding: var(--card-padding, 1.5rem); }
.quote-card blockquote { margin: 0; font-size: 1rem; line-height: 1.7; }
.quote-card figcaption { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.stars { color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }

/* ============================================================
   9. Checklist / vitals panel
   ============================================================ */
.checklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted-foreground); }
.check {
  flex-shrink: 0; margin-top: 0.2rem; width: 1.25rem; height: 1.25rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 25%, transparent); font-size: 0.7rem;
}

.vitals { position: relative; border: 1px solid var(--border); background: var(--surface); border-radius: 1.75rem; padding: 2rem; box-shadow: var(--shadow-glow); overflow: hidden; }
.vitals__glow { position: absolute; right: -4rem; top: -4rem; width: 15rem; height: 15rem; border-radius: 999px; background: color-mix(in oklab, var(--accent) 20%, transparent); filter: blur(48px); pointer-events: none; }
.vitals__row { margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.875rem; }
.vitals__row .k { color: var(--muted-foreground); }
.vitals__row .v { color: var(--accent); }
.vitals__row .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.375rem; }
.vitals__bar { height: 4px; border-radius: 999px; background: oklch(1 0 0 / 5%); overflow: hidden; }
.vitals__bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* ============================================================
   10. FAQ accordion
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--foreground); font-size: 1rem; font-weight: 600; font-family: inherit;
  transition: color 0.15s ease;
}
.faq-item__q:hover { color: var(--accent); }
@media (min-width: 640px) { .faq-item__q { font-size: 1.125rem; } }
.faq-item__sign {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1;
}
.faq-item__a { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; overflow: hidden; transition: grid-template-rows 0.3s ease, opacity 0.3s ease, padding 0.3s ease; }
.faq-item[data-open="true"] .faq-item__a { grid-template-rows: 1fr; opacity: 1; visibility: visible; padding-bottom: 1.5rem; }
.faq-item__a > div { min-height: 0; }
.faq-item__a p { max-width: 68ch; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }

/* ============================================================
   11. Forms
   ============================================================ */
.field { display: grid; gap: 0.375rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.field input, .field select, .field textarea {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface-bright); color: var(--foreground);
  padding: 0.75rem 1rem; font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}
.contact-panel { border: 1px solid var(--border); background: var(--surface); border-radius: 1.75rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-link {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  border: 1px solid var(--border); background: var(--surface-bright);
  border-radius: var(--radius); transition: border-color 0.15s ease;
}
.contact-link:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.form-note { text-align: center; margin-top: 0.75rem; }

/* ============================================================
   12. Blog
   ============================================================ */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-card:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); transform: translateY(-2px); }
.post-card__thumb { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.post-card h3 { font-size: 1.125rem; line-height: 1.35; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

.article-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.article-body { max-width: 68ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.8; color: color-mix(in oklab, var(--foreground) 88%, var(--muted-foreground)); }
.article-body > * + * { margin-top: 1.25rem; }
.article-body h2 { font-size: 1.625rem; margin-top: 2.75rem; }
.article-body h3 { font-size: 1.25rem; margin-top: 2rem; font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-body ul, .article-body ol { padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.article-body blockquote {
  margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 2px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--foreground);
}
.article-body img, .article-body figure { border-radius: var(--radius-lg); }
.article-body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-bright); padding: 0.15em 0.4em; border-radius: 6px; }
.article-body pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; overflow-x: auto; }

.toc { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; }
.toc ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.toc a { color: var(--muted-foreground); }
.toc a:hover { color: var(--accent); }

.pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 3rem; justify-content: center; }
.pagination .page-numbers {
  display: inline-flex; min-width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-family: var(--font-mono); font-size: 0.8125rem; padding-inline: 0.75rem;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }

/* ============================================================
   13. Service detail
   ============================================================ */
.breadcrumbs { font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--foreground); }

.deliverable {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 1rem; font-size: 0.875rem;
}
.step { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; }
.step__no { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }

.cta-band {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 1.75rem; padding: clamp(1.75rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--base); padding-block: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid .fc-5 { grid-column: span 5; }
.footer-grid .fc-3 { grid-column: span 3; }
.footer-grid .fc-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid .fc-5, .footer-grid .fc-3, .footer-grid .fc-2 { grid-column: auto; }
}
.footer-col-title { margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}

/* ============================================================
   15. Reveal micro-interaction
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   16. WordPress core classes
   ============================================================ */
.alignwide { max-width: min(90rem, 100%); }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.5rem; text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.comment-list { list-style: none; padding: 0; }
