/* 퍼스트씨앤건설 — 로고의 검정(#231f20)과 빨강(#ce171e), 상업 포트폴리오의 따뜻한 회백색을 쓴다. */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/pretendard-subset.woff2?v=b5482148bc") format("woff2-variations");
}

:root {
  --ink: #1f1c1d;
  --ink-2: #47423f;
  --muted: #6d6764;
  --paper: #f6f3ef;
  --paper-2: #efeae4;
  --white: #ffffff;
  --red: #ce171e;
  --red-ink: #b3131a;
  --sand: #e8c9a5;
  --dark: #1a1718;
  --hair: rgba(31, 28, 29, 0.09);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header: 68px;
  --bar: 0px;
  --shadow: 0 1px 2px rgba(31, 28, 29, 0.06), 0 10px 30px rgba(31, 28, 29, 0.07);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--dark); color: #f3efea; }
.section.dark .lead, .section.dark .muted { color: #c9c1b8; }

.eyebrow { display: inline-block; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.01em; color: var(--red-ink); margin-bottom: 14px; }
.dark .eyebrow { color: var(--sand); }
.h-display { font-size: clamp(2.05rem, 1.25rem + 3.1vw, 3.55rem); font-weight: 800; line-height: 1.17; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.65rem, 1.15rem + 1.75vw, 2.55rem); font-weight: 780; line-height: 1.24; }
.h3 { font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem); font-weight: 720; line-height: 1.4; }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-2); line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }
.tiny { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .lead { margin-top: 16px; margin-bottom: 0; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* 버튼·링크 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(206, 23, 30, 0.24); }
.btn-red:hover { background: var(--red-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-soft { background: var(--paper-2); color: var(--ink); }
.btn-soft:hover { background: #e6dfd7; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ece6; }
.btn-line-dark { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-line-dark:hover { background: rgba(255, 255, 255, 0.18); }
.btn .ico { width: 20px; height: 20px; flex: 0 0 auto; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.more:hover { color: var(--red-ink); }
.dark .more { color: #fff; }
.chev { width: 0.8em; height: 0.8em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
a:hover .chev { transform: translateX(2px); }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255, 255, 255, 0.96); transition: box-shadow .2s ease; }
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--hair), 0 6px 24px rgba(31, 28, 29, 0.06); }
.hdr { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
/* 대메뉴: 마우스를 올리거나 키보드로 들어오면 모든 하위 메뉴를 한 판에 펼친다 */
.nav { display: none; align-self: stretch; }
.gnb { display: flex; align-items: stretch; height: 100%; }
.gnb li { display: flex; }
.gnb a { position: relative; display: flex; align-items: center; padding: 0 16px; font-size: 1rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.gnb a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.gnb a:hover, .gnb a.on { color: var(--ink); }
.gnb a:hover::after, .gnb a.on::after { transform: scaleX(1); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--hair); box-shadow: 0 18px 40px rgba(31, 28, 29, 0.1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav:hover .mega, .nav:focus-within .mega, .nav.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr 1fr 0.8fr; gap: 28px; padding-top: 26px; padding-bottom: 32px; }
.mega-col b { display: block; margin-bottom: 8px; font-size: 0.8125rem; font-weight: 750; color: var(--red-ink); }
.mega-col a { display: block; padding: 6px 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.mega-col a:hover, .mega-col a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hdr-cta { display: flex; align-items: center; gap: 8px; }
.hdr-tel { display: none; align-items: center; gap: 8px; font-weight: 750; font-size: 1.0625rem; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.hdr-tel:hover { background: var(--paper); }
.hdr-tel .ico { width: 18px; height: 18px; color: var(--red); }
.hdr .btn { min-height: 44px; padding: 0 18px; font-size: 0.9875rem; }
.menu-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.hdr-call-m { width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hdr-call-m .ico { width: 20px; height: 20px; }
.hdr .btn-quote { display: none; }

.m-nav { position: fixed; inset: var(--header) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 8px var(--gutter) calc(110px + env(safe-area-inset-bottom)); display: none; }
.menu-open .m-nav { display: block; }
.menu-open { overflow: hidden; }
.m-nav .grp { border-bottom: 1px solid var(--hair); }
.m-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 1.1875rem; font-weight: 750; cursor: pointer; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary .plus { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.m-nav summary .plus::before, .m-nav summary .plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }
.m-nav summary .plus::after { transform: rotate(90deg); }
.m-nav .grp[open] summary .plus::after { transform: rotate(0deg); }
.m-nav .grp-links { padding: 0 0 12px; }
.m-nav .grp-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; border-radius: 10px; font-size: 1.0625rem; font-weight: 600; color: var(--ink-2); }
.m-nav .grp-links a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.m-nav .m-contact { margin-top: 18px; padding: 20px; border-radius: var(--radius); background: var(--paper); }
.m-nav .m-contact .btn { width: 100%; margin-top: 10px; }

/* 첫 화면 */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; gap: 36px; padding-top: 36px; }
.hero-copy { padding-bottom: 8px; }
.hero h1 { margin: 6px 0 18px; }
.hero h1 .accent { color: var(--red); }
.hero .lead { margin-bottom: 26px; max-width: 34em; }
.hero .btns .btn { flex: 1 1 auto; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.proof { padding: 16px 14px 14px; border-radius: var(--radius-sm); background: #fff; }
.proof b { display: block; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); }
.proof span { display: block; margin-top: 6px; font-size: 0.875rem; font-weight: 650; line-height: 1.4; color: var(--ink-2); }
.proof small { display: block; margin-top: 6px; font-size: 0.75rem; line-height: 1.45; color: var(--muted); }
.license-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 650; color: var(--ink-2); }
.license-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(206, 23, 30, 0.14); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(206, 23, 30, 0.16); } 50% { box-shadow: 0 0 0 7px rgba(206, 23, 30, 0.04); } }

.reel { position: relative; height: 300px; margin: 0 calc(var(--gutter) * -1); overflow: hidden; }
.reel-track { display: flex; gap: 12px; width: max-content; animation: reel-x 70s linear infinite; padding: 0 12px; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel figure { margin: 0; position: relative; width: 240px; height: 300px; border-radius: 16px; overflow: hidden; background: var(--paper-2); flex: 0 0 auto; }
.reel figure img { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(20, 18, 19, 0.72); color: #fff; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; }
.reel-col { display: contents; }
@keyframes reel-x { to { transform: translateX(-50%); } }
@keyframes reel-y { to { transform: translateY(-50%); } }

/* 업종 타일 */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; aspect-ratio: 4 / 5; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 19, 0) 35%, rgba(20, 18, 19, 0.82) 100%); z-index: -1; }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.tile-body b { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); font-weight: 750; line-height: 1.3; }
.tile-body span { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: #e6dfd8; }

/* 사례 카드 */
.cards { display: grid; gap: 28px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: block; }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-meta { margin-top: 12px; font-size: 0.8125rem; font-weight: 650; color: var(--muted); }
.card-title { margin-top: 2px; font-size: 1.0625rem; font-weight: 720; line-height: 1.4; letter-spacing: -0.02em; }
.card-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 0.75rem; font-weight: 700; color: var(--ink); }
.badge.red { background: var(--red); color: #fff; }
.cards.lg { grid-template-columns: 1fr; }

/* 필터 */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 calc(var(--gutter) * -1) 18px; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--paper); font-weight: 650; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }


/* 이유·특징 */
.points { display: grid; gap: 14px; }
.point { padding: 26px 24px; border-radius: var(--radius); background: #fff; }
.paper .point { background: #fff; }
.section:not(.paper):not(.dark) .point { background: var(--paper); }
.point h3 { margin-bottom: 10px; }
.point p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.point .ex { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 0.9rem; color: var(--muted); }
.point .ex a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(31, 28, 29, 0.25); text-underline-offset: 3px; }

.split { display: grid; gap: 28px; align-items: center; }
.split > *, .contact > *, .faq-cols > *, .page-hero-grid > *, .hero-grid > *, .ft-grid > * { min-width: 0; }
.split-media { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: none; border-radius: 0; }
.split-media.duo img { border-radius: var(--radius-sm); aspect-ratio: 3 / 4; }

/* 면허·보증 */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.09); border-radius: var(--radius); overflow: hidden; }
.fact { background: #221f20; padding: clamp(16px, 4vw, 22px); }
.fact dt { font-size: 0.8125rem; font-weight: 650; color: var(--sand); margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.5; color: #fff; }
.fact dd small { display: block; margin-top: 4px; font-size: 0.8125rem; font-weight: 500; color: #b9b0a6; }
.law-note { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); color: #e7e0d8; font-size: 1rem; }
.law-note b { color: #fff; }

/* 수치 */
.stats { display: grid; gap: 12px; }
.stat { padding: 24px; border-radius: var(--radius); background: #fff; }
.stat b { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); font-weight: 820; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.stat b em { font-style: normal; color: var(--red); }
.stat span { display: block; margin-top: 10px; font-weight: 700; }
.stat small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }

/* 수상·보도 */
.awards { display: grid; gap: 10px; }
.award { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); }
.award .yr { font-weight: 800; color: var(--red-ink); font-size: 0.9375rem; }
.award b { display: block; font-weight: 700; line-height: 1.45; }
.award small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8125rem; }
.press { display: grid; gap: 0; }
.press a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--hair); }
.press a:last-child { border-bottom: 0; }
.press .t { font-weight: 650; line-height: 1.5; }
.press .s { grid-column: 1; font-size: 0.8125rem; color: var(--muted); }
.press .chev { grid-row: 1 / span 2; grid-column: 2; color: var(--muted); }
.press a:hover .t { color: var(--red-ink); }

/* 절차 */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 70px; border-radius: var(--radius); background: #fff; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-weight: 800; font-size: 0.9375rem; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.step .src { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: #fff; }
.section:not(.paper) .faq details { background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 20px 22px; font-weight: 700; font-size: 1.0625rem; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; border-radius: 50%; background: var(--ink); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease; }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); }
.faq .ans p { margin: 0; }
.faq .ans .more { margin-top: 12px; font-size: 0.9375rem; }

