/* ══════════════════════════════════════════════
   DEVKRISHNA KC — Portfolio
   Theme: "Midnight Convoy" — deep navy · gold
   ══════════════════════════════════════════════ */

:root {
  --navy-950: #060d1a;
  --navy-900: #0a1526;
  --navy-850: #0c1a30;
  --navy-800: #0f1f38;
  --navy-700: #16304f;
  --line: rgba(148, 178, 220, 0.14);
  --gold: #e3b341;
  --gold-soft: #f2cc6b;
  --cyan: #4cc3f0;
  --text: #e8eef7;
  --muted: #97a7bf;
  --radius: 18px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(76, 195, 240, 0.07), transparent 60%),
    radial-gradient(1000px 700px at -10% 40%, rgba(227, 179, 65, 0.05), transparent 55%),
    var(--navy-950);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.accent { color: var(--gold); }

::selection { background: rgba(227, 179, 65, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Preloader ─────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-950);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.anchor-loader {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--gold);
  font-family: var(--font-head); letter-spacing: .35em; font-size: .8rem;
}
.anchor-loader svg {
  width: 52px; height: 52px;
  animation: anchor-bob 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(227, 179, 65, .5));
}
.anchor-loader span { animation: pulse-text 1.6s ease-in-out infinite; }
@keyframes anchor-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes pulse-text { 0%,100% { opacity: .35 } 50% { opacity: 1 } }

/* ── Scroll progress ───────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 1200; box-shadow: 0 0 10px rgba(227, 179, 65, .6);
}

/* ── Navbar ────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s;
}
.navbar.scrolled {
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 46px; width: 46px; object-fit: contain;
  transition: transform .3s;
}
.brand:hover .brand-logo { transform: scale(1.06); }
.footer-logo { height: 64px; width: 64px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative; font-size: .92rem; color: var(--muted);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0%; height: 2px; border-radius: 2px;
  background: var(--gold); transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons / chips ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #caa03a);
  color: #14100a;
  box-shadow: 0 12px 28px -10px rgba(227, 179, 65, .55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(227, 179, 65, .65); }
.btn-outline {
  border-color: rgba(227, 179, 65, .45); color: var(--gold-soft);
}
.btn-outline:hover { background: rgba(227, 179, 65, .1); transform: translateY(-3px); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(148, 178, 220, 0.08);
  border: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.chip svg { width: 15px; height: 15px; color: var(--gold); }

.mini-label {
  display: inline-block; font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 130px; padding-bottom: 40px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 220, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.glow-1 { width: 480px; height: 480px; top: -140px; right: -80px; background: rgba(76, 195, 240, .16); }
.glow-2 { width: 420px; height: 420px; bottom: -120px; left: -100px; background: rgba(227, 179, 65, .12); }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(227, 179, 65, .09);
  border: 1px solid rgba(227, 179, 65, .35);
  color: var(--gold-soft); font-size: .84rem; font-weight: 500;
  margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; fill: var(--gold); stroke: none; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-role {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600; color: var(--cyan);
  margin-bottom: 18px;
}
.hero-role svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }

.hero-desc {
  color: var(--muted); max-width: 560px; margin-bottom: 26px;
  font-size: 1.02rem;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.photo-radar {
  position: absolute; width: min(430px, 88vw); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(76, 195, 240, 0) 0deg, rgba(76, 195, 240, .22) 60deg, rgba(76, 195, 240, 0) 70deg);
  animation: radar-spin 6s linear infinite;
  mask-image: radial-gradient(circle, transparent 62%, black 63%);
  -webkit-mask-image: radial-gradient(circle, transparent 62%, black 63%);
}
.photo-radar::before, .photo-radar::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px dashed rgba(76, 195, 240, .25);
}
.photo-radar::before { inset: 12%; }
.photo-radar::after { inset: 28%; }
@keyframes radar-spin { to { transform: rotate(360deg) } }

.photo-frame {
  position: relative; width: min(320px, 74vw); aspect-ratio: 4/5;
  border-radius: 200px 200px 24px 24px;
  overflow: visible;
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
  border: 2px solid rgba(227, 179, 65, .55);
  box-shadow: var(--shadow), 0 0 60px -18px rgba(76, 195, 240, .4);
}
.frame-ring {
  position: absolute; inset: -14px;
  border-radius: 214px 214px 38px 38px;
  border: 1px dashed rgba(227, 179, 65, .4);
  animation: ring-drift 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ring-drift {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
}

.icon-badge {
  position: absolute;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 26, 48, .88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: float-y 4.5s ease-in-out infinite;
  z-index: 3;
}
.icon-badge svg { width: 27px; height: 27px; color: var(--gold); }
.ib-waves svg, .ib-island svg { color: var(--cyan); }
.ib-compass { top: 2%; left: -4%; animation-delay: 0s; border-color: rgba(227, 179, 65, .45); }
.ib-ship { top: 14%; right: -8%; animation-delay: .9s; border-color: rgba(227, 179, 65, .45); }
.ib-waves { bottom: 20%; left: -10%; animation-delay: 1.8s; border-color: rgba(76, 195, 240, .45); }
.ib-island { bottom: 0%; right: -4%; animation-delay: 2.6s; border-color: rgba(76, 195, 240, .45); }
@keyframes float-y { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* stats band */
.stats-band {
  margin-top: 70px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 26px; gap: 20px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 15%; height: 70%;
  width: 1px; background: var(--line);
}
.stat-num {
  display: block; font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--gold);
}
.stat-label { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

.wave-divider { display: block; width: 100%; height: 52px; margin-bottom: -1px; }
.wave-divider.flip { transform: rotate(180deg); margin: -1px 0 0; }

/* ── Sections generic ──────────────────────── */
.section { padding: 46px 0 56px; position: relative; }
.about { background: var(--navy-900); padding-top: 0; }
.journey, .skills, .awards { background: var(--navy-900); }

.sec-head { text-align: center; margin-bottom: 36px; }
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800; letter-spacing: -.02em;
}

