@import "./tokens.css";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
}

.desktop-page {
  max-width: 1280px;
  margin: 0 auto;
}

.desktop-nav {
  height: 81px;
  padding: 24px 64px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  width: 126px;
  height: 32px;
  object-fit: contain;
}

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

.nav-toggle {
  display: none;
}

.mobile-nav-menu {
  display: none;
}

.hero-home {
  height: 832px;
  padding: 120px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.hero-home h1 {
  margin: 0;
  font-size: 100px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -3px;
  max-width: 706px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.section-120 {
  padding: 120px 64px;
}

.about-home {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(3, 1fr);
}

.about-home h2,
.research-home h2,
.studio-home h2 {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.28px;
}

.about-home p {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.55);
  font-size: 16px;
  line-height: 1.5;
}

.research-home {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  min-height: 1906px;
}

.research-accordion {
  padding-top: 24px;
  display: grid;
  gap: 70px;
}

.research-row header {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 10px;
}

.research-row header span:first-child {
  color: rgba(0, 0, 0, 0.25);
  width: 45px;
}

.research-row header h3 {
  margin: 0;
  flex: 1;
}

.research-row header span:last-child {
  font-size: 32px;
}

.research-body {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 217px 236px;
  justify-content: space-between;
  gap: 24px;
}

.research-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
}

.research-body img {
  width: 236px;
  height: 296px;
  object-fit: cover;
}

.studio-home {
  padding: 0 64px;
}

.studio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px 64px;
}

.studio-row.reverse .studio-copy {
  order: 2;
}

.studio-row.reverse img {
  order: 1;
}

.studio-copy h3 {
  margin: 0;
  font-size: 36px;
}

.studio-copy p {
  color: rgba(0, 0, 0, 0.55);
  font-size: 18px;
  line-height: 1.45;
}

.studio-row img {
  width: 100%;
  height: 432px;
  object-fit: cover;
  border-radius: 16px;
}

.logos-section {
  padding: 80px 64px;
  text-align: center;
}

