/* ============================================
   PERMANIUM — Pixel-Perfect from Figma
   Frame: 1728px wide | Bg: #F8F7F3
   All typography: Inter (300/400/500)
   ============================================ */

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

:root {
  --bg: #F8F7F3;
  --white: #ffffff;
  --black: #000000;
  --text-hero: #EAEFEB;
  --text-body: #444444;
  --text-muted: #777777;
  --gold: #C8B9A8;
  --gold-dark: #70675D;
  --border: #E0DCD6;
  --max-w: 1728px;
  --content-padding: 80px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ============================================
   HEADER / NAV
   Figma: Frame 177 — Top:23, Left:80, W:1568, H:Hug(67)
   Nav container (Frame 176): gap 54px
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 23px 0 0;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: 212x67 image */
.logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 54px;
}

/* Figma: Inter 300 Light, 16px, lh 32px, ls 8%, uppercase, #FFF */
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* Dark header variant (Thesis page) */
.header--dark .nav-links a {
  color: rgba(0, 0, 0, 0.5);
}
.header--dark .nav-links a:hover,
.header--dark .nav-links a.active {
  color: var(--black);
}
.header--dark .menu-toggle span {
  background: var(--black);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 6px 0;
  transition: 0.3s;
}

/* ============================================
   HERO (Home)
   Figma: Image 1728x987
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 987px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.12) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
}

.hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

/* Figma: Inter 300 Light, 44px, lh 70.4px, ls 8%, uppercase, #EAEFEB
   W:576, Top:734, Left:76 */
.hero__title {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-hero);
  max-width: 576px;
}

.hero__right {
  max-width: 473px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Figma: Inter 300 Light, 18px, lh 32px, ls 12%, #FFF
   W:473, Top:702, Left:1180 */
.hero__desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 28px;
}

/* ============================================
   BUTTON
   Figma: Frame 55 — W:256, H:48, Radius:11, Border:1px #FFF
   Text: Inter 500 Medium, 16px, ls 5%, Title case
   Padding: 24px top, 42px right, 24px bot, 43px left
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 42px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--white);
  border-radius: 11px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.btn--dark {
  border-color: var(--black);
  color: var(--black);
}

.btn--dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   SECTION TITLE (shared)
   Figma: Inter 300 Light, 44px, lh 70.4px, ls 11%, uppercase, #000
   ============================================ */
.section-title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 64px;
}

/* ============================================
   PLAYBOOK (Home)
   Figma: Frame 152 — W:1577, H:Hug(888), Top:1267, Left:75
   Layout: space-between
   ============================================ */
.playbook {
  padding: 90px 0 80px;
  background: var(--bg);
}

.playbook__grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  max-width: 1577px;
  margin: 0 auto;
}

.playbook__image {
  flex: 0 0 auto;
  width: calc(1577px - 811px - 48px);
  max-width: 700px;
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.playbook__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.playbook__items {
  width: 811px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.playbook__item {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.playbook__item:first-child {
  padding-top: 0;
}

.playbook__item:last-child {
  border-bottom: none;
}

.playbook__item-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 6px;
}

.playbook__number {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.playbook__item-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
}

.playbook__subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}

.playbook__item-content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 580px;
}

/* ============================================
   TYPES OF VEHICLES (Home)
   Figma: Frame 79 — full width container
   Cards: Frame 77 — W:1520, H:367, Radius:50, Border:1px
   Gradient border: Linear #C8B9A8 → #70675D, Inner alignment
   Card bg: #F8F7F3
   Card title: Inter 500 Medium, 40px, ls 5%, uppercase, lh 100%
   Card body: Inter 400 Regular, 24px, ls 5%, lh 38.4px
   ============================================ */
.vehicles {
  padding: 80px 0 100px;
  background: var(--bg);
}

.vehicle-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1520px;
  margin: 0 auto;
}

.vehicle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-radius: 50px;
  overflow: hidden;
  min-height: 367px;
  position: relative;
}

/* Gradient border via mask-composite */
.vehicle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.vehicle-card__content {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Figma: Inter 500 Medium, 40px, ls 5%, uppercase, lh 100%, #000 */
.vehicle-card__content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--black);
  margin-bottom: 20px;
}

/* Figma: Inter 400 Regular, 24px, ls 5%, lh 38.4px, #000 */
.vehicle-card__content p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 38.4px;
  letter-spacing: 0.05em;
  color: var(--black);
  max-width: 690px;
}

.vehicle-card__image {
  overflow: hidden;
  border-radius: 0 50px 50px 0;
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CTA (Home)
   ============================================ */
.cta-section {
  padding: 40px 0 80px;
  text-align: center;
  background: var(--bg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 36px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__logo {
  text-align: center;
  margin-bottom: 32px;
}

.footer__logo img {
  height: 28px;
  width: auto;
  margin: 0 auto;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
}

.footer__nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-body);
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: var(--black);
}

.footer__address {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ============================================
   THESIS — Page Title
   Figma: "INVESTMENT THESIS" — Inter 300, 44px, ls 11%
   ============================================ */
.thesis-hero {
  padding: 130px 0 0;
  text-align: center;
  background: var(--bg);
}

.thesis-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black);
}

