/* 메디브릿지파트너스 사이트 (v3, 2026-10-18) — 사이트 주인 = 메디브릿지파트너스, 그 안에 더마솔루션뷰티 · 입점 모집
   바탕 · 색 · 글꼴은 style.css, 하위 페이지 공통 블록은 pages.css */

/* ── 머리 · 더마솔루션뷰티 펼침 메뉴 ── */
.nav__dd { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__dsb { color: #8A6B42; }
.nav__ddbtn { width: 22px; height: 28px; display: grid; place-items: center; color: #8A6B42; }
.nav__ddbtn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 190px; padding: 10px 0; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 32px rgba(28, 35, 51, .08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* 마우스가 틈에서 빠지지 않게 */
.nav__sub a { display: block; padding: 9px 20px !important; font-size: 14px; }
.nav__sub a::after { display: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { color: #8A6B42; background: var(--sand); }
.nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub, .nav__dd.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__dd:hover .nav__ddbtn svg, .nav__dd.is-open .nav__ddbtn svg { transform: rotate(180deg); }
.brand img { height: 46px; width: auto; }

/* ── 메인 첫 화면 — 확정 2026-10-19 시안 C 「두 세계를 잇는 선」 ── */
  /* 시안 C — 화면 가득 두 장면: 왼쪽 병·의원 · 약국 / 오른쪽 뷰티 · 헬스케어.
     가운데 브론즈 선(다리)과 MB 표가 두 세계를 나누고 잇는다. 마우스를 따라 움직이고, 가만히 두면 천천히 흔들린다.
     효과 모음 「전후 비교 슬라이더」(m-ba) */
  .hc { position: relative; height: 100svh; min-height: 620px; overflow: hidden; --x: 50%; touch-action: pan-y; cursor: ew-resize; background: var(--ink); }
  .hc__w { position: absolute; inset: 0; }
  .hc__w img { width: 100%; height: 100%; object-fit: cover; animation: hcKb 20s ease-in-out infinite alternate; }
  .hc__w--l { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
  .hc__w--l img { animation-delay: -10s; }
  @keyframes hcKb { from { transform: scale(1.03); } to { transform: scale(1.1); } }
  .hc__w::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 35, 51, .28) 0%, rgba(28, 35, 51, 0) 26%, rgba(28, 35, 51, 0) 60%, rgba(28, 35, 51, .3) 100%); }
  .hc__tag { position: absolute; top: calc(var(--hd) + 26px); z-index: 3; padding: 8px 16px; background: rgba(247, 243, 236, .92); border-radius: 3px;
    font: 500 12.5px var(--sans); letter-spacing: .16em; transition: opacity .4s; }
  .hc__tag--l { left: var(--gut); opacity: clamp(0, calc((var(--xn) - .18) * 6), 1); }
  .hc__tag--r { right: var(--gut); opacity: clamp(0, calc((.82 - var(--xn)) * 6), 1); }
  .hc__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: var(--bronze-l); z-index: 3; box-shadow: 0 0 18px rgba(201, 174, 133, .6); }
  .hc__knob { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--ink);
    border: 1px solid var(--bronze-l); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
  .hc__knob img { width: 46px; height: auto; }
  .hc__knob::before, .hc__knob::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--bronze-l); border-width: 0 0 1px 1px; }
  .hc__knob::before { left: -16px; transform: translateY(-50%) rotate(45deg); }
  .hc__knob::after { right: -16px; transform: translateY(-50%) rotate(-135deg); }
  .hc__plate { position: absolute; left: var(--gut); bottom: clamp(28px, 6vh, 64px); z-index: 4; max-width: 560px; padding: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 44px);
    background: rgba(247, 243, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 4px; cursor: auto;
    opacity: 0; transform: translateY(18px); animation: hcIn 1.1s var(--ease) .5s forwards; }
  .hc__t { margin-top: 14px; font: 300 clamp(28px, 3vw, 44px)/1.3 var(--serif-ko); letter-spacing: -.04em; }
  .hc__t em { font-style: normal; color: #8A6B42; }
  .hc__lead { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
  .hc__plate .hero__btns { margin-top: 22px; }
  @keyframes hcIn { to { opacity: 1; transform: none; } }
  @media (max-width: 960px) {
    .hc { height: 92svh; cursor: auto; }
    .hc__knob { width: 62px; height: 62px; top: 30%; } .hc__knob img { width: 34px; }
    .hc__plate { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 22px 20px; }
    .hc__t { font-size: clamp(24px, 6.6vw, 30px); }
    .hc__lead { font-size: 14px; }
    .hc__plate .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
    .hc__tag { top: calc(var(--hd) + 14px); font-size: 11px; padding: 6px 10px; letter-spacing: .08em; }
  }
  @media (prefers-reduced-motion: reduce) { .hc__w img { animation: none; } .hc__plate { opacity: 1; transform: none; animation: none; } }

/* ── 홈 섹션 2 — 확정 2026-10-19 시안 C 「펼쳐지는 세 패널」 (B 에서 바꿈) ── */
  /* 시안 C — MEDI · BRIDGE · PARTNERS 세 장의 사진 패널. 마우스를 올린 패널이 넓게 펼쳐지며 뜻이 올라온다(휴대폰은 탭).
     효과 모음 「펼쳐지는 패널 갤러리」(k-accgal) */
  .s2c { padding: var(--sec) 0; }
  .s2c__hd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 40px; }
  .s2c__hd .big { margin-top: 16px; font-size: clamp(24px, 2.6vw, 36px); }
  .s2c__g { display: flex; gap: 8px; height: min(72vh, 640px); }
  .s2c__p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 4px; cursor: pointer; transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1); }
  .s2c__p.on { flex-grow: 4.2; cursor: default; }
  .s2c__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.85) brightness(.92); }
  .s2c__p.on img { transform: scale(1); filter: none; }
  .s2c__lb { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 2;
    font: 500 clamp(22px, 2vw, 30px) var(--serif-en); letter-spacing: .24em; color: var(--ivory); text-shadow: 0 2px 16px rgba(0, 0, 0, .35); transition: opacity .3s; }
  .s2c__p.on .s2c__lb { opacity: 0; }
  .s2c__in { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 460px; z-index: 2; padding: 24px 28px; background: rgba(247, 243, 236, .94); border-radius: 4px;
    opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s var(--ease); }
  .s2c__p.on .s2c__in { opacity: 1; transform: none; transition-delay: .3s; }
  .s2c__in b { font: 500 clamp(28px, 2.8vw, 40px)/1 var(--serif-en); letter-spacing: .08em; }
  .s2c__p:nth-child(2) .s2c__in b { color: #8A6B42; }
  .s2c__in p { margin-top: 12px; font: 300 clamp(17px, 1.5vw, 21px)/1.5 var(--serif-ko); letter-spacing: -.02em; }
  .s2c__in small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
  @media (max-width: 960px) {
    .s2c__hd { grid-template-columns: 1fr; }
    .s2c__g { flex-direction: column; height: auto; }
    .s2c__p { flex: none; height: 92px; transition: height .7s cubic-bezier(.2, .7, .2, 1); }
    .s2c__p.on { height: 420px; }
    .s2c__lb { writing-mode: horizontal-tb; transform: translateX(-50%); bottom: 50%; margin-bottom: -14px; }
  }

/* ── 홈 섹션 3 — 확정 2026-10-19 시안 C 「덮개가 걷히는 두 카드」 ── */
  /* 시안 C — 두 카드. 화면에 들어오면 아이보리 덮개가 위로 걷히며 사진이 드러나고(m-reveal),
     마우스를 올리면 카드가 살짝 기울며 빛이 스친다(c-tilt). */
  .s3c { padding: var(--sec) 0; background: var(--paper); border-top: 1px solid var(--line); }
  .s3c__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 48px; perspective: 1400px; }
  .s3c__card { display: block; position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
  .s3c__fig { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
  .s3c__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
  .s3c__fig::before { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--sand); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.76, 0, .24, 1); }
  .s3c__card.in .s3c__fig::before { transform: scaleY(0); }
  .s3c__card.in .s3c__fig img { transform: scale(1); }
  .s3c__card:nth-child(2) .s3c__fig::before { transition-delay: .18s; }
  .s3c__fig::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 245, 225, .45), rgba(255, 245, 225, 0) 45%); }
  .s3c__card:hover .s3c__fig::after { opacity: 1; }
  .s3c__tag { position: absolute; left: 16px; top: 16px; z-index: 3; padding: 6px 12px; background: rgba(247, 243, 236, .94); border-radius: 3px; font: 500 12px var(--sans); letter-spacing: .14em; }
  .s3c__tag--soon { left: auto; right: 16px; background: var(--ink); color: var(--ivory); }
  .s3c__body { padding: 26px 4px 0; }
  .s3c__body h3 { margin-top: 10px; font: 300 clamp(26px, 2.4vw, 36px)/1.3 var(--serif-ko); letter-spacing: -.04em; }
  .s3c__body p.d { margin-top: 12px; color: var(--muted); }
  /* 10-23 「자세히 보기」를 제목 옆으로 · 위 줄(작은 제목 / 로고) 높이를 맞춰 두 카드 제목 높이를 같게 */
  .s3c__top { display: flex; align-items: flex-end; min-height: 34px; margin: 0; }
  .s3c__ttl { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }
  .s3c__ttl h3 { margin-top: 0; }
  .s3c__ttl .link { flex: none; }
  .s3c__logo { height: 34px; width: auto; }
  @media (max-width: 960px) { .s3c__grid { grid-template-columns: 1fr; gap: 56px; } }
  @media (prefers-reduced-motion: reduce) { .s3c__fig::before { display: none; } .s3c__fig img { transform: none; } .s3c__card { transform: none !important; } }

