:root {
  --content-width: 100%;
  --site-main-padding: calc(var(--font-size-lg) + (var(--content-padding-block) * 4.5));
  --content-padding: 10px;
  --content-padding-inline: 10px;
  --content-padding-block:  10px;
  --dropdown-symbol-width: 0.7em;
  --gap-inline: 20px;
  --gap-block: 20px;
  --col-base-width: 33.333333%;
  --col-base-height: 20%;

  /* Typography */
  --font-body-scale: 1;
  --font-body-weight: 400;
  --font-heading-weight: 600;
  --global-font-family: "Inter", Helvetica, "Arial", 'Pretendard', sans-serif;
  --highlight-font-family: "Inter", Helvetica, "Arial", 'Pretendard', sans-serif;
  --global-font-size: 16;
  --global-font-line-height: 1.4;

  /* Custom editor font sizes */
  --font-size-xsm: 1rem;
  --font-size-sm: 1.1rem;
  --font-size-md: clamp(12px, calc(12px + 4 * ((100vw - 320px) / 1600)), 16px);
  --font-size-lg: clamp(14px, calc(14px + 18 * ((100vw - 320px) / 1600)), 32px);
  --font-size-xlg: clamp(24px, calc(24px + 40 * ((100vw - 600px) / 1960)), 64px);

  /* Colors */
  --global-font-color: #101010;
  --global-font-color-light: #a0a0a0;
  --background-color: #fff;
  /* Page background color */
  --content-background-color: #fff;
  /* Content-specific background */
  --sub-content-background-color: #fff;
  /* Content-specific background */
  --header-background-color: #fff;
  --footer-background-color: #fff;
  --drawer-background-color: #101010f0;
  --drawer-font-color: #fff;
  --border-color-dark: #FF4636;
  --border-color-light: #dcdcdc;
  --color-link: #333;
  --color-link-visited: #333;
  --color-link-active: #333;
  --color-quote-border: #000;
  --color-quote-citation: #6c7781;
  --color-chip-background: #333;
  --color-chip-text: #FFF;
}

@media screen and (min-width: 1025px) {
  :root {
    --col-base-width: 16.6666666667%;
    --col-base-height: 33.3333333333%;

    --font-size-xsm: 1.1rem;
    --font-size-sm: 1.2rem;
  }
}

body {
  cursor: url('../assets/cursor.svg') 4 4, auto;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/* stylelint-disable */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--global-font-color);
  font-family: var(--global-font-family);
  font-size: var(--font-size-md);
  font-weight: var(--font-body-weight);
  line-height: var(--global-font-line-height);
  word-break: keep-all;
}

/* stylelint-enable */

html {
  font-size: calc(var(--font-body-scale) * 62.5%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--highlight-font-family) !important;
  font-weight: var(--font-heading-weight) !important;
  letter-spacing: -0.015em !important;
  margin: 0;
  clear: both;
}

h1,
.h1 {
  font-size: var(--font-size-xlg) !important;
  line-height: 1.25 !important;
}

h2,
.h2 {
  font-size: var(--font-size-lg) !important;
  line-height: 1.25 !important;
}

h3,
.h3 {
  font-size: calc(var(--font-size-md) * 1.25) !important;
  line-height: 1.5 !important;
}

h4,
.h4 {
  font-size: var(--font-size-md) !important;
  line-height: 1.5 !important;
}

h5,
.h5
h6,
.h6 {
  font-size: var(--font-size-sm) !important;
  line-height: 1.5 !important;
}

a {
  color: var(--global-font-color);
  text-decoration: none;
}

strong {
  font-weight: var(--font-heading-weight);
}

blockquote {
  margin: 0;
}

main {
  min-height: 50vw;
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 0;
  transition: grid-template-columns 0.3s ease;
}

@media screen and (min-width: 1025px) {
  .grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

.grid .col {
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

.grid .col__padding {
  padding: var(--content-padding);
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
}

.grid--content,
.grid--border {
  position: fixed;
  top: 0;
  right: calc(4rem + 1px);
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 1025px) {
  .grid--content,
  .grid--border {
    right: calc(6rem + 1px);
  }
}

.grid--border {
  pointer-events: none;
  z-index: 50;
}

.grid--border .col::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(var(--gap-block) / 2);
  right: -1px;
  bottom: calc(var(--gap-block) / 2);
  left: auto;
  transform: translate(0.5px, 0.5px);
  width: 2px;
  background-color: var(--border-color-dark);
  opacity: 1;
}

.grid--border .col::before {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  right: calc(var(--gap-inline) / 2);
  bottom: 0;
  left: calc(var(--gap-inline) / 2);
  transform: translate(0.5px, 0.5px);
  height: 2px;
  background-color: var(--border-color-dark);
  opacity: 1;
  mix-blend-mode: multiply;
}

.grid--border .col:nth-child(1):after,
.grid--border .col:nth-child(2):after,
.grid--border .col:nth-child(3):after,
.grid--border .col:nth-child(4):after,
.grid--border .col:nth-child(5):after,
.grid--border .col:nth-child(6):after,
.grid--border .col:nth-child(12):after,
.grid--border .col:nth-child(18):after {
  top: 0;
}

.grid--border .col:nth-child(4):after, 
.grid--border .col:nth-child(5):after {
  top: calc(var(--gap-block) / 2);
}

.grid--border .col:nth-child(6):after,
.grid--border .col:nth-child(12):after,
.grid--border .col:nth-child(13):after,
.grid--border .col:nth-child(14):after,
.grid--border .col:nth-child(15):after,
.grid--border .col:nth-child(16):after,
.grid--border .col:nth-child(17):after,
.grid--border .col:nth-child(18):after {
  bottom: 0;
}

.grid--border .col:nth-child(3):after,
.grid--border .col:nth-child(9):after {
  bottom: 0;
}

.grid--border .col:nth-child(3):before,
.grid--border .col:nth-child(9):before {
  right: 0;
}

.grid--border .col:nth-child(9):after,
.grid--border .col:nth-child(15):after {
  top: 0;
}

.grid--border .col:nth-child(1):before,
.grid--border .col:nth-child(4):before,
.grid--border .col:nth-child(7):before,
.grid--border .col:nth-child(10):before {
  left: 0;
}

.grid--border .col:nth-child(6):before,
.grid--border .col:nth-child(12):before {
  right: 0;
}

.grid--border .col:nth-child(13):before,
.grid--border .col:nth-child(14):before,
.grid--border .col:nth-child(15):before,
.grid--border .col:nth-child(16):before,
.grid--border .col:nth-child(17):before,
.grid--border .col:nth-child(18):before {
  display: none;
}

@media screen and (min-width: 1025px) {
  .grid--border .col:nth-child(3):before,
  .grid--border .col:nth-child(9):before {
    right: calc(var(--gap-inline) / 2);
  }
  
  .grid--border .col:nth-child(4):before,
  .grid--border .col:nth-child(10):before {
    left: calc(var(--gap-inline) / 2);
  }

  .grid--border .col:nth-child(3):after,
  .grid--border .col:nth-child(9):after {
    bottom: calc(var(--gap-block) / 2);
  }
  
  .grid--border .col:nth-child(4):after, 
  .grid--border .col:nth-child(5):after {
    top: 0;
  }

  .grid--border .col:nth-child(9):after,
  .grid--border .col:nth-child(14):after {
    top: calc(var(--gap-block) / 2);
  }
}

.dots {
  position: fixed;
  top: 0;
  right: 4rem;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
}

@media screen and (min-width: 1025px) {
  .dots {
    right: 6rem;
  }
}

.dot {
  position: absolute;
  background: radial-gradient(circle,
      rgba(255, 70, 54, 1) 0%,
      rgba(255, 70, 54, 0.95) 25%,
      rgba(255, 70, 54, 0.8) 35%,
      rgba(255, 70, 54, 0.5) 50%,
      rgba(255, 70, 54, 0.2) 70%,
      transparent 100%);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(0px);

  /* 애니메이션 적용 - 2.5초 ÷ 1.25 = 2초 */
  animation: softGlow 5s ease-in-out infinite;
  opacity: 0;
}

.dot::before,
.dot::after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: #FF4636;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
}

