/* =====================================================================
   Kreative Minds — Site Design System (shared across all pages)
   Light default, dark via [html.dark]. Brand: purple #3D1A8C / yellow #F4D34A.
   ===================================================================== */

:root {
  --bg: #FAFAF7;
  --bg-soft: #F2EFF9;
  --bg-elev: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --muted: #6B6B6B;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.18);
  --accent: #3D1A8C;
  --accent-soft: rgba(61, 26, 140, 0.10);
  --accent-strong: #2A0F66;
  --on-accent: #FFFFFF;
}
html.dark {
  --bg: #0B0816;
  --bg-soft: #14102A;
  --bg-elev: #1A1530;
  --ink: #F5F2EA;
  --ink-soft: #D8D4C6;
  --muted: #8B8898;
  --line: rgba(245, 242, 234, 0.10);
  --line-strong: rgba(245, 242, 234, 0.22);
  --accent: #F4D34A;
  --accent-soft: rgba(244, 211, 74, 0.14);
  --accent-strong: #FFE066;
  --on-accent: #0B0816;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }

.display { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; line-height: 1.02; font-weight: 500; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
em.accent, .accent-text { font-style: normal; color: var(--accent); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; gap: 10px; }
.brand img { height: 40px; width: auto; display: block; transition: opacity 0.3s ease; }
.brand-text { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--accent); line-height: 1; white-space: nowrap; }
@media (max-width: 520px) { .brand-text { display: none; } }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; }
html.dark .brand .logo-light { display: none; }
html.dark .brand .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: block; }
.icon-sun { display: none; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-arrow { width: 14px; height: 14px; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
}

/* HERO (homepage + page header reuse) */
.hero { padding: 180px 0 120px; position: relative; overflow: hidden; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 32px; }
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 999px; position: relative; }
.hero-eyebrow .dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  80% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
.hero-eyebrow span { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.6rem, 8vw, 6.5rem); margin: 0 0 36px; max-width: 18ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; margin: 0 0 44px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-foot { margin-top: 80px; display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: flex-start; padding-top: 36px; border-top: 1px solid var(--line); }
.hero-foot-item .mono { color: var(--muted); display: block; margin-bottom: 8px; }
.hero-foot-item p { margin: 0; color: var(--ink); font-size: 0.98rem; max-width: 28ch; }

/* PAGE HEADER (for sub-pages, shorter than homepage hero) */
.page-header { padding: 160px 0 80px; }
.page-header .hero-eyebrow { margin-bottom: 28px; }
.page-header h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); max-width: 22ch; margin: 0 0 24px; font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
.page-header h1 em { font-style: normal; color: var(--accent); }
.page-header .page-lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 64ch; margin: 0; }

/* SECTION SHELL */
section.block { padding: 120px 0; border-top: 1px solid var(--line); }
section.block-sm { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 200px 1fr; gap: 48px; margin-bottom: 72px; align-items: end; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; } }
.section-num { color: var(--muted); }
.section-title { font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.025em; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin: 0; max-width: 22ch; }
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }

/* TOP MARQUEE */
.top-marquee { padding: 22px 0; background: var(--accent); color: var(--on-accent); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.top-marquee-track { display: flex; white-space: nowrap; animation: marquee-scroll 38s linear infinite; }
.top-marquee-track span { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.01em; padding: 0 28px; }
.top-marquee-track .sep { color: var(--on-accent); opacity: 0.55; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* PRODUCTS / CARDS */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.product {
  border: 1px solid var(--line); border-radius: 18px; padding: 36px; background: var(--bg-elev);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease, background-color 0.3s ease;
  display: flex; flex-direction: column; min-height: 320px;
  position: relative; overflow: hidden;
}
.product::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width 0.5s cubic-bezier(.2,.7,.3,1);
}
.product::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.product:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 18px 44px -22px var(--accent-soft); }
.product:hover::before { width: 100%; }
.product:hover::after { opacity: 1; }
.product .tag, .product h3, .product p, .product .meta-row, .product a.product-link { position: relative; z-index: 1; }
.product:hover .tag { letter-spacing: 0.22em; transition: letter-spacing 0.4s ease; }
.product:hover h3 { color: var(--accent); transition: color 0.3s ease; }
.product .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.product h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.8rem; margin: 0 0 12px; letter-spacing: -0.02em; }
.product p { color: var(--ink-soft); margin: 0 0 24px; font-size: 0.98rem; }
.product .meta-row { display: flex; gap: 20px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.product .meta-row span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.product .meta-row span strong { color: var(--ink); font-weight: 500; }
.product a.product-link { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; align-self: flex-start; }
.product a.product-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.product.coming { background: transparent; border-style: dashed; }
.product.coming h3 { color: var(--muted); }

/* SERVICES GRID */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }
.service {
  padding: 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(.2,.7,.3,1); position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--accent); transition: width 0.5s cubic-bezier(.2,.7,.3,1);
}
.service:hover { background: var(--bg-soft); transform: translateY(-2px); }
.service:hover::before { width: 100%; }
.service .mono { color: var(--muted); margin-bottom: 28px; display: block; transition: color 0.25s ease, letter-spacing 0.3s ease; }
.service:hover .mono { color: var(--accent); letter-spacing: 0.22em; }
.service h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.6rem; margin: 0 0 14px; letter-spacing: -0.02em; transition: color 0.25s ease; }
.service:hover h3 { color: var(--accent); }
.service p { color: var(--ink-soft); margin: 0 0 20px; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { padding: 8px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.service li:last-child { border-bottom: 0; }
.service li::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--accent); margin-right: 12px; vertical-align: middle; }

