@charset "utf-8";

/* =========================================================
   eMnet — The Work
   순블랙 / 화이트 / 레드오렌지 3색 에디토리얼
   ========================================================= */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --red: #ff3d00;

  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --dim: rgba(255, 255, 255, 0.62);
  /* 본문 최소 대비 4.5:1 을 넘기려면 0.44 로는 부족하다 (약 4.36:1) */
  --dim-2: rgba(255, 255, 255, 0.58);
  --surface: #121212;

  --gap: 2px;
  --pad-x: clamp(1.25rem, 4.4vw, 4rem);
  --maxw: 1440px;

  --header-h: clamp(64px, 8vw, 88px);

  --ff: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 공통 레이아웃 ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* 섹션 헤더 — 넘버링 (v2 차용) */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.sec-head__num {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--white);
}

.sec-head__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sec-head__en {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.sec-head__ko {
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sec-head__aside {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--dim);
  max-width: 34ch;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

/* 링크 밑줄 애니메이션 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--red);
  border-color: var(--red);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

button.link-arrow {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
}

/* ---------- 헤더 ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}
.logo em {
  font-style: normal;
  color: var(--red);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dim);
  transition: color 0.2s var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--white);
}

.nav__cta {
  color: var(--white);
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1.1rem;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--black);
  padding: clamp(1.5rem, 6vw, 3rem) var(--pad-x) 3rem;
  overflow-y: auto;
  display: none;
}
.mobile-nav[data-open="true"] {
  display: block;
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mobile-nav__list a span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 세로 히어로는 계단실의 빛이 화면 가운데로 오도록 잡는다 */
  object-position: 34% 58%;
  filter: grayscale(1) contrast(1.12) brightness(0.82);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 6%,
    rgba(10, 10, 10, 0.86) 42%,
    rgba(10, 10, 10, 0.42) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 9vw, 6rem);
}

