/* con07 — 모바일 전환 의도: 큰 영문 스택·영상창은 폭 100% 축소(16:9 유지), 소형 영문 가로줄은 wrap, V 링은 중앙 유지 */
.con07_iner {
  padding-top: calc(var(--px) * 101);
  padding-bottom: calc(var(--px) * 170);
}

/* 세로 마퀴 — 원본 + 복제(absol) 방식. 트랙 높이 = 한 세트(+아래 간격 31) 라서 -100% 가 정확히 한 주기 */
.con07__stack {
  margin-bottom: calc(var(--px) * -31);
  /* 위·아래 끝에서 글자가 반쯤 잘려 보이지 않게 서서히 사라진다 */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.con07__stack .con07__stack-track {
  flex-shrink: 0;
  gap: calc(var(--px) * 31);
  padding-bottom: calc(var(--px) * 31);
  animation-duration: 14s;
}

.con07__stack-track > .con07__stack-clone {
  top: 100%;
  left: 0;
  width: 100%;
  gap: calc(var(--px) * 31);
}

.con07__stack.is-paused .con07__stack-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .con07__stack .con07__stack-track {
    animation: none;
  }
}

/* 영상창: 폭 955, 높이는 16:9 비율에서 산출(≈537) */
.con07__video {
  top: calc(var(--px) * 88);
  margin-right: calc(var(--px) * 4);
  width: calc(var(--px) * 955);
  aspect-ratio: 16 / 9;
  background: #050507;
}

.con07__video iframe {
  display: block; /* inline 이면 줄 상자 바닥 여백(≈7)이 박스를 16:9 보다 키워 아래에 검은 띠가 생긴다 */
  width: 100%;
  height: 100%;
  border: 0;
}

.con07__pill {
  top: calc(var(--px) * 63);
  margin-right: calc(var(--px) * 2);
}

/* 라벨 판 — 오른쪽·아래로 미세하게 더 두꺼운 검은 테두리(con04 · con08 라벨과 같은 drop-shadow) */
.con07__pill-plate {
  filter: drop-shadow(calc(var(--px) * 2) calc(var(--px) * 2) 0 #000);
}

.con07__line {
  width: calc(var(--px) * 1326);
  margin-top: calc(var(--px) * 50);
  border-top: 1px solid #000;
}

.con07__tags {
  margin-top: calc(var(--px) * 49);
  gap: calc(var(--px) * 18);
  padding-left: calc(var(--px) * 10);
}

.con07__title {
  margin-top: calc(var(--px) * 18);
}

.con07__emblem {
  margin-top: calc(var(--px) * 133);
}

/* V 링 — 3D 원통(글자는 ani_con07.js 가 한 글자씩 원통 위에 배치). 시안 정지 프레임 652x226 에 맞춘 값: 반지름 322 · 눕힘 13도 */
.con07__ring {
  --ring-r: calc(var(--px) * 322);
  --ring-tilt: 13deg; /* 마우스 반응은 ani_con07.js 가 링·V 마크 transform 에 직접 쓴다(이 값 기준 ±4°) */
  -webkit-user-select: none;
  user-select: none; /* 드래그·복사로 글자가 선택되지 않게 */
  -webkit-user-drag: none;
  width: calc(var(--px) * 652);
  aspect-ratio: 652 / 226;
  perspective: calc(var(--px) * 1800);
  color: var(--primary);
  font-family: var(--font-ring);
  font-weight: 500;
  letter-spacing: 0;
}

.con07__ring-tilt,
.con07__ring-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.con07__ring-tilt {
  transform: rotateX(calc(var(--ring-tilt) * -1));
}

.con07__ring-spin {
  animation: con07-ring-spin 18s linear infinite;
}

.con07__ring-row {
  position: absolute;
  left: 50%;
  width: 0;
  margin: 0;
  white-space: pre;
  line-height: 1;
  text-transform: uppercase;
  transform-style: preserve-3d;
  visibility: hidden;
}

.con07__ring-row--a {
  --ring-phase: -29deg;
  top: calc(50% - var(--px) * 29);
  font-size: var(--titleS);
}

.con07__ring-row--b {
  --ring-phase: -52deg;
  top: calc(50% + var(--px) * 15.6);
  font-size: var(--headL);
}

.con07__ring.is-ready .con07__ring-row {
  visibility: visible;
}

.con07__ring-ch {
  display: inline-block;
}

.con07__ring.is-ready .con07__ring-ch {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  transform: rotateY(var(--a)) translateZ(var(--ring-r)) translate(-50%, -50%);
  /* 입체감 — 앞면(정면) 글자는 선명, 옆·뒤로 돌아갈수록 옅어진다. 글자마다 위상(--turn)을 달리해 회전과 같은 주기로 돈다.
     V 와 같은 색이라 V 위를 지날 때 묻히므로 아래 그림자로 띄운다(흰 테두리는 쓰지 않는다) */
  text-shadow: 0 calc(var(--px) * 3) calc(var(--px) * 7) color-mix(in srgb, var(--secondary) 35%, transparent);
  animation: con07-ring-depth 18s linear infinite;
  animation-delay: calc((var(--turn, 0) - 1) * 18s);
}

.con07__ring.is-paused .con07__ring-ch {
  animation-play-state: paused;
}

@keyframes con07-ring-depth {
  0%       { opacity: 1; }
  8.333%   { opacity: 0.935; }
  16.667%  { opacity: 0.77; }
  25%      { opacity: 0.565; }
  33.333%  { opacity: 0.4; }
  41.667%  { opacity: 0.32; }
  50%      { opacity: 0.3; }
  58.333%  { opacity: 0.32; }
  66.667%  { opacity: 0.4; }
  75%      { opacity: 0.565; }
  83.333%  { opacity: 0.77; }
  91.667%  { opacity: 0.935; }
  100%     { opacity: 1; }
}

.con07__ring.is-paused .con07__ring-spin {
  animation-play-state: paused;
}

@keyframes con07-ring-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .con07__ring-spin,
  .con07__vmark-3d,
  .con07__vmark-3d::after,
  .con07__ring.is-ready .con07__ring-ch {
    animation: none;
  }
}

