:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-soft: #fbfbf9;
  --text: #222a31;
  --muted: #5b646d;
  --border: #d5d9dc;
  --border-strong: #c3c8cd;
  --accent: #1d2b3c;
  --max-width: 1140px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.54)),
    url("./pexels-eessoo-5097933.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.34rem;
  color: var(--text);
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.93rem;
  color: var(--muted);
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.nav a:hover {
  text-decoration: none;
  color: var(--text);
  border-color: var(--border-strong);
}

.nav a.active {
  color: var(--text);
  font-weight: 600;
  border-color: var(--text);
}

.nav a.cookie-menu-link {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  background: rgba(255, 255, 255, 0.72);
}

.nav a.cookie-menu-link:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

main {
  padding-block: 2.4rem 5rem;
}

.hero {
  padding: 4.8rem 0 2.4rem;
}

.page-hero {
  padding: 2.8rem 0 1.4rem;
}

.page-hero .hero-panel {
  background: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--text);
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.4rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.12rem;
  max-width: 70ch;
}

.meta-line {
  font-size: 0.94rem;
  color: #4f5962;
  margin-bottom: 0;
}

.hero-panel,
.content-block,
.card,
.team-member,
.blog-item,
.article {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  backdrop-filter: blur(3px);
}

.hero-panel {
  padding: 2rem;
  box-shadow: 0 18px 35px rgba(26, 36, 47, 0.05);
}

.section {
  padding-block: 2rem;
}

main .section:nth-of-type(odd):not(.hero) .container > .content-block:first-child {
  background: rgba(255, 255, 255, 0.78);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.kpi {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.kpi strong {
  display: block;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  border-color: var(--border-strong);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(25, 38, 53, 0.06);
}

.card p {
  margin-bottom: 0;
}

.disclaimer {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: #f0f2f4;
  color: var(--text);
  border-radius: 0 10px 10px 0;
}

.page-title {
  margin-bottom: 1.4rem;
}

.content-block {
  padding: 1.4rem;
}

.content-flow {
  display: grid;
  gap: 1rem;
}

ul {
  margin: 0.3rem 0 1rem 1.2rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.35rem;
}

.team-list,
.blog-list {
  display: grid;
  gap: 1rem;
}

.team-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-member,
.blog-item,
.article {
  padding: 1.35rem;
}

.team-member {
  display: grid;
  grid-template-rows: 7.4rem minmax(4.2rem, auto) auto;
  align-items: start;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.78);
  min-height: 100%;
}

.team-member-head {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  align-items: start;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  min-height: 0;
}

.team-member-head > div {
  display: grid;
  grid-template-rows: 3.2rem 2rem;
  align-content: start;
  row-gap: 0.2rem;
  min-height: 0;
}

.team-member h2 {
  margin-bottom: 0;
  line-height: 1.18;
  font-size: 1.2rem;
  align-self: start;
  overflow-wrap: anywhere;
}

.member-initial {
  min-width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #f2f5f8;
  color: #2d3a48;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.blog-item h2,
.team-member h2 {
  margin-bottom: 0.45rem;
}

.blog-item p:last-child,
.team-member p:last-child {
  margin-bottom: 0;
}

.member-description {
  margin-bottom: 0.8rem;
}

.role {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  align-self: start;
}

.member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #33414f;
  background: rgba(255, 255, 255, 0.8);
}

.member-link:hover {
  text-decoration: none;
  background: rgba(244, 247, 250, 0.85);
}

.member-action {
  margin-top: auto;
}

.team-member .member-link {
  margin-top: 0;
}

.investments-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.investment-card {
  display: grid;
  grid-template-rows: 4.8rem 5.4rem 4.2rem 2.25rem;
  min-height: 22rem;
  height: 100%;
}

.investment-card h3 {
  height: 4.8rem;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.investment-card > p {
  height: 5.4rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.investment-metrics {
  height: 4.2rem;
  margin: 0;
  padding-left: 1.1rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  align-items: start;
}

.investment-metrics li {
  margin-bottom: 0;
  line-height: 1.35;
}

.investment-action {
  margin-top: 0;
  margin-bottom: 0;
  height: 2.25rem;
  display: flex;
  align-items: end;
}

.article {
  max-width: 860px;
}

.article .eyebrow {
  margin-bottom: 0.6rem;
}

.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 560px;
}

label {
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem 0.8rem;
  color: var(--text);
}

button {
  width: fit-content;
  border: 1px solid var(--text);
  background: var(--text);
  border-radius: 10px;
  color: #fff;
  padding: 0.62rem 1.1rem;
  cursor: pointer;
}

button:hover {
  opacity: 0.93;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  transition: opacity 150ms ease, transform 150ms ease;
}

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

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.2rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.fine-print {
  flex-basis: 100%;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.92;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
}

.cookie-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(20, 29, 39, 0.12);
}

.cookie-banner h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.cookie-banner p {
  margin-bottom: 0.7rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-small {
  font-size: 0.84rem;
  margin-top: 0.65rem;
  margin-bottom: 0;
}


.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(16, 21, 27, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-modal {
  width: min(100%, 640px);
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 18px 40px rgba(20, 29, 39, 0.2);
}

.cookie-modal h3 {
  margin: 0 0 0.35rem;
}

.cookie-modal-intro {
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
}

.cookie-option p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.cookie-switch input[type="checkbox"] {
  width: auto;
}

.human-check-wrap {
  display: grid;
  gap: 0.55rem;
}

.human-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.human-inline input[type="checkbox"] {
  width: auto;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--text);
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nav a {
    white-space: nowrap;
    padding: 0.4rem 0.2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  main {
    padding-block: 1.25rem 3rem;
  }

  .nav {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.35rem 0.7rem;
  }

  .nav a {
    font-size: 0.86rem;
    padding: 0.42rem 0.2rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding: 2rem 0 1rem;
  }

  .page-hero {
    padding: 1.2rem 0 0.8rem;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .lead {
    font-size: 1rem;
  }

  .kpi-grid,
  .card-grid,
  .team-list,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .investment-card {
    min-height: auto;
    height: auto;
  }

  .investment-card h3,
  .investment-card > p,
  .investment-metrics,
  .investment-action {
    height: auto;
    overflow: visible;
    display: block;
  }

  .team-member {
    grid-template-rows: auto auto auto;
  }

  .team-member-head {
    grid-template-columns: 2.1rem 1fr;
    margin-bottom: 0.55rem;
  }

  .team-member-head > div {
    grid-template-rows: auto auto;
    row-gap: 0.16rem;
  }

  .hero-panel,
  .content-block,
  .card,
  .team-member,
  .blog-item,
  .article {
    padding: 1.1rem;
    border-radius: 12px;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    max-width: 100%;
  }

  input,
  textarea,
  button {
    font-size: 16px;
  }

  .human-inline {
    align-items: flex-start;
  }

  button {
    width: 100%;
    justify-content: center;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 0.55rem;
    right: 0.55rem;
    bottom: calc(0.55rem + env(safe-area-inset-bottom));
  }

  .cookie-banner-inner {
    padding: 0.9rem;
    border-radius: 10px;
  }

  .cookie-modal-overlay {
    padding: 0.65rem;
  }

  .cookie-modal {
    max-height: 88vh;
    overflow-y: auto;
    padding: 0.95rem;
  }

  .cookie-option {
    flex-direction: column;
  }

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

@media (max-width: 420px) {
  .brand {
    font-size: 1.16rem;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .hero-panel,
  .content-block,
  .card,
  .team-member,
  .blog-item,
  .article {
    padding: 0.95rem;
  }
}
