/* (주)영재포리 홈페이지 */
:root {
  --bg: #f3f5f0;
  --paper: #ffffff;
  --tint: #eaefe6;
  --studio: #ecebe6;
  --ink: #18201b;
  --ink-soft: #4e5a52;
  --line: #dfe5da;
  --accent: #3f7a55;
  --dark: #141a16;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Noto Sans KR", sans-serif;
  --top-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* 상단 바 */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--top-h);
  display: flex; align-items: center; gap: 24px; padding: 0 max(20px, 4vw);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-name small { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-right: 2px; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav-call { display: none; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); padding: 8px 12px; border-radius: 999px; transition: color .3s var(--ease), background .3s var(--ease); }
.nav a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.menu { display: none; }

html.menu-open { overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform .4s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 22px -10px rgba(24,32,27,.55); }
.btn--ghost { background: rgba(255,255,255,.82); border: 1px solid var(--line); color: var(--ink); }
.top-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ───────── 스크롤 월드(실사 장면) ───────── */
.world { position: relative; height: calc(var(--scenes, 6) * 95vh + 30vh); background: #e9e6df; }
.world-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; }
.world-sky { display: none; }
.world-scenes { position: absolute; inset: 0; z-index: 0; }
.ws { position: absolute; inset: 0; margin: 0; opacity: 0; will-change: transform, opacity; transform-origin: 68% 58%; }
.ws img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.world-scrim {
  position: absolute; inset: 0; z-index: 150; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246,245,240,.94) 0%, rgba(246,245,240,.82) 26%, rgba(246,245,240,.35) 46%, rgba(246,245,240,0) 60%),
    linear-gradient(180deg, rgba(246,245,240,.55) 0%, rgba(246,245,240,0) 18%);
}

.world-copy { position: absolute; inset: var(--top-h) 0 0 0; pointer-events: none; z-index: 160; }
.wc {
  position: absolute; left: max(24px, 5.5vw); top: 50%; width: min(460px, 38vw);
  transform: translate3d(0, -50%, 0); opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.wc.is-on { pointer-events: auto; visibility: visible; }
.wc-count { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.wc-count span { opacity: .5; margin: 0 6px; }
.wc-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--accent); transition: color .6s var(--ease); }
.wc-title { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; }
.wc-body { margin: 0 0 20px; font-size: clamp(15.5px, 1.2vw, 18px); color: #3c463f; max-width: 30em; }
.wc-tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.wc-tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.88); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.wc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.world-rail { position: absolute; right: max(16px, 2.2vw); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 200; }
.world-rail button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer; position: relative;
  border: 2px solid #fff; background: rgba(255,255,255,.25); box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.18);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.world-rail button::after { content: ""; position: absolute; inset: -16px; }
