/* ROMIO KOREA — vrk.co.kr
   본사 사이트(romioecig.com) 구조를 따름: 검은 경고 띠 · 검은 머리글 · 꽉 찬 영상 · 흰 바탕 소개 · 회색 제품 카드 · 영상 · 소식 · 검은 바닥글
   주황(#ff8d00)은 로고 색 — 도매몰 버튼과 미션 문장에만 */
:root {
  --black: #000000;
  --ink: #222222;
  --ink2: #666666;
  --card: #f2f2f2;
  --cream: #fbf7f1;
  --white: #ffffff;
  --orange: #ff8d00;
  --orange-h: #ffa733;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --gap-section: clamp(80px, 9vw, 140px);
  --title: clamp(34px, 4.6vw, 64px);
  --mid: clamp(20px, 1.6vw, 24px);
  --body: clamp(16px, 1.2vw, 18px);
  --small: 14px;
  --flavor: #f2c200;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #111; padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* 경고 띠 · 머리글 (검정) */
.warnbar { background: var(--black); color: #fff; font-size: var(--small); font-weight: 700; text-align: center; padding: 8px var(--gutter); line-height: 1.5; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--black); color: #fff; }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 26px; width: auto; }
.brand span { font-size: var(--small); font-weight: 700; color: #fff; }
.nav { display: flex; align-items: center; justify-content: center; gap: 40px; flex: 1 1 auto; font-size: var(--small); font-weight: 700; }
.nav a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.hdr-act { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: var(--body); font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-buy { background: var(--orange); color: #111; }
.btn-buy:hover { background: var(--orange-h); color: #111; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: #f2f2f2; color: #111; }
.hdr-act .btn { min-height: 40px; padding: 8px 20px; font-size: var(--small); }
.btn[aria-disabled="true"], .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]:active, .btn[disabled]:active { transform: none; }
.textlink { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.soon { font-size: var(--small); color: var(--ink2); }

/* 공통 구역 */
.section { padding-top: var(--gap-section); }
.sec-title { font-size: var(--title); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: #333; text-align: center; }

/* 꽉 찬 첫 영상 */
.kv { background: var(--black); }
.kv img { width: 100%; height: min(72vh, 50.3vw); min-height: 220px; object-fit: cover; object-position: 50% 35%; }

/* 홈 첫 화면 — ROMIO 브랜드 소개 (검정) */
.brand-hero { background: var(--black); color: #fff; text-align: center; }
.brand-hero-in { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.brand-hero-logo { width: clamp(150px, 16vw, 220px); height: auto; }
.brand-hero h2 { font-size: clamp(44px, 7vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; margin-top: 8px; }
.brand-hero-sub { max-width: 34em; color: #cfcfcf; font-size: var(--mid); line-height: 1.6; }
.brand-hero .mission { color: var(--orange); font-weight: 700; font-size: var(--mid); }
.brand-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 920px; margin-top: 20px; }
.brand-stats div { border-top: 1px solid #333; padding-top: 16px; display: flex; flex-direction: column-reverse; gap: 4px; }
.brand-stats dd { font-size: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.brand-stats dt { color: #aaa; font-size: var(--small); }
.brand-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 16px; }
.brand-hero-cta .textlink { color: #fff; }

/* 제품 배너 */
.banner { display: block; background: var(--black); }
.banner img { width: 100%; max-width: 1600px; margin: 0 auto; }

/* 브랜드 소개 (흰 바탕 · 가운데) */
.intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.intro-logo { width: clamp(180px, 22vw, 300px); height: auto; }
.intro p { max-width: 40em; color: #444; font-size: var(--mid); line-height: 1.7; }
.intro .mission { color: var(--orange); font-weight: 700; }

/* Hot Product — 회색 카드 */
.hot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.hot-card { display: flex; flex-direction: column; align-items: center; gap: 18px; text-decoration: none; color: var(--ink); }
.hot-img { width: 100%; aspect-ratio: 4 / 5; background: var(--card); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: transform .25s ease, background-color .2s ease; }
.hot-img img { height: 100%; width: auto; object-fit: contain; }
.hot-card:hover .hot-img { transform: translateY(-6px); background: #e9e9e9; }
.hot-card b { font-size: var(--mid); font-weight: 500; text-align: center; line-height: 1.25; }
.hot-card small { display: block; font-size: var(--small); color: var(--ink2); font-weight: 400; }

/* Stream — 맛별 영상 */
.stream-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.stream-row::-webkit-scrollbar { display: none; }
.stream-tile { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; border-radius: 12px; cursor: pointer; }
.stream-play { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; pointer-events: none; transition: opacity .2s ease; }
.stream-play::before { content: ''; border-left: 11px solid #111; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.stream-tile.is-playing .stream-play { opacity: 0; }
.stream-tile video { width: 100%; height: 100%; object-fit: cover; }
.stream-name { position: absolute; left: 14px; bottom: 14px; color: #fff; font-weight: 700; font-size: var(--body); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); pointer-events: none; }

/* News & Events */
.news-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 48px; background: #f4f6f8; border-radius: 16px; overflow: hidden; }
.news-img { display: block; overflow: hidden; background: #111; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.news-body h3 { font-size: var(--mid); font-weight: 700; line-height: 1.35; }
.news-body p { color: var(--ink2); font-size: var(--small); line-height: 1.8; }
.news-date { color: #999; font-size: var(--small); }
.notices { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.notices li { background: #f4f6f8; border-radius: 12px; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.notices .date { color: #999; font-size: var(--small); }

/* 도매몰 띠 */
.wsband { padding-top: var(--gap-section); }
.wsband-row { background: var(--ink); color: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.wsband-row h2 { font-size: var(--title); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.ws-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wsband .soon { color: #bbb; }

/* PILOT 첫 화면 — 검은 바탕 + 맛 고르기 */
.pilot-hero { background: var(--black); color: #fff; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-logo { height: clamp(30px, 3vw, 40px); width: auto; align-self: flex-start; }
.hero h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.0; }
.hero-sub { color: #cfcfcf; }
.picker { display: flex; flex-direction: column; gap: 14px; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.swatch {
  --c: #888; cursor: pointer; font-family: inherit; font-size: var(--body); font-weight: 700; color: #fff;
  background: #1a1a1a; border: 0; border-radius: 999px; min-height: 48px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; transition: background-color .15s ease, transform .12s ease;
}
.swatch::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }
.swatch:hover { background: #2a2a2a; }
.swatch:active { transform: scale(.97); }
.swatch[aria-pressed="true"] { background: #fff; color: #111; }
.picked { min-height: 3.2em; color: #eee; }
.picked b { font-weight: 700; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-actions .textlink { color: #fff; }
.pilot-hero .soon { color: #aaa; }
.hero-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; border-radius: 16px; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: opacity .28s ease; }
.hero-media video.is-out { opacity: 0; }
.hero-media .tint { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--flavor); transition: background-color .3s ease; }

/* PILOT 소개 · 배너 · 라인업 · 규격 */
.pilot-intro p { max-width: 40em; margin: 16px auto 0; text-align: center; color: #444; font-size: var(--mid); line-height: 1.7; }
.feature-img { margin-top: 48px; }
.feature-img img { width: 100%; border-radius: 16px; }
.lineup video { width: 100%; height: auto; aspect-ratio: 1428 / 644; object-fit: cover; background: #000; border-radius: 16px; margin-top: 48px; }
.lineup-names { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 16px; gap: 8px; }
.lineup-names a { text-decoration: none; color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.lineup-names a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.spec-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 48px; }
.spec-photo { background: var(--card); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 64px) 24px; }
.spec-photo img { height: clamp(300px, 34vw, 480px); width: auto; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; vertical-align: top; }
.spec-table th { width: 34%; color: var(--ink2); font-weight: 400; }
.spec-table td { font-weight: 700; }
.spec-table tr:nth-child(odd) { background: #f6f6f6; }

/* ROMIO 소개 페이지 */
.about-hero { background: var(--black); color: #fff; padding: clamp(80px, 10vw, 160px) 0; text-align: center; }
.about-hero h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; }
.about-hero p { margin-top: 20px; color: #cfcfcf; }
.about-body { background: var(--cream); padding-bottom: var(--gap-section); }
main:has(.about-body) + .site-footer { margin-top: 0; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.mv div { background: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.mv dt { font-size: var(--small); font-weight: 700; color: var(--orange); }
.mv dd { font-size: var(--mid); font-weight: 700; line-height: 1.4; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.numbers div { background: #fff; border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.numbers dt { color: var(--ink2); font-size: var(--small); }
.numbers dd { font-size: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.kr-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 48px; }
.kr-box img { width: 100%; border-radius: 16px; }
.kr-text { display: flex; flex-direction: column; gap: 20px; }
.kr-text h3 { font-size: var(--mid); font-weight: 700; }
.kr-lead { font-size: var(--mid); font-weight: 700; line-height: 1.4; }
.kr-desc { color: var(--ink2); }
.src-note { font-size: var(--small); color: #999; margin-top: 16px; }

/* 고객지원 */
.page-head { padding-top: clamp(48px, 6vw, 96px); }
.page-head h1 { font-size: var(--title); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: #333; text-align: center; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.support-card { background: var(--card); border-radius: 16px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.support-card h2 { font-size: var(--mid); font-weight: 700; }
.support-card p { color: var(--ink2); }

/* 문의 폼 */
.rform { background: var(--card); border-radius: 16px; padding: clamp(24px, 3.5vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin: 48px auto 0; }
.rform h2 { grid-column: 1 / -1; font-size: var(--mid); font-weight: 700; }
.rform .phone { grid-column: 1 / -1; color: var(--ink2); font-size: var(--small); margin-top: -8px; }
.rform label.field { display: flex; flex-direction: column; gap: 8px; font-size: var(--small); font-weight: 700; color: #444; }
.rform .full { grid-column: 1 / -1; }
.rform input[type="text"], .rform input[type="tel"], .rform textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 13px 14px; border-radius: 10px; border: 0; background: #fff; color: var(--ink); width: 100%; }
.rform input::placeholder, .rform textarea::placeholder { color: #8a8a8a; }
.rform .agree { display: flex; gap: 10px; align-items: center; font-size: var(--small); color: #444; min-height: 44px; }
.rform .agree input { width: 20px; height: 20px; accent-color: var(--ink); }
.form-msg { font-size: var(--small); min-height: 1em; }

/* 바닥글 (검정) */
.site-footer { margin-top: var(--gap-section); background: var(--black); color: #bbb; }
.foot { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px; font-size: var(--small); }
.foot-logo { grid-column: 1 / -1; height: 28px; width: auto; }
.foot h2 { font-size: var(--small); font-weight: 700; color: #fff; margin-bottom: 14px; }
.foot ul { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: #bbb; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-contact p { margin-bottom: 8px; }
.foot-bottom { padding-top: 24px; padding-bottom: 32px; font-size: var(--small); color: #888; display: flex; flex-direction: column; gap: 6px; }
.foot-bottom .warn { color: #fff; font-weight: 700; }

/* 성인 확인 (본사 방식) */
.agegate { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .86); align-items: center; justify-content: center; padding: 16px; }
.gate .agegate { display: flex; }
.gate body { overflow: hidden; }
.gate-box { width: 460px; max-width: 100%; background: #000; color: #fff; border-radius: 16px; padding: 44px 36px 40px; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.gate-box img { height: 40px; width: auto; }
.gate-box h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.gate-btns { display: flex; gap: 12px; width: 100%; justify-content: center; }
.gate-btns .btn { flex: 0 1 160px; min-height: 48px; }

/* 등장 움직임 — 움직임 줄이기 설정이면 끔 */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media print { .js [data-reveal] { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media video, .hot-img { transition: none; }
}

/* 반응형 */
@media (max-width: 1000px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0; background: #111; padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .hdr-act { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .hot-grid, .stream-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .brand-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .hero, .spec-wrap, .news-card, .kr-box, .mv, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; aspect-ratio: 1 / 1; }
  .lineup-names { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rform { grid-template-columns: minmax(0, 1fr); }
  .ws-actions { align-items: flex-start; }
  .hero-actions .soon { flex-basis: 100%; margin-top: -8px; }
  /* Stream Now — 폰에선 옆으로 넘기기 */
  .stream-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .stream-tile { flex: 0 0 clamp(200px, 46vw, 300px); scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .warnbar { font-size: 12px; padding: 6px var(--gutter); }
  .warnbar span { display: block; }
  .warnbar .sep { display: none; }
  .foot-bottom .warn span { display: block; }
  .hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hot-card { gap: 12px; }
  .spec-photo img { height: 240px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .foot-contact { grid-column: 1 / -1; }
  .gate-box { padding: 36px 22px 30px; }
}
