/* NIBVEDA main website. Navy, maroon and gold on warm paper; bold type; shapes drawn in CSS only. */
:root {
  --navy-950: #061330;
  --navy-900: #0d2452;
  --navy-800: #14336f;
  --navy-700: #1d438c;
  --maroon: #9e1414;
  --maroon-dark: #7a0f0f;
  --gold: #c9962e;
  --gold-bright: #e3b84f;
  --gold-soft: #f3e3b8;
  --paper: #fbf9f4;
  --cream: #f5efe2;
  --tint: #eef2f9;
  --white: #ffffff;
  --ink: #101d3b;
  --ink-soft: #3e4d6e;
  --muted: #66748f;
  --line: rgba(13, 36, 82, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(6, 19, 48, 0.06), 0 8px 24px rgba(6, 19, 48, 0.07);
  --shadow-2: 0 2px 4px rgba(6, 19, 48, 0.08), 0 24px 56px rgba(6, 19, 48, 0.16);
  --max: 1200px;
  --font: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---- type ------------------------------------------------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -0.02em; line-height: 1.12; color: var(--navy-900); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.accent { color: var(--maroon); font-family: var(--font-serif); font-style: italic; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold-bright); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, 0.82); }
.muted { color: var(--muted); font-size: 0.95rem; }
.note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); max-width: 62ch; }
.note--light { color: rgba(255, 255, 255, 0.7); text-align: center; margin-inline: auto; margin-top: 36px; }
.text-link { color: var(--maroon); font-weight: 700; border-bottom: 2px solid rgba(158, 20, 20, 0.25); transition: border-color 0.2s; }
.text-link:hover { border-color: var(--maroon); }

