/* TAMTEC 메인 페이지 */
.tm2h { font-family: var(--tm2-ko); color: var(--tm2-ink); }
.tm2h * { box-sizing: border-box; }
.tm2h-sec { padding-top: 150px; }
.tm2h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.tm2h-title { margin: 0; font-family: var(--tm2-en); font-size: 56px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--tm2-ink); }
.tm2h-title em { font-style: normal; color: var(--tm2-g1); }
.tm2h-sub { margin: 16px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--tm2-text); }

/* 메인 비주얼 */
.tm2h-hero { position: relative; background: var(--tm2-bg); border-radius: 0 0 0 120px; }
.tm2h-hero__in { position: relative; min-height: 640px; }
.tm2h-slide { position: absolute; inset: 0 var(--tm2-pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 40px; padding-bottom: 60px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.tm2h-slide.is-on { position: relative; inset: auto; min-height: 640px; opacity: 1; visibility: visible; }
.tm2h-slide__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.tm2h-slide__brand { display: flex; align-items: center; gap: 12px; }
.tm2h-slide__brand img { height: 30px; width: auto; max-width: 160px; object-fit: contain; }
.tm2h-slide__brand span { font-size: 14px; font-weight: 700; color: var(--tm2-mute); }
.tm2h-slide__en { margin: 26px 0 0; font-family: var(--tm2-en); font-size: 76px; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--tm2-ink); }
.tm2h-slide__en em { font-style: normal; color: var(--tm2-g1); }
.tm2h-slide__ko { margin: 24px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.tm2h-slide__desc { max-width: 460px; margin: 12px 0 0; font-size: 16px; line-height: 1.75; color: #4B5157; word-break: keep-all; }
.tm2h-slide__txt .tm2-mv { margin-top: 32px; }
.tm2h-slide__img { position: relative; height: 520px; }
.tm2h-slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translateX(24px); transition: transform 1s ease; }
.tm2h-slide.is-on .tm2h-slide__img img { transform: none; }
.tm2h-hero__ctrl { position: absolute; left: var(--tm2-pad); bottom: 72px; z-index: 2; display: flex; align-items: center; gap: 16px; font-family: var(--tm2-en); font-size: 14px; font-weight: 600; color: var(--tm2-mute); }
.tm2h-hero__num { display: inline-flex; align-items: center; gap: 12px; }
.tm2h-hero__num b { color: var(--tm2-g1); font-weight: 600; }
.tm2h-hero__num i { font-style: normal; color: #C3C8C5; }
.tm2h-hero__bar { position: relative; width: 180px; height: 2px; background: var(--tm2-line2); overflow: hidden; }
.tm2h-hero__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--tm2-ink); }
.tm2h-hero__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--tm2-ink); cursor: pointer; }
.tm2h-hero__btn:hover { background: #fff; }
.tm2h-hero__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm2h-hero__btn svg[data-ic="play"] { fill: currentColor; stroke: none; }
.tm2h-scroll { position: absolute; right: var(--tm2-pad); bottom: -60px; z-index: 3; display: block; width: 120px; height: 120px; border-radius: 50%; background: #fff; }
.tm2h-scroll__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: tm2hSpin 18s linear infinite; }
.tm2h-scroll__ring text { font-family: var(--tm2-en); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; fill: var(--tm2-ink); }
.tm2h-scroll__dot { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--tm2-g1); color: #fff; }
.tm2h-scroll__dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes tm2hSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tm2h-scroll__ring { animation: none; } .tm2h-slide, .tm2h-slide__img img { transition: none; } }

/* 이벤트 */
.tm2h-events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tm2h-events a { display: flex; flex-direction: column; color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2h-events__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--tm2-r); overflow: hidden; background: var(--tm2-bg); }
.tm2h-events__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tm2h-events a:hover .tm2h-events__img img { transform: scale(1.03); }
.tm2h-events__meta { margin: 16px 6px 0; font-size: 13px; font-weight: 700; color: var(--tm2-g1); }
.tm2h-events b { margin: 6px 6px 0; font-size: 18px; font-weight: 800; letter-spacing: -.035em; line-height: 1.4; word-break: keep-all; }
.tm2h-events__date { margin: 4px 6px 0; font-family: var(--tm2-en); font-size: 13.5px; color: var(--tm2-mute); }

