:root {
  --bg: #f2f4f8;
  --bg-soft: #eef2f7;
  --paper: #fbfcfe;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --ink: #132a46;
  --ink-soft: #1f3f64;
  --ink-muted: #25456b;
  --line: rgba(21, 48, 79, 0.12);
  --line-strong: rgba(21, 48, 79, 0.2);
  --navy: #0f2f57;
  --brand: #1f5a43;
  --brand-deep: #164734;
  --cream: #f5f0e6;
  --blue: #2f69cc;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 14px 36px rgba(13, 35, 61, 0.08);
  --shadow-lift: 0 18px 42px rgba(13, 35, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.68;
  background:
    radial-gradient(42rem 21rem at 8% -10%, rgba(47, 105, 204, 0.14), transparent 72%),
    radial-gradient(38rem 18rem at 90% 4%, rgba(31, 90, 67, 0.12), transparent 74%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  hyphens: none;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 248, 0.78);
  border-bottom: 1px solid rgba(21, 48, 79, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(21, 48, 79, 0.1);
  border-radius: 999px;
  padding: 0.28rem;
}

.nav-links a {
  padding: 0.56rem 0.92rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #173a61;
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  border-color: rgba(31, 90, 67, 0.34);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow: 0 7px 18px rgba(15, 47, 87, 0.1);
}

main {
  padding: 2.25rem 0 4.1rem;
}

.surface {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 254, 0.91));
  box-shadow: var(--shadow-soft);
}

.surface::before {
  content: none;
}

.hero {
  padding: clamp(1.8rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-lift);
  background:
    radial-gradient(34rem 18rem at 5% -8%, rgba(86, 140, 225, 0.2), transparent 72%),
    radial-gradient(24rem 14rem at 92% 8%, rgba(64, 140, 104, 0.15), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 255, 0.96));
  border-color: rgba(21, 48, 79, 0.14);
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  top: -180px;
  right: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 157, 130, 0.16), rgba(100, 157, 130, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.hero h1,
.page-title,
.section-title {
  margin: 0;
  font-family: "Archivo", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
  color: #102b4a;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  color: #102f53;
}

main p,
main li,
main td,
main th,
main label {
  color: #1b3f67;
}

.hero h1 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.06;
  max-width: 11ch;
  color: #17365a;
  font-weight: 700;
  text-wrap: balance;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  color: #24466d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.lead {
  margin: 1rem 0 0;
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.lead-spaced {
  margin-top: 0.8rem;
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.86rem 1.24rem;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
button {
  color: #f5fcf8;
  background: linear-gradient(180deg, #246c4e 0%, var(--brand-deep) 100%);
  border-color: rgba(18, 58, 43, 0.48);
  box-shadow: 0 14px 28px rgba(22, 71, 52, 0.24);
}

.btn-secondary {
  color: var(--navy);
  background: var(--surface-strong);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: rgba(21, 48, 79, 0.3);
  box-shadow: 0 8px 20px rgba(15, 47, 87, 0.1);
}

.quick-stats {
  display: grid;
  gap: 0.86rem;
}

.stat {
  padding: 1.08rem;
  border: 1px solid rgba(21, 48, 79, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.stat .label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2f7454;
  font-weight: 800;
}

.stat .value {
  margin: 0.34rem 0 0;
  font-family: "Archivo", "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #1b3d64;
}

.stat .desc {
  margin: 0.54rem 0 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: #1f3f64;
}

.section {
  margin-top: 1.2rem;
  padding: clamp(1.35rem, 2.5vw, 2.2rem);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 700;
  color: #133154;
}

.section-intro,
.page-intro {
  margin-top: 0.72rem;
  max-width: 980px;
  color: #1f4067;
  font-size: 1.05rem;
  line-height: 1.78;
  font-weight: 500;
}

.page-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
}

.grid-3,
.grid-2,
.publications-list,
.portfolio-list {
  margin-top: 1.08rem;
  display: grid;
  gap: 0.95rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.publications-list,
.portfolio-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.publication-item,
.portfolio-item,
.contact-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.9));
  padding: 1.12rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card::before,
.publication-item::before,
.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  width: 62px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #2d7e5e, rgba(45, 126, 94, 0));
  pointer-events: none;
}

.card:hover,
.publication-item:hover,
.portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(13, 35, 61, 0.12);
}

.card h3,
.publication-item h3,
.portfolio-item h3,
.contact-panel h3 {
  margin: 0 0 0.48rem;
  font-family: "Archivo", "Plus Jakarta Sans", sans-serif;
  font-size: 1.03rem;
  color: #17375c;
}

.card p,
.publication-item p,
.portfolio-item p,
.contact-panel p,
.publication-error {
  margin: 0;
  color: #1f4067;
  line-height: 1.68;
}

.bullets {
  margin: 0.72rem 0 0;
  padding-left: 1.1rem;
  color: #1f4067;
}

.bullets li {
  margin: 0.38rem 0;
}

.publication-date {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 800;
  color: #1f456f;
}

.publication-cta {
  margin-top: 0.7rem;
}

.publication-cta a,
.article-back {
  font-weight: 700;
  color: #206246;
}

.publication-item h3 a:hover,
.publication-cta a:hover,
.article-back:hover,
.footer-links a:hover,
.footer-text a:hover {
  color: var(--brand-deep);
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-color: rgba(15, 47, 87, 0.16);
}