/* ── 더마솔루션뷰티 소개 페이지 첫 화면 — 브랜드 로고 줄 ── */
.hero__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__brand img { height: 42px; width: auto; }
.hero__brand span { font-size: 13px; color: var(--muted); letter-spacing: .04em; padding-left: 18px; border-left: 1px solid var(--line); }
.dsbband__logo { height: 52px; width: auto; margin-bottom: 8px; }

/* ── 더마솔루션뷰티 하위 메뉴 띠 (스토리 · 솔루션 · 프로세스 · 큐레이션) ── */
.dsbbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.dsbbar__logo img { height: 34px; width: auto; }
.dsbbar__nav { display: flex; gap: 6px; flex-wrap: wrap; }
.dsbbar__nav a { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; color: var(--muted); }
.dsbbar__nav a:hover { color: var(--ink); background: var(--sand); }
.dsbbar__nav a[aria-current] { color: var(--ivory); background: var(--ink); }

/* ── 입점 모집 세 가지 카드 ── */
.recruit { padding: var(--sec) 0; }
.recruit .sec-t { color: var(--ivory); }
.rc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rc__item a { display: block; height: 100%; padding-bottom: 8px; }
.rc__item figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.rc__item figure img, .rc__item figure .ph-missing { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rc__item a:hover figure img { transform: scale(1.05); }
.rc__no { margin-top: 22px; font: 500 12px var(--sans); letter-spacing: .26em; color: var(--bronze-l); }
.rc__item h3 { margin-top: 10px; font: 300 clamp(22px, 2vw, 28px)/1.35 var(--serif-ko); letter-spacing: -.03em; color: var(--ivory); }
.rc__item p:not(.rc__no) { margin-top: 10px; font-size: 15px; color: rgba(247, 243, 236, .72); }
.rc__item .link { margin-top: 18px; color: var(--ivory); border-color: var(--bronze-l); }
.recruit--light .rc__item h3 { color: var(--ink); }
.recruit--light .rc__item p:not(.rc__no) { color: var(--muted); }
.recruit--light .rc__item .link { color: var(--ink); border-color: var(--bronze); }
.recruit--light .rc__no { color: var(--bronze); }

/* ── 문의 (전화 · 카카오톡) ── */
/* 10-23 세로를 줄임 — 위아래 여백 축소 · 버튼 카드를 가로형(아이콘 | 글 | 화살표)으로 */
.ask { padding: clamp(52px, 6vw, 88px) 0; background: var(--ink); color: var(--ivory); scroll-margin-top: var(--hd); }
.ask__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ask .eyebrow { color: var(--bronze-l); }
.ask__t { margin-top: 12px; font: 300 clamp(28px, 3.4vw, 46px)/1.35 var(--serif-ko); letter-spacing: -.035em; }
.ask__sub { margin-top: 12px; color: rgba(247, 243, 236, .7); max-width: 440px; }
.ask__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask__card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid rgba(201, 174, 133, .35); border-radius: 6px; transition: background .3s var(--ease), border-color .3s var(--ease); }
.ask__card:hover { background: rgba(247, 243, 236, .05); border-color: var(--bronze-l); }
.ask__card > .ico { flex: none; width: 26px; height: 26px; color: var(--bronze-l); }
.ask__ct { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ask__go { margin-left: auto; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201, 174, 133, .35); transition: background .3s var(--ease), border-color .3s var(--ease); }
.ask__go .ico { width: 15px; height: 15px; color: var(--ivory); }
.ask__card:hover .ask__go { background: var(--bronze); border-color: var(--bronze); }
.ask__card b { font-weight: 500; font-size: 17px; }
.ask__ct > span { font-size: 13.5px; color: rgba(247, 243, 236, .65); }
.ask__card .is-wait { color: rgba(247, 243, 236, .55); font-size: 14px; }

