/* 태성아이엠티 홈페이지 V5 — C안 벤토 그리드
   색·간격은 :root 변수에서 한 번에 바꿀 수 있습니다. */
:root {
  --bg: #ECEAE5;
  --tile: #FFFFFF;
  --tile-2: #F4F2EE;
  --media: #D9D6D0;
  --dark: #1A201D;
  --dark-2: #252C28;
  --ink: #151917;
  --ink-2: #454C48;
  --ink-3: #5A615D;
  --line: #D6D1C8;
  --field: #FBFAF8;
  --field-line: #C9C3B8;
  --accent: #F0642A;
  --accent-ink: #151917;
  --req: #B23C12;
  --error: #B3261E;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, 0.86);
  --on-dark-3: rgba(255, 255, 255, 0.72);
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --gap: 14px;
  --pad: 40px;
  --max: 1440px;
  --header-h: 68px;
  --font: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --lat: 'Outfit', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img, video, svg { display: block; }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.lat { font-family: var(--lat); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.tile--dark :focus-visible, .hero__main :focus-visible, .ind:focus-visible, .quickbar :focus-visible { outline-color: #FFB18F; }
main:focus { outline: none; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- buttons, chips, labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 8px 20px rgba(240, 100, 42, .28); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border-radius: 999px; background: var(--tile-2); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.chip--accent { background: rgba(240, 100, 42, .2); color: #FFA27D; font-weight: 700; }
.chip--glass { background: rgba(21, 25, 23, .5); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.label { font-family: var(--lat); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.label--accent { color: #FF8A5C; }
.tile--accent .label { color: var(--ink); }
.round-btn { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transition: transform .18s ease; }
.round-btn:hover { transform: rotate(-8deg) scale(1.04); }
.round-btn--dark { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 16px; z-index: 50; margin-top: 20px; }
.site-header .bar {
  height: var(--header-h); padding: 0 10px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px rgba(21, 25, 23, .07);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand__mark { flex: none; width: 41px; height: 32px; }
.brand__name { font-family: var(--lat); font-size: 21px; font-weight: 700; letter-spacing: .01em; line-height: 1; }
.brand__ko { font-size: 13px; font-weight: 500; color: var(--ink-2); padding-left: 12px; border-left: 1px solid var(--line); line-height: 16px; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .18s ease; }
.nav a:hover { background: var(--tile-2); }
.nav a[aria-current="true"] { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--lat); font-size: 16px; font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tile-2); color: var(--ink); align-items: center; justify-content: center; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px calc(20px + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__bar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px 0 18px; border-radius: 999px; background: #fff; }
.menu__nav { display: flex; flex-direction: column; padding: 16px 10px; }
.menu__nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.menu__foot { margin-top: auto; display: grid; gap: 10px; padding: 0 4px; }
.menu__foot .btn { width: 100%; min-height: 56px; font-size: 16px; }
body.menu-open { overflow: hidden; }
.menu-btn--close { display: inline-flex; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--tile); }
.tile--dark { background: var(--dark); color: var(--on-dark); }
.tile--accent { background: var(--accent); color: var(--accent-ink); }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }

/* media: poster image + lazily loaded video */
.media { position: relative; overflow: hidden; background: var(--media); }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media picture { position: absolute; inset: 0; }
.media video { opacity: 0; transition: opacity .5s ease; }
.media.is-playing video { opacity: 1; }

/* ---------- hero ---------- */
.hero { margin-top: 14px; grid-template-rows: minmax(300px, auto) minmax(300px, auto); }
.hero__main { grid-column: span 8; grid-row: span 2; min-height: 640px; }
.hero__media { position: absolute; inset: 0; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 25, 23, .92) 0%, rgba(21, 25, 23, .6) 36%, rgba(21, 25, 23, 0) 64%); }
.hero__chips { position: absolute; left: 28px; top: 26px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__caption { position: absolute; right: 28px; top: 30px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(21, 25, 23, .5); color: #fff; font-size: 12.5px; }
.hero__body { position: absolute; left: 40px; right: 40px; bottom: 38px; z-index: 2; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.hero h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; }
.hero__lead { max-width: 620px; font-size: 17px; line-height: 1.7; color: var(--on-dark-2); }
.hero__actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.vid-toggle { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(21, 25, 23, .42); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vid-toggle .i-play { display: none; }
.vid-toggle[aria-pressed="true"] .i-play { display: block; }
.vid-toggle[aria-pressed="true"] .i-pause { display: none; }
.cta-tile { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 30px 32px; }
.cta-tile__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cta-tile__body { display: flex; flex-direction: column; gap: 10px; }
.cta-tile__title { font-size: 38px; line-height: 1.15; letter-spacing: -.04em; font-weight: 800; }
.cta-tile__title a { display: inline-flex; align-items: center; min-height: 44px; }
.cta-tile__text { font-size: 15.5px; line-height: 1.6; }
.cta-tile__tel { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: 2px; font-size: 22px; font-weight: 700; }
.approach { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 30px 32px; }
.approach__body { display: flex; flex-direction: column; gap: 18px; }
.approach__title { font-size: 27px; line-height: 1.35; letter-spacing: -.035em; font-weight: 800; }
.approach__items { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .16); }
.approach__items li { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15px; color: var(--on-dark-2); }
.approach__items .lat { font-size: 13px; font-weight: 600; color: #FF8A5C; }

/* ---------- sections ---------- */
.section { scroll-margin-top: 100px; }
#company { margin-top: 56px; }
#contact { margin-top: var(--gap); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 64px 6px 18px; }
.section-head__title { display: flex; align-items: center; gap: 12px; }
.section-head h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; }
.count { min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.section-head__desc { max-width: 560px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); text-align: right; }

/* equipment */
.eq { display: flex; flex-direction: column; padding: 12px; transition: box-shadow .3s ease; scroll-margin-top: 110px; }
.eq.is-highlight { box-shadow: 0 0 0 3px var(--accent), 0 16px 40px rgba(240, 100, 42, .18); }
.eq__media { height: 330px; border-radius: var(--r-lg); }
.eq__no { position: absolute; left: 26px; top: 26px; z-index: 2; min-width: 38px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.eq__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 14px 8px; }
.eq__sector { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--tile-2); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.eq h3 { font-size: 25px; line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
.eq__desc { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.eq__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eq__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eq__en { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* industries */
.ind { grid-column: span 3; display: block; height: 340px; color: #fff; }
.ind__media { position: absolute; inset: 0; }
.ind__media img, .ind__media video { transition: transform .6s ease, opacity .5s ease; }
.ind:hover .ind__media img, .ind:hover .ind__media video { transform: scale(1.04); }
.ind__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 25, 23, .9) 0%, rgba(21, 25, 23, .45) 46%, rgba(21, 25, 23, 0) 72%); }
.ind__no { position: absolute; left: 18px; top: 18px; min-width: 38px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.ind__body { position: absolute; left: 24px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.ind__name { font-size: 25px; line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.ind__tags { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.ind__eq { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.ind__eq svg { flex: none; margin-top: 2px; }
.ordermade {
  grid-column: span 12; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center; gap: 40px; padding: 36px 40px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(0deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-color: var(--dark);
}
.ordermade__head { display: flex; flex-direction: column; gap: 10px; }
.ordermade h3 { font-size: 32px; line-height: 1.25; letter-spacing: -.035em; font-weight: 800; }
.ordermade__text { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; color: var(--on-dark-2); }
.ordermade__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* field (현장 기록): 실제 영상 1칸 + 사진 모자이크 1칸 */
.field-video { grid-column: span 7; display: flex; flex-direction: column; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #0C0E0D; overflow: hidden; }
.yt picture, .yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: rgba(21, 25, 23, .22); transition: background-color .2s ease; pointer-events: none; }
.yt:hover::after { background: rgba(21, 25, 23, .08); }
.yt__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .18s ease; }
.yt__play svg { margin-left: 4px; fill: currentColor; }
.yt__play:hover { transform: scale(1.06); }
.yt iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.yt.is-on::after { display: none; }
.field-video__body { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 20px 28px 22px; }
.field-video__meta { flex-basis: 100%; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--on-dark-3); }
.field-video h3 { flex: 1; min-width: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.03em; font-weight: 800; }
.field-video__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--on-dark-2); }
.field-video__link:hover { color: #fff; }
.field-photos { grid-column: span 5; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 20px; }
.field-photos .label { padding: 0 4px; }
.mosaic { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.mosaic li { min-height: 0; }
.mosaic__cell, .mosaic__slot { position: relative; display: block; width: 100%; height: 100%; min-height: 140px; border-radius: 18px; overflow: hidden; }
.mosaic__cell { padding: 0; border: 0; background: var(--media); }
.mosaic__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic__cell:hover img { transform: scale(1.04); }
.mosaic__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21, 25, 23, .55); color: #fff; font-size: 28px; font-weight: 700; }
.mosaic__slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--field-line); background: var(--tile-2); color: var(--ink-3); font-size: 13px; font-weight: 600; }
.field-photos__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 4px; }
.field-photos__count { font-size: 15px; color: var(--ink-2); }
.field-photos__count strong { font-size: 17px; color: var(--ink); }
.field-photos__empty { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* album: 전체 화면 사진 보기 */
.album { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: rgba(12, 14, 13, .985); color: #fff; touch-action: pan-y pinch-zoom; }
.album[hidden] { display: none; }
.album :focus-visible { outline-color: #FFB18F; }
.album__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px 24px; }
.album__count { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.album__btn, .album__nav { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.album__btn:hover, .album__nav:hover { background: rgba(255, 255, 255, .24); }
.album__stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 8px 80px 28px; }
.album__stage img { -webkit-user-drag: none; user-select: none; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); object-fit: contain; border-radius: 12px; }
.album__stage figcaption { min-height: 24px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); text-align: center; }
.album__nav { position: absolute; top: 50%; margin-top: -24px; }
.album__nav--prev { left: 18px; }
.album__nav--next { right: 18px; }

/* company */
.company-main { grid-column: span 7; display: flex; flex-direction: column; gap: 16px; padding: 36px 40px; }
.company-main h2 { font-size: 34px; line-height: 1.25; letter-spacing: -.035em; font-weight: 800; }
.company-main__body { max-width: 640px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.facts { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.facts dd { margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.55; }
.company-visit { grid-column: span 5; display: flex; flex-direction: column; gap: 18px; padding: 36px 36px; }
.company-visit__name { display: flex; align-items: baseline; gap: 10px; }
.company-visit__name strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.company-visit__name span { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.company-visit address { display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.company-visit address p { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.company-visit address svg { flex: none; color: var(--ink-3); }
.company-visit address a { font-weight: 700; color: var(--ink); }
.company-visit__maps { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* contact */
.contact-info { grid-column: span 5; display: flex; flex-direction: column; gap: 18px; padding: 36px 40px; }
.contact-info h2 { font-size: 42px; line-height: 1.22; letter-spacing: -.04em; font-weight: 800; }
.contact-info__lead { font-size: 16px; line-height: 1.7; color: var(--on-dark-2); }
.prepare { margin-top: 6px; padding: 20px 22px; border-radius: 18px; background: var(--dark-2); }
.prepare__title { font-size: 15px; font-weight: 800; }
.prepare ul { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.prepare li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.prepare li svg { flex: none; margin-top: 3px; color: #FF8A5C; }
.contact-info__direct { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact-info__direct li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.contact-info__direct .lat { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--on-dark-3); }
.contact-info__direct a { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; font-weight: 700; }
.contact-form { grid-column: span 7; padding: 34px 36px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.req { color: var(--req); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 14px; background: var(--field);
  font-size: 16px; line-height: 1.5; transition: border-color .15s ease, background-color .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23454C48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #767C78; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; outline: 2px solid var(--ink); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); background: #FFF8F7; }
.error-msg { font-size: 13px; font-weight: 600; color: var(--error); }
.hint { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.hint a { text-decoration: underline; text-underline-offset: 2px; }
.consent { padding: 16px 18px; border-radius: 16px; background: var(--tile-2); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 700; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.consent details { margin-top: 4px; }
.consent summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__dl { display: grid; gap: 6px; margin: 4px 0 10px; font-size: 14px; }
.consent__dl div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
.consent__dl dt { font-weight: 700; color: var(--ink-2); }
.form-actions { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .hint { flex: 1; min-width: 220px; }
.form-status { padding: 16px 18px; border-radius: 14px; background: #EEF6F0; color: #1D4D2E; font-size: 14.5px; line-height: 1.6; }
.form-status.is-error { background: #FFF1EF; color: var(--error); }
.form-status .btn { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 14px; padding: 30px 0 44px; font-size: 13.5px; color: var(--ink-2); }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 6px; }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer__info { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; padding: 0 6px; line-height: 1.7; }
.site-footer__info a { color: var(--ink); font-weight: 600; }
.site-footer__info strong { color: var(--ink); font-weight: 700; }
.site-footer__notes { margin-top: 14px; padding: 14px 6px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.site-footer__copy { margin-top: 12px; padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* ---------- quick contact bar (mobile) ---------- */
.quickbar { display: none; }

/* ---------- privacy page ---------- */
.doc { padding-top: 14px; }
.doc__body { max-width: 860px; margin: 0 auto; padding: 44px 48px 52px; }
.doc__body h1 { margin-top: 10px; font-size: 36px; letter-spacing: -.035em; font-weight: 800; }
.doc__lead { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.doc__body section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc__body h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.doc__body section p { margin-top: 8px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }

/* ---- 현장 사진: 메인 대표 4장 캡션 ---- */
.mosaic__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; background: linear-gradient(to top, rgba(12, 14, 13, .78), rgba(12, 14, 13, 0)); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.3; text-align: left; letter-spacing: -.01em; }

/* ---- 더보기: 현장 사진 전체 페이지 (gallery.html) ---- */
.gal .section-head { margin-top: 36px; }
.section-head h1 { font-size: 34px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; }
.gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.gal__item { background: var(--tile); border-radius: var(--r-lg); padding: 10px 10px 14px; }
.gal__cell { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--media); cursor: zoom-in; }
.gal__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal__cell:hover img { transform: scale(1.04); }
.gal__cap { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; padding: 0 4px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.gal__cap .lat { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.gal__back { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 12px; }
.page-gallery .header-actions { gap: 8px; }

/* ================= responsive ================= */
@media (max-width: 1199px) {
  :root { --pad: 24px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-rows: auto; }
  .hero__main { grid-column: span 12; grid-row: auto; min-height: 580px; }
  .cta-tile, .approach { grid-column: span 6; }
  .eq.span-5, .eq.span-7 { grid-column: span 6; }
  .eq__media { height: 280px; }
  .ind { grid-column: span 6; height: 320px; }
  .ordermade { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ordermade .btn { justify-self: start; }
  .contact-info, .contact-form { grid-column: span 12; }
  .field-video__body { padding: 18px 22px 20px; }
  .field-video h3 { font-size: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head__desc { text-align: left; }
}
@media (max-width: 899px) {
  .header-actions .tel-link { display: none; }
  .eq__media { height: 220px; }
  .eq__en { display: none; }
  .eq__foot { justify-content: flex-end; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .company-main, .company-visit { grid-column: span 12; }
  .field-video, .field-photos { grid-column: span 12; }
  .mosaic { grid-auto-rows: auto; }
  .mosaic__cell, .mosaic__slot { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  :root { --pad: 12px; --gap: 10px; --r-xl: 24px; --r-lg: 18px; --header-h: 56px; }
  .site-header { top: 10px; margin-top: 12px; }
  .site-header .bar { padding: 0 6px 0 16px; }
  .brand__ko { display: none; }
  .brand__mark { width: 36px; height: 28px; }
  .brand__name { font-size: 18px; }
  .header-actions .btn { display: none; }
  .hero { margin-top: 10px; }
  .hero__main { min-height: 560px; }
  .hero__chips { left: 16px; top: 16px; }
  .hero__caption { display: none; }
  .hero__body { left: 20px; right: 20px; bottom: 22px; gap: 14px; }
  .hero h1 { font-size: 34px; line-height: 1.2; }
  .hero__lead { font-size: 15px; line-height: 1.65; }
  .hero__actions .btn { flex: 1; }
  .cta-tile, .approach { min-height: 176px; padding: 18px; gap: 12px; }
  .cta-tile__title { font-size: 21px; line-height: 1.25; }
  .cta-tile__text { display: none; }
  .cta-tile__tel { font-size: 15px; gap: 6px; }
  .cta-tile__tel svg { width: 15px; height: 15px; }
  .cta-tile .round-btn { width: 44px; height: 44px; }
  .approach .label { font-size: 12px; }
  .approach__title { font-size: 17px; line-height: 1.4; }
  .approach__items { display: none; }
  .section-head { margin: 44px 6px 14px; }
  #company { margin-top: 44px; }
  .section-head h2 { font-size: 26px; }
  .section-head__desc { font-size: 14.5px; }
  .count { min-width: 28px; height: 28px; font-size: 14px; }
  .eq { padding: 10px; }
  .eq__media { height: 200px; }
  .eq__no { left: 20px; top: 20px; height: 28px; font-size: 12px; }
  .eq__body { padding: 16px 8px 6px; gap: 8px; }
  .eq h3 { font-size: 21px; }
  .eq__desc { font-size: 14.5px; }
  .eq__foot { flex-wrap: wrap; }
  .eq__en { font-size: 12px; }
  .ind { height: 200px; }
  .ind__no { left: 12px; top: 12px; height: 26px; min-width: 32px; font-size: 12px; }
  .ind__body { left: 14px; right: 12px; bottom: 12px; gap: 3px; }
  .ind__name { font-size: 18px; }
  .ind__tags { font-size: 12.5px; }
  .ind__eq { display: none; }
  .ordermade { padding: 24px 20px; }
  .ordermade h3 { font-size: 22px; }
  .ordermade__text { font-size: 14.5px; }
  .ordermade .btn { width: 100%; }
  .yt__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .yt__play svg { width: 26px; height: 26px; }
  .field-video__body { padding: 16px 18px 16px; gap: 4px 12px; }
  .field-video h3 { flex-basis: 100%; font-size: 18px; }
  .field-photos { padding: 18px 14px 14px; gap: 12px; }
  .mosaic { gap: 8px; }
  .mosaic__cell, .mosaic__slot { border-radius: 14px; }
  .field-photos__foot .btn { flex: none; }
  .album__bar { padding: 10px 10px 4px 18px; }
  .album__stage { padding: 6px 10px 96px; }
  .album__stage img { max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); border-radius: 8px; }
  .album__nav { top: auto; bottom: calc(22px + env(safe-area-inset-bottom)); margin: 0; }
  .album__nav--prev { left: calc(50% - 64px); }
  .album__nav--next { right: calc(50% - 64px); }
  .company-main, .company-visit, .contact-info { padding: 26px 22px; }
  .company-main h2 { font-size: 24px; }
  .company-main__body { font-size: 15px; }
  .contact-info h2 { font-size: 28px; }
  .contact-info__direct li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 0; }
  .contact-info__direct a { font-size: 17px; }
  .prepare { padding: 16px 18px; }
  .prepare li { font-size: 14px; }
  .contact-form { padding: 24px 18px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-actions .btn { width: 100%; }
  .site-footer { padding-bottom: 120px; }
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .doc__body { padding: 28px 20px 34px; }
  .doc__body h1 { font-size: 28px; }
  .quickbar {
    position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; transform: translateX(-50%);
    display: flex; gap: 6px; width: min(340px, calc(100% - 32px)); height: 60px; padding: 6px; border-radius: 999px;
    background: var(--ink); box-shadow: 0 14px 34px rgba(21, 25, 23, .35); transition: transform .3s ease, opacity .3s ease;
  }
  .quickbar.is-hidden { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
  .quickbar__tel { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
  .quickbar__cta { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 800; }
}
@media (max-width: 639px) {
  .eq.span-5, .eq.span-7 { grid-column: span 12; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 30px; }
  .ind__name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .menu, .quickbar, .vid-toggle, .album, .yt__play { display: none !important; }
  body { background: #fff; }
}

/* ---- gallery.html 반응형 ---- */
@media (max-width: 1199px) { .gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__item { padding: 6px 6px 10px; border-radius: 16px; }
  .gal__cell { border-radius: 11px; }
  .gal__cap { margin-top: 8px; padding: 0 2px; font-size: 13.5px; gap: 6px; }
  .gal__cap .lat { font-size: 12px; }
  .section-head h1 { font-size: 26px; }
  .gal .section-head { margin-top: 28px; }
  .page-gallery .header-actions .btn--line { display: inline-flex; }
  .page-gallery .header-actions .gal__cta { display: none; }
  .mosaic__cap { font-size: 12.5px; padding: 18px 9px 7px; }
}
@media (max-width: 359px) { .gal__cap { font-size: 12.5px; } }

/* ---- 더보기: 메인 안의 현장 사진 전체 화면 (파일 이동 없음) ---- */
.gview { position: fixed; inset: 0; z-index: 85; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); padding-bottom: 40px; }
.gview[hidden] { display: none; }
.gview__bar { position: sticky; top: 16px; z-index: 2; margin-top: 20px; }
.gview__bar .bar { height: var(--header-h); padding: 0 10px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(21, 25, 23, .07); }
.gview .section-head { margin-top: 36px; }
.gview .gview__back { display: inline-flex; }
@media (max-width: 767px) {
  .gview__bar { top: 10px; margin-top: 12px; }
  .gview__bar .bar { padding: 0 6px 0 16px; }
  .gview .brand__ko { display: none; }
  .gview .section-head { margin-top: 28px; }
  .gview .section-head h2 { font-size: 26px; }
}

/* ---- 현장 기록: 홈페이지에 직접 넣은 영상 ---- */
.yt--local video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0C0E0D; }
.yt--local.is-on video { object-fit: contain; z-index: 3; }
.yt--local .yt__play { border: 0; cursor: pointer; }

/* ---- 맞춤 설계·제작 (오더메이드) — 첫 화면 바로 아래 강조 구역 ---- */
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.om {
  grid-column: span 12; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 44px; padding: 40px;
  background-color: var(--dark);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(0deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 92, .28);
}
.om__media { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0B1D2B; box-shadow: 0 24px 60px rgba(0, 0, 0, .38); }
.om__media .media { position: absolute; inset: 0; background: #0B1D2B; }
.om__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.om__title { font-size: 44px; line-height: 1.22; letter-spacing: -.04em; font-weight: 800; }
.om__title em { font-style: normal; color: #FF8A5C; }
.om__lead { font-size: 16.5px; line-height: 1.75; color: var(--on-dark-2); }
.om__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.om__flow li { display: inline-flex; align-items: center; gap: 6px; }
.om__arrow { display: inline-flex; color: #FF8A5C; }
.om__step { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.om__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13.5px; font-weight: 600; color: var(--on-dark-3); }
.om__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.om__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 1199px) {
  .om { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .om__title { font-size: 38px; }
}
@media (max-width: 767px) {
  .om { gap: 20px; padding: 12px 12px 22px; }
  .om__media { border-radius: 14px; }
  .om__text { padding: 0 8px; gap: 14px; }
  .om__title { font-size: 28px; }
  .om__lead { font-size: 15px; line-height: 1.7; }
  .om__step { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .om__actions { width: 100%; }
  .om__actions .btn { width: 100%; }
}
@media (max-width: 359px) { .om__title { font-size: 25px; } }

/* ---- 헤더: 메뉴 5개 + 로고 IMT. — 줄바꿈 방지, 1320px 미만은 메뉴 버튼으로 ---- */
.brand__name, .nav a, .tel-link span { white-space: nowrap; }
@media (max-width: 1319px) {
  .site-header .nav { display: none; }
  .site-header .menu-btn { display: inline-flex; }
}
/* ---- 오더메이드 진행 순서: 모바일은 4칸 한 줄 ---- */
@media (max-width: 767px) {
  .om__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; }
  .om__flow li { position: relative; display: block; }
  .om__flow li + li::before { content: "›"; position: absolute; left: -11px; top: 50%; transform: translateY(-54%); color: #FF8A5C; font-size: 18px; font-weight: 700; line-height: 1; }
  .om__arrow { display: none; }
  .om__step { width: 100%; justify-content: center; padding: 0 2px; font-size: 12.5px; }
}

/* ---- 문의 폼: 스팸 방지용 숨은 칸, 보내는 중 ---- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status .form-status__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.form-status .form-status__actions .btn { margin-top: 0; }