.hero__title {
  font-size: clamp(3.75rem, 15.5vw, 12.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}
.hero__title .line {
  display: block;
}

.hero__sub {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: clamp(0.8125rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}
.hero__sub::before {
  content: "";
  flex: 0 0 clamp(28px, 5vw, 64px);
  height: 2px;
  background: var(--red);
}

.hero__meta {
  position: absolute;
  right: var(--pad-x);
  top: clamp(1.75rem, 5vw, 3rem);
  z-index: 1;
  text-align: right;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.9;
  color: var(--dim);
  display: none;
}
.hero__meta strong {
  display: block;
  color: var(--red);
  font-size: 0.8125rem;
}

@media (min-width: 900px) {
  .hero__meta {
    display: block;
  }
  .hero__media img {
    object-position: 78% 45%;
  }
  .hero__media::after {
    background: linear-gradient(
        to right,
        var(--black) 0%,
        rgba(10, 10, 10, 0.9) 40%,
        rgba(10, 10, 10, 0.25) 100%
      ),
      linear-gradient(to top, var(--black) 0%, rgba(10, 10, 10, 0) 40%);
  }
}

/* ---------- 아웃라인 마퀴 ---------- */

.marquee {
  overflow: clip;
  border-block: 1px solid var(--red);
  padding-block: clamp(0.5rem, 1.6vw, 1.15rem);
  background: var(--black);
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__track {
  display: flex;
  flex: 0 0 auto;
}

.marquee__word {
  display: block;
  padding-right: 0.35em;
  font-size: clamp(2.75rem, 8.5vw, 7rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.16vw, 2px) var(--red);
}

@supports not ((-webkit-text-stroke: 1px red)) {
  .marquee__word {
    color: var(--red);
  }
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 01 SELECTED WORK — 케이스 모자이크 ---------- */

.work {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

.work__item {
  position: relative;
  display: block;
  overflow: clip;
  background: var(--surface);
  aspect-ratio: 16 / 11;
}

.work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work__item--mono img {
  filter: grayscale(1) contrast(1.1);
}

.work__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.55) 34%,
    rgba(10, 10, 10, 0.05) 70%
  );
}

.work__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(1.1rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.work__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.work__client {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.work__result {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* 원문 문구를 그대로 쓰는 긴 성과 표기 */
.work__result--long {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.15;
}

.work__note {
  font-size: 0.8125rem;
  color: var(--dim);
}

@media (min-width: 900px) {
  .work {
    grid-template-columns: repeat(12, 1fr);
  }
  .work__item {
    aspect-ratio: 16 / 9;
  }
  .work__item--lg {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }
  .work__item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
  }
  .work__item:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
  }
  .work__item:nth-child(4) {
    grid-column: 1 / 7;
    grid-row: 3 / 4;
  }
  .work__item:nth-child(5) {
    grid-column: 7 / 13;
    grid-row: 3 / 4;
  }
  .work__item--lg .work__result {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }
  a.work__item:hover img,
  a.work__item:focus-visible img {
    transform: scale(1.04);
  }
}

.work__foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--dim-2);
  padding-top: 1rem;
}

/* ---------- 02 상품 리스트 ---------- */

.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.svc__list {
  border-top: 1px solid var(--line-strong);
}

.svc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "thumb thumb"
    "desc desc";
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  row-gap: 0.75rem;
  padding-block: clamp(1.35rem, 3.2vw, 2rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.svc-row__num {
  grid-area: num;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  padding-top: 0.65em;
}

.svc-row__title {
  grid-area: title;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.svc-row__en {
  font-size: clamp(2.25rem, 9.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.045em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.svc-row__ko {
  font-size: clamp(0.9375rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.svc-row__thumb {
  grid-area: thumb;
  width: 100%;
  max-width: 15rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1);
}

.svc-row__desc {
  grid-area: desc;
  font-size: 0.9375rem;
  color: var(--dim);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.svc-row__desc::after {
  content: "→";
  color: var(--red);
  font-weight: 700;
  flex: 0 0 auto;
}

.svc__preview {
  display: none;
}

@media (min-width: 900px) {
  .svc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .svc-row__en {
    font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  }
  .svc-row {
    grid-template-columns: auto max-content minmax(0, 1fr);
    grid-template-areas: "num title desc";
    align-items: center;
    column-gap: clamp(1rem, 2.5vw, 2.5rem);
    padding-inline: clamp(0.5rem, 1vw, 1rem);
  }
  .svc-row__num {
    align-self: center;
    padding-top: 0;
  }
  .svc-row__thumb {
    display: none;
  }
  .svc-row__desc {
    justify-content: flex-start;
  }
  .svc-row__desc::after {
    margin-left: auto;
    transition: transform 0.3s var(--ease);
  }
  .svc-row:hover,
  .svc-row:focus-visible {
    background: rgba(255, 255, 255, 0.04);
  }
  .svc-row:hover .svc-row__en,
  .svc-row:focus-visible .svc-row__en {
    color: var(--red);
  }
  .svc-row:hover .svc-row__desc::after {
    transform: translateX(5px);
  }

  .svc__preview {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    aspect-ratio: 4 / 5;
    background: var(--surface);
    overflow: clip;
    border: 1px solid var(--line);
  }
  .svc__preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.12) brightness(0.8);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
  }
  .svc__preview img.is-active {
    opacity: 1;
  }
  .svc__preview::after {
    content: attr(data-label);
    position: absolute;
    left: 1.25rem;
    bottom: 1.1rem;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--white);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  }
}

/* ---------- 03 파트너 ---------- */

.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partners__item {
  background: var(--black);
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  min-height: clamp(110px, 18vw, 170px);
}

.partners__name {
  font-size: clamp(1.125rem, 2.6vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.partners__role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.partners__item:last-child {
  grid-column: span 2;
}

@media (min-width: 760px) {
  .partners {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .partners__item:last-child {
    grid-column: auto;
  }
}

/* ---------- CTA ---------- */

.cta {
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 10vw, 8rem);
}

.cta__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

.cta__title {
  font-size: clamp(2.5rem, 9.4vw, 7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.cta__title .line {
  display: block;
}

.cta__action {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: clamp(0.9rem, 2vw, 1.15rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--red);
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn-red::after {
  content: "→";
}
.btn-red:hover,
.btn-red:focus-visible {
  background: #ff5a25;
  transform: translateX(4px);
}

.cta__mail {
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}
.cta__mail:hover {
  color: var(--red);
  border-color: var(--red);
}

@media (min-width: 900px) {
  .cta__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

/* ---------- 푸터 ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.wordmark {
  overflow: clip;
  line-height: 0.78;
  padding-inline: var(--pad-x);
  max-width: var(--maxw);
  margin-inline: auto;
}
.wordmark span {
  display: block;
  font-size: clamp(4.5rem, 29vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.footer__info {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  font-size: 0.875rem;
  color: var(--dim);
  line-height: 1.85;
}

.footer__info strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer__links a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.footer__links a:hover {
  color: var(--white);
  border-color: var(--red);
}

.footer__notice {
  border: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer__notice b {
  color: var(--red);
  font-weight: 700;
}

.footer__copy {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--dim-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

@media (min-width: 900px) {
  .footer__info {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

/* =========================================================
   상품 서브페이지 — Service Dossier
   ========================================================= */

.dossier-hero {
  position: relative;
  min-height: min(86svh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.dossier-hero__media {
  position: absolute;
  inset: 0;
}
.dossier-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(0.7);
}
.dossier-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 4%,
    rgba(10, 10, 10, 0.82) 40%,
    rgba(10, 10, 10, 0.3) 100%
  );
}
.dossier-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.dossier-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}
.dossier-hero__kicker span {
  color: rgba(255, 255, 255, 0.72);
}
.dossier-hero__title {
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.dossier-hero__ko {
  display: block;
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
  font-size: clamp(1.125rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.statement {
  font-size: clamp(1.5rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.04em;
  max-width: 22ch;
}
.statement em {
  font-style: normal;
  color: var(--red);
}

.lede {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(0.9375rem, 1.7vw, 1.125rem);
  color: var(--dim);
  max-width: 56ch;
}

/* 스펙 블록 (채널·포맷 인덱스) */
.index-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
}
.index-grid__cell {
  background: var(--black);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.index-grid__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.index-grid__title {
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.index-grid__body {
  font-size: 0.9375rem;
  color: var(--dim);
}
.index-grid__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.index-grid__list li {
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* 마지막 줄의 남는 칸을 검게 메운다. 1열일 때는 빈 행이 생기므로 감춘다. */
.index-grid__filler {
  display: none;
}

@media (min-width: 720px) {
  .index-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .index-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .index-grid__filler {
    display: block;
  }
}

/* 큰 타이포 스트립 (포맷 나열) */
.typeset {
  border-top: 1px solid var(--line-strong);
}
.typeset__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem clamp(1rem, 3vw, 2rem);
  padding-block: clamp(0.9rem, 2.2vw, 1.4rem);
  border-bottom: 1px solid var(--line);
}
.typeset__term {
  font-size: clamp(1.5rem, 4.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.typeset__def {
  font-size: 0.9375rem;
  color: var(--dim);
  margin-left: auto;
  min-width: 0;
  max-width: 44ch;
}

/* 모바일에서는 설명을 오른쪽으로 밀지 않고 제목 아래에 둔다 */
@media (max-width: 719px) {
  .typeset__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .typeset__def {
    margin-left: 0;
  }
}

/* 운영 순서 */
.flow {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
}
.flow__step {
  background: var(--black);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.flow__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}
.flow__name {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.flow__desc {
  font-size: 0.9375rem;
  color: var(--dim);
}
@media (min-width: 720px) {
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* THE RESULT 풀쿼트 */
.result {
  border-block: 1px solid var(--red);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.result__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}
.result__items {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.result__figure {
  font-size: clamp(2.5rem, 8.6vw, 6rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.result__who {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: var(--dim);
}
@media (min-width: 760px) {
  .result__items--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 산출물 목록 */
.deliver {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.deliver li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: clamp(0.75rem, 1.8vw, 1.1rem);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
}
.deliver li::before {
  content: "—";
  color: var(--red);
  flex: 0 0 auto;
}

/* 이전 / 다음 */
.pager {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.pager a {
  background: var(--black);
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background-color 0.25s var(--ease);
}
.pager a:hover {
  background: var(--surface);
}
.pager__dir {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}
.pager__name {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.pager a:last-child {
  text-align: right;
  align-items: flex-end;
}
@media (min-width: 720px) {
  .pager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--dim-2);
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  padding-inline: 0.4rem;
}

/* =========================================================
   문의 페이지
   ========================================================= */

.inq-hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.inq-hero__title {
  font-size: clamp(3rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.inq-hero__title .line {
  display: block;
}
.inq-hero__title .line--red {
  color: var(--red);
}
.inq-hero__sub {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--dim);
  max-width: 52ch;
}

.inq-hero__sub a,
.success__body a,
.noscript-note a,
.form-aside__note a {
  color: var(--white);
  font-weight: 700;
  border-bottom: 1px solid var(--red);
}

.inq-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
@media (min-width: 960px) {
  .inq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  }
}

.form__group {
  padding-block: clamp(1.5rem, 3.5vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.form__group:first-of-type {
  border-top: 1px solid var(--line-strong);
}

.form__legend,
.form__label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  padding: 0;
}
.form__no {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}
.form__req {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}
.form__opt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dim-2);
}
.form__hint {
  font-size: 0.8125rem;
  color: var(--dim-2);
  margin-bottom: 0.75rem;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.input,
.textarea,
.select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.125rem);
  padding: 0.7rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.2s var(--ease);
}
.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--red);
}
/* 하단선 색 변화만으로는 키보드 포커스가 약해 아웃라인을 유지한다 */
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.7;
}
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%),
    linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position: right 12px center, right 6px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.select option {
  background: var(--black);
  color: var(--white);
}

.field__label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0.35rem;
}

.field-row {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 640px) {
  .field-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 760px) {
  .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.choice {
  position: relative;
  background: var(--black);
}
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.choice span::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  flex: 0 0 auto;
}
.choice input:checked + span {
  background: var(--red);
}
.choice input:checked + span::before {
  background: var(--white);
  border-color: var(--white);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.agree {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.6rem;
}
.agree input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}
.agree label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.86);
}
.agree label b {
  color: var(--red);
  font-weight: 700;
}

.policy-box {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--dim);
  line-height: 1.8;
}
.policy-box b {
  color: var(--red);
  font-weight: 700;
}

.error {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
}
.error:empty {
  display: none;
}

[aria-invalid="true"] {
  border-color: var(--red) !important;
}
.choice-grid[data-invalid="true"] {
  border-color: var(--red);
}

.form__submit {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.form__submit .disclaimer {
  padding-top: 0;
  max-width: 32ch;
}

.form-aside {
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--dim);
  line-height: 1.8;
}
.form-aside dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.form-aside dd {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}
@media (min-width: 960px) {
  .form-aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.success {
  border: 1px solid var(--red);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}
.success__title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}
.success__title .line {
  display: block;
}
.success__body {
  color: var(--dim);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  max-width: 52ch;
}
/* 데모 고지는 본문보다 먼저 읽혀야 한다 */
.success__demo {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
}

.noscript-note {
  margin-top: 1.5rem;
  border: 1px solid var(--red);
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.form-aside__note {
  color: var(--dim);
  font-weight: 400;
  font-size: 0.8125rem;
}
.success__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}

[hidden] {
  display: none !important;
}

/* ---------- 모션 축소 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__inner {
    animation: none;
    width: 100%;
  }
  .marquee__track[data-clone="true"] {
    display: none;
  }
  .marquee__track {
    overflow: clip;
  }
}
