@charset "utf-8";
/* ==========================================================================
   GODALMARKET — 단일 스타일시트
   0.리서치/실행플레이북.md 의 §5 시각 시스템 · §6 성능예산 · §7 접근성 준수
   렌더 블로킹 CSS는 이 파일 1장뿐이다. (플레이북 원칙 5)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 토큰
   -------------------------------------------------------------------------- */
:root {
  /* 중립축 — 라이트 (기본값). 밝고 공기감 있는 웜 뉴트럴 */
  --text:            #26262a;   /* #fff 대비 14.4:1 — 순검정보다 부드럽다 */
  --text-2:          #6e6e73;   /* #fff 대비 5.07:1 — AA 통과. 더 옅게 금지 */
  --surface:         #ffffff;
  --surface-2:       #fafaf8;   /* 기존 #f5f5f7 보다 밝고 살짝 따뜻하게 */
  --surface-3:       #fdfdfc;
  --tint-warm:       #f8f6f2;   /* 제품 */
  --tint-lav:        #f3f0fa;   /* 퍼스널 헤어 — 브랜드 라벤더 계열 */
  --tint-soft:       #f5f4f7;   /* 클래스 */
  --border:          rgba(0, 0, 0, .09);
  --border-strong:   #8a8a90;   /* 비텍스트 3:1 확보 */
  --nav-bg:          rgba(255, 255, 255, .78);

  /* 브랜드 라벤더 — 고달사순 로고 실측값 #a799d6.
     면·배경으로만 쓴다. 글자·링크에 쓰면 대비가 안 나온다. */
  --brand:           #a799d6;
  --brand-soft:      #cfc7e8;

  /* 액션 — 유일한 채도색.
     로고 라벤더를 그대로 쓰면 흰 배경 대비 2.4:1 로 AA 미달이라,
     같은 색상 계열을 어둡게 내린 #6D4FBF 를 쓴다 (모든 배경에서 5.38:1 이상). */
  --accent:          #6d4fbf;
  --accent-hover:    #7c5ed0;
  --on-accent:       #ffffff;

  /* 상태 */
  --positive:        #147b29;
  --negative:        #d31130;
  --focus:           #6d4fbf;

  /* 타입 스케일 — html 62.5% 기준 1rem = 10px */
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Pretendard Variable", Pretendard, "Noto Sans KR",
          "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* 간격 — 4의 배수 */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 20px;  --s6: 24px;  --s8: 32px;  --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* 반경 */
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 980px;

  /* 폭 */
  --w-page: 1024px;
  --w-wide: 1280px;
  --w-read: 692px;

  /* 모션 */
  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --d-fast: 150ms;
  --d-base: 300ms;
  --d-slow: 600ms;

  --nav-h: 48px;
}

/* 다크모드는 OS 설정을 자동으로 따라가지 않는다.
   기본은 항상 밝은 화면이고, 우측 상단 토글을 누른 사람에게만 적용된다.
   (밝은 인상이 브랜드 톤이므로 라이트를 기본값으로 고정) */
:root[data-theme="dark"] {
  --text:          #f5f5f7;
  --text-2:        #a1a1a6;   /* #000 대비 8.16:1 */
  --surface:       #000000;
  --surface-2:     #1c1c1e;
  --surface-3:     #101012;
  --tint-warm:     #1f1e1c;
  --tint-lav:      #1e1a2b;
  --tint-soft:     #1c1b20;
  --brand:         #a799d6;
  --brand-soft:    #4a3f6b;
  --border:        rgba(255, 255, 255, .16);
  --border-strong: #8a8a90;
  --nav-bg:        rgba(22, 22, 23, .72);
  --accent:        #b9a9f0;   /* #000 대비 8.1:1 — 다크에서는 밝은 라벤더 */
  --accent-hover:  #cbbdf7;
  --on-accent:     #000000;
  --focus:         #b9a9f0;
}