/* AUDIENCE CARDS */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .audience { grid-template-columns: 1fr; } }
.audience-card {
  padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-elev);
  position: relative; overflow: hidden; cursor: default;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), border-color 0.3s ease, box-shadow 0.35s ease, background-color 0.3s ease;
}
.audience-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.audience-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 40px -20px var(--accent-soft); }
.audience-card:hover::before { opacity: 1; }
.audience-card h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.35rem; margin: 0 0 12px; position: relative; }
.audience-card h3::after {
  content: ""; display: block; width: 28px; height: 2px; background: var(--accent);
  margin-top: 10px; transition: width 0.4s cubic-bezier(.2,.7,.3,1);
}
.audience-card:hover h3::after { width: 64px; }
.audience-card p { color: var(--ink-soft); margin: 0; position: relative; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.about-media img { display: block; width: 100%; height: auto; filter: grayscale(0.15) contrast(1.02); transition: transform 0.7s cubic-bezier(.2,.7,.3,1), filter 0.5s ease; }
.about-media:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }
html.dark .about-media img { filter: grayscale(0.25) brightness(0.85) contrast(1.05); }
html.dark .about-media:hover img { filter: grayscale(0) brightness(0.95) contrast(1.08); }
.about-quote { position: absolute; left: 28px; bottom: 28px; right: 28px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 14px; padding: 18px 22px; max-width: 320px; }
.about-quote p { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 500; color: var(--ink); font-size: 1rem; }
.about-quote small { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-top: 8px; }
.about-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.about-h { font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.025em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 24px; }
.about-p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 28px; }
.about-p em { font-style: normal; color: var(--accent); font-weight: 600; }
.about-link { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.about-link:hover { border-bottom-color: var(--accent); }
.about-list { list-style: none; padding: 0; margin: 0 0 32px; }
.about-list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.98rem; }
.about-list li:last-child { border-bottom: 0; }
.about-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.about-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.about-cta:hover { color: var(--accent); }

/* TECH & AI */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
.tech-cell { padding: 32px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 1.1 / 1; transition: background-color 0.3s ease, transform 0.3s cubic-bezier(.2,.7,.3,1); text-align: center; cursor: default; }
.tech-cell:hover { background: var(--bg-soft); transform: translateY(-3px); }
.tech-cell svg { width: 34px; height: 34px; color: var(--ink); transition: color 0.25s ease, transform 0.4s cubic-bezier(.2,.7,.3,1); }
.tech-cell:hover svg { color: var(--accent); transform: scale(1.12) rotate(-3deg); }
.tech-cell span { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; transition: color 0.25s ease; }
.tech-cell:hover span { color: var(--accent); }
.tech-note { margin: 40px auto 0; color: var(--muted); font-size: 0.95rem; max-width: 60ch; text-align: center; }