.dot::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 부드럽게 나타났다 사라지는 애니메이션 */
@keyframes softGlow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    filter: blur(3px);
  }

  25% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.85);
    filter: blur(2px);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }

  75% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.85);
    filter: blur(2px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    filter: blur(3px);
  }
}

/* 산발적인 순서, 딜레이 2배 증가 */
.dot:nth-child(1) {
  top: var(--col-base-height);
  left: var(--col-base-width);
  animation-delay: 0s;
}

.dot:nth-child(2) {
  top: var(--col-base-height);
  left: calc(var(--col-base-width) * 2);
  animation-delay: 22.5s;
  /* 11.25s × 2 */
}

.dot:nth-child(3) {
  top: calc(var(--col-base-height) * 2);
  left: var(--col-base-width);
  animation-delay: 7.5s;
  /* 3.75s × 2 */
}

.dot:nth-child(4) {
  top: calc(var(--col-base-height) * 2);
  left: calc(var(--col-base-width) * 2);
  animation-delay: 37.5s;
  /* 18.75s × 2 */
}

.dot:nth-child(5) {
  top: calc(var(--col-base-height) * 3);
  left: var(--col-base-width);
  animation-delay: 30s;
  /* 15s × 2 */
}

.dot:nth-child(6) {
  top: calc(var(--col-base-height) * 3);
  left: calc(var(--col-base-width) * 2);
  animation-delay: 11.25s;
  /* 5.625s × 2 */
}

.dot:nth-child(7) {
  top: calc(var(--col-base-height) * 4);
  left: var(--col-base-width);
  animation-delay: 3.75s;
  /* 1.875s × 2 */
}

.dot:nth-child(8) {
  top: calc(var(--col-base-height) * 4);
  left: calc(var(--col-base-width) * 2);
  animation-delay: 26.25s;
  /* 13.125s × 2 */
}

.dot:nth-child(9) {
  display: none;
  animation-delay: 15s;
  /* 7.5s × 2 */
}

.dot:nth-child(10) {
  display: none;
  animation-delay: 33.75s;
  /* 16.875s × 2 */
}

@media screen and (min-width: 1025px) {
  .dot:nth-child(1) {
    top: 33.33333333%;
    left: 16.6666666667%;
  }

  .dot:nth-child(2) {
    top: 33.33333333%;
    left: calc(16.6666666667% * 2);
  }

  .dot:nth-child(3) {
    top: 33.33333333%;
    left: calc(16.6666666667% * 3);
  }

  .dot:nth-child(4) {
    top: 33.33333333%;
    left: calc(16.6666666667% * 4);
  }

  .dot:nth-child(5) {
    top: 33.33333333%;
    left: calc(16.6666666667% * 5);
  }

  .dot:nth-child(6) {
    top: calc(33.33333333% * 2);
    left: 16.6666666667%;
  }

  .dot:nth-child(7) {
    top: calc(33.33333333% * 2);
    left: calc(16.6666666667% * 2);
  }

  .dot:nth-child(8) {
    top: calc(33.33333333% * 2);
    left: calc(16.6666666667% * 3);
  }

  .dot:nth-child(9) {
    top: calc(33.33333333% * 2);
    left: calc(16.6666666667% * 4);
  }

  .dot:nth-child(10) {
    top: calc(33.33333333% * 2);
    left: calc(16.6666666667% * 5);
  }
}

.footer {
  pointer-events: none;
  font-size: var(--font-size-sm);
  color: var(--global-font-color-light);
  position: fixed;
  bottom: var(--content-padding);
  max-width: calc( (100% - 4rem) * 2 / 3 );
  left: var(--content-padding);  
  z-index: 50;
  background-color: rgba(255, 255, 255, 1);
  padding: 0;
  opacity: 1;
  transition: opacity 0.35s ease;
}