.article-shell::before {
  content: none;
}

.article-back {
  display: inline-flex;
  margin-bottom: 0.95rem;
}

.article-shell .publication-date {
  color: #1b476f;
}

.article-shell .page-title {
  color: #0f2f57;
}

.article-content {
  margin-top: 1rem;
  color: #1d3e66;
}

.article-content p {
  margin: 0 0 1rem;
  color: #1d3e66;
  line-height: 1.82;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 1.3rem 0 0.72rem;
  font-family: "Archivo", "Plus Jakarta Sans", sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #102f53;
}

.article-content h2 {
  font-size: 1.5rem;
}

.article-content h3 {
  font-size: 1.3rem;
}

.article-content h4,
.article-content h5,
.article-content h6 {
  font-size: 1.12rem;
}

.article-content ul,
.article-content ol {
  margin: 0.25rem 0 1rem 1.3rem;
  padding: 0;
  color: #1d3e66;
}

.article-content li {
  margin: 0.3rem 0;
}

.article-content blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid rgba(31, 90, 67, 0.36);
  border-radius: 10px;
  background: rgba(31, 90, 67, 0.06);
  color: #17385c;
}

.article-content hr {
  border: 0;
  border-top: 1px solid rgba(15, 47, 87, 0.2);
  margin: 1.2rem 0;
}

.article-content a {
  color: #1f5a43;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0 1.25rem;
  border: 1px solid rgba(15, 47, 87, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.article-content thead th {
  background: #edf3fb;
  color: #123356;
  font-weight: 800;
}

.article-content th,
.article-content td {
  text-align: left;
  vertical-align: top;
  padding: 0.72rem 0.78rem;
  border-bottom: 1px solid rgba(15, 47, 87, 0.12);
  border-right: 1px solid rgba(15, 47, 87, 0.1);
  color: #1c3f67;
}

.article-content th:last-child,
.article-content td:last-child {
  border-right: 0;
}

.article-content tbody tr:nth-child(even) {
  background: #f8fbff;
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
}

.holdings-band {
  margin-top: 1.2rem;
}

.holdings-ticker {
  margin-top: 0.88rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 253, 0.9));
}

.holdings-ticker::before,
.holdings-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 76px;
  z-index: 2;
  pointer-events: none;
}

.holdings-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 251, 255, 1), rgba(248, 251, 255, 0));
}

.holdings-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248, 251, 255, 1), rgba(248, 251, 255, 0));
}

.holdings-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}

.holdings-set {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
}

.holding-chip {
  width: 194px;
  min-width: 194px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(31, 90, 67, 0.28);
  background: linear-gradient(180deg, #ecf6f0, #e4efe9);
  box-shadow: inset 0 0 0 1px rgba(31, 90, 67, 0.07);
}

.holding-chip.stockivo {
  border-color: rgba(31, 90, 67, 0.36);
  background: linear-gradient(180deg, #e7f4ec, #dceddf);
}

.holding-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(14, 30, 54, 0.14));
}

.stockivo-logo {
  border-radius: 16px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

label {
  display: block;
  margin: 0.82rem 0 0.34rem;
  color: #1f436d;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid #c6d5e7;
  border-radius: 11px;
  background: #ffffff;
  padding: 0.82rem 0.95rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #3e74d1;
  box-shadow: 0 0 0 4px rgba(62, 116, 209, 0.16);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  margin-top: 1rem;
  border: 0;
  border-radius: 11px;
  padding: 0.84rem 1.16rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  margin-top: 0.75rem;
  min-height: 1.2rem;
  color: #1f456f;
  font-weight: 700;
}

.site-footer {
  padding: 1.3rem 0 1.45rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
  gap: 1rem;
  border-top: 1px solid #cfdae8;
  padding-top: 1rem;
}

.footer-grid > div:nth-child(1) {
  order: 1;
}

.footer-grid > div:nth-child(3) {
  order: 2;
  justify-self: center;
}

.footer-grid > div:nth-child(2) {
  order: 3;
  justify-self: end;
  text-align: right;
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.footer-logo-mark {
  height: 32px;
  width: auto;
  display: block;
}

.footer-heading {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2f795a;
}

.footer-text {
  margin: 0.42rem 0 0;
  color: #173c64;
  font-size: 0.95rem;
  line-height: 1.66;
}

.footer-links {
  margin: 0.42rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  color: #20466f;
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: 0.88rem;
  padding-top: 0.82rem;
  border-top: 1px solid #dce5f0;
  color: #2a4f77;
  font-size: 0.87rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-layout,
  .grid-3,
  .grid-2,
  .publications-list,
  .portfolio-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img {
    height: 38px;
  }

  .nav-links {
    width: 100%;
    border-radius: 16px;
    padding: 0.35rem;
    justify-content: flex-start;
  }

  .nav-links a {
    flex: 0 1 auto;
  }

  .hero h1 {
    max-width: 100%;
  }

  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(2) {
    justify-self: start;
    text-align: left;
  }

  .holding-chip {
    width: 166px;
    min-width: 166px;
    height: 76px;
  }

  .holding-logo-img {
    width: 56px;
    height: 56px;
  }

  .holdings-ticker::before,
  .holdings-ticker::after {
    width: 46px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }
}