/* --------------------------------------------------------------------------
   2. 리셋 · 기본
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* 스크린리더 전용 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 건너뛰기 링크 (플레이북 §7-1 배포 차단 항목) */
.skip {
  position: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: var(--s3) var(--s6);
  background: var(--accent); color: var(--on-accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: 1.5rem; font-weight: 500;
  transition: top var(--d-fast) var(--ease);
}
.skip:focus { top: 0; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. 타이포 유틸
   -------------------------------------------------------------------------- */
.t-display {
  font-size: clamp(4rem, 1.6rem + 7.2vw, 9.6rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.025em;
}
.t-h1 {
  font-size: clamp(3.2rem, 1.8rem + 4.2vw, 6.4rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.022em;
}
.t-h2 {
  font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.018em;
}
.t-h3 {
  font-size: clamp(2rem, 1.6rem + 1.1vw, 2.8rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.012em;
}
.t-lead {
  font-size: clamp(1.8rem, 1.5rem + .9vw, 2.4rem);
  line-height: 1.42;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: -.004em;
}
.t-body { font-size: 1.7rem; line-height: 1.6; }
.t-sm   { font-size: 1.5rem; line-height: 1.5; color: var(--text-2); }
.t-xs   { font-size: 1.3rem; line-height: 1.4; color: var(--text-2); }
.t-eyebrow {
  font-size: 1.4rem; font-weight: 600; line-height: 1.3;
  color: var(--accent); letter-spacing: -.004em;
}

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }


/* ==========================================================================
   3-2. 한국어 조판
   한글은 어절이 끊기면 급격히 읽기 힘들어진다.
   keep-all 로 어절을 지키고, 문장은 블록으로 띄워 좁은 화면에서 뭉치지 않게 한다.
   ========================================================================== */
body, p, li, dd, dt, h1, h2, h3, h4, span, a, button, label, .acc-panel {
  word-break: keep-all;          /* 어절 단위로만 줄바꿈 */
  overflow-wrap: break-word;     /* 긴 영문·URL 은 예외적으로 끊어 넘침 방지 */
}
h1, h2, h3, .t-display, .t-h1, .t-h2, .t-h3 { text-wrap: balance; }
p, .t-lead, .t-body, .t-sm, .acc-panel { text-wrap: pretty; }

/* 문장 단위 블록 — <br> 대신 쓴다. <br> 은 여백을 줄 수 없다. */
.s { display: block; }
.s + .s { margin-top: .18em; }

/* 문장 "안"에서 줄만 바꿀 때. 여백 없이 붙는다. */
.l { display: block; }

@media (max-width: 639.98px) {
  /* 좁은 화면에서는 문장 사이를 더 벌려 덩어리로 읽히게 한다 */
  .s + .s { margin-top: .42em; }
  .t-lead  { line-height: 1.5; }
  .t-body, .t-sm, .acc-panel, .period-body p, .chan-desc { line-height: 1.7; }
  .notice { line-height: 1.7; }
  .result-list span { line-height: 1.65; }
}

/* --------------------------------------------------------------------------
   4. 레이아웃
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--s6);
}
.wrap-wide { max-width: var(--w-wide); }
.wrap-read { max-width: var(--w-read); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-alt { background: var(--surface-2); }

.stack > * + * { margin-top: var(--s5); }
.stack-lg > * + * { margin-top: var(--s10); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 480px) and (max-width: 767.98px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479.98px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
}
@media (max-width: 767.98px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   5. 내비게이션 — 블러 고정 바
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--s6);
  display: flex; align-items: center; gap: var(--s6);
}
.nav-logo {
  font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--text); flex: 0 0 auto;
}
.nav-logo:hover { text-decoration: none; opacity: .72; }

.nav-links { display: flex; align-items: center; gap: var(--s2); flex: 1 1 auto; }
.nav-links a {
  font-size: 1.4rem; font-weight: 400; color: var(--text);
  padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  opacity: .88;
  transition: opacity var(--d-fast) var(--ease);
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 600; opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }

.icon-btn {
  width: 40px; height: 40px;               /* 40×40 히트영역 */
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  border-radius: var(--r-pill); color: var(--text);
  transition: background var(--d-fast) var(--ease);
}
.icon-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }

/* 모바일 메뉴 */
.nav-toggle { display: none; }
@media (max-width: 767.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--s3) var(--s6) var(--s6);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease), visibility var(--d-base);
  }
  .nav-links[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 1.9rem; padding: var(--s4) 0; border-bottom: 1px solid var(--border); }
}

/* --------------------------------------------------------------------------
   6. 버튼 · 링크
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  min-height: 44px;                        /* 플레이북 3-2 실측값 */
  padding: 0 var(--s6);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1.6rem; font-weight: 500; line-height: 1;
  cursor: pointer; text-align: center;
  transition: background var(--d-fast) var(--ease),
              transform var(--d-fast) var(--ease),
              opacity var(--d-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* 채운 버튼은 화면당 1개 원칙 (플레이북 원칙 2) */
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent; color: var(--accent);
  border-color: currentColor;
}
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }

.btn-ghost { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 14%, transparent); }

.btn-lg { min-height: 52px; padding-inline: var(--s8); font-size: 1.7rem; }
.btn-block { width: 100%; }

