html:has(body.home-lock) {
  height: 100%;
  overflow: hidden;
}

body.home-lock {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  background: #fff;
}

body.home-lock > header {
  flex: 0 0 auto;
  padding-top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  z-index: 30;
}

body.home-lock > header > div {
  width: 100%;
  max-width: calc(80rem + 2rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

body.home-lock > header nav {
  padding-left: 0;
  padding-right: 0;
}

body.home-lock > header > div > div {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home-lock > main.home-profile {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: calc(80rem + 2rem);
  margin: 0 auto;
  padding: 0.35rem 1rem 1rem;
  box-sizing: border-box;
  display: flex;
}

.home-bg {
  display: none;
}

.home-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

/* Shared stage wrapper (was card) */
.home-hero__stage {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 28px 60px -38px rgba(11, 30, 58, 0.4);
}

.home-hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 3.4vh, 3rem) clamp(1.35rem, 3vw, 3.1rem);
}

.home-hero__kicker {
  margin: 0;
  color: #ff7a00;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero__name {
  margin: 0.55rem 0 0;
  max-width: none;
  color: #101828;
  font-family: "IBM Plex Sans", "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 3.6vw, 3.65rem);
}

.home-hero__role {
  margin: 1rem 0 0;
  max-width: none;
  color: #0b1e3a;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
}

.home-hero__role--short {
  display: none;
}

.home-hero__school {
  margin: 0.35rem 0 0;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 650;
}

.home-hero__line {
  position: relative;
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: #475467;
  font-size: 1rem;
  line-height: 1.55;
}

.home-hero__line-type,
.home-hero__caret {
  display: none;
}

.home-hero__cta {
  margin-top: 1.25rem;
}

.home-hero__link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #0b1e3a;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.72rem 1.15rem;
}

.home-hero__link:hover {
  background: #101828;
}

.home-hero__photo {
  margin: 0;
  min-height: 0;
  min-width: 0;
  background: #e7e2dc;
}

.home-hero__photo--transparent {
  background: transparent;
}

.home-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.home-hero__photo--transparent img {
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

@media (min-width: 640px) {
  body.home-lock > header > div {
    max-width: calc(80rem + 3rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  body.home-lock > main.home-profile {
    max-width: calc(80rem + 3rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  body.home-lock > header > div {
    max-width: calc(80rem + 4rem);
    padding-left: 2rem;
    padding-right: 2rem;
  }

  body.home-lock > main.home-profile {
    max-width: calc(80rem + 4rem);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1.4rem;
  }
}

/* —— Desktop composition —— */
@media (min-width: 500px) {
  .home-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .home-bg img {
    position: absolute;
    left: 50%;
    top: 54%;
    width: min(1180px, 92%);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.1;
  }

  .home-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.7) 100%),
      linear-gradient(to right, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.62) 34%, rgba(255, 255, 255, 0.4) 100%);
  }

  .home-hero__stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.9fr);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    align-items: center;
    overflow: visible;
    width: 100%;
  }

  .home-hero__copy {
    order: 0;
    padding-left: 0;
    padding-right: clamp(1rem, 2vw, 2rem);
  }

  .home-hero__photo {
    order: 1;
  }

  .home-hero__name,
  .home-hero__role,
  .home-hero__school {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .home-hero__name {
    font-size: clamp(1.7rem, 3.2vw, 3.5rem);
  }

  .home-hero__role {
    font-size: clamp(0.88rem, 1.05vw, 1.08rem);
    line-height: 1.35;
  }

  .home-hero__role--full {
    display: block;
  }

  .home-hero__role--short {
    display: none;
  }

  .home-hero__line,
  .home-hero__line-hold,
  .home-hero__line-type {
    max-width: 100%;
    white-space: normal;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.2vw, 1.22rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .home-hero__line,
  .home-hero__line-type {
    color: #ff7a00;
  }

  .home-hero__photo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    height: 100%;
    padding: 0;
  }

  .home-hero__photo img {
    width: min(92%, 420px);
    height: auto;
    max-height: min(72vh, 560px);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
  }

  .home-hero__photo--transparent img {
    width: min(100%, 460px);
    max-height: min(74vh, 580px);
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    filter: drop-shadow(0 22px 34px rgba(11, 30, 58, 0.18));
  }

  .home-hero__line-hold {
    color: transparent;
  }

  .home-hero__line.is-static .home-hero__line-hold {
    color: inherit;
  }

  .home-hero__line-type {
    display: block;
    position: absolute;
    inset: 0;
    color: #ff7a00;
  }

  .home-hero__caret {
    display: inline-block;
    width: 1px;
    height: 0.92em;
    margin-left: 1px;
    background: currentColor;
    vertical-align: -0.08em;
  }

  .home-hero__line.is-typed .home-hero__caret {
    animation: home-caret 0.85s steps(1, end) 2;
  }

  .home-hero__line.is-static .home-hero__line-type {
    display: none;
  }
}