.logos-row {
  min-height: 84px;
  margin: 16px 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-row img {
  max-height: 84px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.quote-home {
  border-left: 2px solid #dadada;
  margin: 0 64px;
  padding-left: 32px;
}

.quote-home blockquote {
  margin: 0 0 48px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
}

.quote-home p {
  margin: 0;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.55);
}

.contact-home {
  margin-top: 40px;
  padding: 40px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  min-height: 868px;
}

.contact-home h2 {
  margin: 0;
  font-size: 96px;
  line-height: 1;
}

.contact-home > div > p {
  margin-top: 48px;
  max-width: 442px;
  color: #4a5565;
  font-size: 20px;
  line-height: 32.5px;
}

.contact-email {
  margin-top: 100px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.contact-email img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-email div {
  display: grid;
  gap: 8px;
}

.contact-email span {
  color: #4a5565;
}

.contact-home form {
  border-radius: 40px;
  padding: 49px;
  display: grid;
  gap: 32px;
}

.contact-home label {
  display: grid;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.contact-home input,
.contact-home textarea {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 24px;
  font-family: var(--font-family-primary);
}

.footer-home {
  padding: 80px 64px 120px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
}

.logo-text {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.footer-home p {
  color: rgba(0, 0, 0, 0.55);
}

.socials {
  margin-top: 56px;
  display: flex;
  gap: 24px;
}

.socials img {
  width: 24px;
  height: 24px;
}

.footer-cols {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.footer-cols > div {
  min-width: 130px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-cols strong {
  padding-bottom: 16px;
}

.footer-cols span {
  color: rgba(0, 0, 0, 0.55);
}

.footer-cols a {
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
}

/* —— About (/about) —— */
.about-page-hero {
  padding: 60px 64px 0;
  text-align: center;
}

.about-page-eyebrow {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.44px;
  color: #1a1a1a;
}

.about-page-title {
  margin: 16px 0 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.28px;
}

.about-page-team {
  padding: 120px 64px 0;
}

.about-team-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-team-card {
  flex: 1 1 336px;
  max-width: 388px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-team-photo {
  width: 100%;
  aspect-ratio: 362 / 483;
  object-fit: cover;
  border-radius: 16px;
}

.about-team-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-team-name {
  margin: 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.96px;
}

.about-team-role {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.about-team-bio {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

.about-page-mission {
  padding: 120px 64px;
}

.about-mission-grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .about-mission-grid {
    flex-direction: column;
  }

  .about-mission-card--tall {
    max-width: none;
  }

  .research-paper-inner {
    grid-template-columns: 1fr;
  }

  .odyssey-bento-row2-cols {
    grid-template-columns: 1fr;
  }
}

.about-mission-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.about-mission-card {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-mission-card--tall {
  flex: 1;
  max-width: 560px;
}

.about-mission-card-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-mission-card-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 1.2;
}

.about-mission-card-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

.about-mission-card-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* —— Research (/research) —— */
.research-page-hero {
  position: relative;
  width: 100%;
  min-height: 459px;
  max-height: 70vh;
}

.research-page-hero-img {
  width: 100%;
  height: 100%;
  min-height: 459px;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.research-paper-section {
  padding: 0 64px 120px;
}

.research-paper-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
}

.research-paper-title {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.12px;
}

.research-paper-authors {
  margin: 24px 0 0;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.45;
}

.research-paper-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.research-paper-actions a {
  text-decoration: none;
}

.research-paper-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.research-paper-published-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.45);
}

.research-paper-cover {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 634px;
}

.research-paper-journal {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
}

.research-paper-category {
  margin: 0;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.55);
}

.research-quote-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 120px 64px;
  text-align: center;
}

.research-quote-text {
  margin: 0 auto;
  max-width: 1152px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.96px;
}

.research-quote-author {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.research-quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.research-quote-name {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.36px;
  text-align: left;
}

.research-quote-role {
  margin: 4px 0 0;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.55);
  text-align: left;
}

/* —— Odyssey (/odyssey) —— */
.odyssey-page-hero {
  width: 100%;
  min-height: 440px;
  max-height: 55vh;
}

.odyssey-page-hero-img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 55vh;
  object-fit: cover;
  display: block;
}

.odyssey-intro-section {
  padding: 120px 64px;
}

.odyssey-intro-title {
  margin: 0;
  font-size: 96px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.92px;
}

.odyssey-intro-body {
  margin: 16px 0 0;
  max-width: 1152px;
  font-size: 24px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

.odyssey-intro-wide {
  margin-top: 48px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1152 / 648;
}

.odyssey-bento-section {
  padding: 0 64px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.odyssey-bento-row1 {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.odyssey-bento-card {
  flex: 1 1 336px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.odyssey-bento-card:first-child {
  max-width: 388px;
}

.odyssey-bento-card:nth-child(2) {
  flex: 2 1 516px;
}

.odyssey-bento-img {
  width: 100%;
  height: 477px;
  object-fit: cover;
  border-radius: 16px;
}

.odyssey-bento-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.48px;
}

.odyssey-bento-text p {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

.odyssey-bento-row2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.odyssey-bento-img-full {
  width: 100%;
  height: auto;
  max-height: 586px;
  object-fit: cover;
  border-radius: 16px;
}

.odyssey-bento-row2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  max-width: 1194px;
}

.odyssey-bento-col h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.48px;
}

.odyssey-bento-col p {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

/* —— Mobile layouts from Figma (375px) —— */
@media (max-width: 768px) {
  .desktop-page {
    max-width: 375px;
  }

  .desktop-nav {
    height: 81px;
    padding: 24px;
    justify-content: space-between;
  }

  .desktop-nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-nav-menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px 24px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .brand-logo {
    width: 166px;
    height: 42px;
  }

  .hero-home {
    height: 835px;
    padding: 120px 24px 80px;
    align-items: center;
    text-align: center;
  }

  .hero-home h1 {
    font-size: 41px;
    letter-spacing: -1.1px;
    max-width: 327px;
  }

  .section-120 {
    padding: 80px 24px;
  }

  .about-home {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-home h2,
  .research-home h2,
  .studio-home h2 {
    margin: 0;
    padding-top: 24px;
    font-size: 55px;
    letter-spacing: -1.1px;
    line-height: 1.05;
  }

  .about-home p {
    margin: 0;
    padding-top: 24px;
    font-size: 18px;
  }

  .research-home {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }

  .research-accordion {
    gap: 48px;
    padding-top: 0;
  }

  .research-body {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .research-body img {
    width: 100%;
    height: 220px;
  }

  .studio-home {
    padding: 0 24px;
  }

  .studio-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .studio-row.reverse .studio-copy,
  .studio-row.reverse img {
    order: initial;
  }

  .studio-copy h3 {
    font-size: 28px;
  }

  .studio-row img {
    height: 240px;
  }

  .logos-section {
    padding: 80px 24px;
  }

  .logos-row {
    gap: 24px;
    margin: 16px 0 40px;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
  }

  .logos-row img {
    max-height: 60px;
    max-width: 150px;
  }

  .quote-home {
    border-left: 0;
    border-top: 1px solid #dadada;
    margin: 0 24px;
    padding-left: 0;
    padding-top: 24px;
  }

  .quote-home blockquote {
    margin: 0 0 24px;
    font-size: 34px;
    letter-spacing: -0.68px;
  }

  .quote-home p {
    font-size: 18px;
  }

  .contact-home {
    margin-top: 0;
    padding: 10px 24px 0;
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }

  .contact-home h2 {
    font-size: 55px;
    line-height: 1.02;
  }

  .contact-home > div > p {
    margin-top: 12px;
    max-width: 319px;
    font-size: 20px;
    line-height: 32.5px;
  }

  .contact-email {
    margin-top: 32px;
  }

  .contact-home form {
    border-radius: 40px;
    padding: 49px 36px;
    gap: 32px;
  }

  .contact-home input,
  .contact-home textarea {
    width: 100%;
  }

  .footer-home {
    padding: 0 24px 64px;
    flex-direction: column;
    gap: 64px;
  }

  .logo-text {
    font-size: 18px;
    max-width: 160px;
    line-height: 1.45;
  }

  .footer-cols {
    flex-direction: column;
    gap: 40px;
  }

  /* About mobile */
  .about-page-hero {
    padding: 75px 24px 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }

  .about-page-eyebrow {
    font-size: 18px;
    letter-spacing: -0.36px;
  }

  .about-page-title {
    margin-top: 12px;
    font-size: 55px;
    letter-spacing: -1.1px;
    line-height: 1;
  }

  .about-page-team {
    padding: 0 24px 80px;
  }

  .about-team-grid {
    gap: 48px;
  }

  .about-team-card {
    max-width: 327px;
    gap: 24px;
  }

  .about-team-photo {
    aspect-ratio: 327 / 436;
  }

  .about-team-name {
    font-size: 44px;
    letter-spacing: -0.66px;
  }

  .about-page-mission {
    padding: 80px 24px;
  }

  .about-mission-grid {
    flex-direction: column;
    gap: 24px;
  }

  .about-mission-left {
    gap: 24px;
  }

  .about-mission-card--tall {
    max-width: 100%;
  }

  .about-mission-card-text {
    padding: 24px;
  }

  .about-mission-card-text h3 {
    font-size: 20px;
    letter-spacing: -0.3px;
  }

  .about-mission-card-text p {
    font-size: 16px;
  }

  /* Research mobile */
  .research-page-hero {
    min-height: 291px;
    max-height: none;
  }

  .research-page-hero-img {
    min-height: 291px;
    max-height: none;
  }

  .research-paper-section {
    padding: 16px 24px 80px;
  }

  .research-paper-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .research-paper-title {
    font-size: 34px;
    letter-spacing: -0.68px;
    text-align: center;
  }

  .research-paper-authors {
    margin-top: 16px;
    font-size: 24px;
    text-align: center;
  }

  .research-paper-actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .research-paper-actions a,
  .research-paper-actions button {
    width: 100%;
  }

  .research-paper-visual {
    gap: 12px;
  }

  .research-quote-section {
    padding: 80px 32px;
  }

  .research-quote-text {
    font-size: 34px;
    letter-spacing: -0.68px;
  }

  .research-quote-author {
    margin-top: 32px;
    flex-direction: column;
    gap: 16px;
  }

  .research-quote-avatar {
    width: 48px;
    height: 48px;
  }

  .research-quote-name,
  .research-quote-role {
    text-align: center;
  }

  /* Odyssey mobile */
  .odyssey-page-hero {
    min-height: 440px;
    max-height: none;
  }

  .odyssey-page-hero-img {
    min-height: 440px;
    max-height: none;
  }

  .odyssey-intro-section {
    padding: 80px 24px;
  }

  .odyssey-intro-title {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .odyssey-intro-body {
    font-size: 16px;
    margin-top: 16px;
  }

  .odyssey-intro-wide {
    margin-top: 24px;
    aspect-ratio: 327 / 184;
  }

  .odyssey-bento-section {
    padding: 80px 24px;
    gap: 32px;
  }

  .odyssey-bento-row1 {
    gap: 32px;
  }

  .odyssey-bento-card,
  .odyssey-bento-card:first-child,
  .odyssey-bento-card:nth-child(2) {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .odyssey-bento-img {
    height: 208px;
  }

  .odyssey-bento-text h3 {
    font-size: 20px;
    letter-spacing: -0.3px;
  }

  .odyssey-bento-text p {
    font-size: 18px;
  }

  .odyssey-bento-row2-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .odyssey-bento-col h3 {
    font-size: 24px;
  }
}

/* Plain HTML: nav links + buttons (replaces React NavLink / Button) */
.nav-link {
  color: var(--nav-link-color);
  font-family: var(--type-nav-link-family);
  font-size: var(--type-nav-link-size);
  font-weight: var(--type-nav-link-weight);
  line-height: var(--type-nav-link-line-height);
  letter-spacing: var(--type-nav-link-letter-spacing);
  text-decoration: none;
}

.btn {
  font-family: var(--type-button-md-family);
  font-size: var(--type-button-md-size);
  font-weight: var(--type-button-md-weight);
  letter-spacing: var(--type-button-md-letter-spacing);
  line-height: var(--type-button-md-line-height);
  padding: var(--button-primary-padding-y) var(--button-primary-padding-x);
  border-radius: var(--button-primary-radius);
  cursor: pointer;
  border: none;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-fg);
}

.btn-secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-fg);
  border: var(--button-secondary-border-width) solid var(--button-secondary-border-color);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-message--success {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
  color: #0d1b3e;
  border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 20px rgba(56, 132, 246, 0.15);
}

.form-message--error {
  background: #fee2e2;
  color: #991b1b;
}

.btn-submit {
  background: var(--button-submit-bg);
  color: var(--button-submit-fg);
  border-radius: var(--button-submit-radius);
  font-family: var(--type-button-strong-family);
  font-weight: var(--type-button-strong-weight);
  font-size: var(--type-button-strong-size);
  letter-spacing: var(--type-button-strong-letter-spacing);
  line-height: var(--type-button-strong-line-height);
}