/* 셰브론 링크 */
.link-more {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 1.7rem; color: var(--accent);
}
.link-more::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  transition: transform var(--d-fast) var(--ease);
}
.link-more:hover { text-decoration: none; }
.link-more:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.btn-row {
  display: flex; flex-wrap: wrap; gap: var(--s5);
  align-items: center; justify-content: center;
}
.btn-row-start { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   7. 히어로
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center;
  text-align: center;
  padding-block: var(--s20) var(--s16);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero .t-lead { margin-top: var(--s5); margin-inline: auto; max-width: 46ch; }
.hero .btn-row { margin-top: var(--s10); }

/* 배경: 이미지 요청 0개 — CSS 그라디언트만 (플레이북 원칙 4)
   밝고 공기감 있게. 색을 옅게 여러 겹 깔아 흰 화면이 비어 보이지 않게 한다. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 60% at 50% -8%,  color-mix(in srgb, var(--brand) 34%, transparent) 0%, transparent 68%),
    radial-gradient(60% 50% at 8% 78%,   color-mix(in srgb, #ffd9b8 30%, transparent) 0%, transparent 66%),
    radial-gradient(58% 48% at 92% 68%,  color-mix(in srgb, var(--brand) 26%, transparent) 0%, transparent 66%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-3) 100%);
  pointer-events: none;
}
:root[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(80% 60% at 50% -8%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 68%),
    radial-gradient(60% 50% at 8% 78%,  color-mix(in srgb, #ffc48a 10%, transparent) 0%, transparent 66%),
    radial-gradient(58% 48% at 92% 68%, color-mix(in srgb, #9fd8ff 12%, transparent) 0%, transparent 66%);
}

/* 세로 브레이크포인트 — 가로모드 폰·낮은 노트북 (플레이북 5-4) */
@media (max-height: 575.98px) {
  .hero { min-height: auto; padding-block: var(--s12); }
  .hero .btn-row { margin-top: var(--s6); }
}

/* --------------------------------------------------------------------------
   8. 타일 그리드 — 카테고리 카드
   -------------------------------------------------------------------------- */
.tiles { display: grid; gap: var(--s3); }
@media (min-width: 768px) {
  .tiles-2 { grid-template-columns: repeat(2, 1fr); }
}

.tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 460px;
  padding: var(--s12) var(--s8) var(--s8);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  text-align: center;
  overflow: hidden;
  color: var(--text);
  transition: transform var(--d-base) var(--ease-out);
}
.tile:hover { text-decoration: none; transform: translateY(-4px); }
.tile-head { position: relative; z-index: 1; }
.tile-head .t-eyebrow { display: block; margin-bottom: var(--s3); }
.tile-head p { margin-top: var(--s4); color: var(--text-2); font-size: 1.7rem; }
.tile-cta { position: relative; z-index: 1; margin-top: var(--s6); }

/* 타일 하단 시각영역 — 사진 넣기 전 자리 예약 (CLS 0) */
.tile-visual {
  position: relative; z-index: 0;
  flex: 1 1 auto;
  margin: var(--s8) calc(var(--s8) * -1) calc(var(--s8) * -1);
  min-height: 180px;
  display: grid; place-items: stretch;
  overflow: hidden;
}
.tile-visual > picture { display: block; width: 100%; height: 100%; }
.tile-visual img {
  width: 100%; height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

/* 타일 색조 — 검은 블록 대신 옅은 색으로 화면을 밝게 유지한다 */
.tile-warm { background: var(--tint-warm); }
.tile-lav  { background: var(--tint-lav); }
.tile-soft { background: var(--tint-soft); }

/* --------------------------------------------------------------------------
   8-2. 전면 이미지 밴드 — 화면 폭을 가득 채우는 사진 구간
   텍스트와 사진을 겹치지 않게 분리한다. 글자는 항상 최대 대비를 유지하고
   사진은 손상 없이 그대로 보인다. (애플 제품 페이지의 기본 구성)
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface-2);
}
.band img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.band-tall   { aspect-ratio: 16 / 10; }
.band-wide   { aspect-ratio: 21 / 9; }
@media (max-width: 767.98px) {
  .band-tall { aspect-ratio: 4 / 5; }
  .band-wide { aspect-ratio: 4 / 3; }
}

/* 밴드 위에 얹는 캡션 — 아래쪽 어두운 영역에만 흰 글씨로 */
.band-caption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--s16) var(--s6) var(--s10);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
  color: #fff;
  text-align: center;
}
.band-caption p { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem); font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* 스크롤에 따라 사진이 천천히 밀려 올라가는 패럴랙스 */
@supports (animation-timeline: view()) {
  .band img {
    animation: bandPara linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
    scale: 1.14;
  }
  @keyframes bandPara {
    from { transform: translateY(-6%); }
    to   { transform: translateY(6%); }
  }
}