@keyframes home-caret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* —— Mobile: split stage + content dock (100vh) —— */
@media (max-width: 499px) {
  body.home-lock {
    position: relative;
    background: #f3f5f8;
  }

  body.home-lock > header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 0;
  }

  body.home-lock > header .text-ink,
  body.home-lock > header a,
  body.home-lock > header button {
    color: #0b1e3a;
  }

  body.home-lock > header .text-blue {
    color: #ff7a00 !important;
  }

  body.home-lock > header button,
  body.home-lock > header .rounded-xl {
    border-color: rgba(11, 30, 58, 0.14) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(8px);
    color: #0b1e3a;
  }

  body.home-lock .brand-manuel,
  body.home-lock .brand-manuel.text-deep {
    color: #0b1e3a !important;
  }

  body.home-lock > main.home-profile {
    padding: 0;
    max-width: none;
    flex: 1 1 auto;
    min-height: 0;
  }

  .home-hero {
    align-items: stretch;
  }

  .home-hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    padding-bottom: 0.85rem;
    box-sizing: border-box;
  }

  .home-hero__photo {
    order: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: calc(3.25rem + env(safe-area-inset-top, 0px)) 0 0;
    background:
      radial-gradient(ellipse 90% 55% at 50% 78%, rgba(255, 122, 0, 0.16), transparent 62%),
      linear-gradient(180deg, #ffffff 0%, #f4f6f9 48%, #e8edf4 100%) !important;
  }

  .home-hero__photo--transparent::before {
    content: none;
  }

  .home-hero__photo--transparent::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 5.5rem;
    z-index: 2;
    pointer-events: none;
    transform: none;
    background: linear-gradient(180deg, rgba(243, 245, 248, 0.9), transparent);
    border-radius: 0;
    opacity: 1;
  }

  .home-hero__photo--transparent img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto !important;
    height: 100% !important;
    max-width: min(118vw, 34rem) !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 18px 28px rgba(11, 30, 58, 0.18));
  }

  .home-hero__copy {
    order: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    margin: -4.35rem 0.85rem 0;
    padding: 1.15rem 1.15rem 1.05rem;
    background: #0b1e3a;
    border: 1px solid rgba(11, 30, 58, 0.9);
    border-radius: 1.45rem;
    box-shadow: 0 20px 42px -22px rgba(11, 30, 58, 0.55);
  }

  .home-hero__kicker {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    color: #ff7a00;
  }

  .home-hero__name {
    margin-top: 0.35rem;
    font-size: clamp(1.95rem, 8.4vw, 2.45rem);
    white-space: normal;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #f7f9fc;
  }

  .home-hero__role--full {
    display: none;
  }

  .home-hero__role--short {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.3;
    color: #d7dee8;
  }

  .home-hero__school {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9aa6b8;
  }

  .home-hero__line {
    display: none;
  }

  .home-hero__cta {
    margin-top: 0.9rem;
  }

  .home-hero__link {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.94rem;
    border-radius: 0.95rem;
    background: #ff7a00;
    color: #0b1e3a;
    box-shadow: 0 14px 28px -16px rgba(255, 122, 0, 0.55);
  }
}

