/* =========================================================
   HAMBY 디자인 설정 — 색상·크기는 여기 맨 위만 바꾸면 전체에 적용
   글씨체는 css/fonts.css
   ========================================================= */
:root {
  --font: 'HAMBY EN', 'HAMBY KO', 'Noto Sans KR', sans-serif;

  --bg: #F5F3EF;          /* 기본 배경 */
  --surface: #FFFFFF;     /* 흰 섹션 · 카드 */
  --surface-2: #ECE8E1;   /* 푸터 · 사진 배경 */
  --ink: #1E1D1B;         /* 기본 글자 · 검정 */
  --ink-2: #4A4742;       /* 본문 회색 */
  --ink-3: #5C574F;       /* 보조 회색 */
  --accent: #7A5C38;      /* 포인트 (브론즈) */
  --accent-soft: #B8A588;
  --accent-on-dark: #D9C4A3;
  --line: #DDD8CF;
  --dark: #1E1D1B;
  --on-dark: #F5F3EF;
  --on-dark-2: #D4CEC4;

  --max: 1360px;
  --pad: 40px;
  --section: 110px;
  --header: 84px;
  --h1: 64px;
  --h2: 40px;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 400; font-synthesis: none; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
picture { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; line-height: 1.3; }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--white { background: var(--surface); }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; color: var(--accent); }
.h2 { font-size: var(--h2); }
.h2--en { font-size: 28px; letter-spacing: 0.04em; }
.lead { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head__title { display: flex; flex-direction: column; gap: 12px; }
.more { font-size: 14px; border-bottom: 1px solid currentColor; padding: 10px 0; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; font-size: 15px; border: 1px solid var(--ink); cursor: pointer; background: none; }
.btn--solid { background: var(--ink); color: var(--on-dark); }
.btn--solid:hover { background: #3A3733; color: var(--on-dark); }
.btn--line:hover { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: #E8E2D8; color: var(--ink); }
.btn--line-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn--line-light:hover { background: var(--on-dark); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 헤더 ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 239, 0.97); border-bottom: 1px solid var(--line); }
.header__inner { max-width: 1600px; margin: 0 auto; padding: 0 var(--pad); height: var(--header); display: flex; align-items: center; gap: 40px; }
/* 로고: images/logo/hamby-logo.png 모양을 글자색(currentColor)으로 칠함 → 흰 배경·사진 위 모두 자동 */
.logo-mark { display: block; aspect-ratio: 1253 / 363; background-color: currentColor; -webkit-mask: url('../images/logo/hamby-logo.png') no-repeat center / contain; mask: url('../images/logo/hamby-logo.png') no-repeat center / contain; }
.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo__text { font-size: 26px; font-weight: 700; letter-spacing: 0.28em; margin-right: -0.28em; line-height: 1; }
.hero__title--logo { line-height: 0; margin: 8px 0 10px; }
.hero__logo { width: min(560px, 80vw); color: #FFFFFF; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)); }
.hero__eyebrow, .hero__title, .hero__text { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.footer__logo { width: 150px; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; flex: 0 0 auto; }
.gsearch { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(30, 29, 27, 0.08); }
.gsearch__inner { max-width: 880px; margin: 0 auto; padding: 24px var(--pad) 28px; }
.gsearch__box { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 6px 0; }
.gsearch__box input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font-family: inherit; font-size: 18px; color: var(--ink); padding: 8px 0; outline: none; }
.gsearch__list { list-style: none; margin: 12px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.gsearch__item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gsearch__item img { width: 48px; height: 60px; object-fit: contain; flex: 0 0 auto; background: var(--surface-2); padding: 3px; }
.gsearch__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gsearch__name { font-size: 15px; font-weight: 700; }
.gsearch__meta { font-size: 13px; color: var(--ink-3); }
.gsearch__links { display: flex; gap: 6px; flex: 0 0 auto; }
.gsearch__links a { font-size: 13px; padding: 8px 12px; border: 1px solid var(--ink); white-space: nowrap; }
.gsearch__links a:hover { background: var(--ink); color: var(--on-dark); }
.gsearch__empty { padding: 16px 0; font-size: 14px; color: var(--ink-3); }
.header--overlay.is-search { background: rgba(245, 243, 239, 0.97); color: var(--ink); }
.ref.is-hit .ref__img { outline: 3px solid var(--accent); outline-offset: 4px; }
.pre { white-space: pre-line; }
.nav { display: flex; gap: 36px; font-size: 14px; letter-spacing: 0.14em; flex: 1 1 auto; }
.nav a[aria-current="page"] { color: var(--accent); }
.header__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.action { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; white-space: nowrap; font-size: 13px; border: 1px solid currentColor; }
.action--catalog { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.action--catalog:hover { background: #3A3733; color: var(--on-dark); }
.action:not(.action--catalog):hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
.action-bar { display: none; }

/* 메인: 첫 화면 위에 투명하게 → 스크롤하면 흰 배경 */
.header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, 0.25); color: #FFFFFF; transition: background 0.3s, color 0.3s; }
.header--overlay .action--catalog { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.header--overlay .action:not(.action--catalog):hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.header--overlay a:hover { color: #E8D9C3; }
.header--overlay.is-solid, .header--overlay.is-open { background: rgba(245, 243, 239, 0.97); color: var(--ink); border-bottom-color: var(--line); }
.header--overlay.is-solid .action--catalog, .header--overlay.is-open .action--catalog { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.header--overlay.is-solid a:hover { color: var(--accent); }

/* ---------- 퀵메뉴 ---------- */
.quick { position: fixed; right: 20px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.quick__btn { width: 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; box-shadow: 0 6px 18px rgba(30, 29, 27, 0.08); }
.quick__btn:first-child { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.quick__btn:first-child:hover { color: var(--accent-on-dark); }

/* ---------- 메인 첫 화면 (전체 화면 슬라이드) ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1100px; background: #2B2926; color: #FFFFFF; overflow: hidden; }
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img, .hero__img img { width: 100%; height: 100%; }
.hero__img img { object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__img img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.62) 100%); }
.hero__caption { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.hero__eyebrow { font-size: 14px; letter-spacing: 0.26em; color: #E8D9C3; }
.hero__title { font-size: var(--h1); font-weight: 700; line-height: 1.2; max-width: 820px; }
.hero__text { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); white-space: pre-line; }
.hero__slide .hero__caption > * { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s; }
.hero__slide.is-active .hero__caption > * { opacity: 1; transform: none; }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 3; display: flex; align-items: center; gap: 16px; }
.hero__count { font-size: 14px; color: rgba(255, 255, 255, 0.75); min-width: 64px; }
.hero__count b { color: #FFFFFF; font-weight: 700; }
.hero__bar { width: 200px; height: 2px; background: rgba(255, 255, 255, 0.3); position: relative; }
.hero__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #FFFFFF; }
.hero__arrow, .hero__pause { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; color: #FFFFFF; cursor: pointer; }
.hero__arrow:hover, .hero__pause:hover { background: rgba(255, 255, 255, 0.15); }
.hero__scroll { position: absolute; right: var(--pad); bottom: 64px; z-index: 3; font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.8); writing-mode: vertical-rl; }

/* ---------- 메인 섹션 ---------- */
.intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; }
.intro__title { font-size: var(--h2); line-height: 1.35; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.stat { background: var(--surface); padding: 28px 28px; display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-size: 28px; font-weight: 700; line-height: 1.25; }
.stat__label { font-size: 14px; color: var(--ink-2); }

.projects { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 36%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.proj { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.proj__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.proj:hover .proj__img img { transform: scale(1.04); }
.proj__cap { display: flex; flex-direction: column; gap: 4px; }
.proj__name { font-size: 18px; font-weight: 700; }
.proj__code { font-size: 13px; color: var(--ink-3); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 48px; height: 48px; border: 1px solid var(--ink); background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.arrows button:hover { background: var(--ink); color: var(--on-dark); }

.surfs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.surf { display: flex; flex-direction: column; gap: 8px; }
.surf__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; padding: 16px; }
.surf__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s; }
.surf:hover .surf__img img { transform: scale(1.05); }
.surf__name { font-size: 15px; font-weight: 700; }
.surf__count { font-size: 13px; color: var(--ink-3); }

.download { background: var(--dark); color: var(--on-dark); }
.download__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #3A3733; }
.dl { background: var(--dark); padding: 48px 40px; display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.dl:hover { background: #2B2926; color: var(--on-dark); }
.dl__label { font-size: 13px; letter-spacing: 0.2em; color: var(--accent-on-dark); }
.dl__title { font-size: 26px; font-weight: 700; }
.dl__desc { font-size: 15px; line-height: 1.7; color: var(--on-dark-2); flex: 1 1 auto; }
.dl__more { font-size: 14px; color: var(--accent-on-dark); }

/* ---------- 서브 페이지 상단 ---------- */
.page-head { position: relative; height: 360px; color: #FFFFFF; display: flex; align-items: flex-end; overflow: hidden; background: #2B2926; }
.page-head picture, .page-head img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-head img { object-fit: cover; }
.page-head::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); }
.page-head__inner { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.page-head__eyebrow { font-size: 13px; letter-spacing: 0.24em; color: #E8D9C3; }
.page-head__title { font-size: 48px; font-weight: 700; }

/* ---------- 제품 ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font-size: 13px; letter-spacing: 0.1em; padding: 0 18px; min-height: 44px; cursor: pointer; border: 1px solid #CFC8BC; background: transparent; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.tabs__count { font-size: 12px; opacity: 0.7; }
.search { display: flex; align-items: center; gap: 12px; }
.search input { font-family: inherit; font-size: 14px; min-height: 44px; width: 260px; padding: 0 14px; border: 1px solid #CFC8BC; background: var(--surface); color: var(--ink); }
.search__result { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 24px; }
.product { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.product__photo { aspect-ratio: 4 / 5; background: var(--surface-2); display: flex; align-items: center; justify-content: center; padding: 14px; margin-bottom: 12px; overflow: hidden; transition: background 0.3s; }
.product__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.product:hover .product__photo { background: #E4DED4; }
.product:hover .product__photo img { transform: scale(1.03); }
.product__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.product__no { color: var(--accent); }
.product__code { color: var(--ink-3); letter-spacing: 0.04em; }
.product__name { font-size: 17px; font-weight: 700; line-height: 1.35; }
.product__ko { font-size: 14px; color: var(--ink-2); }
.product__info { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.product__row { display: flex; gap: 10px; }
.product__row .k { flex: 0 0 34px; color: var(--ink-3); }
.product__row .v { min-width: 0; }

/* ---------- 제품 상세 창 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 32px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 19, 18, 0.7); }
.modal__panel { position: relative; background: var(--bg); width: min(1240px, 100%); max-height: 100%; overflow: auto; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border: 0; background: var(--bg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.pd__media { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); }
.pd__photo { padding: 32px; display: flex; justify-content: center; }
.pd__photo img { max-height: 70vh; width: auto; object-fit: contain; }
.pd__ref img { width: 100%; height: auto; }
.pd__info { position: sticky; top: 0; align-self: start; padding: 56px 44px; display: flex; flex-direction: column; gap: 10px; }
.pd__no { font-size: 14px; color: var(--accent); }
.pd__name { font-size: 34px; }
.pd__ko { font-size: 17px; color: var(--ink-2); }
.pd__spec { margin: 24px 0 0; border-top: 1px solid var(--ink); }
.pd__spec div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd__spec dt { flex: 0 0 64px; color: var(--ink-3); }
.pd__spec dd { margin: 0; }
.pd__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.pd__actions .btn { padding: 0 12px; font-size: 14px; text-align: center; }

/* ---------- 시공사례 ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.ref { display: flex; flex-direction: column; gap: 8px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.ref__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); margin-bottom: 8px; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.ref:hover .ref__img img { transform: scale(1.04); }
.ref__meta { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.ref__title { font-size: 18px; font-weight: 700; }
.ref__desc { font-size: 14px; color: var(--ink-3); }
.notice { font-size: 14px; color: var(--ink-3); margin-bottom: 32px; }

/* ---------- 브랜드 ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--surface); padding: 40px 30px; display: flex; flex-direction: column; gap: 14px; }
.value__num { font-size: 32px; color: var(--accent-soft); }
.value__title { font-size: 14px; letter-spacing: 0.14em; }
.value__desc { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split__img { aspect-ratio: 4 / 3; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text { display: flex; flex-direction: column; gap: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step__num { font-size: 13px; color: var(--accent); }
.step__title { font-size: 18px; font-weight: 700; }
.step__desc { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 문의 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 44px 36px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 120px; }
a.card:hover { border-color: var(--ink); color: var(--ink); }
.card__label { font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.card__title { font-size: 22px; font-weight: 700; }
.card__desc { font-size: 15px; line-height: 1.7; color: var(--ink-2); flex: 1 1 auto; }
.card__more { font-size: 14px; color: var(--accent); }
.contact-line { display: flex; flex-wrap: wrap; gap: 32px; font-size: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-line a { font-weight: 700; }

/* ---------- 오시는 길 ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.loc__img img { width: 100%; height: auto; }
.loc__info { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
.loc__row { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.loc__row dt { flex: 0 0 88px; color: var(--ink-3); }
.loc__row dd { margin: 0; }

/* ---------- 푸터 ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 64px 0 96px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; flex: 1 1 380px; }
.footer__biz { font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.footer__copy { font-size: 12px; color: var(--ink-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 56px; font-size: 13px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title { letter-spacing: 0.12em; font-weight: 700; }

/* ---------- PC 좁은 화면 ---------- */
@media (max-width: 1240px) {
  .nav { gap: 22px; font-size: 13px; }
  .action span { display: none; }
  .action { width: 42px; padding: 0; justify-content: center; }
  .surfs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ---------- 태블릿 ---------- */
@media (max-width: 1024px) {
  :root { --pad: 28px; --section: 88px; --h1: 52px; --h2: 34px; }
  .values, .steps, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refs, .download__inner, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .split, .loc { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 40px; }
  .modal__body { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pd__info { padding: 36px 28px; }
}
/* ---------- 모바일 ---------- */
@media (max-width: 760px) {
  :root { --pad: 20px; --section: 64px; --header: 60px; --h1: 36px; --h2: 26px; }
  .logo__text { font-size: 22px; }
  .hero__logo { width: min(320px, 78vw); }
  .search-toggle { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .gsearch__item { flex-wrap: wrap; }
  .gsearch__links { width: 100%; padding-left: 64px; }
  .gsearch__box input { font-size: 16px; }
  .nav, .header__actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .header.is-open .nav { display: flex; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: var(--bg); border-bottom: 1px solid var(--line); color: var(--ink); }
  .header.is-open .nav a { padding: 16px 0; border-bottom: 1px solid #E5E0D7; font-size: 15px; }
  .action-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-size: 13px; border-left: 1px solid var(--line); }
  .action-bar a:first-child { border-left: 0; background: var(--ink); color: var(--on-dark); }
  .header--overlay .action-bar { background: rgba(245, 243, 239, 0.97); }
  .hero { height: 100svh; min-height: 560px; }
  .hero__caption { bottom: 120px; gap: 12px; }
  .hero__text, .hero__title:not(.hero__title--logo) { padding-right: 64px; }
  .hero__line { display: block; }
  .hero__text { font-size: 14px; white-space: normal; }
  .hero__ctrl { bottom: 44px; gap: 10px; }
  .hero__bar { flex: 1 1 auto; width: auto; margin-right: 56px; }
  .hero__arrow { display: none; }
  .hero__ctrl { padding-right: 84px; }
  .hero__scroll { display: none; }
  .stats { margin-top: 40px; }
  .stat { padding: 24px 20px; }
  .stat__num { font-size: 22px; }
  .projects { grid-auto-columns: 82%; gap: 14px; }
  .surfs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download__inner, .refs, .cards, .values, .steps { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .dl { min-height: 0; padding: 36px 24px; }
  .page-head { height: 240px; }
  .page-head__title { font-size: 32px; }
  .page-head__inner { padding-bottom: 32px; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .tabs { min-width: 0; }
  .tabs { gap: 6px; }
  .tabs button { padding: 0 12px; font-size: 12px; letter-spacing: 0.06em; }
  .search input { width: 100%; flex: 1 1 auto; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product__photo { padding: 10px; }
  .product__name { font-size: 15px; }
  .product__row { flex-direction: column; gap: 0; }
  .modal { padding: 0; align-items: stretch; }
  .modal__panel { max-height: none; height: 100%; }
  .modal__body { display: flex; flex-direction: column; }
  .pd__media { display: contents; }
  .pd__photo { order: 1; background: var(--surface-2); }
  .pd__info { order: 2; position: static; align-self: stretch; padding: 32px 20px 40px; }
  .pd__ref { order: 3; }
  .pd__photo { padding: 20px; }
  .pd__photo img { max-height: 60vh; }
  .pd__name { font-size: 26px; }
  .quick { right: 12px; bottom: 16px; }
  .quick { right: 12px; bottom: 16px; }
  .quick__btn { width: 40px; height: 40px; font-size: 0; gap: 0; }
  .quick__btn:nth-child(1), .quick__btn:nth-child(2) { display: none; }
  .card { padding: 32px 24px; }
  .loc__row dt { flex-basis: 64px; }
}
