/* ============================================
   EXELYXIS — Growth Marketing Agency
   Design: Editorial / Refined / Warm
   ============================================ */

:root {
  --bg: #f7f4ee;
  --bg-elev: #fffdf8;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #8a8680;
  --line: #e6e0d5;
  --accent: #c8641e;      /* warm terracotta */
  --accent-dark: #a04f14;
  --dark: #0f0f0f;
  --gold: #b8944a;

  --radius: 6px;
  --radius-lg: 14px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links > li > a:not(.nav-cta):not(.nav-audit)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.nav-links > li > a:not(.nav-cta):not(.nav-audit):hover::after,
.nav-links > li > a.is-active:not(.nav-cta):not(.nav-audit)::after { transform: scaleX(1); }
.nav-links a.is-active:not(.nav-cta):not(.nav-audit) { color: var(--accent); }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem !important;
}
.nav-cta:hover { background: var(--accent); color: var(--bg-elev) !important; }

.nav-audit {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.85rem !important;
  background: transparent;
  border: 1px solid rgba(200, 100, 30, 0.3);
  color: var(--accent) !important;
  font-weight: 500;
  transition: all 0.25s;
  overflow: hidden;
}
.nav-audit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,100,30,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  border-radius: inherit;
}
.nav-audit:hover {
  background: rgba(200, 100, 30, 0.08);
  border-color: var(--accent);
  color: var(--accent-dark) !important;
}
.nav-audit:hover::before { transform: translateX(100%); }
@media (max-width: 720px) {
  .nav-audit { border: none; }
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-trigger svg { transition: transform 0.25s; }
.has-dropdown:hover .dropdown-trigger svg,
.has-dropdown:focus-within .dropdown-trigger svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  list-style: none;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  z-index: 100;
}
/* Invisible bridge — keeps :hover active when the cursor traverses the gap */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  height: 14px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.dropdown li { width: 100%; }
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s;
}
.dropdown a strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.dropdown a span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}
.dropdown a:hover { background: var(--bg); }
.dropdown a:hover strong { color: var(--accent); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 200;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Hero mouse-follow spotlight */
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 420px at var(--mx, 20%) var(--my, 30%),
    rgba(200, 100, 30, 0.12),
    transparent 70%
  );
  transition: background 0.15s ease-out;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Button arrow animation */
