/*==================================================================
  Naveen Kumar — Enterprise Security Leadership Portfolio
  "Platinum Light" executive design system.
  Bespoke CSS (no Bootstrap) — light, editorial, C-level.
==================================================================*/

/*------------------ Design tokens ------------------*/
:root {
  --bg:        #F7F8FA;   /* porcelain */
  --bg-2:      #EEF1F6;
  --surface:   #FFFFFF;
  --surface-2: #F4F6FA;
  --ink:       #0B1220;   /* near-black navy */
  --ink-2:     #384153;   /* secondary text */
  --muted:     #6B7280;
  --line:      #E4E8F0;
  --line-2:    #D8DEEA;

  --accent:    #2563EB;   /* primary blue */
  --accent-ink:#1D4ED8;
  --cyan:      #0EA5E9;
  --red:       #E11D48;   /* offensive accent */
  --green:     #059669;   /* defensive accent */
  --violet:    #7C3AED;

  --grad:      linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  --grad-soft: linear-gradient(135deg, rgba(37,99,235,.12), rgba(14,165,233,.12));

  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 3px rgba(11,18,32,.05);
  --shadow-md: 0 6px 18px rgba(11,18,32,.08), 0 2px 6px rgba(11,18,32,.05);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.12), 0 8px 24px rgba(11,18,32,.07);
  --shadow-accent: 0 16px 40px rgba(37,99,235,.28);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --maxw: none;                        /* content fills the full body width on desktop */
  --gutter: clamp(20px, 5vw, 64px);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/*------------------ Reset ------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(37,99,235,.18); }

/*------------------ Typography ------------------*/
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p  { color: var(--ink-2); text-align: justify; text-justify: inter-word; }
/* keep intentionally-centered paragraphs centered, not justified */
.section-head.center p, .cta p { text-align: center; }
/* on narrow columns, hyphenate so justified text doesn't open big gaps */
@media (max-width: 600px) { p { -webkit-hyphens: auto; hyphens: auto; } }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

/*------------------ Layout ------------------*/
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.075rem; }
.bg-surface { background: var(--surface); }
.bg-tint { background:
  radial-gradient(1200px 500px at 80% -10%, rgba(37,99,235,.06), transparent 60%),
  var(--bg-2); }

/*------------------ Buttons ------------------*/
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--pad);
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(37,99,235,.36); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }

/*------------------ Scroll progress ------------------*/
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 1000; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(37,99,235,.5);
}

/*------------------ Navbar ------------------*/
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding-block: 18px;
}
.nav.scrolled {
  background: rgba(247,248,250,.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding-block: 11px;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.brand .monogram {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: .95rem; font-weight: 800;
  box-shadow: var(--shadow-accent);
}
.brand b { font-size: 1.06rem; }
.brand span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 1.5rem; color: var(--ink); place-items: center; }

/*------------------ Hero ------------------*/
.hero { padding-top: clamp(120px, 16vw, 168px); padding-bottom: clamp(60px, 8vw, 96px); overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(720px 420px at 12% 8%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(680px 420px at 92% 30%, rgba(14,165,233,.10), transparent 60%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); margin: 18px 0 10px; }
.hero-copy .role {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.01em;
}
.hero-rotate { margin-top: 8px; font-size: 1.05rem; color: var(--ink-2); min-height: 1.6em; }
.hero-rotate .rot { color: var(--accent); font-weight: 600; }
.hero-copy .lead { margin-top: 20px; font-size: 1.12rem; max-width: 44ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-quick div { display: flex; flex-direction: column; }
.hero-quick b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.hero-quick small { color: var(--muted); font-size: .82rem; letter-spacing: .02em; }

/* Profile card */
.profile-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg);
}
.profile-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(37,99,235,.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.profile-photo {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r);
  background: var(--surface-2);
}
.profile-card .pc-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-top: 18px; }
.profile-card .pc-role { color: var(--accent); font-weight: 600; font-size: .9rem; }
.profile-card .pc-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; margin-top: 8px; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-chips span { font-size: .76rem; font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); background: var(--grad-soft); color: var(--accent-ink); }
.pc-social { display: flex; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pc-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); font-size: 1.15rem; transition: all .22s var(--ease);
}
.pc-social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-accent); }
.pc-badge {
  position: absolute; top: 40px; right: 40px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.95); color: var(--green); font-weight: 700; font-size: .72rem;
  padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid rgba(5,150,105,.3);
  box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
.pc-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(5,150,105,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(5,150,105,.5);} 70%{ box-shadow: 0 0 0 8px rgba(5,150,105,0);} 100%{ box-shadow: 0 0 0 0 rgba(5,150,105,0);} }

