/* 메인 페이지 전용 디자인 */
.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 700;
}
.dark .eyebrow { color: var(--accent); }

.big {
  color: var(--ink-900);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.dark .big { color: var(--white); }

/* 첫 화면 */
.h-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--white);
}
.h-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.6);
}
.h-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.92), rgba(11,11,12,0.2) 65%);
}
.h-hero canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.h-hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; pointer-events: none; }
.h-hero a { pointer-events: auto; }
.h-name { color: var(--accent); font-weight: 600; }
.h-hero h1 {
  margin: 20px 0 28px;
  font-size: clamp(32px, 6.4vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.h-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h-line > span { display: block; animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.h-line + .h-line > span { animation-delay: 0.14s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.h-text { max-width: 620px; color: #d6d6d6; font-size: clamp(17px, 1.7vw, 21px); }
.h-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 회사 소개 */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.about-grid .lead { margin-top: 28px; }
.about-grid .btn { margin-top: 36px; }

.counts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 2px solid var(--ink-900); }
.counts > div { padding: 28px 28px 0 0; }
.counts > div + div { padding-left: 28px; border-left: 1px solid var(--gray-200); }
.counts b {
  display: block;
  color: var(--ink-900);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.counts small { font-size: 0.32em; font-weight: 700; letter-spacing: 0; }
.counts span { color: var(--gray-500); }

.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* 일하는 기준 */
.rows { margin-top: 48px; border-top: 2px solid var(--ink-900); }
.rows > li {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding-left 0.3s;
}
.rows > li:hover { padding-left: 16px; }
.rows .num { margin: 0; }
.rows h3 { color: var(--ink-900); font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.rows p { color: var(--gray-700); font-size: 18px; }

/* 공장 */
.plant { position: relative; display: flex; align-items: flex-end; min-height: 620px; color: var(--white); }
.plant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,0.92), rgba(11,11,12,0.25)); }
.plant .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 72px; }
.plant .big { color: var(--white); }
.plant .eyebrow { color: var(--accent); }
.plant .lead { margin-top: 20px; color: #d6d6d6; }
.plant .h-actions { margin-top: 32px; }
.plant-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 문의 */
.reach .big a { display: inline-block; margin-top: 8px; color: var(--accent); }
.reach .big a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px; }
.reach-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2); }
.reach-info b { display: block; margin-bottom: 4px; color: #9a9a9a; font-size: 15px; font-weight: 500; }
.reach-info p, .reach-info a { color: var(--white); }
.reach-info a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .counts { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .counts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .counts > div:nth-child(n+3) { margin-top: 24px; }
  .rows > li { grid-template-columns: 60px 1fr; }
  .rows p { grid-column: 2; }
  .reach-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .h-hero .wrap { padding-bottom: 88px; }
  .counts > div { padding: 20px 10px 0 0; }
  .counts > div:nth-child(even) { padding-left: 12px; }
  .counts b { font-size: 34px; }
  .counts small { font-size: 0.45em; }
  .counts span { font-size: 14px; }
  .rows > li { grid-template-columns: 40px 1fr; gap: 8px 12px; padding: 24px 0; }
  .rows p { font-size: 16px; }
  .plant { min-height: 520px; }
  .plant::after { background: linear-gradient(transparent 10%, rgba(11,11,12,0.94) 70%); }
  .reach-info { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-line > span { animation: none; }
  .rows > li { transition: none; }
}