.btn .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-magnetic { will-change: transform; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.btn-large { padding: 18px 36px; font-size: 1.05rem; }
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.globe-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(200, 100, 30, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(184, 148, 74, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  0%   { background-position: 0% 0%, 0% 0%; filter: hue-rotate(0deg); }
  50%  { background-position: 4% 2%, -3% 5%; }
  100% { background-position: -2% 4%, 5% -3%; filter: hue-rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}
.lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.badge {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
}
.badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.1;
}
.badge span {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Form */
.hero-form-wrap { position: relative; }
.hero-form {
  background: var(--bg-elev);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 20px 60px -15px rgba(0,0,0,0.12);
  border: 1px solid var(--line);
}
.hero-form h2 {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}
.hero-form h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.form-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-form label {
  display: block;
  margin-bottom: 1.1rem;
}
.hero-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.hero-form input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border 0.2s, box-shadow 0.2s;
}
.hero-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 100, 30, 0.12);
}
.hero-form button {
  width: 100%;
  margin-top: 0.6rem;
}
.form-msg {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.form-msg.success {
  background: #eaf4ea;
  color: #2d6a2d;
  border: 1px solid #bedbbe;
}
.form-msg.error {
  background: #f7e4e4;
  color: #8b2626;
  border: 1px solid #e6bdbd;
}

/* ============ SECTIONS ============ */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-sub {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* About */
.section-about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.section-about .container { position: relative; z-index: 1; }

/* Mouse-follow spotlight on About section */
.about-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 500px at var(--mx, 50%) var(--my, 50%),
    rgba(200, 100, 30, 0.09),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease-out, background 0.1s ease-out;
}
.section-about:hover .about-spot { opacity: 1; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .about-spot { display: none; }
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}
.about-copy p {
  margin-bottom: 1.3rem;
  font-size: 1.02rem;
  line-height: 1.8;
}
.about-copy .highlight {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.pillar {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px 28px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.1);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.pillar h3 { margin-bottom: 8px; font-size: 1.25rem; }
.pillar p { font-size: 1rem; line-height: 1.65; }

/* Clients / Marquee */
.section-clients {
  padding: 80px 0 90px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.clients-head {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 72px;
}
.clients-head .eyebrow { margin-bottom: 0.8rem; }
/* .clients-head h2 now inherits the global editorial h2 scale */

.marquee {
  position: relative;
  width: 100%;
  min-height: 82px;                  /* defensive: keep strip visible even if images load lazily */
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track img {
  height: 82px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 720px) {
  .section-clients { padding: 60px 0 70px; }
  .marquee-track { gap: 50px; }
  .marquee-track img { height: 62px; max-width: 170px; }
}

/* Services */
.section-services {
  background: var(--dark);
  color: var(--bg);
}
.section-services h2, .section-services .section-head .eyebrow { color: var(--bg); }
.section-services .eyebrow { color: var(--accent); }
.section-services h2 { color: #fff; }
.section-services .section-sub { color: rgba(255,255,255,0.7); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .services-grid-3 { grid-template-columns: 1fr; gap: 20px; }
}
.service-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(200, 100, 30, 0.3);
}
.service-card.tilt {
  transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.3s;
}
.service-card-primary {
  background: linear-gradient(160deg, #1f1612 0%, #130d09 100%);
  border-color: var(--accent);
}
.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(200,100,30,0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.service-card h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.service-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.service-card ul {
  list-style: none;
  margin-bottom: 2rem;
}
.service-card ul li {
  padding: 10px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  padding-left: 22px;
}
.service-card ul li:before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.service-card ul li:last-child { border-bottom: none; }

/* Founder */
.section-founder { background: var(--bg); }
.founder-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.founder-role {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.founder-text p {
  margin-bottom: 1.3rem;
  font-size: 1.02rem;
  line-height: 1.8;
}
.founder-principles {
  list-style: none;
  margin: 2rem 0;
}
.founder-principles li {
  padding: 14px 0;
  padding-left: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.founder-principles li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 22px;
}
.founder-principles li:last-child { border-bottom: none; }

.founder-stats {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat {
  background: var(--bg-elev);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* CTA */
.section-cta { padding: 80px 0; }
.cta-box {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 60px;
  border-radius: var(--radius-lg);
  text-align: center;
  background-image:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(200,100,30,0.25), transparent 70%);
}
.cta-box h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto 1.2rem;
}
.cta-box p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.6; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.93rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .founder-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: 1fr; }
  .founder-stats { position: static; flex-direction: row; flex-wrap: wrap; }
  .stat { flex: 1 1 250px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--bg-elev);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; padding: 14px 0; }
  .burger { display: block; }

  .section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-form { padding: 30px 24px; }
  .cta-box { padding: 50px 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .founder-stats { flex-direction: column; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text > * { animation: fadeUp 0.8s ease both; }
.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-form-wrap { animation: fadeUp 0.9s ease 0.3s both; }

/* ============ PORTFOLIO PAGE ============ */
.section-portfolio {
  padding-top: 40px;
  padding-bottom: clamp(60px, 8vw, 120px);
}

/* Category section header */
.portfolio-group {
  margin-bottom: clamp(60px, 8vw, 110px);
}
.portfolio-group:last-child { margin-bottom: 0; }

.portfolio-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.portfolio-group-head .label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.portfolio-group-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.portfolio-group-head .count {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 64px);
}
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 48px); }
}
@media (max-width: 680px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 48px; }
}

.case-entry {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* ============ DEVICE-ON-BACKDROP COMPOSITION ============
   Each card has three layers:
     1. .case-frame      — the outer card with a minimal backdrop color/gradient
     2. .case-device     — a clean CSS device silhouette (macbook / iphone) that
                           stays static and centered
     3. .case-screen     — the actual image sits inside the device's display area
   Hover gently scales the backdrop and lifts the device a few pixels — the
   inside screenshot does not change. */
.case-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bd-gradient, linear-gradient(145deg, #f5ede0 0%, #e9dfce 100%));
  transition: transform 0.55s cubic-bezier(0.22, 0.72, 0.24, 1);
  cursor: pointer;
  text-decoration: none;
}
.case-frame-static { cursor: default; }
/* Backdrop layer (for hover scale, independent from the device) */
.case-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.7s cubic-bezier(0.22, 0.72, 0.24, 1);
  transform-origin: center;
  z-index: 0;
}
.case-entry:hover .case-frame::before {
  transform: scale(1.04);
}

/* Backdrop variants — curated minimal palette */
.case-frame[data-backdrop="sage"]   { --bd-gradient: linear-gradient(160deg, #cfd7c4 0%, #b5c0a6 100%); }
.case-frame[data-backdrop="cream"]  { --bd-gradient: linear-gradient(160deg, #f2e9d9 0%, #e1d4ba 100%); }
.case-frame[data-backdrop="blush"]  { --bd-gradient: linear-gradient(160deg, #f3dcd1 0%, #e2bfad 100%); }
.case-frame[data-backdrop="sand"]   { --bd-gradient: linear-gradient(160deg, #ece0cf 0%, #d9c8ae 100%); }
.case-frame[data-backdrop="stone"]  { --bd-gradient: linear-gradient(160deg, #dddbd4 0%, #bcb9ae 100%); }
.case-frame[data-backdrop="sky"]    { --bd-gradient: linear-gradient(160deg, #dde4ea 0%, #b9c6d1 100%); }
.case-frame[data-backdrop="ivory"]  { --bd-gradient: linear-gradient(160deg, #f0ebdf 0%, #dcd3bf 100%); }
.case-frame[data-backdrop="warm"]   { --bd-gradient: linear-gradient(160deg, #ead4bd 0%, #d3b490 100%); }

/* Subtle directional light (bottom-right soft glow) for depth */
.case-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 100%, rgba(255, 255, 255, 0.25), transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* ===== MACBOOK DEVICE ===== */
.case-device {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.22, 0.72, 0.24, 1);
}
.case-entry:hover .case-device {
  transform: translate(-50%, calc(-50% - 3px));
}

.case-device[data-device="macbook"] {
  width: 72%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1f2229 0%, #0f1116 100%);
  border-radius: 9px 9px 3px 3px;
  padding: 4% 3.5% 4.5%;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    0 0.5px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 18px 34px -16px rgba(0, 0, 0, 0.4),
    0 34px 60px -24px rgba(0, 0, 0, 0.38);
}
/* Laptop base */
.case-device[data-device="macbook"]::after {
  content: "";
  position: absolute;
  bottom: -3%;
  left: -5%;
  right: -5%;
  height: 5%;
  background: linear-gradient(180deg, #181b21 0%, #0c0e12 100%);
  border-radius: 2px 2px 12px 12px / 2px 2px 6px 6px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 10px 20px -6px rgba(0, 0, 0, 0.2);
}
/* Webcam notch */
.case-device[data-device="macbook"]::before {
  content: "";
  position: absolute;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(200, 100, 30, 0.5);
  z-index: 3;
}

/* ===== IPHONE DEVICE ===== */
.case-device[data-device="iphone"] {
  height: 82%;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #1f2229 0%, #0f1116 100%);
  border-radius: 24px;
  padding: 6px;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    0 0 0 1.5px rgba(60, 65, 75, 0.6) inset,
    0 16px 30px -14px rgba(0, 0, 0, 0.42),
    0 30px 56px -20px rgba(0, 0, 0, 0.4);
}
/* Dynamic island */
.case-device[data-device="iphone"]::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 12px;
  background: #0a0b0f;
  border-radius: 999px;
  z-index: 3;
}

/* ===== SCREEN ===== */
.case-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f5f5f0;
}
.case-device[data-device="macbook"] .case-screen { border-radius: 2px; }
.case-device[data-device="iphone"]  .case-screen { border-radius: 18px; }

/* Hue from data-attr — provides the gradient variation per card */
.case-frame[data-hue="10"] { --hue: 10; }
.case-frame[data-hue="12"] { --hue: 12; }
.case-frame[data-hue="15"] { --hue: 15; }
.case-frame[data-hue="18"] { --hue: 18; }
.case-frame[data-hue="20"] { --hue: 20; }
.case-frame[data-hue="22"] { --hue: 22; }
.case-frame[data-hue="25"] { --hue: 25; }
.case-frame[data-hue="28"] { --hue: 28; }
.case-frame[data-hue="30"] { --hue: 30; }
.case-frame[data-hue="33"] { --hue: 33; }
.case-frame[data-hue="35"] { --hue: 35; }
.case-frame[data-hue="38"] { --hue: 38; }
.case-frame[data-hue="40"] { --hue: 40; }
.case-frame[data-hue="42"] { --hue: 42; }
.case-frame[data-hue="45"] { --hue: 45; }
.case-frame[data-hue="48"] { --hue: 48; }
.case-frame[data-hue="50"] { --hue: 50; }

/* Screenshot fills the device's display area, anchored to top so the
   homepage hero reads correctly. Stays static on hover — only the backdrop moves. */
.case-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
}

/* Fallback: logo or typographic wordmark centered on the screen gradient */
.case-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.22, 0.72, 0.24, 1);
}
.case-fallback img {
  max-width: 75%;
  max-height: 55%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
  transition: transform 0.9s cubic-bezier(0.22, 0.72, 0.24, 1);
}
.case-entry:hover .case-fallback img {
  transform: scale(1.08);
}
/* ============ LEGACY: CUSTOM HOMEPAGE MOCKUPS ============
   Retained for backwards compatibility; no longer used in portfolio.html.
   New portfolio uses device-in-backdrop composition. */
.case-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--mk-bg, #fff);
  font-family: var(--mk-font, 'Inter', sans-serif);
  color: var(--mk-text, #1f2937);
  overflow: hidden;
  z-index: 2;
}
.mockup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--mk-line, rgba(0, 0, 0, 0.06));
  font-size: 9px;
  flex-shrink: 0;
  background: var(--mk-nav-bg, transparent);
}
.mockup-logo {
  font-family: var(--mk-logo-font, var(--mk-font));
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--mk-logo-track, -0.01em);
  color: var(--mk-logo-color, var(--mk-text));
}
.mockup-links {
  display: flex;
  gap: 12px;
  font-size: 8.5px;
  color: var(--mk-muted, rgba(0, 0, 0, 0.55));
  font-weight: 500;
}
.mockup-nav-right {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: var(--mk-muted, rgba(0, 0, 0, 0.55));
}
.mockup-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 22px 24px;
  background: var(--mk-hero-bg, transparent);
  align-items: center;
  min-height: 0;
}
.mockup-hero-copy { min-width: 0; }
.mockup-eyebrow {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mk-accent, #c8641e);
  margin-bottom: 10px;
}
.mockup-title {
  font-family: var(--mk-title-font, var(--mk-font));
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  color: var(--mk-title-color, var(--mk-text));
}
.mockup-sub {
  font-size: 10px;
  line-height: 1.5;
  color: var(--mk-muted, rgba(0, 0, 0, 0.6));
  margin: 0 0 14px;
  max-width: 94%;
}
.mockup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--mk-btn-bg, #c8641e);
  color: var(--mk-btn-color, #fff);
  border-radius: var(--mk-btn-radius, 999px);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mockup-hero-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 80px;
  border-radius: var(--mk-art-radius, 8px);
  background: var(--mk-art-bg, linear-gradient(135deg, rgba(200,100,30,0.15), rgba(184,148,74,0.15)));
  overflow: hidden;
}
/* Decorative "product grid" inside the art block (4 cells) */
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: 100%;
}
.mockup-grid > span {
  background: var(--mk-cell-bg, rgba(255, 255, 255, 0.5));
  border-radius: 4px;
}
/* Ribbon/banner variant for the art block */
.mockup-art-ribbon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-family: var(--mk-title-font, var(--mk-font));
}
.mockup-art-ribbon .big {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mk-art-fg, var(--mk-text));
  line-height: 1;
}
.mockup-art-ribbon .small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mk-art-fg-soft, var(--mk-muted));
  margin-top: 6px;
}

/* ===== Per-brand palettes ===== */

/* Blue4Less — budget fashion, blue accent */
.case-mockup[data-brand="blue4less"] {
  --mk-bg: #fff;
  --mk-text: #15181c;
  --mk-muted: rgba(21, 24, 28, 0.55);
  --mk-accent: #1e4fd0;
  --mk-btn-bg: #15181c;
  --mk-line: rgba(0, 0, 0, 0.08);
  --mk-art-bg: linear-gradient(135deg, #e8eefc 0%, #c9d8f5 100%);
  --mk-cell-bg: rgba(30, 79, 208, 0.12);
}

/* Κεραλοιφές — natural skincare, warm ochre */
.case-mockup[data-brand="keraloifes"] {
  --mk-bg: #faf5eb;
  --mk-text: #2f2416;
  --mk-muted: rgba(47, 36, 22, 0.62);
  --mk-accent: #a86d2c;
  --mk-btn-bg: #3d2e1a;
  --mk-title-font: 'Fraunces', serif;
  --mk-logo-font: 'Fraunces', serif;
  --mk-line: rgba(47, 36, 22, 0.1);
  --mk-art-bg: linear-gradient(135deg, #f0dfbe 0%, #d9b982 100%);
  --mk-cell-bg: rgba(61, 46, 26, 0.14);
  --mk-btn-radius: 4px;
}

/* Send Food — D2C cold-chain food, deep green + cream */
.case-mockup[data-brand="sendfood"] {
  --mk-bg: #f7f4ed;
  --mk-text: #1b2a20;
  --mk-muted: rgba(27, 42, 32, 0.6);
  --mk-accent: #2f6b43;
  --mk-btn-bg: #2f6b43;
  --mk-title-font: 'Fraunces', serif;
  --mk-line: rgba(27, 42, 32, 0.12);
  --mk-art-bg: linear-gradient(135deg, #d9e6d4 0%, #9fbca0 100%);
  --mk-cell-bg: rgba(47, 107, 67, 0.14);
  --mk-btn-radius: 6px;
}

/* Maroon — boutique fashion, deep maroon + cream */
.case-mockup[data-brand="maroon"] {
  --mk-bg: #faf5ef;
  --mk-text: #2a0f13;
  --mk-muted: rgba(42, 15, 19, 0.58);
  --mk-accent: #8a1f2a;
  --mk-btn-bg: #2a0f13;
  --mk-title-font: 'Fraunces', serif;
  --mk-logo-font: 'Fraunces', serif;
  --mk-logo-track: 0.08em;
  --mk-line: rgba(42, 15, 19, 0.1);
  --mk-art-bg: linear-gradient(135deg, #ead6c6 0%, #c79887 100%);
  --mk-cell-bg: rgba(138, 31, 42, 0.13);
  --mk-btn-radius: 3px;
}

/* BrokerageCompare — fintech authority, navy + white */
.case-mockup[data-brand="brokeragecompare"] {
  --mk-bg: #0f1629;
  --mk-text: #f1f4fb;
  --mk-muted: rgba(241, 244, 251, 0.55);
  --mk-accent: #60a5fa;
  --mk-btn-bg: #3b82f6;
  --mk-btn-color: #fff;
  --mk-line: rgba(255, 255, 255, 0.08);
  --mk-nav-bg: #0a0f1f;
  --mk-art-bg: linear-gradient(135deg, #1a2a4b 0%, #0a0f1f 100%);
  --mk-cell-bg: rgba(96, 165, 250, 0.18);
  --mk-btn-radius: 6px;
}

/* FarmSystems — B2B livestock tech, earthy green */
.case-mockup[data-brand="farmsystems"] {
  --mk-bg: #f3f1ec;
  --mk-text: #1f2a20;
  --mk-muted: rgba(31, 42, 32, 0.58);
  --mk-accent: #4a6d36;
  --mk-btn-bg: #1f2a20;
  --mk-line: rgba(31, 42, 32, 0.1);
  --mk-art-bg: linear-gradient(135deg, #d7dbc5 0%, #a6b08a 100%);
  --mk-cell-bg: rgba(74, 109, 54, 0.14);
  --mk-btn-radius: 4px;
}

/* Corinthian Valley — meat/F&B B2B, rustic burgundy + cream */
.case-mockup[data-brand="corinthianvalley"] {
  --mk-bg: #faf4e8;
  --mk-text: #2a130f;
  --mk-muted: rgba(42, 19, 15, 0.58);
  --mk-accent: #992b1c;
  --mk-btn-bg: #2a130f;
  --mk-title-font: 'Fraunces', serif;
  --mk-logo-font: 'Fraunces', serif;
  --mk-line: rgba(42, 19, 15, 0.12);
  --mk-art-bg: linear-gradient(135deg, #e8cdae 0%, #c08c6a 100%);
  --mk-cell-bg: rgba(153, 43, 28, 0.16);
  --mk-btn-radius: 2px;
}

/* Yiayia — authentic Greek F&B, olive + cream */
.case-mockup[data-brand="yiayia"] {
  --mk-bg: #f7f2e4;
  --mk-text: #28321d;
  --mk-muted: rgba(40, 50, 29, 0.6);
  --mk-accent: #6b7e2b;
  --mk-btn-bg: #28321d;
  --mk-title-font: 'Fraunces', serif;
  --mk-logo-font: 'Fraunces', serif;
  --mk-logo-track: 0.04em;
  --mk-line: rgba(40, 50, 29, 0.12);
  --mk-art-bg: linear-gradient(135deg, #e2dcb8 0%, #a8ab78 100%);
  --mk-cell-bg: rgba(107, 126, 43, 0.15);
  --mk-btn-radius: 4px;
}

/* Typographic wordmark — shown when no logo file is available */
.case-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.025em;
  color: hsl(var(--hue, 30), 55%, 22%);
  text-align: center;
  line-height: 1.1;
  padding: 0 10%;
  transition: transform 0.9s cubic-bezier(0.22, 0.72, 0.24, 1), letter-spacing 0.6s ease;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}
.case-entry:hover .case-wordmark {
  transform: scale(1.04);
  letter-spacing: -0.015em;
}
/* Subtle decorative pattern behind the fallback logo */
.case-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.06), transparent 40%);
  pointer-events: none;
}

.case-meta {
  padding: 22px 2px 0;
  display: flex;
  flex-direction: column;
}
.case-sector {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.case-meta h3 {
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.014em;
  margin-bottom: 6px;
  line-height: 1.18;
  color: var(--ink);
}
.case-tag {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-bottom: 14px;
  line-height: 1.45;
  max-width: 95%;
}
.case-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-bullets li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.case-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .case-frame, .case-image, .case-fallback, .case-fallback img {
    transition: none;
  }
}

/* ============ GLOBE SECTION (360° reach) ============ */
.section-globe {
  position: relative;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, #18130f 0%, #0b0908 100%);
  color: var(--bg);
  padding: clamp(70px, 10vw, 120px) 0;
  overflow: hidden;
  border-top: 1px solid #1f1915;
  border-bottom: 1px solid #1f1915;
}
.globe-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  /* Dense starfield — 3 layers of size/brightness for depth */
  background-image:
    /* Bright hero stars (larger, warm-tinted) */
    radial-gradient(2px 2.4px at 12% 18%, rgba(255, 250, 230, 0.95), transparent 55%),
    radial-gradient(2.4px 2.4px at 86% 24%, rgba(255, 220, 180, 0.85), transparent 55%),
    radial-gradient(2px 2px at 30% 78%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(2.6px 2.6px at 71% 48%, rgba(255, 200, 150, 0.8), transparent 55%),
    radial-gradient(2px 2px at 46% 9%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(2px 2px at 93% 80%, rgba(255, 245, 220, 0.85), transparent 55%),
    radial-gradient(2px 2px at 7% 88%, rgba(255, 220, 180, 0.8), transparent 55%),
    radial-gradient(2px 2px at 58% 28%, rgba(255, 255, 255, 0.8), transparent 55%),
    /* Medium-bright stars */
    radial-gradient(1.3px 1.3px at 18% 42%, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 62% 14%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.3px 1.3px at 54% 60%, rgba(255, 240, 220, 0.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 38% 85%, rgba(255, 255, 255, 0.62), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 36%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.3px 1.3px at 22% 64%, rgba(255, 200, 150, 0.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 80% 66%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 66% 82%, rgba(255, 245, 220, 0.6), transparent 60%),
    /* Dim background field */
    radial-gradient(1px 1px at 5% 25%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(1px 1px at 95% 54%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(1px 1px at 48% 40%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(1px 1px at 15% 55%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(1px 1px at 28% 92%, rgba(255, 255, 255, 0.38), transparent 70%),
    radial-gradient(1px 1px at 68% 92%, rgba(255, 255, 255, 0.42), transparent 70%),
    radial-gradient(1px 1px at 88% 7%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(1px 1px at 26% 30%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(1px 1px at 53% 48%, rgba(255, 240, 200, 0.35), transparent 70%),
    radial-gradient(1px 1px at 3% 65%, rgba(255, 255, 255, 0.38), transparent 70%),
    radial-gradient(1px 1px at 42% 25%, rgba(255, 255, 255, 0.32), transparent 70%),
    radial-gradient(1px 1px at 73% 10%, rgba(255, 255, 255, 0.4), transparent 70%);
}

/* A second layer of twinkling stars overlaid on top */
.globe-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 24% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(1.5px 1.5px at 82% 58%, rgba(255, 240, 200, 0.85), transparent 55%),
    radial-gradient(1.5px 1.5px at 50% 72%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(1.5px 1.5px at 14% 68%, rgba(255, 220, 180, 0.8), transparent 55%),
    radial-gradient(1.5px 1.5px at 90% 42%, rgba(255, 255, 255, 0.85), transparent 55%),
    radial-gradient(1.5px 1.5px at 36% 52%, rgba(255, 220, 180, 0.75), transparent 55%);
  animation: stars-twinkle 4s ease-in-out infinite;
}
@keyframes stars-twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .globe-stars::after { animation: none; opacity: 0.7; }
}

.globe-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  z-index: 1;
}

.globe-text .eyebrow { color: var(--accent); }
.globe-text h1,
.globe-text h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.globe-text h1 em,
.globe-text h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.globe-text .lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.globe-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 1.2rem;
}
.globe-pill {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
  animation: pill-float 7s ease-in-out infinite;
}
.globe-pill:nth-child(2) { animation-delay: 0.5s; }
.globe-pill:nth-child(3) { animation-delay: 1s; }
.globe-pill:nth-child(4) { animation-delay: 1.5s; }
.globe-pill:nth-child(5) { animation-delay: 2s; }
.globe-pill:nth-child(6) { animation-delay: 2.5s; }
.globe-pill:nth-child(7) { animation-delay: 3s; }
.globe-pill:nth-child(8) { animation-delay: 3.5s; }
.globe-pill:nth-child(9) { animation-delay: 4s; }
.globe-pill:hover {
  background: rgba(200, 100, 30, 0.18);
  border-color: rgba(200, 100, 30, 0.5);
  transform: translateY(-2px);
  color: #fff;
}
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .globe-pill { animation: none; }
  .globe-stars { animation: none; }
}

.globe-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.globe-stage {
  display: flex;
  flex-direction: column;            /* hint sits ABOVE graphic on every viewport */
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}
.globe-stage .globe-hint  { order: 1; display: block; text-align: center; margin: 0 auto 14px; position: static; }
.globe-stage .globe-canvas,
.globe-stage .hub-graphic { order: 2; margin: 0 auto; }
.globe-stage::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 100, 30, 0.22) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: globe-glow 6s ease-in-out infinite alternate;
}
@keyframes globe-glow {
  from { opacity: 0.5; transform: scale(0.95); }
  to   { opacity: 0.9; transform: scale(1.05); }
}

.globe-canvas {
  position: relative;
  touch-action: none;
  contain: layout paint;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  z-index: 1;
}

/* Legacy pulse effect removed — globe hover now only intensifies the atmospheric halo.
   No cursor-follow light on the globe. */

/* No extra ring — only the globe's native rim.
   Hover lightly brightens the canvas so cobe's built-in glowColor intensifies a bit. */
.globe-canvas {
  transition: filter 0.4s ease-out;
}
.globe-canvas.is-hovered {
  filter: brightness(1.12) saturate(1.08);
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .globe-meteors, .globe-atmosphere { display: none; }
}

@media (max-width: 900px) {
  .globe-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .globe-stage {
    order: -1; /* globe first on mobile for wow-factor */
    min-height: 320px;
  }
  .globe-text .lede { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .globe-stage::before { animation: none; }
}

/* ============ PROCESS SECTION ============ */
.section-process {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: process;
}
.process-step {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.process-step:hover::before { transform: scaleX(1); }
.process-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.98rem; line-height: 1.7; }
.process-step em { font-style: italic; color: var(--ink); font-weight: 500; }

@media (max-width: 960px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(200,100,30,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 50%, rgba(184,148,74,0.08), transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}
.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 1.2rem;
}
.page-hero .lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
}
.page-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============ PROSE (rich text blocks) ============ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose p {
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}
.prose h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink); }
.prose ul {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.prose .callout {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 22px 28px;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ============ FEATURES GRID (service page deliverables) ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,100,30,0.12), rgba(184,148,74,0.08));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============ PROBLEM LIST (service page pain points) ============ */
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 2.5rem 0;
}
.problem-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 24px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.3s, border-color 0.3s;
}
.problem-item:hover { transform: translateY(-3px); border-color: var(--accent); }
.problem-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(200,100,30,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.problem-item p { font-size: 0.97rem; line-height: 1.5; margin: 0; }

@media (max-width: 720px) {
  .problem-list { grid-template-columns: 1fr; }
}

/* ============ ABOUT PAGE ============ */
.about-portrait,
.about-team-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 40px;
  position: sticky;
  top: 100px;
}
.about-team-photo {
  margin: -40px -40px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-team-meta { margin-bottom: 20px; }
.about-team-meta h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.about-team-meta .role {
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}
.about-team-card .portrait-stats {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-team-card .portrait-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 1rem;
}
.about-team-card .portrait-stat span:first-child {
  color: var(--muted);
}
.about-team-card .portrait-stat span:last-child {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.about-portrait .initials {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.about-portrait h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.about-portrait .role {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 20px;
}
.about-portrait .portrait-stats {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-portrait .portrait-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
}
.about-portrait .portrait-stat span:first-child {
  color: var(--muted);
}
.about-portrait .portrait-stat span:last-child {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
}

.section-about-page {
  padding: 60px 0 100px;
  background: var(--bg);
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 960px) {
  .about-page-grid { grid-template-columns: 1fr; }
  .about-portrait,
  .about-team-card { position: static; }
}

/* ============ SERVICE PAGE CTA (mid-page) ============ */
.inline-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 50px 50px;
  border-radius: var(--radius-lg);
  margin: 60px auto;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background-image:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(200,100,30,0.25), transparent 70%);
}
.inline-cta h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0;
  max-width: 540px;
}
.inline-cta .btn-primary { flex-shrink: 0; }

@media (max-width: 720px) {
  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    text-align: left;
  }
}

/* ============ PAGE CONTACT FORM (compact form on subpages) ============ */
.page-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-elev);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.12);
  border: 1px solid var(--line);
}
.page-form h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.page-form .form-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.page-form label {
  display: block;
  margin-bottom: 1rem;
}
.page-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.page-form input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border 0.2s, box-shadow 0.2s;
}
.page-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 100, 30, 0.12);
}
.page-form button { width: 100%; margin-top: 0.4rem; }