/* --------------------------------------------------------------------------
   9. 이미지 자리 예약 (플레이북 원칙 6 — CLS 0)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 10%, var(--surface-2)) 0%,
      var(--surface-2) 55%,
      color-mix(in srgb, var(--text) 6%, var(--surface-2)) 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-size: 1.3rem; font-weight: 500;
  color: var(--text-2);
  letter-spacing: .02em;
  padding: 0 var(--s4); text-align: center;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img)::after { content: none; }
.ph-square { --ratio: 1 / 1; }
.ph-wide   { --ratio: 16 / 9; }
.ph-tall   { --ratio: 3 / 4; }

/* --------------------------------------------------------------------------
   10. 카드 · 제품
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: var(--s8);
  display: flex; flex-direction: column;
}
.card-flat { background: transparent; border: 1px solid var(--border); }

.product { display: flex; flex-direction: column; height: 100%; }
.product .ph { margin-bottom: var(--s6); }
.product-name { font-size: 2rem; font-weight: 600; letter-spacing: -.01em; }
.product-desc { margin-top: var(--s2); color: var(--text-2); font-size: 1.5rem; flex: 1 1 auto; }
.product-price { margin-top: var(--s5); font-size: 1.8rem; font-weight: 600; }
.product-price small { font-size: 1.4rem; font-weight: 400; color: var(--text-2); }
.product .btn { margin-top: var(--s5); }

.badge {
  display: inline-block;
  padding: 4px var(--s3);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 1.2rem; font-weight: 600; line-height: 1.5;
}

/* 숫자 강조 */
.stat { text-align: center; }
.stat dt { font-size: 1.4rem; color: var(--text-2); }
.stat dd {
  margin: var(--s2) 0 0;
  font-size: clamp(3.2rem, 2rem + 3vw, 4.8rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1;
}

/* --------------------------------------------------------------------------
   11. 폼
   -------------------------------------------------------------------------- */
.field { display: block; }
.field + .field { margin-top: var(--s5); }
.field > span {
  display: block; margin-bottom: var(--s2);
  font-size: 1.5rem; font-weight: 500;
}
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--s3) var(--s4);
  font-size: 1.6rem;                        /* iOS 자동 줌 회피: 16px 이상 필수 */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);   /* 3:1 이상 */
  border-radius: var(--r-md);
  transition: border-color var(--d-fast) var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--focus); outline-offset: 1px;
}
.hint { margin-top: var(--s2); font-size: 1.3rem; color: var(--text-2); }

/* --------------------------------------------------------------------------
   12. 아코디언 (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  padding: var(--s6) 0;
  background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; font-weight: 500; text-align: left; color: var(--text);
}
.acc-btn::after {
  content: ""; flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.8px solid var(--text-2);
  border-bottom: 1.8px solid var(--text-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--d-base) var(--ease);
}
.acc-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.acc-panel { display: none; padding-bottom: var(--s6); color: var(--text-2); font-size: 1.6rem; }
.acc-panel[data-open="true"] { display: block; }

/* --------------------------------------------------------------------------
   13. 얼굴형 분석 UI
   -------------------------------------------------------------------------- */
.drop {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  padding: var(--s16) var(--s6);
  text-align: center;
  transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.drop[data-drag="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-2)); }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-icon { width: 44px; height: 44px; margin: 0 auto var(--s5); color: var(--text-2); }

.preview {
  display: grid; gap: var(--s6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) { .preview { grid-template-columns: 260px 1fr; } }
.preview-img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--surface-2);
}

.result-shape {
  font-size: clamp(2.8rem, 2rem + 2.4vw, 4rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.1;
}
.result-list > li {
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--border);
}
.result-list > li:first-child { border-top: 1px solid var(--border); }
.result-list strong { display: block; font-size: 1.8rem; font-weight: 600; }
.result-list span { display: block; margin-top: var(--s2); color: var(--text-2); font-size: 1.6rem; }

.notice {
  padding: var(--s5) var(--s6);
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 1.4rem; color: var(--text-2);
}
.notice strong { color: var(--text); }

.alert {
  padding: var(--s5) var(--s6);
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, var(--negative) 40%, transparent);
  background: color-mix(in srgb, var(--negative) 8%, transparent);
  color: var(--text);
  font-size: 1.5rem;
}

/* 로딩 스피너 — transform만 애니메이션 (플레이북 원칙 9) */
.spinner {
  width: 28px; height: 28px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   14. 커리큘럼 타임라인
   -------------------------------------------------------------------------- */
.timeline { border-left: 2px solid var(--border); padding-left: var(--s8); }
.timeline > li { position: relative; padding-bottom: var(--s10); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute; left: calc(var(--s8) * -1 - 6px); top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}
.timeline h3 { font-size: 2rem; font-weight: 600; letter-spacing: -.01em; }
.timeline p { margin-top: var(--s2); color: var(--text-2); font-size: 1.6rem; }


/* --------------------------------------------------------------------------
   14-2. 교시 시간표 — 좌: 교시/시각, 우: 내용
   -------------------------------------------------------------------------- */
.periods { border-top: 1px solid var(--border); }

.period {
  display: grid;
  gap: var(--s3) var(--s8);
  grid-template-columns: 1fr;
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .period { grid-template-columns: 150px 1fr; }
}

.period-time { display: flex; flex-direction: column; gap: 2px; }
.period-no {
  display: inline-block;
  align-self: flex-start;
  padding: 3px var(--s3);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.3rem; font-weight: 600; line-height: 1.5;
}
.period-clock {
  font-size: 1.5rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.period-body h3 {
  font-size: clamp(1.9rem, 1.6rem + .8vw, 2.3rem);
  font-weight: 600; letter-spacing: -.012em; line-height: 1.3;
}
.period-body p { margin-top: var(--s3); color: var(--text-2); font-size: 1.6rem; line-height: 1.6; }

.period-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.period-tag {
  padding: 3px var(--s3);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 1.2rem; font-weight: 600; line-height: 1.5;
}

/* 휴식 · 점심 줄 */
.period-rest {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-2); font-size: 1.4rem;
}
.period-rest::before {
  content: "";
  width: 150px; flex: 0 0 auto;
  border-top: 1px solid var(--border-strong);
  opacity: .4;
}
@media (max-width: 639.98px) { .period-rest::before { width: 40px; } }
.period-lunch {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: var(--s5) var(--s6);
  margin: var(--s5) 0;
  border-bottom: 0;
}
.period-lunch::before { content: none; }


/* --------------------------------------------------------------------------
   14-3. 자동화 채널 카드 (대제목 + 소제목)
   -------------------------------------------------------------------------- */
.chan {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  background: var(--surface);
}
.chan + .chan { margin-top: var(--s5); }
.chan-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s3); }
.chan-no {
  font-size: 1.3rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.chan-title {
  font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem);
  font-weight: 600; letter-spacing: -.015em; line-height: 1.25;
}
.chan-desc { margin-top: var(--s3); color: var(--text-2); font-size: 1.6rem; line-height: 1.65; }

