/* 새날정보미디어 홈페이지 (2026-11 개편)
   색 : 로고 남색을 바탕으로, 메뉴마다 포인트 색(같은 계열 파랑 · 청록 · 보라 + 보색 주황 · 산호).
        --c = 밝은 포인트(띠 · 아이콘 · 연한 바탕), --c-ink = 흰 바탕 글자 · 흰 글자 밑 채움용 진한 색 */
:root {
  --navy: #0a5394;
  --navy-deep: #072f57;
  --navy-night: #0a1f38;
  --ink: #16202d;
  --text: #2c3846;
  --muted: #5d6a79;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(10, 40, 80, .12);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;

  --blue: #2b7de9;   --blue-ink: #1b64c8;
  --teal: #12a89f;   --teal-ink: #0b7f78;
  --orange: #f59331; --orange-ink: #c2620b;
  --violet: #7b5ce0; --violet-ink: #6342cf;
  --coral: #ec5a72;  --coral-ink: #cc3550;
  --rainbow: linear-gradient(90deg, var(--blue) 0 20%, var(--teal) 20% 40%, var(--orange) 40% 60%, var(--violet) 60% 80%, var(--coral) 80% 100%);

  --c: var(--navy); --c-ink: var(--navy); --c-rgb: 10, 83, 148; --c-tint: #eaf2fb;
  color-scheme: light;
}
.k-about,     .page-about     { --c: var(--blue);   --c-ink: var(--blue-ink);   --c-rgb: 43, 125, 233;  --c-tint: #e9f2fe; }
.k-business,  .page-business  { --c: var(--teal);   --c-ink: var(--teal-ink);   --c-rgb: 18, 168, 159;  --c-tint: #e2f6f4; }
.k-portfolio, .page-portfolio { --c: var(--orange); --c-ink: var(--orange-ink); --c-rgb: 245, 147, 49;  --c-tint: #fef1e3; }
.k-services,  .page-services  { --c: var(--violet); --c-ink: var(--violet-ink); --c-rgb: 123, 92, 224;  --c-tint: #f0ecfd; }
.k-support,   .page-support   { --c: var(--coral);  --c-ink: var(--coral-ink);  --c-rgb: 236, 90, 114;  --c-tint: #fdecef; }
.k-navy { --c: var(--navy); --c-ink: var(--navy); --c-rgb: 10, 83, 148; --c-tint: #e6eef7; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.inner { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon.sm { width: 16px; height: 16px; }

/* ============================================================ 인트로 공통 */
body.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body.intro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); z-index: 2; }
.intro-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px 40px;
}
.intro-logo img { width: clamp(200px, 38vw, 300px); }
.intro-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid #d8e3f0;
  color: var(--text);
  font-size: 13.5px; font-weight: 600;
}
.intro-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(18, 168, 159, .18); }
.intro-sub {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(15px, 2.1vw, 19px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.intro-title {
  margin-top: 6px;
  font-size: clamp(23px, 5.8vw, 56px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 45%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.intro-menu {
  margin-top: 44px;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.intro-card {
  position: relative;
  overflow: hidden;
  flex: 0 1 calc((100% - 12px) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 26px 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(10, 40, 80, .05);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.intro-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.intro-card .chip {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--c-tint);
  color: var(--c-ink);
  transition: background .2s ease, color .2s ease;
}
.intro-card strong { color: var(--ink); font-size: 17px; font-weight: 700; transition: color .2s ease; }
.intro-card em { color: var(--c-ink); font-size: 11.5px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; }
.intro-card:hover { transform: translateY(-5px); background: var(--c-ink); box-shadow: 0 16px 34px rgba(var(--c-rgb), .32); }
.intro-card:hover .chip { background: rgba(255, 255, 255, .18); color: #fff; }
.intro-card:hover strong, .intro-card:hover em { color: #fff; }

.intro-quick {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.intro-quick > span { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--svc, var(--navy));
  color: var(--svc-on, #fff);
  font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(10, 30, 60, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10, 30, 60, .24); }

/* 스마트폰 세로 (11-13 사용자 : 한 줄에 메뉴 하나씩) - 가로로 긴 카드 : 왼쪽 색 띠 · 아이콘 · 한글 · 오른쪽 영문
   서비스 바로가기 : 제목 다음 줄바꿈, 버튼 셋은 한 줄에 들어가게 조금 줄임 */
@media (max-width: 559px) {
  .intro-menu { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 30px; max-width: 420px; }
  .intro-card { flex: none; flex-direction: row; align-items: center; gap: 14px; padding: 12px 18px 12px 20px; text-align: left; }
  .intro-card::before { top: 0; bottom: 0; left: 0; right: auto; width: 4px; height: auto; }
  .intro-card .chip { width: 44px; height: 44px; margin-bottom: 0; border-radius: 14px; }
  .intro-card .chip .icon { width: 22px; height: 22px; }
  .intro-card strong { font-size: 17px; }
  .intro-card em { margin-left: auto; font-size: 11px; }
  .intro-card:hover { transform: translateX(4px); }
  .intro-quick { gap: 8px; margin-top: 26px; }
  .intro-quick > span { flex-basis: 100%; margin: 0 0 2px; text-align: center; }
  .pill { padding: 8px 12px; font-size: 14px; gap: 4px; }
}
/* 스마트폰 가로 · 작은 태블릿 (560~899px) : 5개 한 줄 - 아이콘 · 글자 줄임, 영문도 보임(11-13 사용자) */
@media (min-width: 560px) and (max-width: 899px) {
  .intro-menu { gap: 8px; margin-top: 32px; }
  .intro-card { flex-basis: calc((100% - 32px) / 5); padding: 16px 4px 14px; border-radius: 14px; }
  .intro-card::before { height: 3px; }
  .intro-card .chip { width: 42px; height: 42px; margin-bottom: 8px; border-radius: 13px; }
  .intro-card .chip .icon { width: 21px; height: 21px; }
  .intro-card strong { font-size: clamp(13px, 2vw, 15px); letter-spacing: -.03em; white-space: nowrap; }
  .intro-card em { font-size: clamp(9.5px, 1.4vw, 11.5px); letter-spacing: .06em; white-space: nowrap; }
  .intro-card:hover { transform: translateY(-3px); }
}
@media (min-width: 900px) {
  .intro-menu { gap: 16px; }
  .intro-card { flex-basis: calc((100% - 64px) / 5); padding: 32px 12px 24px; }
}

/* ---------- 인트로 (11-13 채택 : 일러스트 배경, 시안 A · B 는 전환 때 지움) (assets/img/intro-scene.svg, tools/make_scene.php 로 만듦)
   그림이 밝아서 덮개 없이, 남색 로고 · 진한 글자 · 반투명 흰 카드. 그림은 화면에 고정, 내용만 움직임 */
body.intro-c { background: #cfe6f7; }
.intro-c .scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.intro-c .scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 700px) { .intro-c .scene img { object-position: 60% 100%; } }
.intro-c .intro-wrap { justify-content: flex-start; padding-top: clamp(44px, 8vh, 96px); }
.intro-c .intro-logo img { filter: drop-shadow(0 0 14px rgba(255, 255, 255, .9)); }
.intro-c .intro-chip { background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .95); box-shadow: 0 4px 14px rgba(60, 90, 130, .1); }
.intro-c .intro-sub { color: var(--ink); text-shadow: 0 0 12px rgba(255, 255, 255, .95); }
.intro-c .intro-title { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .85)); }
.intro-c .intro-card {
  background: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 12px 30px rgba(60, 90, 130, .14);
}
/* 마우스 오버 : 위 반투명 흰 바탕 규칙이 공통 :hover 바탕색을 덮어써 흰 글자가 사라지던 문제 (11-13) */
.intro-c .intro-card:hover { background: var(--c-ink); border-color: var(--c-ink); box-shadow: 0 16px 34px rgba(var(--c-rgb), .34); }
.intro-c .intro-quick > span { color: var(--ink); text-shadow: 0 0 10px rgba(255, 255, 255, .95); }
.intro-c .site-footer.compact {
  margin-top: 24px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #3f4b59;
}
.intro-c .site-footer.compact .foot-copy { color: #5f6b79; }
/* PC : 내용을 위로 모아 아래 빌딩 · 놀이공원이 카드에 덜 가리게 */
@media (min-width: 900px) {
  .intro-c .intro-wrap { padding-top: clamp(32px, 5vh, 64px); }
  .intro-c .intro-logo img { width: clamp(200px, 20vw, 260px); }
  .intro-c .intro-chip { margin-top: 18px; }
  .intro-c .intro-sub { margin-top: 12px; }
  .intro-c .intro-menu { margin-top: 30px; }
  .intro-c .intro-card { padding: 22px 12px 18px; }
  .intro-c .intro-card .chip { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 15px; }
  /* 11-13 사용자 : 바로가기가 메뉴에 너무 붙음 → 빌딩 위쪽까지 내림 (화면 높이에 맞춰 48~100px) */
  .intro-c .intro-quick { margin-top: clamp(48px, 10vh, 100px); }
}

/* ============================================================ 하위 화면 윗줄 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--rainbow); }
.site-header .inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px;
  padding-top: 12px; padding-bottom: 0;
}
.brand img { width: auto; height: 40px; }
.gnb {
  display: flex; gap: 2px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -8px;
  padding: 0 0 2px;
}
.gnb::-webkit-scrollbar { display: none; }
.gnb a {
  flex: none;
  position: relative;
  padding: 12px 10px 14px;
  color: var(--text);
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: color .15s ease;
}
.gnb a:hover, .gnb a.on { color: var(--c-ink); }
.gnb a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px;
  height: 3px; border-radius: 3px; background: var(--c);
  transform: scaleX(0); transition: transform .2s ease;
}
.gnb a:hover::after, .gnb a.on::after { transform: scaleX(1); }
@media (min-width: 820px) {
  .site-header .inner { flex-wrap: nowrap; height: 74px; padding-top: 0; }
  .gnb { width: auto; margin: 0; padding: 0; gap: 6px; }
  .gnb a { padding: 10px 14px; font-size: 16px; }
  .gnb a::after { bottom: -15px; left: 14px; right: 14px; }
}

/* ============================================================ 페이지 제목 띠 (배경 사진) */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 68px 0 60px;
  background: var(--navy-deep) var(--hero-m, none) center / cover no-repeat;
}
/* 덮개 (11-13 사용자 : 인트로처럼 옅게 - 사진 색이 보이게). 휴대폰은 글자가 폭 전체라 고르게, PC 는 글자 쪽(왼쪽)만 어둡게 */
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 32, .08) 0%, rgba(4, 16, 32, .28) 100%),
    linear-gradient(100deg, rgba(6, 28, 54, .46) 0%, rgba(7, 40, 76, .28) 60%, rgba(var(--c-rgb), .14) 100%);
}
@media (min-width: 821px) {
  .page-hero::before {
    background:
      linear-gradient(100deg, rgba(6, 28, 54, .58) 0%, rgba(7, 40, 76, .36) 36%, rgba(7, 40, 76, .06) 66%, rgba(var(--c-rgb), .12) 100%);
  }
  /* 포트폴리오 사진은 왼쪽에 코드 글자가 있어 글자 쪽을 더 어둡게 */
  .hero-portfolio::before {
    background:
      linear-gradient(100deg, rgba(6, 28, 54, .72) 0%, rgba(7, 40, 76, .52) 40%, rgba(7, 40, 76, .1) 70%, rgba(var(--c-rgb), .12) 100%);
  }
}
@media (max-width: 820px) {
  .hero-portfolio::before { background: linear-gradient(180deg, rgba(4, 16, 32, .14) 0%, rgba(4, 16, 32, .36) 100%), linear-gradient(100deg, rgba(6, 28, 54, .6) 0%, rgba(7, 40, 76, .42) 60%, rgba(var(--c-rgb), .16) 100%); }
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .04);
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.page-hero h1 { margin-top: 14px; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-shadow: 0 2px 16px rgba(0, 0, 0, .48); }
.page-hero .lead { margin-top: 14px; max-width: 680px; color: #fff; font-size: clamp(15px, 1.8vw, 18px); text-shadow: 0 1px 10px rgba(0, 0, 0, .62); }
.hero-about     { --hero: url(../img/hero/about.webp);     --hero-m: url(../img/hero/about-m.webp); }
.hero-business  { --hero: url(../img/hero/business.webp);  --hero-m: url(../img/hero/business-m.webp); }
.hero-portfolio { --hero: url(../img/hero/portfolio.webp); --hero-m: url(../img/hero/portfolio-m.webp); }
.hero-services  { --hero: url(../img/hero/services.webp);  --hero-m: url(../img/hero/services-m.webp); }
.hero-support   { --hero: url(../img/hero/support.webp);   --hero-m: url(../img/hero/support-m.webp); }
@media (min-width: 821px) {
  .page-hero { padding: 104px 0 96px; background-image: var(--hero, none); }
}

/* ---------- 일러스트 띠 (.illus, 11-13 : 인트로 일러스트와 분위기 맞춤)
   하늘은 CSS, 그림(투명 SVG 2800x360)은 오른쪽 아래. PC = 띠 높이에 맞춤, 휴대폰 = 글자 아래 170px */
.page-hero.illus {
  color: var(--ink);
  padding: 72px 0 96px;
  background:
    var(--illus) right bottom / auto 100% no-repeat,
    linear-gradient(180deg, #c3e1f5 0%, #e1f0f9 55%, #f8efe6 100%);
}
.page-hero.illus::before { background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, 0) 62%); }
.page-hero.illus::after { display: none; }
.page-hero.illus h1 { color: var(--ink); text-shadow: 0 0 18px rgba(255, 255, 255, .9); }
.page-hero.illus h1::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--c); }
.page-hero.illus .lead { color: var(--text); text-shadow: 0 0 12px rgba(255, 255, 255, .95); }
@media (min-width: 821px) {
  .page-hero.illus { padding: 86px 0 110px; background-image: var(--illus), linear-gradient(180deg, #c3e1f5 0%, #e1f0f9 55%, #f8efe6 100%); }
  .page-hero.illus::before { background: linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .18) 38%, rgba(255, 255, 255, 0) 60%); }
}
@media (max-width: 820px) {
  .page-hero.illus { padding: 40px 0 178px; background-size: auto 170px, auto; }
}

/* ============================================================ 본문 공통 */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { margin-bottom: 32px; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-head .eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--c); }
.section-head h2 { margin-top: 6px; color: var(--ink); font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.section-head p { margin-top: 10px; color: var(--muted); max-width: 720px; }
@media (min-width: 820px) { .section { padding: 96px 0; } .section-head { margin-bottom: 44px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--navy); color: #fff;
  font-size: 16px; font-weight: 700;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10, 30, 60, .18); }
.btn.white { background: #fff; color: var(--navy); }
.btn.line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.line:hover { background: rgba(255, 255, 255, .12); }

/* 회사소개 : 인사말 */
.statement { display: grid; gap: 28px; }
.statement .big { color: var(--ink); font-size: clamp(19px, 2.4vw, 25px); font-weight: 600; line-height: 1.6; letter-spacing: -.015em; }
.statement .big b { font-weight: 800; background: linear-gradient(transparent 62%, rgba(var(--c-rgb), .22) 62%); color: var(--navy); }
.statement .small { color: var(--muted); font-size: 17px; padding-left: 18px; border-left: 3px solid var(--c); }
@media (min-width: 960px) { .statement { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; } }

/* 회사 개요 */
.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.overview div { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.overview dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.overview dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.overview dd { margin-top: 4px; color: var(--ink); font-size: 17px; font-weight: 600; }
.overview .wide { grid-column: 1 / -1; }

/* 경영이념 (카드마다 다른 색) */
.values { display: grid; gap: 16px; }
.value { position: relative; overflow: hidden; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.value .num { position: absolute; right: 18px; top: 6px; color: var(--c-tint); font-size: 64px; font-weight: 800; line-height: 1; }
.value .kw { position: relative; color: var(--c-ink); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.value h3 { position: relative; margin-top: 6px; color: var(--ink); font-size: 22px; font-weight: 800; }
.value p { position: relative; margin-top: 10px; color: var(--muted); }
@media (min-width: 820px) { .values { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* 비전 (강점 6, 번호 색 돌려 씀) */
.strengths { display: grid; gap: 12px; counter-reset: s; }
.strengths li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 16.5px; font-weight: 600; }
.strengths li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-tint); color: var(--c-ink);
  font-size: 14px; font-weight: 800;
}
@media (min-width: 820px) { .strengths { grid-template-columns: 1fr 1fr; gap: 14px 20px; } }

/* 연혁 */
.timeline { position: relative; }
.tl-year { position: relative; display: grid; gap: 8px; padding: 0 0 28px 28px; }
.tl-year::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: -10px; width: 2px; background: linear-gradient(var(--c), rgba(var(--c-rgb), .15)); }
.tl-year:last-child::before { display: none; }
.tl-year::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c); }
.tl-year:first-child::after { background: var(--c); box-shadow: 0 0 0 5px rgba(var(--c-rgb), .18); }
.tl-year h3 { color: var(--navy); font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.tl-year ul { display: grid; gap: 6px; }
.tl-year li { color: var(--text); }
@media (min-width: 820px) {
  .tl-year { grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 34px 40px; }
  .tl-year::before { left: 6px; }
  .tl-year ul { padding: 14px 20px; background: var(--bg-soft); border-radius: 12px; }
}

/* 아래쪽 안내 띠 */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; gap: 20px;
  padding: 38px 28px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, var(--c-ink) 100%);
  color: #fff;
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.015em; }
.cta-band p { margin-top: 6px; color: rgba(255, 255, 255, .82); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 52px; } }