@media screen and (min-width: 1025px) {
  .footer {
    left: calc(50% - 30px);
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1025px) {
  .footer {
    left: calc(50% - 30px);
  }
}

.footer p {
  font-size: calc(var(--font-size-xsm) * 0.8);
  margin: 0;
}

@media screen and (min-width: 1025px) {
  .footer p {
    font-size: var(--font-size-sm);
    margin: 0;
  }
}

body.content-frame-active .footer,
body[class*=hover] .footer {
  opacity: 0;
}

@media screen and (min-width: 1025px) {
  body[class*=hover] .footer {
    opacity: 1;
  } 
}

/* ==============================
    YOUR ORIGINAL WRAPPER
    ============================== */
.logo-wrapper {
  position: relative;
  animation: scaleDownAfterEntry 0.6s ease-out 3s forwards;
  transform-origin: center;
}

.logo-wrapper svg {
  position: relative;
  z-index: 10;
}

@keyframes scaleDownAfterEntry {
  0% { transform: scale(1); }
  100% { transform: scale(1); }
}

@media screen and (min-width: 1025px) {
  @keyframes scaleDownAfterEntry {
    0% { transform: scale(1); }
    100% { transform: scale(0.333333333); }
  }
}


/* =============================================
    BACKGROUND RECT STYLE (your requested values)
    ============================================= */
.bg-layer rect.letter-bg {
  fill: #ffffff;
  opacity: 1;
  rx: 2;
  ry: 2;
  filter: url(#featherBlur);
}

/* =============================================
    LETTER INTRO (slideInFromRight)
    ============================================= */
.think .letter,
.and .letter,
.flow .letter {
  opacity: 0;
  animation: slideInFromRight 1.35s ease-out forwards;
}

.bg-think rect,
.bg-and rect,
.bg-flow rect {
  opacity: 0;
  animation: slideInFromRight 1.35s ease-out forwards;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================
      THINK delays
    ============================ */
.think .letter:nth-child(1), .bg-think rect:nth-child(1) { animation-delay: 0s; }
.think .letter:nth-child(2), .bg-think rect:nth-child(2) { animation-delay: 0.11s; }
.think .letter:nth-child(3), .bg-think rect:nth-child(3) { animation-delay: 0.2s; }
.think .letter:nth-child(4), .bg-think rect:nth-child(4) { animation-delay: 0.27s; }
.think .letter:nth-child(5), .bg-think rect:nth-child(5) { animation-delay: 0.32s; }

/* ============================
      AND delays
    ============================ */
.and .letter:nth-child(1), .bg-and rect:nth-child(1) { animation-delay: 0.36s; }
.and .letter:nth-child(2), .bg-and rect:nth-child(2) { animation-delay: 0.39s; }
.and .letter:nth-child(3), .bg-and rect:nth-child(3) { animation-delay: 0.41s; }

/* ============================
      FLOW delays
    ============================ */
.flow .letter:nth-child(1), .bg-flow rect:nth-child(1) { animation-delay: 0.43s; }
.flow .letter:nth-child(2), .bg-flow rect:nth-child(2) { animation-delay: 0.44s; }
.flow .letter:nth-child(3), .bg-flow rect:nth-child(3) { animation-delay: 0.45s; }
.flow .letter:nth-child(4), .bg-flow rect:nth-child(4) { animation-delay: 0.455s; }
.flow .letter:nth-child(5), .bg-flow rect:nth-child(5) { animation-delay: 0.46s; }
.flow .letter:nth-child(6), .bg-flow rect:nth-child(6) { animation-delay: 0.465s; }


/* ======================================================
      WORD-LEVEL ANIMATION (이미 네 코드와 동일)
    ====================================================== */

.think, .bg-think {
  animation: slideOutAndIn 10s ease-in-out 6.5s infinite;
  transform-origin: center;
}

.and, .bg-and {
  animation: slideOutAndIn 10s ease-in-out 7s infinite;
  transform-origin: center;
}

.flow, .bg-flow {
  animation: slideOutAndIn 10s ease-in-out 7.5s infinite;
  transform-origin: center;
}

@keyframes slideOutAndIn {
  0%   { transform: translateX(0); opacity: 1; }
  12%  { transform: translateX(-120%); opacity: 1; }
  12.01% { transform: translateX(-120%); opacity: 0; }
  20%  { transform: translateX(120%); opacity: 0; }
  20.01% { transform: translateX(120%); opacity: 1; }
  32%  { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* HOVER DISAPPEAR */
svg:hover .think,
svg:hover .bg-think {  
  animation: hoverDisappear 0.8s ease-in-out forwards;
}

svg:hover .and,
svg:hover .bg-and {
  animation: hoverDisappear 0.8s ease-in-out 0.15s forwards;
}

svg:hover .flow,
svg:hover .bg-flow {
  animation: hoverDisappear 0.8s ease-in-out 0.3s forwards;
}

@keyframes hoverDisappear {
  0%   { transform: translateX(0) scale(1); opacity: 1; }
  25%  { transform: translateX(-60px) scale(0.8); opacity: 0; }
  50%  { transform: translateX(-60px) scale(0.8); opacity: 0; }
  50.01% { transform: translateX(60px) scale(0.8); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* CONTENT GRID */
.content-grid {
  position: fixed;
  top: 0;
  right: calc(4rem + 1px);
  left: 0;
  bottom: 0;
  z-index: 50;
}

@media screen and (min-width: 1025px) {
  .content-grid {
    position: fixed;
    top: 0;
    right: calc(6rem + 1px);
    left: 0;
    bottom: 0;
    z-index: 50;
  }
}

.content-grid .col {
  position: absolute;
  transition: all 0.5s ease;
  z-index: 10;
  transform: translate(0.5px, 0.5px);
}

.content-grid .col__padding {
  padding: var(--content-padding);
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.25s ease;
}

.col[data-content="header"] {
  top: calc(var(--col-base-height) * 2);
  left: 0;
  width: calc(var(--col-base-width) * 3);
  height: calc(var(--col-base-height) * 1);
}

@media screen and (min-width: 1025px) {
  .col[data-content="header"] {
    top: calc(var(--col-base-height) * 1);
    left: 0;
    width: calc(var(--col-base-width) * 6);
    height: calc(var(--col-base-height) * 1);
  }
}

/* 공통 active 스타일 (모든 디바이스) */
.col[data-content]:not([data-content="header"], [data-content="image"]).content-active {
  background-color: #FF4636;
  color: #FFF;
  cursor: url('../assets/cursor-white.svg') 4 4, auto;
}

.col[data-content].content-active:not([data-content="header"]) a,
.col[data-content].content-active:not([data-content="header"]) a:hover {
  color: #FFF;
}

/* JavaScript로 추가되는 .is-hovered 클래스 (터치 디바이스) */
.col[data-content]:not([data-content="header"], [data-content="image"]).is-hovered {
  background-color: #FF4636;
  color: #FFF;
  cursor: url('../assets/cursor-white.svg') 4 4, auto;
}

.col[data-content]:not([data-content="header"]).is-hovered a,
.col[data-content]:not([data-content="header"]).is-hovered a:hover {
  color: #FFF;
}

/* 데스크탑 전용 hover 효과 */
@media (hover: hover) and (pointer: fine) {
  .col[data-content]:not([data-content="header"], [data-content="image"]):hover {
    background-color: #FF4636;
    color: #FFF;
    cursor: url('../assets/cursor-white.svg') 4 4, auto;
  }

  .col[data-content]:not([data-content="header"]):hover a,
  .col[data-content]:not([data-content="header"]):hover a:hover {
    color: #FFF;
  }
}

.col[data-content="about"] {
  top: -1px;
  left: -1px;
  width: calc(var(--col-base-width) * 1 + 1px);
  height: calc(var(--col-base-height) * 1 + 1px);
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col[data-content="about"]:hover {
    width: calc(var(--col-base-width) * 3 + 3px);
  }
}

/* 터치 디바이스 - JavaScript로 추가되는 .is-hovered 클래스 */
.col[data-content="about"].is-hovered {
  width: calc(var(--col-base-width) * 3 + 3px);
}

.col[data-content="essay"] {
  top: calc(var(--col-base-height) * 1 - 2px);
  left: calc(var(--col-base-width) * 1 - 2px);
  width: calc(var(--col-base-width) * 2 + 4px);
  height: calc(var(--col-base-height) * 1 + 4px);
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col[data-content="essay"]:hover {
    top: calc(var(--col-base-height) * 1 - 2px);
    left: calc(var(--col-base-width) * 1 - 2px);
    width: calc(var(--col-base-width) * 2 + 4px);
    height: calc(var(--col-base-height) * 1 + 4px);
  }
}

/* 터치 디바이스 */
.col[data-content="essay"].is-hovered {
  top: calc(var(--col-base-height) * 1 - 2px);
  left: calc(var(--col-base-width) * 1 - 2px);
  width: calc(var(--col-base-width) * 2 + 4px);
  height: calc(var(--col-base-height) * 1 + 4px);
}

.col[data-content="culture-os"] {
  top: calc(var(--col-base-height) * 3 - 2px);
  left: 0;
  width: calc(var(--col-base-width) * 3);
  height: calc(var(--col-base-height) * 1 + 2px);
}

.col[data-content="image"] {
  top: calc(var(--col-base-height) * 0 + 2px);
  left: calc(var(--col-base-width) * 1 + 2px);
  width: calc(var(--col-base-width) * 2 - 4px);
  height: calc(var(--col-base-height) * 1 - 4px);
  transition: width 0.5s ease, height 0.5s ease;
  background-color: var(--background-color);
  z-index: 0;
}

.position-1 .col[data-content="image"] {
  top: calc(var(--col-base-height) * 0 + 2px);
  left: calc(var(--col-base-width) * 1 + 2px);
}

.position-2 .col[data-content="image"] {
  top: calc(var(--col-base-height) * 3 + 2px);
  left: calc(var(--col-base-width) * 1 + 2px);
}

.position-3 .col[data-content="image"] {
  top: calc(var(--col-base-height) * 4 + 2px);
  left: calc(var(--col-base-width) * 0 + 2px);
}

.position-4 .col[data-content="image"] {
  top: calc(var(--col-base-height) * 4 + 2px);
  left: calc(var(--col-base-width) * 0 + 2px);
}

.col[data-content="in-flow"] {
  top: calc(var(--col-base-height) * 4 - 2px);
  left: calc(var(--col-base-width) * 2 - 2px);
  width: calc(var(--col-base-width) * 1 + 4px);
  height: calc(var(--col-base-height) * 1 + 4px);
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col[data-content="in-flow"]:hover {
    left: calc(var(--col-base-width) * 2 - 2px);
    width: calc(var(--col-base-width) * 1 + 4px);
  }
}

/* 터치 디바이스 */
.col[data-content="in-flow"].is-hovered {
  left: calc(var(--col-base-width) * 2 - 2px);
  width: calc(var(--col-base-width) * 1 + 4px);
}

@media screen and (min-width: 1025px) {
  .col[data-content="about"] {
    top: 0;
    left: 0;
    width: calc(var(--col-base-width) * 2 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col[data-content="about"]:hover {
      top: 0;
      left: 0;
      width: calc(var(--col-base-width) * 2 + 2px);
      height: calc(var(--col-base-height) * 1 + 2px);
    }
  }

  /* 터치 디바이스 */
  .col[data-content="about"].is-hovered {
    top: 0;
    left: 0;
    width: calc(var(--col-base-width) * 2 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }

  .col[data-content="essay"] {
    top: -1px;
    left: calc(var(--col-base-width) * 4 - 2px);
    width: calc(var(--col-base-width) * 2 + 4px);
    height: calc(var(--col-base-height) + 1px);
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col[data-content="essay"]:hover {
      top: -1px;
      left: calc(var(--col-base-width) * 4 - 2px);
      width: calc(var(--col-base-width) * 2 + 4px);
      height: calc(var(--col-base-height) + 1px);
    }
  }

  /* 터치 디바이스 */
  .col[data-content="essay"].is-hovered {
    top: -1px;
    left: calc(var(--col-base-width) * 4 - 2px);
    width: calc(var(--col-base-width) * 2 + 4px);
    height: calc(var(--col-base-height) + 1px);
  }

  .col[data-content="culture-os"] {
    top: calc(var(--col-base-height) * 2 - 2px);
    left: 0;
    width: calc(var(--col-base-width) * 2 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col[data-content="culture-os"]:hover {
      top: calc(var(--col-base-height) * 2 - 2px);
      left: 0;
      width: calc(var(--col-base-width) * 2 + 2px);
      height: calc(var(--col-base-height) * 1 + 2px);
    }
  }

  /* 터치 디바이스 */
  .col[data-content="culture-os"].is-hovered {
    top: calc(var(--col-base-height) * 2 - 2px);
    left: 0;
    width: calc(var(--col-base-width) * 2 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }

  .col[data-content="image"] {
    top: calc(var(--col-base-height) * 2 + 2px);
    left: calc(var(--col-base-width) * 2 + 2px);
    width: calc(var(--col-base-width) * 2 - 4px);
    height: calc(var(--col-base-height) * 1 - 4px);
    transition: width 0.5s ease, height 0.5s ease;
    background-color: var(--background-color);
  }

  .position-1 .col[data-content="image"] {
    top: calc(var(--col-base-height) * 2 + 2px);
    left: calc(var(--col-base-width) * 2 + 2px);
  }

  .position-2 .col[data-content="image"] {
    top: calc(var(--col-base-height) * 1 + 2px);
    left: calc(var(--col-base-width) * 0 + 2px);
  }

  .position-3 .col[data-content="image"] {
    top: calc(var(--col-base-height) * 0 + 2px);
    left: calc(var(--col-base-width) * 2 + 2px);
  }

  .position-4 .col[data-content="image"] {
    top: calc(var(--col-base-height) * 1 + 2px);
    left: calc(var(--col-base-width) * 4 + 2px);
  }

  .col[data-content="in-flow"] {
    top: calc(var(--col-base-height) * 2 - 2px);
    left: calc(var(--col-base-width) * 5 - 2px);
    width: calc(var(--col-base-width) * 1 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col[data-content="in-flow"]:hover {
      left: calc(var(--col-base-width) * 4 - 2px);
      width: calc(var(--col-base-width) * 2 + 2px);
    }
  }

  /* 터치 디바이스 */
  .col[data-content="in-flow"].is-hovered {
    left: calc(var(--col-base-width) * 4 - 2px);
    width: calc(var(--col-base-width) * 2 + 2px);
  }
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.header img {
  width: 100%;
  height: auto;
}

h2 {
  font-size: var(--font-size-lg);
  line-height: 1;
}

.col--has-submenu {
  display: flex;
  overflow: hidden;
}

.col--has-submenu .col__padding:first-child {
  flex: 1 0 100%;
}

.col--has-submenu .col__padding:last-child {
  flex: 1 0 100%;
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col--has-submenu:hover .col__padding:first-child {
    flex: 1 0 33.33333333%;
  }

  .col--has-submenu:hover .col__padding:last-child {
    flex: 1 0 66.66666667%;
  }
}

/* 터치 디바이스 - .is-hovered 클래스 */
.col--has-submenu.is-hovered .col__padding:first-child {
  flex: 1 0 33.33333333%;
}

.col--has-submenu.is-hovered .col__padding:last-child {
  flex: 1 0 66.66666667%;
}

@media screen and (max-width: 1024px) {
  .col--has-submenu[data-content="essay"] .col__padding:first-child {
    flex: 1 0 0;
  }
}

.col--has-submenu[data-content="culture-os"],
.col--has-submenu[data-content="in-flow"] {
  align-items: flex-end;
}

@media screen and (max-width: 1279px) {
  .col--has-submenu[data-content="essay"],
  .col--has-submenu[data-content="in-flow"] {
    flex-direction: column;
  }

  .col--has-submenu[data-content="essay"] .col__padding,
  .col--has-submenu[data-content="in-flow"] .col__padding {
    flex: 0 0 auto;
  }

  .col--has-submenu[data-content="essay"] .col__padding:last-child,
  .col--has-submenu[data-content="in-flow"] .col__padding:last-child {
    flex: 0 0 0;
    padding: 0 var(--content-padding);
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col--has-submenu[data-content="essay"]:hover .col__padding:last-child,
    .col--has-submenu[data-content="in-flow"]:hover .col__padding:last-child {
      flex: 0 0 auto;
      padding: var(--content-padding);
    }
  }

  /* 터치 디바이스 */
  .col--has-submenu[data-content="essay"].is-hovered .col__padding:last-child,
  .col--has-submenu[data-content="in-flow"].is-hovered .col__padding:last-child {
    flex: 0 0 auto;
    padding: var(--content-padding);
  }

  .col--has-submenu[data-content="in-flow"] {
    justify-content: flex-end;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1025px) {
  .col--has-submenu.content-active .col__padding:first-child {
    flex: 1 0 50%;
  }

  .col--has-submenu.content-active .col__padding:last-child {
    flex: 1 0 50%;
  }

  /* 데스크탑 전용 hover */
  @media (hover: hover) and (pointer: fine) {
    .col--has-submenu:hover .col__padding:first-child {
      flex: 1 0 50%;
    }

    .col--has-submenu:hover .col__padding:last-child {
      flex: 1 0 50%;
    }
  }

  /* 터치 디바이스 */
  .col--has-submenu.is-hovered .col__padding:first-child {
    flex: 1 0 50%;
  }

  .col--has-submenu.is-hovered .col__padding:last-child {
    flex: 1 0 50%;
  }
}

.col--has-submenu .submenu {
  opacity: 0;
  transition: all 0.35s ease;
}

.content-active .submenu {
  opacity: 1;
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col--has-submenu:hover .submenu {
    opacity: 1;
  }
}

/* 터치 디바이스 */
.col--has-submenu.is-hovered .submenu {
  opacity: 1;
}

.col--has-submenu .submenu li {
  line-height: 1.5;
  margin-bottom: 0.25em;
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.content-active.col--has-submenu .submenu li {
  transform: translateX(0);
  opacity: 1;
}

/* 데스크탑 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .col--has-submenu:hover .submenu li {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 터치 디바이스 */
.col--has-submenu.is-hovered .submenu li {
  transform: translateX(0);
  opacity: 1;
}

/* hover/is-hovered 시 - li들을 원래 위치로 이동 */
.col--has-submenu:hover .submenu li,
.col--has-submenu.is-hovered .submenu li {
  transform: translateX(0px);
  opacity: 1;
}

/* 순차적 애니메이션을 위한 delay */
.col--has-submenu:hover .submenu li:nth-child(1) {
  transition-delay: 0s;
}

.col--has-submenu:hover .submenu li:nth-child(2) {
  transition-delay: 0.1s;
}

.col--has-submenu:hover .submenu li:nth-child(3) {
  transition-delay: 0.2s;
}

.col--has-submenu:hover .submenu li:nth-child(4) {
  transition-delay: 0.3s;
}

.col--has-submenu:hover .submenu li:nth-child(5) {
  transition-delay: 0.4s;
}

.col--has-submenu:hover .submenu li:nth-child(6) {
  transition-delay: 0.5s;
}

.col--has-submenu:hover .submenu li:nth-child(7) {
  transition-delay: 0.6s;
}

.col--has-submenu:hover .submenu a:hover,
.col--has-submenu.is-hovered .submenu a:hover {
  color: #FF4636;
}

.col[data-content="image"] .col__padding {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.col[data-content="image"] .col__padding svg {
  width: 100%;
}

.ai-logo-wrapper {
  position: relative;
  padding: 10%;
}

@media screen and (min-width: 1025px) {
 .ai-logo-wrapper {
    position: relative;
    max-width: 80%;
  } 
}

.ai-logo-wrapper::before {
  content: "";
  display: block;
  width: 2px;
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  bottom: 0;
  left: 50%;
  background-color: transparent;
}

/* 초기 상태: 모든 요소 숨김 */
.symbol,
.aesthetic,
.intelligence {
  opacity: 1;
}

/* 
애니메이션 타임라인 (10초 사이클 - JavaScript와 동일):
- 0-0.3초: 모든 요소 페이드아웃
- 0.3-0.5초: 대기 (position 변경 시점)
- 0.5-1초: symbol 페이드인
- 1-1.5초: aesthetic 페이드인  
- 1.5-2초: intelligence 페이드인
- 2-9.5초: 모든 요소 표시 유지
- 9.5-10초: 다음 사이클 준비
- 15초 delay 후 시작하여 10초마다 반복
*/

/* symbol 애니메이션: 15초 delay 후 시작, 10초마다 반복 */
.symbol {
  animation: symbolAppear 10s ease-in-out 15s infinite;
}

/* aesthetic 애니메이션: 15초 delay 후 시작, 10초마다 반복 */
.aesthetic {
  animation: aestheticAppear 10s ease-in-out 15s infinite;
}

/* intelligence 애니메이션: 15초 delay 후 시작, 10초마다 반복 */
.intelligence {
  animation: intelligenceAppear 10s ease-in-out 15s infinite;
}

@keyframes symbolAppear {
  0% {
    /* 시작 */
    opacity: 0;
  }

  3% {
    /* 0.3초: 페이드아웃 완료 */
    opacity: 0;
  }

  3%,
  5% {
    /* 0.3-0.5초: 대기 (position 변경) */
    opacity: 0;
  }

  10% {
    /* 1초: 페이드인 완료 */
    opacity: 1;
    transform: translateY(0);
  }

  95% {
    /* 9.5초: 유지 */
    opacity: 1;
  }

  100% {
    /* 10초: 다음 사이클 */
    opacity: 0;
  }
}

@keyframes aestheticAppear {
  0% {
    /* 시작 */
    opacity: 0;
  }

  3% {
    /* 0.3초: 페이드아웃 완료 */
    opacity: 0;
  }

  3%,
  10% {
    /* 0.3-1초: 대기 */
    opacity: 0;
    transform: translateY(10px);
  }

  15% {
    /* 1.5초: 페이드인 완료 */
    opacity: 1;
    transform: translateY(0);
  }

  95% {
    /* 9.5초: 유지 */
    opacity: 1;
  }

  100% {
    /* 10초: 다음 사이클 */
    opacity: 0;
  }
}

@keyframes intelligenceAppear {
  0% {
    /* 시작 */
    opacity: 0;
  }

  3% {
    /* 0.3초: 페이드아웃 완료 */
    opacity: 0;
  }

  3%,
  15% {
    /* 0.3-1.5초: 대기 */
    opacity: 0;
    transform: translateY(10px);
  }

  20% {
    /* 2초: 페이드인 완료 */
    opacity: 1;
    transform: translateY(0);
  }

  95% {
    /* 9.5초: 유지 */
    opacity: 1;
  }

  100% {
    /* 10초: 다음 사이클 */
    opacity: 0;
  }
}

.submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu ul a {
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.logo {
  width: 100%;
  height: auto;
  overflow: visible;
}

.progress {
  position: fixed;
  display: grid;
  grid-template-rows: repeat(10, 1fr);
  padding-top: var(--content-padding);
  padding-bottom: var(--content-padding);
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 3.9rem;
  color: #FF4636;
  background-color: #FFF;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2rem;
  box-sizing: border-box;
  z-index: 100;
}

.content-frame-active .preogress {
  z-index: 10;
}

@media screen and (min-width: 1025px) {
  .progress {
    width: 5.9rem;
  }
}

.progress h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 600;
  text-transform: uppercase;
  transform-origin: left;
  transform: translate(-0.75em, 0) rotate(90deg);
  white-space: nowrap;
  z-index: 10;
  opacity: 1;
}

.hover-essay .progress h3 {
  color: #fff;
  opacity: 0;
}

.progress h3 svg {
  width: 1em;
  height: 1em;
}

.hover-essay .progress h3 svg path {
  fill: #fff;
}

.hover-essay .progress h3 svg circle {
  stroke: #fff;
}

.progress .preogress {
  z-index: 3;
}

.progress .progress__value {
  position: relative;
  padding-left: 1rem;
  z-index: 5;
}

.progress .progress__value--inverted {
  color: #FF4636;
}

.progress .progress__value::before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  display: block;
  width: 0.6rem;
  height: 0.1rem;
  background-color: #FF4636;
  opacity: 0.75;
}

.progress__bar {
  position: absolute;
  display: block;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0;
  background-color: #E2FF61;
  mix-blend-mode: multiply;
  animation: progress-wave 30s ease-in-out infinite;
  /* border-top: 2px solid #FF4636; */
}

@keyframes progress-wave {
  0% {
    height: 0%;
  }
  5% {
    height: 67.5%;
  }
  15% {
    height: 45%;
  }
  30% {
    height: 100%;
  }
  50% {
    height: 70%;
  }
  65% {
    height: 60%;
  }
  82.5% {
    height: 80%;
  }
  100% {
    height: 0%;
  }
}

/* Content Frame - 각 섹션 내부 */
.content-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 4rem + 1px);
  border-right: 2px solid var(--border-color-dark);
  height: calc(var(--col-base-height) * 5);
  padding: var(--content-padding);
  background-color: #b3cae8;
  background-color: var(--content-background-color);
  color: var(--global-font-color);
  pointer-events: none;
  box-sizing: border-box;
  z-index: 9999;
  opacity: 0;
  /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);   */
  overflow: hidden;
  transition: none;
  overflow-y: auto;
}

.content-frame__inner::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.content-frame__inner::-webkit-scrollbar-track {
  background: transparent;
}

.content-frame__inner::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}

.content-frame__inner::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 1025px) {
  .content-frame {
    width: calc((100% - 6rem) / 6 * 3 - 2px);
    height: calc(var(--col-base-height) * 3);
    border-right: 0;
  }
}

.content-frame {
  padding-bottom: calc(var(--font-size-md) + var(--content-padding) * 1 + 40px);
  box-sizing: border-box;
}

.content-frame .link-next {
  position: fixed;
  bottom: calc(15px + var(--content-padding) * 2);
  left: calc(var(--content-padding) - 3px);
  right: calc(4rem + var(--content-padding) - 3px);
  display: flex;
  justify-content: flex-start;
  align-items: center;  
  height: calc(var(--font-size-md) + var(--content-padding) * 2);
  padding: calc(var(--content-padding) * 2);
  padding-right: 4rem;
  border-radius: 9999px;
  /* border-top: 2px solid #FF4636;
  border-bottom: 2px solid #FF4636; */
  font-size: var(--font-size-md);
  font-weight: 600;
  text-transform: capitalize;
  color: #FF4636;
  background-color: #D5E7FF;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .content-frame .link-next {
    left: calc(33.3333333% - 3px + var(--content-padding) * -1);
  }
}

.content-frame .link-next::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: calc(var(--content-padding) * 2);
  transform: translate(0, -50%);
}

.content__copyright {
  position: fixed;
  bottom: var(--content-padding);
  margin: 0;
  margin-top: calc(var(--content-padding) * 6);  
  font-size: var(--font-size-xsm);
  color: var(--global-font-color-light);
  background-color: #fff;
}

@media screen and (min-width: 1025px) {
  .content-frame {
    padding-bottom: 0;
  }

  .content-frame .link-next {
    display: none;
    right: 6rem;
  }

  .content-active-about .content-frame .link-next,
  .content-active-culture-os  .content-frame .link-next {
    left: calc((100% - 6rem) / 6 * 3 + 2px);
  }

  .content-active-essay .content-frame .link-next {
    left: 0;
    right: calc((100% + 6rem) / 6 * 3 + 2px);
  }
}

/* 활성화 시 - 그리드 전체로 확장 */
.content-frame.active {
  z-index: 100;
  opacity: 1;
  pointer-events: inherit;
}

.content-frame__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: calc(55px + var(--content-padding) * 3);
  left: 0;
  padding: var(--content-padding);
  box-sizing: border-box;
  overflow-y: auto;
  transition: pacity 0.4s ease;
}

@media screen and (min-width: 1025p) {
  .content-frame__inner {
    bottom: calc(15px + var(--content-padding) * 2);
  }
}

.content-frame.active .content-frame__inner {
  opacity: 1;
}

.content-frame__inner.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.content-frame__inner.loading article {
  opacity: 0;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.content-frame__inner,
.content-frame__inner p,
.content-frame__inner ul,
.content-frame__inner ol,
.content-frame__inner li {
  font-size: calc(var(--font-size-md) * 1);
  font-weight: var(--font-body-weight);
  line-height: 1.5;
  letter-spacing: -0.015em;
  margin: 0;
}

.content-frame__inner ul,
.content-frame__inner ol {
  list-style: none;
  padding-left: 0;
}

.content-frame__inner p.article__subtitle {
  font-weight: var(--font-heading-weight);
  color: var(--global-font-color-light);
}

.content-frame__inner .note,
.content-frame__inner .note p {
  font-size: calc(var(--font-size-md) * 0.8);
}

.content-frame__inner article {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--gap-inline);
  width: 100%;
  opacity: 1;
  transition: paopacitycity 0.4s ease;
  box-sizing: border-box;
}

@media screen and (min-width: 1025px) {
  .content-frame__inner article {
    padding-right: calc(var(--content-padding-inline) * 2);
  }
}

.content-frame__inner article header {
  flex: 1 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.content-frame__inner article section {
  flex: 1 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding-top: calc(var(--content-padding) * 4);  
}

@media screen and (min-width: 768px) {
  .content-frame__inner article header {
    flex: 1 0 100%;
    width: 100%;
  }

  .content-frame__inner article section {
    width: 100%;
    padding-left: 33.3333333%;
    box-sizing: border-box;
  }
}

.content-frame__inner article header h1 {
  line-height: 1;
}

.content-frame__inner .content-wrapper {
  max-width: 54ch;
}

.content-frame__inner p.content__subtitle,
.content-frame__inner p.content__quote-text {
  font-size: calc(var(--font-size-md) * 1.5);
  line-height: 1.3;
}

.content-frame__inner p.content__subtitle--emphasized {
  font-weight: var(--font-heading-weight);
}

.formula {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: calc(var(--content-padding) * 1);
  border-radius: calc(var(--content-padding) * 1);
  background-color: #f7f7f7;  ;
}

@media screen and (min-width: 1025px) {
 .formula {
    padding: calc(var(--content-padding) * 2);
    border-radius: calc(var(--content-padding) * 2);
 } 
}

.formula p.formula__text {
  font-size: calc(var(--font-size-md) * 0.8);
  font-weight: var(--font-heading-weight);
  text-transform: uppercase;
}

.flow-list li {
  margin-bottom: var(--gap-block);
}

.flow-list li:last-child {
  margin-bottom: 0;
}

.flow-list__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: calc(var(--gap-inline) / 4);
  row-gap: calc(var(--gap-block) / 2);
}

.flow-list__node {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  padding: calc(var(--content-padding) * 1);
  border-radius: 2rem;
  font-size: calc(var(--font-size-sm) * 1);
  font-weight: var(--font-heading-weight);
  text-transform: uppercase;
  background-color: #ebff8f;
}

.flow-list__arrow {
  font-size: var(--font-size-sm);
  font-weight: var(--font-heading-weight);
}

.flow-list li:first-child .flow-list__node {
  background-color: #d9e4f3;
}

/*

.content-frame__inner {
  padding: calc(var(--content-padding) * 2);
  padding-top: calc(var(--content-padding) * 4);
  overflow-y: auto;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.3s;
}

.content-frame.active .content-frame__inner {
  opacity: 1;
  transform: translateY(0);
}
*/

.content-frame__close {
  position: absolute;
  top: calc(var(--content-padding) + ( var(--font-size-xlg) - var(--font-size-lg) ) / 2);
  right: var(--content-padding);
  width: var(--font-size-lg);
  height: var(--font-size-lg);
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--global-font-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  overflow: hidden;
  text-indent: -99999px;
}

.content-frame__close::before,
.content-frame__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--font-size-lg);
  height: 0.2rem;
  background-color: var(--global-font-color);
  transform: translate(-50%) rotate(45deg);
}

.content-frame__close::after {
  transform: translate(-50%) rotate(135deg);
}

.content-frame.active .content-frame__close {
  opacity: 0.5;
}

.content-frame__close:hover {
  opacity: 1 !important;
}

/* 로딩 상태 */
.content-frame__inner.loading {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* 에러 메시지 */
.error-message {
  text-align: center;
  padding: 4rem;
}

.error-message h2 {
  margin-bottom: 1rem;
  color: #FF4636;
}

/* 위치 */
@media screen and (min-width: 1025px) {
  .content-active-about .content-frame {
    left: calc((100% - 6rem) / 6 * 3 + 2px);
  }

  .content-active-about .col[data-content]:not([data-content="about"]) {
    filter: blur(20px);
    opacity: 0;
  }

  .content-active-essay .content-frame {
    left: calc((100% - 6rem) / 6 * 0 + 1px);
    opacity: 1;
  }

  .content-active-essay .col[data-content]:not([data-content="essay"]) {
    filter: blur(20px);
    opacity: 0;
  }

  .content-active-culture-os .content-frame {
    top: calc(var(--col-base-height) * 0);
    left: calc((100% - 6rem) / 6 * 3 + 2px);
    height: calc(var(--col-base-height) * 3);
    opacity: 1;
  }

  .content-active-culture-os .col[data-content]:not([data-content="culture-os"]) {
    filter: blur(20px);
    opacity: 0;
  }
}

.visual-frame {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  box-sizing: border-box;
}

[class*="visual-frame"] {
  z-index: 50;
}

.visual-frame--about {
  top: calc(var(--col-base-height) * 4);
  left: calc((100% - 4rem) / 3 * 1);
  width: calc((100% - 4rem) / 3 * 2);
  height: calc(var(--col-base-height) * 1);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--content-padding);
}

@media screen and (min-width: 1025px) {
  .visual-frame--about {
    top: calc(var(--col-base-height) * 1);
    left: 0;
    width: calc((100% - 6rem) / 6 * 2 - 2px);
    height: calc(var(--col-base-height) * 2 + 2px);
  }
}

.hover-about .visual-frame--about,
.content-active-about .visual-frame--about {
  opacity: 1;
}

.visual-frame--essay {
  top: calc(var(--col-base-height) * 3 - 2px);
  left: calc((100% - 4rem) / 3 * 0);
  width: calc((100% - 4rem) / 3 * 2 + 2px);
  height: calc(var(--col-base-height) * 2 + 2px);
}

@media screen and (min-width: 1025px) {
  .visual-frame--essay {
    top: calc(var(--col-base-height) * 2 - 2px);
    left: calc((100% - 6rem) / 6 * 4 - 2px);
    width: calc((100% - 6rem) / 6 * 2 + 1px);
    height: calc(var(--col-base-height) * 2);
  }
}

.visual-frame--essay canvas {
  width: 100%;
  height: 100%;
}

.hover-essay .visual-frame--essay,
.content-active-essay .visual-frame--essay {
  opacity: 1;
}

.visual-frame--culture-os {
  top: calc(var(--col-base-height) * 0);
  left: calc((100% - 4rem) / 3 * 1 + 2px);
  width: calc((100% - 4rem) / 3 * 2 - 3px);
  height: calc(var(--col-base-height) * 1 - 2px);
}

@media screen and (min-width: 1025px) {
  .visual-frame--culture-os {
    top: calc(var(--col-base-height) * 0);
    left: calc((100% - 6rem) / 6 * 0);
    width: calc(-1px + (100% - 6rem) / 6 * 2 + 2px);
    height: calc(var(--col-base-height) * 1 + 2px);
  }
}

.visual-frame--culture-os canvas {
  width: 100%;
  height: 100%;
}

.hover-culture-os .visual-frame--culture-os,
.content-active-culture-os .visual-frame--culture-os {
  opacity: 1;
}

.jelly-fish {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100vw - 6rem) / 6 * 2 - var(--content-padding) * 2);
  height: calc((100vw - 6rem) / 6 * 2 - var(--content-padding) * 2);
  transform: rotateX(60deg)
}

@media screen and (min-width: 1025px) {
  .jelly-fish {
    transform: rotateX(0) scale(0.75);
  }
}

.jelly-fish-circle {
  border: 2px solid #ffdbe1;
}

/* 스크롤바 커스터마이징 */
.content-frame__inner::-webkit-scrollbar {
  width: 8px;
}

.content-frame__inner::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 1rem 1rem 0;
}

.content-frame__inner::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.content-frame__inner::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Wave */
/* Wave Animation Styles for Culture OS */
.wave-animation {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #d9e4f3;
}

.wave-animation__container {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wave-animation__circle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #1e3766;
  border-radius: 50%;
  top: -1.5px;
  left: -1.5px;
  will-change: transform;
  opacity: 0.8;
}

/* Accordion */
.accordion-group {
  border-bottom: 1px solid;
}

.accordion__trigger {
  appearance: none;
  padding: calc(var(--content-padding, 10px) / 1) 0;
  border-top: 1px solid;
  font-size: calc(var(--font-size-md) * 1.2);
  font-weight: var(--font-heading-weight);
  list-style: none;
  cursor: pointer;
}

.accordion__trigger::marker {
  display: none;
}

.accordion__trigger::-webkit-details-marker {
  display: none;
}

.accordion__panel {
  padding: calc(var(--content-padding-block) * 1) 0 calc(var(--content-padding-block) * 4);
}

.accordion__panel,
.accordion__panel p,
.accordion__panel ul,
.accordion__panel ol,
.accordion__panel li {
  font-size: var(--font-size-md);
}

@media screen and (min-width: 1025px) {
  .accordion__panel,
  .accordion__panel p,
  .accordion__panel ul,
  .accordion__panel ol,
  .accordion__panel li {
    font-size: calc(var(--font-size-md) * 0.85);
  }
}

.accordion__trigger {
  display: flex;
  gap: var(--gap-inline);
}

.accordion__trigger .accordion__trigger-content {
  flex: 1 0 calc(100% - var(--gap-inline) - var(--font-size-md) * 1.5);
}

.accordion__trigger .accordion__icon {
  position: relative;
  display: block;
  flex: 0 0 calc(var(--font-size-md) * 1.5);
  width: calc(var(--font-size-md) * 1.5);
  height: calc(var(--font-size-md) * 1.5);
}

.accordion__trigger .accordion__icon::before,
.accordion__trigger .accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 0.8rem;
  height: 0.1rem;
  background-color: var(--global-font-color);
  transition: transform 0.35s ease;
}

.accordion__trigger .accordion__icon::after {
 transform: translate(-50%, -50%) rotateZ(90deg); 
}

.accordion[open] .accordion__trigger .accordion__icon::before {
  transform: translate(-50%, -50%) rotateZ(45deg);
}

.accordion[open] .accordion__trigger .accordion__icon::after {
  transform: translate(-50%, -50%) rotateZ(135deg);
}

.team-member {
  margin-bottom: calc(var(--gap-block) * 4);
}

.profile__container {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--gap-inline);
  margin-bottom: var(--gap-block);
}

