/* AILO Corporate C11 — 법무법인 한결
   원형: E 미니멀 타이포형(흰 헤더 · 중앙 로고 대칭 메가메뉴 · 큰 명조 제목 + 풀폭 사진 1장) / 타이포: Pretendard + Noto Serif KR(히어로 제목 1곳) / 컬러: 딥 네이비 #1f2f4d + 무채색, 저채도 브라스는 eyebrow 만 */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #16191f;
  --ailo-muted: #4f5562;
  --ailo-line: rgba(22, 25, 31, .12);
  --ailo-accent: #1f2f4d;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 96px;
  --ailo-max: 1320px;
  --ailo-eyebrow-color: #7a6a4a;
  --ailo-eyebrow-size: 14px;
  --ailo-mega-col: 8.5em;
  --c11-navy: #1f2f4d;
  --c11-navy-d: #172338;
  --c11-brass: #7a6a4a;
  --c11-gray: #f5f6f8;
  --c11-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --c11-sec: clamp(80px, 9vw, 136px);
}

body { font-size: 17px; color: var(--ailo-fg); background: var(--ailo-bg); }
p { line-height: 1.7; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 2px; font-size: 16px; font-weight: 700; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--c11-navy); color: #fff; }
.btn--solid:hover { background: var(--c11-navy-d); color: #fff; }
.btn--line { border-color: rgba(22, 25, 31, .3); color: var(--ailo-fg); }
.btn--line:hover { border-color: var(--c11-navy); color: var(--c11-navy); }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); background: #fff; border-bottom: 1px solid var(--ailo-line); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.hd__in { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--ailo-gutter); display: flex; align-items: center; justify-content: center; }
.hd__mega { display: flex; align-items: stretch; height: 100%; }
.hd__mega .ailo-mega__list { height: 100%; }
.hd__logo { display: flex; align-items: center; gap: 12px; padding: 0 clamp(20px, 3vw, 48px); color: var(--c11-navy); white-space: nowrap; }
.hd__logo:hover { color: var(--c11-navy); }
.hd__mark { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hd__txt { display: grid; line-height: 1.2; }
.hd__ko { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ailo-fg); }
.hd__en { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--c11-brass); }
.hd__logo--m { display: none; padding: 0; }
.hd__util { position: absolute; right: var(--ailo-gutter); top: 0; bottom: 0; display: flex; align-items: center; gap: 6px; }
.hd__cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--c11-navy); font-size: 15px; font-weight: 700; color: var(--c11-navy); transition: background-color .2s, color .2s; }
.hd__cta:hover { background: var(--c11-navy); color: #fff; }
.hd .ailo-burger { position: absolute; right: calc(var(--ailo-gutter) - 8px); top: 50%; translate: 0 -50%; }
@media (max-width: 1399.98px) { .hd__cta { display: none; } }
@media (max-width: 1199.98px) { .hd__logo { padding: 0 18px; } .hd__en { display: none; } }
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  .hd__in { justify-content: flex-start; }
  .hd__mega { display: none; }
  .hd__logo--m { display: flex; }
  .hd__logo--m .hd__mark { width: 34px; height: 34px; }
  .hd__util { display: none; }
}

/* ---------- 모바일 메뉴 ---------- */
.mnav { background: #fff; }
.mnav__in { display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 24px) var(--ailo-gutter) 48px; }
.mnav__in > a { padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 21px; font-weight: 700; }
.mnav__in > a.mnav__cta { margin-top: 28px; border: 0; background: var(--c11-navy); color: #fff; text-align: center; font-size: 17px; }
.mnav__tel { margin-top: 18px; font-size: 16px; color: var(--ailo-muted); text-align: center; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--ailo-header-h) + clamp(56px, 7vw, 104px)); text-align: center; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-family: var(--c11-serif); font-weight: 600; font-size: clamp(36px, 4.6vw + 6px, 80px); line-height: 1.22; letter-spacing: -.035em; color: var(--ailo-fg); word-break: keep-all; }
.hero__sub { max-width: 40em; margin: 28px auto 0; font-size: clamp(16px, .3vw + 15px, 19px); color: var(--ailo-muted); }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__photo { margin: clamp(56px, 6vw, 88px) auto 0; max-width: 1600px; padding: 0 var(--ailo-gutter); }
.hero__photo img { width: 100%; aspect-ratio: 1920 / 760; object-fit: cover; border-radius: 2px; }
.hero__photo figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 14px; color: var(--ailo-muted); letter-spacing: .02em; padding-inline: 0; max-width: none; }