@media (max-width: 499px) and (max-height: 700px) {
  .home-hero__stage {
    grid-template-rows: minmax(0, 1fr) auto;
    padding-bottom: 0.65rem;
  }

  .home-hero__copy {
    margin: -3.4rem 0.7rem 0;
    padding: 1rem 1rem 0.9rem;
  }

  .home-hero__name {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .home-hero__cta {
    margin-top: 0.8rem;
  }
}

@media (max-width: 499px) and (max-height: 620px) {
  .home-hero__school {
    display: none;
  }

  .home-hero__stage {
    padding-bottom: 0.5rem;
  }

  .home-hero__copy {
    margin-top: -2.9rem;
    padding-top: 0.9rem;
  }
}


@media (min-width: 900px) {
  .home-hero__stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

[data-theme="dark"] body.home-lock {
  background:
    radial-gradient(720px 280px at 0% 0%, rgba(255, 122, 0, 0.14), transparent 62%),
    #0a111f;
}

[data-theme="dark"] body.home-lock > header {
  background: #0a111f;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] body.home-lock > header > div > div {
  background: transparent !important;
  box-shadow: none !important;
}

[data-theme="dark"] .home-hero__stage {
  background: #131c2e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

[data-theme="dark"] .home-hero__name,
[data-theme="dark"] .home-hero__role {
  color: #f4f6f8;
}

[data-theme="dark"] .home-hero__school,
[data-theme="dark"] .home-hero__line,
[data-theme="dark"] .home-hero__line-type {
  color: #b7c0cc;
}

[data-theme="dark"] .home-hero__link {
  background: #ff7a00;
  color: #0a111f;
}

[data-theme="dark"] .home-hero__link:hover {
  background: #ff8f2a;
}

[data-theme="dark"] .home-hero__photo {
  background: #1a2438;
}

@media (max-width: 499px) {
  [data-theme="dark"] body.home-lock {
    background: #070d18;
  }

  [data-theme="dark"] body.home-lock > header {
    background: transparent;
    border-bottom-color: transparent;
  }

  [data-theme="dark"] body.home-lock > header .text-ink,
  [data-theme="dark"] body.home-lock > header a,
  [data-theme="dark"] body.home-lock > header button {
    color: #fff;
  }

  [data-theme="dark"] body.home-lock > header button,
  [data-theme="dark"] body.home-lock > header .rounded-xl {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff;
  }

  [data-theme="dark"] body.home-lock .brand-manuel,
  [data-theme="dark"] body.home-lock .brand-manuel.text-deep {
    color: #fff !important;
  }

  [data-theme="dark"] .home-hero__stage {
    background: transparent;
    border: 0;
  }

  [data-theme="dark"] .home-hero__photo {
    background:
      radial-gradient(ellipse 80% 55% at 50% 72%, rgba(255, 122, 0, 0.22), transparent 70%),
      linear-gradient(180deg, #163058 0%, #0b1e3a 55%, #06111f 100%) !important;
  }

  [data-theme="dark"] .home-hero__photo--transparent::after {
    background: linear-gradient(180deg, rgba(7, 13, 24, 0.55), transparent);
  }

  [data-theme="dark"] .home-hero__copy {
    background: #121a2b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  }

  [data-theme="dark"] .home-hero__name {
    color: #f4f6f8;
  }

  [data-theme="dark"] .home-hero__role--short {
    color: #e8eef7;
  }

  [data-theme="dark"] .home-hero__school {
    color: #9aa6b8;
  }

  [data-theme="dark"] .home-hero__link {
    background: #ff7a00;
    color: #0a111f;
  }

  [data-theme="dark"] .home-hero__photo--transparent img {
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
  }
}

@media (min-width: 500px) {
  [data-theme="dark"] .home-hero__photo--transparent {
    background: transparent;
  }

  [data-theme="dark"] .home-hero__photo--transparent img {
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  }

  [data-theme="dark"] .home-bg img {
    filter: invert(1) brightness(1.35);
    opacity: 0.14;
  }

  [data-theme="dark"] .home-bg::after {
    background:
      linear-gradient(to bottom, rgba(10, 17, 31, 0.55) 0%, rgba(10, 17, 31, 0.18) 42%, rgba(10, 17, 31, 0.72) 100%),
      linear-gradient(to right, rgba(10, 17, 31, 0.94) 0%, rgba(10, 17, 31, 0.62) 34%, rgba(10, 17, 31, 0.42) 100%);
  }

  [data-theme="dark"] .home-hero__stage {
    background: transparent;
    border: 0;
  }

  [data-theme="dark"] .home-hero__photo {
    background: transparent;
  }

  [data-theme="dark"] .home-hero__line,
  [data-theme="dark"] .home-hero__line-type {
    color: #ff7a00;
  }
}