/*------------------ Metric band ------------------*/
.metrics { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.metrics::before { content:""; position:absolute; inset:0; background:
  radial-gradient(600px 300px at 10% 0%, rgba(37,99,235,.35), transparent 60%),
  radial-gradient(600px 300px at 90% 100%, rgba(14,165,233,.3), transparent 60%); }
.metrics .container { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-block: 56px; }
.metric { text-align: center; }
.metric b { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); background: linear-gradient(180deg,#fff, #c7d6ff); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.metric span { color: #aeb9cf; font-size: .9rem; font-weight: 500; }
.metric .sep { display:none; }

/*------------------ Pillars (about) ------------------*/
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.about-copy p + p { margin-top: 16px; }
.about-copy .signature { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow-sm); font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad-soft); color: var(--accent); margin-bottom: 14px; }
.pillar h4 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar p { font-size: .9rem; }

/*------------------ Focus areas ------------------*/
.focus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.focus {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.focus::after { content:""; position:absolute; left:0; top:0; height:3px; width:100%; transform: scaleX(0); transform-origin: left; background: var(--grad); transition: transform .35s var(--ease); }
.focus:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.focus:hover::after { transform: scaleX(1); }
.focus .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px; background: var(--grad-soft); color: var(--accent); transition: all .3s var(--ease); }
.focus:hover .ic { background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); }
.focus h3 { font-size: 1.18rem; margin-bottom: 10px; }
.focus p { font-size: .94rem; }
.focus.red .ic { background: rgba(225,29,72,.1); color: var(--red); }
.focus.red:hover .ic { background: linear-gradient(135deg,#e11d48,#fb7185); color:#fff; box-shadow: 0 16px 40px rgba(225,29,72,.28); }
.focus.red::after { background: linear-gradient(135deg,#e11d48,#fb7185); }
.focus.green .ic { background: rgba(5,150,105,.1); color: var(--green); }
.focus.green:hover .ic { background: linear-gradient(135deg,#059669,#34d399); color:#fff; box-shadow: 0 16px 40px rgba(5,150,105,.28); }
.focus.green::after { background: linear-gradient(135deg,#059669,#34d399); }
.focus.violet .ic { background: rgba(124,58,237,.1); color: var(--violet); }
.focus.violet:hover .ic { background: linear-gradient(135deg,#7c3aed,#a78bfa); color:#fff; box-shadow: 0 16px 40px rgba(124,58,237,.28); }
.focus.violet::after { background: linear-gradient(135deg,#7c3aed,#a78bfa); }

/*------------------ Experience timeline ------------------*/
.timeline { position: relative; }
.timeline::before { content:""; position:absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.tl-item { position: relative; padding-left: 58px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position:absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.tl-item.current .tl-dot { background: var(--accent); }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.tl-head h3 { font-size: 1.16rem; }
.tl-head .co { color: var(--accent); font-weight: 700; }
.tl-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green); background: rgba(5,150,105,.1); padding: 3px 9px; border-radius: var(--r-pill); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .86rem; margin: 8px 0 12px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tl-item ul.pts { display: grid; gap: 7px; }
.tl-item ul.pts li { position: relative; padding-left: 20px; font-size: .94rem; color: var(--ink-2); }
.tl-item ul.pts li::before { content:""; position:absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/*------------------ Competencies ------------------*/
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.comp-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.15rem; }
.comp-col h3 i { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  font-size: .88rem; font-weight: 500; padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  transition: all .2s var(--ease);
}
.chips span:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.strengths { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.strength { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-align: center; }
.ring { --v: 0; width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--v)*1%), var(--surface-2) 0); position: relative; }
.ring::before { content:""; position:absolute; inset: 9px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font-family: var(--display); font-weight: 700; color: var(--ink); }
.strength small { color: var(--muted); font-size: .85rem; font-weight: 600; }

/*------------------ Credentials ------------------*/
.cred-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.cert-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.cert { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cert:last-child { border-bottom: none; }
.cert i { color: var(--accent); font-size: 1.2rem; margin-top: 2px; }
.cert.highlight i { color: var(--violet); }
.cert b { display: block; font-size: .95rem; color: var(--ink); font-family: var(--sans); font-weight: 600; }
.cert small { color: var(--muted); font-size: .82rem; }
.edu .edu-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.edu .edu-item:last-child { border-bottom: none; }
.edu h4 { font-family: var(--display); font-size: 1.02rem; color: var(--ink); text-transform: none; letter-spacing: normal; margin-bottom: 6px; }
.edu .edu-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .84rem; }
.edu .edu-meta span { display: inline-flex; align-items: center; gap: 5px; }

/*------------------ Insights ------------------*/
.insights-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.insight { display: grid; grid-template-columns: 150px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight .thumb { background: var(--surface-2); overflow: hidden; }
.insight .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.insight:hover .thumb img { transform: scale(1.06); }
.insight .body { padding: 20px; display: flex; flex-direction: column; }
.insight .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.insight h3 { font-size: 1.1rem; margin: 8px 0; }
.insight .by { color: var(--muted); font-size: .82rem; margin-top: auto; }
.insight .read { color: var(--accent); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.insight .read i { transition: transform .2s; }
.insight:hover .read i { transform: translateX(4px); }

/*------------------ Enablement ------------------*/
.enable-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.enable-stat { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 34px; text-align: center; position: relative; overflow: hidden; }
.enable-stat::before { content:""; position:absolute; inset:0; background: radial-gradient(400px 200px at 50% 0, rgba(37,99,235,.4), transparent 60%); }
.enable-stat b { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem,6vw,3.6rem); display: block; background: linear-gradient(180deg,#fff,#bcd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.enable-stat span { position: relative; color: #aeb9cf; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.topic-chips span { font-size: .86rem; font-weight: 500; padding: 9px 15px; border-radius: var(--r-pill); background: var(--grad-soft); color: var(--accent-ink); }
.event-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.event-line i { font-size: 1.4rem; color: var(--accent); margin-top: 2px; }
.event-line b { display:block; color: var(--ink); font-family: var(--display); }
.event-line small { color: var(--muted); font-size: .85rem; }

/*------------------ Contact CTA ------------------*/
.cta {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(40px,6vw,72px);
  position: relative; overflow: hidden; text-align: center;
}
.cta::before { content:""; position:absolute; inset:0; background:
  radial-gradient(600px 320px at 15% 0%, rgba(37,99,235,.4), transparent 60%),
  radial-gradient(600px 320px at 85% 100%, rgba(14,165,233,.35), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2rem,4.5vw,3rem); }
.cta p { color: #c3ccdd; max-width: 52ch; margin: 16px auto 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--display); font-size: 1.15rem; color: #fff; }
.cta-mail i { color: var(--cyan); }

/*------------------ Footer ------------------*/
footer.ft { padding-block: 44px; border-top: 1px solid var(--line); }
footer.ft .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ft .brand span { color: var(--muted); }
/* keep the footer monogram's "NK" legible (the rule above was greying it out) */
.ft .brand .monogram { color: #000; }
.ft-tag { color: var(--muted); font-size: .9rem; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: 1.15rem; transition: all .22s var(--ease); }
.ft-social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-accent); }
.ft-copy { width: 100%; text-align: center; color: var(--muted); font-size: .82rem; padding-top: 20px; border-top: 1px solid var(--line); }

/*------------------ Back to top ------------------*/
#to-top { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow-accent); opacity: 0; transform: translateY(16px); transition: all .3s var(--ease); }
#to-top.show { opacity: 1; transform: translateY(0); }
#to-top:hover { transform: translateY(-3px); }

/*------------------ Reveal on scroll ------------------*/
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }
[data-reveal].d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/*------------------ Mobile menu ------------------*/
.mobile-menu {
  position: fixed; inset: 0; z-index: 950; background: rgba(247,248,250,.98);
  backdrop-filter: blur(10px); display: flex; flex-direction: column; padding: 26px var(--gutter);
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .mm-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 1.5rem; display: grid; place-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-menu nav a { font-family: var(--display); font-weight: 600; font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu nav a:active { color: var(--accent); }
.mobile-menu .mm-cta { margin-top: auto; }

/*==================================================================
  Responsive
==================================================================*/
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .profile-card { max-width: 460px; }
  .about-grid, .comp-grid, .cred-grid, .enable-grid, .insights-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: repeat(2,1fr); }
  .metrics .container { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
  .cert-cols { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 680px) {
  .focus-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .strength { padding: 14px 8px; }
  .ring { width: 78px; height: 78px; }
  .insight { grid-template-columns: 1fr; }
  .insight .thumb { height: 170px; }
  .cert-cols { grid-template-columns: 1fr; }
  .hero-quick { gap: 20px; }
  .hero-quick b { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .strengths { grid-template-columns: 1fr; }
  .metrics .container { grid-template-columns: 1fr; }
}

/*==================================================================
  Sub-pages (insight article & event write-up)
==================================================================*/
.subnav { position: sticky; }
.article-hero {
  padding-top: clamp(120px, 15vw, 160px); padding-bottom: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(37,99,235,.08), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.article-hero .back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.article-hero .back i { transition: transform .2s; }
.article-hero .back:hover i { transform: translateX(-4px); }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.article-hero .sub { color: var(--accent); font-family: var(--display); font-weight: 600; margin-top: 8px; }
.article-hero .amETA { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .88rem; margin-top: 14px; }
.article-hero .amETA span { display: inline-flex; align-items: center; gap: 6px; }
.article-hero .disclaimer { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: #92400e; background: #fef3c7; border: 1px solid #fde68a; padding: 8px 14px; border-radius: var(--r-pill); }

.article { padding-block: clamp(36px, 6vw, 64px); }
.article .wrap { max-width: 820px; margin-inline: auto; }
.article h4, .article h5 { font-family: var(--display); color: var(--ink); margin: 26px 0 8px; }
.article h5 { font-size: 1.15rem; color: var(--accent); }
.article p { color: var(--ink-2); margin-bottom: 8px; }
.article h6 { color: var(--muted); font-weight: 500; font-size: .9rem; margin: 6px 0; }
.article .onestp { margin: 26px 0; }
.article .onestp h2 { font-size: 1.5rem; margin-bottom: 8px; }
.article .onestp h3 { color: var(--accent); font-size: 1.25rem; margin-bottom: 8px; }
.keyspa, .comspa {
  font-family: var(--sans); font-weight: 600; font-size: .92em;
  background: rgba(37,99,235,.1); color: var(--accent-ink);
  padding: 2px 8px; border-radius: 6px;
}
.comspa { font-family: "Courier New", monospace; background: #0b1220; color: #7dffb0; }
.imgblo { margin: 16px 0; }
.imgstp {
  width: 100%; border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.article .byline { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article .byline h3 { font-size: 1.15rem; }
.article .byline h3 span, .article .byline span { color: var(--accent); }
.article .byline .more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; margin-top: 12px; }
marquee { color: var(--muted); }
.article-center { text-align: center; margin: 30px 0; }

/*==================================================================
  Agentic-cyber intro loader (index only)
==================================================================*/
#agent-loader {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% 38%, #12233d 0%, #0b1220 46%, #060a12 100%);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
#agent-loader.al-done { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
#al-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.al-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: 24px; }

.al-emblem { position: relative; width: 180px; height: 180px; display: grid; place-items: center; }
.al-ring { position: absolute; border-radius: 50%; }
.al-ring.r1 { inset: 0; border: 1.5px dashed rgba(34,211,238,.5); animation: al-spin 16s linear infinite; }
.al-ring.r2 {
  inset: 16px; border: 2px solid transparent;
  border-top-color: #3B82F6; border-right-color: #22D3EE;
  box-shadow: 0 0 18px rgba(34,211,238,.25);
  animation: al-spin 2.4s linear infinite;
}
.al-ring.r3 { inset: 30px; border: 1px solid rgba(59,130,246,.22); overflow: hidden; }
.al-ring.r3::before {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, rgba(34,211,238,.5), rgba(34,211,238,0) 24%);
  animation: al-spin 3s linear infinite;
}
.al-orbit { position: absolute; inset: 4px; animation: al-spin 5s linear infinite; }
.al-orbit::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #22D3EE; box-shadow: 0 0 14px #22D3EE;
}
.al-orbit.rev { inset: 22px; animation-duration: 3.6s; animation-direction: reverse; }
.al-orbit.rev::after { background: #7dd3fc; box-shadow: 0 0 12px #7dd3fc; width: 7px; height: 7px; }
.al-mono {
  position: relative; z-index: 3; width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: #fff; background: var(--grad);
  box-shadow: 0 0 30px rgba(34,211,238,.55), 0 10px 34px rgba(37,99,235,.55);
  animation: al-pulse 2.4s ease-in-out infinite;
}

.al-status {
  display: flex; align-items: center; gap: 9px;
  font: 500 .9rem/1 "Courier New", monospace; letter-spacing: .04em; color: #9ad4ff;
  min-height: 1em;
}
.al-status .al-dot { width: 8px; height: 8px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 10px #22D3EE; animation: al-blink 1s steps(1) infinite; }
.al-status .al-caret { color: #22D3EE; animation: al-blink 1s steps(1) infinite; }

.al-bar { width: 340px; max-width: 74vw; height: 4px; border-radius: 99px; background: rgba(148,163,184,.2); overflow: hidden; }
.al-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3B82F6, #22D3EE); box-shadow: 0 0 12px rgba(34,211,238,.7); transition: width .18s linear; }
.al-pct { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; color: #dbeafe; }
.al-brand { font: 600 .68rem/1 var(--sans); letter-spacing: .24em; color: #5b7aa8; margin-top: 2px; }

@keyframes al-spin { to { transform: rotate(360deg); } }
@keyframes al-blink { 50% { opacity: 0; } }
@keyframes al-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(34,211,238,.4), 0 10px 30px rgba(37,99,235,.4); }
  50% { box-shadow: 0 0 44px rgba(34,211,238,.8), 0 10px 40px rgba(37,99,235,.65); }
}
@media (prefers-reduced-motion: reduce) {
  #agent-loader { transition: opacity .3s ease; }
  .al-ring, .al-orbit, .al-mono, .al-status .al-dot, .al-status .al-caret { animation: none !important; }
}
@media (max-width: 480px) {
  .al-emblem { width: 150px; height: 150px; }
  .al-mono { width: 62px; height: 62px; font-size: 1.3rem; }
}
