@charset "utf-8";

/* ========== greeting intro — splash (Figma 1719:5325) ========== */
.greeting-intro-body {
  margin: 0;
  overflow: hidden;
  background: #0a0d14;
}

.greeting-splash {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a0d14;
}

.greeting-intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.greeting-intro__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 25, 0.28);
  pointer-events: none;
}

.greeting-intro__center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.greeting-intro__emblem {
  position: relative;
  width: 154px;
  height: 105px;
  margin-bottom: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(72%);
  filter: blur(8px);
  transform-origin: 50% 100%;
}

.greeting-intro__emblem-mark {
  display: block;
  width: 154px;
  height: 105px;
  margin: 0 auto;
}

.greeting-intro__title {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -1.4px;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 10, 25, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(72%);
  filter: blur(8px);
  transform-origin: 50% 100%;
}

.greeting-intro__desc {
  margin: 30px 0 0;
  max-width: 560px;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.45px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(72%);
  filter: blur(8px);
  transform-origin: 50% 100%;
}

/* Centreville brand-word letter spans */
.greeting-intro__title .intro-char,
.greeting-intro__desc .intro-char {
  display: inline-block;
  will-change: transform, opacity, filter;
  transform-origin: 50% 100%;
}

/* Leave — keep frozen video frame; only content fades out */
.greeting-splash.is-leaving .greeting-intro__center {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 16px));
  filter: blur(4px);
}

/* ========== greeting — CEO page (Figma 1719:5384) ========== */
.greeting-page {
  padding-top: 0;
  background: #fff;
  color: #050505;
}

.greeting-page.is-intro {
  overflow: hidden;
  background: #0a0d14;
}

/* Intro overlay */
.greeting-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.greeting-intro__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 25, 0.28);
}

.greeting-intro__center {
  pointer-events: auto;
}

.greeting-page.is-morphing .greeting-intro,
.greeting-page:not(.is-intro) .greeting-intro {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.45s;
}

.greeting-page.is-morphing .greeting-intro__center,
.greeting-page.is-intro.is-intro-leaving .greeting-intro__center {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 16px));
  filter: blur(4px);
  transition:
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero video — crop settles to center still; locked after morph */
.page-hero__video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #0a1524;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.greeting-page.is-video-settled .page-hero__video,
.greeting-page.is-ready .page-hero__video {
  /* locked still — entrance animations must not move the sky */
  transition: none !important;
  animation: none !important;
}

/* dim: soft fade only, does not transform the video */
.greeting-page.is-morphing .page-hero__dim {
  visibility: visible;
  opacity: 0 !important;
  transition: none;
}

