@charset "UTF-8";
/* CSS Document */



:root{
  --glass-text:#f5f7fa;
  --glass-muted:#9aa0a6;
  --glass-line:rgba(255,255,255,0.22);
  --glass-radius:18px;

  /* hover color: WHITE ONLY */
  --bd-stroke1: rgba(255,255,255,0.60);
  --bd-stroke2: rgba(255,255,255,0.28);
  --bd-strokeW: 1.5;

  /* institution hover sync: WHITE ONLY */
  --inst-hover: rgba(255,255,255,0.96);
  --inst-hover-bg: rgba(255,255,255,0.10);
  --inst-hover-border: rgba(255,255,255,0.42);

  --photo-radius:14px;

  /* Scrollbar tokens (common엔 하드코딩 값만 있었음) */
  --sb-size: 10px;
  --sb-track: rgba(255,255,255,0.04);
  --sb-thumb: rgba(255,255,255,0.22);
  --sb-thumb-hover: rgba(255,255,255,0.34);
  --sb-glow: rgba(255,255,255,0.16);
}

/* 배경 */
html{ background: var(--bg); overflow:hidden; }
.bg-canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:0;
  background:#000;
  filter:saturate(1.15) contrast(1.05) brightness(0.78);
}

.scroll-shell{
  padding-top:var(--nav-height);
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}
.scroll-shell::-webkit-scrollbar{ width: var(--sb-size); }
.scroll-shell::-webkit-scrollbar-track{
  background: var(--sb-track);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.scroll-shell::-webkit-scrollbar-thumb{
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.26),
      rgba(255,255,255,0.16));
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 0 0 1px rgba(255,255,255,0.04);
}
.scroll-shell::-webkit-scrollbar-thumb:hover{
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.36),
      rgba(255,255,255,0.22));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    0 0 14px var(--sb-glow);
}
.scroll-shell::-webkit-scrollbar-corner{ background: transparent; }

/*  page-content */
.page-content{
  max-width:1400px;
  margin:0 auto;
  padding:20px;
}

/* navbar */
.navbar{ background:rgba(10,10,14,0.62); }
.navbar.scrolled{ background:rgba(10,10,14,0.74); }

/* Professor 전용 레이아웃 */
.prof-page{
  max-width:1200px;
  margin:0 auto;
  padding:clamp(16px,4vw,48px);
  display:grid;
  grid-template-columns:380px 1fr;
  gap:32px;
  position:relative;
  padding-top: 100px;
}

.prof-sidebar{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:24px;
  margin-top: -80px;
}

.prof-name-block h1{
  font-size:clamp(40px,5vw,64px);
  margin:0;
  letter-spacing:-0.02em;
  line-height:1;
  color:var(--glass-text);
}
.prof-role{
  margin-top:8px;
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--glass-muted);
}

/* 반응형 */
@media (max-width:900px){
  .prof-page{
    grid-template-columns:1fr;
    gap:18px;
  }
  .prof-sidebar{
    position:static !important;
    top:auto !important;
    z-index:auto;
  }
  .prof-content{
    position:relative;
    z-index:auto;
  }
}

/* Glass blocks */
.prof-card{
  background:linear-gradient(145deg,rgba(255,255,255,0.12),rgba(255,255,255,0.02));
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-radius:var(--glass-radius);
  padding:22px;
}

.prof-identity-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.prof-identity-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  line-height:1.5;
  color:var(--glass-text);
}
.prof-identity-list .dot{
  width:6px;
  height:6px;
  margin-top:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.55);
  flex-shrink:0;
}

.prof-content{
  display:flex;
  flex-direction:column;
  gap:36px;
}
@media (max-width:900px){
  .prof-content{ gap:22px; }
}

.prof-section-title{
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--glass-muted);
  margin-bottom:16px;
}
.prof-timeline{ display:flex; flex-direction:column; gap:18px; }

.prof-item{
  background:linear-gradient(145deg,rgba(255,255,255,0.10),rgba(255,255,255,0.02));
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-radius:var(--glass-radius);
  padding:20px 22px;
  transition:transform .35s ease;
}
.prof-item:hover{ transform:translateY(-2px); }
.prof-item-header{ display:flex; flex-direction:column; gap:6px; }

