/* ============================================================
   WAJD Group : corporate site
   ============================================================ */

:root {
  /* base : light corporate */
  --bg:            #f5f7fa;   /* light page */
  --bg-2:          #eceff4;   /* alternate section */
  --surface:       #ffffff;   /* cards */
  --surface-2:     #f1f4f9;   /* card hover */
  --line:          rgba(16, 33, 54, 0.10);
  --line-strong:   rgba(16, 33, 54, 0.18);

  /* text */
  --text:          #14202e;   /* dark slate */
  --muted:         #51647a;
  --muted-2:       #8392a3;

  /* accent: muted teal + soft copper */
  --accent:        #0f8a76;
  --accent-2:      #0b6f5e;
  --copper:        #a96f33;

  /* layout */
  --maxw:          1180px;
  --gutter:        clamp(20px, 5vw, 56px);
  --radius:        14px;
  --radius-lg:     20px;

  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow:        0 18px 50px -24px rgba(16, 33, 54, 0.20);

  --font-display:  "Sora", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #04221d; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #052420; }
.btn-primary { color: #ffffff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark { width: 34px; height: 34px; color: var(--accent); flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.02em; line-height: 1; }
.brand-sub { font-weight: 400; color: var(--muted); margin-left: 5px; letter-spacing: 0.16em; font-size: 0.7rem; }

.nav { display: flex; gap: 30px; }
.nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; position: relative; padding: 4px 0; transition: color 0.25s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width 0.3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.mobile-nav.open { max-height: 460px; padding-top: 12px; padding-bottom: 24px; }
.mobile-nav a { color: var(--muted); padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav .btn { margin-top: 14px; border-bottom: 0; color: #ffffff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(15, 138, 118, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(245, 247, 250, 0.62) 0%, rgba(245, 247, 250, 0.80) 58%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding-block: 120px 90px; max-width: 880px; }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.3rem, 6vw, 4.25rem); line-height: 1.04; margin-bottom: 26px; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 640px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted-2); }
.scroll-cue-line { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
.scroll-cue-text { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
@keyframes cue { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- trust strip ---------- */
.trust { background: var(--bg-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.trust-item { background: var(--bg-2); padding: 38px 26px; text-align: center; }
.trust-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text); letter-spacing: -0.03em; }
.trust-label { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* ---------- generic section ---------- */
.section { padding-block: clamp(72px, 11vw, 130px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.light .section-title, .section-head.light .section-sub { color: var(--text); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- intro ---------- */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-body p { color: var(--muted); font-size: 1.1rem; margin-bottom: 18px; }
.intro-body p:last-child { margin-bottom: 0; }

/* ---------- services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(15, 138, 118, 0.45), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover, .card:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); outline: none; }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card-wide { grid-column: span 1; }
.card-index { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-size: 0.85rem; color: var(--muted-2); letter-spacing: 0.1em; }
.card-icon { width: 52px; height: 52px; border-radius: 13px; background: rgba(15, 138, 118, 0.10); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.22rem; margin-bottom: 11px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- ventures ---------- */
.ventures { background: var(--bg); }
.venture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.venture {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; color: inherit;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.venture:hover, a.venture:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); outline: none; }

/* one consistent, subtle teal tile across the whole portfolio */
.venture-thumb {
  position: relative; height: 132px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, #eef6f4 0%, #ddeeea 100%);
  border-bottom: 1px solid var(--line);
}
.venture-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15, 138, 118, 0.16) 1px, transparent 1.4px);
  background-size: 16px 16px; opacity: 0.6;
}
.venture-mono {
  position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--accent); letter-spacing: -0.02em;
}

.venture-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.venture-tag { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.venture-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.venture-body > p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.venture-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent);
}
.venture-link::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.venture:hover .venture-link::after { transform: translateX(4px); }

.venture-more { background: var(--surface-2); border-style: dashed; border-color: var(--line-strong); justify-content: center; }
.venture-more .venture-body { padding: 34px 30px; }

@media (max-width: 980px) { .venture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .venture-grid { grid-template-columns: 1fr; } }

/* ---------- managed services ---------- */
.managed { background: var(--bg-2); }
.managed-example {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.managed-problem { background: linear-gradient(160deg, #f0f7f5, #e4f0ec); padding: clamp(28px, 4vw, 46px); border-right: 1px solid var(--line); }
.managed-label { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.managed-problem blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.42; color: var(--text); border-left: 2px solid var(--accent); padding-left: 18px; margin: 0 0 18px; }
.managed-note { color: var(--muted); font-size: 0.92rem; }
.managed-solution { padding: clamp(28px, 4vw, 46px); }
.journey { list-style: none; padding: 0; display: grid; gap: 18px; margin: 0 0 26px; }
.journey li { display: flex; gap: 16px; align-items: flex-start; }
.j-step { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.92rem; background: rgba(15, 138, 118, 0.10); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.journey h4 { font-size: 1.06rem; margin-bottom: 3px; }
.journey p { color: var(--muted); font-size: 0.95rem; }
.managed-outcome { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.managed-outcome span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); display: block; margin-bottom: 6px; }
.managed-outcome p { color: var(--text); font-size: 0.98rem; }

.ai-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  margin-top: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
}
.ai-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 12px 0 14px; }
.ai-copy > p { color: var(--muted); margin-bottom: 18px; }
.text-link { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; display: inline-flex; gap: 7px; align-items: center; }
.text-link::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.ai-points { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ai-points li { background: var(--bg-2); border-radius: var(--radius); padding: 18px 18px 20px; }
.ai-points h4 { font-size: 1rem; margin-bottom: 5px; }
.ai-points p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .managed-example { grid-template-columns: 1fr; }
  .managed-problem { border-right: 0; border-bottom: 1px solid var(--line); }
  .ai-strip { grid-template-columns: 1fr; }
}
@media (max-width: 460px) { .ai-points { grid-template-columns: 1fr; } }

/* ---------- logo marquee ---------- */
.logo-marquee-section { background: var(--bg); padding-block: clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(44px, 7vw, 96px); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 32px; width: auto; flex: none; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- journey proof links ---------- */
.j-proof { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--accent); }
.j-proof:hover { color: var(--accent-2); text-decoration: underline; }

/* ---------- managed service plans ---------- */
.plans-head { margin: 56px 0 28px; max-width: 720px; }
.plans-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.plans-sub { color: var(--muted); font-size: 1.02rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.plan h4 { font-size: 1.18rem; margin-bottom: 6px; }
.plan-tag { color: var(--copper); font-size: 0.84rem; font-family: var(--font-display); letter-spacing: 0.03em; margin-bottom: 20px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.plan-cta::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.plan:hover .plan-cta::after { transform: translateX(4px); }
.plan-featured { border-color: var(--accent); }
.plan-badge { position: absolute; top: -11px; left: 28px; background: var(--accent); color: #ffffff; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { background: var(--bg-2); }
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.45rem; color: var(--accent); transition: transform 0.3s var(--ease); line-height: 1; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { color: var(--muted); font-size: 0.98rem; }

/* ---------- case study cards (home) ---------- */
.case-studies { background: var(--bg-2); }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cs-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; color: inherit; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cs-card:hover, .cs-card:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); outline: none; }
.cs-card-tag { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.cs-card h3 { font-size: 1.18rem; line-height: 1.28; margin-bottom: 12px; }
.cs-card > p { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
.cs-card-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.cs-card-link::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.cs-card:hover .cs-card-link::after { transform: translateX(4px); }
.cs-card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.cs-card-links .cs-card-link { margin-top: 0; }
.cs-card-alt { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--muted); transition: color 0.25s var(--ease); }
.cs-card-alt:hover { color: var(--accent); }
@media (max-width: 980px) { .cs-grid { grid-template-columns: 1fr; } }

/* ---------- case study page ---------- */
.study-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: calc(76px + clamp(40px, 6vw, 80px)) 0 clamp(38px, 5vw, 58px); }
.breadcrumb { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--accent); }
.study-tag { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.study-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 14px 0 18px; max-width: 900px; }
.study-summary { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 760px; }
.study-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 38px; }
.study-metric { background: var(--surface); padding: 26px 24px; }
.study-metric .m-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--text); letter-spacing: -0.02em; }
.study-metric .m-lab { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.study-body { padding: clamp(48px, 7vw, 88px) 0; }
.study-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.study-content { max-width: 720px; }
.study-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 42px 0 14px; }
.study-content h2:first-child { margin-top: 0; }
.study-content p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.study-content ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 11px; }
.study-content li { position: relative; padding-left: 26px; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.study-content li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.study-quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; margin: 32px 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.42; color: var(--text); }
.study-quote cite { display: block; margin-top: 12px; font-size: 0.9rem; font-style: normal; color: var(--muted-2); font-family: var(--font-body); }
.placeholder-note { background: rgba(169, 111, 51, 0.09); border: 1px dashed var(--copper); border-radius: var(--radius); padding: 14px 16px; color: #7a4f24; font-size: 0.9rem; margin: 20px 0; }

.study-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.aside-card h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.aside-card ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.aside-card li { color: var(--muted); font-size: 0.92rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(15, 138, 118, 0.10); color: var(--accent-2); font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; }

.study-cta { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 76px) 0; text-align: center; }
.study-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.study-cta p { color: var(--muted); margin: 0 auto 26px; max-width: 560px; }

@media (max-width: 900px) {
  .study-layout { grid-template-columns: 1fr; }
  .study-aside { position: static; }
  .study-metrics { grid-template-columns: 1fr; }
}

/* ---------- case study hero illustration ---------- */
.study-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.study-hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .study-hero-grid { grid-template-columns: 1fr; } .study-hero-art { max-width: 440px; } }
@media (max-width: 480px) { .study-hero-art { display: none; } }

.csd-surface { fill: var(--surface); }
.csd-fill-soft { fill: rgba(15, 138, 118, 0.10); }
.csd-accent { fill: var(--accent); }
.csd-accent-stroke { stroke: var(--accent); fill: none; }
.csd-text { fill: var(--text); font-family: var(--font-display); font-weight: 600; }
.csd-muted { fill: var(--muted); font-family: var(--font-body); }
.csd-card { fill: var(--surface); stroke: var(--line-strong); }
.flow { stroke-dasharray: 5 7; animation: csdash 1.1s linear infinite; }
@keyframes csdash { to { stroke-dashoffset: -24; } }
.pulse { animation: cspulse 2.4s ease-in-out infinite; }
.pulse-d { animation: cspulse 2.4s ease-in-out infinite 0.8s; }
@keyframes cspulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---------- insights ---------- */
.insights { background: var(--bg); }
.insight-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; }
.insight-feature { display: grid; grid-template-columns: 1.2fr 0.8fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.insight-feature:hover, .insight-feature:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); outline: none; }
.insight-feature-body { padding: 34px 32px; display: flex; flex-direction: column; }
.insight-feature-body h3 { font-size: 1.4rem; line-height: 1.22; margin-bottom: 12px; }
.insight-feature-body > p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.insight-feature-art { background: linear-gradient(150deg, #eef6f4, #ddeeea); border-left: 1px solid var(--line); display: flex; align-items: center; padding: 26px; }
.bar-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.bar { height: 30px; border-radius: 8px; background: rgba(15, 138, 118, 0.12); border: 1px solid rgba(15, 138, 118, 0.28); display: flex; align-items: center; padding: 0 13px; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; color: var(--accent-2); }
.bar-strong { background: rgba(15, 138, 118, 0.22); }
.insight-more { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.insight-more h3 { font-size: 1.15rem; margin: 6px 0 10px; }
.insight-more > p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.insight-more .cs-card-link { margin-top: auto; }
.article-meta { color: var(--muted-2); font-size: 0.9rem; margin-top: 18px; font-family: var(--font-display); letter-spacing: 0.02em; }
@media (max-width: 980px) { .insight-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .insight-feature { grid-template-columns: 1fr; } .insight-feature-art { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- executive one-pager ---------- */
.op-section { padding: clamp(40px, 6vw, 72px) 0; }
.op-lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; margin-bottom: 38px; }
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 30px; }
.op-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.op-box h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.op-box p { color: var(--muted); font-size: 0.96rem; }
.op-box strong { color: var(--text); font-weight: 600; }
.op-layers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 30px; }
.op-layer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.op-layer.is-core { background: rgba(15, 138, 118, 0.10); border-color: rgba(15, 138, 118, 0.30); }
.op-layer .op-l-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text); }
.op-layer .op-l-sub { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.op-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: op; }
.op-step { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; }
.op-step b { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--text); margin-bottom: 3px; }
.op-step span { color: var(--muted); font-size: 0.86rem; }
@media (max-width: 760px) { .op-layers, .op-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .op-layers, .op-steps { grid-template-columns: 1fr; } }