.thesis-hero__line {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 40px;
}

/* ============================================
   THESIS — Consolidating
   Figma: text left + hallway image right
   Title: Inter 300, 44px, ls 11%, uppercase, lh 70.4px
   Body: Inter 300, 18px, ls 12%, lh 32px
   ============================================ */
.consolidating {
  padding: 72px 0 56px;
  background: var(--bg);
}

.consolidating__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.consolidating__text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.consolidating__text p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.12em;
  color: var(--text-body);
}

.consolidating__image {
  border-radius: 12px;
  overflow: hidden;
}

.consolidating__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ============================================
   THESIS — Platform Strategy
   Figma: 3 image cards with overlay text
   Section title: "Our Platform Strategy"
   ============================================ */
.platform-strategy {
  padding: 80px 0;
  background: var(--bg);
}

.platform-strategy__subtitle {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: var(--text-body);
  max-width: 660px;
  margin: -40px auto 50px;
}

.strategy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strategy-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 0.82;
}

.strategy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strategy-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 26px;
}

.strategy-card__overlay h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.strategy-card__overlay p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   THESIS — AI Section
   ============================================ */
.ai-section {
  padding: 80px 0;
  background: var(--bg);
}

.ai-section__subtitle {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: var(--text-body);
  max-width: 660px;
  margin: -40px auto 50px;
}

.ai-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-column {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.ai-column h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 28px;
}

.ai-column ul li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--text-body);
  padding: 10px 0;
  padding-left: 22px;
  position: relative;
}

.ai-column ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
}

/* ============================================
   THESIS — Cross-Pollination
   Figma: Frame 175 — Horizontal, Hug(1581)xHug(810), Gap:59
   Frame 41 (text): Vertical, Fixed 836, Hug 760, Gap 88
   Title: Inter 300, 44px, ls 11%, uppercase, lh 70.4px
   Body: Inter 300, 18px, ls 12%, lh 32px
   Sub-item title: Inter 400, 24px, ls 7%, lh 76.8px
   Sub-item body: Inter 400, 18px, ls 5%, lh 32px
   Sub-item container (Frame 38): Gap 24px
   ============================================ */
.cross-pollination {
  padding: 80px 0 100px;
  background: var(--bg);
}

.cross-pollination__grid {
  display: flex;
  gap: 59px;
  align-items: start;
}

.cross-pollination__text {
  flex: 0 0 836px;
  max-width: 836px;
}

.cross-pollination__text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.cross-pollination__text > p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.12em;
  color: var(--text-body);
  margin-bottom: 88px;
}

.cross-pollination__items {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cross-pollination__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cross-pollination__item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--black);
}

.cross-pollination__item p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: var(--text-body);
  max-width: 590px;
}

.cross-pollination__image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.cross-pollination__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.vis, .fade-left.vis, .fade-right.vis {
  opacity: 1;
  transform: translate(0);
}
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  :root { --content-padding: 48px; }
  .hero__title { font-size: 36px; line-height: 58px; max-width: 460px; }
  .section-title { font-size: 36px; }
  .consolidating__text h2,
  .cross-pollination__text h2 { font-size: 32px; line-height: 52px; }
  .vehicle-card__content h3 { font-size: 30px; }
  .vehicle-card__content p { font-size: 18px; line-height: 30px; }
  .vehicle-card { border-radius: 32px; }
  .vehicle-card::before { border-radius: 32px; }
  .vehicle-card__image { border-radius: 0 32px 32px 0; }
  .playbook__grid { flex-direction: column; }
  .playbook__image { width: 100%; max-width: 100%; position: static; max-height: 400px; }
  .playbook__items { width: 100%; }
  .cross-pollination__text { flex: 1; }
  .cross-pollination__grid { flex-direction: column; }
}

@media (max-width: 1024px) {
  .consolidating__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .strategy-cards { grid-template-columns: 1fr 1fr; }
  .ai-columns { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  :root { --content-padding: 24px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 28px 24px;
    gap: 16px;
  }
  .header--dark .nav-links.open {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .hero { min-height: 600px; }
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__title { font-size: 28px; line-height: 44px; }
  .hero__desc { font-size: 15px; line-height: 26px; }

  .section-title { font-size: 28px; line-height: 44px; letter-spacing: 0.06em; }

  .vehicle-card { grid-template-columns: 1fr; border-radius: 24px; }
  .vehicle-card::before { border-radius: 24px; }
  .vehicle-card__image { border-radius: 0 0 24px 24px; height: 220px; }
  .vehicle-card__content h3 { font-size: 24px; }
  .vehicle-card__content p { font-size: 16px; line-height: 28px; }

  .strategy-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .consolidating__text h2,
  .cross-pollination__text h2 { font-size: 24px; line-height: 38px; }

  .thesis-hero h1 { font-size: 28px; line-height: 44px; }

  .footer__nav { flex-wrap: wrap; gap: 14px 32px; }

  .cross-pollination__text > p { margin-bottom: 36px; }
  .cross-pollination__item h4 { font-size: 18px; }
  .cross-pollination__item p { font-size: 15px; }
}