/* ============================================
   AUDIT WIZARD + RESULT PAGE
   ============================================ */

.audit-body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.audit-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 40px);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.audit-progress-shell {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  max-width: 400px;
  justify-self: center;
  width: 100%;
}
.audit-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  width: 0;
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-radius: 999px;
}

.audit-close {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s;
}
.audit-close:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.audit-main {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(20px, 4vw, 40px);
}
.audit-stage {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* `hidden` attribute must win over display:flex */
.audit-stage[hidden] { display: none !important; }
.audit-stage-result { max-width: 1100px; align-items: flex-start; padding-top: 20px; }

/* Wizard cards — grid-stacked so cards grow with content */
.wizard-card-wrap {
  display: grid;
  position: relative;
  width: 100%;
  perspective: 1000px;
  /* Each card occupies the same grid cell — wrap grows to tallest child */
}
.wizard-card {
  grid-column: 1;
  grid-row: 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.12);
  animation: card-enter 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wizard-card.from-left { animation-name: card-enter-left; }
.wizard-card.exit-left { animation: card-exit-left 0.4s ease both; }
.wizard-card.exit-right { animation: card-exit-right 0.4s ease both; }

@keyframes card-enter {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes card-enter-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes card-exit-left {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}
@keyframes card-exit-right {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .wizard-card, .wizard-card.from-left, .wizard-card.exit-left, .wizard-card.exit-right {
    animation: none;
  }
}

.wizard-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.wizard-card h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.wizard-sub {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.wizard-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wizard-field input[type=text],
.wizard-field input[type=email],
.wizard-field input[type=url],
.wizard-field input[type=tel],
.wizard-field textarea,
.wizard-field select {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border 0.2s, box-shadow 0.2s;
}
.wizard-field input:focus,
.wizard-field textarea:focus,
.wizard-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 100, 30, 0.12);
}
.wizard-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.wizard-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='%238a8680' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

.competitors-grid { display: flex; flex-direction: column; gap: 12px; }
.wizard-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important; height: 1px !important;
}

