/* October client references. Source photographs are served without conversion. */
/* Korean uses system Hangul fonts; Latin brand artwork remains unchanged. */
html[lang="ko-KR"] body { font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko-KR"] :is(h1,h2,h3,p,label,button,input,textarea,select,nav,a) { font-family: inherit; }
html[lang="ko-KR"] :is(.biofzen-hero__title,.biofzen-home-link__title,.biofzen-distribution__title,.biofzen-distribution__subhead,.biofzen-distribution__form-title) { letter-spacing: -.025em; }
html[lang="ko-KR"] .biofzen-hero__title { font-size: clamp(42px, 5.5vw, 84px); line-height: 1.2; }
html[lang="ko-KR"] .aquamarine-product__ingredient-note { overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
  html[lang="ko-KR"] .biofzen-hero__title { font-size: clamp(32px, 9.3vw, 40px); }
  html[lang="ko-KR"] .biofzen-hero__copy { max-width: 200px; }
}
body .biofzen-fillmed-header__toggle {
  height: 44px;
  justify-content: center;
  gap: 10px;
}
body .biofzen-language__trigger {
  min-width: 130px;
  min-height: 44px;
  padding: 8px 14px;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  font-weight: 400;
}
.biofzen-language__globe { width: 22px; height: 22px; flex: 0 0 22px; }
body .biofzen-language__trigger:focus-visible { outline: 2px solid white; outline-offset: 4px; }
body.home .biofzen-hero__image {
  left: 40%;
  width: 60%;
  transform: none;
  object-position: left center;
  mask-image: linear-gradient(to right, transparent, #000 16%);
}
body.home .biofzen-hero__stage { background: #000; }
body.home .biofzen-hero__shade {
  background: linear-gradient(90deg, rgba(0,0,0,.3), transparent 72%);
}
body.home .biofzen-home-links {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  padding: 12px 0 clamp(72px, 8vw, 128px);
  gap: 28px;
  background: #fff;
}
/* Desktop cards span the page; retain the approved mobile/tablet layout. */
@media (min-width: 1024px) {
  body.home .biofzen-home-links { width: calc(100% - 48px); }
}
body.home .biofzen-home-link {
  min-height: 140px;
  height: clamp(160px, 14vw, 236px);
  padding: 32px 100px;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 16px;
  background: linear-gradient(120deg, #fbfbfb, #f7f7f7);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease, background 320ms ease;
}
body.home .biofzen-home-link::after { display: none; }
body.home .biofzen-home-link__title {
  max-width: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .13em;
  text-align: center;
}
.biofzen-home-link__arrow {
  position: absolute;
  right: 32px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #a6a6a6;
  border-radius: 50%;
  font: 28px/1 Arial, sans-serif;
  transition: transform 320ms ease;
}
@media (hover: hover) {
  body.home .biofzen-home-link:hover { transform: translateY(-6px); box-shadow: 0 20px 36px rgba(0,0,0,.12); }
  body.home .biofzen-home-link:hover .biofzen-home-link__arrow { transform: translateX(3px); }
}
body.home .biofzen-home-link:active { transform: translateY(2px); }
body.home .biofzen-home-link:focus-visible { outline-offset: 4px; }
body .biofzen-about__image { width: 100%; margin: 0; align-self: center; }
body .biofzen-about__image img { display: block; width: 100%; height: auto; }
body.page-products #page-products > article > .jumbotron {
  position: relative;
  overflow: hidden;
  /* Reserve only the fixed header and title band in the first desktop screen. */
  --portfolio-banner-height: max(280px, calc(100svh - 196px));
  --portfolio-art-size: calc(var(--portfolio-banner-height) * 1.3);
  height: var(--portfolio-banner-height) !important;
  min-height: 0 !important;
  padding: 0 !important;
  background-position: center 53% !important;
  background-color: #c8ecee;
}
body.page-products #page-products > article > .jumbotron::before,
body.page-products #page-products > article > .jumbotron::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center;
}
body.page-products #page-products > article > .jumbotron::before {
  inset: -32px;
  background-size: cover;
  filter: blur(30px);
}
body.page-products #page-products > article > .jumbotron::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--portfolio-art-size);
  transform: translateX(-50%);
  background-size: 100% auto;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
body.page-products #page-products > article > .jumbotron > div { background: transparent; }
body.page-products .biofzen-products-portfolio { padding-top: 0; }
body.page-products .biofzen-products-portfolio__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin: 0;
  padding: 24px 0;
  font-size: clamp(30px, 2.8vw, 48px);
}
body.page-products .biofzen-products-portfolio__title + p { padding-top: 24px; }
/* The legacy body is a viewport-height scroll container with a header offset.
   Account for that offset once and keep the compact footer at the bottom. */