/* PROCESS / STEPS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step {
  padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; transition: background-color 0.3s ease, transform 0.3s ease;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top center;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.step:hover { background: var(--bg-soft); transform: translateY(-2px); }
.step:hover::before { transform: scaleY(1); }
.step:last-child { border-right: 0; }
@media (max-width: 900px) { .step:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .step { border-right: 0; } }
.step .mono { color: var(--accent); margin-bottom: 18px; display: block; transition: letter-spacing 0.3s ease; }
.step:hover .mono { letter-spacing: 0.24em; }
.step h4 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.25rem; margin: 0 0 10px; transition: color 0.25s ease; }
.step:hover h4 { color: var(--accent); }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }

/* NUMBERS */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
@media (max-width: 800px) { .numbers { grid-template-columns: 1fr 1fr; } }
.num-cell { padding: 48px 28px; border-right: 1px solid var(--line); }
.num-cell:last-child { border-right: 0; }
@media (max-width: 800px) { .num-cell:nth-child(2n) { border-right: 0; } }
.num-cell .big { font-family: 'Outfit', sans-serif; font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.num-cell .lbl { display: block; margin-top: 14px; color: var(--muted); font-size: 0.9rem; max-width: 22ch; }
.num-cell .lbl strong { color: var(--ink); font-weight: 500; }

/* PRICING TABLE */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--line); border-radius: 18px; padding: 36px; background: var(--bg-elev); display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(.2,.7,.3,1), border-color 0.3s ease, box-shadow 0.35s ease; position: relative; overflow: hidden; }
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 44px -22px var(--accent-soft); }
.price-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.price-card:hover::after { opacity: 1; }
.price-card > * { position: relative; z-index: 1; }
.price-card.featured { border-color: var(--accent); position: relative; }
.price-card.featured::before { content: "Most chosen"; position: absolute; top: -12px; left: 36px; background: var(--accent); color: var(--on-accent); font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.14em; text-transform: uppercase; }
.price-card .tier-name { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-card .tier-price { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.price-card .tier-unit { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }
.price-card h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.4rem; margin: 0 0 12px; }
.price-card p { color: var(--ink-soft); margin: 0 0 24px; font-size: 0.95rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.92rem; display: flex; align-items: flex-start; gap: 10px; }
.price-card li:last-child { border-bottom: 0; }
.price-card li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }

/* PARTNERS TICKER */
.partners { padding: 80px 0; border-top: 1px solid var(--line); }
.partners-head { text-align: center; margin-bottom: 36px; }
.partners-head .mono { color: var(--muted); display: block; margin-bottom: 12px; }
.partners-head h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; letter-spacing: -0.02em; max-width: 38ch; margin-left: auto; margin-right: auto; }
.partners-head h3 em { font-style: normal; color: var(--accent); }
.partners-strip { overflow: hidden; padding: 28px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-track { display: flex; align-items: center; width: max-content; animation: marquee-scroll 32s linear infinite; }
.partners-track .logo-slot { padding: 0 36px; display: flex; align-items: center; height: 36px; flex-shrink: 0; }
.partners-track img { height: 28px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(0); transition: opacity 0.2s ease, filter 0.2s ease; }
html.dark .partners-track img { filter: grayscale(1) brightness(0) invert(0.95); opacity: 0.55; }
.partners-track img:hover { opacity: 1; filter: grayscale(0); }
html.dark .partners-track img:hover { opacity: 1; filter: grayscale(0); }
.partners-credit { text-align: center; margin-top: 16px; font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em; }

/* LATEST INSIGHTS (blog grid on homepage) */
.insights { padding: 100px 0; border-top: 1px solid var(--line); }
.insights-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.insights-head .mono { color: var(--muted); display: block; margin-bottom: 10px; }
.insights-head h2 { font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.025em; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; max-width: 22ch; line-height: 1.05; }
.insights-head h2 em { font-style: normal; color: var(--accent); }
.insights-head .all-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 4px; font-size: 0.94rem; }
.insights-head .all-link:hover { color: var(--accent); }
.insights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.insight-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 18px 44px -22px var(--accent-soft); }
.insight-card .insight-body h3 { transition: color 0.25s ease; }
.insight-card:hover .insight-body h3 { color: var(--accent); }
.insight-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.insight-card:hover .insight-thumb img { transform: scale(1.04); }
.insight-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.insight-body .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.insight-body h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.08rem; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; color: var(--ink); }
.insight-body p { color: var(--ink-soft); font-size: 0.86rem; margin: 0 0 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-body .read { margin-top: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* CLIMATE STRIP (compact 2-liner before footer) */
.climate-strip { padding: 28px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.climate-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
@media (max-width: 800px) { .climate-strip-inner { flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; } }
.climate-strip-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.climate-strip-left .badge { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 8px; }
.climate-strip-left .badge img { width: 100%; height: 100%; object-fit: contain; }
.climate-strip-text h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.2rem; margin: 0 0 4px; letter-spacing: -0.01em; line-height: 1.2; }
.climate-strip-text h3 em { font-style: normal; color: var(--accent); }
.climate-strip-text p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.4; }
.climate-strip a.cta { white-space: nowrap; }

/* CTA */
.cta-block { padding: 96px 0; border-top: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; } }
.cta-headline { font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.025em; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0; max-width: 16ch; }
.cta-headline em { font-style: normal; color: var(--accent); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions p { margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }

/* NDA INLINE LINK (subtle but discoverable) */
.nda-link { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: help; transition: color 0.2s ease; }
.nda-link:hover { color: var(--accent); }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info h3 { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.4rem; margin: 0 0 16px; letter-spacing: -0.02em; }
.contact-info p { color: var(--ink-soft); margin: 0 0 24px; line-height: 1.6; }
.contact-channels { list-style: none; padding: 0; margin: 0; }
.contact-channels li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 16px; }
.contact-channels li:last-child { border-bottom: 0; }
.contact-channels .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channels .ic svg { width: 18px; height: 18px; }
.contact-channels .label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.contact-channels a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-channels a:hover { color: var(--accent); }
.contact-form { padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-elev); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent); background: var(--bg-elev);
}
.contact-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.contact-form .submit-row { margin-top: 12px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.contact-form .hint { color: var(--muted); font-size: 0.84rem; }
.form-success, .form-error { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 0.92rem; display: none; }
.form-success { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); }
.form-error { background: rgba(220, 50, 50, 0.08); border: 1px solid rgba(220, 50, 50, 0.4); color: var(--ink); }
.form-success.show, .form-error.show { display: block; }