.world-rail button.is-on { background: #fff; transform: scale(1.4); }
.world-rail button.is-past { background: rgba(255,255,255,.7); }

.world-hint {
  position: absolute; left: max(24px, 5.5vw); bottom: 26px; z-index: 160;
  display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; color: var(--ink-soft);
  transition: opacity .5s var(--ease);
}
.world-hint i { width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.world-hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
.world.is-scrolled .world-hint { opacity: 0; }

/* 움직임 줄이기: 장면을 차례로 쌓아 보여 준다 */
.world--static { height: auto; background: var(--bg); }
.world--static .world-stage { position: relative; height: auto; overflow: visible; padding-top: var(--top-h); }
.world--static .world-scenes { display: none; }
.world--static .world-copy { position: static; }
.world--static .wc { position: relative; left: auto; top: auto; transform: none; opacity: 1; visibility: visible; width: auto; padding: 40px max(24px, 5vw); }
.world--static .wc::after { content: ""; display: block; aspect-ratio: 16 / 9; max-height: 560px; border-radius: var(--radius); background: var(--still) center / cover no-repeat; margin-top: 16px; }
.world--static .world-rail, .world--static .world-hint { display: none; }

/* ───────── 일반 섹션 ───────── */
.wrap { width: min(1200px, 100% - 2 * max(20px, 4vw)); margin: 0 auto; }
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #eef2ec; }
.sec--dark .lead, .sec--dark figcaption { color: #b9c4bb; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--accent); }
.sec--dark .eyebrow { color: #8fbf7a; }
.sec h2 { margin: 0 0 14px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 800; }
.lead { margin: 0; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-soft); }
.note { margin: 20px 0 0; font-size: 13px; color: var(--ink-soft); }

/* 컬러 화분 비교 */
.picker {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 2.4vw, 28px);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.picker-stage { margin: 0; border-radius: 20px; overflow: hidden; background: var(--studio); aspect-ratio: 1; }
.picker-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s var(--ease), transform .8s var(--ease); }
.picker-stage img.is-swapping { opacity: 0; transform: scale(.985); }
.picker-info { padding: 8px 8px 8px 0; }
.picker-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
.picker-name { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.picker-desc { margin: 0 0 22px; color: var(--ink-soft); font-size: 16.5px; min-height: 3.2em; }
.picker-specs { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.picker-specs li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.picker-specs span { color: var(--ink-soft); font-weight: 500; }
.swatches { display: flex; gap: 12px; margin: 0 0 26px; flex-wrap: wrap; }
.swatches button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: var(--c);
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.14);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.08); }

/* 카탈로그 */
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-head h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14.5px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card[hidden] { display: none; }
.card-btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; cursor: zoom-in;
  background: transparent; border: 0;
}
.card-img {
  display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--studio);
  border: 1px solid var(--line); transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-btn:hover .card-img { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(24,32,27,.45); }
.card-btn:hover .card-img img { transform: scale(1.04); }
.card-txt { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 4px; }
.card-txt b { font-size: 16px; letter-spacing: -0.01em; }
.card-txt span { font-size: 13.5px; color: var(--ink-soft); }

