/* ============================================
   VERTICIS — Design tokens
   ============================================ */
:root {
  --navy: #031732;
  --navy-soft: #0a2747;
  --teal: #0EC1C1;
  --teal-deep: #0a9b9b;
  --gold: #C9A468;
  --ink: #0c1b2e;
  --gray-700: #4a5568;
  --gray-500: #7c8a9c;
  --gray-200: #e3e8ee;
  --tint: #f3f6f9;
  --white: #ffffff;

  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 20px rgba(3, 23, 50, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(3, 23, 50, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.18;
  font-weight: 600;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(14, 193, 193, 0.35);
}
.btn-primary:hover {
  background: #14d4d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 193, 193, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
}
.lang-toggle:hover { background: var(--tint); }
.lang-opt { transition: color 0.2s; }
.lang-opt.active { color: var(--navy); }
.lang-sep { color: var(--gray-200); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--navy-soft);
  border-bottom: 1px solid var(--gray-200);
}
.nav-mobile .btn { margin-top: 12px; }

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--teal); }
.text-light { color: var(--white); }

h2 {
  font-size: clamp(28px, 4vw, 38px);
  max-width: 720px;
}
.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--gray-700);
  max-width: 560px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 96px 0;
}
.section-tint { background: var(--tint); }
.section-dark {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 150px 0 80px;
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  overflow: hidden;
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 620px;
  opacity: 0.92;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: #c4d3e3;
  max-width: 540px;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hstat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--teal);
}
.hstat-label {
  font-size: 14px;
  color: #9fb3c8;
}

/* ============================================
   GRIDS & CARDS
   ============================================ */
.grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-navy { background: var(--navy); color: var(--teal); }
.icon-teal { background: rgba(14, 193, 193, 0.12); color: var(--teal-deep); }

.card-flat {
  padding: 8px 4px 0;
}
.card-flat h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.card-flat p {
  font-size: 15px;
  color: var(--gray-700);
}

.card-white {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card-white:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.num-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  background: var(--navy);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-white h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.card-white p {
  font-size: 15px;
  color: var(--gray-700);
}

/* ============================================
   TIMELINE (methodology)
   ============================================ */
.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.timeline-track {
  position: absolute;
  top: 17px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.tl-step {
  position: relative;
  z-index: 1;
  padding-top: 0;
}
.tl-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.tl-step h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.tl-step p {
  font-size: 14px;
  color: var(--gray-700);
}

/* ============================================
   IMPACT STATS (dark)
   ============================================ */
.stat-grid { margin-top: 52px; }
.stat-card {
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  font-size: 14.5px;
  color: #aebdcd;
  line-height: 1.4;
}

/* ============================================
   CASES
   ============================================ */
.case-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.case-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.case-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-top: 16px;
  margin-bottom: 6px;
}
.case-card p:not(.case-label) {
  font-size: 14.5px;
  color: var(--gray-700);
}
.case-stats {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 32px;
}
.case-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
}
.case-num.gold { color: var(--gold); font-size: 18px; }
.case-stats span:last-child {
  font-size: 13px;
  color: var(--gray-500);
  max-width: 160px;
}

/* ============================================
   WHY VERTICIS
   ============================================ */
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.why-before {
  font-size: 14.5px;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.why-card p:not(.why-before) {
  font-size: 15px;
  color: var(--gray-700);
}
.why-stat {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-num-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--teal-deep);
}
.why-stat span:last-child {
  font-size: 13.5px;
  color: var(--gray-500);
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-role {
  font-size: 16px;
  color: var(--gray-700);
  margin-top: 10px;
  margin-bottom: 36px;
}
.about-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.about-blocks h4 {
  font-size: 15px;
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.about-blocks p {
  font-size: 14.5px;
  color: var(--gray-700);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: stretch;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
}
.about-stat span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
}
.about-stat small {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   PUBLICATIONS
   ============================================ */
.pub-list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
}
.pub-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.pub-item:first-child { border-top: 1px solid var(--gray-200); }
.pub-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 16px;
}
.pub-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pub-journal {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--teal-deep);
}
.pub-info > span:last-child {
  font-size: 15.5px;
  color: var(--navy-soft);
  font-weight: 500;
}
.pub-doi {
  font-size: 13px;
  color: var(--gray-500);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
#contact h2 { margin: 0 auto; }
.contact-sub {
  margin-top: 18px;
  font-size: 17px;
  color: #c4d3e3;
}
.hero-bg-contact {
  width: 70%;
  opacity: 0.5;
}
.hero-bg-contact .hero-mark { opacity: 0.6; }
.contact-cards {
  margin-top: 44px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(14,193,193,0.4);
}
.contact-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
}
.contact-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}
.contact-signature {
  margin-top: 40px;
  font-size: 14px;
  color: #7e93a9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-inner img { filter: brightness(0) invert(1); opacity: 0.85; }
.footer-inner p {
  font-size: 13.5px;
  color: #7e93a9;
}
.footer-copy { margin-top: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .grid-2 { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .timeline-track { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 56px; }
  .hero-bg { width: 80%; opacity: 0.55; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .about-blocks { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .pub-item { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .pub-doi { grid-row: 3; }
  .contact-card { width: 100%; }
  h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