/* ---- buttons and chips --------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; line-height: 1; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap; }
.btn--small { padding: 11px 18px; font-size: 0.9rem; }
.btn__arrow { width: 14px; height: 14px; position: relative; flex: none; }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); border-radius: 2px; }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__arrow { transition: transform 0.2s var(--ease); }
.btn--primary { background: var(--maroon); color: #fff; box-shadow: 0 8px 20px rgba(158, 20, 20, 0.28); }
.btn--primary:hover { background: var(--maroon-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(158, 20, 20, 0.34); }
.btn--gold { background: var(--gold-bright); color: var(--navy-950); box-shadow: 0 8px 24px rgba(227, 184, 79, 0.3); }
.btn--gold:hover { background: #f1c966; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: rgba(13, 36, 82, 0.25); }
.btn--ghost:hover { border-color: var(--navy-900); background: rgba(13, 36, 82, 0.05); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: translateY(-2px); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip--live { background: rgba(31, 140, 90, 0.14); color: #137a4c; }
.chip--live i { box-shadow: 0 0 0 0 rgba(31, 140, 90, 0.6); animation: pulse 2.2s infinite; }
.chip--new { background: rgba(201, 150, 46, 0.2); color: #8a6212; }
.chip--soon { background: rgba(13, 36, 82, 0.1); color: var(--navy-800); }
.page-hero .chip--live { background: rgba(80, 220, 150, 0.16); color: #7ff0b8; }
.page-hero .chip--new { background: rgba(227, 184, 79, 0.2); color: var(--gold-bright); }
.page-hero .chip--soon, .stack-card .chip--soon { background: rgba(255, 255, 255, 0.14); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 140, 90, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(31, 140, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 140, 90, 0); } }

/* ---- header: same frame as EMT and SkillProject (92px min height, 58px wordmark, tag chip underneath) --------------- */
:root { --frame-height: 92px; --brand-display: "Baskerville Old Face", "Palatino Linotype", "Book Antiqua", Georgia, serif; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--frame-height); box-sizing: border-box; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 2px solid rgba(16, 22, 42, 0.12); box-shadow: 0 12px 24px rgba(16, 22, 42, 0.06); }
.site-header > nav { width: 100%; max-width: 100%; margin: 0 auto; padding: 16px 20px; min-height: calc(var(--frame-height) - 2px); box-sizing: border-box; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.brand { display: block; min-width: 0; flex: 0 1 auto; }
.brand-copy { display: grid; gap: 4px; min-width: 0; text-align: left; justify-items: start; align-content: start; }
.brand-wordmark { display: block; height: 58px; width: auto; max-width: min(100%, 420px); object-fit: contain; justify-self: start; filter: drop-shadow(0 6px 14px rgba(27, 42, 91, 0.08)); }
.brand-title { font-family: var(--brand-display); color: #1b2a5b; font-size: 14px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.12; text-align: left; margin-left: 53px; }
.brand-title-tag { display: inline-flex; align-items: center; line-height: 1; vertical-align: middle; background: #1b2a5b; color: #c9a227; padding: 5px 14px 4px 10px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.header-right-cluster { margin-left: auto; display: grid; gap: 12px; justify-items: end; align-content: end; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; width: 100%; }
.site-nav__links { display: contents; }
.nav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 14px; font-family: var(--brand-display); font-size: 16px; font-weight: 700; letter-spacing: 0.01em; color: #1b2a5b; text-decoration: none; background: transparent; border: 1px solid transparent; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav-link:hover { background: rgba(27, 42, 91, 0.06); color: #0d2452; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { background: #1b2a5b; color: #e3b84f; box-shadow: 0 8px 18px rgba(27, 42, 91, 0.22); }
.nav-link.is-active::after { display: none; }
.nav-link--cta { margin-left: 8px; background: linear-gradient(135deg, #7a0f0f, #9e1414 60%, #b31b1b); color: #fff; border-color: rgba(201, 150, 46, 0.55); box-shadow: 0 8px 18px rgba(158, 20, 20, 0.28); }
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: linear-gradient(135deg, #8c1212, #a81818 60%, #c42020); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(158, 20, 20, 0.34); }
.nav-link--cta.is-active { background: linear-gradient(135deg, #5f0b0b, #7a0f0f); color: #fff; outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.nav-badge { padding: 2px 7px; border-radius: 999px; font-family: var(--font); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--maroon); color: #fff; line-height: 1.4; }
.nav-link.is-active .nav-badge { background: var(--gold-bright); color: var(--navy-950); }
.mobile-menu { display: none; position: relative; z-index: 3; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(201, 162, 39, 0.26); background: linear-gradient(135deg, #1b2a5b 0%, #9f1111 100%); box-shadow: 0 18px 30px rgba(16, 29, 63, 0.18); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.mobile-menu[open] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] .burger i:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(260px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 12px; background: rgba(255, 253, 247, 0.99); border: 1px solid rgba(27, 42, 91, 0.2); border-radius: 20px; box-shadow: 0 18px 40px rgba(16, 29, 63, 0.2); backdrop-filter: blur(14px); z-index: 42; }
.mobile-menu__panel .nav-link { width: 100%; justify-content: flex-start; }
.mobile-menu__panel .nav-link::after { display: none; }
.mobile-menu__panel .nav-link--cta { margin-left: 0; justify-content: center; }
@media (max-width: 1280px) {
  :root { --frame-height: 88px; }
  .site-header > nav { padding: 14px 18px; }
}
@media (max-width: 1120px) {
  .site-nav__links { display: none; }
  .mobile-menu { display: inline-flex; }
}
@media (max-width: 720px) {
  :root { --frame-height: auto; }
  .site-header > nav { align-items: center; flex-wrap: wrap; padding: 6px 14px 4px; gap: 8px; }
  .brand { min-width: 0; flex: 1 1 100%; width: 100%; }
  .brand-copy { gap: 0; width: 100%; }
  .brand-wordmark { height: 46px; max-width: min(100%, 238px); }
  .brand-title { font-size: 13px; margin-left: 0; }
  .header-right-cluster { width: auto; gap: 8px; margin-left: auto; }
  .nav-links { gap: 6px; }
  .mobile-menu summary { width: 42px; height: 42px; }
}
@media (max-width: 560px) { .site-header > nav { padding-inline: 14px; } .mobile-menu__panel { width: min(260px, calc(100vw - 20px)); } }

/* ---- hero ----------------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 520px at 85% 10%, rgba(158, 20, 20, 0.5), transparent 60%),
  radial-gradient(700px 480px at 0% 100%, rgba(227, 184, 79, 0.16), transparent 60%),
  linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, #14336f); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; margin: 22px 0 24px; }
.hero h1 .accent { color: var(--gold-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.hero-points b { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; } }

.hero-visual { position: relative; height: 470px; }
.stack-card { position: absolute; width: min(100%, 340px); padding: 18px 20px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow-2); display: grid; gap: 12px; }
.stack-card strong { font-size: 1.12rem; line-height: 1.2; color: var(--navy-900); }
.stack-card small { color: var(--muted); font-size: 0.82rem; }
.stack-card__bar { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stack-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8dde8; }
.stack-card__bar i:nth-child(1) { background: #e6807a; }
.stack-card__bar i:nth-child(2) { background: #e9c46a; }
.stack-card__bar i:nth-child(3) { background: #7bc79b; }
.stack-card__bar span { margin-left: auto; }
.stack-card--emt { top: 0; left: 0; transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.stack-card--skill { top: 118px; right: 0; transform: rotate(2.5deg); animation: float 8s ease-in-out -2s infinite; z-index: 2; }
.stack-card--soon { bottom: 0; left: 8%; width: min(78%, 290px); background: rgba(255, 255, 255, 0.08); border: 2px dashed rgba(255, 255, 255, 0.4); box-shadow: none; color: #fff; transform: rotate(-1.5deg); backdrop-filter: blur(6px); animation: float 9s ease-in-out -4s infinite; }
.stack-card--soon strong { color: #fff; }
.stack-card--soon small { color: rgba(255, 255, 255, 0.7); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.flow span { padding: 7px 4px; border-radius: 9px; background: var(--tint); color: var(--muted); font-size: 0.72rem; font-weight: 700; text-align: center; }
.flow .is-done { background: rgba(31, 140, 90, 0.14); color: #137a4c; }
.flow .is-now { background: var(--maroon); color: #fff; }
.meter { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.meter b { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--maroon)); }
.doc-lines { display: grid; gap: 9px; }
.doc-lines li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.doc-lines b { flex: none; width: 26px; height: 32px; border-radius: 5px; background: linear-gradient(var(--navy-800) 0 0) 6px 8px / 14px 2px no-repeat, linear-gradient(var(--gold) 0 0) 6px 14px / 14px 2px no-repeat, linear-gradient(var(--tint) 0 0) 6px 20px / 9px 2px no-repeat, #fff; border: 1.5px solid rgba(13, 36, 82, 0.22); }
@media (max-width: 920px) { .hero-visual { height: auto; display: grid; gap: 16px; } .stack-card { position: static; width: 100%; animation: none; transform: none !important; } }

.ribbon { overflow: hidden; background: var(--navy-950); color: var(--gold-soft); border-block: 1px solid rgba(255, 255, 255, 0.08); }
.ribbon__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ribbon span { padding: 15px 30px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.ribbon span::after { content: "\25C6"; margin-left: 60px; color: var(--maroon); font-size: 0.7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- sections ------------------------------------------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--cream { background: var(--cream); }
.section--tint { background: var(--tint); }
.section--dark { color: #fff; background: radial-gradient(800px 420px at 100% 0%, rgba(158, 20, 20, 0.38), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900)); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--dark h2 { color: #fff; }
.section-head--dark .lead { color: rgba(255, 255, 255, 0.8); }
.section-head--dark .eyebrow { color: var(--gold-bright); }
.section-head--dark .accent, .section--dark .accent { color: var(--gold-bright); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--tight { margin-top: clamp(28px, 4vw, 48px); align-items: stretch; }
.split__copy .section-head { margin-bottom: 26px; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.two-col--wide { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 860px) { .two-col, .two-col--wide { grid-template-columns: 1fr; } }
.two-col h2 { margin: 14px 0 18px; }
.two-col h3 { margin-bottom: 14px; }
.two-col p + p { margin-top: 14px; }

.panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); }
.panel h3 { margin-bottom: 12px; }
.panel p { color: var(--ink-soft); }
.panel--soft { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.panel--card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.panel--glass { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-light); backdrop-filter: blur(8px); }
.panel--glass h3 { color: #fff; }

.ticks { display: grid; gap: 11px; margin: 18px 0; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 9px; border-left: 3px solid var(--maroon); border-bottom: 3px solid var(--maroon); transform: rotate(-45deg) scale(0.9); transform-origin: left bottom; }
.section--dark .ticks li { color: rgba(255, 255, 255, 0.82); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.pill-row li { padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-light); color: #fff; }
.pill-row--dark li { background: #fff; border-color: var(--line); color: var(--navy-900); }
.pill-row--big li { padding: 11px 22px; font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--navy-800); font-size: 0.8rem; font-weight: 700; }

/* ---- flagship cards -------------------------------------------------------------------------------------------- */
.flagship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .flagship-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.flagship { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.flagship::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--navy-900); }
.flagship--skillproject::before { background: linear-gradient(90deg, var(--maroon), var(--gold)); }
.flagship--emt::before { background: linear-gradient(90deg, var(--navy-900), var(--navy-700)); }
.flagship--soon { background: repeating-linear-gradient(135deg, #fff, #fff 14px, #faf6ec 14px, #faf6ec 28px); border-style: dashed; border-color: rgba(13, 36, 82, 0.28); }
.flagship--soon::before { background: repeating-linear-gradient(90deg, var(--gold), var(--gold) 10px, transparent 10px, transparent 18px); }
.flagship:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.flagship__top { display: flex; align-items: center; justify-content: space-between; }
.flagship__number { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px rgba(13, 36, 82, 0.2); }
.flagship__audience { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); }
.flagship h3 { font-size: 1.6rem; }
.flagship__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--navy-800); }
.flagship p { color: var(--ink-soft); }
.flagship .ticks { margin: 4px 0 6px; font-size: 0.96rem; }
.flagship__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }

/* ---- supporting services ---------------------------------------------------------------------------------------- */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-top-color: var(--maroon); }
.support-card__group { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.support-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.support-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }

/* ---- EMT: timeline and roles ------------------------------------------------------------------------------------ */
.timeline { display: grid; gap: 0; margin: 26px 0 8px; position: relative; }
.timeline li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding-bottom: 18px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.22); }
.timeline b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-bright); color: var(--navy-950); font-weight: 800; }
.timeline strong { display: block; color: #fff; }
.timeline span { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.role-list { display: grid; gap: 14px; }
.role-list li { padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.role-list li:last-child { border: 0; padding: 0; }
.role-list strong { display: block; color: var(--gold-bright); }
.role-list span { color: rgba(255, 255, 255, 0.8); font-size: 0.93rem; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .role-grid, .role-grid--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .role-grid, .role-grid--three { grid-template-columns: 1fr; } }
.role-card { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-light); transition: background 0.25s, transform 0.25s var(--ease); }
.role-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.role-card h3 { color: var(--gold-bright); margin-bottom: 8px; }
.role-card p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.lifecycle--three { grid-template-columns: repeat(3, 1fr); }
.lifecycle li { position: relative; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.lifecycle--dark li { background: rgba(255, 255, 255, 0.07); border-color: var(--line-light); box-shadow: none; }
.lifecycle--dark h3 { color: #fff; }
.lifecycle--dark p { color: rgba(255, 255, 255, 0.78); }
.lifecycle__index { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--maroon); color: #fff; font-weight: 800; margin-bottom: 14px; }
.lifecycle h3 { font-size: 1.1rem; margin-bottom: 6px; }
.lifecycle p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 1000px) { .lifecycle { grid-template-columns: repeat(2, 1fr); } .lifecycle--three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lifecycle { grid-template-columns: 1fr; } }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .tier-grid { grid-template-columns: 1fr; } }
.tier { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: var(--shadow-1); }
.tier--2 { border-top-color: var(--navy-700); }
.tier--3 { border-top-color: var(--maroon); }
.tier h3 { margin-bottom: 8px; }
.tier p { color: var(--ink-soft); }

/* ---- SkillProject documents -------------------------------------------------------------------------------------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.doc-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.doc-card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-2); }
.doc-card__sheet { position: relative; width: 120px; height: 150px; margin-bottom: 20px; padding: 18px 16px; display: grid; gap: 10px; align-content: start; border-radius: 10px; background: #fff; border: 2px solid var(--navy-900); box-shadow: 8px 8px 0 var(--gold-soft); }
.doc-card__sheet i { display: block; height: 5px; border-radius: 4px; background: rgba(13, 36, 82, 0.18); }
.doc-card__sheet i:nth-child(1) { background: var(--maroon); width: 60%; }
.doc-card__sheet i.short { width: 55%; }
.doc-card--2 .doc-card__sheet { border-color: var(--maroon); box-shadow: 8px 8px 0 rgba(158, 20, 20, 0.14); }
.doc-card--3 .doc-card__sheet { background: var(--navy-950); border-color: var(--navy-950); box-shadow: 8px 8px 0 rgba(13, 36, 82, 0.16); }
.doc-card--3 .doc-card__sheet i { background: rgba(255, 255, 255, 0.28); }
.doc-card--3 .doc-card__sheet i:nth-child(1) { background: var(--gold-bright); }
.doc-card h3 { margin-bottom: 8px; }
.doc-card p { color: var(--ink-soft); font-size: 0.97rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-grid--wide { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid--wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid, .feature-grid--wide { grid-template-columns: 1fr; } }
.feature-grid li { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.feature-grid strong { color: var(--navy-900); }
.feature-grid span { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5; }

/* ---- steps, audiences ------------------------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.steps li { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.steps__index { display: block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 2px var(--maroon); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; } }
.audience { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.audience h3 { margin-bottom: 10px; font-size: 1.3rem; }
.audience p { color: var(--ink-soft); }
.principles { display: grid; gap: 14px; }
.principles li { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: var(--shadow-1); }
.principles strong { color: var(--navy-900); }
.principles span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- inner page hero --------------------------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(700px 420px at 90% 0%, rgba(158, 20, 20, 0.5), transparent 60%),
  linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, #14336f); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 100px); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); margin: 18px 0 20px; }
.page-hero .accent { color: var(--gold-bright); }
.page-hero__chip { margin-bottom: 4px; }
.page-hero__aside { justify-self: end; width: min(100%, 360px); }
@media (max-width: 860px) { .page-hero__inner { grid-template-columns: 1fr; } .page-hero__aside { justify-self: start; } }
.hero-index { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px); }
.hero-index li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--line-light); }
.hero-index li:last-child { border: 0; }
.hero-index b { min-width: 72px; color: var(--gold-bright); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-index em { margin-left: auto; font-style: normal; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--maroon); padding: 3px 8px; border-radius: 99px; }
.soon-card { padding: 26px; border-radius: 20px; border: 2px dashed rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); display: grid; gap: 8px; }
.soon-card__label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
.soon-card strong { font-size: 1.5rem; color: #fff; }
.soon-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

/* ---- services page bands ------------------------------------------------------------------------------------------ */
.service-band { padding-block: clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.service-band--alt { background: var(--tint); }
.service-band__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .service-band__inner { grid-template-columns: 1fr; } }
.service-band__label { display: grid; gap: 14px; justify-items: start; }
.service-band__number { font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px rgba(13, 36, 82, 0.22); }
.service-band__audience { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); }
.service-band__body { display: grid; gap: 14px; }
.service-band__body .lead { font-family: var(--font-serif); font-style: italic; color: var(--navy-800); }

/* ---- call to action ---------------------------------------------------------------------------------------------- */
.cta-band { color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(227, 184, 79, 0.28), transparent 60%), linear-gradient(135deg, var(--maroon-dark), var(--maroon) 55%, #b31b1b); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 84px); }
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 52ch; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- contact ------------------------------------------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.enquiry { display: grid; gap: 16px; margin-top: 18px; }
.enquiry label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--navy-900); }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid rgba(13, 36, 82, 0.2); background: var(--paper); font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(29, 67, 140, 0.15); background: #fff; }
.enquiry textarea { resize: vertical; min-height: 130px; }
.enquiry .btn { justify-self: start; }
.contact-side { display: grid; gap: 16px; }
.mini { padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 6px; }
.mini h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
.mini p { color: var(--ink-soft); }
.mini--soon { border-style: dashed; background: #faf6ec; }

/* ---- footer --------------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; padding: 10px 16px; border-radius: 14px; background: #fff; }
.footer-logo img { height: 38px; width: auto; }
.footer-tagline { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold-bright); }
.footer-small { margin-top: 10px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color 0.2s; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: 0.88rem; }
.footer-bottom .footer-small { margin: 0; }

/* ---- reveal on scroll ---------------------------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (scripting: none) { [data-reveal] { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print { .site-header, .ribbon, .cta-band, .site-footer { display: none; } }

/* ---- contact form status and spam trap ----------------------------------------------------------------------------- */
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-status { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; line-height: 1.5; }
.enquiry-status--info { background: var(--tint); color: var(--navy-800); }
.enquiry-status--ok { background: rgba(31, 140, 90, 0.12); color: #0f6a42; border: 1px solid rgba(31, 140, 90, 0.35); }
.enquiry-status--error { background: rgba(158, 20, 20, 0.08); color: var(--maroon-dark); border: 1px solid rgba(158, 20, 20, 0.28); }
.enquiry .btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- supporting service cards link to their own page ------------------------------------------------------------ */
.support-card { position: relative; display: flex; flex-direction: column; }
.support-card__link { margin-top: auto; padding-top: 14px; font-size: 0.9rem; font-weight: 800; color: var(--maroon); }
.support-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.support-card__link::before { content: ""; display: inline-block; }
.support-card:hover .support-card__link { text-decoration: underline; text-underline-offset: 4px; }
.related-list { display: grid; gap: 14px; margin-top: 16px; }
.related-list li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.related-list li:last-child { border: 0; padding: 0; }
.related-list .muted { font-size: 0.92rem; }

/* ---- Verify a certificate ---- */
.vf-wrap { max-width: 760px; margin-inline: auto; display: grid; gap: 22px; }
.vf-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid rgba(13, 36, 82, 0.14); border-top-width: 6px; box-shadow: 0 18px 44px rgba(13, 36, 82, 0.1); }
.vf-card h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 10px 0 14px; color: var(--ink); }
.vf-card--valid { border-top-color: #1f8f5f; } .vf-card--bad { border-top-color: #c0392b; } .vf-card--warn { border-top-color: #d19a1f; } .vf-card--none { border-top-color: #8793ad; }
.vf-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #e8eef9; color: var(--navy-900); }
.vf-card--valid .vf-pill { background: rgba(31, 143, 95, 0.14); color: #136c45; } .vf-card--bad .vf-pill { background: rgba(192, 57, 43, 0.12); color: #9b2c20; } .vf-card--warn .vf-pill { background: rgba(209, 154, 31, 0.18); color: #7a5600; }
.vf-line { margin: 12px 0 2px; color: var(--muted); font-style: italic; }
.vf-name { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 6px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.vf-title { font-size: clamp(1.1rem, 2.2vw, 1.4rem); margin: 2px 0 6px; color: var(--ink); }
.vf-code, .vf-parts { margin: 4px 0; color: var(--ink-soft); }
.vf-skills { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vf-skills li { padding: 4px 12px; border-radius: 999px; background: #f2f5fb; border: 1px solid rgba(13, 36, 82, 0.12); font-size: 0.85rem; color: var(--ink-soft); }
.vf-copy { margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #f6f8fc; color: var(--ink-soft); }
.vf-copy--ok { background: rgba(31, 143, 95, 0.1); color: #136c45; } .vf-copy--bad { background: rgba(192, 57, 43, 0.1); color: #9b2c20; }
.vf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 22px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(13, 36, 82, 0.1); }
.vf-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 2px; } .vf-facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.vf-panel { padding: clamp(18px, 2.5vw, 26px); border-radius: var(--radius); background: #f6f8fc; border: 1px solid rgba(13, 36, 82, 0.1); }
.vf-form label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.vf-row { display: flex; flex-wrap: wrap; gap: 10px; } .vf-row input { flex: 1 1 260px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(13, 36, 82, 0.25); font: inherit; letter-spacing: 0.04em; text-transform: uppercase; background: #fff; }
.vf-row input:focus { outline: 3px solid rgba(201, 150, 46, 0.45); border-color: var(--gold); }
.vf-hint { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }

.vf-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(13, 36, 82, 0.25); font: 600 14px/1.6 ui-monospace, Consolas, monospace; letter-spacing: 0.04em; text-transform: uppercase; background: #fff; resize: vertical; }
.vf-form textarea:focus { outline: 3px solid rgba(201, 150, 46, 0.45); border-color: var(--gold); }
.vf-table-wrap { overflow-x: auto; margin-top: 8px; } .vf-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.vf-table th { text-align: left; padding: 8px 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid rgba(13, 36, 82, 0.12); } .vf-table td { padding: 9px 10px; border-bottom: 1px solid rgba(13, 36, 82, 0.08); overflow-wrap: anywhere; }
.vf-res { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; background: #e8eef9; color: var(--navy-900); }
.vf-res--valid { background: rgba(31, 143, 95, 0.14); color: #136c45; } .vf-res--revoked, .vf-res--invalid { background: rgba(192, 57, 43, 0.12); color: #9b2c20; } .vf-res--superseded { background: rgba(209, 154, 31, 0.18); color: #7a5600; } .vf-res--none { background: #eceff5; color: #55607a; }

/* ---- Verify: the advanced result view ---- */
.vf-wrap--wide { max-width: 1040px; }
.vf-result { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.vf-cert { position: relative; padding: 34px 38px 28px; text-align: center; background: #fffdf8; border: 3px solid var(--navy-900); border-radius: 6px; outline: 1px solid var(--gold); outline-offset: -10px; box-shadow: 0 24px 56px rgba(13, 36, 82, 0.16); overflow: hidden; }
.vf-cert::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(201, 150, 46, 0.1), transparent 70%); pointer-events: none; }
.vf-ribbon { position: relative; margin: -34px -38px 22px; padding: 10px 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #136c45, #1f8f5f, #136c45); }
.vf-cert--bad .vf-ribbon { background: linear-gradient(90deg, #8f2418, #c0392b, #8f2418); } .vf-cert--warn .vf-ribbon { background: linear-gradient(90deg, #8a6210, #d19a1f, #8a6210); }
.vf-kicker { margin: 0 0 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.26em; color: var(--navy-900); }
.vf-heading { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-900); }
.vf-line { margin: 14px 0 2px; font-style: italic; color: var(--muted); } .vf-cert .vf-name { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4.6vw, 2.8rem); font-style: italic; color: var(--navy-900); border-bottom: 1px solid var(--gold); display: inline-block; padding: 0 22px 6px; }
.vf-cert .vf-title { margin: 6px 0 8px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--ink); }
.vf-meta { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #a87a1f; }
.vf-skillbox { margin: 22px 0 0; padding: 16px 12px 6px; border-top: 1px solid rgba(13, 36, 82, 0.1); }
.vf-skillhead { margin: 0 0 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: #a87a1f; }
.vf-cert .vf-skills { justify-content: center; gap: 9px; } .vf-cert .vf-skills li { padding: 7px 16px; font-size: 0.92rem; font-weight: 700; color: var(--navy-900); background: #eef1f9; border-color: #c7cee3; }
.vf-cert .vf-facts { margin-top: 22px; text-align: left; } .vf-facts dd small { display: block; font-weight: 500; color: var(--muted); }
.vf-side { padding: 22px 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(13, 36, 82, 0.12); box-shadow: 0 14px 34px rgba(13, 36, 82, 0.09); }
.vf-side h3 { margin: 18px 0 8px; font-size: 1rem; color: var(--ink); } .vf-side h4 { margin: 0 0 6px; font-size: 0.92rem; color: var(--ink); }
.vf-verdict { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #136c45, #1f8f5f); } .vf-verdict strong { font-size: 1.2rem; } .vf-verdict span { font-size: 0.82rem; opacity: 0.92; }
.vf-verdict--bad { background: linear-gradient(135deg, #8f2418, #c0392b); } .vf-verdict--warn { background: linear-gradient(135deg, #8a6210, #d19a1f); }
.vf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; line-height: 1.45; color: var(--ink-soft); }
.vf-tick { flex: none; position: relative; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #1f8f5f; }
.vf-tick::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.vf-check.is-bad .vf-tick { background: #c0392b; } .vf-check.is-bad .vf-tick::after { left: 9px; top: 4px; width: 2px; height: 12px; border-width: 0 2px 0 0; transform: rotate(45deg); box-shadow: -1px 0 0 #fff; }
.vf-check.is-info .vf-tick { background: #8793ad; } .vf-check.is-info .vf-tick::after { left: 9px; top: 4px; width: 2px; height: 7px; border-width: 0 2px 0 0; transform: none; }
.vf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.vf-means { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #f6f8fc; font-size: 0.9rem; color: var(--ink-soft); } .vf-means p { margin: 0 0 8px; }
.vf-note { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .vf-result { grid-template-columns: 1fr; } .vf-cert { padding: 28px 18px 22px; } .vf-ribbon { margin: -28px -18px 18px; } }
.vf-badge { display: flex; gap: 16px; align-items: center; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #f3f5fb; border: 1px dashed #aab3d2; }
.vf-badge img { flex: none; display: block; width: 112px; height: auto; min-height: 100px; }
.vf-badge strong { display: block; margin-bottom: 4px; font-size: 0.95rem; color: var(--ink); }
.vf-badge span { display: block; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 480px) { .vf-badge { flex-direction: column; text-align: center; } }