.glass-panel {
  background: linear-gradient(160deg, rgba(22, 48, 79, .32), rgba(12, 26, 48, .55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.glass-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 179, 65, .4);
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 700;
  margin-bottom: 18px; color: var(--text);
}
.panel-title svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }
.panel-title.center { justify-content: center; }

/* ── About ─────────────────────────────────── */
.objective-full {
  position: relative; overflow: hidden;
  padding: 40px 46px;
  margin-bottom: 26px;
}
.quote-mark {
  position: absolute; top: -14px; right: 26px;
  font-family: var(--font-head); font-size: 8rem; line-height: 1;
  color: rgba(227, 179, 65, .12); user-select: none;
}
.obj-text {
  color: var(--muted); margin: 14px 0 24px;
  font-size: 1.05rem; max-width: 900px;
}
.interest-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.dossier-table { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.dossier, .docs { padding: 30px; }
.dossier-list { display: grid; gap: 12px; }
.dossier-list div {
  display: flex; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.dossier-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.dossier-list dt { color: var(--muted); font-size: .88rem; }
.dossier-list dd { font-weight: 600; font-size: .9rem; text-align: right; }

.docs-list { display: grid; gap: 10px; margin-bottom: 16px; }
.docs-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  background: rgba(6, 13, 26, .45);
  border: 1px solid var(--line); font-size: .88rem;
}
.docs-list span { color: var(--muted); flex: 1; }
.docs-list span .till {
  display: block; font-style: normal; font-weight: 500;
  font-size: .72rem; letter-spacing: .02em; color: var(--cyan);
  text-transform: none;
}
.docs-list em { font-style: normal; font-weight: 600; letter-spacing: .03em; }
.docs-list b.ok {
  font-size: .68rem; letter-spacing: .14em; color: #59d99d;
  background: rgba(89, 217, 157, .12); border: 1px solid rgba(89, 217, 157, .35);
  padding: 4px 10px; border-radius: 999px;
}
.docs-note { font-size: .8rem; color: var(--muted); }
.docs-note strong { color: var(--gold-soft); }

/* ── Journey timeline (horizontal) ─────────── */
.timeline {
  position: relative;
  display: flex; gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}
.timeline::before {
  content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy-700) 3%, var(--navy-700) 97%, transparent);
}
.timeline::-webkit-scrollbar { height: 8px; }
.timeline::-webkit-scrollbar-track { background: transparent; }
.timeline::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 99px; }
.t-item {
  position: relative; flex: 0 0 288px;
  padding-top: 48px;
  scroll-snap-align: start;
  display: flex;
}
.t-dot {
  position: absolute; top: 11px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--navy-950); z-index: 2;
}
.t-dot.army { background: var(--gold); box-shadow: 0 0 14px rgba(227, 179, 65, .7); }
.t-dot.un { background: #6fb7ff; box-shadow: 0 0 14px rgba(111, 183, 255, .7); }
.t-dot.sea { background: var(--cyan); box-shadow: 0 0 14px rgba(76, 195, 240, .7); }
.t-dot.pulse::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0% { transform: scale(.6); opacity: 1 }
  100% { transform: scale(1.6); opacity: 0 }
}
.t-card {
  flex: 1; padding: 26px 26px;
  overflow-wrap: break-word;
}
.t-card time {
  display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin: 8px 0 6px;
}
.t-card h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 8px; }
.t-card p { color: var(--muted); font-size: .92rem; }
.t-card p strong { color: var(--gold-soft); }
.t-card.featured { border-color: rgba(76, 195, 240, .5); box-shadow: 0 0 46px -14px rgba(76, 195, 240, .35); }