body.page-locations:not(.home):not(.confidence-scroll-layout) {
  display: flex;
  flex-direction: column;
  height: calc(100% - var(--biofzen-header-height, 76px));
  padding-bottom: 0 !important;
  background: #fbfaf8;
}
body.page-locations > #content { flex: 1 0 auto; }
body.page-locations > #biofzen-site-footer { flex: 0 0 auto; }
body.page-locations:not(.home):not(.confidence-scroll-layout) .biofzen-site-footer { box-shadow: none; }
body .biofzen-distribution { padding: clamp(28px, 4svh, 56px) clamp(24px, 5vw, 80px) 24px; background: #fbfaf8; }
body .biofzen-distribution__inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "intro form" "photo form" "tagline tagline";
  column-gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
body .biofzen-distribution__intro { padding: 0; align-self: start; }
body .biofzen-distribution__eyebrow { margin-bottom: 12px; font-size: 14px; font-weight: 500; }
body .biofzen-distribution__title { font-size: clamp(52px, 4.6vw, 76px); line-height: 1; }
body .biofzen-distribution__subhead { margin: 18px 0; font-size: clamp(36px, 3.2vw, 52px); line-height: 1.06; color: #303030; }
body .biofzen-distribution__rule { display: none; }
body .biofzen-distribution__copy { max-width: 100%; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.4; color: #343434; }
body .biofzen-distribution__world-map { grid-area: photo; align-self: end; padding: 24px 0 0; }
body .biofzen-distribution__world-map img { display: block; width: 100%; height: auto; filter: url(#biofzen-map-neutral) grayscale(1); opacity: 1; }
body .biofzen-distribution__form {
  min-width: 0;
  min-height: 0;
  padding: 29px 0 0;
  align-self: stretch;
  align-content: space-between;
  column-gap: 24px;
  row-gap: 22px;
}
body .biofzen-distribution__form-title { margin: 0 0 12px; font-size: clamp(32px, 3vw, 48px); line-height: 1.12; white-space: normal; }
body .biofzen-distribution__field { min-width: 0; }
body .biofzen-distribution__field span { margin: 0 0 8px; font-size: 16px; color: #222; }
body .biofzen-distribution__field input,
body .biofzen-distribution__field select,
body .biofzen-distribution__field textarea {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #cfcdcb;
  border-radius: 3px;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
}
body .biofzen-distribution__field textarea { min-height: 92px; }
body .biofzen-distribution__field input:focus-visible,
body .biofzen-distribution__field select:focus-visible,
body .biofzen-distribution__field textarea:focus-visible { outline: 2px solid #444; outline-offset: 2px; }
body .biofzen-distribution__submit { min-height: 50px; margin: 0; border-radius: 2px; }
@media (min-width: 768px) and (max-height: 800px) {
  body .biofzen-distribution { padding-top: 24px; }
  body .biofzen-distribution__title { font-size: 52px; }
  body .biofzen-distribution__subhead { font-size: 34px; margin: 14px 0; }
  body .biofzen-distribution__copy { font-size: 16px; }
  body .biofzen-distribution__world-map { padding-top: 20px; }
  body .biofzen-distribution__world-map img { max-height: 220px; object-fit: contain; object-position: left bottom; }
  body .biofzen-distribution__form { row-gap: 14px; }
  body .biofzen-distribution__form-title { font-size: 36px; margin-bottom: 8px; }
  body .biofzen-distribution__field span { font-size: 14px; margin-bottom: 6px; }
  body .biofzen-distribution__field textarea { min-height: 80px; }
}
body .bf-contact__stage {
  width: calc(100% + max(20px, (100vw - 1280px) / 2));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 28px;
  min-height: 620px;
  padding: 64px 0;
  align-items: center;
}
body .bf-contact__details { padding: 0; }
body .bf-contact-form { width: 100%; margin: 0; }
body .bf-contact__visual { align-self: stretch; margin: -64px 0; min-height: 500px; }
body .bf-contact__visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 57% center;
  filter: none;
}
@media (max-width: 1099.98px) {
  body .bf-contact__stage { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .bf-contact__visual { width: 100%; min-height: 340px; margin: 0; }
}
@media (max-width: 991.98px) {
  body .biofzen-fillmed-header { grid-template-columns: 44px minmax(0, 1fr) 116px; gap: 10px; }
  body .biofzen-language__trigger { min-width: 116px; padding: 8px 10px; gap: 7px; font-size: 12px; }
  body .biofzen-language__globe { width: 20px; height: 20px; flex-basis: 20px; }
  body .bf-contact__stage { gap: 32px; padding: 44px 16px; }
}
@media (max-width: 767.98px) {
  body .biofzen-fillmed-header { grid-template-columns: 36px minmax(0, 1fr) 108px; gap: 8px; padding: 12px 16px; }
  body .biofzen-fillmed-header__brand,
  body .biofzen-fillmed-header__brand img { width: clamp(112px, 33vw, 145px); }
  body .biofzen-fillmed-header__toggle { width: 36px; padding: 0 2px; gap: 9px; }
  body .biofzen-language__trigger { min-width: 108px; min-height: 40px; padding: 7px 8px; font-size: 11px; }
  body.home .biofzen-hero__image { left: 40%; width: 100%; object-position: left center; }
  body.home .biofzen-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.28), transparent 100%); }
  body.home .biofzen-home-links { width: calc(100% - 40px); gap: 20px; padding: 0 0 64px; }
  body.home .biofzen-home-link { height: 140px; min-height: 140px; padding: 24px 58px 24px 18px; border-radius: 12px; }
  body.home .biofzen-home-link__title { font-size: clamp(19px, 5.3vw, 26px); letter-spacing: .075em; }
  .biofzen-home-link__arrow { right: 14px; width: 36px; height: 36px; font-size: 23px; }
  body .biofzen-about__image { max-width: none; }
  body.page-products #page-products > article > .jumbotron { height: clamp(300px, 83vw, 440px) !important; background-position: center 50% !important; --portfolio-art-size: clamp(330px, 100vw, 572px); }
  body.page-products .biofzen-products-portfolio__title { min-height: 120px; font-size: clamp(28px, 7.5vw, 38px); }
  body.page-products .biofzen-products-portfolio__title + p { padding-top: 12px; }
  body .biofzen-distribution__inner { grid-template-areas: "intro" "photo" "form" "tagline"; }
  body .biofzen-distribution__world-map { padding: 32px 0 12px; }
  body .biofzen-distribution__form { padding: 28px 0 0; row-gap: 20px; }
  body .biofzen-distribution__title { font-size: clamp(46px, 12vw, 64px); }
  body .biofzen-distribution__subhead { font-size: 34px; }
  body .bf-contact__stage { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 24px; }
  body .bf-contact__details { padding: 0 20px; }
  body .bf-contact-form { width: calc(100% - 40px); margin: 0 20px; }
  body .bf-contact__visual { width: calc(100% - 40px); min-height: 280px; margin: 0 20px; }
}
@media (max-width: 359.98px) {
  body .biofzen-fillmed-header { padding-right: 10px; padding-left: 10px; grid-template-columns: 32px minmax(0, 1fr) 100px; gap: 6px; }
  body .biofzen-fillmed-header__brand, body .biofzen-fillmed-header__brand img { width: 108px; }
  body .biofzen-language__trigger { min-width: 100px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .biofzen-home-link,
  body.home .biofzen-home-link:hover,
  body.home .biofzen-home-link:active,
  body.home .biofzen-home-link__arrow,
  body.home .biofzen-home-link:hover .biofzen-home-link__arrow { transition: none; transform: none; }
}