.chan-items { margin-top: var(--s6); display: grid; gap: var(--s4); }
@media (min-width: 640px) { .chan-items { grid-template-columns: 1fr 1fr; } }
.chan-item {
  padding: var(--s5);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.chan-item h4 {
  margin: 0;
  font-size: 1.8rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35;
}
.chan-item p { margin-top: var(--s2); color: var(--text-2); font-size: 1.5rem; line-height: 1.6; }

/* 채널별 색조 */
.chan-insta { border-color: color-mix(in srgb, var(--accent) 26%, transparent); }
.chan-insta .chan-item { background: var(--tint-lav); }
.chan-thread .chan-item { background: var(--tint-soft); }
.chan-blog .chan-item { background: var(--tint-warm); }
.chan-place .chan-item { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   14-4. 모바일 최적화 보정
   -------------------------------------------------------------------------- */
@media (max-width: 639.98px) {
  .wrap { padding-inline: var(--s5); }
  .section { padding-block: clamp(48px, 12vw, 72px); }
  .section-tight { padding-block: clamp(32px, 8vw, 48px); }

  /* 교시: 배지와 시각을 한 줄로 붙여 세로 공간 절약 */
  .period { padding: var(--s5) 0; gap: var(--s2); }
  .period-time { flex-direction: row; align-items: center; gap: var(--s3); }
  .period-clock { font-size: 1.4rem; }
  .period-body h3 { font-size: 1.9rem; }
  .period-body p { font-size: 1.55rem; }
  .period-rest { font-size: 1.3rem; padding: var(--s2) 0; }

  .chan { padding: var(--s6); border-radius: var(--r-md); }
  .chan-item { padding: var(--s4); }

  .card { padding: var(--s6); }
  .tile { padding: var(--s8) var(--s6) var(--s6); min-height: 380px; }
  .tile-visual { margin: var(--s6) calc(var(--s6) * -1) calc(var(--s6) * -1); min-height: 150px; }
  .tile-visual img { min-height: 150px; }

  .btn-row { gap: var(--s4); }
  .btn-lg { width: 100%; }          /* 첫 버튼은 손가락으로 누르기 쉽게 꽉 채운다 */
  .stat dd { font-size: 3.6rem; }

  .timeline { padding-left: var(--s6); }
  .timeline > li { padding-bottom: var(--s8); }
  .timeline > li::before { left: calc(var(--s6) * -1 - 6px); }

  .result-list > li { padding: var(--s4) 0; }
  .acc-btn { font-size: 1.65rem; padding: var(--s5) 0; }

  /* 표·코드가 화면을 밀어내지 않게 */
  table, pre { display: block; max-width: 100%; overflow-x: auto; }
}

/* 아주 좁은 화면 */
@media (max-width: 359.98px) {
  .wrap { padding-inline: var(--s4); }
  .chan-title { font-size: 2rem; }
  .period-time { flex-wrap: wrap; }
}

/* 문단 끝 줄바꿈이 어색하게 붙지 않도록 */
.t-lead br, .chan-desc br, .period-body p br { content: ""; }


/* --------------------------------------------------------------------------
   14-5. 자동화 구조 다이어그램 (SVG)
   -------------------------------------------------------------------------- */
.flow {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.flow img { width: 100%; height: auto; display: block; }

/* 다크모드에서는 흰 배경 다이어그램이 눈부시므로 살짝 눌러준다 */
:root[data-theme="dark"] .flow img { filter: brightness(.88) saturate(.95); }
@media (max-width: 639.98px) { .flow { border-radius: var(--r-md); } }


/* --------------------------------------------------------------------------
   14-6. 가격 강조
   -------------------------------------------------------------------------- */
.price-big {
  margin-top: var(--s4);
  font-size: clamp(3.6rem, 2.6rem + 3vw, 5.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.price-big small {
  font-size: .38em; font-weight: 500; letter-spacing: -.01em;
  margin-left: 2px; color: var(--text-2);
}

/* --------------------------------------------------------------------------
   15. 푸터
   -------------------------------------------------------------------------- */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding-block: var(--s12) var(--s10);
  font-size: 1.3rem;
  color: var(--text-2);
}
.footer-grid {
  display: grid; gap: var(--s10);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h2 { font-size: 1.3rem; font-weight: 600; color: var(--text); margin-bottom: var(--s4); }
.footer li + li { margin-top: var(--s3); }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-legal {
  margin-top: var(--s12);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  align-items: center; justify-content: space-between;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-legal li + li { margin-top: 0; }

/* ==========================================================================
   17. 모션 시스템
   전부 transform / opacity 만 건드린다. width·height·top·left 애니메이션 금지.
   스크롤 연동은 CSS scroll-driven animation 을 우선 사용한다 — 메인 스레드를
   쓰지 않아 스크롤 중에도 60fps 가 유지된다. 미지원 브라우저는 IntersectionObserver
   로 대체되며, 둘 다 실패해도 콘텐츠는 그대로 보인다.
   ========================================================================== */

/* --- 17-1. 텍스트 줄 단위 등장 -------------------------------------------- */
.lines { display: block; }
/* overflow:hidden 은 한글 받침을 잘라먹는다.
   아래·위로 여유를 준 뒤 음수 마진으로 되돌려 레이아웃은 그대로 둔다. */
.lines .ln {
  display: block;
  overflow: hidden;
  padding-block: .06em .14em;
  margin-block: -.06em -.14em;
}
/* 숨김 상태는 [data-motion="on"] 일 때만 적용된다.
   head 의 인라인 스크립트가 이 값을 켜고, site.js 가 정상 실행되면 유지한다.
   site.js 로딩이 실패하면 3초 뒤 인라인 스크립트가 값을 지워 전부 드러난다.
   → 애니메이션이 깨져도 글이 안 보이는 사태는 생기지 않는다. */
[data-motion="on"] .lines .ln > i {
  transform: translateY(105%);
  will-change: transform;
}
.lines .ln > i { display: block; font-style: normal; }
/* 첫 화면은 로드 즉시 재생 */
.hero .lines .ln > i { animation: lineUp 1s var(--ease-out) both; }
.hero .lines .ln:nth-child(1) > i { animation-delay: .05s; }
.hero .lines .ln:nth-child(2) > i { animation-delay: .14s; }
/* 아래쪽 제목은 화면에 들어올 때 재생 */
.is-in .lines .ln > i,
.lines.is-in .ln > i { animation: lineUp .9s var(--ease-out) both; }
.lines.is-in .ln:nth-child(2) > i { animation-delay: .09s; }

@keyframes lineUp { to { transform: translateY(0); } }

/* --- 17-2. 히어로 진입 ---------------------------------------------------- */
.hero-inner .t-lead,
.hero-inner .btn-row { animation: fadeUp .9s var(--ease-out) both; }
.hero-inner .t-lead  { animation-delay: .30s; }
.hero-inner .btn-row { animation-delay: .42s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* --- 17-3. 스크롤 등장 (기본) --------------------------------------------- */
[data-motion="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: transform var(--d-slow) var(--ease-out),
              opacity 240ms linear 60ms;
  will-change: transform, opacity;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* 순차 등장 — 같은 그룹 안에서 조금씩 늦게 */
[data-reveal][data-delay="1"] { transition-delay: .09s, .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s, .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s, .27s; }

/* --- 17-4. 타일 상호작용 -------------------------------------------------- */
.tile { transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.22); }
.tile .tile-visual { transition: transform var(--d-slow) var(--ease-out); }
.tile:hover .tile-visual { transform: scale(1.045); }
.tile .tile-cta::after { transition: transform var(--d-base) var(--ease); }
.tile:hover .tile-cta::after { transform: rotate(45deg) translate(3px, -3px); }

/* --- 17-5. 상단바 스크롤 반응 --------------------------------------------- */
.nav {
  transition: background var(--d-base) var(--ease),
              border-color var(--d-base) var(--ease);
  border-bottom-color: transparent;
}
.nav[data-scrolled="true"] { border-bottom-color: var(--border); }

/* --- 17-6. 스크롤 진행 바 (스크롤 연동 지원 브라우저 전용) ----------------- */
.progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 150;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  display: none;
}

/* --- 17-7. 스크롤 연동 애니메이션 (지원 브라우저에서만 추가로 적용) ------- */
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    animation: scaleX linear;
    animation-timeline: scroll(root block);
  }
  @keyframes scaleX { to { transform: scaleX(1); } }

  /* 히어로 배경 패럴랙스 — 스크롤보다 느리게 움직이고 서서히 옅어진다 */
  .hero-bg {
    animation: heroPara linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }
  @keyframes heroPara {
    to { transform: translateY(14%) scale(1.06); opacity: .35; }
  }

  /* 브랜드 서사 — 화면 중앙을 지날 때 살짝 커졌다 작아진다 */
  .zoom-in {
    animation: zoomIn linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 45%;
  }
  @keyframes zoomIn {
    from { opacity: 0; transform: scale(.94) translateY(30px); }
    to   { opacity: 1; transform: none; }
  }

}
/* 숫자 블록은 스크롤 연동을 걸지 않는다.
   [data-reveal] + data-stagger 로 이미 순차 등장하므로 두 시스템이 겹치면
   한쪽이 다른 쪽을 덮어써 깜빡일 수 있다. */

/* --- 17-8. 모션 축소 — 전부 끈다 (플레이북 5-5) --------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .lines .ln > i { transform: none !important; }
  .hero-inner .t-lead, .hero-inner .btn-row { opacity: 1 !important; transform: none !important; }
  .progress { display: none !important; }
  .tile:hover { transform: none; box-shadow: none; }
  .tile:hover .tile-visual { transform: none; }
}

/* JS 가 꺼져 있어도 전부 보여야 한다 */
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js .lines .ln > i { transform: none; }


/* ==========================================================================
   17-9. 카테고리별 등장 연출
   애플식으로 "적재적소"에만 건다. 전부 transform / opacity 뿐이고,
   스크롤 이벤트는 쓰지 않는다(IntersectionObserver + scroll-timeline).
   ========================================================================== */

/* --- 방향 있는 등장 : 좌우에서 밀려들어옴 (등급 비교·대조 카드에) ------- */
[data-motion="on"] [data-reveal="left"]  { opacity: 0; transform: translateX(-36px); }
[data-motion="on"] [data-reveal="right"] { opacity: 0; transform: translateX(36px); }
[data-reveal="left"].is-in,
[data-reveal="right"].is-in { opacity: 1; transform: none; }

/* --- 확대 등장 : 제품 카드처럼 "물건"을 보여줄 때 ------------------------ */
[data-motion="on"] [data-reveal="pop"] { opacity: 0; transform: scale(.94) translateY(20px); }
[data-reveal="pop"].is-in { opacity: 1; transform: none; }

/* --- 이미지 마스크 리빌 : 밴드 사진이 아래에서 닦이듯 드러남 ------------- */
[data-motion="on"] .band picture,
[data-motion="on"] .flow picture {
  clip-path: inset(14% 0 0 0);
  opacity: .4;
  transition: clip-path 900ms var(--ease-out), opacity 500ms linear;
}
.band.is-in picture, .flow.is-in picture { clip-path: inset(0 0 0 0); opacity: 1; }

/* --- 타임라인 세로선이 위에서 아래로 그려짐 ----------------------------- */
.timeline { position: relative; border-left-color: transparent; }
.timeline::before {
  content: "";
  position: absolute; left: -2px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform 1200ms var(--ease-out);
}
.timeline.is-in::before { transform: scaleY(1); }

/* --- 교시 시간표: 배지가 살짝 튀어오름 ---------------------------------- */
[data-motion="on"] .period .period-no { transform: scale(.7); opacity: 0; }
.period.is-in .period-no {
  transform: none; opacity: 1;
  transition: transform 500ms var(--ease-out) 120ms, opacity 300ms linear 120ms;
}

/* --- 채널 카드: 소제목 알약이 차례로 --------------------------------------- */
[data-motion="on"] .chan .chan-item { opacity: 0; transform: translateY(16px); }
.chan.is-in .chan-item {
  opacity: 1; transform: none;
  transition: transform 600ms var(--ease-out), opacity 300ms linear;
}
.chan.is-in .chan-item:nth-child(2) { transition-delay: .10s; }

/* --- 숫자 강조: 스케일 인 ------------------------------------------------- */
[data-motion="on"] .stat dd { opacity: 0; transform: scale(.86); }
.stat.is-in dd {
  opacity: 1; transform: none;
  transition: transform 700ms var(--ease-out), opacity 320ms linear;
}

/* --- 제품 카드 호버: 사진만 살짝 확대 ------------------------------------ */
.product picture, .product .ph { overflow: hidden; border-radius: var(--r-md); display: block; }
.product picture img { transition: transform var(--d-slow) var(--ease-out); }
.card.product { transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease); }
.card.product:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -18px rgba(0,0,0,.20); }
.card.product:hover picture img { transform: scale(1.05); }

/* --- 스크롤 연동 강화 (지원 브라우저) ------------------------------------ */
@supports (animation-timeline: view()) {
  /* 채널 카드가 화면 중앙을 지날 때 살짝 떠오름 */
  .chan {
    animation: chanLift linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 40%;
  }
  @keyframes chanLift {
    from { opacity: 0; transform: translateY(40px) scale(.985); }
    to   { opacity: 1; transform: none; }
  }
  /* 다이어그램은 스크롤에 맞춰 서서히 커짐 */
  .flow img {
    animation: flowZoom linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes flowZoom {
    from { transform: scale(.96); }
    to   { transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal="left"], [data-reveal="right"], [data-reveal="pop"],
  .band picture, .flow picture, .period .period-no,
  .chan .chan-item, .stat dd, .chan, .flow img {
    opacity: 1 !important; transform: none !important;
    clip-path: none !important; animation: none !important;
  }
  .timeline::before { transform: scaleY(1) !important; }
}

/* --------------------------------------------------------------------------
   18. 인쇄
   -------------------------------------------------------------------------- */
@media print {
  .nav, .footer, .skip, .btn { display: none; }
  body { color: #000; background: #fff; }
}

/* ─────────────────────────────────────────────
   17-10. 사진 촬영 가이드 (퍼스널 헤어)
   원장님이 실제로 쓰시는 노멀 예시 4장.
   원본은 자막이 박혀 있어 잘라내고, 네 장의 벽 밝기를
   241 로 맞춰 한 번에 찍은 것처럼 보이게 했다.
   ───────────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  margin-top: var(--s8);
}
.shot { margin: 0; }

.shot-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 22px -14px rgb(0 0 0 / .22);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* 번호 — 사진 위에 얹되 흰 벽에서도 읽히게 */
.shot-no {
  position: absolute;
  top: var(--s3); left: var(--s3);
  min-width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.shot figcaption {
  margin-top: var(--s3);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.shot figcaption .shot-sub {
  display: block;
  margin-top: .15em;
  font-size: .8125rem;
  font-weight: 400;
  color: var(--text-2);
}

/* 등장 — 왼쪽부터 차례로 */
:root[data-motion="on"] .shots .shot {
  opacity: 0;
  transform: translateY(14px);
}
:root[data-motion="on"] .shots.is-in .shot {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
:root[data-motion="on"] .shots.is-in .shot:nth-child(2) { transition-delay: .07s; }
:root[data-motion="on"] .shots.is-in .shot:nth-child(3) { transition-delay: .14s; }
:root[data-motion="on"] .shots.is-in .shot:nth-child(4) { transition-delay: .21s; }

/* 프리미엄 추가분은 사진이 없다 — 안내 카드로 */
.shot-todo .shot-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--tint-lav);
  box-shadow: none;
  border: 1px dashed color-mix(in srgb, var(--accent) 34%, transparent);
}
.shot-todo .shot-frame span {
  font-size: .8125rem;
  color: var(--text-2);
  text-align: center;
  padding: 0 var(--s4);
}

@media (max-width: 899.98px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
}
@media (max-width: 419.98px) {
  .shot figcaption { font-size: .875rem; }
  .shot figcaption .shot-sub { font-size: .78125rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-motion="on"] .shots .shot { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────
   17-11. 준비물 (SNS 자동화)
   앞의 넷은 물건, 마지막 하나는 "생각해 와야 하는 것"이라
   따로 떼서 넓은 카드로 강조한다.
   ───────────────────────────────────────────── */
.kit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s10);
}
.kit-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s7) var(--s5) var(--s6);
  text-align: center;
}
.kit-icon {
  width: 2.25rem; height: 2.25rem;
  margin: 0 auto var(--s4);
  display: block;
  color: var(--accent);
}
.kit-icon svg { width: 100%; height: 100%; display: block; }
.kit-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0;
}
.kit-item p {
  margin: var(--s2) 0 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* 다섯 번째 — 링크 모아 오기.
   물건이 아니라 "생각해 와야 하는 것"이라 가운데 정렬로 따로 세운다. */
.kit-brief {
  margin-top: var(--s4);
  background: var(--tint-lav);
  border-radius: var(--r-xl);
  padding: var(--s16) var(--s8) var(--s12);
  text-align: center;
}
.kit-brief-icon {
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto var(--s6);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 24px -16px rgb(109 79 191 / .5);
}
.kit-brief-icon svg { width: 1.625rem; height: 1.625rem; display: block; }

.kit-brief h3 {
  margin: 0;
  font-size: clamp(1.375rem, 1.06rem + 1.35vw, 1.75rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.022em;
  color: var(--text);
}
.kit-brief p {
  max-width: 34em;
  margin: var(--s6) auto 0;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--text);
}
.kit-brief p + p { margin-top: var(--s5); color: var(--text-2); }

.kit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s2);
  max-width: 40em;
  margin: var(--s10) auto 0;
  padding: 0;
  list-style: none;
}
.kit-tags li {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .55rem 1.05rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.kit-tags li b {
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

:root[data-motion="on"] .kit .kit-item { opacity: 0; transform: translateY(12px); }
:root[data-motion="on"] .kit.is-in .kit-item {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
:root[data-motion="on"] .kit.is-in .kit-item:nth-child(2) { transition-delay: .06s; }
:root[data-motion="on"] .kit.is-in .kit-item:nth-child(3) { transition-delay: .12s; }
:root[data-motion="on"] .kit.is-in .kit-item:nth-child(4) { transition-delay: .18s; }

@media (max-width: 767.98px) {
  .kit { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .kit-item { padding: var(--s6) var(--s4) var(--s5); }
  .kit-brief { padding: var(--s12) var(--s4) var(--s10); border-radius: var(--r-lg); }
  .kit-brief-icon { width: 2.875rem; height: 2.875rem; margin-bottom: var(--s5); }
  .kit-brief-icon svg { width: 1.4375rem; height: 1.4375rem; }
  .kit-brief p { font-size: 1rem; line-height: 1.75; }
  .kit-tags { gap: 6px; margin-top: var(--s8); }
  .kit-tags li { padding: .5rem .9rem; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root[data-motion="on"] .kit .kit-item { opacity: 1; transform: none; }
}