/* 영상 */
.video { margin: 0; }
.video video { width: 100%; height: auto; border-radius: var(--radius); background: #000; }
.video figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.dark .video figcaption { color: #b9b0a6; }
.videos { display: grid; gap: 22px; }
.video.vert video { max-width: 380px; margin: 0 auto; }

/* 문의 */
.contact { display: grid; gap: 28px; }
.contact-side .tel-big { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 6px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 820; letter-spacing: -0.03em; color: #fff; }
.contact-side .tel-big .ico { width: 30px; height: 30px; color: var(--red); }
.contact-side dl { margin: 22px 0 0; display: grid; gap: 10px; }
.contact-side dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: 0.9375rem; }
.contact-side dt { color: #b9b0a6; }
.contact-side dd { margin: 0; color: #f3efea; }
.contact-side dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.form { background: #fff; color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 34px); }
.form h3 { margin-bottom: 4px; }
.form .tiny { margin-bottom: 18px; }
.fld { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.fld > label, .fld > legend { display: block; font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
.fld .opt { font-weight: 500; color: var(--muted); font-size: 0.8125rem; margin-left: 4px; }
.fld .req { color: var(--red); margin-left: 2px; }
.fld input[type="text"], .fld input[type="tel"], .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #e2dbd3; background: #fff; font-size: 16px; line-height: 1.5; transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231f1c1d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31, 28, 29, 0.08); }
.fld .err-msg { display: none; margin-top: 6px; font-size: 0.8125rem; color: var(--red-ink); font-weight: 600; }
.fld.invalid input, .fld.invalid select { border-color: var(--red); }
.fld.invalid .err-msg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper); font-size: 0.9375rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.row2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 6px; font-size: 0.9375rem; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.consent-more { margin: 0 0 18px; font-size: 0.8125rem; color: var(--muted); }
.consent-more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: 650; color: var(--ink-2); }
.consent-more .box { margin-top: 8px; padding: 14px 16px; border-radius: 10px; background: var(--paper); line-height: 1.65; }
.form .btn { width: 100%; }
.form-status { margin-top: 12px; font-size: 0.9375rem; font-weight: 650; min-height: 1.5em; }
.form-status.err { color: var(--red-ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: left; }
.done .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.done .ok svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* 페이지 머리 */
.page-hero { background: var(--paper); padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.8125rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .chev { width: 0.7em; height: 0.7em; }
.page-hero-grid { display: grid; gap: 28px; align-items: end; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.page-hero .lead { margin: 16px 0 24px; max-width: 40em; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero-media.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; background: none; border-radius: 0; }
.page-hero-media.mosaic img { border-radius: var(--radius-sm); height: 100%; aspect-ratio: auto; }
.page-hero-media.mosaic img:first-child { grid-row: 1 / span 2; }
.page-hero-media.mosaic { height: clamp(240px, 32vw, 400px); }

/* 사례 상세 */
.case-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.spec { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 0.875rem; }
.spec b { font-weight: 700; color: var(--muted); }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
.gallery button { padding: 0; border: 0; background: var(--paper-2); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; display: block; width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img { aspect-ratio: 4 / 3; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(10, 9, 9, 0.92); }
.lightbox .lb { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 10px; }
.lightbox .lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev .chev { transform: rotate(180deg); }
.lightbox .lb-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.lightbox .lb-cap { position: fixed; left: 0; right: 0; bottom: 14px; text-align: center; color: #ddd; font-size: 0.875rem; }

/* 본문 글(가이드·개인정보) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); margin: 48px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 16px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.prose ol { counter-reset: o; margin: 0 0 1em; }
.prose ol li { position: relative; padding-left: 30px; margin-bottom: 10px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); font-size: 0.8125rem; font-weight: 800; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.prose a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(31, 28, 29, 0.3); text-underline-offset: 3px; }
.prose .callout { margin: 22px 0; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--hair); }
.prose th { width: 32%; color: var(--muted); font-weight: 650; }
.updated { font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }

/* 실적 목록 */
.ref-group { margin-bottom: 44px; }
.ref-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 16px; }
.ref-head h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }

.ref-list { columns: 2 150px; column-gap: 24px; }
.ref-list li { break-inside: avoid; padding: 6px 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }

/* 회사 정보 표 */
.info { display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--muted); font-weight: 650; font-size: 0.9375rem; }
.info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.group { display: grid; gap: 12px; }
.group .co { padding: 22px; border-radius: var(--radius); background: #fff; }
.group .co b { display: block; font-size: 1.125rem; }
.group .co span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.people { display: grid; gap: 12px; }
.person { padding: 24px; border-radius: var(--radius); background: var(--paper); }
.person .role { font-size: 0.8125rem; font-weight: 700; color: var(--red-ink); }
.person b { display: block; margin: 4px 0 10px; font-size: 1.25rem; }
.person ul li { position: relative; padding-left: 14px; margin-bottom: 6px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }
.person ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: #b8aea3; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 650; font-size: 0.9375rem; }
.paper .brands li { background: #fff; }
.section:not(.paper) .brands li { background: var(--paper); }

/* 띠 CTA */
.cta-band { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; align-items: center; }
.cta-band h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); }
.cta-band p { margin: 10px 0 0; color: #cfc7be; }

.mt { margin-top: 22px; }
.mt-s { margin-top: 12px; }
.mt-xs { margin-top: 6px; }
.split.top { align-items: start; }
.case-lead { margin: 16px 0 18px; max-width: 46em; }
.narrow { max-width: 640px; }

/* 바닥글: 전체 메뉴를 사이트맵처럼 펼친다 */
.site-footer { background: var(--dark); color: #b9b0a6; padding: 56px 0 40px; font-size: 0.9375rem; }
.ft-top { display: grid; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ft-logo img { height: 42px; width: auto; }
.ft-slogan { margin: 14px 0 10px; color: #e9e2da; font-weight: 650; }
.ft-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.ft-tel .ico { width: 20px; height: 20px; color: var(--red); }
.ft-map { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.ft-col b { display: block; margin-bottom: 8px; font-size: 0.9375rem; color: #fff; }
.ft-col a { display: block; padding: 4px 0; font-size: 0.875rem; line-height: 1.5; color: #cfc6bc; }
.ft-col a:hover, .ft-info a:hover { color: #fff; }
.ft-info { display: grid; gap: 6px; margin-top: 26px; line-height: 1.6; }
.ft-info b { color: #e9e2da; font-weight: 650; }

/* 같은 대메뉴 안 앞뒤 페이지 */
.pager { background: var(--paper); border-top: 1px solid var(--hair); }
.pager-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.pg { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; min-height: 56px; padding: 8px 4px; }
.pg small { grid-column: 2; font-size: 0.75rem; font-weight: 650; line-height: 1.3; color: var(--muted); }
.pg b { grid-column: 2; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; }
.pg .chev { grid-column: 1; grid-row: 1 / span 2; }
.pg.prev .chev { transform: rotate(180deg); }
.pg.next { grid-template-columns: 1fr auto; text-align: right; }
.pg.next small, .pg.next b { grid-column: 1; }
.pg.next .chev { grid-column: 2; }
.pg:hover b { color: var(--red-ink); }

/* 서브 페이지 공통 조각 */
.links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.checks { display: grid; gap: 10px; margin: 0; }
.checks li { position: relative; padding-left: 28px; line-height: 1.6; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 1px; top: 0.32em; width: 17px; height: 17px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dark .checks li { color: #e7e0d8; }
.ph { margin: 0; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.ph.contain img, img.contain { object-fit: contain; background: #fff; }
.paper .ph.contain img { background: #fff; }
.ph figcaption { margin-top: 10px; font-size: 0.9375rem; font-weight: 650; line-height: 1.45; color: var(--ink-2); }
.dark .ph figcaption { color: #e7e0d8; }
.ph.card-like figcaption .yr { display: block; font-size: 0.8125rem; font-weight: 800; color: var(--red-ink); }
.ph.card-like figcaption b { display: block; font-size: 1.0625rem; font-weight: 720; color: var(--ink); }
.ph.card-like figcaption small { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 500; line-height: 1.55; color: var(--muted); }
.ph.plan img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 10px; }
.tiles.nine .tile:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.filter-label { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.rchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.rchip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--hair); background: #fff; font-size: 0.9375rem; font-weight: 650; color: var(--ink-2); }

.rchip:hover { border-color: var(--ink); color: var(--ink); }
.rchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.section:not(.paper) .rchip:not(.on) { background: var(--paper); border-color: transparent; }
.dist { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -6px 0 26px; font-size: 0.875rem; color: var(--muted); }

.stats.six { grid-template-columns: 1fr 1fr; }
.stats.six .stat b { font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.4rem); }
.cv h3 { margin: 26px 0 10px; }
.cv h3:first-child { margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 9px 14px; border-radius: 999px; background: #fff; font-size: 0.9375rem; font-weight: 650; }
.section:not(.paper) .group .co { background: var(--paper); }
.group .co ul { display: grid; gap: 4px; margin-top: 12px; }
.group .co li, .cgroup li { position: relative; padding-left: 14px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.group .co li::before, .cgroup li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: #b8aea3; }
.group .co .more { margin-top: 12px; }

/* 조직도 */
.org { display: grid; justify-items: center; }
.org-node { position: relative; padding: 14px 34px; border-radius: 999px; font-size: 1.0625rem; font-weight: 750; color: #fff; }
.org-node.top { background: var(--red); }
.org-node.mid { background: var(--ink); }
.org-node.mid::after { content: ""; position: absolute; left: 50%; top: 100%; height: 26px; border-left: 2px dotted #cfc6bc; }
.org-staff { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 22px 0; }
.org-staff::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dotted #cfc6bc; z-index: -1; }
.org-staff span { padding: 8px 16px; border-radius: 999px; border: 1.5px dashed #cfc6bc; background: #fff; font-size: 0.9375rem; font-weight: 650; color: var(--ink-2); }
.org-units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 26px; padding-top: 26px; border-top: 2px dotted #cfc6bc; }
.unit { padding: 16px; border-radius: var(--radius-sm); background: var(--paper); }
.unit b { display: block; margin-bottom: 6px; font-weight: 750; }
.unit li { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.teams { display: grid; gap: 12px; }
.team { padding: 24px; border-radius: var(--radius); background: var(--paper); }
.team b { display: block; margin-bottom: 10px; font-size: 1.0625rem; }
.team li { padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 0.9375rem; color: var(--ink-2); }
.team li:last-child { border-bottom: 0; }

/* 연혁·보도 */
.timeline { display: grid; gap: 34px; max-width: 940px; }
.tl-year, .press-year { display: grid; gap: 8px; }
.press-year { margin-bottom: 30px; }
.tl-y { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 820; letter-spacing: -0.03em; color: var(--red-ink); }
.tl-year li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.tl-year li .m { padding-top: 1px; font-size: 0.9375rem; font-weight: 750; }
.tl-year li p { margin: 0; font-weight: 600; line-height: 1.55; }
.tl-year li small { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }

/* 수상·인증, 대외활동, 관계사, 오시는 길, 컨설팅, 영상, 사이트맵 */
.creds { display: grid; gap: 10px; }
.cred { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); }
.cred b { font-weight: 750; }
.cred span { font-size: 0.9375rem; color: var(--ink-2); }
.cred small { font-size: 0.8125rem; color: var(--muted); }
.acts { display: grid; gap: 14px; }
.act { display: grid; gap: 16px; padding: 16px; border-radius: var(--radius); background: #fff; }
.act img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.act .yr { font-size: 0.8125rem; font-weight: 800; color: var(--red-ink); }
.act h3 { margin: 2px 0 8px; }
.act p { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.unit-grid { display: grid; gap: 14px; }
.unit-card { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: var(--radius); background: #fff; }
.unit-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.unit-card b { display: block; margin-bottom: 6px; font-size: 1.125rem; }
.unit-card p { margin: 0 0 8px; font-size: 0.98rem; color: var(--ink-2); }
.places { display: grid; gap: 14px; }
.place { padding: 26px; border-radius: var(--radius); background: var(--paper); }
.place h2 { margin-bottom: 6px; }
.place .btns { margin-top: 14px; }
.addr-card { display: grid; align-content: center; gap: 6px; min-height: 260px; padding: clamp(28px, 4vw, 48px); background: var(--dark); color: #fff; }
.addr-card span { font-size: 0.875rem; font-weight: 700; color: var(--sand); }
.addr-card b { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.addr-card small { font-size: 1rem; color: #cfc7be; }
.addr-card .tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 1.25rem; font-weight: 800; color: #fff; }
.addr-card .tel .ico { width: 20px; height: 20px; color: var(--red); }
.cgroups { display: grid; gap: 12px; }
.cgroup { padding: 24px; border-radius: var(--radius); background: var(--paper); }
.cgroup .no { display: block; font-size: 0.8125rem; font-weight: 800; color: var(--red-ink); }
.cgroup b { display: block; margin: 4px 0 10px; font-size: 1.1875rem; }
.cgroup li { margin-bottom: 4px; }
.vid-grid { display: grid; gap: 40px; }
.vid-item h2 { margin: 16px 0 6px; }
.vid-item p { margin: 0; }
.style-grp { margin-bottom: 44px; }
.style-grp:last-child { margin-bottom: 0; }
.style-head { margin-bottom: 16px; }
.sm { display: grid; gap: 28px; }
.sm-col h2 { margin-bottom: 8px; }
.sm-col li { padding: 9px 0; border-bottom: 1px solid var(--hair); }
.sm-col a, .ref-list a { font-weight: 600; }
.sm-col a:hover, .ref-list a:hover { color: var(--red-ink); }
.ft-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 0.8125rem; }
.ft-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-bottom a { color: #d5ccc2; }

/* 모바일 아래 고정 막대 */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); box-shadow: 0 -8px 24px rgba(31, 28, 29, 0.08); }
.mbar .btn { min-height: 50px; font-size: 1rem; padding: 0 12px; }
body { --bar: calc(70px + env(safe-area-inset-bottom)); }

@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .points.two, .points.three { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr 1fr; }
  .group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people.four, .cgroups { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tile { aspect-ratio: 4 / 3.3; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
  .cards.lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev .split-media { order: -1; }
  .split.top .split-media { position: sticky; top: calc(var(--header) + 24px); }
  .awards.two { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .videos.two { grid-template-columns: 1fr 1fr; align-items: start; }
  .ref-list { columns: 3 160px; }
  .ft-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr auto; }
  .page-hero-grid.with-media { grid-template-columns: 1.05fr 1fr; }
  .tiles.nine .tile:last-child { grid-column: auto; aspect-ratio: 4 / 3.3; }
  .stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people.four, .creds, .unit-grid, .places, .vid-grid, .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid-grid { gap: 48px 32px; align-items: start; }
  .act { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .org-units { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .teams, .sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl-year, .press-year { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: start; }
}
@media (min-width: 1024px) {
  :root { --header: 76px; }
  body { --bar: 0px; }
  .mbar { display: none; }
  .nav { display: block; }
  .menu-btn { display: none; }
  .hdr .btn-quote { display: inline-flex; }
  .logo img { height: 46px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 0; min-height: min(760px, calc(100vh - var(--header))); }
  .hero-copy { padding: 64px 0 72px; }
  .hero .btns .btn { flex: 0 0 auto; }
  .reel { height: min(760px, calc(100vh - var(--header))); margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .reel-track { display: block; width: auto; padding: 0; animation: none; }
  .reel-col { display: block; animation: reel-y 60s linear infinite; }
  .reel-col.b { animation-duration: 72s; animation-direction: reverse; }
  .reel:hover .reel-col { animation-play-state: paused; }
  .reel figure { width: 100%; height: 300px; margin-bottom: 14px; }
  .reel-col.b figure:nth-child(odd) { height: 250px; }
  .reel-track.m { display: none; }
  .reel-cols { display: contents; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .points.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-cols { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .ft-top { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; }
  .ft-map { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .people.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .creds, .unit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cgroups, .sm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .org-units { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .hdr-call-m { display: none; }
  .hdr-tel { display: inline-flex; }
}
@media (max-width: 1023.98px) {
  .reel-cols { display: none; }
}
@media (max-width: 380px) {
  .hero-proof { grid-template-columns: 1fr; }
  .proof { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: baseline; }
  .proof small { grid-column: 1 / -1; }
}
@media (max-width: 359.98px) {
  .btn { font-size: 0.9375rem; padding: 0 16px; }
  .cta-band { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reel-track, .reel-col { animation: none !important; }
}