.turnstile-wrap {
  margin-top: 1.2rem;
  min-height: 60px;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.wizard-nav .btn { padding: 12px 24px; font-size: 0.95rem; }
.wizard-nav .btn:disabled { opacity: 0.3; cursor: not-allowed; }

.flash-box {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #8b2626;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  box-shadow: 0 16px 40px -10px rgba(139, 38, 38, 0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 200;
}
.flash-box.show { transform: translateX(-50%) translateY(0); }

/* Loading stage — spinning earth + rotating rings */
.audit-stage-loading { min-height: 60vh; }
.loader-core {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.loader-globe-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loader-appear 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes loader-appear {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.loader-globe {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 50%;
}
.loader-globe-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 100, 30, 0.35) 0%, rgba(184, 148, 74, 0.12) 45%, transparent 70%);
  filter: blur(28px);
  z-index: 1;
  animation: loader-glow-pulse 2.4s ease-in-out infinite;
}
@keyframes loader-glow-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50%      { transform: scale(1.12); opacity: 1; }
}
.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
/* Dashed decorative ring — now stays still; the progress ring fills over it */
.loader-ring-outer {
  /* was: animation: loader-ring-cw 18s linear infinite; — kept static so it reads
     like a "meter" that gets filled by the progress ring */
}
.loader-ring-inner {
  animation: loader-ring-ccw 28s linear infinite;
}
/* Progress ring — sits above the dashed outer ring, fills clockwise as SSE events arrive */
.loader-ring-progress {
  z-index: 4;
}
#auditProgressRing {
  transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 0.72, 0.24, 1);
  filter: drop-shadow(0 0 6px rgba(200, 100, 30, 0.45));
}
@keyframes loader-ring-cw  { to { transform: rotate(360deg);  } }
@keyframes loader-ring-ccw { to { transform: rotate(-360deg); } }
.loader-core h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  max-width: 620px;
  min-height: 1.2em;
  transition: opacity 0.3s;
  line-height: 1.2;
}
.loader-sub { color: var(--muted); font-size: 0.95rem; }