.greeting-page.js-animate .page-hero__dim {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.greeting-page.js-animate.is-ready .page-hero__dim {
  visibility: visible;
  opacity: 1;
}

/* Fullscreen sky during splash */
.greeting-page.is-intro .page-hero__video {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.greeting-page.is-intro .page-hero__dim,
.greeting-page.is-intro .page-hero__inner,
.greeting-page.is-intro .page-hero__emblem,
.greeting-page.is-intro .greeting-body,
.greeting-page.is-intro .footer-section {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Morph */
.greeting-page.is-morphing .page-hero__video {
  z-index: 55;
  object-fit: cover;
}

.greeting-page.is-morphing .page-hero__dim {
  visibility: visible;
  opacity: 0 !important;
  transition: none;
}

.greeting-page.js-animate .page-breadcrumb,
.greeting-page.js-animate .page-hero__en,
.greeting-page.js-animate .page-hero__divider,
.greeting-page.js-animate .page-hero__ko,
.greeting-page.js-animate .page-hero__emblem,
.greeting-page.js-animate .greeting-content__eyebrow,
.greeting-page.js-animate .greeting-content__title,
.greeting-page.js-animate .greeting-content__portrait,
.greeting-page.js-animate .greeting-content__head-bg,
.greeting-page.js-animate .greeting-content__text p,
.greeting-page.js-animate .greeting-content__sign,
.greeting-page.js-animate .greeting-media {
  opacity: 0;
}

.greeting-page.js-animate .page-breadcrumb {
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.greeting-page.js-animate .page-hero__en {
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

.greeting-page.js-animate .page-hero__divider {
  transform: scaleY(0);
  transform-origin: center;
  transition:
    opacity 0.5s ease 0.4s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.greeting-page.js-animate .page-hero__ko {
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s;
}

.greeting-page.js-animate .page-hero__emblem {
  transform: translateY(16px) scale(0.92);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

/* content head group — image, text, bg box appear together */
.greeting-page.js-animate .greeting-content__eyebrow,
.greeting-page.js-animate .greeting-content__title,
.greeting-page.js-animate .greeting-content__portrait,
.greeting-page.js-animate .greeting-content__head-bg {
  transform: translateY(24px);
  filter: none;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.greeting-page.js-animate .greeting-content__text p {
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.greeting-page.js-animate .greeting-content__text p:nth-child(1) {
  transition-delay: 0.9s;
}

.greeting-page.js-animate .greeting-content__text p:nth-child(2) {
  transition-delay: 1.02s;
}

.greeting-page.js-animate .greeting-content__text p:nth-child(3) {
  transition-delay: 1.14s;
}

.greeting-page.js-animate .greeting-content__text p:nth-child(4) {
  transition-delay: 1.26s;
}

.greeting-page.js-animate .greeting-content__sign {
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.38s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.38s;
}

.greeting-page.js-animate .greeting-media {
  transform: translateX(6%);
  clip-path: inset(0 0 0 100%);
  transition:
    opacity 0.01s linear 0.55s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
    clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

/* Active: settle into place */
.greeting-page.js-animate.is-ready .page-hero__dim {
  opacity: 1;
}

.greeting-page.js-animate.is-ready .page-breadcrumb,
.greeting-page.js-animate.is-ready .page-hero__en,
.greeting-page.js-animate.is-ready .page-hero__ko,
.greeting-page.js-animate.is-ready .page-hero__emblem,
.greeting-page.js-animate.is-ready .greeting-content__eyebrow,
.greeting-page.js-animate.is-ready .greeting-content__title,
.greeting-page.js-animate.is-ready .greeting-content__portrait,
.greeting-page.js-animate.is-ready .greeting-content__head-bg,
.greeting-page.js-animate.is-ready .greeting-content__text p,
.greeting-page.js-animate.is-ready .greeting-content__sign,
.greeting-page.js-animate.is-ready .greeting-media {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

.greeting-page.js-animate.is-ready .page-hero__divider {
  opacity: 1;
  transform: scaleY(1);
}

.greeting-page.js-animate.is-ready .page-hero__inner,
.greeting-page.js-animate.is-ready .page-hero__emblem,
.greeting-page.js-animate.is-ready .greeting-body,
.greeting-page.js-animate.is-ready .footer-section {
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .greeting-page.js-animate .page-hero__dim,
  .greeting-page.js-animate .page-breadcrumb,
  .greeting-page.js-animate .page-hero__en,
  .greeting-page.js-animate .page-hero__divider,
  .greeting-page.js-animate .page-hero__ko,
  .greeting-page.js-animate .page-hero__emblem,
  .greeting-page.js-animate .greeting-content__eyebrow,
  .greeting-page.js-animate .greeting-content__title,
  .greeting-page.js-animate .greeting-content__portrait,
  .greeting-page.js-animate .greeting-content__head-bg,
  .greeting-page.js-animate .greeting-content__text p,
  .greeting-page.js-animate .greeting-content__sign,
  .greeting-page.js-animate .greeting-media {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* fullpage section — one frame like main3 */
#fullpage > .section.greeting-section {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

.greeting-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.greeting-page .footer-section .main-footer,
#fullpage .main-footer {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 350px;
  background: #0a1c31;
  color: #fff;
}

/* Body fills remaining space under 275px hero */
.greeting-body {
  display: grid;
  grid-template-columns: 850px minmax(0, 1fr);
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  margin-top: -1px; /* seal 1px seam under hero */
  position: relative;
  z-index: 1;
}

.greeting-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

/* Hero: 275px; fixed white header overlays top */
.page-hero {
  position: relative;
  flex: 0 0 275px;
  width: 100%;
  height: 275px;
  overflow: hidden;
  background: #0a1524;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 13, 31, 0.5);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  padding: 125px 60px 0;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 40px;
}

.page-breadcrumb li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.page-breadcrumb a,
.page-breadcrumb span {
  display: flex;
  align-items: center;
  height: 40px;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
  color: #fff;
  text-decoration: none;
}

.page-breadcrumb__home {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.page-breadcrumb__home:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.page-breadcrumb__home img {
  display: block;
  width: 40px;
  height: 40px;
}

.page-breadcrumb__sep {
  display: block;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  margin: 0;
  /* rotate first, then nudge in screen space for optical center with text */
  transform: translateY(0px) rotate(45deg);
  transform-origin: center center;
}

.page-hero__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 0;
}

.page-hero__en {
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero__divider {
  display: inline-block;
  width: 1px;
  height: 21px;
  background: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.page-hero__ko {
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.65px;
  color: #fff;
}

.page-hero__emblem {
  position: absolute;
  right: 60px;
  top: 141px;
  z-index: 2;
  width: 100px;
  height: 68px;
  line-height: 0;
}

.page-hero__emblem img {
  display: block;
  width: 100px;
  height: 68px;
}

/* Figma Rectangle 3397 — 800×302 behind title + profile */
.greeting-content__head {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: 302px;
  min-height: 0;
  padding: 110px 60px 0;
}

.greeting-content__head-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.greeting-content__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: rgba(5, 5, 5, 0.5);
}

.greeting-content__title {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  max-width: none;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.8px;
  word-break: keep-all;
  color: #050505;
}

@media (min-width: 1025px) {
  .greeting-content__title {
    white-space: nowrap;
  }
}

/* Bottom flush with gray head box — height tracks box (Figma 28+274=302) */
.greeting-content__portrait {
  position: absolute;
  right: 50px;
  bottom: 0;
  left: auto;
  top: auto;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  width: auto;
  height: calc(100% - 28px);
  max-height: 274px;
  aspect-ratio: 260 / 274;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

/* Figma text top 617 → after 302 head → margin 40; side pad 60 */
.greeting-content__text {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 0;
  margin: 40px 50px 0 60px;
  max-width: 740px;
  overflow: visible;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #333;
  text-align: justify;
  word-break: keep-all;
}

.greeting-content__text p {
  margin: 0;
}

.greeting-content__text p + p {
  margin-top: 1.5em;
}

/* Sign sits under the letter. Desktop indent matches the 1920 artboard. */
.greeting-content__sign {
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin: -6px 60px 28px 0;
}

.greeting-content__role {
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.4px;
  color: #050505;
  white-space: nowrap;
}

.greeting-content__name {
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.7px;
  color: #050505;
  white-space: nowrap;
}

.greeting-content__sep {
  display: inline-block;
  width: 1px;
  height: 21px;
  background: #050505;
  opacity: 0.3;
  flex-shrink: 0;
}

.greeting-content__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 150px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 21px;
  background: #0077d9;
  color: #fff;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.45px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.greeting-content__btn:hover {
  background: #0066bb;
}

.greeting-content__btn:hover .greeting-content__btn-arrow {
  animation: greetingBtnArrowNudge 0.45s ease;
}

.greeting-content__btn-arrow {
  display: block;
  width: 7px;
  height: 11px;
  flex-shrink: 0;
}

@keyframes greetingBtnArrowNudge {
  0%,
  100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.greeting-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #262626;
}

.greeting-media__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

.greeting-media__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* 줌인 완료 후 페이드아웃 — scale 유지 */
.greeting-media__slide.is-leaving {
  opacity: 0;
  z-index: 2;
}

.greeting-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  will-change: transform;
}

.greeting-media__slide.is-zooming .greeting-media__img {
  animation: greetingKenBurns 5s linear forwards;
}

.greeting-media__slide.is-held .greeting-media__img {
  transform: scale(1.1);
}

@keyframes greetingKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* ========== greeting profile panel (Figma 1901:4603) ========== */
.greeting-profile {
  position: absolute;
  inset: 0;
  z-index: 20;
  visibility: hidden;
  pointer-events: none;
}

.greeting-profile.is-open {
  visibility: visible;
  pointer-events: auto;
}

.greeting-profile__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transform: translateZ(0);
  will-change: opacity, backdrop-filter;
}

.greeting-profile__panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 50px 60px 50px 95px;
  overflow: auto;
  background: transparent;
  color: #fff;
  opacity: 0;
  transform: translateZ(0);
  will-change: opacity;
}

.greeting-profile__close {
  position: absolute;
  top: 60px;
  right: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.greeting-profile__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.greeting-profile__grid {
  display: grid;
  grid-template-columns: minmax(236px, 330px) minmax(0, 1fr);
  gap: 78px;
  align-items: start;
  width: 100%;
  max-width: 947px;
}

.greeting-profile__col--left {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.greeting-profile__block {
  margin: 0;
}

.greeting-profile__heading {
  margin: 0 0 20px;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #11bbff;
}

.greeting-profile__list {
  margin: 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: -0.35px;
  color: #fff;
  word-break: keep-all;
}

.greeting-profile__pubs .greeting-profile__list {
  margin-bottom: 16px;
}

.greeting-profile__pubs .greeting-profile__list:last-child {
  margin-bottom: 0;
}

.greeting-profile__year {
  margin: 0 0 0;
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: -0.35px;
  color: #fff;
}

.greeting-profile__year--patent {
  margin-top: 0;
}

/* ========== Responsive — below 1920 artboard ========== */
@media (max-width: 1024px) {
  .greeting-intro__title {
    font-size: clamp(40px, 2.92vw, 56px);
    letter-spacing: -1.2px;
  }

  .greeting-intro__desc {
    font-size: clamp(16px, 0.94vw, 18px);
  }

  .page-hero__inner {
    padding-left: clamp(40px, 3.125vw, 60px);
    padding-right: clamp(40px, 3.125vw, 60px);
  }

  .page-hero__en {
    font-size: clamp(36px, 2.5vw, 48px);
    letter-spacing: -1px;
  }

  .page-hero__ko {
    font-size: clamp(20px, 1.35vw, 26px);
  }

  .page-hero__emblem {
    right: clamp(40px, 3.125vw, 60px);
  }

  /* 800 / 1920 ≈ 41.67% — keep Figma ratio as width shrinks */
  .greeting-body {
    grid-template-columns: minmax(0, 41.6667%) minmax(0, 1fr);
  }

  /* Head grows with the longer title; portrait stays capped */
  .greeting-content__head {
    height: auto;
    min-height: clamp(220px, 15.73vw, 302px);
    padding:
      clamp(36px, 2.5vw, 48px)
      clamp(40px, 3.125vw, 60px)
      28px;
  }

  .greeting-content__eyebrow {
    font-size: clamp(16px, 1.04vw, 20px);
  }

  .greeting-content__title {
    max-width: min(412px, 58%);
    margin-top: clamp(12px, 1.04vw, 20px);
    font-size: clamp(22px, 1.46vw, 28px);
  }

  /* Always flush to gray box bottom; top inset scales with head */
  .greeting-content__portrait {
    right: clamp(16px, 3.125vw, 60px);
    bottom: 0;
    top: auto;
    left: auto;
    height: calc(100% - clamp(16px, 1.46vw, 28px));
    width: auto;
    aspect-ratio: 260 / 274;
  }

  .greeting-content__text {
    margin:
      clamp(20px, 2.08vw, 40px)
      clamp(40px, 3.125vw, 60px)
      0;
    max-width: min(680px, calc(100% - clamp(80px, 6.25vw, 120px)));
    padding-bottom: 88px; /* room for absolute sign */
    font-size: clamp(14px, 0.83vw, 16px);
  }

  /* 314/800 of left column → bottom-docked for short viewports */
  .greeting-content__sign {
    left: clamp(40px, 16.35%, 314px);
    right: auto;
    top: auto;
    bottom: clamp(24px, 3.5vh, 48px);
  }

  .greeting-content__name {
    font-size: clamp(22px, 1.46vw, 28px);
  }

  .greeting-content__btn {
    width: clamp(132px, 7.8vw, 150px);
    height: clamp(38px, 2.2vw, 42px);
    font-size: clamp(15px, 0.94vw, 18px);
  }

  .greeting-profile__panel {
    padding:
      clamp(36px, 2.6vw, 50px)
      clamp(40px, 3.125vw, 60px)
      clamp(36px, 2.6vw, 50px)
      clamp(48px, 4.95vw, 95px);
  }

  .greeting-profile__close {
    top: clamp(36px, 3.125vw, 60px);
    right: clamp(36px, 3.125vw, 60px);
  }

  .greeting-profile__grid {
    gap: clamp(40px, 4.06vw, 78px);
  }

  .greeting-profile__heading {
    font-size: clamp(17px, 1.04vw, 20px);
  }
}

@media (max-width: 1024px) {
  .greeting-body {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .greeting-content__title {
    max-width: min(380px, 55%);
  }

  .greeting-content__sign {
    left: clamp(32px, 4%, 40px);
    right: clamp(32px, 4%, 40px);
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .greeting-body {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  }

  .greeting-profile__panel {
    padding: 40px 40px 40px 48px;
  }

  .greeting-profile__grid {
    gap: 40px;
  }

  .greeting-profile__close {
    top: 40px;
    right: 40px;
  }
}

@media (max-width: 1024px) {
  .greeting-intro__title {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .greeting-intro__desc {
    font-size: 16px;
  }

  .page-hero__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .page-hero__emblem {
    right: 40px;
  }

  .greeting-body {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .greeting-frame {
    overflow: visible;
  }

  .greeting-content {
    height: auto;
    padding: 0 0 100px;
  }

  .greeting-content__head {
    height: auto;
    min-height: 260px;
    padding: 48px 40px 32px;
    padding-right: 280px; /* clear absolute portrait */
  }

  .greeting-content__title {
    max-width: none;
  }

  .greeting-content__portrait {
    position: absolute;
    right: 40px;
    bottom: 0;
    top: auto;
    left: auto;
    width: auto;
    height: calc(100% - 24px);
    max-height: 274px;
    aspect-ratio: 260 / 274;
    margin: 0;
  }

  .greeting-content__text {
    flex: 0 0 auto;
    margin: 0 40px;
    max-width: none;
    padding-bottom: 0;
    overflow: visible;
  }

  .greeting-content__sign {
    position: static;
    margin: 40px 40px 0;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .greeting-media {
    height: min(480px, 52vw);
  }

  .greeting-profile__grid {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .greeting-profile__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .greeting-profile__col--left {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .greeting-intro__title {
    font-size: clamp(18px, 5.4vw, 28px);
    letter-spacing: -0.6px;
  }

  .greeting-intro__emblem,
  .greeting-intro__emblem-mark {
    width: 110px;
    height: 75px;
  }

  .greeting-intro__emblem {
    margin-bottom: 20px;
  }

  .greeting-intro__desc {
    max-width: calc(100vw - 48px);
    margin-top: 18px;
    font-size: 14px;
    word-break: keep-all;
  }

  /* fullpage 미사용 — 일반 스크롤 */
  html:has(body.is-greet-mobile),
  body.greeting-page.is-greet-mobile {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.greeting-page.is-greet-mobile.is-intro,
  body.greeting-page.is-greet-mobile.is-profile-open {
    overflow: hidden;
  }

  .is-greet-mobile #fullpage {
    height: auto !important;
    transform: none !important;
  }

  .is-greet-mobile #fullpage > .section.greeting-section,
  .is-greet-mobile #fullpage > .section.footer-section {
    width: 100% !important;
    height: auto !important;
    overflow: visible;
  }

  .is-greet-mobile .greeting-frame {
    height: auto;
    overflow: visible;
  }

  /* Hero */
  .page-hero,
  .greeting-page .page-hero {
    flex: 0 0 auto;
    height: 212px;
    min-height: 0;
  }

  .page-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 108px 20px 28px;
  }

  .page-breadcrumb,
  .page-breadcrumb li,
  .page-breadcrumb a,
  .page-breadcrumb span {
    height: 32px;
  }

  .page-breadcrumb {
    gap: 8px;
  }

  .page-breadcrumb a,
  .page-breadcrumb span {
    font-size: 13px;
  }

  .page-breadcrumb__home,
  .page-breadcrumb__home img {
    width: 32px;
    height: 32px;
  }

  .page-hero__title {
    gap: 12px;
    margin-top: 12px;
  }

  .page-hero__en {
    font-size: 28px;
  }

  .page-hero__divider {
    height: 16px;
  }

  .page-hero__ko {
    font-size: 20px;
  }

  .page-hero__emblem {
    display: none;
  }

  /* Body — 세로 스택 */
  .greeting-body {
    display: block;
    height: auto;
    overflow: visible;
  }

  .greeting-content {
    height: auto;
    padding: 0 0 48px;
  }

  /* 타이틀 4줄 좌측 + 초상 우측 (초상 하단 = 회색 박스 하단) */
  .greeting-content__head {
    --greet-portrait-w: min(38vw, 156px);
    display: block;
    height: auto;
    min-height: 0;
    padding: 40px calc(36px + var(--greet-portrait-w)) 32px 20px;
  }

  .greeting-content__eyebrow {
    font-size: 14px;
    white-space: nowrap;
  }

  .greeting-content__title {
    margin-top: 12px;
    max-width: none;
    font-size: clamp(20px, 6.2vw, 24px);
    line-height: 1.45;
    letter-spacing: -0.6px;
    word-break: keep-all;
  }

  .greeting-content__title-line {
    display: block;
    white-space: nowrap;
  }

  .greeting-content__portrait {
    position: absolute;
    top: auto;
    right: 20px;
    bottom: 0;
    left: auto;
    width: var(--greet-portrait-w);
    height: auto;
    aspect-ratio: 260 / 274;
    margin: 0;
  }

  .greeting-content__text {
    flex: 0 0 auto;
    margin: 32px 20px 0;
    max-width: none;
    padding-bottom: 0;
    overflow: visible;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    word-break: keep-all;
  }

  .greeting-content__sign {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 20px 0;
  }

  .greeting-content__role {
    font-size: 14px;
  }

  .greeting-content__name {
    font-size: 22px;
  }

  .greeting-content__sep {
    display: none;
  }

  .greeting-content__btn {
    width: 128px;
    height: 38px;
    margin-left: auto;
    padding: 0 16px;
    font-size: 15px;
  }

  .greeting-media {
    height: 64vw;
    min-height: 220px;
  }

  /* 약력 — 전체 화면 (부모 clip-path가 fixed 패널을 자르지 않도록) */
  .greeting-page.is-profile-open .greeting-media {
    clip-path: none !important;
  }

  /* header(z 999999) 위로 */
  .greeting-page.is-profile-open .greeting-body {
    z-index: 1000000;
  }

  .greeting-profile {
    position: fixed;
    z-index: 1000;
  }

  .greeting-profile__panel {
    padding: 72px 24px 40px;
    -webkit-overflow-scrolling: touch;
  }

  .greeting-profile__close {
    position: fixed;
    top: 24px;
    right: 24px;
  }

  .greeting-profile__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .greeting-profile__col--left {
    gap: 32px;
  }

  .greeting-profile__heading {
    margin-bottom: 12px;
    font-size: 18px;
  }

  /* Footer — vertical stack (main_responsive.css 768 동일) */
  .greeting-page .footer-section .main-footer,
  .greeting-page #fullpage .main-footer {
    height: auto;
    min-height: 0;
  }

  .greeting-page .main-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 20px 44px;
    gap: 24px;
  }

  .greeting-page .main-footer__logo {
    width: 220px;
    height: auto;
  }

  .greeting-page .main-footer__center {
    max-width: none;
    width: 100%;
    flex: none;
    margin-left: 0;
  }

  .greeting-page .main-footer__links {
    gap: 20px;
    flex-wrap: wrap;
  }

  .greeting-page .main-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .greeting-page .main-footer__sep {
    display: none;
  }

  .greeting-page .main-footer__copy {
    margin-top: 20px;
  }

  .greeting-page .main-footer__family {
    width: 100%;
    margin-left: 0;
  }

  .greeting-page .main-footer__family-btn,
  .greeting-page .main-footer__family-panel {
    width: 100%;
  }
}

/* Tablet — 타이틀 2줄, 회색 박스 높이 축소 */
@media (min-width: 600px) and (max-width: 768px) {
  .greeting-content__head {
    --greet-portrait-w: 136px;
  }

  .greeting-content__title-line {
    display: inline;
  }

  .greeting-content__title-line:nth-child(2)::after {
    content: '\A';
    white-space: pre;
  }
}

/* Short desktop viewports — keep sign/text from clipping */
@media (min-width: 769px) and (max-width: 1024px) and (max-height: 900px) {
  .page-hero {
    flex: 0 0 clamp(200px, 28vh, 275px);
    height: clamp(200px, 28vh, 275px);
  }

  .page-hero__inner {
    padding-top: clamp(88px, 14vh, 125px);
  }

  .page-hero__emblem {
    top: clamp(100px, 16vh, 141px);
  }

  .greeting-content__head {
    height: clamp(200px, 28vh, 302px);
    padding-top: clamp(48px, 8vh, 110px);
  }

  .greeting-content__portrait {
    bottom: 0;
    height: calc(100% - clamp(12px, 2vh, 28px));
  }

  .greeting-content__text {
    margin-top: clamp(12px, 2vh, 40px);
    padding-bottom: 72px;
  }

  .greeting-content__sign {
    bottom: clamp(16px, 2.5vh, 36px);
  }
}
