@charset "UTF-8";
/* 메인 페이지 — 시안 기준 1920 폭.
   세로 좌표(top)는 시안 값을 그대로 쓰고, 가로는 % 로 환산해 함께 줄어들게 한다.
     1032 → 53.75%   948 → 49.375%   1647 → 85.78125% */

/* ============================================================
   1. 히어로
   ============================================================ */
/* ⚠️ 높이를 900px 로 박으면 **좁은 화면에서 사진이 확대·좌우 절단된다** (2026-09-21).
   배경이 cover 인데 높이가 안 줄어드니, 폭이 좁아져도 사진은 900 높이 그대로 크게 남고
   좌우만 잘려 나간다 — 인물이 프레임을 꽉 채우고 카피가 팔 위로 올라탔다
   (1280 에서 한쪽 321px, 1024 에서 449px 잘림. 1024 에서는 머리까지 잘렸다).
   사진 비율(3840×1798 = 2.1357)이 시안 밴드(1920×900 = 2.1333)와 사실상 같으므로
   **높이를 폭에 묶으면 어느 폭에서나 시안과 같은 구도**가 된다.
     1920 → 900(시안과 동일) · 1600 → 750 · 1440 → 675 · 1280 → 600 · 1024 → 480
   위 상한 900 은 1920 보다 넓은 화면 — 지금과 같다(위아래만 조금 잘린다).
   아래 한계 480 은 카피 두 줄(≈170) + 아래 여백(80)이 들어갈 자리다.
   ⚠️ 윤결세트 배경과 같은 종류의 문제다 — 높이를 **늘리면 더 잘린다.** */
.hero { height: clamp(480px, 46.875vw, 900px); background: #010101; }

/* 배경 영상 (2026-10-06) — 첫 장면 사진(<picture>) 위에 얹혀 있다가
   실제로 재생이 시작되면(js 가 .is-playing) 나타난다.
   PC 영상은 16:9 라 이 밴드(≈2.13:1)에서 위아래가 조금 잘리고,
   모바일 영상은 9:16 이라 390×620 에서 위아래가 36 씩 잘린다. */
.hero-video { opacity: 0; transition: opacity .4s; }
.hero-video.is-playing { opacity: 1; }

/* ============================================================
   2. 영원의 꽃, 이모탈 — 스크롤 개화
   ------------------------------------------------------------
   .emortal-pin 이 스크롤 트랙(400vh)이고 그 안의 sticky 가 화면에 붙는다.
   꽃이 피는 91프레임(1447×678)을 스크롤 진행률로 넘긴다(js/main.js).
   원본은 mainFlower.mp4 인데 키프레임이 1개뿐이라 영상 스크럽으로는
   되감기가 버벅여서, 프레임을 뽑아 캔버스로 그리는 방식으로 갔다.
   ============================================================ */
.emortal-pin { position: relative; height: 400vh; }

.emortal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--navy-deep);
}

.emortal { height: 100%; background: var(--navy-deep); }

.emortal-stages { position: absolute; inset: 0; }

/* 프레임은 캔버스에 그린다. 프레임이 아직 없을 때는 섹션 배경색이 그대로 보인다
   — 글자는 항상 읽힌다. */
.emortal-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.emortal-eyebrow,
.emortal-title,
.emortal-desc,
.emortal-note { position: absolute; left: 0; width: 100%; text-align: center; z-index: 2; }

/* ⚠️ 시안 좌표(150/188/272/340/395)에서 통째로 59px 올렸다.
   시안은 꽃의 **봉오리**(영상 첫 프레임)만 그려져 있어 버튼 아래가 비어 보이지만,
   실제로는 만개한 꽃이 캔버스 y=419 까지 올라온다. 시안대로 두면 버튼이 꽃잎을 덮는다.
   js/main.js 의 TOP_LIMIT(420) 은 버튼 아래끝 380 을 기준으로 잡은 값이라
   버튼을 그 자리로 되돌린다. 꽃 크기는 그대로 둔다. */
