/* ============================================================
   Agentic Minds — Landing Page Styles
   Brand: blue #3b45f0 → purple #7c3aed (wave-mark gradient)
   ============================================================ */

:root {
  --blue:        #3b45f0;
  --blue-deep:   #2b31d6;
  --purple:      #7c3aed;
  --purple-deep: #6d28d9;
  --grad:        linear-gradient(120deg, #3b45f0 0%, #6a3cf0 55%, #8b3ff0 100%);
  --grad-soft:   linear-gradient(135deg, rgba(59,69,240,.10), rgba(139,63,240,.10));

  --ink:      #0f1222;
  --ink-2:    #2a2e45;
  --muted:    #5b6178;
  --muted-2:  #8b90a6;
  --line:     #e7e8f0;
  --bg:       #ffffff;
  --bg-soft:  #f6f7fc;
  --bg-tint:  #f0f1fb;
  --white:    #ffffff;

  --radius:   18px;
  --radius-lg:28px;
  --shadow:   0 18px 50px -20px rgba(28, 33, 90, .22);
  --shadow-sm:0 8px 24px -12px rgba(28, 33, 90, .20);
  --container: 1200px;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { 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;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(94, 60, 240, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(94, 60, 240, .8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #cfd2e6; box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.play { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); color: var(--purple); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(28,33,90,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-name-accent { color: var(--muted-2); font-weight: 700; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad); transition: width .22s ease; border-radius: 2px; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -10% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(60% 60% at 78% 12%, rgba(139,63,240,.16), transparent 60%),
    radial-gradient(50% 50% at 10% 0%, rgba(59,69,240,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-tint), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .01em;
  color: var(--purple-deep); background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(124,58,237,.15); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 18px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.stat span { font-size: 13px; color: var(--muted-2); }
.stat-divider { width: 1px; height: 34px; background: var(--line); }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.glass-card {
  position: relative; z-index: 2; width: min(360px, 90%);
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px);
  border: 1px solid #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 26px;
}
.hero-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 14px 30px -12px rgba(94,60,240,.6); margin-bottom: 20px; }
.glass-lines { display: flex; flex-direction: column; gap: 12px; }
.glass-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-green { background: #22c55e; } .dot-blue { background: var(--blue); } .dot-purple { background: var(--purple); }
.orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .8; z-index: 1; }
.orb-1 { width: 120px; height: 120px; background: radial-gradient(circle at 30% 30%, #8b3ff0, #6a3cf0); top: 6%; right: 4%; }
.orb-2 { width: 90px; height: 90px; background: radial-gradient(circle at 30% 30%, #3b45f0, #2b31d6); bottom: 8%; left: 2%; }
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trust strip */
.trust-strip { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.trust-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.trust-logos { display: flex; gap: 38px; flex-wrap: wrap; justify-content: center; }
.trust-logos span { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #b9bdd0; letter-spacing: -.01em; transition: color .2s; }
.trust-logos span:hover { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.kicker.light { color: #c9b8ff; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.section-head p { font-size: 17px; color: var(--muted); }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card.featured { background: var(--grad); color: #fff; border: none; }
.why-card.featured h3, .why-card.featured p { color: #fff; }
.why-card.featured p { opacity: .92; }
.why-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.icon-blue { background: rgba(59,69,240,.12); }
.icon-purple { background: rgba(139,63,240,.12); }
.icon-grad { background: rgba(255,255,255,.18); }
.why-card h3 { font-size: 21px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.highlight { background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.svc-icon { font-size: 30px; width: 60px; height: 60px; display: grid; place-items: center; background: var(--grad-soft); border-radius: 16px; margin-bottom: 18px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list li { font-size: 12.5px; font-weight: 600; color: var(--purple-deep); background: rgba(124,58,237,.08); padding: 5px 11px; border-radius: 999px; }
.tag-list li.tag-more { color: var(--muted); background: transparent; border: 1px dashed var(--line); }

/* ---------- Process / Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--purple)); opacity: .3; z-index: 0; }
.timeline li { position: relative; text-align: center; }
.tl-num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--purple); margin-bottom: 14px; transition: .2s; }
.timeline li:hover .tl-num { border-color: var(--purple); background: var(--grad); color: #fff; transform: scale(1.08); }
.timeline h4 { font-size: 15px; margin-bottom: 4px; }
.timeline p { font-size: 12.5px; color: var(--muted-2); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb { height: 180px; display: grid; place-items: center; position: relative; }
.work-emoji { font-size: 54px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.thumb-1 { background: linear-gradient(135deg, #1e2140, #3b45f0); }
.thumb-2 { background: linear-gradient(135deg, #12324a, #1f9d8f); }
.thumb-3 { background: linear-gradient(135deg, #241748, #8b3ff0); }
.work-body { padding: 22px 24px 26px; }
.work-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); }
.work-body h3 { font-size: 21px; margin: 8px 0 10px; }
.work-body p { font-size: 14.5px; color: var(--muted); }
.work-body p strong { color: var(--ink-2); }
.work-note { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--muted-2); }

/* ---------- AI at the Core ---------- */
.ai-core { background: radial-gradient(120% 120% at 80% 0%, #221a4d, #12142e 60%); color: #fff; border-radius: 0; }
.ai-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ai-core h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 16px; }
.ai-core > .container > .ai-copy > p, .ai-copy p { color: #c4c7de; font-size: 17px; max-width: 520px; }
.ai-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 26px; }
.ai-list li { position: relative; padding-left: 26px; font-size: 15px; color: #e7e8f5; }
.ai-list li::before { content: "✦"; position: absolute; left: 0; color: #a78bfa; }
.ai-visual { display: grid; place-items: center; }
.ai-badge { text-align: center; padding: 40px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.ai-badge img { width: 120px; margin: 0 auto 18px; opacity: .95; }
.ai-badge p { color: #c9cbe6; font-family: var(--font-head); font-weight: 600; }

/* ---------- Stack ---------- */
.stack { background: var(--bg-soft); }
.stack-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stack-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.stack-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: 14px; }
.stack-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.stack-col li { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.stack-col li.more { color: var(--muted); font-weight: 600; font-size: 13px; }

/* ---------- Industries ---------- */
.industry-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.industry-pill { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; transition: .2s; }
.industry-pill:hover { transform: translateY(-3px); border-color: var(--purple); color: var(--purple-deep); box-shadow: var(--shadow-sm); }

/* ---------- Engagement ---------- */
.engage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.engage-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: .2s; }
.engage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.engage-card h4 { font-size: 16px; margin-bottom: 8px; }
.engage-card p { font-size: 14px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.testi-card p { font-size: 16px; color: var(--ink-2); font-style: italic; margin-bottom: 20px; }
.testi-card footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-weight: 500; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; }
.cta-inner { background: var(--grad); border-radius: var(--radius-lg); padding: 46px 54px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(94,60,240,.7); }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-mark { width: 54px; height: 54px; opacity: .95; margin-bottom: 16px; }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-copy p { color: rgba(255,255,255,.9); font-size: 17px; }
.cta-alt { margin-top: 16px; font-size: 15px; }
.cta-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .btn-light { position: relative; z-index: 1; }

/* Contact form */
.contact-form { position: relative; z-index: 1; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field > span { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cf-field .opt { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted-2); }
.cf-field input, .cf-field select, .cf-field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); width: 100%;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.14); background: #fff;
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-submit { justify-content: center; margin-top: 4px; border: none; cursor: pointer; }
.cf-submit:disabled { opacity: .6; cursor: default; }
.cf-status { font-size: 14px; font-weight: 500; margin: 0; min-height: 1.2em; }
.cf-status.ok { color: #15803d; }
.cf-status.err { color: #b91c1c; }
.cf-status a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1222; color: #c9cbe0; padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: #9a9db8; max-width: 340px; }
.footer-col h5 { font-family: var(--font-head); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: #9a9db8; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); color: #c9cbe0; margin: 0; font-size: 14px; }
.social a:hover { background: var(--grad); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 24px; font-size: 13.5px; color: #7d80a0; }
.footer-tagline { font-family: var(--font-head); font-weight: 600; color: #9a9db8; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; order: -1; }
  .ai-inner { grid-template-columns: 1fr; gap: 36px; }
  .why-grid, .services-grid, .work-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .timeline::before { display: none; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .engage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s ease;
  }
  .nav.open { display: flex; transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .section { padding: 64px 0; }
  .why-grid, .services-grid, .work-grid, .testi-grid, .engage-grid, .stack-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; padding: 36px 24px; }
  .contact-form { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Sub-pages (Company Profile, etc.)
   ============================================================ */
.subpage-hero { padding: 60px 0 40px; background: linear-gradient(180deg, var(--bg-tint), #fff); }
.subpage-hero .kicker { display: block; margin-bottom: 10px; }
.subpage-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 760px; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { width: 100%; }

.prose p { font-size: 17px; color: var(--muted); max-width: 780px; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--ink-2); }

.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.disc-panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.disc-panel h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: 16px; }
.disc-grid { display: flex; flex-wrap: wrap; gap: 9px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .vm-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