/* 크게 보기 */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(14, 18, 15, .86); backdrop-filter: blur(6px); }
.lb-fig { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 72px 24px; }
.lb-fig img { max-width: min(1100px, 100%); max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 14px; background: var(--studio); }
.lb-fig figcaption { color: #fff; text-align: center; padding-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.lb-fig figcaption b { font-size: 19px; }
.lb-fig figcaption span { color: #c9d3cb; font-size: 14.5px; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* 크기 */
.size-hero { margin: 0 0 clamp(48px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.size-hero img { width: 100%; height: clamp(240px, 38vw, 480px); object-fit: cover; }
.size-hero figcaption { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.size-hero figcaption span { padding: 16px 20px; font-size: 14.5px; color: var(--ink-soft); }
.size-hero figcaption span + span { border-left: 1px solid var(--line); }
.size-hero figcaption b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 13px; }

/* 포트폴리오: 모든 칸을 같은 너비·높이(4:5)로 맞춘 3단 격자 */
.pf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.pf-item { margin: 0; }
.pf-item[hidden] { display: none; }
.pf-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #e2e6de; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.1s var(--ease); }
.card-btn:hover .pf-img { transform: translateY(-4px); box-shadow: 0 26px 44px -28px rgba(24,32,27,.5); }
.card-btn:hover .pf-img img { transform: scale(1.035); }
.pf-badge { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 14px; font-weight: 800; color: #fff; background: rgba(24,32,27,.78); backdrop-filter: blur(6px); }
.pf-badge--s { background: rgba(63,122,85,.92); }
.pf-badge--m { background: rgba(176,103,76,.92); }
.pf-badge--l { background: rgba(58,66,61,.92); }

/* 공장: 영상 3단 카드 */
.vgrid { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard-btn { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.vcard-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #000; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s var(--ease); opacity: .92; }
.vcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.vcard-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 16px 34px -12px rgba(0,0,0,.6);
  transition: transform .5s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.vcard-play svg { width: 28px; height: 28px; margin-left: 3px; }
.vcard-dur { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vcard-btn:hover .vcard-img img { transform: scale(1.04); opacity: 1; }
.vcard-btn:hover .vcard-play { transform: translate(-50%, -50%) scale(1.08); background: #e62117; color: #fff; }
.vcard-txt { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.vcard-txt b { font-size: 17px; }
.vcard-txt span { font-size: 14px; color: #b9c4bb; }

.real { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.real img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* 영상 창 */
.vbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.vbox::backdrop { background: rgba(10, 13, 11, .9); backdrop-filter: blur(6px); }
.vbox[open] { display: grid; place-items: center; align-content: center; gap: 14px; }
.vbox-frame { width: min(1100px, 92vw, calc((100dvh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vbox-frame.is-tall { width: min(92vw, calc((100dvh - 140px) * 9 / 16)); aspect-ratio: 9 / 16; }
.vbox-frame iframe, .vbox-frame video { display: block; width: 100%; height: 100%; border: 0; }
.vbox-title { margin: 0; color: #fff; font-weight: 700; text-align: center; padding: 0 16px; }

/* 회사 */
.company { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--ink-soft); font-size: 14.5px; }
.info dd { margin: 0; font-weight: 600; }
.info a { white-space: nowrap; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }

/* 문의 */
.contact { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.c-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.c-card:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -24px rgba(24,32,27,.4); }
.c-card strong { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.c-card--main { background: var(--accent); color: #fff; border-color: var(--accent); }
.c-card--main .c-label, .c-card--main .c-sub { color: #dceed4; }
.c-label { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.c-sub { font-size: 13.5px; color: var(--ink-soft); }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.place { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.place h3 { margin: 6px 0 16px; font-size: 18px; }
.place-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* 공유 */
.share { background: var(--tint); border-top: 1px solid var(--line); padding: 28px 0; }
.share-in { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.share-title { margin: 0; font-weight: 700; font-size: 15px; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .3s var(--ease), transform .4s var(--ease);
}
.share-btn[hidden] { display: none; }
.share-btn:hover { transform: translateY(-2px); }
.share-btn svg { width: 18px; height: 18px; }
.share-btn--main { background: var(--ink); color: #fff; border-color: var(--ink); }
.share-toast { margin: 0; font-size: 14px; color: var(--accent); min-height: 1.4em; }

/* 바닥글 */
.foot { background: var(--dark); color: #aab5ad; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0 0 4px; }
.foot-brand { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 8px !important; }
.foot-copy { align-self: end; }
.call-fab { display: none; }

/* 나타나기 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────── 태블릿 ───────── */
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .nav { display: none; position: fixed; inset: var(--top-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 14px 8px; border-radius: 10px; }
  .menu { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: 4px; border: 0; background: transparent; cursor: pointer; }
  .menu span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .top { gap: 12px; }
  .top-cta { margin-left: auto; }
  .picker { grid-template-columns: 1fr; }
  .picker-info { padding: 4px 6px 8px; }
  .company { grid-template-columns: 1fr; gap: 8px; }
  .contact { grid-template-columns: 1fr; }
  .pf { grid-template-columns: repeat(2, 1fr); }
  .vgrid { gap: 14px; }
  .real { grid-template-columns: repeat(3, 1fr); }
}

/* ───────── 휴대폰 ───────── */
@media (max-width: 760px) {
  :root { --top-h: 60px; }
  .brand-name { font-size: 17px; }
  .top-cta { display: none; }
  .menu { margin-left: auto; }
  .world { height: calc(var(--scenes, 6) * 88vh + 30vh); }
  .world-scenes { inset: var(--top-h) 0 0 0; }
  .ws { transform-origin: 70% 40%; }
  .ws img { height: 58%; object-position: 72% 50%; }
  .world-scrim { background: linear-gradient(180deg, rgba(246,245,240,0) 0%, rgba(246,245,240,0) 40%, rgba(246,245,240,.92) 56%, rgba(246,245,240,1) 64%); }
  .world-copy { inset: auto 0 0 0; height: 44%; }
  .wc { left: 20px; right: 20px; top: 0; width: auto; transform: none; }
  .wc-count { margin-bottom: 6px; }
  .wc-title { font-size: clamp(27px, 8vw, 36px); margin-bottom: 10px; }
  .wc-body { font-size: 15px; margin-bottom: 12px; }
  .wc-tags { margin-bottom: 12px; }
  .world-rail { top: calc(var(--top-h) + 44vh); right: 50%; transform: translate(50%, -100%); flex-direction: row; gap: 22px; }
  .world-hint { display: none; }
  .sec-head--split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .card-txt b { font-size: 15px; }
  .card-txt span { font-size: 12.5px; }
  .cat-head { flex-direction: column; align-items: flex-start; }
  .lb-fig { padding: 64px 12px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .places { grid-template-columns: 1fr; }
  .pf { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .pf-badge { width: 28px; height: 28px; font-size: 12px; left: 8px; top: 8px; }
  .size-hero figcaption { grid-template-columns: 1fr; }
  .size-hero figcaption span + span { border-left: 0; border-top: 1px solid var(--line); }
  .vgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, 4vw); margin: 0 calc(-1 * max(20px, 4vw)) 16px; padding: 0 max(20px, 4vw) 6px; scrollbar-width: none; }
  .vgrid::-webkit-scrollbar { display: none; }
  .vcard { flex: 0 0 74%; scroll-snap-align: start; }
  .vcard-play { width: 56px; height: 56px; }
  .info { padding: 4px 18px; }
  .info div { grid-template-columns: 76px 1fr; gap: 10px; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 12px 26px -10px rgba(30, 70, 45, .6);
  }
  .call-fab svg { width: 24px; height: 24px; }
}

/* ───────── 휴대폰 마무리 ───────── */
@media (max-width: 960px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; height: calc(100dvh - var(--top-h)); padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .nav a { font-size: 19px; font-weight: 600; padding: 16px 8px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .nav a.nav-call { display: flex; justify-content: center; margin-top: 20px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-size: 17px; }
}
@media (max-width: 760px) {
  .info a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .share { padding: 22px 0; }
  .share-btns { gap: 6px; }
  .share-btn { padding: 0 14px; }
  .pf-item.is-odd-last { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
  .call-fab { transition: transform .4s var(--ease), opacity .4s var(--ease); }
  .call-fab.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
}

/* ───────── 휴대폰 2차: 장면 세로 배치·색상 비교·카드 비율 ───────── */
.pf-img { aspect-ratio: 10 / 11; }
.world--static .wc { display: flex; flex-direction: column; }
.world--static .wc::after { content: none; }
.world--static .wc::before {
  content: ""; order: -1; display: block; width: 100%; aspect-ratio: 1672 / 941; max-height: 560px;
  border-radius: var(--radius); background: #e9e6df var(--still) center / cover no-repeat; margin: 0 0 20px;
}
@media (max-width: 760px) {
  .world--static { background: var(--bg); }
  .world--static .world-stage { padding-top: var(--top-h); }
  .world--static .wc { padding: 20px 20px 28px; border-bottom: 1px solid var(--line); }
  .world--static .wc:last-child { border-bottom: 0; padding-bottom: 8px; }
  .world--static .wc::before { margin: 0 0 16px; border-radius: 14px; }
  .world--static .wc-title { font-size: clamp(26px, 7.6vw, 34px); }
  .world--static + .sec, .world--static ~ #products { padding-top: 48px; }

  /* 색상 비교: 사진 바로 아래에 색 이름과 색 버튼을 두어 한 화면에서 바뀌는 모습을 본다 */
  .picker { display: flex; flex-direction: column; gap: 0; padding: 12px; }
  .picker-info { display: contents; }
  .picker-stage { order: 1; width: min(100%, 46vh); align-self: center; border-radius: 16px; }
  .picker-kicker { order: 2; margin: 14px 4px 2px; font-size: 13px; }
  .picker-name { order: 3; margin: 0 4px 10px; font-size: 26px; }
  .swatches { order: 4; margin: 0 4px 14px; gap: 10px; justify-content: space-between; }
  .swatches button { width: 48px; height: 48px; }
  .picker-desc { order: 5; margin: 0 4px 16px; min-height: 0; font-size: 15.5px; }
  .picker-specs { order: 6; margin: 0 4px 18px; }
  .picker .btn { order: 7; margin: 0 4px 4px; }
}

@media (max-width: 760px) {
  .world.world--static { height: auto; }
  .world.world--static .wc { position: relative; left: auto; right: auto; top: auto; width: auto; transform: none; padding: 20px 20px 28px; }
  .world.world--static .wc:last-child { padding-bottom: 12px; }
}
