/* 벼리기계 — 산업기계·설비 시안 (어두운 테마, 큰 사진 전면, 왼쪽 세로 메뉴)
   바탕: 흑연 녹회색 / 글자: 뼈색 / 강조: 신호등 호박색 */
:root {
  --bg: #141714;
  --bg-2: #1c201c;
  --panel: #232823;
  --bone: #eceae3;
  --muted: #a3aaa2;
  --dim: #6f776e;
  --amber: #f5a524;
  --amber-2: #ffbf52;
  --line: rgba(236, 234, 227, 0.12);
  --line-2: rgba(236, 234, 227, 0.24);
  --kr: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --disp: "Big Shoulders Display", "Pretendard Variable", Pretendard, sans-serif;
  --rail: 92px;
  --pad: clamp(20px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--bone); font: 400 16px/1.7 var(--kr); letter-spacing: -0.01em; word-break: keep-all; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; line-height: 1.15; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.disp { font-family: var(--disp); letter-spacing: 0.01em; }

/* ───── 뼈대: 왼쪽 세로 메뉴 + 본문 ───── */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.rail {
  position: sticky; top: 0; height: 100vh; z-index: 40;
  display: flex; flex-direction: column; align-items: center; padding-bottom: 36px;
  background: var(--bg); border-right: 1px solid var(--line);
}
.rail__logo { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 22px 0 24px; border-bottom: 1px solid var(--line); text-decoration: none; }
.rail__logo svg { width: 44px; height: 44px; }
.rail__name { writing-mode: vertical-rl; font-weight: 800; font-size: 15px; letter-spacing: 0.3em; margin-top: 16px; color: var(--bone); text-decoration: none; }
.rail nav { margin-top: auto; margin-bottom: auto; display: flex; flex-direction: column; gap: 4px; }
.rail nav a {
  writing-mode: vertical-rl; padding: 14px 0; width: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.12em; text-decoration: none; color: var(--muted);
  border-radius: 999px; transition: color .2s, background .2s;
}
.rail nav a:hover { color: var(--bone); background: var(--panel); }
.rail nav a[aria-current="page"] { color: var(--bg); background: var(--amber); }
.rail__call { width: 100%; border-top: 1px solid var(--line); display: grid; place-items: center; height: 76px; text-decoration: none; color: var(--amber); }
.rail__call svg { width: 24px; height: 24px; }
.navbtn { display: none; }
.mnav { display: none; }

/* ───── 공통 ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.btn--amber { background: var(--amber); color: #1a1406; border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-2); }
.btn--ghost:hover { border-color: var(--bone); }
.btn svg { width: 18px; height: 18px; }
.sec { padding: clamp(88px, 11vw, 160px) var(--pad); }
.kicker { font: 700 15px/1 var(--kr); letter-spacing: -0.01em; color: var(--amber); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(245, 165, 36, .18); }
.h2 { font-size: clamp(32px, 4vw, 60px); font-weight: 800; }
.lead { color: var(--muted); font-size: 17.5px; max-width: 34em; }

/* ───── 첫 화면: 사진 전면 ───── */
.hero { position: relative; min-height: calc(100svh - 36px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.06); animation: settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,23,20,.25) 0%, rgba(20,23,20,0) 30%, rgba(20,23,20,.55) 62%, rgba(20,23,20,.96) 100%), linear-gradient(90deg, rgba(20,23,20,.7) 0%, rgba(20,23,20,0) 55%); }
.hero__in { width: 100%; padding: 0 var(--pad) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero__tag { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--bone); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(20,23,20,.4); backdrop-filter: blur(6px); margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 104px); font-weight: 800; line-height: 1.04; letter-spacing: -0.055em; }
.hero h1 span { display: block; }
.hero__sub { margin-top: 26px; max-width: 36em; font-size: 18px; color: #d3d2cb; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.live { width: 300px; padding: 20px; border-radius: 18px; background: rgba(28, 32, 28, .72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.live__head { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.tower { display: grid; gap: 3px; }
.tower i { display: block; width: 14px; height: 9px; border-radius: 2px; background: #3b413b; }
.tower i.on-g { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.tower i.on-a { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { background: #3b413b; box-shadow: none; } }
.live b { display: block; margin-top: 14px; font-size: 17px; line-height: 1.45; }
.live__bar { margin-top: 16px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.live__bar span { display: block; height: 100%; width: 72%; background: var(--amber); }
.live__meta { display: flex; justify-content: space-between; margin-top: 8px; font: 600 14px var(--disp); letter-spacing: .04em; color: var(--muted); }

/* ───── 장비 라인업: 가로 스크롤 띠 ───── */
.lineup { position: relative; }
.lineup__head { padding: clamp(88px, 11vw, 150px) var(--pad) 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hs { position: relative; }
.hs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hs__track { display: flex; gap: 24px; padding: 0 var(--pad); will-change: transform; }
.mcard { flex: 0 0 clamp(300px, 34vw, 500px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .3s; }
.mcard:hover { border-color: var(--amber); }
.mcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mcard:hover .mcard__img img { transform: scale(1.05); }
.mcard__body { padding: 24px 26px 26px; display: grid; gap: 8px; }
.mcard__code { font: 700 22px/1 var(--disp); color: var(--amber); letter-spacing: .04em; }
.mcard h3 { font-size: 24px; }
.mcard p { color: var(--muted); font-size: 15px; }
.mcard dl { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 14px; gap: 8px; }
.mcard dt { font-size: 12.5px; color: var(--dim); }
.mcard dd { margin: 2px 0 0; font: 700 19px/1.1 var(--disp); letter-spacing: .02em; }
.hs__progress { margin: 36px var(--pad) 0; height: 2px; background: var(--line); position: relative; }
.hs__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); }
.hs__count { margin: 14px var(--pad) 0; display: flex; justify-content: space-between; font: 600 15px var(--disp); letter-spacing: .06em; color: var(--muted); }
/* 스크립트가 꺼졌거나 좁은 화면: 손가락으로 넘기는 띠 */
.hs.is-native .hs__sticky { position: static; height: auto; padding-bottom: 20px; }
.hs.is-native .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.hs.is-native .mcard { scroll-snap-align: start; }
.hs.is-native .hs__progress, .hs.is-native .hs__count { display: none; }

/* ───── 개요 ───── */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: start; border-top: 1px solid var(--line); }
.about__big { font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; line-height: 1.45; letter-spacing: -0.04em; }
.about__big em { font-style: normal; color: var(--amber); }
.about__side p { color: var(--muted); font-size: 17px; }
.about__side p + p { margin-top: 16px; }
.about__img { margin-top: 32px; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.textlink { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; font-weight: 700; text-decoration: none; color: var(--amber); }
.textlink:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ───── 공정: 스크롤 진행 표시 ───── */
.flow { background: var(--bone); color: #1b1f1b; border-radius: 36px 36px 0 0; }
.flow .lead { color: #4b524a; }
.flow .kicker { color: #b86f00; }
.flow__grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.flow__stick { position: sticky; top: 40px; align-self: start; }
.flow__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #2a2f2a; }
.flow__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.flow__frame img.is-on { opacity: 1; }
.flow__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: rgba(20,23,20,.82); color: var(--bone); backdrop-filter: blur(6px); }
.flow__no { font: 800 44px/1 var(--disp); color: var(--amber); }
.flow__no small { font-size: 20px; color: var(--muted); }
.flow__name { font-weight: 700; text-align: right; }
.flow__meter { position: absolute; top: 18px; left: 18px; right: 18px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.flow__meter span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .3s; }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: #d5d2c8; }
.steps__fill { position: absolute; z-index: 1; left: 21px; top: 8px; width: 2px; height: 0; background: var(--amber); }
.step { position: relative; padding: 0 0 clamp(64px, 9vh, 110px) 72px; opacity: .38; transition: opacity .4s; }
.step:last-child { padding-bottom: 0; }
.step.is-on, .step.is-past { opacity: 1; }
.step__dot { position: absolute; left: 10px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--bone); border: 2px solid #b8b4a8; transition: background .3s, border-color .3s; }
.step.is-on .step__dot, .step.is-past .step__dot { background: var(--amber); border-color: var(--amber); }
.step__when { font: 700 16px var(--disp); letter-spacing: .06em; color: #8a6a2c; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 6px; }
.step p { margin-top: 12px; color: #4b524a; font-size: 16.5px; max-width: 30em; }
.step ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.step li { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #e0ddd3; }
.step__img { display: none; }

/* ───── 실적 ───── */
.record { background: var(--bone); color: #1b1f1b; padding-top: 0; }
.record__in { border-top: 1px solid #d5d2c8; padding-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.record .kicker { color: #b86f00; }
.record .lead { color: #4b524a; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.stat { padding: 28px 0 28px; border-bottom: 1px solid #d5d2c8; }
.stat:nth-child(odd) { padding-right: 28px; border-right: 1px solid #d5d2c8; }
.stat:nth-child(even) { padding-left: 28px; }
.stat__v { font: 800 clamp(56px, 6.5vw, 104px)/0.9 var(--disp); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 8px; }
.stat__v small { font: 700 20px var(--kr); }
.stat p { margin-top: 10px; color: #4b524a; }
.sectors { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sectors span { padding: 9px 16px; border-radius: 999px; border: 1px solid #c9c5b8; font-weight: 600; font-size: 15px; }

/* ───── 거래처·인증 ───── */
.trust { padding-top: clamp(88px, 10vw, 140px); }
.logos { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos div { display: grid; place-items: center; height: 120px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; padding: 8px; transition: color .25s, background .25s; }
.logos div:hover { color: var(--bone); background: var(--bg-2); }
.l1 { font: 800 26px var(--disp); letter-spacing: .08em; }
.l2 { font: 800 19px var(--kr); letter-spacing: -0.05em; }
.l3 { font: 500 19px var(--kr); letter-spacing: .2em; }
.l4 { font: 700 23px var(--disp); }
.l5 { font: 700 17px var(--kr); padding: 6px 12px; border-radius: 6px; border: 2px solid currentColor; }
.l6 { font: 600 20px var(--kr); }
.certs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cert { padding: 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.cert b { display: block; font: 800 26px/1 var(--disp); letter-spacing: .03em; color: var(--bone); }
.cert span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.note { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* ───── 문의 ───── */
.contact { padding-top: 0; }
.contact__box { position: relative; border-radius: 32px; overflow: hidden; background: var(--amber); color: #1a1406; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.contact__main { padding: clamp(32px, 5vw, 72px); }
.contact__main h2 { font-size: clamp(32px, 4vw, 58px); font-weight: 800; }
.contact__main > p { margin-top: 18px; font-size: 17.5px; max-width: 30em; }
.prep { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prep li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.prep li::before { content: ""; flex: none; width: 8px; height: 8px; background: #1a1406; border-radius: 2px; transform: translateY(-2px); }
.contact__main .btn { margin-top: 32px; background: #1a1406; color: var(--amber); border-color: #1a1406; }
.contact__main .btn:hover { background: #000; }
.contact__side { background: #1a1406; color: var(--bone); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; }
.contact__side dl { margin: 0; display: grid; gap: 18px; }
.contact__side dt { font-size: 13px; color: var(--muted); }
.contact__side dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.contact__side .tel { font: 800 40px/1 var(--disp); letter-spacing: .02em; color: var(--amber); text-decoration: none; }
.map { margin-top: auto; border-radius: 16px; overflow: hidden; border: 1px solid rgba(236,234,227,.16); }
.map svg { display: block; width: 100%; height: auto; }

/* ───── 바닥 ───── */
.foot { padding: 64px var(--pad) 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.foot__brand { font: 800 64px/0.9 var(--disp); letter-spacing: .02em; color: var(--panel); -webkit-text-stroke: 1px var(--line-2); }
.foot__info { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--bone); }
.foot__copy { grid-column: 1 / -1; color: var(--dim); font-size: 13px; }

/* ───── 서브 페이지 ───── */
.phead { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phead img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,23,20,.2), rgba(20,23,20,.95)); }
.phead__in { padding: 0 var(--pad) clamp(40px, 6vw, 72px); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--amber); }
.phead h1 { font-size: clamp(40px, 6vw, 92px); font-weight: 800; letter-spacing: -0.055em; }
.phead p { margin-top: 18px; max-width: 34em; color: #d3d2cb; font-size: 17.5px; }

.greet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.greet h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.3; }
.greet__body p { color: var(--muted); font-size: 17px; }
.greet__body p + p { margin-top: 16px; }
.greet__sign { margin-top: 28px; font-weight: 700; }
.greet__sign small { color: var(--dim); font-weight: 500; margin-left: 8px; }

.years { margin-top: 56px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--amber); }
.year { padding: 24px 18px 0 0; position: relative; }
.year::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--amber); }
.year b { display: block; font: 800 44px/1 var(--disp); color: var(--bone); }
.year span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

.teams { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.team { padding: 26px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.team__n { font: 800 40px/1 var(--disp); color: var(--amber); }
.team__n small { font: 600 15px var(--kr); color: var(--muted); margin-left: 4px; }
.team h3 { margin-top: 14px; font-size: 21px; }
.team p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.team--ceo { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--panel); }
.team--ceo h3 { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filters button { font: 600 15px var(--kr); color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; transition: all .2s; }
.filters button:hover { color: var(--bone); border-color: var(--bone); }
.filters button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #1a1406; }
.pgrid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pgrid .mcard { flex: none; }
.pgrid .mcard[hidden] { display: none; }

.pd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); margin-top: 56px; }
.pd__gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.pd__gallery figure { margin: 0; border-radius: 18px; overflow: hidden; }
.pd__gallery figure:first-child { grid-row: span 2; }
.pd__gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd__layout { margin-top: 12px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 18px; }
.pd__layout svg { width: 100%; height: auto; display: block; }
.pd__layout p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.pd__code { font: 700 24px var(--disp); color: var(--amber); letter-spacing: .04em; }
.pd__info h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; margin-top: 8px; }
.pd__info > p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.spec { width: 100%; border-collapse: collapse; margin-top: 26px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.spec th { color: var(--dim); font-weight: 500; width: 36%; }
.pd__info .btn { margin-top: 28px; }

/* ───── 반응형 ───── */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .years { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; border-top: 0; }
  .teams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .year { border-top: 2px solid var(--amber); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; top: 0; height: 64px; padding-bottom: 0; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 8px 0 16px; background: rgba(20,23,20,.92); backdrop-filter: blur(8px); }
  .rail__logo { width: auto; height: 64px; padding: 0; border: 0; gap: 10px; flex-direction: row; display: flex; align-items: center; }
  .rail__logo svg { width: 36px; height: 36px; }
  .rail__name { writing-mode: horizontal-tb; margin: 0 0 0 10px; letter-spacing: 0.04em; font-size: 18px; }
  .rail nav, .rail__call { display: none; }
  .navbtn { display: grid; place-items: center; margin-left: auto; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--panel); color: var(--bone); cursor: pointer; }
  .navbtn span, .navbtn span::before, .navbtn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .25s; }
  .navbtn span::before, .navbtn span::after { content: ""; position: absolute; left: 0; }
  .navbtn span::before { top: -6px; } .navbtn span::after { top: 6px; }
  .ce-nav-open .navbtn span { background: transparent; }
  .ce-nav-open .navbtn span::before { transform: translateY(6px) rotate(45deg); }
  .ce-nav-open .navbtn span::after { transform: translateY(-6px) rotate(-45deg); }
  .mnav { display: none; position: fixed; inset: 0; z-index: 39; background: var(--bg); padding: 140px 20px 32px; flex-direction: column; overflow-y: auto; }
  .mnav.is-open { display: flex; }
  .mnav a { font-size: 26px; font-weight: 800; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; letter-spacing: -0.04em; }
  .mnav a.mnav__call { margin-top: 24px; border: 0; border-radius: 999px; background: var(--amber); color: #1a1406; text-align: center; font-size: 18px; }
  .ce-nav-open body { overflow: hidden; }
  .hero { min-height: calc(100svh - 100px); }
  .hero__in { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(20,23,20,.35) 0%, rgba(20,23,20,.72) 40%, rgba(20,23,20,.96) 100%); }
  .live { width: 100%; }
  .lineup__head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 32px; }
  .about, .flow__grid, .record__in, .contact__box, .greet, .pd { grid-template-columns: 1fr; }
  .flow { border-radius: 24px 24px 0 0; }
  .flow__stick { display: none; }
  .step__img { display: block; margin-top: 16px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }
  .stat__v { font-size: 56px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__box { border-radius: 24px; }
  .foot { grid-template-columns: 1fr; }
  .foot__brand { font-size: 48px; }
  .teams { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .mcard { flex-basis: 84vw; }
  .mcard dd { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { padding-right: 0; border-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
  .certs { grid-template-columns: 1fr; }
  .step { padding-left: 56px; }
  .years { grid-template-columns: 1fr 1fr; }
  .teams { grid-template-columns: 1fr; }
  .team--ceo { flex-direction: column; align-items: flex-start; }
  .contact__side .tel { font-size: 34px; }
  .pd__gallery { grid-template-columns: 1fr; }
  .pd__gallery figure:first-child { grid-row: auto; }
}