.emortal-eyebrow { top: 91px; font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.emortal-title   { top: 129px; font-size: 40px; font-weight: 700; line-height: 1.6; color: var(--white); }
.emortal-desc    { top: 213px; font-size: 16px; line-height: 1.8; color: var(--white); }
.emortal-desc b  { font-weight: 600; }
.emortal-note    { top: 281px; font-size: 14px; line-height: 1.8; color: #999; }

.emortal-btn {
    position: absolute;
    top: 336px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ============================================================
   3. The Danaro Standard (5% → 5각 → 3공법) — 스크롤 3단 전환
   ------------------------------------------------------------
   .standard-pin 이 스크롤 트랙(300vh)이고 그 안의 .standard-sticky 가
   화면에 붙는다. 트랙을 다 지나면 자연스럽게 다음 섹션으로 넘어간다.
   세 상태 모두 시안 좌표가 같아서 틀은 고정이고 내용만 갈아끼운다.
   ============================================================ */
.standard-pin { position: relative; height: 300vh; }   /* 상태 3개 × 100vh */

.standard-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #fff;
}

.standard { height: 100%; background: #fff; }

/* 한 상태 = 이미지 + 글 한 덩어리. PC 는 좌우로 펼치고 모바일은 통째로 쌓는다. */
.standard-states { position: absolute; inset: 0; }
.standard-state  { position: absolute; inset: 0; }

/* ---- 왼쪽: 아래에서 올라와 덮는 이미지 ---- */
.standard-visual {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 49.375%;         /* 948 / 1920 */
    height: 100%;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform .9s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}
.standard-visual img { width: 100%; height: 100%; object-fit: cover; }
/* 지나온 단계는 제자리에 남고, 다음 장이 그 위를 덮는다 */
.standard-state.is-shown .standard-visual { transform: translateY(0); }

.standard-label {
    position: absolute;
    top: 86px;
    left: 85.78125%;        /* 1647 / 1920 */
    z-index: 3;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    text-transform: capitalize;
}

/* ---- 오른쪽: 제자리에서 크로스페이드하는 글 ----
   ⚠️ **이 섹션은 화면에 붙는 형태라 높이가 브라우저 창을 따라간다.**
   시안은 900 을 전제로 그려져 있어서, 좌표를 그대로 박으면 창이 낮을 때 잘린다.
   글 덩어리는 285 높이(숫자 위끝~부제 아래끝)이고 시안에서 505 에 시작한다 —
   900 이 아닌 창에서는 790 이 화면 밖이 된다. 노트북 창 높이는 보통 660~700 이다.

   그래서 **덩어리를 통째로 비율로 놓는다** (505/900 = 56.111%).
   안쪽 간격은 고정이라 글자끼리 겹치지 않는다.
   뒤의 min() 은 잘림 방지 하한이다 — 어느 창에서도 아래로 40 은 남긴다
   (325 = 덩어리 285 + 여유 40).
     창 660 → 335   900 → 505(시안과 동일)   1080 → 606   1300 → 729
   세로 중앙 기준으로 두면 창이 커질 때 위쪽 여백만 늘어 라벨과의 간격이
   깨진다 — 비율은 위아래가 같이 늘어 시안 구도가 유지된다. */
.standard-text {
    position: absolute;
    left: 53.75%;           /* 1032 / 1920 */
    top: min(56.111%, calc(100% - 325px));
    opacity: 0;
    transition: opacity .35s ease;
}
.standard-state.is-active .standard-text { opacity: 1; transition-delay: .3s; }  /* 먼저 지우고 나서 채운다 */

/* 덩어리 **안쪽**은 흐름이다 (2026-09-14). 바깥 덩어리(.standard-text)는
   화면에 붙는 섹션의 오른쪽 절반에 겹쳐야 해서 absolute 그대로 둔다. */
.standard-num,
.standard-h3,
.standard-p { white-space: nowrap; }

/* 시안 간격(덩어리 위끝 505 기준 0 · 192 · 256) 을 margin 으로 옮겼다 */
.standard-num { display: flex; align-items: flex-start; gap: 6px; color: var(--ink); }
.standard-num .num  { font-size: 140px; font-weight: 700; line-height: 1.3; }
.standard-num .unit { margin-top: 76px; font-size: 64px; font-weight: 600; line-height: 1.3; }
/* 한글 단위(각 · 공법)는 시안에서 5px 위, 2px 오른쪽 */
.standard-text--ko .standard-num { gap: 8px; }
.standard-text--ko .standard-num .unit { margin-top: 71px; }

.standard-h3 { margin-top: 10px; font-size: 30px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.standard-p  { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--body); }

/* 모션을 줄이도록 설정한 사용자에게는 전환 효과를 끈다 */
@media (prefers-reduced-motion: reduce) {
    .standard-visual,
    .standard-text { transition: none; }
}

/* ============================================================
   4. Well-Aging Complex (앰플 비주얼)
   ============================================================ */
.wellaging { height: 800px; padding-top: 55px; text-align: center; }

/* ⚠️ **`.section-bg` 는 absolute 라 흐름 속의 글보다 위에 그려진다.**
   글을 흐름으로 바꾼 순간 사진 뒤로 숨는다 — 2026-09-14 에 실제로 그랬다.
   `position: relative` 는 자리를 그대로 두고 **그리는 순서만** 바꾼다.
   (히어로는 `.inner` 가 이미 relative 라 이 문제가 없다.) */
.wellaging-label,
.set-eyebrow,
.set-title,
.set-desc,
.set-spec,
.set-btn { position: relative; z-index: 1; }

.wellaging-label {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--white);
    text-transform: capitalize;
}

/* ============================================================
   5. 단아로 윤결세트
   ============================================================ */
/* 글은 오른쪽 열에 **흐름으로** 쌓는다 (2026-09-14).
   사진은 .section-bg 라 absolute 그대로 — 글과 겹쳐야 하는 배경이다.
   왼쪽 padding 53.75%(=1032/1920)가 곧 시안의 x 좌표다.
   오른쪽에도 여백을 둬야 좁은 화면에서 글이 화면 밖으로 안 나간다.

   ⚠️ **높이를 900 으로 박으면 좁은 화면에서 왼쪽 크림이 잘린다** (2026-09-15).
      배경이 `cover` 라 높이가 고정이면 사진이 안 줄고 좌우가 잘려 나간다.
      제품이 사진 왼쪽(시안 1920 기준 x 329~943)에 몰려 있어 왼쪽 잘림이 곧 제품 잘림이다
      — 1200 부터 시작해 900 에서 181px 이 잘렸다.
      한쪽당 잘리는 양(1920 기준) = 960 × (1 - 폭 / (높이 × 1920/900)).
      이 값이 329 이하이려면 **높이 ≤ 폭 × 0.7132** 여야 한다.
      ⚠️ 높이를 **늘리면 더 잘린다** — 줄여야 한다. 방향을 헷갈리지 말 것.
      아래 한계 640 은 글 덩어리(266~608) + 여백 32 다.
      사진을 왼쪽으로 미는 방법(`object-position`)은 안 된다 — 오른쪽 글이 병 위로 올라탄다. */
.set { height: clamp(640px, 71.32vw, 900px); padding: 266px 6.25% 0 53.75%; }

.set-eyebrow { font-size: 16px; line-height: 1.6; color: var(--muted); }
.set-title   { margin-top: 12px; font-size: 40px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.set-desc    { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--body); }

.set-spec { margin-top: 21px; font-size: 16px; line-height: 1.8; color: var(--body); }
.set-spec dt { float: left; clear: left; width: 40px; font-weight: 700; }  /* 값 시작 x=1072 = 1032+40 */
.set-spec dd { margin-left: 40px; }

.set-btn { margin-top: 40px; }

/* ============================================================
   6. 피부의 균형을 깨우는 루틴
   ============================================================ */
/* ⚠️ **위 여백 160 은 시안에 있는 '섹션과 섹션 사이의 빈 공간' 이다.**
   시안 프레임은 윤결세트가 3499~4399, 루틴이 4559~5439 로 **붙어 있지 않다.**
   섹션을 빈틈없이 이어 붙이면 이 160 이 통째로 사라져 루틴 제목이 위에 딱 붙는다.
   높이(880)는 그대로 두고 margin 으로 띄운다 — 섹션 안 좌표를 건드리지 않으려는 것이다.
   모바일 시안(2500~3343 / 3343~4104)은 붙어 있어서 여백이 없다. */
/* ⚠️ 높이를 박지 않는다 — 사진 칸이 줄면 섹션도 같이 짧아져야 한다.
   1920 에서는 머리 101.6 + 간격 50 + 칸 725 + 3 = 880 으로 시안과 같다. */
.routine { padding-bottom: 3px; margin-top: 160px; background: #fff; }

.routine-head { text-align: center; }
.routine-head .section-title { margin-top: 12px; }

/* 스텝(번호·점·라벨)과 제품컷을 한 덩어리(.routine-item)로 묶었다.
   PC 는 4단 그리드에 타임라인으로 펼치고, 모바일은 가로로 넘기는 카드가 된다.
   4단 그리드는 시안의 402px + 24px 간격 = 1680 과 동일하게 나뉜다. */
/* ⚠️ 트랙 **안쪽**(번호·점·막대·제품컷)은 absolute 그대로다.
   단계 막대와 점은 글이 아니라 **그려 놓은 그림**이고, 제품컷은 사진마다
   크기가 달라 하나씩 맞춰 놓은 값이다. 흐름으로 바꾸면 타임라인이 무너진다. */
.routine-track { margin-top: 50px; }

.routine-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 시안 기준 152 ~ 877 */
/* ⚠️ 높이를 박지 않는다 (2026-09-15). 사진 칸이 칸 폭을 따라 줄어들면
   제품명·설명이 그만큼 따라 올라와야 한다. 725 로 박아 두면 사진만 작아지고
   자리는 그대로라 **라벨과 사진 사이가 통째로 빈다** (1040 에서 230px).
   위 120 은 타임라인(번호 0 · 점 52 · 라벨 86~118) 자리다 — 글자라 안 줄인다.
   아래 28 은 시안의 725 - 696.6 이다.
   absolute 인 번호·점·라벨은 padding 에 안 밀린다(padding box 기준). */
.routine-item { position: relative; padding: 120px 0 28px; text-align: center; }

/* 사진 칸 — **세로가 가로를 따라간다.** 시안의 사진 밴드 120~591 (402×471). */
.routine-photo {
    position: relative;
    display: block;
    aspect-ratio: 402 / 471;
}

/* PC 에서는 묶음을 없는 것처럼 둬서 번호·라벨이 각자 자리를 잡게 한다.
   모바일에서만 가로 한 줄이 된다. */
.routine-meta { display: contents; }

.routine-no,
.routine-step {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 1.6;
    color: var(--navy-step);
}
.routine-no   { top: 0;    font-size: 20px; font-weight: 600; }
.routine-step { top: 86px; font-size: 20px; font-weight: 700; }

/* ⚠️ PC 는 **흰 점**이다 — 두꺼운 남색 막대 위에 뚫린 것처럼 얹힌다.
   모바일은 막대가 없어 흰 점이면 안 보인다 → 아래 모바일 블록에서 남색으로 되돌린다.
   z-index 는 막대(.steps-line)가 DOM 상 뒤에 있어 그냥 두면 점을 덮기 때문이다. */
.routine-dot {
    position: absolute;
    top: 52px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}

/* 첫 점 ~ 마지막 점을 잇는 막대.
   ⚠️ **가는 선이 아니라 두께 20 짜리 둥근 막대다** (시안 183:692 의 SVG:
   stroke-width 20 / linecap round / #162131 → #446697). 화면에서 축소돼 보여
   1px 선으로 착각하기 쉽다 — 2026-09-14 에 바로잡았다.
   한 칸의 절반 = (100% - 간격합) / 8 → 첫·끝 점의 중심.
   거기서 14 더 뻗는다 (시안의 둥근 끝 10 + 여유 4 = 307..1613). */
.steps-line {
    position: absolute;
    top: 46px;              /* 시안 막대 중심 208 - 두께 절반 10 - 트랙 시작 152 */
    left: calc((100% - 72px) / 8 - 14px);
    right: calc((100% - 72px) / 8 - 14px);
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #162131 0%, #446697 100%);
}

/* 막대 위에 얹히는 흰 점선 (시안 183:693~695: 흰색 2/2 점선, 투명도 .5).
   점 중심에서 13 씩 떨어져 시작한다 — 막대가 14 더 뻗어 있으니 27. */
.steps-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 27px;
    right: 27px;
    height: 1px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(90deg,
        rgba(255, 255, 255, .5) 0 2px, transparent 2px 4px);
}

/* 제품컷 — 폭은 칸 대비 %, 자리는 **아래끝 기준**이다 (칸 높이 725 에서 뺀 값).
   ⚠️ **위(top) 로 잡으면 안 된다** (2026-09-15 수정). 폭이 % 라 칸이 좁아지면
      사진이 작아지는데 위가 박혀 있으면 아래끝만 제각각 올라온다 —
      네 제품의 크기가 달라 올라오는 양도 달라서 **지그재그로 흩어졌다**
      (1920 에서 40 차이가 1040 에서 89, 900 에서 109 까지 벌어졌다).
      덤으로 사진과 제품명 사이가 900 에서 250px 이나 비었다.
      아래끝을 박으면 어느 폭에서도 네 개가 같은 선에 서고 제품명과의 간격도
      20 으로 일정하다. 시안의 리듬(40 차이)은 아래끝 값에 그대로 담겨 있다. */
.routine-item img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
}
/* 밴드 아래끝(시안 591)에서 얼마나 띄울지 — 밴드 높이(471) 대비 % 라 같이 줄어든다 */
.routine-item--skin    img { bottom: 5.5202%; width: 37.8109%; }  /* 26/471 · 폭 152/402 */
.routine-item--ampoule img { bottom: 7.2187%; width: 40.0498%; }  /* 34/471 · 폭 161/402 */
.routine-item--cream   img { bottom: 8.4926%; width: 56.2189%; }  /* 40/471 · 폭 226/402 */
.routine-item--sun     img { bottom: 0;       width: 93.7649%; }  /* 밴드 바닥 · 폭 377/402 */

/* 사진 칸 바로 아래에 흐른다 — 칸이 줄면 같이 올라온다.
   -6 은 시안에서 이름(585)이 밴드 끝(591)보다 위에 있어서다. */
.routine-name { margin-top: -6px; font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.routine-desc { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--body); }
/* ⚠️ 선크림만 이름이 5 아래(590)다. 흐름이라 그만큼 **칸이 5 길어져 한 줄 전체를
   끌어올린다** — 아래 여백에서 5 를 돌려줘야 시안의 725 가 유지된다. */
.routine-item--sun .routine-name { margin-top: -1px; }   /* 시안 590 */
.routine-item--sun { padding-bottom: 23px; }

/* ⚠️ 선크림 튜브의 글자(`.routine-emboss`)는 2026-09-21 에 없앴다 — 새 사진
   `main/routine_04_sun_2.png` 에 제품명·SPF 까지 다 찍혀 나온다. 옛 사진은 민자 튜브라
   'dANARO' 한 줄만 HTML 로 얹고 있었다. 사진을 되돌리지 않는 한 다시 넣을 일이 없다. */

/* 모바일에서만 쓰는 진행바 */
.routine-bar { display: none; }

/* ============================================================
   7. 지금, 단아로
   ============================================================ */
/* ⚠️ 높이를 박지 않는다 (2026-09-15). 카드가 4단 그리드라 화면을 따라 줄어드는데
   1008 로 박아 두면 줄어든 만큼이 **통째로 아래 흰 여백**이 된다
   (1920 에서 200 이던 것이 900 에서 477 까지 늘었다). 루틴과 같은 문제다.
   아래 200 은 시안의 카드~섹션 끝 간격이다 — 글자 자리라 안 줄인다. */
.now { padding: 160px 0 200px; background: #fff; text-align: center; }

.now-eyebrow { font-size: 14px; line-height: 1.6; color: var(--muted); text-transform: capitalize; }
.now-title   { margin-top: 12px; font-size: 40px; font-weight: 700; line-height: 1.6; color: var(--ink-2); }

/* 카드 안쪽(사진·로고·글)은 absolute 그대로다 — 사진 위에 겹치는 것들이다 */
.now-cards { margin-top: 50px; text-align: left; }
.now-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ⚠️ 카드는 4단 그리드라 화면을 따라 줄어드는데 **글자는 안 줄어든다.**
   제목이 줄바꿈 금지라 1600 부터 카드 밖으로 밀려 잘려 보였다.
   `container-type` 을 걸어 두면 아래에서 글자를 **카드 폭 기준**으로 잡을 수 있다.
   (모바일은 카드가 281.4 고정 가로 스크롤이라 원래 문제가 없다.) */
.now-card {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 402 / 500;
    border-radius: 12px;
    overflow: hidden;
}
.now-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 하단 그라데이션 — 시안: 높이 185(=37%), 투명도 80% */
.now-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 37%;
    opacity: .8;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
}

.now-card-text {
    position: absolute;
    left: 7.46%;            /* 30 / 402 */
    bottom: 8%;             /* 40 / 500 */
    z-index: 2;
    width: 53.23%;          /* 214 / 402 */
    color: var(--white);
}
/* 시안은 카드 402 기준 — 라벨 14 · 제목 24 · 날짜 16 · 간격 8.
   카드 폭에 대한 비율로 바꾸고 시안 크기를 상한으로 둔다.
   ⚠️ `cqi` 를 모르는 브라우저를 위해 **px 를 먼저 쓰고 그 위에 겹친다** —
      값이 통째로 버려져도 지금 크기가 그대로 남는다. */
.now-card-label { font-size: 14px; font-weight: 600; line-height: 1.6; }
.now-card-title { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.now-card-note  { margin-top: 8px; font-size: 16px; line-height: 1.6; }

.now-card-label { font-size: min(14px, 3.483cqi); }               /* 14 / 402 */
.now-card-title { margin-top: min(8px, 1.99cqi); font-size: min(24px, 5.97cqi); }   /* 24 / 402 */
.now-card-note  { margin-top: min(8px, 1.99cqi); font-size: min(16px, 3.98cqi); }   /* 16 / 402 */

/* ============================================================
   8. 맞춤형 피부 솔루션 (상담 CTA)
   ============================================================ */
.consult {
    height: 500px;
    padding-top: 110px;
    background: linear-gradient(137.51deg, #010a28 38.931%, #374c73 65.087%, #9e9ea4 91.244%);
    text-align: center;
}

.consult-title,
.consult-desc { color: var(--white); }
.consult-title { font-size: 40px; font-weight: 700; line-height: 1.6; }
.consult-desc  { margin-top: 20px; font-size: 16px; line-height: 1.8; }

.consult-keys {
    margin: 36px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--white);
    white-space: nowrap;
}
.consult-keys .bar { width: 1px; height: 15px; background: rgba(255, 255, 255, .6); }

.consult-btn { margin-top: 36px; }


/* ============================================================
   모바일 (≤768) — 시안 183:751 기준 390 폭
   세로 좌표는 시안 px 그대로, 가로는 20px 여백 기준.
   ============================================================ */

@media (max-width: 768px) {

    /* ---------- 1. 히어로 ---------- */
    .hero { height: 620px; }


    /* ---------- 2. 영원의 꽃 ---------- */
    .emortal-eyebrow { top: 70px; }
    .emortal-title   { top: 109px; font-size: 32px; line-height: 1.5; }
    .emortal-desc {
        top: 175px;
        left: 50%;
        width: 330px;
        transform: translateX(-50%);
    }
    .emortal-note { top: 336px; }
    .emortal-btn  { top: 385px; }

    /* ---------- 3. The Danaro Standard ---------- */
    /* 시안 섹션이 680 이다. 700 으로 막아 두면 아래에 붙는 이미지가 20 내려간다 */
    .standard-sticky { min-height: 680px; }

    /* 한 상태가 통째로 아래에서 올라와 쌓인다 */
    .standard-state {
        background: #fff;
        transform: translateY(100%);
        transition: transform .9s cubic-bezier(.16, 1, .3, 1);
        will-change: transform;
    }
    .standard-state.is-shown { transform: translateY(0); }

    .standard-label { top: 30px; left: 20px; }

    /* 이미지는 아래에 붙는다 — 상태 안에서는 움직이지 않는다 */
    .standard-visual,
    .standard-state.is-shown .standard-visual {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 370px;
        transform: none;
        transition: none;
    }

    /* 글은 제자리, 페이드 없이 상태와 함께 올라온다 */
    .standard-text,
    .standard-state.is-active .standard-text {
        position: static;
        padding: 77px 20px 0;      /* 시안: 숫자 위끝 77, 왼쪽 20 */
        opacity: 1;
        transition: none;
    }

    .standard-num { gap: 8px; }
    .standard-num .num  { font-size: 88px; }
    .standard-num .unit { margin-top: 51px; font-size: 36px; }
    .standard-text--ko .standard-num .unit { margin-top: 48px; }

    .standard-h3 {
        margin-top: 0;
        width: 311px;
        max-width: 100%;
        font-size: 26px;
        white-space: normal;
    }
    .standard-p {
        margin-top: 8px;
        width: 311px;
        max-width: 100%;
        white-space: normal;
    }

    /* ---------- 4. Well-Aging ---------- */
    .wellaging { height: 520px; padding-top: 30px; }

    /* ---------- 5. 윤결세트 ---------- */
    .set { height: 843px; padding: 462px 20px 0; }
    /* 사진 파일이 876 인데 섹션이 843 이라 cover 가 위아래를 8씩 깎는다.
       시안은 위를 맞추고 아래를 자른다 — 가운데로 두면 제품이 16 내려온다. */
    .set .section-bg img { object-position: center top; }
    .set-title   { margin-top: 13px; font-size: 32px; line-height: 1.5; }
    .set-desc    { margin-top: 18px; width: 293px; max-width: 100%; }
    .set-spec    { margin-top: 17px; }
    .set-spec dt { width: 36px; }                      /* 값 시작 x=56 = 20+36 */
    .set-spec dd { margin-left: 36px; }
    .set-btn     { margin-top: 30px; }

    /* ---------- 6. 루틴 — 가로로 넘기는 카드 ---------- */
    /* 아래 44 는 진행바 자리다 — 바가 absolute(top 757) 라 높이를 안 만든다. 시안 761. */
    .routine { margin-top: 0; padding: 70px 0 45px; }   /* 모바일 시안은 앞 섹션과 붙어 있다 */

    .routine-track { margin-top: 43px; }
    .routine-track .inner { width: 100%; max-width: none; padding: 0; }

    .steps-line { display: none; }

    .routine-list {
        display: flex;
        gap: 20px;
        padding: 0 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .routine-list::-webkit-scrollbar { display: none; }

    /* 카드 폭이 350 고정이라 사진 칸 높이도 고정이다 — 여기서는 안 줄어든다.
       위 44 는 시안의 사진 밴드 시작, 아래 0 은 설명 끝(517.6)이 곧 카드 끝이라서다. */
    .routine-item {
        flex: 0 0 350px;
        padding: 44px 0 0;
        scroll-snap-align: start;
    }
    .routine-photo { aspect-ratio: 350 / 366; }   /* 시안 밴드 44~410 */

    /* 번호 + 라벨이 한 줄로 */
    .routine-meta {
        display: flex;
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    .routine-no,
    .routine-step {
        position: static;
        width: auto;
        font-size: 18px;
    }

    .routine-dot { top: 0; background: var(--navy-step); }   /* 모바일은 막대가 없다 */

    /* 밴드 아래끝(시안 410) 기준 — 밴드 높이 366 대비 % */
    .routine-item--skin    img { bottom: 4.6448%; width: 33.77%; }  /* 17/366 · 아래끝 393 */
    .routine-item--ampoule img { bottom: 4.6448%; width: 35.77%; }  /* 17/366 · 아래끝 393 */
    .routine-item--cream   img { bottom: 1.3661%; width: 50.21%; }  /*  5/366 · 아래끝 405 */
    .routine-item--sun     img { bottom: 0;       width: 83.75%; }  /* 밴드 바닥 · 아래끝 410 */

    /* 밴드 끝 410 → 이름 409 · 설명 460 */
    .routine-name,
    .routine-item--sun .routine-name { margin-top: -1px; font-size: 22px; }
    .routine-desc { margin-top: 16px; }

    /* 진행바 */
    .routine-bar {
        display: block;
        position: absolute;
        top: 757px;
        left: 50%;
        transform: translateX(-50%);
        width: 350px;
        height: 4px;
        background: #ddd;
    }
    .routine-bar span {
        display: block;
        width: 25%;
        height: 100%;
        background: var(--navy-btn);
        transition: transform .15s ease-out;
    }

    /* ---------- 7. 지금, 단아로 ---------- */
    /* 루틴(70/109/199)과 달리 이 섹션만 시안이 10px 아래다 */
    /* 모바일은 카드가 281.4 고정 가로 스크롤이라 안 줄어든다. 시안 619. */
    .now { padding: 80px 0 73px; }
    .now-title   { margin-top: 16px; font-size: 32px; line-height: 1.5; }

    .now-cards { margin-top: 30px; }
    .now-cards .inner { width: 100%; max-width: none; padding: 0; }

    .now-list {
        display: flex;
        gap: 17px;
        padding: 0 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .now-list::-webkit-scrollbar { display: none; }

    .now-card {
        flex: 0 0 281.4px;
        aspect-ratio: 281.4 / 350;
        border-radius: 0;
        scroll-snap-align: start;
    }
    /* 딤은 모바일이 더 높다 — 시안 190 / 350 */
    .now-card::after { height: 54.29%; }

    .now-card-text  { left: 20px; bottom: 28px; width: 149.8px; }
    .now-card-title { margin-top: 5.6px; font-size: 22px; line-height: 1.5; }
    .now-card-note  { margin-top: 5.6px; line-height: 1.8; }

    /* ---------- 8. 상담 CTA ---------- */
    /* 시안은 1920 폭 그라데이션의 가운데를 보여준다 */
    .consult {
        background-size: 1920px 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
    .consult { padding-top: 111px; }
    .consult-title { font-size: 32px; line-height: 1.5; }
    .consult-desc {
        margin: 18px auto 0;
        width: 240px;
        max-width: 100%;
    }
    /* ⚠️ 본문이 시안에서는 4줄인데 실제로는 3줄로 흐른다(폭 240 기준).
       시안 좌표(키 292 · 버튼 352)에 세우려면 그 차이만큼 띄워야 한다. */
    .consult-keys { margin-top: 29px; }
    .consult-btn  { margin-top: 36px; }
}
