:root {
  --bg: #0b0d10;
  --panel: #12161c;
  --panel-2: #181d24;
  --border: #27303b;
  --text: #eef2f6;
  --muted: #a2adbb;
  --accent: #ff6200;
  --accent-2: #19c37d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #0b0d10 0%, #11161d 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav { display:flex; justify-content:space-between; align-items:center; padding:18px 0 8px; color:var(--muted); font-size:14px; }
.brand { font-weight: 700; letter-spacing: 0; color:var(--text); opacity:.88; }
.nav a { color: var(--muted); margin-left: 18px; opacity:.78; transition:opacity .15s ease,color .15s ease; }
.nav a:hover { color: var(--text); opacity:1; }
.hero { padding: 26px 0 34px; }
.hero-profile-grid { display:grid; grid-template-columns: 320px minmax(0,1fr); gap:18px; align-items:stretch; }
.profile-card, .hero-main-card { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border:1px solid var(--border); border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.25); }
.profile-card { overflow:hidden; }
.profile-card > img { width:100%; height:320px; object-fit:cover; object-position:center 18%; display:block; background:#0e1115; border-bottom:1px solid var(--border); }
.profile-card-body { padding:18px; }
.profile-card-body strong { display:block; font-size:26px; margin-bottom:8px; }
.profile-card-body span { display:block; color:var(--muted); line-height:1.6; }
.profile-card-body .profile-education { font-size:13px; line-height:1.5; margin-top:4px; }
.cert-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; margin-top:18px; }
.cert-slot { min-height:86px; display:grid; place-items:center; padding:8px; border:1px solid var(--border); border-radius:8px; background:rgba(255,255,255,.03); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.cert-slot:hover { transform:translateY(-2px); border-color:rgba(255,176,122,.55); background:rgba(255,176,122,.07); box-shadow:0 12px 28px rgba(0,0,0,.26), 0 0 0 1px rgba(255,176,122,.08) inset; }
.cert-slot img { width:100%; max-width:72px; height:auto; display:block; }
.cert-slot-empty span { color:var(--muted); font-size:12px; line-height:1.35; text-align:center; }
.hero-main-card { padding:28px; }
.badge { display:inline-block; background: rgba(255,98,0,.14); color:#ffb07a; border:1px solid rgba(255,98,0,.35); padding:8px 12px; border-radius:8px; font-size:14px; font-weight: 700; }
h1 { font-size: 25px; line-height: 1.02; margin: 18px 0 14px; }
.lead { color: var(--muted); font-size: 19px; max-width: none; line-height: 1.6; }
.actions { display:flex; gap:14px; margin-top:24px; flex-wrap: wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height: 46px; padding: 12px 18px; border-radius: 8px; border:1px solid var(--border); background: var(--panel); font-weight:700; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); border-color: #465364; }
.btn.primary { background: var(--accent); color:#111111; border-color: transparent; }
.btn.primary:hover { background: #ff7a24; }
.section { padding: 34px 0; }
.section h2 { font-size: 30px; margin: 0 0 10px; }
.section p.section-copy { color: var(--muted); max-width: none; line-height: 1.6; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; margin-top: 20px; }
.poc-carousel { display:flex; gap:18px; margin-top:20px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; padding-bottom:12px; }
.poc-carousel .card { flex:0 0 min(360px, 86vw); scroll-snap-align:start; }
.poc-carousel .card-body { min-height:260px; display:flex; flex-direction:column; }
.poc-carousel .card-actions { margin-top:auto; }
.poc-carousel::-webkit-scrollbar { height:10px; }
.poc-carousel::-webkit-scrollbar-track { background:#0e1115; border-radius:8px; }
.poc-carousel::-webkit-scrollbar-thumb { background:var(--border); border-radius:8px; }
.insight-carousel { display:flex; gap:18px; margin-top:20px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; padding-bottom:12px; }
.insight-carousel::-webkit-scrollbar { height:10px; }
.insight-carousel::-webkit-scrollbar-track { background:#0e1115; border-radius:8px; }
.insight-carousel::-webkit-scrollbar-thumb { background:var(--border); border-radius:8px; }
.card { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid var(--border); border-radius: 8px; overflow:hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.card img { width:100%; height:180px; object-fit: cover; display:block; background:#0e1115; border-bottom: 1px solid var(--border); }
.card-body { padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 22px; }
.insight-card { flex:0 0 min(360px, 86vw); scroll-snap-align:start; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.insight-card-body { min-height:260px; padding:18px; display:flex; flex-direction:column; }
.insight-card h3 { margin: 0 0 8px; font-size: 22px; }
.insight-card .card-actions { margin-top:auto; }
.insight-eyebrow { margin:0 0 12px; color:#ffb07a; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.insight-date { margin: -4px 0 12px; color: var(--muted); font-size: 12px; }
.meta { color: var(--muted); font-size: 14px; line-height: 1.6; }
.tags { display:flex; gap:8px; flex-wrap:wrap; margin: 14px 0 16px; }
.tag { border:1px solid var(--border); color:#cdd6e0; background: rgba(255,255,255,.03); padding:7px 10px; border-radius: 8px; font-size: 13px; }
.card-actions { display:flex; gap:10px; }
.diagram-box { margin-top:18px; padding:16px; border:1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.02); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.diagram-box img { width:100%; border-radius: 8px; }
.poc-detail-page h1 { font-size: 42px; }
.poc-hero .lead { max-width: 860px; }
.poc-detail-page .section p.section-copy, .poc-detail-page .lead { max-width: none; }
.detail-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:18px; }
.principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principles-card-wide { grid-column: span 2; }
.publications-grid { margin-top: 18px; }
.publication-card { display:flex; flex-direction:column; gap:12px; }
.publication-card .card-actions { margin-top:auto; }
.publication-meta { color:#ffb07a; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.portfolio-flow { margin-top:18px; }
.detail-card { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border:1px solid var(--border); border-radius:8px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.detail-card h2, .detail-card h3 { margin-top:0; }
.detail-card p:last-child, .detail-card ul:last-child, .detail-card ol:last-child { margin-bottom:0; }
.step-list, .clean-list { color:var(--muted); line-height:1.7; padding-left:22px; }
.step-list code, .clean-list code, .section-copy code { color:var(--text); }
.callout { border:1px solid var(--border); border-radius:8px; padding:14px; background:rgba(255,255,255,.03); margin-top:12px; }
.callout strong { display:block; margin-bottom:6px; }
.callout p { margin:0; color:var(--muted); line-height:1.6; }
.code-block { overflow:auto; padding:14px; border:1px solid var(--border); border-radius:8px; background:#070a0f; color:#dbe7f3; line-height:1.5; }
.footer { color: var(--muted); padding: 42px 0 60px; font-size: 14px; }
.form { display:grid; gap: 12px; max-width: 560px; }
.input, textarea { width:100%; padding: 14px 16px; border-radius: 8px; border:1px solid var(--border); background: #0d1117; color: var(--text); }
.input:focus, textarea:focus { outline: 3px solid rgba(255,98,0,.22); border-color: var(--accent); }
.small { font-size: 13px; color: var(--muted); }
.kpis { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; margin-top: 22px; }
.kpi { padding: 16px; background: var(--panel); border:1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.kpi strong { display:block; font-size: 24px; margin-bottom: 6px; }
.contact-section { padding-top: 10px; }
.contact-logo-links { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin-top:18px; }
.contact-logo-link { display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--border); border-radius:8px; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); box-shadow:0 10px 30px rgba(0,0,0,.18); transition:border-color .15s ease, transform .15s ease, background .15s ease; }
.contact-logo-link:hover { border-color:#465364; transform:translateY(-1px); }
.contact-logo-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:8px; border:1px solid var(--border); background:#0f141b; color:#dfe6ef; flex-shrink:0; }
.contact-logo-icon svg { width:24px; height:24px; fill:currentColor; }
.contact-logo-copy { display:grid; gap:4px; min-width:0; }
.contact-logo-copy strong { font-size:17px; }
.contact-logo-copy span { color:var(--muted); line-height:1.5; }
@media (max-width: 760px) {
  .nav { align-items:flex-start; gap: 12px; flex-direction: column; }
  .nav a { margin-left: 0; margin-right: 14px; }
  .hero-profile-grid { grid-template-columns: 1fr; }
  .hero-main-card { padding:20px; }
  .profile-card > img { height:300px; }
  h1 { font-size: 38px; }
  .poc-detail-page h1 { font-size: 36px; }
  .kpis { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-card-wide { grid-column: auto; }
  .btn { width: 100%; }
  .card-actions, .actions { flex-direction: column; }
}
