/* 에어로소프트 코리아 홈페이지 v3.3 — 콘크리트 화이트 + 석재 회색 + 아스팔트 + 검정, 포인트는 로고 빨강 하나
   글꼴(자체 호스팅, OFL): Pretendard Variable 200~600(한글·본문·제목) + Outfit 200~500(영어 제목·큰 숫자·영문 라벨). 만드는 법 홈페이지용/v33_글꼴만들기.py */
@font-face { font-family: "Pretendard"; src: url(../fonts/PretendardVariable-subset.woff2) format("woff2"); font-weight: 200 600; font-style: normal; font-display: swap; }
/* 보조 글꼴 시작 (v33_글꼴만들기.py 가 씀) */
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_00.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+AC00-AD5D}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_01.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+AD5E-AEBB}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_02.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+AEBC-B019}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_03.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B01A-B177}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_04.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B178-B2D5}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_05.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B2D6-B433}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_06.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B434-B591}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_07.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B592-B6EF}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_08.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B6F0-B84D}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_09.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B84E-B9AB}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_10.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+B9AC-BB09}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_11.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+BB0A-BC67}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_12.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+BC68-BDC5}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_13.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+BDC6-BF23}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_14.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+BF24-C081}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_15.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C082-C1DF}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_16.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C1E0-C33D}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_17.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C33E-C49B}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_18.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C49C-C5F9}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_19.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C5FA-C757}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_20.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C758-C8B5}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_21.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+C8B6-CA13}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_22.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+CA14-CB71}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_23.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+CB72-CCCF}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_24.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+CCD0-CE2D}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_25.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+CE2E-CF8B}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_26.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+CF8C-D0E9}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_27.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+D0EA-D247}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_28.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+D248-D3A5}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_29.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+D3A6-D503}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_30.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+D504-D661}
@font-face{font-family:"Pretendard 보조";src:url(../fonts/hb/hb_31.woff2) format("woff2");font-weight:200 600;font-display:swap;unicode-range:U+D662-D7A3}
/* 보조 글꼴 끝 */
:root {
  --bg: #F3F3F1;        /* 콘크리트 화이트 */
  --stone: #D9D9D6;     /* 석재 그레이 */
  --graphite: #6A6A67;  /* 보조 글 (원안 #8A8A87 은 대비 4.5:1 미달이라 어둡게) */
  --asphalt: #2B2C2E;   /* 어두운 구역 */
  --black: #000;
  --red: #C0162F;       /* 브랜드 레드 */
  --pad: 80px; --gap: 24px; --sec: 176px; --inner: 40px;
  --f-ko: "Pretendard", "Pretendard 보조", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-en: "Outfit", var(--f-ko);
  --f-head: var(--f-ko);   /* 영어 화면에서는 아래에서 Outfit 으로 */
  --f-body: var(--f-ko);
  --f-num: "Outfit", var(--f-ko);
  /* 타입 스케일: 선언문 200 · 구역 제목 300 · 소제목 300 · 본문 400/1.75 · 캡션 400 14 · 영문 라벨 500 12 +10% */
  --t-decl: clamp(36px, 5vw, 72px); --t-sec: clamp(30px, 3.4vw, 48px);
}
html[lang="en"] { --f-head: var(--f-en); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--black); font: 400 17px/1.75 var(--f-body); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; font-synthesis: none; }
html[lang="en"] body { letter-spacing: 0; }
img, video, svg { display: block; max-width: 100%; }
img, video { width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.dark :focus-visible, .foot :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--black); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(1280px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }

