/*
 * CASTING LAB v77
 * Scope: the top-right menu drawer and the /about/ presentation only.
 */

/* Top-right menu button */
#openDrawer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

#openDrawer .menu-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: #111318;
}

/* Menu drawer — adapted from the approved design-only preview. */
.drawer-backdrop {
  background: rgba(10, 11, 14, .45);
  backdrop-filter: blur(3px);
  transition: opacity .28s;
}

.account-drawer {
  width: min(88vw, 378px);
  height: 100dvh;
  padding: 0 22px 28px;
  background: #fff;
  transform: translateX(105%);
  opacity: 0;
  overflow: auto;
  box-shadow: -18px 0 45px rgba(0, 0, 0, .16);
  transition: transform .32s ease, opacity .25s;
}

.account-drawer.show {
  transform: translateX(0);
  opacity: 1;
}

.account-drawer .drawer-head {
  height: 72px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ecece8;
}

.account-drawer .drawer-head b {
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -1px;
}

.account-drawer .drawer-head em {
  color: var(--blue);
  font-style: normal;
}

.account-drawer .drawer-close {
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 27px;
  font-weight: 300;
}

.account-drawer .drawer-welcome {
  padding: 27px 0 24px;
}

.account-drawer .drawer-welcome small {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 1.5px;
}

.account-drawer .drawer-welcome strong {
  display: block;
  margin: 0;
  font-size: 25px;
  line-height: 1.32;
  letter-spacing: -1.25px;
}

.account-drawer .drawer-welcome p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.drawer-menu-nav {
  border-top: 1px solid #e4e4de;
}

.drawer-menu-link {
  width: 100%;
  height: 54px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #eeeeea;
  background: none;
  color: #101114;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
  text-decoration: none;
}

.drawer-menu-link b {
  color: #999b96;
  font-size: 16px;
  font-weight: 400;
}

.drawer-menu-foot {
  margin-top: 24px;
  color: #9b9c98;
  font-size: 10px;
  text-align: center;
}

.drawer-menu-foot a {
  color: inherit;
  text-decoration: none;
}

.drawer-compat[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  .app:has(#homeView.active) .mobile-menu {
    display: flex !important;
  }
}

/* ABOUT CASTING LAB landing */
body.about-page {
  margin: 0;
  background: #deded9;
  color: #101114;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

body.about-page * {
  box-sizing: border-box;
}

.about-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #f5f4f0;
  box-shadow: 0 0 40px rgba(18, 20, 24, .08);
}

.about-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 70px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ecece7;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}

.about-brand {
  color: #111318;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -1px;
  text-decoration: none;
}

.about-brand em,
.about-footer em {
  color: #3659e8;
  font-style: normal;
}

.about-brand small {
  display: block;
  margin-top: 4px;
  color: #888984;
  font-size: 6px;
  letter-spacing: 1.55px;
}

.about-home {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #16181d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .5px;
  text-decoration: none;
}

.about-home span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d1;
  border-radius: 50%;
  font-size: 12px;
}

.about-main {
  padding: 0;
}

.about-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(145deg, #12151d 0%, #1c2232 62%, #273b9d 145%);
  color: #fff;
}

.about-hero::before {
  content: "CASTING";
  position: absolute;
  right: -32px;
  bottom: 92px;
  color: rgba(255, 255, 255, .035);
  font-size: 80px;
  font-weight: 950;
  letter-spacing: -5px;
  transform: rotate(-90deg);
}

.about-hero::after {
  content: "";
  position: absolute;
  top: 33px;
  right: 24px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(134, 154, 255, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(134, 154, 255, .055), 0 0 0 60px rgba(134, 154, 255, .025);
}

.about-hero-copy {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 22px;
  left: 25px;
}

.about-hero-copy > small {
  display: block;
  margin-bottom: 10px;
  color: #cdd5ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.4px;
}

.about-hero-copy h1 {
  margin: 0;
  font-size: 37px;
  line-height: 1.16;
  letter-spacing: -2.2px;
}

.about-hero-copy p {
  margin: 14px 0 0;
  color: #d6d9e3;
  font-size: 16px;
  line-height: 1.65;
}

.about-story-band {
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d9d9d2;
  background: #fff;
  color: #15171c;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: .25px;
  text-decoration: none;
}

.about-story {
  padding: 58px 24px 50px;
}

.about-kicker {
  margin-bottom: 24px;
  display: block;
  color: #3157f4;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: .15px;
}

.about-story h2,
.about-feature h2,
.about-growth h2,
.about-final h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: -1.55px;
}