.prof-institution{
  align-self:flex-start;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--glass-muted);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:color .25s ease, border-color .25s ease, background .25s ease;
  border:1px solid var(--glass-line);
  background:rgba(255,255,255,0.00);
}
.prof-institution::after{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(140px circle at var(--hx,50%) var(--hy,50%),rgba(255,255,255,0.25),transparent 60%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.prof-institution:hover{ color:#fff; }
.prof-institution:hover::after{ opacity:1; }

.prof-role-text{ font-size:15px; line-height:1.4; color:var(--glass-text); }
.prof-period{ font-size:10px; opacity:0.35; letter-spacing:0.08em; color:var(--glass-text); }

/* Skills */
.prof-skills{ display:flex; flex-wrap:wrap; gap:10px; }
.prof-skill{
  padding:10px 16px;
  border-radius:20px;
  background:rgba(255,255,255,0.03);
  font-size:13px;
  color:var(--glass-text);
}

/* 8) Border draw (SVG stroke) (common에 없음) */
.border-draw{
  position:relative;
  border-radius:var(--glass-radius);
}
.bd-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:visible;
  z-index:10;
}
.bd-rect{
  fill:none;
  stroke:url(#bdg);
  stroke-width:var(--bd-strokeW);
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  stroke-linejoin:round;

  stroke-dasharray: var(--bd-dash, 400);
  stroke-dashoffset: var(--bd-dash, 400);
  opacity:0;
}
.border-draw.bd-on .bd-rect{
  opacity:1;
  animation: bdDraw .70s ease forwards;
}
@keyframes bdDraw{ to{ stroke-dashoffset: 0; } }

.border-draw.bd-on .prof-institution{
  color:var(--inst-hover);
  border-color:var(--inst-hover-border);
  background:var(--inst-hover-bg);
}
.border-draw.bd-on .prof-institution::after{ opacity:1; }

/* 9) Photo flip (common에 없음) */
.photo-flip{
  width:100%;
  aspect-ratio:3/4;
  border-radius:var(--photo-radius);
  position:relative;
  perspective: 1200px;
  overflow:visible;
}
.photo-flip-inner{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  transition:transform .65s cubic-bezier(.2,.8,.2,1);
  will-change:transform;
  border-radius: var(--glass-radius);
}
.photo-flip:hover .photo-flip-inner{ transform: rotateY(180deg) rotateX(2deg); }

.photo-face{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius: var(--glass-radius);
  overflow:hidden;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

.photo-front{
  background:rgba(255,255,255,0.05);
  border:1px solid var(--glass-line);
  position:relative;
}
.photo-front img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
  filter:saturate(1.02) contrast(1.02);
  position:relative;
  z-index:2;
}

/* glass shine */
.photo-front::after{
  content:"";
  position:absolute;
  inset:-30%;
  pointer-events:none;
  opacity:0.0;
  mix-blend-mode:screen;
  transform:translateX(-60%) rotate(18deg);
  will-change:transform, opacity;
  z-index:3;

  background:
    linear-gradient(110deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.00) 40%,
      rgba(255,255,255,0.10) 46%,
      rgba(255,255,255,0.35) 50%,
      rgba(255,255,255,0.10) 54%,
      rgba(255,255,255,0.00) 60%,
      rgba(255,255,255,0.00) 100%),
    radial-gradient(closest-side at 30% 35%,
      rgba(255,255,255,0.22), rgba(255,255,255,0.00) 60%);

  filter: blur(0.2px);
  animation: glassShine 3.6s ease-in-out infinite;
}
@keyframes glassShine{
  0%{ transform:translateX(-65%) rotate(18deg); opacity:0.0; }
  8%{ opacity:0.55; }
  22%{ opacity:0.85; }
  38%{ opacity:0.35; }
  55%{ transform:translateX(65%) rotate(18deg); opacity:0.0; }
  100%{ transform:translateX(65%) rotate(18deg); opacity:0.0; }
}
.photo-flip:hover .photo-front::after{ opacity:0 !important; }

@media (max-width:900px){
  .photo-front::after{ animation-duration:4.2s; }
}

.photo-back{
  transform: rotateY(180deg);
  display:flex;
  align-items:stretch;
  justify-content:stretch;
  padding:0;
  background:
    radial-gradient(520px 240px at 15% 18%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(520px 240px at 85% 80%, rgba(255,255,255,0.08), transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}


.hand-quote{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 650;

  font-size: 32px;
  line-height: 1.14;
  letter-spacing: -0.01em;

  color:rgba(245,247,250,0.96);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.18),
    0 10px 26px rgba(0,0,0,0.30);
}
.hand-quote .qmark{
  font-size: 2em;
  opacity: 0.92;
  font-weight: 800;
}
@media (max-width:900px){
  .hand-quote{ font-size: 4em; padding: 18px; }
}
@media (max-width:600px){
  .hand-quote{ font-size: 2em; padding: 18px; }
}


.prof-timeline > .border-draw{ width:100%; }
.prof-timeline > .border-draw,
.prof-timeline > .border-draw > .prof-item{ height:100%; }

/* AWARDS */
.prof-content > section:nth-of-type(1) .prof-timeline{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}
.prof-content > section:nth-of-type(1) .border-draw{
  display:flex;
  align-items:stretch;
}
.prof-content > section:nth-of-type(1) .prof-item{
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-start;
}
@media (max-width:900px){
  .prof-content > section:nth-of-type(1) .prof-timeline{
    grid-template-columns:1fr;
  }
}

/* EDUCATION */
.prof-content > section:nth-of-type(3) .prof-timeline{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}
.prof-content > section:nth-of-type(3) .border-draw{
  display:flex;
  align-items:stretch;
}
.prof-content > section:nth-of-type(3) .prof-item{
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-start;
}
.prof-content > section:nth-of-type(3) .prof-item-header{ flex:1; }

@media (max-width:1100px){
  .prof-content > section:nth-of-type(3) .prof-timeline{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:900px){
  .prof-content > section:nth-of-type(3) .prof-timeline{
    grid-template-columns:1fr;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .photo-flip:hover .photo-flip-inner{ transform:none !important; }
  .border-draw.bd-on .bd-rect{ animation:none !important; stroke-dashoffset:0 !important; }
  .photo-front::after{ animation:none !important; opacity:0 !important; }
}