/* ---------- approach band ---------- */
.approach { background: var(--bg-2); overflow: hidden; }
.band-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(236, 239, 244, 0.72) 40%, var(--bg-2) 100%); }
.approach-inner { position: relative; z-index: 2; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.industry:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ---------- outcomes ---------- */
.outcomes { background: var(--bg-2); }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.outcome { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.outcome-tag { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.outcome-stat { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; color: var(--text); margin-bottom: 12px; letter-spacing: -0.02em; }
.outcome-desc { color: var(--muted); font-size: 0.97rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-body p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.about-values { display: grid; gap: 18px; margin-top: 32px; }
.value { padding-left: 18px; border-left: 2px solid var(--accent); }
.value h4 { font-size: 1.05rem; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- contact ---------- */
.contact { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 72px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); }
.contact-list { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.contact-list a { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); transition: color 0.25s var(--ease); }
.contact-list a:hover { color: var(--accent); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px;
  color: var(--text); font-family: var(--font-body); font-size: 0.97rem; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field select { appearance: none; cursor: pointer; }
.contact-form .btn-block { grid-column: 1 / -1; margin-top: 4px; }
.form-status { grid-column: 1 / -1; font-size: 0.92rem; color: var(--accent); min-height: 1.2em; }
.form-status.error { color: var(--copper); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.95rem; padding: 5px 0; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.88rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
.hide-mobile { display: inline; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: 1fr; }
  .intro-grid, .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hide-mobile { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