/* 공식 브랜드 */
.tm2h-brands { position: relative; margin-top: 150px; padding: 120px 0; background: var(--tm2-bg); border-radius: 120px 0 0 0; overflow: hidden; }
.tm2h-brands__mark { position: absolute; left: -40px; top: 40px; font-family: var(--tm2-en); font-size: 190px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; white-space: nowrap; pointer-events: none; }
.tm2h-brands .tm2-wrap { position: relative; }
.tm2h-dist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tm2h-dist a { display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; padding: 36px 32px 30px; border-radius: var(--tm2-r); background: #fff; color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2h-dist img { height: 38px; width: auto; max-width: 200px; object-fit: contain; object-position: left; }
.tm2h-dist__name { font-family: var(--tm2-en); font-size: 28px; font-weight: 700; }
.tm2h-dist__desc { margin-top: 22px; font-size: 18px; font-weight: 700; line-height: 1.55; letter-spacing: -.035em; word-break: keep-all; }
.tm2h-dist__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 14.5px; font-weight: 700; color: var(--tm2-text); }
.tm2h-dist a:hover .tm2h-dist__go { color: var(--tm2-g1); }
.tm2h-brands__label { margin: 44px 0 16px; font-size: 14.5px; font-weight: 700; color: var(--tm2-mute); }
.tm2h-logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.tm2h-logos a { display: flex; align-items: center; justify-content: center; height: 88px; border-radius: 999px; background: #fff; color: var(--tm2-ink) !important; font-weight: 700; text-decoration: none !important; }
.tm2h-logos img { max-height: 32px; max-width: 64%; object-fit: contain; }

/* 적용분야 */
.tm2h-apptabs { margin-bottom: 36px; }
.tm2h-app { display: none; grid-template-columns: 420px minmax(0, 1fr); gap: 36px; }
.tm2h-app.is-on { display: grid; }
.tm2h-app__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; border-radius: var(--tm2-r); overflow: hidden; background: #1C1F22; color: #fff; }
.tm2h-app__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm2h-app__card::after { content: ""; position: absolute; inset: 0; background: rgba(6, 10, 8, .62); }
.tm2h-app__card > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 34px 38px; }
.tm2h-app__en { font-family: var(--tm2-en); font-size: 13.5px; font-weight: 600; color: #A9D99B; }
.tm2h-app__card h3 { margin: 0; color: #fff; font-size: 36px; font-weight: 800; letter-spacing: -.045em; }
.tm2h-app__card p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .88); word-break: keep-all; }
.tm2h-app__card p.tm2h-app__fields { font-size: 14px; color: rgba(255, 255, 255, .65); }
.tm2h-app__more { display: inline-flex; align-items: center; gap: 12px; height: 52px; margin-top: 14px; padding: 0 8px 0 22px; border-radius: 999px; background: #fff; color: var(--tm2-ink) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.tm2h-app__more .tm2-plus { width: 36px; height: 36px; }
.tm2h-app__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; align-content: start; }
.tm2h-prod { display: flex; flex-direction: column; color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2h-prod__img { position: relative; display: block; height: 210px; border-radius: var(--tm2-r); background: var(--tm2-bg); overflow: hidden; }
.tm2h-prod__img img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; mix-blend-mode: multiply; }
.tm2h-prod__brand { margin: 14px 6px 0; font-family: var(--tm2-en); font-size: 13px; font-weight: 600; color: var(--tm2-g1); }
.tm2h-prod b { margin: 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.tm2h-prod__img + b { margin-top: 14px; }
.tm2h-prod__name { margin: 2px 6px 0; font-size: 13.5px; color: var(--tm2-mute); }
.tm2h-prod:hover b { color: var(--tm2-g1); }
.tm2h-prod--more { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 210px; padding: 0 36px; border-radius: var(--tm2-r); background: var(--tm2-bg); }

/* 원스톱 서비스 */
.tm2h-svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding-top: 170px; }
.tm2h-svc__lead { margin: 18px 0 32px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.45; }
.tm2h-svc__circles { display: flex; justify-content: flex-end; }
.tm2h-svc__circles a { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 310px; height: 310px; margin-left: -34px; padding: 44px; border-radius: 50%; text-align: center; text-decoration: none !important; }
.tm2h-svc__circles a:first-child { margin-left: 0; }
.tm2h-svc__circles .is-1 { background: var(--tm2-g2); color: var(--tm2-ink) !important; }
.tm2h-svc__circles .is-2 { background: #B9DDB0; color: var(--tm2-ink) !important; }
.tm2h-svc__circles .is-3 { background: var(--tm2-g1); color: #fff !important; }
.tm2h-svc__en { font-family: var(--tm2-en); font-size: 13px; font-weight: 600; opacity: .65; }
.tm2h-svc__circles b { font-size: 25px; font-weight: 800; letter-spacing: -.045em; }
.tm2h-svc__d { font-size: 14px; line-height: 1.6; opacity: .85; word-break: keep-all; }
.tm2h-svc__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding-bottom: 2px; border-bottom: 1.5px solid currentColor; font-size: 14px; font-weight: 800; }
.tm2h-svc__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 고객사 */
.tm2h-clients { margin-top: 170px; padding: 110px 0 120px; background: var(--tm2-bg); border-radius: 0 120px 0 0; overflow: hidden; }
.tm2h-clients + * { margin-top: 0; }
.tm2h-marquee { overflow: hidden; }
.tm2h-marquee + .tm2h-marquee { margin-top: 14px; }
.tm2h-marquee__track { display: flex; gap: 14px; width: max-content; animation: tm2hMarq 60s linear infinite; }
.tm2h-marquee.is-rev .tm2h-marquee__track { animation-direction: reverse; animation-duration: 70s; }
.tm2h-marquee:hover .tm2h-marquee__track { animation-play-state: paused; }
.tm2h-client { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 200px; height: 92px; border-radius: 999px; background: #fff; }
.tm2h-client img { max-height: 40px; max-width: 64%; object-fit: contain; mix-blend-mode: multiply; }
@keyframes tm2hMarq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tm2h-marquee__track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--tm2-pad); } }
.tm2h-clients ~ .tm2-contact, .tm2h ~ .tm2-contact { margin-top: 0; }