.tl-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 6px; }
.tl-btn {
  width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(12, 26, 48, .8); color: var(--gold);
  border: 1px solid var(--line);
  transition: all .25s;
}
.tl-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.tl-btn svg { width: 18px; height: 18px; }

.t-era {
  display: inline-block; font-size: .66rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.era-army { color: var(--gold-soft); background: rgba(227, 179, 65, .1); border: 1px solid rgba(227, 179, 65, .35); }
.era-un { color: #8ec2ff; background: rgba(111, 183, 255, .1); border: 1px solid rgba(111, 183, 255, .35); }
.era-sea { color: var(--cyan); background: rgba(76, 195, 240, .1); border: 1px solid rgba(76, 195, 240, .35); }
.era-gold { color: var(--gold-soft); background: rgba(227, 179, 65, .12); border: 1px solid rgba(227, 179, 65, .4); }

/* ── Experience ────────────────────────────── */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 34px; }
.exp-card { padding: 34px; }
.exp-head { display: flex; gap: 18px; margin-bottom: 22px; }
.exp-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(227, 179, 65, .12); border: 1px solid rgba(227, 179, 65, .35);
  color: var(--gold);
}
.exp-icon.alt { background: rgba(76, 195, 240, .1); border-color: rgba(76, 195, 240, .35); color: var(--cyan); }
.exp-icon svg { width: 27px; height: 27px; }
.exp-head h3 { font-family: var(--font-head); font-size: 1.22rem; margin-bottom: 4px; }
.exp-org { display: block; font-size: .88rem; color: var(--cyan); font-weight: 600; }
.exp-time { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; letter-spacing: .05em; }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 30px; color: var(--muted); font-size: .93rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 6px;
  background: rgba(89, 217, 157, .12); border: 1px solid rgba(89, 217, 157, .4);
}
.check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 9px;
  width: 8px; height: 4.5px;
  border-left: 2px solid #59d99d; border-bottom: 2px solid #59d99d;
  transform: rotate(-45deg);
}
.check-list.compact { grid-template-columns: 1fr 1fr; gap: 9px; }
.check-list.compact li { font-size: .87rem; }

.work-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 34px;
  max-height: 340px;
}
.work-banner.hide { display: none; }
.work-banner img { width: 100%; height: 340px; object-fit: cover; opacity: .85; }
.work-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 26px 18px;
  background: linear-gradient(transparent, rgba(6, 13, 26, .95));
  font-size: .9rem; color: var(--gold-soft); letter-spacing: .04em;
}

.resp-grid { display: grid; grid-template-columns: 1fr; }
.resp-col { padding: 34px; }

.dash-list { display: grid; gap: 12px; }
.dash-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: .93rem; }
.dash-list li::before {
  content: "⚓"; position: absolute; left: 0; top: 0;
  font-size: .85rem; color: var(--gold);
}

