/* ============================================================
   SmarterWorker AI — brand system
   Light-first, charcoal + refined gold, Manrope + JetBrains Mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f6f4ef;          /* warm cream */
  --bg-soft: #faf9f6;
  --ink-inverse-bg: #131519;  /* near-black charcoal for inverse blocks */
  --ink: #1a1c21;             /* primary text */
  --ink-soft: #565962;        /* secondary text */
  --ink-faint: #8d909a;       /* meta */
  --line: #e8e4dc;            /* warm hairline */
  --line-strong: #d8d3c8;
  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(20,22,28,.04), 0 12px 32px -12px rgba(20,22,28,.12);
  --card-shadow-hover: 0 1px 2px rgba(20,22,28,.05), 0 24px 48px -16px rgba(20,22,28,.22);
  --on-inverse: #f3f1ea;
  --on-inverse-soft: #a7a499;

  /* Brand accent — richer gold */
  --gold: #b6892f;
  --gold-bright: #d0a447;
  --gold-deep: #8c6618;
  --gold-tint: rgba(182,137,47,.14);
  --gold-tint-2: rgba(182,137,47,.06);
  /* metallic silver (wordmark / chip) */
  --steel: #71777f;

  /* data accent (charts/proof only) */
  --data: #3b6db5;

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
  --bg: #121419;
  --bg-alt: #171a20;
  --bg-soft: #1a1d24;
  --ink-inverse-bg: #0c0e12;
  --ink: #f1efe9;
  --ink-soft: #abaeb6;
  --ink-faint: #777b85;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --card: #181b21;
  --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.6);
  --card-shadow-hover: 0 1px 2px rgba(0,0,0,.5), 0 28px 56px -18px rgba(0,0,0,.75);
  --on-inverse: #f3f1ea;
  --on-inverse-soft: #a7a499;
  --gold: #c39a55;
  --gold-bright: #d7af68;
  --gold-deep: #a8824a;
  --gold-tint: rgba(195,154,85,.14);
  --gold-tint-2: rgba(195,154,85,.07);
  --steel: #cfd3d8;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--gold); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 14px; transition: transform .2s var(--ease); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--gold-tint); }