/* ---------- 공통 섹션 ---------- */
.sec { padding: var(--c11-sec) 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: end; padding-bottom: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--ailo-line); }
.about__txt p { font-size: 18px; color: #3d424d; }
.about__sign { margin-top: 24px; font-size: 16px !important; color: var(--ailo-muted) !important; }
.about__sign b { margin-left: 8px; font-size: 19px; color: var(--ailo-fg); letter-spacing: .3em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); }
.values li { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px) 0; }
.values li + li { border-left: 1px solid var(--ailo-line); }
.values li:first-child { padding-left: 0; }
.values__ico { width: 44px; height: 44px; fill: none; stroke: var(--c11-navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.values h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.values h3 span { margin-left: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c11-brass); }
.values p { font-size: 16px; color: var(--ailo-muted); }

/* ---------- Numbers ---------- */
.nums { background: var(--c11-navy); color: #fff; padding: clamp(56px, 6vw, 88px) 0; }
.nums__list { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.nums__list li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.nums__v { font-size: clamp(36px, 3vw + 12px, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nums__v small { font-size: .42em; font-weight: 600; margin-left: 4px; }
.nums__k { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .78); }

/* ---------- Practice ---------- */
.practice { background: var(--c11-gray); }
.practice .ailo-tabs--side { --ailo-line: rgba(22, 25, 31, .14); }
.pa { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.pa img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.pa__en { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c11-brass); margin-bottom: 8px; }
.pa h3 { font-size: clamp(26px, 1.2vw + 18px, 34px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 16px; }
.pa__txt > p:not(.pa__en) { font-size: 17px; color: #3d424d; }
.pa__list { margin-top: 22px; border-top: 1px solid var(--ailo-line); }
.pa__list li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--ailo-line); font-size: 16px; font-weight: 600; }
.pa__list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 1px; background: var(--c11-navy); }

/* ---------- Members ---------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mcard__ph { overflow: hidden; border-radius: 2px; background: #e9ebef; }
.mcard__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .6s var(--ailo-ease); }
.mcard:hover .mcard__ph img { filter: none; transform: scale(1.04); }
.mcard__role { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--c11-brass); }
.mcard__name { margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.mcard__name span { margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--ailo-muted); letter-spacing: 0; }
.mcard__bio { margin-top: 8px; font-size: 15px; color: var(--ailo-muted); line-height: 1.6; }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mcard__tags li { padding: 4px 10px; background: var(--c11-gray); font-size: 14px; font-weight: 600; color: #3d424d; }

/* ---------- Record ---------- */
.record { border-top: 1px solid var(--ailo-line); }
.record__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.record__head { position: sticky; top: calc(var(--ailo-header-h) + 32px); }
.ledger { border-top: 1px solid var(--ailo-fg); }
.ledger li { display: grid; grid-template-columns: 64px 96px 1fr auto; gap: 16px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--ailo-line); }
.ledger__yr { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ailo-muted); }
.ledger__area { font-size: 14px; font-weight: 700; color: var(--c11-navy); }
.ledger__txt { font-size: 17px; font-weight: 600; line-height: 1.55; }
.ledger__txt small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.ledger__res { padding: 4px 12px; border: 1px solid var(--ailo-line); font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--c11-navy); }

/* ---------- Clients ---------- */
.clients { padding: clamp(48px, 5vw, 72px) 0; background: var(--c11-gray); }
.clients__t { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ailo-muted); margin-bottom: 18px; }
.clients__t span { color: var(--c11-navy); margin-left: 6px; }
.clients .ailo-marquee { --ailo-marquee-gap: 64px; --ailo-marquee-speed: 40s; }

