/* ═══════════════════════════════════════
   PintarMind navy theme for the inner pages.
   Loaded after style.css; re-maps its tokens and restyles shared parts
   to match the home page (v2.css).
═══════════════════════════════════════ */
:root {
  --paper: #0A1429;        /* deep PintarMind navy */
  --paper-alt: #0D1A35;
  --surface: #12244A;
  --ink: #EDF3FC;
  --ink-soft: #A9B7CD;
  --muted: #8393AF;
  --rule: rgba(148, 180, 230, .14);
  --rule-strong: rgba(148, 180, 230, .3);
  --brand: #6B9DD8;        /* brand blue */
  --brand-deep: #A9C8EE;   /* light brand blue: readable for small text on navy */
  --brand-tint: rgba(107, 157, 216, .14);
  --navy: #0A1429;
  --good: #34D399;
  --bad: #F87171;
  --bad-bg: rgba(248, 113, 113, .1);
  --grad: linear-gradient(95deg, #E3EEFB 0%, #A9C8EE 40%, #6B9DD8 100%);
  --glass: linear-gradient(180deg, rgba(24,46,90,.55), rgba(15,31,61,.55));

  --serif: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --nav-h: 68px;
  --maxw: 1200px;
}

html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); }
a { color: var(--brand-deep); }
:focus-visible { outline-color: var(--brand); }

