/* ------------------------------------------------
  STUDIO BLUEFIN_TUNAS (참다랑어들) - brand overrides
  Loaded after main.css
------------------------------------------------ */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --_font-default: "Pretendard Variable", "Pretendard", "Manrope", sans-serif;
  --_font-accent: "JetBrains Mono", "Pretendard Variable", "Pretendard", monospace;
  /* brand navy & tuna orange (회사소개서 컬러) */
  --bf-navy: #1F2152;
  --bf-navy-rgb: 31, 33, 82;
  --bf-orange: #F39C12;
  --accent--light: #1F2152;
  --highlight--light: #F39C12;
  --accent--dark: #2E3392;
  --highlight--dark: #F39C12;
}

body {
  word-break: keep-all;
}

/* fish logo (mask so it follows the text color in both themes) */
.bf-fish {
  display: inline-block;
  aspect-ratio: 1002 / 474;
  height: 3rem;
  background-color: currentColor;
  -webkit-mask: url(../img/bluefin/brand/fish-white.png) center / contain no-repeat;
          mask: url(../img/bluefin/brand/fish-white.png) center / contain no-repeat;
}
@media only screen and (min-width: 1200px) {
  .bf-fish {
    height: 3.4rem;
  }
}

/* korean wordmark in the hero & footer (5 hangul chars instead of 6 latin) */
.fullwidth-text__content.bf-wordmark,
.fw-mark__content.bf-wordmark {
  font-size: 24cqw;
  line-height: 1;
}
.fullwidth-text__content.bf-wordmark span,
.fw-mark__content.bf-wordmark span {
  font-family: var(--_font-default);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
@media only screen and (min-width: 768px) {
  .fullwidth-text__content.bf-wordmark,
  .fw-mark__content.bf-wordmark {
    font-size: 24cqw;
  }
}

/* hero preview image instead of the demo video */
.mxd-hero-01__video-wrap img.mxd-hero-01__video {
  object-fit: cover;
}

/* parallax divider - vision */
.divider-image-1 {
  background-image: url(../img/bluefin/studio/editing-bg.webp);
}

/* menu media image */
.menu-media__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* team cards: portrait photos */
.bf-team .mxd-blog-item__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.bf-team .mxd-blog-item__date .meta-date {
  color: var(--accent);
}
.bf-team .mxd-blog-item__caption .bf-credits {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--t-medium);
}

/* show posters in the CTA marquee: transparent rounded corners */
.bf-posters .marquee__image img {
  object-fit: contain;
  background: transparent;
}

/* hero background */
.mxd-hero-01 {
  background-image: url(../img/bluefin/studio/hero-bg-particles.webp);
  background-size: cover;
  background-position: center;
}

/* team caption: name on top, credits below */
.bf-team .mxd-blog-item__caption {
  display: block;
}

/* producer credit tables (no poster images) */
.bf-credits-table .mxd-awards__item {
  padding: 1.8rem 0;
}
.bf-credit-list ul li {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* inquiry form: spam trap, status line, copy toast */
.bf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.bf-form-status {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--t-medium);
}
.bf-form-status:empty {
  display: none;
}
.bf-form-status.is-error {
  color: var(--accent);
}
.bf-contact-form button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.bf-toast {
  position: fixed;
  left: 50%;
  bottom: 3.2rem;
  z-index: 9999;
  padding: 1.2rem 2rem;
  border-radius: 10rem;
  background: var(--bf-navy);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 1rem);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.bf-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* works headline count: 80% of the template size (74% → 59.2%) */
h1 sup {
  font-size: 59.2%;
}

/* contact: long email in fullwidth text (21 chars vs template 16) */
.headline-email-text .fullwidth-text__content.small {
  font-size: 7.6cqw;
}
@media only screen and (min-width: 768px) {
  .headline-email-text .fullwidth-text__content.small {
    font-size: 7.6cqw;
  }
}

/* filmography hover thumbnail: show the whole image (no crop),
   floating over the list instead of clipped to the 100px row */
.bf-filmography .mxd-awards__image {
  height: auto;
}
.bf-filmography .mxd-awards__image img {
  height: auto;
  aspect-ratio: 677 / 540;
  object-fit: contain;
}
@media only screen and (min-width: 1200px) {
  .bf-filmography .mxd-awards__item {
    position: relative;
  }
  .bf-filmography .mxd-awards__item:hover {
    z-index: 5;
  }
  .bf-filmography .mxd-awards__image {
    height: 100px;
    max-height: none;
  }
  .bf-filmography .mxd-awards__image img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-width: 44rem;
    max-height: none;
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 1.6rem 3rem rgba(0, 0, 0, 0.25));
  }
}

/* hero: underwater motion, drawn on one canvas (js/bluefin.js) */
.bf-sea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
