@font-face { font-family:'Maru Buri'; src:url('assets/MaruBuri-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Maru Buri'; src:url('assets/MaruBuri-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
:root {
  color-scheme: light;
  --navy: #102236;
  --navy-deep: #0b1929;
  --ink: #162a3d;
  --muted: #536170;
  --gold: #dfc89e;
  --bronze: #765835;
  --line: #e0e5e7;
  --paper: #f8f6f0;
  --header-height: 76px;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100svh; margin: 0; color: var(--ink); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
main { display: flex; flex: 1; flex-direction: column; }
main > .section { flex: 1; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid #9e713f; outline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--header-height) + 22px); }
.shell { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 10px 18px; background: white; }

.site-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.08; flex-shrink: 0; }
.wordmark strong { display: block; font-size: 1.57rem; font-weight: 800; letter-spacing: -.065em; }
.brand-mark { flex: none; width: 27px; height: 27px; }
.site-header .wordmark strong { font-family:"Maru Buri",serif; font-weight:400; letter-spacing:-.04em; color:#182e40; white-space:nowrap; }
.brand-subtitle { display:block; margin-top:3px; color:#645748; font:400 .68rem/1.15 Georgia,serif; white-space:nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 52px); font-size: .96rem; font-weight: 700; }
.nav-item { display: flex; align-items: center; position: relative; }
.nav-root { display: flex; align-items: center; min-height: 46px; text-decoration: none; white-space: nowrap; }
.nav-root:hover, .nav-current .nav-root { color: var(--bronze); }
.nav-group summary { display: grid; place-items: center; min-width: 25px; min-height: 42px; }
.nav-group summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); color: #5a6a76; }
.nav-group[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-group summary:hover, .nav-group[open] summary { color: var(--bronze); }
.nav-pending { white-space: nowrap; color: #667381; }
.nav-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; min-width: 185px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 15px 38px #0b192922; }
.nav-panel-wide { display: grid; grid-template-columns: repeat(2, minmax(165px, 1fr)); gap: 11px; }
.nav-panel-wide > div + div { border-left: 1px solid var(--line); padding-left: 11px; }
.nav-caption { display: block; padding: 8px 10px 3px; color: var(--bronze); font-size: .875rem; }
.nav-panel a { display: block; padding: 9px 10px; border-radius: 3px; text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: var(--paper); color: var(--bronze); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 9px 22px; background: var(--navy); border: 1px solid transparent; border-radius: 4px; color: #fff; text-decoration: none; font-size: .97rem; font-weight: 700; white-space: nowrap; transition: background-color .15s, color .15s; }
.header-contact { min-height: 41px; padding-inline: 19px; font-size: .9rem; }
.button:hover { background: #243e57; }
.button-outline { color: var(--ink); background: transparent; border-color: #897b66; }
.button-outline:hover { background: #f0ebe1; }

.home-hero { position: relative; isolation: isolate; display: grid; flex: 1; align-items: center; background: var(--navy); color: white; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 32%; background: url("assets/yeouido-editorial.jpg") 58% 55% / cover no-repeat; mask-image: linear-gradient(90deg, transparent, black 12%); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, #102236ee 9%, #1022369c 28%, #10223612 66%), linear-gradient(0deg, #0e1c2e54, transparent 75%); }
.home-inner { display: flex; align-items: center; min-height: 565px; padding-block: clamp(54px, 6vw, 92px); }
.home-copy { max-width: 42rem; }
.home-copy .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--gold); }
.home-copy .eyebrow::before { content: ''; width: 27px; border-top: 1px solid currentColor; }
.home-copy h1 { font-size: clamp(2.55rem, 4.8vw, 4.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.08em; }
.hero-line { display:inline-block; position:relative; }
.hero-accent { color:#eed9b4; }
.hero-accent::after { content:''; position:absolute; inset:auto 0 -5px; height:3px; background:linear-gradient(90deg,#c49456,#f0d7a9); transform-origin:left; }
.home-lead { max-width: 33rem; margin-top: 24px; color: #e1e9ef; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.8; }

.sub-page { --line: #e5ddd0; background: var(--paper); }
.sub-page main { position: relative; isolation: isolate; background: linear-gradient(112deg, #faf8f3 15%, var(--paper) 57%, #efe6d8 100%); }
.sub-page main::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 37%; background: url("assets/yeouido-editorial.jpg") 60% 54% / cover no-repeat; filter: grayscale(1) sepia(.36); opacity: .15; mask-image: linear-gradient(90deg, transparent, #000 76%); }

@media (prefers-reduced-motion: no-preference) {
  .hero-line { animation:hero-rise 1.4s .15s cubic-bezier(.25,.55,.25,1) both; }
  .hero-accent { animation-delay:1.15s; }
  .hero-accent::after { animation:hero-rule 1.25s 2.2s ease-in-out both; }
  .home-lead { animation:hero-rise 1.25s 2.45s ease-out both; }
}
@keyframes hero-rise {
  from { opacity:0; transform:translateY(.75em); clip-path:inset(0 0 100% 0); }
  to { opacity:1; transform:none; clip-path:inset(-12% -2% -20%); }
}
@keyframes hero-rule { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.eyebrow { color: var(--bronze); font-size: .9rem; font-weight: 700; letter-spacing: .045em; }
.contact-actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.page-actions .text-link { margin-top: 0; }

.breadcrumbs { border-bottom: 1px solid var(--line); font-size: .875rem; }
.sub-page .breadcrumbs { background: #faf8f3e6; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: #657482; }
.breadcrumbs a { color: var(--muted); text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

.section { padding-block: 86px; }
.section-heading { margin-bottom: 32px; }
.section h1 { font-size: clamp(2.1rem, 4.1vw, 3.65rem); font-weight: 700; line-height: 1.22; letter-spacing: -.073em; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
.service-group { padding-inline: 26px; background: white; border: 1px solid var(--line); border-radius: 7px; }
.service-group h2, .contact-info h2 { font-size: 1.36rem; line-height: 1.4; letter-spacing: -.055em; }
.service-group h2 { padding-block: 23px 18px; }
.service-link { display: block; padding: 17px 2px; border-top: 1px solid var(--line); text-decoration: none; }
.service-link:hover strong { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.service-link strong, .service-link span { display: block; }
.service-link strong { font-size: 1.05rem; letter-spacing: -.036em; }
.service-link span { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.detail-inner > p { max-width: 42rem; margin-top: 16px; color: var(--muted); }
.detail-inner > .detail-lead { margin-top: 19px; color: var(--ink); font-size: 1.13rem; font-weight: 700; }
.text-link { display: inline-block; margin-top: 13px; color: #614627; font-weight: 700; font-size: .95rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: #2f2416; }

.about { display: grid; align-items: center; }
.about-inner { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); grid-template-areas: 'copy portrait'; align-items: center; gap: clamp(32px, 7vw, 96px); }
.about-card { grid-area: portrait; width: min(100%, 440px); justify-self: center; margin: 0; }
.about-portrait { position: relative; overflow: hidden; aspect-ratio: 1 / 1.03; mask-image: linear-gradient(#000 85%, transparent); }
.about-portrait img { position: absolute; top: 4%; left: 50%; width: 94%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 8px 18px #162a3d26); }
.about-card figcaption { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding-block: 6px; }
.about-card figcaption strong { font-size: 1.25rem; }
.about-card figcaption span { color: var(--bronze); font-size: .9rem; }
.about-copy { grid-area: copy; }
.about-copy h1 { margin-bottom: 23px; }
.about-copy h1::after { display: block; width: 34px; margin-top: 18px; border-top: 2px solid #b19062; content: ''; }
.about-copy > p { max-width: 37rem; color: var(--muted); line-height: 1.78; }
.about-copy > .about-greeting { color: var(--ink); font-weight: 700; }
.about-copy > p + p { margin-top: 15px; }
.about-copy .text-link { margin-top: 23px; }
.post-feed + .post-feed { margin-top: 52px; }
.feed-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 17px; margin-bottom: 17px; }
.feed-heading h2 { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; font-size: clamp(1.37rem, 2.5vw, 1.8rem); letter-spacing: -.06em; }
.feed-platform { flex: none; width: 28px; height: 28px; }
.feed-platform-blog { border-radius: 6px; background: url("assets/naver-blog-icon.png") -21.22px -18.38px / 70px auto no-repeat; }
.feed-platform-youtube { width: 88px; height: auto; }
.feed-heading .text-link { margin-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.post-card { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: white; }
.post-card > a { display: block; min-height: 100%; border-radius: inherit; text-decoration: none; }
.post-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 5px 5px 0 0; background: #f1ede3; }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-media:not(.post-video) img { object-fit: contain; }
.post-video { background: var(--navy); }
.post-play { position: absolute; right: 12px; bottom: 11px; display: grid; width: 37px; height: 31px; place-items: center; border: 1px solid #ffffff68; border-radius: 4px; background: #102236ec; }
.post-play::before { content: ''; margin-left: 2px; border-block: 6px solid transparent; border-left: 9px solid #fff; }
.post-copy { padding: 15px 16px 19px; }
.post-copy time { color: var(--muted); font-size: .875rem; }
.post-copy h3 { margin-top: 4px; font-size: 1.01rem; line-height: 1.45; letter-spacing: -.038em; }
.post-card a:hover h3 { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(30px, 6vw, 82px); }
.visit-info address { margin-block: 23px 18px; font-style: normal; }
.visit-info address strong { display: block; font-size: clamp(1.15rem, 2.1vw, 1.5rem); letter-spacing: -.045em; }
.visit-info address span { display: block; margin-top: 3px; color: var(--muted); }
.visit-directions { margin-bottom: 22px; padding-block: 12px; border-block: 1px solid var(--line); }
.visit-directions div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding-block: 4px; }
.visit-directions dt { color: var(--bronze); font-weight: 700; }
.visit-directions dd { color: var(--muted); }
.visit-map { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #ecefe9; }
.map-art { position: relative; min-height: clamp(300px, 29vw, 370px); }
.map-road { position: absolute; background: #fff; }
.map-road-main { inset: 25% 0 auto; height: 15%; }
.map-road-cross { inset: 0 auto 0 63%; width: 10%; }
.map-road-lane { inset: 63% auto auto 0; width: 68%; height: 10%; }
.map-label, .map-spot { position: absolute; white-space: nowrap; font-size: .875rem; font-weight: 700; }
.map-label { color: var(--muted); }
.map-bridge { top: 10%; left: 68%; transform: translateX(-50%); }
.map-seonyudo { top: 32.5%; left: 5%; transform: translateY(-50%); }
.map-dangsan { top: 32.5%; right: 5%; transform: translateY(-50%); }
.map-crossing { top: 21%; left: 68%; transform: translate(-50%, -50%); color: var(--ink); }
.map-lane-label { left: 5%; top: 68%; transform: translateY(-50%); }
.map-route { position: absolute; left: 33%; top: 50%; width: 35%; height: 18%; border-right: 3px dashed #9d7344; border-bottom: 3px dashed #9d7344; }
.map-route::before, .map-route::after { content: ''; position: absolute; }
.map-route::before { left: 38%; right: -3px; top: 0; border-top: 3px dashed #9d7344; }
.map-route::after { left: 0; top: 100%; height: 75%; border-left: 3px dashed #9d7344; }
.map-spot { left: 33%; transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 4px; }
.map-tax-office { top: 50%; color: var(--ink); background: #fff; border: 1px solid #cbd4d4; }
.map-soltax { top: 84%; color: #fff; background: var(--navy); }
.contact-inner { display: grid; grid-template-columns: 1fr .83fr; align-items: center; gap: clamp(32px, 9vw, 126px); }
.contact h1 + p { max-width: 28rem; margin-top: 17px; color: var(--muted); }
.contact-info { border-block: 1px solid #b9a88d; padding-block: 20px; }
.contact-info dl { margin-top: 13px; }
.contact-info dl div { display: grid; grid-template-columns: 60px 1fr; gap: 8px; padding-block: 5px; }
.contact-info dt { color: var(--bronze); }
.contact-info a { text-underline-offset: 4px; }
.contact-info p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.site-footer { color: #e5edf2; background: var(--navy-deep); }
.home-footer { border-top:1px solid #ffffff24; }
.footer-inquiry { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:16px; border-bottom:1px solid #ffffff26; }
.footer-inquiry h2 { font-size:clamp(1.15rem,2.2vw,1.75rem); line-height:1.3; letter-spacing:-.055em; }
.footer-inquiry .button { background:#dfc89e; color:#102236; white-space:nowrap; }
.footer-directory { display:grid; grid-template-columns:1.5fr 1.1fr 1fr; gap:24px; padding-block:20px; }
.footer-office { font:600 1.35rem/1.3 'Maru Buri',serif; margin-bottom:3px; }
.footer-directory address { font-style:normal; }
.footer-directory h3 { margin-bottom:3px; font-size:.95rem; color:#dfc89e; }
.footer-directory a { display:table; padding-block:1px; text-decoration:none; }
.footer-directory .footer-phone { display:inline-flex; align-items:center; gap:6px; }
.footer-phone svg { color:var(--gold); }
.footer-directory a:hover { text-decoration:underline; text-underline-offset:4px; }
.footer-directory nav:first-of-type { display:grid; grid-template-columns:repeat(2,max-content); gap:0 22px; align-content:start; }
.footer-directory nav:first-of-type h3 { grid-column:1/-1; }
.footer-directory .footer-social { display:flex; width:fit-content; gap:8px; align-items:center; min-height:27px; }
.footer-credit { padding-block:7px; border-top:1px solid #ffffff26; color:#bdc9d2; font-size:.8rem; }
@media (max-width:650px) {
  .footer-inquiry { padding-block:10px; }
  .footer-inquiry .button { min-height:36px; padding:6px 10px; }
  .footer-directory { grid-template-columns:auto auto; justify-content:space-between; gap:10px 12px; padding-block:12px; font-size:.875rem; }
  .footer-directory > div { grid-column:1/-1; }
  .footer-directory > div > :is(h2,p) { display:inline-block; vertical-align:baseline; margin-right:6px; }
  .footer-directory nav:first-of-type { column-gap:12px; }
}
.sub-page .site-footer { border-top: 1px solid var(--line); color: var(--ink); background: #efebe2; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 23px; }
.footer-inner .wordmark strong { font-size: 1.15rem; }
.footer-inner .brand-mark { width: 21px; height: 21px; }
.footer-inner p { font-size: .875rem; }

@media (max-width: 970px) {
  .shell { width: calc(100% - 56px); }
  .primary-nav { gap: 20px; }
  .header-inner { gap: 15px; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { justify-content: flex-start; gap: 9px; }
  .wordmark { gap: 8px; margin-right: auto; }
  .wordmark strong { font-size: 1.27rem; }
  .brand-mark { width: 22px; height: 22px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font-size: .875rem; font-weight: 700; }
  .header-contact { min-height: 38px; padding-inline: 9px; font-size: .875rem; }
  .primary-nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100vh - var(--header-height)); overflow: auto; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 25px #0b192921; padding: 8px 18px 14px; }
  .menu-toggle[aria-expanded="true"] + .primary-nav { display: block; }
  .nav-item, .nav-pending { display: block; border-bottom: 1px solid var(--line); }
  .nav-pending { padding: 11px 0; }
  .nav-root { margin-right: 46px; }
  .nav-group summary { position: absolute; top: 0; right: 0; min-width: 44px; min-height: 46px; }
  .nav-panel { position: static; width: auto; transform: none; margin-bottom: 9px; background: var(--paper); box-shadow: none; }
  .nav-panel-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-panel-wide > div + div { padding-left: 4px; }
  .nav-panel a, .nav-caption { padding-inline: 6px; }
  .hero-photo { inset: 0; background-position: 63% 50%; mask-image: none; }
  .hero-photo::after { background: linear-gradient(90deg, #102236f5, #102236a7 62%, #10223677), linear-gradient(0deg, #102236ba, transparent 95%); }
  .home-inner { min-height: 440px; padding-block: 60px; }
  .home-copy .eyebrow { margin-bottom: 14px; }
  .home-copy h1 { font-size: clamp(2.1rem, 7.5vw, 3.25rem); }
  .home-lead { margin-top: 17px; }
  .section { padding-block: 60px; }
  .services-grid, .about-inner, .visit-grid, .contact-inner { grid-template-columns: 1fr; gap: 17px; }
  .about-inner, .visit-grid, .contact-inner { gap: 27px; }
  .service-group { padding-inline: 18px; }
  .sub-page main::before { inset: 0; opacity: .1; mask-image: linear-gradient(135deg, transparent 18%, #000); }
  .about-inner { grid-template-areas: 'portrait' 'copy'; }
  .about-card { width: min(100%, 330px); }
  .about-copy h1 { margin-bottom: 19px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-feed + .post-feed { margin-top: 39px; }
}

@media (max-width: 520px) {
  .post-grid { grid-template-columns: 1fr; gap: 12px; }
}


.service-index { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.service-index div { display:flex; flex-wrap:wrap; gap:.45rem 1rem; padding:1rem 1.35rem; border-block-start:2px solid #ad9370; background:#fffcf6c9; }
.service-index strong { width:100%; color:var(--bronze); }
.service-index a,.secondary-channel { text-underline-offset:.24em; }
.practice-group,.inquiry-guide { margin-top:clamp(44px,6vw,84px); }
.practice-group h2,.inquiry-guide h2,.visit-info h2 { font-size:clamp(1.65rem,3vw,2.5rem); letter-spacing:-.05em; }
.practice,.inquiry-guide dl > div { border-top:1px solid #c6bba9; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.65fr); gap:2rem; padding-block:clamp(22px,3vw,40px); }
.practice-group h2,.inquiry-guide h2 { margin-bottom:1rem; }
.practice h3 { font-size:1.35rem; }
.practice header p,.feed-description { color:var(--muted); }
.practice dl { margin-top:1em; }
.practice dt,.inquiry-guide dt { font-weight:700; color:var(--bronze); }
.feed-description { margin-bottom:1rem; }
.secondary-channel { display:inline-block; margin-top:1rem; }
.about + .visit { border-top:1px solid var(--line); }
.sub-page main:has(> .services)::before { content:none; }
.practice-symbol { display:block; width:64px; height:64px; margin:0 0 12px; border-radius:16px; background:linear-gradient(135deg,#fffaf0,#f0e4cd); stroke:#745733; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.about + .visit:not(:target) { display:none; }
.visit-close { margin-inline-start:1rem; }
@media (max-width:760px) {
  .service-index,.practice,.inquiry-guide dl > div { grid-template-columns:1fr; gap:.65rem; }
}

.consultation-flow { background:#fffcf5db; border-left:3px solid #ae9369; padding:clamp(18px,3vw,32px); margin:1rem 0 2rem; }
.consultation-flow ol { display:flex; flex-wrap:wrap; gap:.5rem 2rem; padding-left:1.4rem; font-weight:700; }
.consultation-flow li::marker { color:var(--bronze); }
.consultation-flow p { max-width:55rem; }
.case-intro { margin-top:1rem; }
.practice h4 { margin:1.5rem 0 .5rem; font-size:1.1rem; }
.case-note { border-top:1px solid var(--line); padding:1rem 0; }
.case-note h5 { font-size:1.05rem; margin:0; }
.case-note dl { display:grid; grid-template-columns:5.4rem 1fr; gap:.45rem .8rem; margin-top:.6rem; }
@media (max-width:520px) {
  .consultation-flow ol { display:grid; grid-template-columns:1fr 1fr; }
  .case-note dl { display:block; }
  .case-note dd + dt { margin-top:.5rem; }
}

.document-list { margin:0; padding-inline-start:1.15em; }
.document-list li + li { margin-top:.45em; }

body:not(.sub-page) .site-header .brand-mark { width:2.875rem; height:2.875rem; }
@media (max-width:760px) {
  body:not(.sub-page) .site-header .brand-mark { width:2.25rem; height:2.25rem; }
}

.calculator-choice { padding:1.5rem; border:1px solid var(--line); border-top:2px solid #ab9168; background:#fffdf8; }
.calculator-choice strong { display:flex; align-items:center; gap:.5rem; }
.calculator-choice svg { flex:none; color:var(--bronze); }
.sub-page main:has(.calculator-section, .calculator-choice)::before { content:none; }
