
/* Layout: 로펌형 — 전면 사진 히어로, 밝은 본문 섹션과 짙은 네이비 섹션을 교차, 사진과 글을 비대칭 2단으로 배치 */
:root {
  --paper: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #151A22;
  --muted: #5D6573;
  --line: #DCE0E6;
  --brass: #9E7A57;
  --deep: #17243B;
  --deep-2: #1F2F4C;
  --on-deep: #E9ECF1;
  --on-deep-muted: #A3AEBF;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --num: "Noto Serif KR", "Nanum Myeongjo", serif; /* 전화번호·연도용: 높이가 고른 숫자 */
  --maxw: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C121C; --surface: #121B28; --ink: #E6E9EE; --muted: #9AA4B3; --line: #243043;
    --brass: #D9B08C; --deep: #0A111E; --deep-2: #142038;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C121C; --surface: #121B28; --ink: #E6E9EE; --muted: #9AA4B3; --line: #243043;
  --brass: #D9B08C; --deep: #0A111E; --deep-2: #142038;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.8; font-weight: 400;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.35; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }

.kicker { display: flex; align-items: center; gap: 14px; font-family: var(--latin); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-title { font-size: clamp(28px, 3.6vw, 42px); margin-top: 18px; }
.sec-lead { color: var(--muted); margin-top: 18px; max-width: 36em; font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; font-size: 15px; font-weight: 500;
  text-decoration: none; letter-spacing: .02em; border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: background .25s, color .25s, border-color .25s;
}
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.gold { background: var(--brass); color: #fff; }
.btn.gold:hover { background: #87654A; }
.btn.line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn.line-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ─── Header ─── */
header.site {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff; transition: background .35s, color .35s, box-shadow .35s;
}
header.site.solid { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .35s; }
header.site.solid .wrap { height: 68px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 18px; }
.logo-text { display: grid; line-height: 1.2; }
.logo-text b { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.logo-text small { font-family: var(--latin); font-size: 11.5px; letter-spacing: .24em; opacity: .75; }
.logo img { height: 42px; width: auto; transition: height .35s; }
.logo .on-light { display: none; }
header.site.solid .logo .on-light { display: block; }
header.site.solid .logo .on-dark { display: none; }
header.site.solid .logo img { height: 36px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) header.site.solid .logo .on-light { display: none; } :root:not([data-theme="light"]) header.site.solid .logo .on-dark { display: block; } }
:root[data-theme="dark"] header.site.solid .logo .on-light { display: none; }
:root[data-theme="dark"] header.site.solid .logo .on-dark { display: block; }
nav.gnb { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
nav.gnb a { text-decoration: none; opacity: .88; position: relative; padding-block: 6px; }
nav.gnb a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--brass); transition: right .3s; }
nav.gnb a:hover { opacity: 1; }
nav.gnb a:hover::after { right: 0; }
.hd-tel { font-family: var(--num); font-size: 16px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; display: flex; align-items: center; gap: 10px; font-variant-numeric: lining-nums tabular-nums; }
.hd-tel::before { content: "상담"; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; padding: 2px 8px; border: 1px solid currentColor; opacity: .7; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* ─── Hero ─── */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,38,.92) 0%, rgba(14,22,38,.72) 45%, rgba(14,22,38,.35) 100%), linear-gradient(0deg, rgba(14,22,38,.85) 0%, transparent 40%); }
.hero-inner { padding-block: 210px 72px; }
.hero .kicker { color: #D9B08C; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 500; line-height: 1.28; margin-top: 26px; max-width: 13em; }
.hero h1 span { color: #D9B08C; }
.hero .lead { margin-top: 26px; font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,.78); max-width: 32em; font-weight: 300; }
.hero .cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero-strip { margin-top: 110px; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip div { padding: 26px 24px 0 0; min-width: 0; }
.hero-strip div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-strip b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.hero-strip span { font-size: 14px; color: rgba(255,255,255,.62); }

section { padding-block: 130px; }

/* ─── Credentials bar ─── */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust div.item { padding: 34px 28px; min-width: 0; display: grid; gap: 6px; align-content: start; }
.trust div.item + div.item { border-left: 1px solid var(--line); }
.trust .lb { font-family: var(--num); font-size: 13px; letter-spacing: .14em; color: var(--brass); font-weight: 600; }
.trust b { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.5; }
.trust span.d { color: var(--muted); font-size: 14px; }

/* ─── About ─── */
.about .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.about .statement { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 29px); line-height: 1.6; margin-top: 30px; font-weight: 400; }
.about .statement strong { font-weight: 700; }
.about .body { color: var(--muted); margin-top: 26px; max-width: 34em; }
.frame { position: relative; min-width: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--brass); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 110px; border-top: 1px solid var(--line); }
.principles div { padding: 36px 36px 0 0; min-width: 0; }
.principles div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.principles .en { font-family: var(--latin); font-style: italic; color: var(--brass); font-size: 18px; }
.principles h3 { font-size: 22px; margin-top: 6px; }
.principles p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

/* ─── Practice ─── */
.practice { background: var(--deep); color: var(--on-deep); }
.practice .kicker { color: #D9B08C; }
.practice .sec-lead { color: var(--on-deep-muted); }
.practice-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.tabs { display: flex; gap: 0; border: 1px solid rgba(255,255,255,.2); }
.tabs button { background: none; border: 0; color: var(--on-deep-muted); font: inherit; font-size: 15px; padding: 12px 26px; cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: #D9B08C; color: #0E1826; font-weight: 500; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
#areas-wk { grid-template-columns: repeat(3, 1fr); }
.area {
  background: var(--deep); color: inherit; font: inherit; text-align: left; border: 0; cursor: pointer;
  padding: 36px 30px 30px; min-width: 0; position: relative; display: flex; flex-direction: column; transition: background .3s;
}
.area:hover, .area:focus-visible { background: var(--deep-2); }
.area .en { font-family: var(--latin); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #D9B08C; }
.area h3 { font-size: 21px; margin-top: 12px; color: #fff; }
.area p { color: var(--on-deep-muted); font-size: 15px; margin-top: 14px; flex: 1; }
.area .more { margin-top: 22px; font-size: 13.5px; color: #D9B08C; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.area .more::after { content: "→"; transition: transform .25s; }
.area:hover .more::after { transform: translateX(4px); }

/* ─── Practice detail dialog ─── */
dialog.pd { border: 0; padding: 0; width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
dialog.pd::backdrop { background: rgba(10,16,28,.62); backdrop-filter: blur(3px); }
.pd-head { background: var(--deep); color: #fff; padding: 36px 44px 30px; position: relative; }
.pd-head .en { font-family: var(--latin); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: #D9B08C; }
.pd-head h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 10px; color: #fff; }
.pd-head .for { display: inline-block; margin-top: 14px; font-size: 12.5px; border: 1px solid rgba(255,255,255,.3); padding: 2px 10px; color: var(--on-deep-muted); }
.pd-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.pd-close:hover { border-color: #D9B08C; color: #D9B08C; }
.pd-body { padding: 34px 44px 10px; display: grid; gap: 28px; }
.pd-body .lead { font-size: 16.5px; line-height: 1.85; }
.pd-body h4 { font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; color: var(--brass); margin-bottom: 12px; }
.pd-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pd-body ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.pd-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--brass); }
.pd-body ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pd-body ol li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.pd-body ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--num); font-size: 13px; color: var(--brass); font-weight: 600; padding-top: 2px; }
.pd-body .laws { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-body .laws span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; }
.pd-body ul.rel { gap: 0; border-top: 1px solid var(--line); }
.pd-body ul.rel li { padding: 0; }
.pd-body ul.rel li::before { display: none; }
.pd-body ul.rel a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; }
.pd-body ul.rel a:hover { color: var(--brass); }
.pd-body ul.rel time { color: var(--muted); font-size: 13px; font-family: var(--num); white-space: nowrap; }
.pd-body .rel-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pd-foot { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 18px 44px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pd-foot .btn { padding: 13px 22px; font-size: 14.5px; }
.pd-foot .btn.kakao { background: #FEE500; color: #191919; }
.pd-foot .btn.naver { background: #03C75A; color: #fff; }
.pd-hint { flex-basis: 100%; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.pd-hint b { color: var(--ink); font-weight: 500; }

/* ─── Deadlines ─── */
.deadline-band { position: relative; color: #fff; padding-block: 120px 220px; isolation: isolate; background: var(--deep); }
.deadline-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.deadline-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,38,.9), rgba(14,22,38,.55)); }
.deadline-band .kicker { color: #D9B08C; }
.deadline-band .sec-lead { color: rgba(255,255,255,.75); }
.deadline-table { margin-top: -140px; padding-block: 0 130px; }
.tbl { background: var(--surface); box-shadow: 0 30px 60px -30px rgba(10,20,40,.35); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 24px 32px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 13px; letter-spacing: .1em; color: var(--muted); font-weight: 500; padding-block: 18px; }
tr:last-child td { border-bottom: 0; }
td.case { font-family: var(--serif); font-weight: 600; font-size: 17px; }
td.term { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brass); white-space: nowrap; font-variant-numeric: tabular-nums; }
td.from { color: var(--muted); font-size: 15px; }
td.law { color: var(--muted); font-size: 14px; white-space: nowrap; }
.tbl-note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ─── Attorney ─── */
.attorney { background: var(--surface); border-block: 1px solid var(--line); }
.attorney .grid { display: grid; grid-template-columns: 380px 1fr; gap: 90px; align-items: start; }
.portrait { position: relative; min-width: 0; }
.portrait .ph {
  aspect-ratio: 3 / 4; max-width: 100%; background: linear-gradient(160deg, var(--deep-2), var(--deep));
  display: grid; place-items: center; text-align: center; color: var(--on-deep-muted); position: relative; z-index: 1;
}
.portrait .ph b { display: block; font-family: var(--serif); font-size: 84px; font-weight: 400; color: #D9B08C; line-height: 1; }
.portrait .ph span { display: block; font-size: 13px; margin-top: 18px; letter-spacing: .08em; }
.portrait::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--brass); }
.portrait .pic { position: relative; z-index: 1; background: var(--deep); overflow: hidden; }
.portrait .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.portrait .pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(0deg, rgba(23,36,59,.95), rgba(23,36,59,0)); }
.portrait .pic figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 2; color: #fff; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.portrait .pic figcaption b { display: block; font-size: 22px; font-weight: 600; }
.creds.three { grid-template-columns: 1.2fr 1fr; }
.creds.three > div:last-child { grid-column: 1 / -1; }
.creds li.plain { grid-template-columns: 1fr; }
.award { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--brass); color: var(--ink); }
.award .yr { font-family: var(--num); font-size: 22px; color: var(--brass); font-weight: 500; line-height: 1; letter-spacing: .04em; }
.award b { font-family: var(--serif); font-weight: 600; font-size: 17px; }
footer .logo img { height: 40px; }
.attorney .role { font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--brass); }
.attorney h2 { font-size: clamp(32px, 3.6vw, 44px); margin-top: 8px; }
.attorney h2 small { font-family: var(--sans); font-size: 17px; font-weight: 400; color: var(--muted); margin-left: 12px; letter-spacing: 0; }
.attorney blockquote { margin: 34px 0 0; padding-left: 26px; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: 19px; line-height: 1.75; max-width: 34em; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; }
.creds h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .12em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.creds ul { list-style: none; margin: 0; padding: 0; }
.creds li { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--muted); display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.creds li em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }

/* ─── Contact ─── */
.contact .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.office-photo { margin-top: 40px; position: relative; }
.office-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info { margin-top: 34px; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: 14px; }
.info dd { margin: 0; min-width: 0; }
.info .tel { font-family: var(--num); font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: .06em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.copy { margin-left: 10px; font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-family: var(--sans); vertical-align: middle; }
.maplink { font-size: 14px; color: var(--brass); }
.qrow { display: grid; gap: 10px; margin-top: 30px; }
.qbtn {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px;
  padding: 14px 18px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .25s;
}
.qbtn:hover { border-color: var(--brass); }
.qbtn .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.qbtn .ic svg { width: 23px; height: 23px; }
.qbtn b { display: block; font-size: 16px; font-weight: 500; }
.qbtn small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.qbtn .num { display: block; font-family: var(--num); font-size: 15px; letter-spacing: .06em; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.qbtn .go { color: var(--brass); font-size: 18px; transition: transform .25s; }
.qbtn:hover .go { transform: translateX(4px); }
.ic.call { background: var(--deep); color: #D9B08C; }
.ic.kakao { background: #FEE500; color: #191919; }
.ic.naver { background: #03C75A; color: #fff; }
.quick { background: var(--deep); color: var(--on-deep); padding: 48px 44px; display: grid; gap: 12px; min-width: 0; align-self: start; }
.quick h3 { font-size: 26px; color: #fff; }
.quick .sub { color: var(--on-deep-muted); font-size: 15px; margin-bottom: 14px; }
.quick .qbtn { background: transparent; border-color: rgba(255,255,255,.18); color: #fff; padding: 18px 20px; }
.quick .qbtn:hover { border-color: #D9B08C; background: rgba(255,255,255,.04); }
.quick .qbtn small { color: var(--on-deep-muted); }
.quick .qbtn .num { color: #F2E2D2; font-size: 17px; }
.quick .qbtn .go { color: #D9B08C; }
.quick .ic.call { background: #D9B08C; color: #17243B; }
.quick .fine { color: var(--on-deep-muted); font-size: 13.5px; margin-top: 12px; }

/* ─── Blog feed ─── */
.blogsec { padding-block: 0 110px; }
.blog { border-top: 1px solid var(--ink); padding-top: 32px; }
.blog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.blog-head h3 { font-size: 22px; }
.blog-head a { color: var(--brass); font-size: 14.5px; text-decoration: none; }
.blog-list { list-style: none; margin: 18px 0 0; padding: 0; }
.blog-list li { border-bottom: 1px solid var(--line); }
.blog-list a { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 18px 0; text-decoration: none; align-items: baseline; }
.blog-list a:hover b { color: var(--brass); }
.blog-list b { font-weight: 500; font-size: 16px; transition: color .2s; min-width: 0; }
.blog-list time { color: var(--muted); font-size: 13.5px; font-family: var(--num); white-space: nowrap; }
.blog-empty { color: var(--muted); font-size: 15px; padding: 18px 0; }

/* ─── Calculator band ─── */
.calcband { background: var(--deep); color: var(--on-deep); padding-block: 90px; }
.calcband .kicker { color: #D9B08C; }
.calcband .sec-lead { color: var(--on-deep-muted); }
.calc-links { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.calc-links a { padding: 28px 22px 28px 0; text-decoration: none; display: grid; gap: 8px; min-width: 0; }
.calc-links a + a { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.calc-links b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: #fff; }
.calc-links span { font-size: 14px; color: var(--on-deep-muted); }
.calc-links i { font-style: normal; color: #D9B08C; font-size: 14px; margin-top: 6px; }
.calc-links a:hover b { color: #D9B08C; }

/* ─── FAQ ─── */
.faq .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q."; color: var(--brass); margin-right: 12px; font-family: var(--num); }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 22px; color: var(--brass); font-family: var(--sans); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 26px 34px; font-size: 15.5px; }

/* ─── Floating quick buttons ─── */
.float {
  position: fixed; right: 20px; top: calc(112px + env(safe-area-inset-top, 0px)); z-index: 60;
  display: grid; gap: 10px;
}
.float a {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s;
}
.float a:hover { transform: translateY(-2px); }
.float a svg { width: 28px; height: 28px; }
.float a span {
  position: absolute; right: 70px; white-space: nowrap; background: var(--surface); color: var(--ink);
  font-size: 13px; padding: 5px 10px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float a:hover span, .float a:focus-visible span { opacity: 1; }

/* ─── Footer ─── */
footer { background: var(--deep); color: var(--on-deep-muted); padding-block: 64px 48px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .logo { color: #fff; }
footer .fnav { display: flex; gap: 28px; flex-wrap: wrap; }
footer .fnav a { text-decoration: none; }
footer .fnav a:hover { color: #fff; }
footer .bottom { display: grid; gap: 6px; padding-top: 28px; line-height: 1.7; }
footer .bottom .disc { margin-top: 12px; font-size: 13px; opacity: .8; }

/* ─── Responsive ─── */
@media (max-width: 1180px) { .hd-tel { display: none !important; } }
@media (max-width: 1080px) {
  .calc-links { grid-template-columns: repeat(2, 1fr); }
  .calc-links a, .calc-links a + a { padding: 22px 18px 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .calc-links a:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
  .faq .grid { grid-template-columns: 1fr; gap: 40px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust div.item:nth-child(3) { border-left: 0; }
  .trust div.item:nth-child(n+3) { border-top: 1px solid var(--line); }
  nav.gnb { gap: 22px; }
  .hd-tel { display: none; }
  .areas, #areas-wk { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  nav.gnb { display: none; }
  nav.gnb.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); color: var(--ink); padding: 12px 24px 20px; gap: 4px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.3); }
  .menu-btn { display: block; }
  section { padding-block: 84px; }
  .hero-inner { padding-block: 150px 48px; }
  .hero-strip { grid-template-columns: 1fr; margin-top: 64px; }
  .hero-strip div, .hero-strip div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .about .grid, .attorney .grid, .contact .grid { grid-template-columns: 1fr; gap: 56px; }
  .frame { margin-right: 28px; }
  .principles { grid-template-columns: 1fr; margin-top: 72px; }
  .principles div, .principles div + div { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .portrait { max-width: 300px; margin-left: 22px; }
  .deadline-band { padding-block: 84px 190px; }
  th, td { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .calc-links { grid-template-columns: 1fr; }
  .calc-links a:nth-child(2n) { padding-left: 0; border-left: 0; }
  .blog-list a { grid-template-columns: 1fr; gap: 4px; }
  .faq-list details p { padding: 0 0 22px 0; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust div.item, .trust div.item + div.item { border-left: 0; padding: 22px 0; }
  .trust div.item + div.item { border-top: 1px solid var(--line); }
  .wrap { padding-inline: 18px; }
  .areas, #areas-wk { grid-template-columns: 1fr; }
  .area { padding: 28px 22px 24px; }
  .pd-head { padding: 30px 22px 24px; } .pd-body { padding: 26px 22px 6px; } .pd-foot { padding: 14px 22px; }
  .creds { grid-template-columns: 1fr; }
  .quick { padding: 32px 20px; } .float a { width: 52px; height: 52px; } .float { right: 14px; top: calc(92px + env(safe-area-inset-top, 0px)); }
  .logo-text small { display: none; }
  .tabs button { padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  * { transition: none !important; }
}