h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; }
h1 { line-height: 1.02; }
h3 { font-family: var(--serif); letter-spacing: -.01em; }
h1 em, h2 em, .band-navy h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s; }
.btn-primary, .btn-dark, .btn-light { background: #fff; color: #0A1429; box-shadow: 0 8px 30px -8px rgba(255,255,255,.45); }
.btn-primary:hover, .btn-dark:hover, .btn-light:hover { background: #E3EEFB; color: #0A1429; transform: translateY(-1px); box-shadow: 0 12px 40px -8px rgba(255,255,255,.6); }
.btn-link, .band-navy .btn-link { color: var(--ink); text-decoration-color: var(--rule-strong); }

/* Nav */
#navbar { background: transparent; border-bottom-color: transparent; transition: background-color .3s, border-color .3s; }
#navbar.scrolled { background: rgba(10,20,41,.78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--rule); box-shadow: none; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; }
.logo-w1 { color: #fff; }
.nav-links { gap: 2rem; }
.nav-links a { color: var(--ink-soft); font-size: .92rem; border-bottom: none; }
.nav-links a.active { color: #fff; border-bottom: none; text-shadow: 0 0 18px rgba(107,157,216,.8); }
.nav-cta { border: none; border-radius: 999px; padding: .6rem 1.15rem; font-size: .88rem; font-weight: 600; color: #0A1429; background: #fff; box-shadow: 0 8px 30px -8px rgba(255,255,255,.45); }
.nav-cta:hover { background: #E3EEFB; }
.mobile-nav { background: var(--paper); border-top-color: var(--rule); }
.mobile-nav a:not(.btn) { color: var(--ink); font-family: var(--serif); font-weight: 600; border-bottom-color: var(--rule); }

/* Page heads: glow and faint grid instead of a flat navy band */
main { padding-top: 0; }
.band-navy { position: relative; isolation: isolate; overflow: hidden; background: transparent; padding-top: var(--nav-h); }
.band-navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 10%, transparent 70%); opacity: .6; }
.band-navy::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: min(1000px, 140vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(107,157,216,.35), rgba(61,111,175,.12) 45%, transparent 70%); filter: blur(20px); pointer-events: none; }
.band-navy .lede { color: var(--ink-soft); }
.band-navy .kicker, .band-navy .kicker a { color: var(--brand); }
.band-navy .lede a { color: var(--brand-deep); }
/* pages without a navy band still need room for the fixed nav */
main > :first-child:not(.band-navy) { margin-top: var(--nav-h); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.subnav a { color: var(--ink); border-color: var(--rule-strong); background: rgba(255,255,255,.03); }
.subnav a:hover { background: var(--brand); color: #071226; }

.section-alt, .band-tint { background: linear-gradient(180deg, transparent, rgba(15,31,61,.6) 20%, rgba(15,31,61,.6) 80%, transparent); }
.section-head h2, .howto-head h2, .statement h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; }

/* Cards: glass panels with a mouse-follow glow */
.tile, .offer, .case-card, .story-card, .watch-card, .work-card, .contact-form, .calc-results, .note, .report {
  position: relative; isolation: isolate; overflow: hidden; background: var(--glass); border: 1px solid var(--rule); border-radius: 18px; color: var(--ink);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.case-card { border-top: 1px solid var(--rule); }
.tile::before, .offer::before, .case-card::before, .story-card::before, .watch-card::before, .work-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(107,157,216,.2), transparent 45%);
}
.tile:hover, .offer:hover, .case-card:hover, .story-card:hover, .watch-card:hover, .work-card:hover { border-color: rgba(169,200,238,.32); box-shadow: 0 20px 60px -30px rgba(61,111,175,.7); transform: translateY(-3px); }
.tile:hover::before, .offer:hover::before, .case-card:hover::before, .story-card:hover::before, .watch-card:hover::before, .work-card:hover::before { opacity: 1; }
.tile-icon { background: radial-gradient(circle at 50% 40%, rgba(169,200,238,.3), rgba(107,157,216,.12)); box-shadow: 0 0 24px rgba(107,157,216,.35), inset 0 0 0 1px rgba(169,200,238,.25); }
.tile-icon svg { stroke: #DCE9F9; }
.chips li { color: var(--brand-deep); background: var(--brand-tint); border: 1px solid rgba(107,157,216,.25); }
.case-card img, .client-list img, .partner img { background: #fff; padding: 3px; border-radius: 10px; }
.story-card img { background: none; padding: 0; border-radius: 0; height: 60px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; align-self: flex-start; }
.watch-play { background: linear-gradient(180deg, #A9C8EE, #5A8BCB); box-shadow: 0 0 24px rgba(107,157,216,.6); }
.watch-play::after { border-left-color: #071226; }
.story-card h3, .story-card h2, .watch-card h3, .work-card h3, .offer h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
.more { color: var(--ink); }
.more:hover { color: var(--brand-deep); }

/* Big numbers get the brand gradient */
.figures dt, .stats dt, .mini-stats dt, .calc-result strong { font-family: var(--serif); font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ledger-row .after { color: var(--brand-deep); }

/* Lines and lists */
.numbered, .ledger, .case, .service:first-child, .steps, .calc, .about-facts, .pillars, .faq, .contact-details, .case-facts, .sustain-grid, .sustain-list, .flow { border-top-color: rgba(107,157,216,.55); }
.report-table td { border-bottom-color: var(--rule); }
.report-table tr.flag td { background: var(--bad-bg); }
.report figcaption { border-top-color: var(--rule); }
.faq-q { color: var(--ink); font-family: var(--sans); }
.faq-q::after { color: var(--brand); }
.pull p, .case blockquote p { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }

/* Forms */
.form-group input, .form-group select, .form-group textarea { background: rgba(4,10,24,.5); color: var(--ink); border-color: var(--rule-strong); border-radius: 10px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); background: rgba(4,10,24,.7); box-shadow: 0 0 0 3px rgba(107,157,216,.2); }
.form-group select option { background: #0D1A35; }
.calc-field input[type=range] { background: rgba(255,255,255,.12); }
.calc-field input[type=range]::-webkit-slider-thumb { background: var(--brand); border-color: var(--paper); box-shadow: 0 0 0 1px var(--brand), 0 0 14px rgba(107,157,216,.7); }
.calc-field input[type=range]::-moz-range-thumb { background: var(--brand); border-color: var(--paper); }

/* Placeholders the client still has to fill in */
.todo { background: rgba(217,164,59,.08); border-color: rgba(217,164,59,.5); color: #F2D59B; }
.photo-placeholder { background-color: rgba(15,31,61,.6); background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,.03) 12px 24px); }
.video video, .video-placeholder { background: #050B18; border-radius: 18px; }
.video video { border: 1px solid var(--rule-strong); box-shadow: 0 40px 120px -40px rgba(61,111,175,.7); }

/* CTA band */
.cta { position: relative; isolation: isolate; overflow: hidden; background: transparent; border-top: 1px solid var(--rule); padding-block: clamp(4.5rem, 10vw, 7rem); }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -70%; width: min(1100px, 160vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(107,157,216,.45), rgba(61,111,175,.18) 40%, transparent 70%); filter: blur(20px); pointer-events: none; }
.cta h2 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta p { color: var(--ink-soft); }

/* Footer */
.site-footer { background: transparent; border-top: 1px solid var(--rule); }
.footer-brand p { color: var(--muted); }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top-color: var(--rule); }
.footer-bottom p { color: var(--muted); }
.footer-bottom a { color: var(--ink-soft); }
.wa-float { box-shadow: 0 8px 30px -6px rgba(37,211,102,.5); }

/* Scroll reveal (classes added by v2.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; }
  .tile:hover, .offer:hover, .case-card:hover, .story-card:hover, .watch-card:hover, .work-card:hover { transform: none; }
}

/* ── Services: products and modules ───────── */
.product-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.offer .product-tag + h2 { margin-top: .2rem; font-size: 1.9rem; }
.offer .tile-icon { margin-bottom: 1rem; }
.product { scroll-margin-top: var(--nav-h); }
.product .section-head .muted { margin-top: .75rem; }

.modules { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.modules li { position: relative; padding: 1.5rem 1.5rem 1.6rem 4.4rem; border-radius: 18px; background: var(--glass); border: 1px solid var(--rule); transition: border-color .3s; }
.modules li:hover { border-color: rgba(169,200,238,.32); }
.mod-num { position: absolute; left: 1.4rem; top: 1.45rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; color: #071226; background: linear-gradient(180deg, #A9C8EE, #5A8BCB); box-shadow: 0 0 18px rgba(107,157,216,.5); }
.mod-addon .mod-num { color: var(--brand-deep); background: transparent; border: 1px dashed rgba(169,200,238,.5); box-shadow: none; font-size: 1rem; }
.modules h3 { font-size: 1.05rem; font-weight: 600; }
.modules p { margin-top: .4rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

.scout-flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.scout-flow::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(107,157,216,.15), rgba(169,200,238,.6), rgba(107,157,216,.15)); }
.scout-flow li { position: relative; text-align: center; padding: 0 .4rem; }
.sf-icon { position: relative; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; display: grid; place-items: center; background: #0D1A35; border: 1px solid rgba(169,200,238,.35); box-shadow: 0 0 26px rgba(107,157,216,.35); }
.sf-icon svg { width: 24px; height: 24px; fill: none; stroke: #DCE9F9; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scout-flow li:last-child .sf-icon { background: linear-gradient(180deg, #A9C8EE, #5A8BCB); }
.scout-flow li:last-child .sf-icon svg { stroke: #071226; }
.scout-flow h3 { font-size: 1rem; font-weight: 600; }
.scout-flow p { margin-top: .35rem; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }

.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.works-label { text-align: center; }
.works-with { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.works-with li { font-size: .88rem; color: var(--ink-soft); padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--rule-strong); background: rgba(255,255,255,.03); }
.section-tight .note { margin: 2.5rem auto 0; text-align: center; }

@media (max-width: 960px) {
  .scout-flow { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .scout-flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(107,157,216,.15), rgba(169,200,238,.6), rgba(107,157,216,.15)); }
  .scout-flow li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; text-align: left; padding: 0; }
  .sf-icon { grid-row: span 2; margin: 0; }
  .scout-flow h3 { align-self: end; }
}

/* ── FAQ groups and rich answers ───────────── */
.faq-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; max-width: 48rem; }
.faq-jump a { font-size: .88rem; color: var(--ink-soft); text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--rule-strong); background: rgba(255,255,255,.03); transition: color .2s, border-color .2s; }
.faq-jump a:hover { color: var(--ink); border-color: rgba(169,200,238,.5); }
.faq-group { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 48rem; margin: 3.5rem 0 1rem; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.faq-jump + .faq-group { margin-top: 0; }
.faq-group-lede { max-width: 44rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.faq-a > div { overflow: hidden; max-width: 44rem; }
.faq-item.open .faq-a > div { padding-bottom: 1.4rem; }
.faq-a > div > * + * { margin-top: .8rem; }
.faq-a > div p { color: var(--ink-soft); }
.faq-a strong { color: var(--ink); }
.faq-list { padding-left: 1.2rem; color: var(--ink-soft); }
.faq-list li + li { margin-top: .25rem; }
.faq-list li::marker { color: var(--brand); }
.faq-a .faq-rules { font-family: var(--mono); font-size: .8rem; line-height: 1.8; color: var(--brand-deep); padding: .7rem 1rem; border-radius: 12px; background: rgba(107,157,216,.08); border: 1px solid rgba(107,157,216,.2); }
.faq-a .faq-get { color: var(--ink); padding-left: 1rem; border-left: 2px solid var(--brand); }
.faq-get span { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .15rem; }
.faq-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; }
.faq-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .85rem; }
.faq-table th { text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--muted); padding: .7rem .8rem; background: rgba(255,255,255,.03); }
.faq-table td { padding: .7rem .8rem; border-top: 1px solid var(--rule); color: var(--ink-soft); vertical-align: top; }
.faq-table td:first-child { white-space: nowrap; color: var(--ink); }
.sev { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 500; padding: .1rem .4rem; border-radius: 5px; margin-right: .3rem; color: #0A1429; }
.sev.s1 { background: #F87171; }
.sev.s2 { background: #FB923C; }
.sev.s3 { background: #FBBF24; }
.sev.s4 { background: #34D399; }

/* Case studies: one card per industry, two by two */
.story-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .story-grid-4 { grid-template-columns: minmax(0, 1fr); } }