/* V 마크 — 링과 같은 3D 공간의 가운데 평면. 눕힘을 되돌려 화면과 평행하게 둔다 */
.con07__vmark {
  top: calc(var(--px) * -32);
  left: calc(var(--px) * 190);
  transform: rotateX(var(--ring-tilt));
  transform-style: preserve-3d; /* 안쪽 .con07__vmark-3d 의 깊이 층이 같은 3D 공간에 남게 */
}

/* V 마크 입체 — ani_con07.js 가 같은 이미지를 깊이(Z) 방향으로 겹쳐 두께를 만든다(뒤쪽 층은 어둡게). 박스가 천천히 좌우로 흔들려 옆면이 비친다 */
.con07__vmark-3d {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  animation: con07-vmark-sway 7s ease-in-out infinite alternate;
}

.con07__vmark-3d img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.con07__vmark-layer {
  filter: brightness(.45);
  transform: translateZ(calc(var(--px) * var(--k) * -2.4));
}

@keyframes con07-vmark-sway {
  from { transform: rotateY(-24deg); }
  to { transform: rotateY(24deg); }
}

/* V 마크 빛 shine — V 모양(같은 이미지)으로 오려낸 면 위를 흰 띠가 주기적으로 한 번씩 지나간다. 띠 중심 x = 1.25W − 1.5W×position → position 130% 는 왼쪽 밖, −30% 는 오른쪽 밖 */
.con07__vmark-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateZ(1px); /* 맨 앞면 위에 얹는다 */
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
  -webkit-mask: url(/images/con07_15.png) center / 100% 100% no-repeat;
  mask: url(/images/con07_15.png) center / 100% 100% no-repeat;
  pointer-events: none;
  animation: con07-vmark-shine 4.5s ease-in-out infinite;
}

@keyframes con07-vmark-shine {
  0% { background-position: 130% 0; }
  35%, 100% { background-position: -30% 0; }
}

/* IMG:AUTO con07 */
/* Derived from section HTML (tools/img-size-to-css.js · unit=--px) — regenerated, do not edit */
/* Exception: fix a value and append an OVR comment; regeneration preserves it */
.con07__big-word.con07__big-word--design {
    width: calc(var(--px)*651);
    aspect-ratio: 651 / 117;
}

