:root {
  --ink: #3b1f5e;
  --ink-soft: #5a3a7a;
  --mist: #f3eef8;
  --paper: #faf7fc;
  --fog: #e6dcf0;
  --sea: #6b3f9a;
  --sea-deep: #4a2574;
  --sand: #c9b5df;
  --white: #ffffff;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139, 111, 173, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(201, 181, 223, 0.22), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--mist) 48%, #efe8f6 100%);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sea-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sea);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  color: var(--white);
  background: linear-gradient(180deg, rgba(42, 31, 54, 0.55), rgba(42, 31, 54, 0));
  transition: background 0.4s var(--ease), color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-nav.is-solid,
.page-inner .site-nav {
  background: rgba(250, 247, 252, 0.94);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(106, 80, 136, 0.08);
}

.nav-links a.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.page-shell {
  padding: 7.5rem 0 0;
  min-height: calc(100svh - 4rem);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
}

.nav-brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(58, 42, 79, 0.78) 0%, rgba(90, 68, 120, 0.4) 48%, rgba(106, 80, 136, 0.22) 100%),
    linear-gradient(180deg, rgba(58, 42, 79, 0.28) 0%, rgba(58, 42, 79, 0.12) 40%, rgba(42, 31, 54, 0.74) 100%);
}

.scene-well {
  width: min(920px, 100%);
  height: clamp(200px, 32vw, 280px);
  margin: 0 0 1.75rem;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(600px 240px at 50% 40%, rgba(201, 181, 223, 0.35), transparent 70%),
    linear-gradient(160deg, rgba(243, 238, 248, 0.9), rgba(230, 220, 240, 0.65));
}

.scene-well canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(6rem, 14vh, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 8vh, 5.5rem);
}

.hero-role {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 6.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  animation: rise 1s 0.08s var(--ease) both;
}

.hero-line {
  margin: 1.25rem 0 0;
  max-width: 28ch;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  animation: rise 1s 0.16s var(--ease) both;
}

.hero-support {
  margin: 1rem 0 0;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.88;
  animation: rise 1s 0.24s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise 1s 0.32s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--white);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--mist);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.section {
  padding: clamp(4.5rem, 10vh, 7.5rem) 0;
}

.section-inner {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.lead {
  margin: 1.5rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42rem;
}

.about p {
  max-width: 42rem;
}

.about p + p {
  margin-top: 1.1rem;
}

.work {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(139, 111, 173, 0.07), transparent 40%);
}

.work-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.work-list li {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(106, 80, 136, 0.14);
}

.work-list li:last-child {
  border-bottom: 1px solid rgba(106, 80, 136, 0.14);
}

.work-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
}

.place {
  margin: 0.35rem 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea);
}

.work-list p:last-child {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
}

.research-lead {
  margin-bottom: 0;
}

.interest-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.interest-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-top: 1px solid rgba(106, 80, 136, 0.14);
  color: var(--ink-soft);
}

.interest-list li:last-child {
  border-bottom: 1px solid rgba(106, 80, 136, 0.14);
}

.interest-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.55rem;
  height: 1px;
  background: var(--sea);
}

.source-note {
  margin: 1.6rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.body-para {
  margin: 1.1rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.subhead {
  margin: 2.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.service {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.markets .report-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.report-list li {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(106, 80, 136, 0.14);
  color: var(--ink-soft);
}

.report-list li:last-child {
  border-bottom: 1px solid rgba(106, 80, 136, 0.14);
}

.report-empty {
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.75;
}

.report-meta {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.report-list a {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.report-list a:hover {
  color: var(--sea);
}

.content-disclaimer {
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(106, 80, 136, 0.16);
  max-width: 42rem;
}

.disclaimer-title {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.content-disclaimer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.notes-feed {
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.75rem;
}

.note-card {
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(106, 80, 136, 0.14);
}

.note-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.note-title {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.note-title-link {
  color: inherit;
  text-decoration: none;
}

.note-title-link:hover {
  color: var(--sea);
}

.note-intro {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.note-card-teaser {
  padding-bottom: 0.15rem;
}

.note-back {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.note-back a {
  color: var(--sea);
  text-decoration: none;
  font-weight: 500;
}

.note-back a:hover {
  text-decoration: underline;
}

.note-article .note-title-full {
  margin: 0.25rem 0 1.1rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
}

.note-body {
  max-width: 42rem;
  color: var(--ink-soft);
}

.note-body p {
  margin: 0 0 0.9rem;
}

.note-body p:last-child {
  margin-bottom: 0;
}

.note-disclaimer {
  margin: 1.15rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px dashed rgba(106, 80, 136, 0.22);
  max-width: 42rem;
}

.note-disclaimer strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.note-disclaimer p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contact {
  background:
    linear-gradient(160deg, #3a2a4f 0%, #56406f 55%, #6a5088 100%);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--sand);
}

.contact .lead,
.contact .place-note {
  color: rgba(255, 255, 255, 0.78);
}

.contact-inner {
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
}

.contact-card {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.contact-org {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.contact-detail {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.email {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.email-sm {
  margin-top: 1.1rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.email:hover {
  color: var(--mist);
  border-bottom-color: var(--mist);
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.place-note {
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-secondary {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-transform: none;
  letter-spacing: 0;
}

.tel-light {
  color: inherit;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  background: #2a1f36;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.footer-mark {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, -1%, 0);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-copy {
    padding-bottom: 3rem;
  }

  .hero-line {
    max-width: 28ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .hero-role,
  .hero-brand,
  .hero-line,
  .hero-support,
  .hero-actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