.btn-gold:hover i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.btn-lg { padding: 12px 26px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; font-size: 18px; }
.brand .mark {
  width: 54px; height: 54px; border-radius: 11px;
  display: grid; place-items: center; flex-shrink: 0;
  background: transparent; border: none;
}
.brand .mark img { width: 54px; height: 54px; object-fit: contain; }
[data-theme="dark"] .brand .mark { background: transparent; }
.brand .name .smarter { color: var(--steel); font-size: 21px; letter-spacing: -.035em; }
.brand .name .worker { color: var(--gold); font-size: 21px; letter-spacing: -.035em; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .22em; color: var(--ink-faint); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--r-pill); transition: all .18s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-alt);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  font-size: 18px; transition: all .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); transform: translateY(-1px); }
.theme-toggle .bi-sun-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun-fill { display: block; }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); font-size: 20px; cursor: pointer; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 28px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: all .25s var(--ease); display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 20px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 0; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin-top: 18px; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Reveal animation (visible by default; hidden only when JS active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.in { opacity: 1; transform: none; }
/* hard safety: once set, force-show with no transition (applies instantly even if tab is backgrounded) */
.reveal-done .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
.hero h1 .gold { color: var(--gold); }
.hero .silver { color: var(--steel); }
.hero .tag { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: var(--ink); margin-top: 8px; letter-spacing: -.02em; }
.hero .lead { font-size: 20px; color: var(--ink-soft); margin-top: 22px; max-width: 520px; line-height: 1.55; }
.hero .typed-line { color: var(--ink); font-weight: 700; }
.hero .typed-line .typed-text { color: var(--gold); border-bottom: 2px solid var(--gold-tint); padding-bottom: 1px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-meta .m { }
.hero-meta .m b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; display: block; }
.hero-meta .m span { font-size: 13px; color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: .04em; }

/* hero visual — orbiting node mark */
.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; width: 100%; max-width: 75%; margin: 0 auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orbit-ring.r2 { inset: 12%; border-style: dashed; opacity: .7; }
.orbit-ring.r3 { inset: 26%; }
.hero-core {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--card); box-shadow: var(--card-shadow-hover);
  display: grid; place-items: center; position: relative; z-index: 3;
  border: 1px solid var(--line);
  animation: corePulse 4.5s var(--ease) infinite;
}
.hero-core::after { content: ""; position: absolute; inset: -10%; border-radius: 50%; box-shadow: 0 0 80px var(--gold-tint); }
/* silver AI mark, gently pulsing */
.hero-core img { width: 72%; height: 72%; object-fit: contain; filter: none; animation: corePulseImg 4.5s var(--ease) infinite; }
@keyframes corePulse {
  0%,100% { transform: scale(.95); background: var(--card); box-shadow: var(--card-shadow); }
  50% { transform: scale(1.07); background: color-mix(in srgb, var(--gold) 18%, var(--card)); box-shadow: 0 0 60px var(--gold-tint); }
}
@keyframes corePulseImg { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
.node {
  position: absolute; z-index: 4;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 22px; color: var(--gold);
  box-shadow: var(--card-shadow);
  transform: translate(-50%, -50%);
}
/* recolor white line-art client icons to brand gold so they read on both themes */
.node img {
  width: 42px; height: 42px; object-fit: contain;
  filter: brightness(0) saturate(100%) invert(55%) sepia(48%) saturate(480%) hue-rotate(2deg) brightness(92%) contrast(89%);
}
[data-theme="dark"] .node img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(520%) hue-rotate(2deg) brightness(98%) contrast(90%);
}
.node.n1 { top: 8%;  left: 50%; }
.node.n2 { top: 29%; left: 86%; }
.node.n3 { top: 71%; left: 86%; }
.node.n4 { top: 92%; left: 50%; }
.node.n5 { top: 71%; left: 14%; }
.node.n6 { top: 29%; left: 14%; }
/* rotate the whole constellation; counter-rotate icons so they stay upright */
.orbiting { position: absolute; inset: 0; z-index: 4; animation: orbitSpin 34s linear infinite; }
.orbiting .node img { animation: orbitSpinRev 34s linear infinite; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbiting, .orbiting .node img, .hero-core, .hero-core img { animation: none !important; }
}

.hero-glow { position: absolute; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, var(--gold-tint), transparent 70%); filter: blur(20px); z-index: 0; }