.con07__big-word.con07__big-word--branding {
    width: calc(var(--px)*927);
    aspect-ratio: 927 / 117;
}

.con07__big-word.con07__big-word--photo {
    width: calc(var(--px)*623);
    aspect-ratio: 623 / 117;
}

.con07__big-word.con07__big-word--website {
    width: calc(var(--px)*775);
    aspect-ratio: 775 / 117;
}

.con07__big-word.con07__big-word--marketing {
    width: calc(var(--px)*1037);
    aspect-ratio: 1037 / 117;
}

.con07__big-word.con07__big-word--incubating {
    width: calc(var(--px)*1069);
    aspect-ratio: 1069 / 117;
}

.con07__pill-plate {
    width: calc(var(--px)*209); /* OVR */
    aspect-ratio: 209 / 49; /* OVR */
}

.con07__tag-img.con07__tag-img--design {
    width: calc(var(--px)*71);
    aspect-ratio: 71 / 13;
}

.con07__tag-img.con07__tag-img--branding {
    width: calc(var(--px)*101);
    aspect-ratio: 101 / 13;
}

.con07__tag-img.con07__tag-img--photo {
    width: calc(var(--px)*67);
    aspect-ratio: 67 / 13;
}

.con07__tag-img.con07__tag-img--website {
    width: calc(var(--px)*85);
    aspect-ratio: 85 / 13;
}

.con07__tag-img.con07__tag-img--marketing {
    width: calc(var(--px)*114);
    aspect-ratio: 114 / 13;
}

.con07__tag-img.con07__tag-img--incubating {
    width: calc(var(--px)*117);
    aspect-ratio: 117 / 13;
}

.con07__vmark {
    width: calc(var(--px)*273);
    aspect-ratio: 273 / 217;
}
/* /IMG:AUTO con07 END */

/* FONT:AUTO con07 */
/* derived from spec.json (tools/spec-font-to-css.js · unit=--px) — regenerated, do not edit */
/* exception: edit line-height · letter-spacing and append an OVR comment; regeneration preserves it */
.con07 {
    font-family: var(--font-wanted);
    color: #000000;
}

.con07__pill-text {
    font-size: var(--bodyL);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 2.39;
}

.con07__title {
    font-size: var(--titleXL);
    letter-spacing: -0.05em;
    line-height: 1.19;
    text-align: center;
}

.con07__title-lead,
.con07__title-tail {
    font-weight: 400;
}

.con07__title-strong {
    font-weight: 800;
}
/* /FONT:AUTO con07 END */

/* INK:AUTO con07 */
.con07__title-lead { margin-top: calc(var(--px) * -6.72); margin-bottom: calc(var(--px) * -7.28); } /* base 0,0 */
.con07__title-tail { margin-top: calc(var(--px) * -6.72); margin-bottom: calc(var(--px) * -7.28); } /* base 0,0 */
.con07__title-strong { margin-top: calc(var(--px) * -5.72); margin-bottom: calc(var(--px) * -6.28); } /* base 0,0 */
/* /INK:AUTO con07 END */