.loader-dots {
  display: flex;
  gap: 8px;
  margin-top: -12px;
}
.loader-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: loader-dot-pulse 1.4s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.18s; background: var(--gold); }
.loader-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes loader-dot-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-globe-wrap, .loader-globe-glow, .loader-ring, .loader-dots span {
    animation: none;
  }
}

/* Rate-limited / error message cards */
.audit-stage-msg { min-height: 60vh; }
.msg-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px clamp(28px, 5vw, 60px);
  text-align: center;
  max-width: 600px;
}
.msg-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
}
.msg-card h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.msg-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.msg-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ RESULT PAGE ============ */
.result-wrap { padding: 30px 0 80px; }
.result-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.result-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.result-hero .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.result-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.result-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.result-section.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .result-section { opacity: 1; transform: none; transition: none; }
}

.result-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.result-section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.result-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.result-section-body { max-width: 820px; margin: 0 auto; }

/* Positioning */
.positioning-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.positioning-angle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.positioning-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  margin: 0;
}

/* Projection */
.projection-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.projection-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.proj-stat {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
}
.proj-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.proj-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
.projection-chart { margin: 30px 0; }
.proj-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.proj-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}
.proj-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  border-radius: 6px 6px 0 0;
  animation: bar-grow 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transform-origin: bottom;
}
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.proj-bar-label {
  position: absolute;
  bottom: -20px;
  font-size: 0.75rem;
  color: var(--muted);
}
.projection-rationale {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Competitor card */
.competitor-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.competitor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.competitor-head h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.competitor-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.competitor-pos {
  background: var(--ink);
  color: var(--bg);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.competitor-why, .competitor-gap {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.competitor-gap {
  color: var(--ink);
  padding: 12px 16px;
  background: rgba(200, 100, 30, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.competitor-card.has-ads {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .competitor-card.has-ads { grid-template-columns: 1fr; }
}
.competitor-main { min-width: 0; }
.competitor-ads-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  .competitor-ads-stack { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 18px; }
}
.competitor-ads-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.competitor-adlib {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px -6px rgba(24, 119, 242, 0.5);
}
.competitor-adlib:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(24, 119, 242, 0.6);
}
.adlib-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.social-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .social-grid-2 { grid-template-columns: 1fr; }
}

/* Meta ad mock */
.meta-ad-mock {
  background: #fff;
  border: 1px solid #dadde1;
  border-radius: 8px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #050505;
}
.meta-ad-mock.large { max-width: 480px; margin: 0 auto; }
.meta-ad-mock.small { font-size: 12px; }
.mad-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.mad-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #e4e6eb;
  color: #65676b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.meta-ad-mock.small .mad-avatar { width: 32px; height: 32px; font-size: 13px; }
.mad-name { font-weight: 600; font-size: 15px; color: #050505; }
.meta-ad-mock.small .mad-name { font-size: 13px; }
.mad-sub { font-size: 12px; color: #65676b; }
.meta-ad-mock.small .mad-sub { font-size: 11px; }
.mad-text {
  padding: 0 12px 10px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.mad-img {
  background-color: #f0f2f5;
  background-size: cover;
  background-position: center;
  height: 260px;
  border-top: 1px solid #dadde1;
  border-bottom: 1px solid #dadde1;
}
.meta-ad-mock.small .mad-img { height: 160px; }
.mad-img-placeholder { background-image: linear-gradient(135deg, #c8641e, #b8944a); }
.mad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f0f2f5;
}
.mad-domain {
  font-size: 12px;
  color: #65676b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mad-headline {
  font-weight: 600;
  font-size: 15px;
  color: #050505;
  line-height: 1.3;
}
.meta-ad-mock.small .mad-headline { font-size: 13px; }
.mad-desc { font-size: 13px; color: #65676b; margin-top: 2px; }
.mad-cta {
  background: #e4e6eb;
  color: #050505;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.mad-cta.primary { background: #1877f2; color: #fff; }

/* Instagram post mock */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ig-post-mock {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #262626;
}
.ig-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.ig-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.ig-name { font-weight: 600; font-size: 14px; }
.ig-loc { font-size: 11px; color: #8e8e8e; }
.ig-more { margin-left: auto; color: #262626; font-size: 18px; }
.ig-media {
  width: 100%;
  aspect-ratio: 4 / 5;       /* IG-native portrait ratio — matches real feed layout */
  background: #f0f0f0;
  background-size: cover;
  background-position: top center;  /* anchor to top so models' heads aren't cropped */
}
.ig-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  color: #262626;
}
.ig-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.ig-icon.ig-save { margin-left: auto; }
.ig-caption {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.ig-caption strong { margin-right: 6px; }
.ig-note {
  padding: 10px 14px;
  background: #fafafa;
  border-top: 1px solid #efefef;
  font-size: 12px;
  color: #65676b;
}

/* SERP mock */
.serp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .serp-compare { grid-template-columns: 1fr; }
}
.serp-col-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
}
.serp-browser {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #202124;
}
.serp-url-bar {
  background: #f1f3f4;
  padding: 10px 14px;
  font-size: 12px;
  color: #5f6368;
  border-bottom: 1px solid #dadce0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp-row {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #eef0f2;
}
.serp-row:last-child { border-bottom: none; }
.serp-pos {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f1f3f4;
  color: #5f6368;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.serp-row.is-competitor .serp-pos { background: #fce8e6; color: #c5221f; }
.serp-row.is-you .serp-pos { background: #e6f4ea; color: #137333; }
.serp-row.is-empty { background: #fef7e0; }
.serp-row.is-empty .serp-pos { background: #fce8e6; color: #c5221f; }
.serp-empty-msg {
  font-weight: 600;
  color: #c5221f;
  padding-top: 2px;
}
.serp-domain {
  font-size: 12px;
  color: #4d5156;
  margin-bottom: 2px;
}
.serp-title {
  font-size: 18px;
  color: #1a0dab;
  line-height: 1.3;
  margin-bottom: 4px;
  font-weight: 400;
}
.serp-row.is-you .serp-title { color: #137333; font-weight: 500; }
.serp-snippet {
  font-size: 13px;
  color: #4d5156;
  line-height: 1.45;
}

/* AEO answer mock */
.aeo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.aeo-question {
  display: flex;
  gap: 14px;
  padding: 22px 28px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--line);
}
.aeo-user-avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.aeo-q-text {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.5;
}
.aeo-answer { padding: 24px 28px; }
.aeo-ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.aeo-ai-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  font-size: 13px;
}
.aeo-a-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.aeo-a-text mark {
  background: rgba(200, 100, 30, 0.18);
  color: var(--ink);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}
.aeo-sources {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.aeo-source-label { color: var(--muted); }
.aeo-source-chip {
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
}

/* Summary / conclusion card — replaces the fake case study with a tight,
   scannable recap before the CTA */
.summary-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  background-image: radial-gradient(ellipse 60% 50% at 10% 0%, rgba(200, 100, 30, 0.2), transparent 60%);
}
.summary-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.summary-position {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
}
.summary-headline {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
  max-width: 760px;
}
.summary-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.summary-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.summary-row:first-child { border-top: none; padding-top: 4px; }
.summary-row-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}
.summary-row-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.summary-row-result .summary-row-text {
  color: #fff;
  font-weight: 500;
}
@media (max-width: 680px) {
  .summary-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Legacy case card — kept for backwards compatibility with any old audit result JSON */
.case-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  background-image: radial-gradient(ellipse 60% 50% at 10% 0%, rgba(200, 100, 30, 0.2), transparent 60%);
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(200, 100, 30, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.case-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 24px;
  max-width: 620px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .case-grid { grid-template-columns: 1fr; }
}
.case-grid h4 {
  color: var(--accent);
  font-size: 0.78rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}
.case-grid p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  line-height: 1.55;
}
.case-result {
  color: #fff !important;
  font-weight: 500;
}

/* Call-me CTA */
.result-cta {
  margin-top: 70px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s, transform 0.7s;
}
.result-cta.is-in { opacity: 1; transform: translateY(0); }

.result-cta-box {
  background: var(--ink);
  color: var(--bg);
  padding: 60px clamp(28px, 5vw, 60px);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background-image: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(200, 100, 30, 0.25), transparent 70%);
}
.result-cta-box h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin-bottom: 1rem;
}
.result-cta-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.call-me-form { text-align: left; }
.call-me-form label {
  display: block;
  margin-bottom: 1rem;
}
.call-me-form label span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.call-me-form input,
.call-me-form select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: #fff;
  transition: border 0.2s, background 0.2s;
}
.call-me-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.call-me-form select option { background: var(--ink); color: #fff; }
.call-me-form input:focus,
.call-me-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}
.call-me-form button {
  width: 100%;
  margin-top: 0.6rem;
}
.call-me-msg {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.call-me-msg.success {
  background: rgba(46, 106, 46, 0.2);
  color: #bfe7bf;
  border: 1px solid rgba(46, 106, 46, 0.4);
}
.call-me-msg.error {
  background: rgba(139, 38, 38, 0.2);
  color: #e7bfbf;
  border: 1px solid rgba(139, 38, 38, 0.4);
}

.result-section .muted { color: var(--muted); font-style: italic; text-align: center; padding: 20px; }

/* ============ RESPONSIVE DROPDOWN (mobile) ============ */
@media (max-width: 720px) {
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    min-width: 0;
    margin-top: 6px;
  }
  .dropdown a { text-align: center; padding: 10px 18px; }
  .dropdown a strong { display: block; text-align: center; font-size: 0.95rem; }
  .dropdown a span { display: none; }
  .has-dropdown .dropdown-trigger svg { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   SITE-WIDE EDITORIAL TYPOGRAPHY — mirrors home-v2 scale AND spacing.
   Page-specific hero scales (.page-hero h1, .globe-text h1) keep their
   tuned sizes because of higher selector specificity — so inner-page
   heroes stay compact while plain h1/h2/h3 across every page get the
   editorial bump.
   The fix when text feels cramped is almost always: more space, not
   smaller type. Type scale is editorial; the container is wide,
   gaps are large, vertical rhythm loose.
   ══════════════════════════════════════════════════════════════════════ */

/* ─── Wider container + bigger horizontal padding, like v2 ─────────── */
.container {
  max-width: 1480px;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

/* ─── Editorial display sizes ─────────────────────────────────────── */
h1 {
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
}
h2 {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
}
h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 400;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--accent-dark);
  font-weight: 400;
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  margin-bottom: 28px;
}
.section-head {
  margin-bottom: 88px;
  max-width: 1080px;
}
.section-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
}
p { line-height: 1.7; }

/* ─── Sections — generous vertical rhythm ─────────────────────────── */
.section { padding: clamp(100px, 14vw, 200px) 0; }

/* ─── Home hero (globe) — keep v2 column ratio, big type, big air ── */
.section-globe-hero { padding: clamp(32px, 5.5vw, 100px) 0 clamp(50px, 8vw, 140px); }
.globe-grid {
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(72px, 9vw, 160px);
  max-width: 1480px;
}
.globe-text { max-width: 760px; }
.globe-text .eyebrow { margin-bottom: 36px; }
.globe-text h1,
.globe-text h2 {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.globe-text .lede {
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 2.8rem;
}
.globe-cta-row { margin-bottom: 2.4rem; }
.globe-pills { gap: 12px 14px; margin-top: 0.6rem; }

/* ─── Inner-page hero — bump a notch too (was small) ──────────────── */
.page-hero { padding: clamp(120px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); }
.page-hero-inner { max-width: 1080px; }
.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.4rem;
}
.page-hero .lede {
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  max-width: 720px;
}

/* ─── CTA box — h2 is constrained by the boxed layout, cap it ────── */
.cta-box {
  padding: clamp(72px, 8vw, 120px) clamp(40px, 5vw, 80px);
}
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 960px;
  margin-bottom: 1.6rem;
}
.cta-box p { margin-bottom: 2.6rem; }

/* ─── Services section (dark bg) — amber-bright em for contrast ──── */
.section-services h2 em { color: var(--accent); }

/* ─── Audit tool has its own internal scale — don't let the editorial
       h1 bump wreck the modal-style msg-cards ────────────────────────── */
.audit-body h1,
.audit-body h2,
.audit-body h3 {
  font-size: revert;
  line-height: revert;
  letter-spacing: revert;
  font-weight: revert;
}
.audit-body h1 em,
.audit-body h2 em,
.audit-body h3 em {
  color: inherit;
  font-style: italic;
}

/* ─── Responsive: stack hero earlier, but keep the big type ──────── */
@media (max-width: 960px) {
  .globe-grid { grid-template-columns: 1fr; gap: 12px; }
  .globe-text h1,
  .globe-text h2 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
  .page-hero h1 { font-size: clamp(2.2rem, 6.5vw, 3.4rem); }
}

/* ══════════════════════════════════════════════════════════════════════
   TEAM SECTION — replaces former FOUNDER block on home.html
   ══════════════════════════════════════════════════════════════════════ */
.section-team { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.team-role {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.team-text p {
  margin-bottom: 1.3rem;
  font-size: 1.02rem;
  line-height: 1.8;
}
.team-principles {
  list-style: none;
  margin: 2rem 0;
}
.team-principles li {
  padding: 14px 0;
  padding-left: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.team-principles li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 22px;
}
.team-principles li:last-child { border-bottom: none; }

.team-media {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.team-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.team-stats .stat {
  padding: 20px 22px;
}
.team-stats .stat:first-child { grid-column: 1 / -1; }
.team-stats .stat-value { font-size: 1.7rem; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 50px; }
  .team-media { position: static; }
  .team-photo { aspect-ratio: 4 / 5; max-width: 560px; margin-left: auto; margin-right: auto; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .team-stats .stat:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .team-stats { grid-template-columns: 1fr; }
  .team-stats .stat:first-child { grid-column: auto; }
}

/* ─── Team stats aside (compact stat stack for service pages) ─────── */
.team-stats-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 900px) {
  .team-stats-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .team-stats-aside .stat { flex: 1 1 280px; }
}
@media (max-width: 640px) {
  .team-stats-aside { flex-direction: column; gap: 14px; }
  .team-stats-aside .stat { padding: 22px 24px; }
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE POLISH — headline breathing, globe framing, button + menu tweaks
   ══════════════════════════════════════════════════════════════════════ */

/* Compact stat cards for service-page sidebars (numbers alone don't need
   full 28px padding — was ~116px tall, now ~58px). */
.team-stats-aside .stat {
  padding: 14px 20px;
}
.team-stats-aside .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.team-stats-aside .stat-value {
  font-size: 1.55rem;
  line-height: 1.15;
}

@media (max-width: 720px) {
  /* Bigger mobile headlines + looser line-height so Greek ascenders/
     descenders don't collide. */
  h1 {
    font-size: clamp(2.8rem, 9vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  h2 {
    font-size: clamp(2.4rem, 7.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.2;
  }
  .globe-text h1,
  .globe-text h2 {
    font-size: clamp(2.6rem, 8vw, 3.6rem);
    line-height: 1.1;
  }
  .page-hero h1 {
    font-size: clamp(2.4rem, 7.2vw, 3.4rem);
    line-height: 1.1;
  }
  .cta-box h2 {
    font-size: clamp(2rem, 6.5vw, 3rem);
    line-height: 1.12;
  }
}

/* Globe + hero text centered on mobile, hint floats ABOVE the globe so
   the heading underneath pulls closer. */
@media (max-width: 900px) {
  .globe-text {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .globe-text .eyebrow {
    display: inline-flex;
  }
  .globe-cta-row {
    justify-content: center;
  }
  .globe-pills {
    justify-content: center;
  }
  .globe-stage {
    order: -1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 0;
  }
}

/* Smaller hero + primary button padding on mobile — .btn-large was too
   bulky for small viewports. */
@media (max-width: 720px) {
  .btn-large {
    padding: 13px 22px;
    font-size: 1rem;
  }
  .btn {
    padding: 11px 20px;
    font-size: 0.95rem;
  }
  .globe-cta-row .btn-large,
  .cta-box .btn-large {
    padding: 13px 22px;
  }
}

/* Mobile nav overlay: center-align the services dropdown items + triggers */
@media (max-width: 720px) {
  .nav-links .dropdown-trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .nav-links .dropdown {
    text-align: center;
  }
  .nav-links .dropdown li {
    padding: 10px 0;
  }
  .nav-links .dropdown a {
    justify-content: center;
  }
  .nav-links .dropdown a strong {
    display: block;
  }
  .nav-links .dropdown a span {
    display: block;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   HOMEPAGE V2 — new copy structure (home-new-copy.html)
   Sections: observation/thesis, KPI strip, 4-pillar system,
   interconnection block, AI callout, 5-step loop
   ══════════════════════════════════════════════════════════════════════ */

/* ─── 3 · OBSERVATION + THESIS — centred editorial block ──────────── */
.section-observation {
  background: var(--bg);
}
.observation-block {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.observation-block .eyebrow {
  margin-bottom: 1.4rem;
}
.observation-block h2 {
  margin-bottom: 1.6rem;
}
.observation-block p {
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 auto;
}

/* ─── 4 · KPI BOARD — dark theme, icon cards ──────────────────────── */
.section-kpis {
  background: var(--dark);
  color: var(--bg);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.section-kpis::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 18% 0%, rgba(200, 100, 30, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(184, 148, 74, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.section-kpis > .container { position: relative; z-index: 1; }
.section-kpis .section-head .eyebrow { color: var(--accent); }
.section-kpis .section-head h2 { color: #fff; }
.section-kpis .section-head h2 em { color: var(--accent); }

.kpi-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.kpi-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  backdrop-filter: blur(2px);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s ease;
}
.kpi-card:hover {
  border-color: rgba(200, 100, 30, 0.55);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(200, 100, 30, 0.18), rgba(184, 148, 74, 0.10));
  border: 1px solid rgba(200, 100, 30, 0.30);
  color: var(--accent);
  margin-bottom: 22px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.kpi-card:hover .kpi-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.kpi-icon svg { width: 24px; height: 24px; }
.kpi-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}
.kpi-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 980px) {
  .kpi-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .kpi-board { grid-template-columns: 1fr; gap: 16px; }
  .kpi-card { padding: 26px 22px 24px; }
  .kpi-icon { width: 46px; height: 46px; margin-bottom: 18px; }
}

/* ─── 5 · 4-PILLAR SYSTEM — card grid + interconnection + AI callout ─ */
.section-pillars {
  background: var(--bg);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.pillar-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pillar-card .pillar-num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Interconnection block — ribbon under the pillars */
.interconnection {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 28px 32px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.interconnection p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.interconnection strong {
  color: var(--ink);
  font-weight: 600;
}

/* AI callout — small badge + sentence */
.ai-callout {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 28px;
  background: linear-gradient(95deg, rgba(200, 100, 30, 0.06), rgba(184, 148, 74, 0.04));
  border: 1px solid rgba(200, 100, 30, 0.18);
  border-radius: var(--radius-lg);
}
.ai-callout-tag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid rgba(200, 100, 30, 0.32);
  border-radius: 999px;
  padding: 6px 14px;
}
.ai-callout p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ─── 6 · HOW IMPROVEMENT HAPPENS — scroll-into-view timeline ─────── */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.process-aside {
  position: sticky;
  top: 110px;
  align-self: start;
}
.process-aside .eyebrow { margin-bottom: 1.4rem; }
.process-aside h2 { margin-bottom: 1.6rem; }
.process-aside-sub {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* timeline — vertical spine on the left, cards on the right */
.timeline {
  position: relative;
  padding-left: 64px;
}
.timeline-spine {
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-spine-fill {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: height 80ms linear;
  will-change: height;
}

.timeline-step {
  position: relative;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.timeline-step:last-child { margin-bottom: 0; }

/* Dot — sits over the spine */
.timeline-dot {
  position: absolute;
  left: -50px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  box-shadow: 0 0 0 6px var(--bg);
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
  z-index: 2;
}
.timeline-step.is-active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 12px rgba(200, 100, 30, 0.12);
}

/* Card */
.timeline-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px 24px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, opacity 0.45s ease;
  opacity: 0.55;
}
.timeline-step.is-active .timeline-card {
  opacity: 1;
  border-color: rgba(200, 100, 30, 0.45);
  transform: translateX(2px);
  box-shadow: 0 12px 28px rgba(28, 21, 12, 0.06);
}
.timeline-num {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.timeline-card h3 {
  font-size: 1.32rem;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.timeline-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-card { opacity: 1; transition: none; }
  .timeline-dot, .timeline-spine-fill { transition: none; }
}

/* Mobile / tablet: stack heading on top, keep timeline below */
@media (max-width: 900px) {
  .process-layout { grid-template-columns: 1fr; gap: 32px; }
  .process-aside {
    position: static;
    top: auto;
    margin-bottom: 8px;
  }
  .process-aside-sub { max-width: none; }
  .timeline { padding-left: 48px; }
  .timeline-spine { left: 13px; }
  .timeline-dot { left: -42px; }
}
@media (max-width: 520px) {
  .timeline-card { padding: 22px 24px 20px; }
  .timeline-card h3 { font-size: 1.18rem; }
}

/* ─── 7 · SERVICES — proof-line below the cards ────────────────────── */
.proof-line {
  text-align: center;
  margin-top: clamp(36px, 4vw, 56px);
  font-size: 1rem;
  color: var(--ink-soft);
}
.proof-line a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(200, 100, 30, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.proof-line a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}
.proof-line .arrow {
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.25s;
}
.proof-line a:hover .arrow {
  transform: translateX(4px);
}

/* ─── Mobile adjustments for the v2 sections ───────────────────────── */
@media (max-width: 720px) {
  .pillar-card { padding: 28px 22px; }
  .pillar-card .pillar-num { top: 22px; right: 22px; font-size: 1.05rem; }
  .interconnection { padding: 22px 24px; }
  .ai-callout { flex-direction: column; gap: 10px; padding: 20px 22px; }
  .ai-callout-tag { align-self: flex-start; }
  .kpi-tile { padding: 22px 20px; }
}

/* ══════════════════════════════════════════════════════════════════════
   HOMEPAGE HUB VARIANT — data-hub SVG replaces the cobe globe
   (home-new-copy-hub.html only)
   ══════════════════════════════════════════════════════════════════════ */
.hub-stage {
  width: 100%;
  min-height: 540px;
  overflow: visible;        /* allow scaled SVG to extend a touch past the box */
  /* hint/graphic order + flex-column inherited from .globe-stage.
     Column ratio unchanged — text column stays at its original width. */
}
.hub-graphic {
  width: 100%;
  max-width: 580px;         /* the actual column width on desktop, no max-width tricks */
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
  /* Visual scale so the graphic looks bigger without affecting column layout
     or wrapping the text column. Disabled on mobile where stacking handles it. */
  transform: scale(1.15);
  transform-origin: center;
}
@media (max-width: 900px) {
  .hub-graphic { transform: none; }     /* mobile stack — no scale needed */
  .hub-stage   { min-height: 0; }       /* hug content */
}
/* Hover: light-up glow only — no movement */
.hub-graphic .hub-node {
  transition: filter 0.25s ease;
  cursor: default;
}
.hub-graphic .hub-node:hover {
  filter: drop-shadow(0 0 6px rgba(240, 154, 78, 0.75));
}
/* Honour reduced motion: kill the SMIL animations */
@media (prefers-reduced-motion: reduce) {
  .hub-graphic animateMotion,
  .hub-graphic animate { display: none; }
}

/* ─── Growth Marketing 360° — System explainer (dark band) ─────────── */
.section-hub-explainer {
  position: relative;
  background: #0c0a07;
  color: rgba(243, 231, 211, 0.92);
  padding: clamp(72px, 9vw, 120px) 0;
  margin-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.section-hub-explainer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(240, 154, 78, 0.06), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(240, 154, 78, 0.04), transparent 50%);
  pointer-events: none;
}
.section-hub-explainer .container { position: relative; }

.hub-explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hub-explainer-text .eyebrow {
  color: #f09a4e;
}
.hub-explainer-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 22px;
  color: #f3e7d3;
}
.hub-explainer-text h2 em {
  font-style: italic;
  color: #f09a4e;
}
.hub-explainer-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(243, 231, 211, 0.78);
  max-width: 56ch;
}
.hub-explainer-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-hub-explainer .hub-graphic {
  width: 100%;
  max-width: 460px;
  height: auto;
  transform: none;
  margin: 0;
}

.hub-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(56px, 7vw, 88px);
}
.hub-pillar {
  position: relative;
  background: rgba(243, 231, 211, 0.04);
  border: 1px solid rgba(240, 154, 78, 0.18);
  border-radius: 14px;
  padding: 32px 26px 28px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hub-pillar:hover {
  border-color: rgba(240, 154, 78, 0.55);
  background: rgba(243, 231, 211, 0.06);
  transform: translateY(-3px);
}
.hub-pillar-num {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: rgba(240, 154, 78, 0.8);
  margin-bottom: 18px;
}
.hub-pillar h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: #f3e7d3;
}
.hub-pillar p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(243, 231, 211, 0.72);
}

@media (max-width: 900px) {
  .hub-explainer-grid { grid-template-columns: 1fr; }
  .hub-explainer-graphic { order: -1; }
  .section-hub-explainer .hub-graphic { max-width: 380px; }
  .hub-pillars-grid { grid-template-columns: 1fr; gap: 14px; }
  .hub-pillar { padding: 26px 22px 22px; }
}

/* ─── Growth Marketing 360° — Proof / case-study cards ─────────────── */
.section-proof {
  padding: clamp(64px, 8vw, 100px) 0;
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: clamp(40px, 5vw, 56px);
}
.case-study-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 100, 30, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.case-study-card h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
}
.case-tagline {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.case-study-stats {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.case-study-stat {
  display: flex;
  flex-direction: column;
}
.case-study-stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  color: var(--accent);
  font-weight: 500;
  line-height: 1.1;
}
.case-study-stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 6px;
}
.case-study-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 760px) {
  .case-study-grid { grid-template-columns: 1fr; }
}

/* ─── Case Study pages — hero, showcase, do-list, results ───────────── */
.case-study-hero .lede strong {
  color: var(--accent);
  font-weight: 600;
}

/* 2-column hero: text on the left, montage on the right.
   Container is widened on desktop so the image gets more room without
   the grid ratio shrinking the text column; the section stays
   centered via the .container's auto margins. Text content keeps its
   original 640px cap regardless of the column width. */
.case-study-hero .container {
  max-width: 1480px;
}
.case-study-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.case-study-hero-text {
  max-width: 640px;
}
.case-study-hero-figure {
  margin: 0;
  width: 100%;
}
.case-study-hero-figure picture,
.case-study-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.case-study-hero-figure img {
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

/* Mobile-only inline figure — sits between the eyebrow and the h1 */
.cs-hero-figure-mobile {
  display: none;
  margin: 14px 0 18px;
}
.cs-hero-figure-mobile picture,
.cs-hero-figure-mobile img {
  display: block;
  width: 100%;
  height: auto;
}
.cs-hero-figure-mobile img {
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

@media (max-width: 980px) {
  .case-study-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }
  .case-study-hero-figure {
    /* desktop-only figure hidden on mobile/tablet — replaced by the
       inline mobile figure between eyebrow and h1 */
    display: none;
  }
  .cs-hero-figure-mobile {
    display: block;
  }
  .case-study-hero-text {
    max-width: 100%;
  }
}

/* Hero stats — icon + big number + label, card-style */
.cs-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin: clamp(28px, 3.5vw, 44px) 0 clamp(28px, 3.5vw, 40px);
  max-width: 720px;
}
.cs-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 100, 30, 0.18);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cs-hero-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 100, 30, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}
.cs-hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(200, 100, 30, 0.16), rgba(184, 148, 74, 0.10));
  border: 1px solid rgba(200, 100, 30, 0.28);
  color: var(--accent);
  margin-bottom: 14px;
}
.cs-hero-stat-icon svg { width: 20px; height: 20px; }
.cs-hero-stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cs-hero-stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 8px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .cs-hero-stats { grid-template-columns: 1fr; gap: 12px; max-width: 100%; }
  .cs-hero-stat { flex-direction: row; align-items: center; gap: 18px; padding: 16px 18px; }
  .cs-hero-stat-icon { margin-bottom: 0; flex-shrink: 0; }
  .cs-hero-stat-value { font-size: 1.6rem; }
  .cs-hero-stat-label { margin-top: 4px; }
}

/* Showcase — montage band */
.cs-showcase {
  padding: clamp(40px, 5vw, 72px) 0;
  background: linear-gradient(180deg, rgba(200, 100, 30, 0.045), rgba(255, 255, 255, 0));
  text-align: center;
}
.cs-showcase-figure {
  margin: 0 auto;
  max-width: 920px;
}
.cs-showcase img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}
.cs-showcase figcaption {
  margin-top: 18px;
  font-size: 0.86rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* "Τι κάναμε" — 2-column grid of numbered cards */
.cs-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 5vw, 56px);
  counter-reset: do-counter;
}
.cs-do-card {
  position: relative;
  padding: clamp(28px, 3vw, 36px) clamp(26px, 3vw, 32px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  counter-increment: do-counter;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cs-do-card::before {
  content: "0" counter(do-counter);
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.cs-do-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 100, 30, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.cs-do-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.26rem;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.cs-do-card p {
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.74);
  margin: 0;
}
@media (max-width: 760px) {
  .cs-do-grid { grid-template-columns: 1fr; }
}

/* Results — 3-up big-number cards */
.cs-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 5vw, 56px);
}
.cs-result {
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(200, 100, 30, 0.22);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cs-result:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 100, 30, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.cs-result-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cs-result h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.22rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.cs-result p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.68);
  margin: 0;
}
@media (max-width: 900px) {
  .cs-results { grid-template-columns: 1fr; }
}

/* Takeaway — italic prose under the results */
.cs-takeaway {
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px) clamp(28px, 3.4vw, 40px);
  border-left: 3px solid var(--accent);
  background: rgba(200, 100, 30, 0.05);
  border-radius: 4px;
  max-width: 820px;
}
.cs-takeaway p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
  margin: 0;
  font-style: italic;
}
.cs-takeaway p strong {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

/* ─── Case Studies index page ─────────────────────────────────────── */
.cs-index-section {
  padding-top: clamp(40px, 5vw, 64px);
}
.cs-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 80px);
}
.cs-index-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}
.cs-index-image-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}
.cs-index-image-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.12);
}
.cs-index-image-link picture,
.cs-index-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-index-body { display: flex; flex-direction: column; }
.cs-index-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.cs-index-divider {
  color: rgba(0, 0, 0, 0.3);
  font-weight: 400;
  letter-spacing: 0;
}
.cs-index-period {
  color: rgba(0, 0, 0, 0.55);
  font-weight: 500;
}
.cs-index-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.cs-index-tagline {
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 22px;
}
.cs-index-bullets {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.cs-index-bullets li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.74);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.cs-index-bullets li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.cs-index-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.cs-index-stats {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  margin-bottom: 26px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: rgba(200, 100, 30, 0.05);
  border: 1px solid rgba(200, 100, 30, 0.18);
  border-radius: 10px;
}
.cs-index-stat {
  display: flex;
  flex-direction: column;
  min-width: 80px;
}
.cs-index-stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.cs-index-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 6px;
  font-weight: 500;
}