.profile__container .profile__image-wrapper {
  display: none;
  flex:  0 0 15%;
  width: 15%;
  border-radius: 2rem;
  overflow: hidden;
}

.profile h2 {
  color: #FF4636;
}

.profile__container .profile__info {
  flex: 1 0 calc(100% - 15% - var(--gap-inline));
}

.profile .profile__quote {
  margin: 0;
}

.profile .profile__quote .profile__quote-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-heading-weight);  
  color: var(--global-font-color-light);
}

.profile__info-section {
  margin-bottom: calc(var(--gap-block) * 1); 
}

/* Modal */
.aiq-trigger {
  cursor: pointer;
}

.content-frame-active .aiq-trigger {
  pointer-events: none;
}

.aiq-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;  
}

.aiq-modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 모달 박스 */
.aiq-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 48ch;
  border: 2px solid #1E3766;
  background-color: #D5E7FF;
  color: #1E3766;
  width: 90%;
  position: relative;
}

.aiq-close {
  position: absolute;
  top: var(--content-padding);
  right: var(--content-padding);
  width: var(--font-size-lg);
  height: var(--font-size-lg);
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--global-font-color);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 10;
  overflow: hidden;
  text-indent: -99999px;
}

.aiq-close::before,
.aiq-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 0.2rem;
  /* background-color: var(--global-font-color); */
  background-color: #1E3766;
  transform: translate(-50%) rotate(45deg);
}

.aiq-close::after {
  transform: translate(-50%) rotate(135deg);
}

.aiq-modal h5 {
  margin-bottom: 0;
}

.aiq-modal h6 {
  margin-bottom: 1.35em;
  font-size: var(--font-size-md) !important;
  line-height: 1.25 !important;
}

ul.list-style li {
  position: relative;
  padding-left: 12px;
  font-size: calc(var(--font-size-md) * 0.85);
  line-height: 1.5;
  box-sizing: border-box;
}

ul.list-style li strong {
  font-weight: var(--font-heading-weight);
}

ul.list-style li:not(:last-child) {
  margin-bottom: 0.25em;
}

ul.list-style li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(1.4em / 2 - 3px);
  display: block;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background-color: var(--global-font-color);
}

.accordion__quote {
  padding-left: 1em;
  border-left: 2px solid;
}