/* ==========================================================================
   lpmo.com — shared styles
   Used by both / (English) and /fr/ (French)
   ========================================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

.split {
  display: flex;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Left: photo panel
   -------------------------------------------------------------------------- */

.photo-panel {
  position: relative;
  width: 50%;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
  background: #92aab4; /* sky tone, shows while the photo loads */
}

/* --------------------------------------------------------------------------
   Right: content panel
   -------------------------------------------------------------------------- */

.content-panel {
  width: 50%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  padding: 60px 80px;
}

.content-panel__inner {
  max-width: 500px;
  text-align: left;
}

.name {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  color: #1a1a1a;
}

.tagline {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.bio p,
.elsewhere p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: #333;
}

.bio a,
.elsewhere p a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.elsewhere {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
  margin: 36px 0 18px;
}

/* --------------------------------------------------------------------------
   Language toggle
   -------------------------------------------------------------------------- */

.lang-toggle {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 14px;
  gap: 2px;
  padding: 3px;
  background: #f0f0f0;
  border-radius: 6px;
}

.lang-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: #999;
  transition: background .2s, color .2s;
}

.lang-toggle__option:hover {
  color: #333;
}

.lang-toggle__option.is-active {
  background: #fff;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

/* --------------------------------------------------------------------------
   Call to action + social icons
   -------------------------------------------------------------------------- */

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: background .2s, color .2s;
}

.cta:hover {
  background: #333;
  color: #fff;
}

.cta__arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform .2s;
}

.cta:hover .cta__arrow {
  transform: translateX(3px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 18px;
}

/* --------------------------------------------------------------------------
   Responsive: stack the panels on narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .split {
    flex-direction: column;
  }

  .photo-panel,
  .content-panel {
    width: 100%;
  }

  .photo-panel {
    height: 45vh;
    min-height: 0;
    padding: 0;
  }

  .photo-panel img {
    border-radius: 0 0 20px 20px;
    box-shadow: none;
  }

  .content-panel {
    min-height: auto;
    padding: 32px 28px 64px;
  }

  .name {
    font-size: 34px;
  }
}