.cs-index-cta {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .cs-index-card {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }
}

/* "Why we picked these" principles section reuses .features-grid */
.cs-index-principles {
  margin-top: clamp(40px, 5vw, 56px);
}

/* Outbound link to broader portfolio under the principles */
.cs-index-more {
  margin: clamp(36px, 4vw, 48px) auto 0;
  max-width: 740px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.65);
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(200, 100, 30, 0.32);
  border-radius: 10px;
}
.cs-index-more a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(200, 100, 30, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cs-index-more a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Combined-impact section */
.cs-index-impact {
  background: linear-gradient(180deg, rgba(200, 100, 30, 0.05), rgba(255, 255, 255, 0));
}
.cs-index-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 56px);
}
.cs-index-impact-card {
  padding: clamp(28px, 3.4vw, 40px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(200, 100, 30, 0.18);
  border-radius: 14px;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cs-index-impact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 100, 30, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}
.cs-index-impact-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cs-index-impact-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.cs-index-impact-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.66);
  margin: 0;
}
@media (max-width: 900px) {
  .cs-index-impact-grid { grid-template-columns: 1fr; }
}

/* ─── AI Creative production section (Growth Marketing 360°) ───────── */
.section-ai-creative {
  background: linear-gradient(180deg, #f3ebdb 0%, #efe2cc 100%);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  border-top: 1px solid rgba(200, 100, 30, 0.12);
  border-bottom: 1px solid rgba(200, 100, 30, 0.12);
}
.section-ai-creative .section-head {
  max-width: 820px;
}
.ai-creative-divider {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px dashed rgba(200, 100, 30, 0.32);
}
.ai-creative-divider .eyebrow {
  color: var(--accent);
  margin: 0;
}
.ai-creative-divider h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  flex: 1 1 320px;
}
.ai-creative-divider p {
  flex: 1 1 100%;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.7);
  margin: 6px 0 0;
}

/* Avatars row */
.ai-creative-avatars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.ai-creative-avatar {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-creative-avatar:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.ai-creative-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .ai-creative-avatars { grid-template-columns: repeat(4, 1fr); }
}

/* Sample gallery */
.ai-creative-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
}
.ai-creative-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}
.ai-creative-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.ai-creative-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1100px) {
  .ai-creative-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .ai-creative-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Closing callout */
.ai-creative-summary {
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px) clamp(28px, 3.4vw, 40px);
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  max-width: 820px;
}
.ai-creative-summary p {
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
  margin: 0;
}
.ai-creative-summary p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ─── Case-study inline creative row ─────────────────────────────── */
.cs-creative-section {
  padding: clamp(36px, 5vw, 56px) 0;
}
.cs-creative-avatars {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: clamp(18px, 2.5vw, 26px) 0 clamp(28px, 4vw, 40px);
  flex-wrap: wrap;
}
.cs-creative-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.cs-creative-avatar:hover { transform: translateY(-3px); }
.cs-creative-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cs-creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
}
.cs-creative-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.3s ease;
}
.cs-creative-grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.cs-creative-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .cs-creative-grid { grid-template-columns: repeat(2, 1fr); }
}
