:root {
  --max-width: 1440px;
  --container-padding: 2rem;
  --section-padding: 6rem;
  --header-height: 6.5rem;
  --card-radius: 1rem;
  --hero-radius: 1rem;
  --mobile-hero-margin: 1.5rem;
  --mobile-hero-padding: 1rem;
  --mobile-header-height: 6.5rem;

  --phthalo-green: #246A4A;
}
@media (max-width: 700px) {
  :root {
    --container-padding: 1rem;
  }
}

/**
Fonts
*/
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
       url('fonts/Satoshi-Variable.woff') format('woff'),
       url('fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-VariableItalic.woff2') format('woff2'),
       url('fonts/Satoshi-VariableItalic.woff') format('woff'),
       url('fonts/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'BrilliantCutPro';
  src: url('fonts/BrilliantCutPro-Medium.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Satoshi', sans-serif;
  line-height: 1.38;
  font-size: 16.5px;
  background: #fff;
  color: #111;
}

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

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.link {
  color: #0076DF;
}

/* Blur layers */
.blur-layers {
  position: fixed;
  inset: 0;
  z-index: 100;
  height: 8rem;
  display: none;
}
.blur-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  background: transparent;
  z-index: 0;
}
.blur2 {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 16.666666666666664%, rgba(255, 255, 255, 1) 33.33333333333333%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 66.66666666666666%);
  -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 16.666666666666664%, rgba(255, 255, 255, 1) 33.33333333333333%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 66.66666666666666%);
}
.blur4 {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 33.33333333333333%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 66.66666666666666%, rgba(255, 255, 255, 0) 83.33333333333333%);
  -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 33.33333333333333%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 66.66666666666666%, rgba(255, 255, 255, 0) 83.33333333333333%);
}
.blur8 {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 66.66666666666666%, rgba(255, 255, 255, 1) 83.33333333333333%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 66.66666666666666%, rgba(255, 255, 255, 1) 83.33333333333333%, rgba(255, 255, 255, 0) 100%);
}
.blur16 {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 66.66666666666666%, rgba(255, 255, 255, 1) 83.33333333333333%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 116.66666666666666%);
  -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 66.66666666666666%, rgba(255, 255, 255, 1) 83.33333333333333%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 116.66666666666666%);
}

/* Container */
.container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--container-padding);
}