/* ── Skills ────────────────────────────────── */
.expertise-band { padding: 36px; margin-bottom: 30px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-cloud span {
  padding: 10px 20px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: var(--text);
  background: rgba(6, 13, 26, .5); border: 1px solid var(--line);
  transition: all .25s;
  cursor: default;
}
.tag-cloud span:hover {
  border-color: var(--gold); color: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(227, 179, 65, .4);
}

.toolkit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.toolkit { padding: 30px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-list li {
  padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--gold-soft);
  background: rgba(227, 179, 65, .08); border: 1px solid rgba(227, 179, 65, .3);
}

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-grid .glass-panel { padding: 30px; }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tick-list li {
  position: relative; padding-left: 26px; font-size: .9rem; color: var(--muted);
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}

/* ── Training ──────────────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.cert-card { padding: 30px; position: relative; }
.cert-card.wide { grid-column: span 1; }
.cert-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); background: rgba(76, 195, 240, .1);
  border: 1px solid rgba(76, 195, 240, .35);
  padding: 5px 11px; border-radius: 999px;
}
.cert-card h3 { font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 10px; max-width: 75%; }
.cert-card p { color: var(--muted); font-size: .89rem; }

.cert-note {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 18px;
  padding: 26px 30px;
  border-color: rgba(227, 179, 65, .4);
  background: linear-gradient(160deg, rgba(227, 179, 65, .08), rgba(12, 26, 48, .5));
}
.cert-note svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.cert-note p { color: var(--muted); font-size: .93rem; }
.cert-note strong { color: var(--gold-soft); }

.edu-strip {
  display: flex; align-items: center; gap: 22px;
  padding: 24px 30px;
}
.edu-strip p { font-size: .95rem; color: var(--muted); }
.edu-strip strong { color: var(--text); }

/* ── Awards ────────────────────────────────── */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-card { padding: 36px 30px; text-align: center; }
.medal {
  width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(111, 183, 255, .28), rgba(12, 26, 48, .8));
  border: 1px solid rgba(111, 183, 255, .4);
  color: #8ec2ff;
  box-shadow: 0 14px 34px -12px rgba(111, 183, 255, .45);
}
.medal.gold {
  background: radial-gradient(circle at 32% 28%, rgba(227, 179, 65, .32), rgba(12, 26, 48, .8));
  border-color: rgba(227, 179, 65, .5); color: var(--gold);
  box-shadow: 0 14px 34px -12px rgba(227, 179, 65, .55);
}
.medal svg { width: 40px; height: 40px; }
.award-card time {
  display: block; font-size: .78rem; letter-spacing: .08em;
  color: var(--cyan); margin: 8px 0 10px; text-transform: uppercase; font-weight: 600;
}
.accent-card time { color: var(--gold-soft); }
.award-card h3 { font-family: var(--font-head); font-size: 1.18rem; margin-bottom: 8px; }
.award-card p { color: var(--muted); font-size: .89rem; }

/* ── Contact ───────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
}
.cc-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(227, 179, 65, .1); border: 1px solid rgba(227, 179, 65, .3);
  color: var(--gold);
}
.cc-icon svg { width: 21px; height: 21px; }
.contact-card small { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-size: .98rem; word-break: break-word; }

.contact-form { padding: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px;
  background: rgba(6, 13, 26, .55);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem; text-transform: none;
  resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(227, 179, 65, .15);
}

/* ── Footer ────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 34px;
  background: var(--navy-950);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-quote { color: var(--muted); font-size: .92rem; font-style: italic; }
.copy { font-size: .8rem; color: rgba(151, 167, 191, .6); }

/* ── To top ────────────────────────────────── */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 1000;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #caa03a);
  color: #14100a; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s;
  box-shadow: 0 14px 30px -10px rgba(227, 179, 65, .6);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ── Reveal on scroll ──────────────────────── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 150px; }
  .hero-content { order: 2; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-chips, .hero-actions { justify-content: center; }
  .hero-visual { order: 1; }
  .toolkit-grid, .cert-grid { grid-template-columns: 1fr 1fr; }
  .cert-note { grid-column: 1 / -1; }
  .award-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .exp-grid, .duo-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dossier-table { grid-template-columns: 1fr; }
  .objective-full { padding: 32px 26px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw);
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(6, 13, 26, .97); backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transition: right .4s cubic-bezier(.22,.61,.36,1);
  }
  .nav-links.open { right: 0; }
  .stats-band { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat + .stat::before { display: none; }

  .t-item { flex-basis: min(280px, 80vw); }

  .field-row, .check-list.compact { grid-template-columns: 1fr; }
  .toolkit-grid, .cert-grid { grid-template-columns: 1fr; }
  .cert-card.wide { grid-column: auto; }
  .tick-list { grid-template-columns: 1fr; }
  .icon-badge { width: 46px; height: 46px; }
  .icon-badge svg { width: 21px; height: 21px; }
  .ib-compass { left: -2%; }
  .ib-ship { right: -2%; }
  .ib-waves { left: -4%; }
  .ib-island { right: -2%; }
  .section { padding: 34px 0 44px; }
  .about { padding-top: 0; }
}

@media (max-width: 420px) {
  .brand-logo { height: 40px; width: 40px; }
}