/* 반응형 */
@media (max-width: 1280px) {
    .tm2h-svc { grid-template-columns: 1fr; }
    .tm2h-svc__circles { justify-content: flex-start; }
    .tm2h-app { grid-template-columns: 340px minmax(0, 1fr); }
    .tm2h-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .tm2h-sec { padding-top: 96px; }
    .tm2h-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
    .tm2h-title { font-size: 40px; }
    .tm2h-sub { margin-top: 10px; font-size: 16px; }
    .tm2h-hero { border-radius: 0 0 0 56px; }
    .tm2h-hero__in, .tm2h-slide.is-on { min-height: 0; }
    .tm2h-slide { grid-template-columns: 1fr; gap: 20px; padding: 36px 0 120px; }
    .tm2h-slide__en { margin-top: 18px; font-size: 46px; }
    .tm2h-slide__ko { margin-top: 16px; font-size: 19px; }
    .tm2h-slide__desc { font-size: 15px; }
    .tm2h-slide__txt .tm2-mv { margin-top: 22px; }
    .tm2h-slide__img { height: 260px; order: 0; }
    .tm2h-hero__ctrl { bottom: 40px; }
    .tm2h-hero__bar { width: 90px; }
    .tm2h-scroll { display: none; }
    .tm2h-events { display: flex; gap: 14px; margin: 0 calc(var(--tm2-pad) * -1); padding: 0 var(--tm2-pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .tm2h-events::-webkit-scrollbar { display: none; }
    .tm2h-events a { flex: 0 0 78%; scroll-snap-align: start; }
    .tm2h-brands { margin-top: 96px; padding: 72px 0; border-radius: 56px 0 0 0; }
    .tm2h-brands__mark { font-size: 96px; top: 24px; }
    .tm2h-dist { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tm2h-dist a { min-height: 0; padding: 24px 20px; }
    .tm2h-dist img { height: 26px; max-width: 120px; }
    .tm2h-dist__desc { margin-top: 14px; font-size: 14.5px; }
    .tm2h-dist__go { padding-top: 18px; font-size: 13px; }
    .tm2h-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tm2h-logos a { height: 64px; }
    .tm2h-apptabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--tm2-pad) * -1) 24px; padding: 0 var(--tm2-pad); scrollbar-width: none; }
    .tm2h-apptabs::-webkit-scrollbar { display: none; }
    .tm2h-app.is-on { grid-template-columns: 1fr; gap: 24px; }
    .tm2h-app__card { min-height: 340px; }
    .tm2h-app__card > div { padding: 26px 24px 28px; }
    .tm2h-app__card h3 { font-size: 28px; }
    .tm2h-app__grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
    .tm2h-prod__img { height: 150px; border-radius: 22px; }
    .tm2h-prod__img img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
    .tm2h-prod b { font-size: 16px; }
    .tm2h-svc { padding-top: 110px; gap: 32px; }
    .tm2h-svc__circles { flex-direction: column; align-items: stretch; gap: 10px; }
    .tm2h-svc__circles a { width: auto; height: auto; margin: 0 !important; padding: 28px 24px; border-radius: var(--tm2-r); align-items: flex-start; text-align: left; }
    .tm2h-clients { margin-top: 110px; padding: 72px 0 80px; border-radius: 0 56px 0 0; }
    .tm2h-client { width: 150px; height: 70px; }
}
.tm2h-hero__btn svg[hidden] { display: none !important; }