.about-story h2 em {
  color: #3659e8;
  font-style: normal;
}

.about-story > p,
.about-feature-copy > p {
  margin: 22px 0 0;
  color: #3f413d;
  font-size: 17.5px;
  line-height: 1.82;
  letter-spacing: -.25px;
  word-break: keep-all;
}

.about-story h2 + p,
.about-feature-copy h2 + p,
.about-growth h2 + p {
  margin-top: 34px;
}

.about-story > p + p,
.about-feature-copy > p + p {
  margin-top: 11px;
}

.about-feature {
  margin: 0 16px 12px;
  overflow: hidden;
  border: 1px solid #e0e0da;
  border-radius: 20px;
  background: #fff;
}

.talent-feature {
  border-top: 4px solid #3659e8;
}

.project-feature {
  border-top: 4px solid #151820;
}

.about-feature-copy {
  padding: 33px 22px 25px;
}

.about-feature-copy h2 {
  font-size: 29px;
}

.about-feature-copy > p {
  font-size: 17px;
  line-height: 1.82;
}

.about-primary-link {
  margin-top: 24px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 11px;
  background: #3659e8;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.about-primary-link span {
  font-size: 14px;
  font-weight: 400;
}

.about-link-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 22px;
}

.about-link-row .about-primary-link {
  margin-top: 0;
}

.about-secondary-link {
  display: grid;
  place-items: center;
  padding: 15px 10px;
  border: 1px solid #d8d8d2;
  border-radius: 11px;
  color: #15171c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.about-growth {
  position: relative;
  margin-top: 40px;
  padding: 52px 24px 55px;
  overflow: hidden;
  background: #151820;
  color: #fff;
}

.about-kicker.light {
  position: relative;
  z-index: 2;
  color: #9fb0ff;
}

.about-growth h2 {
  position: relative;
  z-index: 2;
  font-size: 34px;
}

.about-growth > p {
  position: relative;
  z-index: 2;
  max-width: 350px;
  margin: 22px 0 0;
  color: #d1d3d9;
  font-size: 17px;
  line-height: 1.82;
  word-break: keep-all;
}

.about-growth > p + p {
  margin-top: 10px;
}

.about-growth blockquote {
  position: relative;
  z-index: 2;
  margin: 34px 0 0;
  padding: 21px 0 0;
  border-top: 1px solid #3d424d;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.48;
  letter-spacing: -.6px;
}

.about-growth blockquote em {
  color: #9fb0ff;
  font-style: normal;
}

.growth-ring {
  position: absolute;
  border: 1px solid rgba(118, 139, 255, .14);
  border-radius: 50%;
}

.ring-one {
  right: -145px;
  bottom: -95px;
  width: 270px;
  height: 270px;
}

.ring-two {
  right: -103px;
  bottom: -54px;
  width: 185px;
  height: 185px;
}

.about-final {
  padding: 62px 23px 56px;
  background: #eef1ff;
  text-align: center;
}

.about-final > small {
  color: #3659e8;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 2px;
}

.about-final h2 {
  margin-top: 14px;
  font-size: 31px;
}

.about-final > p {
  margin: 15px 0 0;
  color: #555861;
  font-size: 15px;
  line-height: 1.72;
}

.about-final > div {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.about-final a {
  padding: 15px;
  border-radius: 12px;
  background: #3659e8;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.about-final a.dark {
  background: #15171c;
}

.about-wordline {
  margin: 0;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d9d9d2;
  border-bottom: 1px solid #d9d9d2;
  background: #f7f7f3;
  color: #202227;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .3px;
}

.about-wordline b {
  color: #a2a39f;
  font-weight: 400;
}

.about-footer {
  margin: 0;
  padding: 30px 21px 32px;
  border-top: 0;
  background: #ededE9;
  color: #979893;
  font-size: 9px;
  line-height: 1.8;
  text-align: center;
}

.about-footer .footer-brand {
  color: #26282d;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.7px;
}

.about-footer p {
  margin: 12px 0 8px;
}

.about-footer > a {
  display: inline-block;
  margin-top: 9px;
  color: #555752;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

@media (min-width: 820px) {
  body.about-page {
    padding: 28px 0;
  }

  .about-shell {
    border-radius: 26px;
  }
}

@media (max-width: 360px) {
  .about-hero {
    height: 285px;
  }

  .about-hero-copy h1 {
    font-size: 33px;
  }

  .about-story h2,
  .about-growth h2 {
    font-size: 28px;
  }

  .about-link-row {
    grid-template-columns: 1fr;
  }
}