/* ---------- Column ---------- */
.column__grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.column .ailo-postlist a { min-height: 72px; }
.post-by { flex: none; font-size: 14px; color: var(--ailo-muted); }
.news { padding: clamp(28px, 3vw, 40px); background: var(--c11-gray); }
.news h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.news > p:not(.ailo-eyebrow) { font-size: 16px; color: var(--ailo-muted); margin-bottom: 20px; }
.news input[type="email"] { width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(22, 25, 31, .2); background: #fff; font-size: 16px; }
.news input[type="email"]:focus { outline: 2px solid var(--c11-navy); outline-offset: -1px; }
.news__agree { display: flex; align-items: center; gap: 8px; margin: 14px 0 18px; font-size: 14px; color: var(--ailo-muted); }
.news .btn { width: 100%; }

/* ---------- Reserve (어두운 문의 띠) ---------- */
.reserve { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--c11-navy-d); padding: var(--c11-sec) 0; }
.reserve__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.reserve::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 22, 36, .9) 0%, rgba(15, 22, 36, .78) 45%, rgba(15, 22, 36, .6) 100%); }
.reserve__grid { display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "head form" "info form"; gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
.reserve__head { grid-area: head; }
.reserve .ailo-eyebrow { color: #c9b98f; }
.reserve__title { font-size: clamp(30px, 2vw + 18px, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.reserve__desc { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 26em; }
.reserve__info { grid-area: info; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .2); }
.reserve__info li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 16px; color: rgba(255, 255, 255, .9); }
.reserve__info i { width: 18px; color: #c9b98f; }
.rform { grid-area: form; background: #fff; color: var(--ailo-fg); padding: clamp(24px, 3vw, 44px); border-radius: 2px; }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; margin: 0 0 16px; min-width: 0; }
.fld label, .fld legend { font-size: 14px; font-weight: 700; color: #3d424d; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid rgba(22, 25, 31, .18); border-radius: 2px; background: #fff; font-size: 16px; color: var(--ailo-fg); }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--c11-navy); outline-offset: -1px; }
.fld--radio { border: 0; padding: 0; }
.fld--radio legend { float: none; width: auto; margin: 0 0 6px; padding: 0; line-height: 1.5; }
.fld--radio label { display: inline-flex; align-items: center; gap: 6px; min-height: 50px; margin-right: 18px; font-weight: 500; font-size: 16px; }
.rform__agree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ailo-muted); }
.rform__agree a { text-decoration: underline; text-underline-offset: 3px; }
.rform__submit { width: 100%; margin-top: 20px; }

/* ---------- Footer ---------- */
.ft { background: #15171c; color: #aeb3bd; padding: clamp(56px, 6vw, 80px) 0 40px; font-size: 14px; }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__name { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; letter-spacing: .14em; color: #fff; }
.ft__name span { font-weight: 500; color: #aeb3bd; }
.ft__name .hd__mark { width: 34px; height: 34px; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft__nav a { font-size: 14px; color: #d4d7dd; }
.ft__nav a strong { color: #fff; }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__info { line-height: 1.9; }
.ft__note { margin-top: 14px; color: #8b909a; font-size: 13px; }
.ft__copy { margin-top: 18px; color: #8b909a; font-size: 13px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1199.98px) {
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .column__grid { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .about__grid, .record__grid { grid-template-columns: 1fr; }
  .record__head { position: static; }
  .reserve__grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "info"; }
  .rform { margin-top: 32px; }
  .pa { grid-template-columns: 1fr; }
  .nums__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .nums__list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 767.98px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li:first-child { padding: 28px 0; }
  .values li + li { border-left: 0; border-top: 1px solid var(--ailo-line); }
  .ledger li { grid-template-columns: 52px 1fr; }
  .ledger__txt { grid-column: 1 / -1; }
  .ledger__res { justify-self: start; grid-column: 1 / -1; }
  .post-by { display: none; }
  .column .ailo-postlist a { flex-wrap: wrap; gap: 4px 12px; }
  .column .ailo-postlist__subject { flex-basis: 100%; order: 2; white-space: normal; }
  .column .ailo-postlist__date { order: 1; }
}
@media (max-width: 575.98px) {
  .sec { padding: 72px 0; }
  .hero { padding-top: calc(var(--ailo-header-h) + 48px); }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .hero__btns .btn { flex: 1 1 140px; padding: 0 16px; }
  .mgrid { gap: 28px 14px; }
  .mcard__name { font-size: 20px; }
  .mcard__name span { display: block; margin: 2px 0 0; }
  .rform__row { grid-template-columns: 1fr; gap: 0; }
  .ft__top { flex-direction: column; align-items: flex-start; }
}
.fld--radio input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--c11-navy); }
.hero__sub, .ailo-lead { text-wrap: pretty; }

/* 이미지 height 속성이 aspect-ratio 를 덮지 않게 */
:where(img) { height: auto; }