/* ---------- marquee / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.trust .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.trust .items { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.trust .items span { font-weight: 700; font-size: 15px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.trust .items i { color: var(--gold); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-visual .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow-hover); border: 1px solid var(--line); }
.about-visual .photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -26px; right: -18px;
  background: var(--ink-inverse-bg); color: var(--on-inverse);
  padding: 22px 26px; border-radius: var(--r-md); box-shadow: var(--card-shadow-hover);
  max-width: 230px;
}
.about-badge b { font-size: 38px; font-weight: 800; color: var(--gold-bright); letter-spacing: -.03em; }
.about-badge span { font-size: 14px; color: var(--on-inverse-soft); display: block; margin-top: 2px; }
.about-content h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 18px; }
.about-content p { color: var(--ink-soft); margin-top: 20px; font-size: 17.5px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 28px; }
.about-stats b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; display: block; }
.about-stats .gold { color: var(--gold); }
.about-stats span { font-size: 13.5px; color: var(--ink-faint); }
.about-content .btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 28px; transition: all .25s var(--ease); position: relative; overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold); font-size: 26px; margin-bottom: 22px;
}
.svc-card h3 { font-size: 21px; letter-spacing: -.02em; }
.svc-card p { color: var(--ink-soft); margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.svc-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--gold); white-space: nowrap; }
.svc-card .more i { transition: transform .2s var(--ease); }
.svc-card:hover .more i { transform: translateX(4px); }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cs-card {
  position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: var(--card); transition: all .25s var(--ease); grid-column: span 2;
}
.cs-card.wide { grid-column: span 3; }
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.cs-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.cs-card.wide .cs-thumb { aspect-ratio: 16/8; }
.cs-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.cs-card:hover .cs-thumb img { transform: scale(1.04); }
.cs-body { padding: 22px 24px 26px; }
.cs-body .cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cs-body h3 { font-size: 19px; margin-top: 10px; letter-spacing: -.02em; }
.cs-body p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* ============================================================
   EXPERTISE
   ============================================================ */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.exp-col h3 { font-size: 16px; font-family: var(--font-mono); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.skill { margin-bottom: 22px; }
.skill-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.skill-top h4 { font-size: 16px; font-weight: 700; }
.skill-top span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }
.bar { height: 6px; border-radius: var(--r-pill); background: var(--bg-alt); overflow: hidden; }
[data-theme="dark"] .bar { background: rgba(255,255,255,.07); }
.bar > i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); width: 0; transition: width 1.1s var(--ease); }

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; transition: all .25s var(--ease); height: 100%;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--ink-inverse-bg); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb.glyph { display: grid; place-items: center; }
.post-thumb.glyph i { font-size: 64px; color: var(--gold); opacity: .9; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.post-body h3 { font-size: 20px; margin-top: 12px; letter-spacing: -.02em; line-height: 1.25; }
.post-body p { color: var(--ink-soft); font-size: 15px; margin-top: 12px; flex: 1; }
.post-foot { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13.5px; color: var(--ink-faint); }
.post-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--ink-inverse-bg); color: var(--on-inverse); border-radius: var(--r-lg); padding: 64px 56px; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 180%; background: radial-gradient(circle, var(--gold-tint), transparent 70%); }
.newsletter .inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.newsletter p { color: var(--on-inverse-soft); margin-top: 16px; font-size: 17px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 220px; padding: 16px 20px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #fff; font-family: var(--font-sans); font-size: 15px;
}
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form input:focus { outline: none; border-color: var(--gold-bright); background: rgba(255,255,255,.1); }
.news-note { font-size: 13px; color: var(--on-inverse-soft); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.news-ok { display: none; align-items: center; gap: 10px; font-weight: 700; color: var(--gold-bright); margin-top: 14px; }
.news-ok.show { display: flex; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-info .ci { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info .ci .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; background: var(--gold-tint); color: var(--gold); display: grid; place-items: center; font-size: 21px; }
.contact-info .ci h4 { font-size: 16px; }
.contact-info .ci p { color: var(--ink-soft); font-size: 15px; margin-top: 3px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--card-shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 15px; transition: border-color .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-inverse-bg); color: var(--on-inverse); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; }
.footer .brand .mark { background: transparent; border-color: transparent; }
.footer-blurb { color: var(--on-inverse-soft); font-size: 15px; margin-top: 18px; max-width: 300px; }
.footer-soc { display: flex; gap: 10px; margin-top: 22px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; font-size: 17px; transition: all .2s var(--ease); }
.footer-soc a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-inverse-soft); font-weight: 600; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--on-inverse); opacity: .82; font-size: 14.5px; padding: 6px 0; transition: all .18s var(--ease); }
.footer-col a:hover { opacity: 1; color: var(--gold-bright); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; color: var(--on-inverse-soft); font-size: 13.5px; flex-wrap: wrap; gap: 12px; }

/* ---------- Page title (sub pages) ---------- */
.pagehero { padding: calc(var(--nav-h) + 64px) 0 56px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.pagehero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: 16px; }
.pagehero p { color: var(--ink-soft); font-size: 19px; margin-top: 18px; max-width: 620px; }
.crumb { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--gold); }

/* ---------- Article ---------- */
.article { max-width: 740px; margin: 0 auto; padding: 70px 0 90px; }
.article .lead { font-size: 21px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 36px; }
.article h2 { font-size: 28px; margin: 48px 0 16px; letter-spacing: -.02em; }
.article h3 { font-size: 21px; margin: 34px 0 12px; }
.article p { font-size: 17.5px; line-height: 1.75; color: var(--ink); margin-bottom: 22px; }
.article ul { padding-left: 22px; margin-bottom: 22px; }
.article li { font-size: 17.5px; line-height: 1.7; margin-bottom: 10px; color: var(--ink); }
.article blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 32px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.article .callout { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; margin: 32px 0; }
.article .callout p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .exp-grid, .contact-grid, .newsletter .inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .svc-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .cs-card, .cs-card.wide { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-badge { position: static; margin-top: 18px; max-width: none; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .section { padding: 76px 0; }
  .svc-grid, .blog-grid, .cs-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .newsletter { padding: 44px 26px; }
  .wrap { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