/* PROSE (for blog posts + legal pages) */
.prose { max-width: 70ch; margin: 0 auto; color: var(--ink); }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin-top: 2.4em; margin-bottom: 0.6em; font-weight: 500; }
.prose h1 { font-size: 2.4rem; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }
.prose p { margin: 0 0 1.2em; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-strong); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5em; line-height: 1.7; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 8px 20px; margin: 1.6em 0; color: var(--ink); font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-style: italic; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.88em; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.8em 0; border: 1px solid var(--line); }

/* FOOTER */
footer.site-footer { padding: 64px 0 48px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--ink-soft); text-decoration: none; padding: 4px 0; font-size: 0.94rem; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-about p { color: var(--ink-soft); margin: 12px 0 0; max-width: 38ch; font-size: 0.94rem; }
.foot-brand img { height: 56px; width: auto; display: block; }
.foot-brand .logo-light { display: block; }
.foot-brand .logo-dark { display: none; }
html.dark .foot-brand .logo-light { display: none; }
html.dark .foot-brand .logo-dark { display: block; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }

/* =========== Reveal-on-scroll (subtle, no layout shift) =========== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========== Image hover zoom (climate page + general use) =========== */
.zoomable { overflow: hidden; }
.zoomable img { transition: transform 0.55s cubic-bezier(.2,.7,.3,1), filter 0.55s ease; }
.zoomable:hover img { transform: scale(1.05); }

/* climate-page card lift (project + equiv) */
.equiv, .project-card, .pathway-row {
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.equiv:hover, .project-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 12px 32px -18px var(--accent-soft);
}
.pathway-row:hover { background: var(--accent-soft); border-color: var(--accent); }

/* =========== Number counters =========== */
.num-cell .big { transition: color 0.3s ease; }
.num-cell:hover .big { color: var(--accent); }

/* =========== Mobile nav (hamburger) =========== */
.nav-toggle {
  display: none;
  width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); padding: 18px 20px 24px;
}
.nav-mobile.open { display: block; animation: navSlide 0.25s ease; }
@keyframes navSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-mobile a {
  display: block; padding: 14px 4px; color: var(--ink); text-decoration: none;
  font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 18px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
}

/* =========== Responsive polish =========== */
@media (max-width: 700px) {
  section.block { padding: 80px 0; }
  section.block-sm { padding: 56px 0; }
  .hero { padding: 130px 0 80px; }
  .page-header { padding: 120px 0 60px; }
  .partners { padding: 56px 0; }
  .insights { padding: 72px 0; }
  .cta-block { padding: 72px 0; }
  .product { padding: 28px; min-height: auto; }
  .service { padding: 32px 26px; }
  .audience-card { padding: 28px; }
  .num-cell { padding: 32px 18px; }
  .num-cell .lbl { font-size: 0.84rem; }
  .foot-grid { gap: 28px; }
  .foot-bottom { font-size: 0.78rem; }
  .climate-strip-text h3 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cta-headline { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .btn { padding: 10px 16px; font-size: 0.86rem; }
}

/* Touch devices: drop hover-lift to avoid sticky-hover state */
@media (hover: none) {
  .audience-card:hover, .product:hover, .insight-card:hover, .equiv:hover, .project-card:hover, .step:hover,
  .service:hover, .tech-cell:hover, .price-card:hover, .why-card:hover, .leader:hover {
    transform: none; box-shadow: none;
  }
  .product:hover::before, .service:hover::before, .why-card:hover::before, .step:hover::before { width: 0; transform: none; }
  .product:hover::after, .price-card:hover::after, .audience-card:hover::before { opacity: 0; }
}