/* 서비스 (서비스마다 자기 대표색 : --svc 바탕 · --svc-on 위 글자 · --svc-hl 강조 · --svc-hl-on · --svc-tint) */
.svc-list { display: grid; gap: 28px; }
.svc { display: grid; gap: 20px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 8px 26px rgba(10, 40, 80, .06); }
.svc-main { padding: 26px 24px 28px; border-radius: 18px; background: var(--svc-tint); }
.svc .for { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--svc); color: var(--svc-on); font-size: 13px; font-weight: 700; }
.svc h2 { margin-top: 14px; color: var(--ink); font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.svc h2 small { margin-left: 8px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.svc .tagline { display: inline; margin-top: 8px; color: var(--ink); font-size: 19px; font-weight: 800; background: linear-gradient(transparent 60%, var(--svc-mark) 60%); }
.svc .tagline-wrap { margin-top: 10px; }
.svc .summary { margin-top: 14px; color: var(--text); }
.svc .note { margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 700; }
.svc .btn { margin-top: 24px; background: var(--svc); color: var(--svc-on); }
.features { display: grid; gap: 10px; align-content: start; padding: 6px; }
.feature { display: flex; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.feature .chip { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--svc-hl); color: var(--svc-hl-on); }
.feature .chip .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.feature h3 { color: var(--ink); font-size: 16px; font-weight: 700; }
.feature p { margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc { grid-template-columns: 1fr 1.25fr; gap: 24px; padding: 16px; } .svc-main { padding: 36px 34px; } .features { padding: 20px 20px 20px 0; } }

.past { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--c-tint); color: var(--text); }
.past a { color: var(--c-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* 준비 중 */
.soon { padding: 48px 24px; text-align: center; border: 2px dashed rgba(var(--c-rgb), .35); border-radius: 20px; background: var(--c-tint); color: var(--muted); }
.soon strong { display: block; color: var(--c-ink); font-size: 20px; margin-bottom: 6px; }

/* 인트로 '고객사 PMS' 버튼 (회사 남색) */
.pill-pms { --svc: var(--navy); --svc-on: #fff; }

/* 두 칸 (휴대폰 한 칸) */
.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.inner.narrow { max-width: 860px; }

/* 점 목록 · 체크 목록 */
.dots li { position: relative; padding-left: 14px; color: var(--text); }
.dots li + li { margin-top: 6px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; }
.checklist .muted { color: var(--muted); font-weight: 500; }
.checklist li .icon { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--c-tint); color: var(--c-ink); stroke-width: 2.6; }

/* 사업분야 : 사업 영역 카드 */
.areas { display: grid; gap: 16px; }
.area { position: relative; overflow: hidden; padding: 28px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.area::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-top { display: flex; align-items: center; justify-content: space-between; }
.area-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--c-tint); color: var(--c-ink); }
.area-num { color: var(--c-tint); font-size: 44px; font-weight: 800; line-height: 1; }
.area-en { margin-top: 18px; color: var(--c-ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.area h3 { margin: 4px 0 14px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 720px) { .areas { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }

/* 사업분야 : 진행 과정 */
.steps { display: grid; gap: 14px; counter-reset: none; }
.step { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.step-num { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--c-ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; }
.step h3 { margin-top: 12px; color: var(--ink); font-size: 18px; font-weight: 800; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 16px; height: 16px; border-top: 3px solid #c3ccd8; border-right: 3px solid #c3ccd8; transform: translateY(-50%) rotate(45deg); }
}

/* 포트폴리오 : 분류 · 카드 */
.section-head.with-tools { display: grid; gap: 20px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 15px; font-weight: 700; transition: border-color .15s ease, color .15s ease; }
.filter a em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.filter a:hover { border-color: var(--c); color: var(--c-ink); }
.filter a.on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.filter a.on em { color: rgba(255, 255, 255, .8); }
/* Since 2005 필름 띠 (2026-11-14) : 칸 간격 252px(휴대폰 196px) = 구멍 무늬 28px 의 배수라 -50% 지점에서 이음매 없이 돎 */
.since { padding: 56px 0 60px; background: var(--bg-soft); overflow: hidden; }
.since-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.since-head .eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--c); }
.since-head h2 { margin-top: 6px; color: var(--ink); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.since-head p { margin-top: 10px; color: var(--muted); max-width: 720px; }
.film { --step: 252px; position: relative; margin-top: 28px; overflow: hidden; background: #17191f; box-shadow: 0 18px 40px -24px rgba(10, 31, 56, .55); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); }
.film-track { position: relative; display: flex; width: max-content; margin-left: 40px; padding: 32px 0; animation: film-roll calc(var(--n, 20) * 4s) linear infinite; }
.film-track::before, .film-track::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12'%3E%3Crect x='7' width='14' height='12' rx='3' fill='%23f5f8fc'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 12px; }
.film-track::before { top: 10px; }
.film-track::after { bottom: 10px; }
.film-set { display: flex; margin: 0; padding: 0; list-style: none; }
.film-set li { flex: none; width: var(--step); padding: 0 14px; }
.film-frame { display: block; color: #fff; border-radius: 4px; }
.film-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #2a2e37; color: #6b7280; }
.film-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s ease; }
.film-cap { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; min-width: 0; }
.film-year { flex: none; color: #ffb366; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.film-title { overflow: hidden; color: rgba(255, 255, 255, .88); font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.film-frame:hover .film-pic img, .film-frame:focus-visible .film-pic img { transform: scale(1.05); }
.film-frame:focus-visible { outline: 2px solid #ffb366; outline-offset: 4px; }
.film:hover .film-track, .film:focus-within .film-track { animation-play-state: paused; }
@keyframes film-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 639px) {
  .since { padding: 44px 0 48px; }
  .film { --step: 196px; }
  .film-track { padding: 30px 0; }
  .film-year { font-size: 14px; }
  .film-title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .film { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .film-track { animation: none; }
  .film-set[aria-hidden="true"] { display: none; }
}
.badge.best { background: var(--c-tint); color: var(--c-ink); box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .4); }
.badge.kind { background: #eaf2fb; color: var(--navy); }
.pf-kind-link { color: var(--c-ink); font-weight: 700; }
.pf-kind-link:hover { text-decoration: underline; }
#list { scroll-margin-top: 96px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pager .pg-num, .pager .pg-step { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 15px; font-weight: 700; transition: border-color .15s ease, color .15s ease; }
.pager a:hover { border-color: var(--c); color: var(--c-ink); }
.pager .pg-num.on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.pager .pg-step.off { color: #c3ccd6; background: var(--bg-soft); }
.pager .pg-gap { padding: 0 4px; color: var(--muted); }
.pf-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pf-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--c-rgb), .5); }
.pf-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); color: #b9c3cf; border-bottom: 1px solid var(--line); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.pf-card:hover .pf-thumb img { transform: scale(1.04); }
.pf-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.badge.year { background: var(--c-ink); color: #fff; }
.badge.own { background: #f0ecfd; color: var(--violet-ink); }
.badge.state { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.pf-title { margin-top: 4px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.pf-client { color: var(--muted); font-size: 14.5px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 6px; background: var(--c-tint); color: var(--c-ink); font-size: 12.5px; font-weight: 600; }

/* 포트폴리오 : 상세 */
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--muted); font-weight: 600; }
.back-link:hover { color: var(--c-ink); }
.pf-detail { display: grid; gap: 32px; }
@media (min-width: 1000px) { .pf-detail { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } }
.pf-gallery { display: grid; gap: 12px; }
.pf-main { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.pf-main img { width: 100%; height: auto; }
.pf-subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pf-sub { display: block; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.pf-sub img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
a.pf-sub { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
a.pf-sub:hover, a.pf-sub:focus-visible { border-color: var(--c); box-shadow: 0 0 0 2px rgba(var(--c-rgb), .25); }
.pf-sub.empty { display: grid; place-items: center; color: #a9b4c1; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.pf-noimg { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--bg-soft); color: #b9c3cf; }
/* 고객사 정보 보호 (2026-11-14) : 1 일부 가림 = 그림 모서리 표시 + 상세 그림 아래 안내, 2 화면 비공개 = 빗금 판 */
.pf-thumb { position: relative; }
.pf-veil { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(10, 31, 56, .78); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }
.pf-thumb.locked { align-content: center; gap: 6px; background: repeating-linear-gradient(135deg, #f1f5f9 0 12px, #e8edf3 12px 24px); color: #7a8796; }
.pf-thumb.locked em, .film-pic.locked em { font-style: normal; font-size: 13px; font-weight: 700; }
.film-pic.locked { align-content: center; gap: 6px; background: repeating-linear-gradient(135deg, #2a2e37 0 12px, #242830 12px 24px); color: #9aa3b2; }
.pf-locked { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 16 / 10; padding: 24px; border: 1px dashed #c8d2de; border-radius: 14px; background: repeating-linear-gradient(135deg, #f5f8fc 0 14px, #eef2f7 14px 28px); color: var(--muted); text-align: center; }
.pf-locked .icon { width: 44px; height: 44px; color: var(--navy); }
.pf-locked strong { color: var(--ink); font-size: 18px; font-weight: 800; }
.pf-locked span { font-size: 14.5px; }
.pf-privacy { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.pf-privacy .icon { color: var(--navy); }
.pf-info h2 { margin-top: 12px; color: var(--ink); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.pf-short { margin-top: 8px; color: var(--text); font-size: clamp(16px, 1.6vw, 18px); font-weight: 600; line-height: 1.5; }
.pf-meta { margin-top: 20px; border-top: 2px solid var(--ink); }
.pf-meta div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pf-meta dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.pf-meta dd { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink); font-weight: 600; }
.pf-url { display: inline-flex; align-items: center; gap: 5px; color: var(--c-ink); word-break: break-all; }
.pf-url:hover { text-decoration: underline; }
.pf-desc { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); color: var(--text); }
.pf-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pf-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s ease; }
.pf-nav a:hover { border-color: var(--c); }
.pf-nav a span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.pf-nav a strong { color: var(--ink); font-size: 15.5px; }
.pf-nav .next { text-align: right; align-items: flex-end; grid-column: 2; }

/* 고객지원 : 연락 카드 */
.contact-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 15px; background: var(--c-tint); color: var(--c-ink); }
.contact-card strong { color: var(--ink); font-size: 19px; font-weight: 800; }
.cc-text { color: var(--muted); font-size: 15px; white-space: pre-line; }
.cc-go { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 12px; color: var(--c-ink); font-size: 14.5px; font-weight: 700; }

/* 고객지원 : 공지 목록 · FAQ · 글 보기 */
.board-list { border-top: 2px solid var(--ink); background: #fff; border-radius: 0 0 14px 14px; }
.board-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.board-list a:hover .bl-title { color: var(--c-ink); }
.bl-title { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.bl-date { flex: none; color: var(--muted); font-size: 14px; }
.empty { padding: 36px 20px; border: 1px dashed #c8d1dc; border-radius: 14px; background: #fff; color: var(--muted); text-align: center; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--c-ink); color: #fff; font-size: 13px; font-weight: 800; }
.faq .chev { margin-left: auto; color: var(--muted); transition: transform .2s ease; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px 18px 56px; color: var(--text); }
.post header { padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.post-kind { color: var(--c-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.post h2 { margin-top: 6px; color: var(--ink); font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.015em; line-height: 1.35; }
.post-date { margin-top: 8px; color: var(--muted); font-size: 14px; }
.post-body { padding: 28px 0; color: var(--text); font-size: 16.5px; line-height: 1.8; }
.post-file { display: grid; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); }
.post-file img { border-radius: 10px; border: 1px solid var(--line); }
.post-file a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-ink); font-weight: 600; }

/* ============================================================ 바닥 (짙은 남색) */
.site-footer { position: relative; background: var(--navy-night); padding: 44px 0 44px; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rainbow); opacity: .9; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-top img { height: 34px; width: auto; }
.foot-menu { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.foot-menu a:hover { color: #fff; }
.foot-portal { display: inline-flex; align-items: center; gap: 6px; color: #8cc6ff; }
.foot-info + .foot-info { margin-top: 4px; }
.foot-info span { display: inline-block; }
.foot-info span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(255, 255, 255, .22); vertical-align: 0; }
.foot-info a:hover { color: #fff; }
.foot-copy { margin-top: 14px; color: rgba(255, 255, 255, .42); }
.site-footer.compact { position: relative; z-index: 1; background: transparent; padding: 22px 0 28px; text-align: center; font-size: 12.5px; color: var(--muted); }
.site-footer.compact::before { display: none; }
.site-footer.compact .foot-info span + span::before { background: #c3ccd7; }
.site-footer.compact .foot-copy { margin-top: 8px; color: #8794a3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* 포트폴리오 동영상 (2026-11-15 요청서 6판) : 큰 상자 판 · 동영상 · 유튜브 · 서브 칸 ▶ 배지 · 목록 카드 표시 */
.pf-pane { display: block; }
.pf-pane[hidden], .pf-yt[hidden] { display: none; }
.pf-pane.is-video, .pf-pane.is-yt { background: #0b0d12; }
.pf-pane video, .pf-pane iframe, .pf-yt { display: block; width: 100%; aspect-ratio: var(--r, 16 / 9); max-height: 75vh; border: 0; background: #0b0d12; }
.pf-yt { position: relative; overflow: hidden; }
.pf-main .pf-yt img { width: 100%; height: 100%; object-fit: contain; }
.pf-yt-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 48px; border-radius: 14px; background: rgba(220, 38, 38, .92); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); transition: transform .15s ease, background .15s ease; }
.pf-yt-play .icon { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.pf-yt:hover .pf-yt-play, .pf-yt:focus-visible .pf-yt-play { background: #dc2626; transform: translate(-50%, -50%) scale(1.08); }
.pf-sub { position: relative; }
.pf-sub.is-video { background: #1b1f27; }
.pf-play, .pf-vmark { position: absolute; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(10, 13, 18, .78); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }
.pf-play { left: 8px; bottom: 8px; }
.pf-vmark { left: 10px; bottom: 10px; }
.pf-play .icon, .pf-vmark .icon { width: 11px; height: 11px; fill: currentColor; }