/* Sticky header and header-inner */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.sticky-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #edededb8;
  margin-left: var(--container-padding);
  margin-right: var(--container-padding);
  padding: 0 0.5rem;
  height: 62px;
  gap: 2rem;
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  flex: 1 1 0;
}
.logo {
  display: flex;
  align-items: center;
  padding-left: 0.8rem;
  opacity: 0.75;
}
.logo img {
  width: 30px;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: 0.01rem;
  padding: 0.75rem 1.2rem;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-link:hover,
.nav-link:focus {
  color: #111;
}
.nav-link.active {
  color: #111;
}
@media (max-width: 700px) {
  .main-nav {
    display: none;
  }
}

.nav-bg {
  position: absolute;
  top: 50%;
  left: 0;
  height: 100%;
  transform: translateY(-50%);
  width: 0;
  background:#fff;
  border-radius: 0.85rem;
  z-index: 1;
  opacity: 1;
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.button {
  overflow: hidden;
  background: #0076DF;
  color: transparent !important;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 11;
}
.button:hover {
  background: #11D674;
}
.button::before,
.button::after {
  color: #111;
  content: attr(data-title);
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.button::before {
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
.button::after {
  top: 100%;
  opacity: 0;
}
.button:hover::before,
.button:focus::before {
  top: 0;
  opacity: 0;
  transform: translateY(0);
}
.button:hover::after,
.button:focus::after {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.hamburger {
  width: 32px;
  height: 32px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: 0.8rem;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: #333;
  border-radius: 10px;
  margin: 3px 0;
  transition: all 0.75s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  transform-origin: center;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  transform-origin: center;
}
@media (max-width: 700px) {
  .hamburger {
    display: flex;
  }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: both;
  background: rgba(255, 255, 255, 0.9);
  padding-top: var(--header-height);
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}
.mobile-menu-overlay a {
  font-size: 2rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu-overlay.open a {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered delay */
.mobile-menu-overlay.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.open a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.open a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.open a:nth-child(4) { transition-delay: 0.4s; }

/* Hero section */
.hero-container {
  position: relative;
  height: calc(100vh - var(--header-height) - var(--container-padding));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hero-radius);
  overflow: hidden;
  margin-top: var(--header-height);
  box-sizing: border-box;
}

/* Initial BG */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg iframe {
  width: 177.777vh;
  height: 100vh;
  object-fit: cover;
}

/* Hero text */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-title {
  font-size: 12.5rem;
  font-weight: 900;
  color: #fff;
  font-family: 'BrilliantCutPro';
}
.hero-tagline {
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .hero-content {
    padding: 0 2rem;
  }
  .hero-title {
    font-size: 5.5rem;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
}

/* Scroll down arrow */
.hero-down-arrow {
  position: absolute;
  left: 50%;
  bottom: -5rem;
  transform: translateX(-50%);
  z-index: 3;
  display: block;
}
.down-arrow {
  display: block;
  width: 42px;
  height: 42px;
  position: relative;
  animation: bounce 2s infinite;
}
.down-arrow:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -60%) rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* Sections */
section {
  padding: var(--section-padding) 1rem 0;
  scroll-margin-top: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  padding-bottom: 2rem;
  font-family: 'BrilliantCutPro';
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

/* About section */
.about-section {
  max-width: 800px;
  margin: 0 auto;
}
.about-title {
  text-align: center;
}
.about-text {
  font-size: 2rem;
  line-height: 1.48;
  font-weight: 500;
  padding-bottom: 2rem;
  text-align: center;
}
.about-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 160px;
  border-right: 1px solid #eee;
}
.about-stat:last-child {
  border-right: none;
}
.about-stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(330deg, rgb(24, 152, 94), rgb(0, 190, 104));
  background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.about-stat-label {
  color: #555;
  font-weight: 600;
}
@media (max-width: 700px) {
  .about-stats {
    flex-direction: column;
    align-items: stretch;
  }
  .about-stat {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .about-stat:last-child {
    border-bottom: none;
  }
}

/* Thesis section */
.thesis-section {
  max-width: 1024px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
  padding: 4rem 2rem;
  margin-top: var(--section-padding);
}
@media (max-width: 700px) {
  .thesis-section {
    padding: 4rem 1rem;
    border-radius: 0;
  }
}

.thesis-section p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.thesis-section p:last-child {
  margin-bottom: 0;
}
.thesis-section p.li:not(.last) {
  margin-bottom: 0.4rem;
}

.thesis-section p .word {
  opacity: 0.2;
}

.thesis-section p.quote {
  font-style: italic;
  font-weight: 600;
  border-left: 4px solid #bbb;
  padding-left: 1rem;
}

.thesis-subtitle {
  font-weight: 850;
  letter-spacing: 0.01rem;
  padding-top: 1.5rem;
}

/* Portfolio section */
.portfolio-section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid #ddd;
  padding-bottom: 2rem;
}
@media (max-width: 700px) {
  .portfolio-section {
    padding: 4rem 1rem;
    border-radius: 0;
    padding-bottom: 2rem;
  }
}
.portfolio-title {
}
.portfolio-subsection {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}
.subsection-title {
  font-size: 1.8rem;
  font-weight: 800;
  padding-top: 4rem;
  margin-bottom: 0.2rem;
  letter-spacing: -0.06rem;
}
.subsection-tagline {
  font-size: 1.6rem;
  color: #888;
  margin-bottom: 2rem;
  font-weight: 500;
}
.card-row {
  display: flex;
  flex-direction: column;
}
.portfolio-card, .tenet-card {
  background-color: #fff;
  /* box-shadow: 0 1px 1px #e4e4e4; */
}
.portfolio-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  position: relative;
  border-top: 1px solid #eee;
  padding: 1.5rem 0;
  gap: 1.5rem;
}
.portfolio-card .im {
  width: 28%;
  min-height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-radius: var(--card-radius);
}
.portfolio-card img {
  height: 150px;
}
.card-content {
  flex: 1 1 0;
  height: 100%;
}
.card-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
  margin-bottom: 1rem;
}
.card-content p {
  font-size: 1.25rem;
  color: #777;
  margin-bottom: 1.5rem;
}
.investors-in {
  display: none;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 0;
  text-align: center;
}
.investors-in .label {
  text-transform: uppercase;
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 0.05rem;
  padding-bottom: 1.4rem;
}
.investors-in .asset-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}
.investors-in img {
  height: 28px;
  filter: grayscale(100%);
  opacity: 0.65;
}
@media (max-width: 700px) {
  .card-row {
    flex-direction: column;
  }
  .portfolio-card {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .portfolio-card .im {
    width: 100%;
  }
  .card-content {
    border-right: none;
  }
}

/* Tenets section */
.tenets-section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: var(--section-padding);
  margin-bottom: var(--section-padding);
  box-sizing: border-box;
}
.tenets-cards {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}
.tenet-card {
  padding: 2rem 0;
  font-size: 1.6rem;
}
.tenet-card .word {
  display: inline-block;
  opacity: 0.2;
}
.tenet-card .tenet-title {
  font-weight: 700;
  color: #222;
}
.tenet-card .tenet-body {
  color: #888;
}
.tenets-btn-row {
  justify-content: center;
  display: none;
}
@media (max-width: 700px) {
  .tenets-btn-row {
     display: flex;
     padding-bottom: 4rem;
  }
}
.tenets-btn {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: 0.01rem;
  padding: 1rem 2rem;
  transition: color 0.2s;
  cursor: pointer;
}

/* Footer */
.site-footer {
  color: #aaa;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 4rem 2rem;
  max-width: 1024px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}