/* 글꼴 역할 */
.h-decl { font: 200 var(--t-decl)/1.16 var(--f-head); letter-spacing: -0.02em; }
.h-sec { font: 300 var(--t-sec)/1.28 var(--f-head); letter-spacing: -0.02em; }
html[lang="en"] .h-decl { line-height: 1.1; letter-spacing: -0.03em; }
html[lang="en"] .h-sec { letter-spacing: -0.025em; }
.cap { font-size: 14px; line-height: 1.6; color: var(--graphite); }
.lead { max-width: 36em; }
html[lang="en"] .lead { max-width: 34em; }
/* 줄바꿈: 제목은 균형, 본문·캡션은 마지막 줄 외톨이 방지. '|' 로 나눈 핵심 제목은 의미 단위(.u)끼리만 줄을 바꾼다. 영어 하이픈 낱말(.nb)은 한 덩어리 */
h1, h2, h3, .h-decl, .h-sec, .h-sub, .num-p, .th-cap, .fill p, .foot-slogan, .ins-bridge { text-wrap: balance; }
p, li, figcaption, .cap, .lead { text-wrap: pretty; }
.u { display: inline-block; max-width: 100%; }
.nb { white-space: nowrap; }
b, strong { font-weight: 600; }
/* 구역 번호 + 영문 작은 라벨 (꾸밈 1): 번호는 순서, 라벨은 구역 이름 */
.lbl { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 500 12px/1 var(--f-en); letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); }
.lbl span { font-weight: 300; font-size: 14px; letter-spacing: 0.06em; color: var(--black); font-variant-numeric: tabular-nums; }
.lbl i { display: block; width: 28px; height: 1px; background: var(--graphite); }
.dark .lbl { justify-content: center; color: #BDBDBA; }
.dark .lbl span { color: #fff; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; font: 500 15px/1 var(--f-body); border: 1px solid var(--black); transition: background .2s, color .2s; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--asphalt); }
.btn-line:hover { background: var(--black); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--stone); }
.top-in { height: 72px; display: flex; align-items: center; gap: 40px; }
.logo { display: block; width: 92px; flex: none; }
.logo img { width: 100%; height: auto; }
.menu { display: flex; gap: 32px; margin-right: auto; }
.menu a { font: 500 15px/1 var(--f-body); padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.menu a:hover { border-color: var(--black); }
.tel { font: 500 15px/1 var(--f-body); letter-spacing: .01em; }
.lang { display: flex; gap: 4px; font: 500 14px/1 var(--f-body); }
.lang button { padding: 8px 6px; color: var(--graphite); border-bottom: 2px solid transparent; }
.lang button[aria-pressed="true"] { color: var(--black); border-color: var(--black); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 0 20px; }
.mmenu[hidden] { display: none; }
.mmenu-top { height: 72px; display: flex; justify-content: flex-end; align-items: center; }
.mmenu nav a { display: block; font: 300 32px/1.3 var(--f-head); padding: 16px 0; border-bottom: 1px solid var(--stone); }
.mmenu nav a.tel { font: 500 17px/1 var(--f-body); border: 0; padding-top: 32px; }

/* 첫 화면 */
.hero-media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 2000 / 910; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-text { padding-top: 56px; padding-bottom: var(--sec); }
.hero-text .h-decl { max-width: 15em; }
.hero-sub { margin-top: 24px; color: var(--graphite); }
.hero-text .btns { margin-top: 40px; }
@keyframes zoomin { from { transform: scale(1.03); } to { transform: scale(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero-media img { animation: zoomin 1.2s ease-out both; }
.hero-text .h-decl { animation: fadein .6s ease-out .3s both; }

/* 구역 공통 */
.sec { padding-bottom: var(--sec); }
.sec > .wrap > h2, .sec-h { margin-bottom: var(--inner); }
.media { position: relative; overflow: hidden; background: var(--stone); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media video { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.media video.on { opacity: 1; }
.media-nat img { height: auto; }
a.media:hover img { filter: brightness(.96); }
img { transition: filter .2s; }

/* 축 1 */
.a1-row { align-items: end; row-gap: var(--gap); }
.a1-photo { grid-column: span 8; }
.a1-text { grid-column: span 4; padding-bottom: 8px; }
.pair { display: grid; gap: var(--gap); margin-top: var(--gap); grid-template-columns: 1fr 1fr; }

/* 축 2: 어두운 구역 */
.dark { background: var(--asphalt); color: #fff; padding: var(--sec) 0; margin-bottom: var(--sec); }
.dark .num { font: 200 clamp(56px, 13vw, 176px)/1 var(--f-num); letter-spacing: -0.03em; text-align: center; font-variant-numeric: tabular-nums; }   /* 큰 숫자 (꾸밈 2) */
.dark .num-p { text-align: center; margin: 32px auto 0; font-size: 19px; color: #fff; max-width: 30em; }
.dark .pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 96px; }
.dark .media { background: var(--asphalt); }

/* 축 3 */
.a3-img { margin-bottom: 96px; }
.a3-head { margin-bottom: 56px; }
.a3-bottom { align-items: end; margin-top: 120px; }
.a3-bottom .m4 { grid-column: 1 / span 5; }
.a3-bottom .t4 { grid-column: 7 / span 5; padding-bottom: 8px; }
.t4 .btns { margin-top: 32px; }

/* 33개국 A: 큰 숫자 + 이름 */
.wa { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: start; }
.wa-n { font: 200 320px/0.85 var(--f-num); letter-spacing: -0.05em; margin-left: -12px; }
.wa-n small { display: block; font: 300 28px/1.3 var(--f-head); letter-spacing: 0; margin: 28px 0 0 8px; color: var(--graphite); }
.wa-list { columns: 3; column-gap: var(--gap); font: 300 20px/2 var(--f-head); color: var(--graphite); padding-top: 12px; }
.wa-list li { break-inside: avoid; }
.wa-list li.kr { color: var(--black); font-weight: 500; }
/* 33개국 B: 점 지도 */
.wb svg { width: 100%; height: auto; }
.wb .land { stroke: var(--graphite); stroke-opacity: .38; stroke-width: 3.2; stroke-linecap: round; fill: none; }
.wb .dot { fill: var(--red); stroke: var(--bg); stroke-width: 1.6; }
.wb { position: relative; }
.wb-cap { position: absolute; left: 0; bottom: 4%; display: flex; flex-direction: column; gap: 4px; }
.wb-cap b { font: 200 clamp(96px, 11.7vw, 168px)/0.9 var(--f-num); letter-spacing: -0.04em; margin-left: -6px; }   /* 큰 숫자 33 */
.wb-cap span { font: 300 28px/1.3 var(--f-head); color: var(--graphite); }

/* 도시의 하루 */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tile .media { aspect-ratio: 800 / 993; }
.tile .tt { display: flex; justify-content: space-between; padding-top: 14px; font: 500 15px/1.4 var(--f-body); border-top: 0; }
.tile .tt::after { content: "→"; color: var(--graphite); transition: transform .2s; }
.tile:hover .tt::after { transform: translateX(4px); }
.row2 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: var(--gap); }
.row2 > :nth-child(1) { grid-column: span 6; }
.row2 > :nth-child(2), .row2 > :nth-child(3) { grid-column: span 3; }
.row3 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }

/* 신발 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 48px; }
.tabs button { font: 500 16px/1 var(--f-body); padding: 12px 0; color: var(--graphite); border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.tabs button:hover { color: var(--black); }
.tabs button[aria-pressed="true"] { color: var(--black); border-color: var(--red); }
.gridwrap { container-type: inline-size; }
.grid { --g: 24px; --n: 4; --cw: calc((100cqw - (var(--n) - 1) * var(--g)) / var(--n)); display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 40px var(--g); }
.card .card-img { background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover img { filter: brightness(.96); }
.card-t { padding-top: 14px; }
.card-t h3 { font: 500 17px/1.4 var(--f-body); }
.card-t .meta { font-size: 14px; color: var(--graphite); margin-top: 2px; }
.fill { background: var(--stone); display: flex; align-items: flex-end; padding: 32px; height: calc(var(--cw) * 1.25); }
.fill p { font: 300 28px/1.4 var(--f-head); letter-spacing: -0.01em; max-width: 12em; }

/* 한국 본사 */
.hq-media { aspect-ratio: 1600 / 900; margin-bottom: 56px; }
.hq-text { grid-column: 1 / span 6; }
.hq-text h2 { margin-bottom: 32px; }

/* 매장 */
.st-left { grid-column: 1 / span 5; }
.st-right { grid-column: 7 / span 6; }
.st-left .lead { margin-top: 24px; }
.st-tel { margin-top: 40px; font: 500 17px/1.6 var(--f-body); }
.st-tel a { color: var(--red); }
.st-left .btns { margin-top: 24px; }
.st-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--stone); font: 300 32px/1.3 var(--f-head); letter-spacing: -0.01em; }
.st-list li:last-child { border-bottom: 1px solid var(--stone); }
.st-list li span { font: 400 15px/1 var(--f-body); color: var(--graphite); letter-spacing: 0; white-space: nowrap; flex: none; margin-left: 16px; }

/* 푸터 */
.foot { background: var(--asphalt); color: #fff; padding: 96px 0 56px; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .logo { width: 132px; }
.foot .logo img { filter: brightness(0) invert(1); }
.foot-info { font-size: 15px; line-height: 1.9; }
.foot-info a { text-decoration: underline; text-underline-offset: 3px; }
.foot-proof { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--graphite); font-size: 13px; color: var(--stone); }
.foot .lang button { color: var(--stone); } .foot .lang button[aria-pressed="true"] { color: #fff; border-color: #fff; }

/* 휴대폰 하단 줄 */
.bar { display: none; }

/* 휴대폰 */
@media (max-width: 760px) {
  :root { --pad: 20px; --gap: 12px; --sec: 104px; --inner: 24px; }
  body { font-size: 16px; }
  .top-in { height: 60px; gap: 8px; }
  html { scroll-padding-top: 60px; }
  .logo { width: 76px; margin-right: auto; }
  .menu, .top .tel { display: none; }
  .burger { display: flex; margin-right: -10px; }
  .mmenu-top { height: 60px; }
  .hero-media { aspect-ratio: 4 / 5; }
  .hero-media img, .hero-media video { object-position: 50% 50%; }
  .hero-text { padding-top: 32px; }
  .hero-text .btns { margin-top: 28px; }
  .a1-photo, .a1-text, .a3-bottom .m4, .a3-bottom .t4, .hq-text, .st-left, .st-right { grid-column: 1 / -1; }
  .a1-text { margin-top: 12px; }
  .dark .num-p { font-size: 16px; margin-top: 20px; }
  .dark .pair2 { grid-template-columns: 1fr; margin-top: 56px; }
  .dark .pair2 .media { aspect-ratio: auto; }
  .a3-img { margin-bottom: 56px; }
  .a3-head { margin-bottom: 32px; }
  .a3-bottom { margin-top: 64px; row-gap: 24px; }
  .wa { grid-template-columns: 1fr; }
  .wa-n { font-size: 168px; }
  .wa-n small { font-size: 20px; margin-top: 16px; }
  .wa-list { columns: 2; font-size: 16px; line-height: 1.9; }
  .wb-cap b { font-size: 72px; } .wb-cap span { font-size: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 20px var(--gap); }
  .row2 > :nth-child(1) { grid-column: 1 / -1; }
  .row2 > :nth-child(2), .row2 > :nth-child(3) { grid-column: span 6; }
  .row3 { grid-template-columns: 1fr; }
  .grid { --n: 2; --g: 12px; gap: 28px 12px; }
  .tabs { gap: 4px 20px; margin-bottom: 28px; }
  .card-t h3 { font-size: 15px; }
  .fill { padding: 16px; }
  .fill p { font-size: 18px; }
  .hq-media { margin-bottom: 32px; }
  .st-right { margin-top: 40px; }
  .st-list li { font-size: 24px; padding: 18px 0; }
  .foot { padding: 72px 0 96px; }
  .foot-proof { margin-top: 48px; }
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--black); }
  .bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; color: #fff; font: 500 15px/1 var(--f-body); }
  .bar a + a { border-left: 1px solid #444; }
}

@media (max-width: 1100px) and (min-width: 761px) {
  :root { --pad: 40px; }
  .wa-n { font-size: 220px; }
  .wa-list { columns: 2; }
  .menu { gap: 20px; } .top-in { gap: 24px; }
  .st-list li { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 같은 줄 사진은 높이를 맞춘다 (비율이 달라도 1~2px 차이 없이) */
.row2 .media, .row3 .media, .pair .media, .dark .pair2 .media { aspect-ratio: auto !important; }
.row2 .media img, .row3 .media img, .pair .media img, .dark .pair2 .media img { height: 100%; }
@media (max-width: 760px) {
  .wb-cap { position: static; flex-direction: row; align-items: baseline; gap: 10px; margin-top: 8px; }
  .wb .land { stroke-width: 5.2; stroke-opacity: .55; }
  .wb .dot { r: 11px; stroke-width: 3; }
}

@media (min-width: 761px) { .row2 > :first-child { aspect-ratio: 1.63 !important; } .row2 > :first-child img { height: 100%; object-fit: cover; } }

/* ===== v3.1 ===== */
/* 첫 화면: 선언문 왼쪽 8열 + 영문 선언 오른쪽 4열 */
.hero-media img, .hero-media video { object-position: 50% 50%; }
.hero-text { align-items: end; row-gap: 20px; }
.ht-main { grid-column: 1 / span 8; }
.hero-en { grid-column: 9 / span 4; align-self: end; padding-bottom: 6px; font: 400 17px/1.6 var(--f-body); color: var(--graphite); }
/* 아치 쿠션: 05 아래 13 한 장, 열 5~12 */
.a1-row2 { margin-top: var(--gap); }
.a1-photo2 { grid-column: 5 / span 8; }
/* 쇼윈도 줄: 글을 사진 위 기준선에 */
.a3-bottom { align-items: start; }
.t4 { padding-top: 0; }
.h-sub { font: 300 32px/1.35 var(--f-head); letter-spacing: -0.02em; margin-bottom: 24px; }
.t4 .btns { margin-top: 32px; }
/* 도시 타일 라벨, 직영점 라벨 */
.tile .tt { font: 500 17px/1.4 var(--f-body); }
.st-list li span { color: var(--black); font-weight: 500; }
/* 33개국 지도: 점은 전부 그래파이트, 한국 점 하나만 빨강 */
.wb .dot { fill: var(--graphite); stroke: var(--bg); stroke-width: 1.6; }
.wb .dot.kr { fill: var(--red); stroke: var(--bg); stroke-width: 2; }
.wb .kr-line { stroke: var(--graphite); stroke-width: 1.4; }
.wb .kr-lbl { font: 500 22px var(--f-body); fill: var(--black); }
/* 전폭 컷 하나 */
.row3 { grid-template-columns: 1fr; }
.more { margin: 32px auto 0; display: flex; }
@media (max-width: 760px) {
  .ht-main, .hero-en { grid-column: 1 / -1; }
  .hero-en { font-size: 15px; padding: 0; }
  .hero-text .btn-line { display: none; }                 /* 하단 고정 바에 '매장 찾기' 가 있다 */
  body { padding-bottom: 52px; }                          /* 고정 바 높이만큼 */
  .a1-photo2 { grid-column: 1 / -1; }
  .h-sub { font-size: 24px; margin-bottom: 16px; }
  .wb .kr-lbl { font-size: 46px; }
  .wb .kr-line { stroke-width: 3; }
  .wb .dot.kr { r: 14px; }
}
/* 첫 화면 정리: 선언문 한 줄 전폭, 아래 줄에 부제·버튼(왼쪽 8열)과 영문 선언(오른쪽 4열) */
.ht-main { display: contents; }
.hero-text .h-decl { grid-column: 1 / -1; grid-row: 1; max-width: none; }
.hero-text .hero-sub { grid-column: 1 / span 8; grid-row: 2; margin-top: 4px; max-width: 40em; }
.hero-text .btns { grid-column: 1 / span 8; grid-row: 3; margin-top: 16px; }
.hero-en { grid-column: 9 / span 4; grid-row: 3; text-align: right; }
@media (max-width: 760px) {
  .hero-text .h-decl, .hero-text .hero-sub, .hero-text .btns, .hero-en { grid-column: 1 / -1; grid-row: auto; text-align: left; }
  .hero-text .btns { margin-top: 20px; }
  .hero-en { margin-top: 8px; }
}

/* 100만 번 시험: 태국 본사 실제 시험 영상 한 칸(4:5), 가운데 6열 */
.thai { margin: 96px auto 0; width: calc((100% - 11 * var(--gap)) / 12 * 6 + 5 * var(--gap)); }
.th-media { aspect-ratio: 4 / 5; }
.th-media img { height: 100%; }
.th-cap { margin-top: 14px; text-align: center; font-size: 14px; color: var(--stone); }
@media (max-width: 760px) { .thai { width: 100%; margin-top: 56px; } }
@media (max-width: 760px) {
  .hero-media { aspect-ratio: 1 / 1; }                    /* 고정 바 위에 '신발 보기' 버튼이 첫 화면에 보이게 */
  .hero-media img, .hero-media video { object-position: 50% 72%; }
}

/* ===== v3.2: 인솔이 주인공 ===== */
.hero-text { padding-bottom: 96px; }                      /* 첫 화면 바로 아래에 인솔 구역이 이어지게(176 -> 128) */
.ins { padding-bottom: 96px; }                             /* [E] -> 1,000,000+ 간격 96 */
.ins-lead { margin-top: 24px; max-width: 38em; }                            /* [A] */
/* [B] 분해도: 지시선 1px · 끝 점 6px(그래파이트), 아치 서포트 끝 점 하나만 빨강 */
.ins-ex { margin: 40px 0 0; }
.ex-stage { position: relative; }
.pin { position: absolute; left: var(--x); top: var(--y); bottom: -36px; width: 1px; background: var(--graphite); transform-origin: 50% 0; pointer-events: none; }
.pin::before { content: ""; position: absolute; left: -4px; top: -4.5px; box-sizing: content-box; width: 6px; height: 6px; border: 1.5px solid #fff; border-radius: 50%; background: var(--graphite); }   /* 점 6px, 사진 위에서 보이게 흰 테두리 */
.pin-arch::before { background: var(--red); }
.ex-lbl { position: relative; height: 56px; margin: 36px 0 0; }
.ex-lbl li { position: absolute; left: var(--x); top: 0; height: 100%; max-width: calc(100% - var(--x)); padding-left: 12px; border-left: 1px solid var(--graphite); font: 500 16px/1.45 var(--f-body); color: var(--graphite); }
@keyframes pinDraw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pin { animation: pinDraw .4s ease-out .3s both; }         /* 움직임 줄이기 설정이면 위 공통 규칙이 끈다 */
/* [C] 세 가지 기술 */
.ins-cards { margin-top: 64px; row-gap: 32px; }
.ic { grid-column: span 4; border-top: 1px solid var(--stone); padding-top: 24px; }
.ic h3 { font: 500 20px/1.4 var(--f-body); margin-bottom: 12px; }
.ic p { max-width: 21em; }
/* [D] 실물 */
.ins-r1 { margin-top: 96px; row-gap: var(--gap); }
.ins-r2 { margin-top: var(--gap); row-gap: var(--gap); align-items: start; }
.ins-r1 { align-items: start; }
.ir-real, .ir-close { grid-column: span 6; }
.ir-shoe { grid-column: span 12; }
.ir { margin: 0; }
.ir figcaption { margin-top: 10px; }
/* [E] 시험으로 이어 주는 문장 (실물 사진 아래, 예전 카드 자리 간격 그대로) */
.ins-bridge { margin-top: 96px; max-width: 26em; font: 300 28px/1.55 var(--f-head); letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .hero-text { padding-bottom: 72px; }
  .ins { padding-bottom: 64px; }
  .ins-ex { margin-top: 28px; }
  .pin { display: none; }
  .ex-lbl { height: auto; margin: 16px 0 0; display: grid; gap: 0; }
  .ex-lbl li { position: static; height: auto; max-width: none; padding: 10px 0; border-left: 0; border-top: 1px solid var(--stone); }
  .ex-lbl li:last-child { border-bottom: 1px solid var(--stone); }
  .ins-cards { margin-top: 40px; row-gap: 28px; }
  .ic { grid-column: 1 / -1; }
  .ic p { max-width: none; }
  .ins-r1 { margin-top: 56px; }
  .ir-real, .ir-close, .ir-shoe { grid-column: 1 / -1; }
    .ins-bridge { margin-top: 56px; font-size: 22px; }
}
.shoes-sub { margin-bottom: 24px; font-size: 15px; line-height: 1.6; color: var(--graphite); }   /* 범위는 '대부분'만(호열 2026-10-21) */

/* v3.2 스토리 반영 (호열 2026-10-21) */
.a3-head { margin-bottom: 20px; }
.a3-lead { margin-bottom: 56px; color: var(--graphite); }
.hq-text .hq-story { margin-top: 24px; max-width: 36em; color: var(--graphite); font-size: 16px; line-height: 1.85; }
.foot-slogan { margin-top: 72px; font: 300 22px/1.5 var(--f-head); color: #fff; letter-spacing: -0.01em; }
.foot-slogan + .foot-proof { margin-top: 24px; }
@media (max-width: 760px) { .a3-head { margin-bottom: 16px; } .a3-lead { margin-bottom: 32px; } .foot-slogan { margin-top: 48px; font-size: 19px; } }

/* ===== v3.3 글자 다듬기 ===== */
.foot-info b { font-weight: 600; }
.st-list li { gap: 8px; }
.tabs button, .menu a, .tel, .lang button { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) { .ex-lbl li { font-size: 15px; } }
@media (max-width: 760px) { .lbl { margin-bottom: 14px; } .dark .num { font-size: clamp(48px, 14vw, 64px); } }

.btn { white-space: nowrap; }
.ex-lbl li { text-wrap: balance; }

/* 사진·영상 가장자리 2px 부드럽게(feather, 호열 2026-10-21): 상자(.media .card-img .hero-media)에 네 변 마스크. 사진 파일은 그대로.
   로고·아이콘·지도 SVG·제품 상세 12장(.p-detail img, 이음새가 보임)에는 적용하지 않는다. 지원 안 하는 브라우저는 그대로 보인다 */
@supports (mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000)) {
  .media, .card-img, .hero-media {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%);
    mask-composite: intersect;
  }
}

/* ===== v3.4 매장 목록: 이름·주소를 누르면 매장 소개 페이지 (호열 2026-10-21) ===== */
.st-list.lk li { display: block; padding: 0; }
.st-list.lk a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 24px 0; }
.st-list.lk a::after { content: ""; flex: none; align-self: center; width: 9px; height: 9px; margin-left: 12px; border-top: 1.5px solid var(--graphite); border-right: 1.5px solid var(--graphite); transform: rotate(45deg); transition: transform .2s, border-color .2s; }
.st-list.lk a:hover { color: var(--black); }
.st-list.lk a:hover::after { border-color: var(--black); transform: translateX(3px) rotate(45deg); }
.st-list.lk li span.nm { font: inherit; color: inherit; letter-spacing: inherit; white-space: normal; margin: 0; flex: 1 1 auto; }
.st-list.lk li a > span:not(.nm) { margin-left: auto; }
.st-hint { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--graphite); }
@media (max-width: 760px) { .st-list.lk a { padding: 18px 0; } }

/* ===== v3.5 첫 화면 무작위 신발 영상 + 신발 카드 떠오름·기울기·회전 영상 (호열 2026-10-21) ===== */
/* 첫 화면: 사진 위에 글자를 두지 않는다 — 신발 이름은 사진 아래 작은 링크 한 줄 */
.hero-media { aspect-ratio: 2000 / 910; }
.hero-media video { opacity: 0; transition: opacity .7s ease; }
.hero-media video.on { opacity: 1; }
.hero-media img { animation: none; }
.hero-now { margin: 14px 0 0; text-align: right; font-size: 14px; line-height: 1.5; color: var(--graphite); min-height: 1.5em; }
.hero-now a { color: var(--black); border-bottom: 1px solid var(--stone); padding-bottom: 1px; transition: border-color .2s; }
.hero-now a:hover { border-color: var(--black); }
.hero-now span::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--stone); vertical-align: middle; margin: 0 10px 0 12px; }
.hero-now .hero-wx { color: var(--graphite); font-size: inherit; }
.hero-now .hero-wx:not(:empty)::before { content: " · "; }
.hero-text { padding-top: 32px; }
@media (max-width: 760px) {
  .hero-media { aspect-ratio: 3 / 2; }          /* 휴대폰: 16:9 사진을 3:2 로 살짝만 자르고, 신발 위치(품번별)를 가운데로 */
  .hero-now { text-align: left; margin-top: 12px; }
  .hero-text { padding-top: 20px; }
}

/* 신발 카드: 올리면 떠오르고(.3s) 그림자, 마우스는 입체로 기울고 회전 영상이 겹쳐 재생 (cardfx.js) */
.card { position: relative; isolation: isolate; display: block; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.card::before { content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; top: 6%; aspect-ratio: 4 / 5; box-shadow: 0 22px 34px -12px rgba(0, 0, 0, .34); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; }   /* 떠오른 뒤에도 원래 자리까지 마우스 영역 유지(깜박임 방지) */
.card .card-img { position: relative; transition: transform .25s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 50%; }
.card .card-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.card .card-img video.on { opacity: 1; }
.card:focus-visible { transform: translateY(-8px); }
.card:focus-visible::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-10px); }
  .card:hover::before { opacity: 1; }
  .card[data-spin]:hover img { filter: none; }
  .card.fx .card-img { will-change: transform; transition: transform .18s ease-out; }
}
@media (hover: none), (pointer: coarse) {   /* 터치: 기울기·영상 없이, 탭할 때 살짝 */
  .card:active { transform: translateY(-5px); transition-duration: .12s; }
  .card:active::before { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {   /* 움직임 줄이기: 기울기·회전·떠오름 없이 그림자만 */
  .card:hover, .card:focus-visible, .card:active { transform: none !important; }
  .card .card-img { transform: none !important; }
  .card .card-img video { display: none; }
}

/* 히어로 재생 목록 전환(2026-10-21): 겹침 없이 어두워졌다 밝아지는 dip */
.hero-media video { transition: none; }
.hero-media video.on { transition: none; opacity: 1; }
.hero-dip { position: absolute; inset: 0; z-index: 3; background: #111; opacity: 0; transition: opacity .18s linear; pointer-events: none; }

/* ===== 2026-10-22: 인솔 분해 영상(insole_video.js). 사진 위에 영상을 얹고, 안내 점은 영상 처음 3초(원본 정지 구간)에만 보인다 ===== */
.ex-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.ex-vid.on { opacity: 1; }
.ex-moving .pin { opacity: 0; transition: opacity .25s; }
.ex-moving .pin::before { transition: opacity .25s; }

/* 2026-10-23 터치 영역: 모양은 그대로, 눈에 안 보이는 클릭 범위만 넓힘(상단 로고·전화 링크가 높이 20px 안팎이라) */
.top .logo, .top .tel { position: relative; }
.top .logo::after, .top .tel::after { content: ""; position: absolute; inset: -12px -6px; }
/* 2026-10-23 첫 화면 점검(10·12번) */
/* 날씨 한 줄: 중간에서 끊기지 않게 한 덩어리로. 휴대폰은 이름 아래 줄로 따로(가운뎃점 없이) */
.hero-now .hero-wx { display: inline-block; white-space: nowrap; }
@media (max-width: 760px) {
  .hero-now .hero-wx:not(:empty) { display: block; }
  .hero-now .hero-wx:not(:empty)::before { content: none; }
}
/* 터치 영역 44px: KO/EN·신발 분류 탭. 모양은 그대로, 눈에 안 보이는 클릭 범위만 넓힘(KO·EN 사이만 4px -> 12px) */
.lang { gap: 12px; }
.lang button, .tabs button { position: relative; }
.lang button::after { content: ""; position: absolute; inset: -6px -6px; }
.lang button:first-child::after { left: -13px; }
.lang button:last-child::after { right: -8px; }
.tabs button::after { content: ""; position: absolute; inset: -1px -10px; }

/* ===== 글꼴 B안: Pretendard 하나로 통일(자료실·포스터·상세와 같은 글꼴) + 다듬기 (호열 2026-10-23 21:33 '1', 2026-10-24 주말 판과 떼어 공개, 승인대기 #42) ===== */
:root {
  --f-ko: "Pretendard", "Pretendard 보조", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --t-decl: clamp(40px, 5vw, 72px);
}
.h-decl { font-weight: 300; letter-spacing: -0.025em; }            /* 휴대폰 36px·200 은 획이 너무 가늘어 300 */
@media (min-width: 761px) { .h-decl { font-weight: 250; letter-spacing: -0.03em; } }  /* PC 72px 은 250 으로 살짝만 */
.h-sec { letter-spacing: -0.025em; }
.hero-now { font-size: 15px; }
@media (max-width: 760px) {
  .hero-text .hero-sub .u { display: inline; }   /* 휴대폰은 첫 의미 단위가 한 줄에 안 들어가 '시험한 신발.' 외톨이 줄이 생김 → 단위 줄바꿈을 풀고 이어 흐르게 */
}

:root { --f-en: var(--f-ko); --f-num: var(--f-ko); }
html[lang="en"] { --f-head: var(--f-ko); }
.lbl { letter-spacing: 0.08em; }
.lbl span { letter-spacing: 0.02em; }
.dark .num, .wa-n, .wb-cap b { letter-spacing: -0.045em; }
/* 평일·주말 판 버튼(2026-11-03, 한/영 버튼과 같은 모양) */
.ed { display: flex; gap: 12px; font: 500 14px/1 var(--f-body); }
.ed button { position: relative; padding: 8px 6px; color: var(--graphite); border-bottom: 2px solid transparent; }
.ed button::after { content: ""; position: absolute; inset: -6px -6px; }
.ed button[aria-pressed="true"] { color: var(--black); border-color: var(--black); }
.ed button.auto[aria-pressed="true"] { border-bottom-style: dotted; }   /* 점선 = 요일 자동, 실선 = 이 기기에서 고른 판 */
.ed button { white-space: nowrap; }
@media (max-width: 760px) { .ed { gap: 4px; font-size: 12px; } .ed button { padding: 8px 3px; } }

/* 2026-11-04 승인대기 22 (가) 호열 261104-0746-15e9: 누름 영역만 투명 여백으로 24px 이상 — 글자·모양·자리 그대로 */
#heroNow, a[href^="tel:"]:not(.tel):not(.btn) { position: relative; }
#heroNow::after, a[href^="tel:"]:not(.tel):not(.btn):not(.st-list a)::after { content: ""; position: absolute; inset: -6px -4px; }