@media screen and (max-width:599px) {
  /* 컨셉 A — 영상 히어로 + 칩 그리드: 큰 영문 스택은 영상 뒤 워터마크, 영상은 풀폭 16:9 카드, 라벨판은 영상 윗변에 걸침 */
  .con07_iner {
    padding-top: 3vw;
    padding-bottom: 17vw;
  }

  /* 무대 = 위 14vw · 아래 9.6vw 띠에 워터마크가 비치고 가운데를 영상 카드가 덮는다 */
  .con07__stage {
    width: 100%;
    overflow: hidden; /* 워터마크가 띠 밖으로 새지 않게 */
    background-color: color-mix(in srgb, var(--primary) 12%, white); /* 위·아래 섹션과는 바탕색으로만 구분 */
    padding: 27.5vw 5.3333vw 16vw; /* 위 = 라벨판 위 여백(12) + 라벨판(11.3) + 영상과의 간격(3.2). 위아래를 넉넉하게 */
  }

  /* 워터마크 스택 — 무대 전체에 깔고 영상 뒤로 보낸다. 간격 3곳(gap · padding-bottom · 복제 gap)은 같은 값이어야 한 주기가 맞는다 */
  .con07__stack {
    position: absolute;
    inset: 0;
    margin-bottom: 0;
    opacity: 0.13;
  }

  .con07__stack .con07__stack-track {
    gap: 4.2667vw;
    padding-bottom: 4.2667vw;
    animation-duration: 10s;
  }

  .con07__stack-track > .con07__stack-clone {
    gap: 4.2667vw;
  }

  .con07__big-word.con07__big-word--design { width: 56vw; }
  .con07__big-word.con07__big-word--branding { width: 79.8vw; }
  .con07__big-word.con07__big-word--photo { width: 53.6vw; }
  .con07__big-word.con07__big-word--website { width: 66.7vw; }
  .con07__big-word.con07__big-word--marketing { width: 89.3vw; }
  .con07__big-word.con07__big-word--incubating { width: 92vw; }

  .con07__video {
    position: relative;
    top: auto;
    width: 100%;
    margin-right: 0;
    overflow: hidden;
    border: 1px solid #000;
    border-radius: 3.7333vw;
    box-shadow: 1.0667vw 1.0667vw 0 #000;
  }

  /* 라벨 = 흰 알약 — 영상 위에 간격(3.2vw)을 두고 따로 놓는다. 도트 프레임 이미지는 마크업의 .pc 로 모바일에서 빼고 CSS 로 다시 만든다 (con04 · con08 라벨과 같은 규격) */
  .con07__pill {
    top: 12vw;
    margin-right: 0;
    padding: 2.4vw 4.5333vw;
    border-radius: 50vw;
    background-color: #fff;
    box-shadow: 0 1.0667vw 3.2vw color-mix(in srgb, var(--secondary) 45%, transparent);
  }

  .con07__pill-text {
    position: static;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
  }

  .con07__line {
    display: none;
  }

  /* 태그 6개 = "우리는 이것도 가능하다" 항목 — 링크가 아니라 단순 항목이라 체크 + 단어를 2열로 가볍게 나열한다.
     글자 이미지(.con07__tag-img)는 PC 전용(.pc-flex), 모바일은 .con07__tag-text */
  .con07__tags {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center; /* 열 폭을 내용에 맞추고 덩어리째 가운데 — 왼쪽으로 쏠려 보이지 않게 */
    width: 100%;
    margin-top: 6.4vw;
    padding: 0 8vw;
    gap: 4vw 7vw;
  }

  .con07__tags .con07__tag {
    display: flex;
    align-items: center;
    gap: 2.4vw;
    width: auto;
    aspect-ratio: auto;
    color: var(--secondary);
  }

  .con07__tags .con07__tag::before {
    content: "";
    flex: none;
    width: 5.6vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--primary);
    -webkit-mask: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8'/%3E%3C/svg%3E");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .con07__tag-text {
    font-size: var(--bodyXL);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .con07__title {
    margin-top: 14vw;
    line-height: 1.3;
  }

  .con07__title-lead {
    display: block;
  }

  .con07__emblem {
    margin-top: 15vw;
  }

  /* 링 — JS 각도 배치가 폰트:반지름 비율 고정을 요구하므로 링 값은 PC × (90/652) vw 로 같이 줄인다(글자 크기만 raw vw 예외) */
  .con07__ring {
    --ring-r: 44.4479vw;
    width: 90vw;
    perspective: 248.4663vw;
  }

  /* INK 셀렉터(.a.b)와 같은 특정성이어야 margin-top 이 이긴다 */
  .con07__ring-row.con07__ring-row--a {
    top: calc(50% - 4.0031vw);
    font-size: 4.9693vw;
    margin-top: -0.6902vw;
  }

  .con07__ring-row.con07__ring-row--b {
    top: calc(50% + 2.1534vw);
    font-size: 4.1687vw;
    margin-top: -0.497vw;
  }

  .con07__ring.is-ready .con07__ring-ch {
    text-shadow: 0 0.4141vw 0.9663vw color-mix(in srgb, var(--secondary) 35%, transparent);
  }

  .con07__vmark {
    top: -4.4172vw;
    left: 26.2270vw;
    width: 37.6840vw;
  }
}