/* ── 입점 안내 ── */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why li { padding: 32px 24px 32px 0; }
.why li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why .ico { width: 38px; height: 38px; color: var(--bronze); }
.why b { display: block; margin-top: 20px; font: 400 20px/1.4 var(--serif-ko); letter-spacing: -.03em; }
.why p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.ptype { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--hd); }
.ptype:nth-of-type(even) > :first-child { order: 2; }
.ptype__fig { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.ptype__fig img, .ptype__fig .ph-missing { width: 100%; height: 100%; object-fit: cover; }
.ptype__no { font: 500 12px var(--sans); letter-spacing: .26em; color: var(--bronze); }
.ptype h3 { margin-top: 12px; font: 300 clamp(28px, 3vw, 42px)/1.3 var(--serif-ko); letter-spacing: -.04em; }
.ptype__lead { margin-top: 16px; color: var(--muted); max-width: 520px; }
.ptype__h { margin: 30px 0 12px; font-size: 13px; letter-spacing: .14em; color: #8A6B42; }
.ptype__list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ptype__list li::before { content: ''; position: absolute; left: 2px; top: 23px; width: 10px; height: 1px; background: var(--bronze); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font: 400 18px/1.5 var(--serif-ko); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 24px/1 var(--serif-en); color: var(--bronze); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 640px; }

/* ── 브랜드가 고객을 만나는 자리 (로고 장면 모자이크) ── */
.touch { background: var(--paper); border-top: 1px solid var(--line); }
.touch .sec-hd--row .sec-lead { max-width: 440px; }
.touch__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px; }
.touch__grid figure { position: relative; overflow: hidden; border-radius: 4px; }
.touch__grid img, .touch__grid .ph-missing { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.touch__grid figure:hover img { transform: scale(1.04); }
.touch__grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; background: rgba(247, 243, 236, .9); border-radius: 3px; font-size: 12.5px; letter-spacing: .06em; }
.t-a { grid-column: 1 / 5; grid-row: span 2; } .t-b { grid-column: 5 / 7; grid-row: span 2; }
.t-c { grid-column: 1 / 4; grid-row: span 2; } .t-d { grid-column: 4 / 7; } .t-e { grid-column: 4 / 7; }
.t-f { grid-column: 1 / 3; grid-row: span 2; } .t-g { grid-column: 3 / 7; grid-row: span 2; }

/* ── 회사소개 · 메디브릿지 아이덴티티 3장 ── */
.mtrio { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: 14px; align-items: end; margin-top: 64px; }
.mtrio figure { overflow: hidden; border-radius: 4px; }
.mtrio figure:nth-child(1), .mtrio figure:nth-child(3) { aspect-ratio: 4 / 3; }
.mtrio figure:nth-child(2) { aspect-ratio: 4 / 5; }
.mtrio img, .mtrio .ph-missing { width: 100%; height: 100%; object-fit: cover; }

/* ── 꼬리 ── */
.ft__sub { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(201, 174, 133, .25); }
.ft__sub span { font-size: 11px; letter-spacing: .24em; color: var(--bronze-l); }
.ft__sub img { height: 34px; width: auto; opacity: .9; }

@media (max-width: 1180px) {
  .nav__dd { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--sand); }
  .nav__dd .nav__dsb { border-bottom: 0 !important; flex: 1; }
  .nav__ddbtn { width: 44px; height: 44px; }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px 14px; border: 0; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__dd.is-open .nav__sub { display: block; }
  .nav__dd:hover .nav__sub { display: none; }
  .nav__dd.is-open:hover .nav__sub { display: block; }
  .nav__sub a { border-bottom: 0 !important; padding: 10px 6px !important; font-size: 15px; }
}
@media (max-width: 960px) {
  .rc { grid-template-columns: 1fr; gap: 48px; }
  .rc__item figure { aspect-ratio: 16 / 10; }
  .ask__in { grid-template-columns: 1fr; gap: 24px; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why li, .why li + li { padding: 26px 16px 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .why li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .ptype { grid-template-columns: 1fr; }
  .ptype:nth-of-type(even) > :first-child { order: 0; }
  .ptype__fig { aspect-ratio: 16 / 11; }
  .touch__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
  .mtrio { grid-template-columns: 1fr 1fr; }
  .mtrio figure:nth-child(2) { grid-row: span 2; aspect-ratio: auto; }
  .t-a, .t-c, .t-g { grid-column: 1 / -1; grid-row: span 1; }
  .t-b, .t-d, .t-e, .t-f { grid-column: auto; grid-row: span 1; }
}
@media (max-width: 640px) {
  .brand img { height: 38px; }
  .ask__btns { grid-template-columns: 1fr; gap: 10px; }
  .ask__card { padding: 16px 18px; }
  .why { grid-template-columns: 1fr; }
  .why li:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero__brand span { border-left: 0; padding-left: 0; }
  .dsbbar__nav { gap: 2px; }
  .dsbbar__nav a { padding: 5px 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* ── 홈 섹션 5 — 확정 2026-10-20 시안 E 「뒤집어 보는 세 장의 카드」 (B 로 잘못 적용했던 것을 바로잡음) ── */
/* 시안 E — 세 입점 자리를 사진 카드로. 누르면(PC 는 클릭) 카드가 3D 로 뒤집혀 뒷면에 「이런 분을 찾습니다 · 이렇게 함께합니다」가 나온다.
   PC 는 세 장이 나란히, 휴대폰은 옆으로 밀어 넘기는 카드(다음 카드가 살짝 보임 + 점). 마우스 없이도 똑같이 동작한다.
   처음 화면에 들어오면 첫 카드가 살짝 흔들려 「뒤집을 수 있다」를 알려 준다.
   효과 모음 「우표 뒤집어 보기」(R5-GAM-01) · 「스크롤 스냅 캐러셀」(s-snap) */
.s5e { padding: var(--sec) 0; background: var(--sand); }
.s5e .sec-hd--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.s5e .sec-hd p.d { margin-top: 16px; max-width: 440px; color: var(--muted); }
.s5e__rail { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.s5e__card { position: relative; aspect-ratio: 3 / 4.15; perspective: 1600px; }
.s5e__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.s5e__card.is-flip .s5e__in { transform: rotateY(180deg); }
.s5e__card.is-hint .s5e__in { animation: s5e-hint 1.6s cubic-bezier(.65, 0, .35, 1); }
@keyframes s5e-hint { 30% { transform: rotateY(-16deg); } 60% { transform: rotateY(8deg); } }
.s5e__fc { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 24px 50px rgba(28, 35, 51, .12); }
.s5e__front { color: var(--ivory); }
.s5e__front figure { position: absolute; inset: 0; margin: 0; }
.s5e__front img { width: 100%; height: 100%; object-fit: cover; }
.s5e__front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(20, 25, 37, 0) 40%, rgba(20, 25, 37, .85)); }
.s5e__fm { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 24px 22px; }
.s5e__no { position: absolute; top: 18px; left: 22px; z-index: 1; font: 300 54px/1 var(--serif-en); color: var(--ivory); text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.s5e__fm p.k { font: 500 11.5px var(--sans); letter-spacing: .24em; color: var(--bronze-l); }
.s5e__fm h3 { margin-top: 8px; font: 300 clamp(24px, 2.2vw, 30px)/1.3 var(--serif-ko); letter-spacing: -.04em; }
.s5e__turn { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px; border-radius: 8px; }
.s5e__turn span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(247, 243, 236, .16); border: 1px solid rgba(247, 243, 236, .4); font-size: 12.5px; color: var(--ivory); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s5e__turn span::before { content: '↻'; font-size: 14px; }
.s5e__back { transform: rotateY(180deg); background: #FFFDF8; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; border: 1px solid rgba(168, 134, 90, .35); }
.s5e__back p.k { font: 500 11.5px var(--sans); letter-spacing: .24em; color: var(--bronze); }
.s5e__back h3 { margin-top: 8px; font: 300 clamp(22px, 2vw, 27px)/1.3 var(--serif-ko); letter-spacing: -.04em; }
.s5e__back p.h { margin-top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.s5e__back ul.tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.s5e__back ul.tags li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.s5e__back ul.how li { position: relative; margin-top: 7px; padding-left: 14px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.s5e__back ul.how li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: var(--bronze); }
.s5e__bk { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s5e__bk button { font-size: 12.5px; color: var(--muted); }
.s5e__bk button::before { content: '↺ '; }
.s5e__dots { display: none; }
.s5e__foot { margin-top: 28px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) {
  .s5e__rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -20px; margin-right: -20px; padding: 6px 20px 24px; scrollbar-width: none; }
  .s5e__rail::-webkit-scrollbar { display: none; }
  .s5e__card { flex: 0 0 min(84%, 360px); scroll-snap-align: center; }
  .s5e__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .s5e__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(28, 35, 51, .2); transition: background .3s, width .3s; }
  .s5e__dots i.on { width: 22px; border-radius: 4px; background: var(--bronze); }
}
@media (prefers-reduced-motion: reduce) { .s5e__in { transition: none; } .s5e__card.is-hint .s5e__in { animation: none; } }

/* ── 회사소개 「회사 개요」 — 10-23 사진을 왼쪽에 모아 세로를 줄임 ── */
.co-ov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.co-ov__pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; margin-top: 36px; }
.co-ov__pics figure { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.co-ov__pics figure:nth-child(2) { grid-column: 2; grid-row: 1 / 3; aspect-ratio: auto; }
.co-ov__pics figure:nth-child(3) { grid-column: 1; grid-row: 2; }
.co-ov__pics img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .co-ov { grid-template-columns: 1fr; } .co-ov__pics { margin-top: 28px; } }
