/* Shared with the visual language of the supplied Decent civil site. */
:root {
  --site-header-height: 128px;
  --brand-primary: #201719;
  --brand-accent: #c62828;
  --brand-soft: #f5f5f5;
  --brand-accent-bright: #ef4444;
  --navy: var(--brand-primary);
  --ink: var(--brand-primary);
  --point: var(--brand-accent);
  --blue: var(--brand-accent);
  --muted: #646464;
  --line: #f5f5f5;
  --light: var(--brand-soft);
  --team: var(--brand-soft);
  --footer-bar: var(--brand-primary);
  --home-section-title-size: 35px;
  --home-section-title-line-height: 1.3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + 24px); }
body { margin: 0; padding-bottom: 80px; background: #fff; color: #212121; font: 400 15px/2 Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button, a { transition: color .25s, background .25s, border-color .25s; }
a:hover { color: var(--footer-bar); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { max-width: 100%; }
button svg, .text-link svg, .solid-button svg, .circle-arrow svg { width: 20px; height: 20px; flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
.container { width: 100%; max-width: 1332px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 110px; }
.page-index #practice + #cases,
.page-index #cases + #column { border-top: 1px solid #e6e6e6; }
.light { background: var(--light); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2, .home-practice h2 { margin: 0; font-size: 35px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; color: #111; }
.section-lead { font-size: 21px; line-height: 1.65; color: #545454; letter-spacing: -.025em; margin: 0 0 32px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.solid-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 15px 26px; color: #fff; background: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.solid-button:hover { color: #fff; background: var(--brand-accent); }
.sample-note { color: #8e8e8e; font-size: 12px; font-weight: 400; line-height: 1.7; text-align: center; margin: 0 24px 16px; }
.sample-note.align-left { text-align: left; margin: -24px 0 24px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; padding: 10px 18px; background: #fff; color: #222222; }
.skip-link:focus { top: 10px; }
#main-content:focus { outline: none; }
section[id], h2[id] { scroll-margin-top: 24px; }
/* Header, logo lockup and navigation proportions from the reference. */
.site-header { position: sticky; top: 0; z-index: 80; background: #201719; color: #fff; }
.header-overlay { margin-bottom: calc(-1 * var(--site-header-height)); background: var(--brand-primary); }
.header-inner { height: 128px; display: flex; align-items: center; gap: 70px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 10px; color: #fff; width: 300px; }
.brand:hover { color: #fff; }
.brand-logo { display: block; width: 238px; max-width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 60px; }
.desktop-nav a { font-size: 18px; line-height: 2; letter-spacing: -1px; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current=page]:hover { color: #f5f5f5; box-shadow: 0 2px #fff; }
.desktop-nav a[aria-current=page] { box-shadow: 0 2px #fff; }
.header-consult-cta { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 9px; min-height: 46px; margin-left: auto; padding: 10px 18px; border: 1px solid #c62828; border-radius: 5px; background: #c62828; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.025em; white-space: nowrap; }
.header-consult-cta:hover { color: #fff; background: #aa2020; border-color: #ef4444; }
.header-consult-cta:focus-visible { outline-color: #ef4444; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; padding: 11px; background: none; color: inherit; }
.menu-toggle span { display: block; height: 2px; width: 22px; background: currentColor; margin: 5px 0; }
@media (min-width: 1101px) {
  .header-inner { display: grid; grid-template-columns: minmax(190px,300px) minmax(0,1fr) auto; gap: 0; }
  .desktop-nav { justify-content: center; gap: clamp(20px,3vw,40px); }
  .header-consult-cta { margin-left: 0; }
}
.mobile-nav { padding: 12px 26px 28px; background: #201719; border-top: 1px solid #ffffff21; }
.mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav a { padding: 7px 0; font-size: 17px; }
/* Main page */
.hero { min-height: calc(360px - 80pt); position: relative; display: flex; align-items: center; background: #201719 url('/assets/office-hero.webp') center 58%/cover; color: #fff; }
.hero:before { content: ''; position: absolute; inset: 0; background: rgba(39,31,34,.66); }
.hero-copy { position: relative; text-align: center; padding-top: 0; padding-bottom: 0; }
.hero :is(h1,h2) { margin: 0; white-space: nowrap; font-size: 36px; font-weight: 400; line-height: 1.5; letter-spacing: -.035em; }
.hero strong { font-weight: 700; }
.decision-section { padding-bottom: 90px; }
.decision-section .section-heading { margin-bottom: 24px; align-items: flex-end; }
.decision-section .section-heading h2 { color: #222222; font-size: 40px; }
.decision-section .section-lead { margin-bottom: 24px; }
.decision-carousel { position: relative; max-width: 1600px; margin: 0 auto; }
.fan { display: flex; align-items: stretch; justify-content: flex-start; gap: 24px; overflow-x: auto; padding: 30px max(24px,calc((100% - 340px)/2)) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.fan::-webkit-scrollbar { display: none; }
.fan article { flex: 0 0 340px; scroll-snap-align: center; background: #fff; border: 1px solid #f5f5f5; border-radius: 8px; overflow: hidden; opacity: .58; transition: opacity .5s, box-shadow .5s; }
.fan article.is-active { opacity: 1; box-shadow: 0 16px 40px #15151515; }
.decision-paper { height: 268px; margin: 20px 20px 0; padding: 20px 22px 0; background: #fff; border: 1px solid #f5f5f5; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #343434; }
.court-seal { color: #a4a4a4; font-size: 24px; line-height: 1; }
.paper-court { font-size: 11px; letter-spacing: .18em; }
.paper-title { font-size: 19px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; margin-bottom: 6px; }
.paper-line { height: 5px; width: 100%; background: #f5f5f5; }
.paper-line.short { width: 75%; align-self: flex-start; }
.paper-stamp { border: 1px solid #c62828; padding: 2px 10px; font-size: 12px; color: #4e4e4e; line-height: 1.5; }
.decision-copy { padding: 24px; }
.result-tag { font-size: 11px; color: #5e5e5e; background: #f5f5f5; padding: 4px 9px; border-radius: 3px; }
.decision-copy h3 { font-size: 22px; color: #222222; font-weight: 700; margin: 10px 0; line-height: 1.4; letter-spacing: -.025em; }
.decision-copy p { font-size: 14px; line-height: 1.65; color: #6b6b6b; margin-bottom: 16px; }
.decision-copy .text-link { font-size: 14px; color: #222222; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.carousel-controls>button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #15151514; border-radius: 50%; background: #fff; color: #222222; box-shadow: 0 6px 20px #15151509; }
.carousel-controls>button:hover { background: #f5f5f5; }
.carousel-controls [data-previous] svg { transform: rotate(180deg); }
.carousel-controls [data-autoplay] { box-shadow: none; font-size: 14px; }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button { border: 0; padding: 10px 0; width: 26px; background: transparent; position: relative; }
.carousel-dots button:after { content: ''; display: block; height: 3px; width: 100%; background: #f5f5f5; opacity: .48; border-radius: 8px; }
.carousel-dots button[aria-pressed=true]:after { background: var(--ink); opacity: 1; }
.carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home-practice-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.home-practice h2 { color: #222222; }
/* Keep the five homepage section titles aligned with the practice heading. */
.page-index :is(#home-team-title, #practice h2, #cases h2, #column h2, #quick-consultation-title) {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--home-section-title-size);
  font-weight: 700;
  line-height: var(--home-section-title-line-height);
  letter-spacing: -.025em;
}
@media (min-width: 768px) {
  .page-index .home-contact #quick-consultation-title { font-size: 40px; }
}
.practice-list { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.practice-item { display: flex; align-items: center; gap: 0; width: 100%; min-width: 0; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.practice-item:first-child { border-top: 1px solid var(--line); }
.practice-number { flex: 0 0 44px; color: #c62828; font-size: 14px; font-weight: 700; line-height: 1; }
.practice-item h3 { margin: 0; flex: 1; min-width: 0; font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: #1a1a1a; }
.circle-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--navy); color: #222222; flex-shrink: 0; margin-left: 18px; }
.practice-item:hover { border-color: var(--navy); }
.practice-item:hover .circle-arrow { color: #fff; background: var(--navy); }
.editorial-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.editorial-card { display: block; min-width: 0; }
.editorial-cover { position: relative; isolation: isolate; overflow: hidden; padding: 24px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; background: #271f22; color: #fff; border-radius: 5px; }
.editorial-cover-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.editorial-cover:after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg,rgba(24,17,20,.2) 0%,rgba(24,17,20,.1) 34%,rgba(24,17,20,.82) 100%); pointer-events: none; }
.editorial-card:hover .editorial-cover-image { transform: scale(1.045); }
.cover-brand { font-size: 10px; display: inline-flex; gap: 6px; align-items: center; color: inherit; line-height: 1; }
.editorial-cover .cover-brand, .editorial-cover h3 { position: relative; z-index: 2; }
.cover-brand-logo { display: block; width: 150px; max-width: 100%; height: auto; }
.editorial-cover h3 { font-size: 19px; line-height: 1.6; font-weight: 600; margin: 0; letter-spacing: -.03em; }
.editorial-cover h3:before { content: ''; width: 16px; height: 2px; background: #ef4444; display: block; margin-bottom: 14px; }
.editorial-card>p { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: #6b6b6b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.column-card .editorial-cover { background: #271f22; color: #fff; border-radius: 0; }
.column-card .editorial-cover h3 { border: 0; padding-left: 0; }
.column-card .editorial-cover h3:before { display: block; }
.column-card .editorial-cover h3 small { display: block; font-size: 10px; color: #c4c4c4; margin-bottom: 8px; }
.editorial-title { margin: 16px 0 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
.column-card>p { margin-top: 8px; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.contact-options a { padding: 32px 0; border-top: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5; position: relative; }
.contact-options small { display: block; font-size: 14px; color: #6b6b6b; }
.contact-options b { font-size: 26px; font-weight: 600; line-height: 1.5; }
.contact-options svg { width: 24px; position: absolute; right: 4px; top: 50%; }
/* Interior pages */
.page-banner { padding: 100px 0 96px; text-align: center; color: #fff; background: #201719; }
.page-banner h1 { font-size: 48px; font-weight: 700; line-height: 1.3; margin: 0 0 28px; letter-spacing: -.035em; }
.page-banner p { margin: 0; font-size: 29px; font-weight: 400; line-height: 1.5; letter-spacing: -.03em; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; }
.category-card { padding: 48px 8px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #f5f5f5; }
.category-card h2 { font-size: 26px; line-height: 1.35; flex: 1; margin: 0; letter-spacing: -.025em; color: #1a1a1a; }
.category-card .circle-arrow { background: var(--ink); color: #fff; border: 0; width: 48px; height: 48px; }
.category-card:hover .circle-arrow { background: var(--footer-bar); }
.detail-banner { background: #201719; color: #fff; text-align: center; padding: 55px 0 130px; }
.breadcrumbs { color: #c9c9c9; font-size: 13px; line-height: 1.5; margin: 0 0 28px; }
.breadcrumbs span { margin: 0 12px; }
.detail-banner h1 { font-size: 48px; line-height: 1.3; font-weight: 700; margin: 0; letter-spacing: -.035em; }
.detail-intro { max-width: 1100px; margin-top: -70px; position: relative; padding-bottom: 90px; }
.intro-card { background: #fff; border-radius: 10px; text-align: center; padding: 62px 92px; box-shadow: 0 16px 50px #15151509; border: 1px solid #f5f5f5; }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .08em; font-weight: 600; color: #8f8f8f; margin: 0 0 20px; }
.intro-card h2 { font-size: 32px; line-height: 1.4; color: #222222; letter-spacing: -.03em; font-weight: 700; max-width: 750px; margin: 0 auto 28px; }
.intro-card p:last-child { margin: 0; font-size: 17px; line-height: 1.9; color: #6b6b6b; }
.detail-section-title { font-size: 32px; font-weight: 700; line-height: 1.4; margin: 0 0 42px; letter-spacing: -.03em; color: #111; border-left: 3px solid var(--ink); padding-left: 16px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: 30px; }
.process-column { background: #f5f5f5; padding: 36px; }
.process-column:nth-child(2) { background: #f5f5f5; }
.process-column>h3 { font-size: 19px; font-weight: 700; color: #3b3b3b; margin-bottom: 30px; }
.process-column ol { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.process-column li { position: relative; padding: 0 0 30px 58px; counter-increment: steps; }
.process-column li:last-child { padding-bottom: 0; }
.process-column li:before { content: counter(steps,decimal-leading-zero); position: absolute; left: 0; top: 0; background: #201719; color: #fff; width: 34px; height: 34px; line-height: 34px; border-radius: 50%; text-align: center; font-size: 11px; font-weight: 600; z-index: 1; }
.process-column li:after { content: ''; position: absolute; left: 17px; top: 25px; bottom: 0; border-left: 1px solid #f5f5f5; }
.process-column li:last-child:after { display: none; }
.process-column li h4 { font-size: 18px; line-height: 1.5; font-weight: 600; margin: 0 0 8px; color: #333333; }
.process-column li p { color: #6b6b6b; font-size: 15px; line-height: 1.8; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.check-card { background: #fff; border: 1px solid #f5f5f5; padding: 30px 26px; }
.check-card>span { font-size: 26px; line-height: 1; color: #818181; }
.check-card h3 { font-size: 19px; line-height: 1.5; margin: 20px 0 12px; color: #222222; font-weight: 700; }
.check-card p { margin: 0; font-size: 15px; line-height: 1.8; color: #6b6b6b; }
.situation-list { list-style: none; padding: 0; margin: 0; }
.situation-list li { padding: 20px 0 20px 30px; border-bottom: 1px solid #f5f5f5; position: relative; font-size: 18px; line-height: 1.7; }
.situation-list li:before { content: '✓'; color: #c62828; position: absolute; top: 20px; left: 0; font-weight: 600; }
.solution-section { background: #201719; color: #fff; padding: 100px 0; }
.solution-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 90px; }
.solution-grid h2 { font-size: 35px; line-height: 1.45; font-weight: 600; letter-spacing: -.03em; margin: 0; }
.solution-grid .eyebrow { color: #aaaaaa; }
.solution-grid p { font-size: 17px; line-height: 1.9; margin-bottom: 24px; color: #d9d9d9; }
.solution-grid .solid-button { border: 1px solid #c62828; background: transparent; margin-top: 10px; }
/* Team and introduction */
.featured-member { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: #f5f5f5; padding-block: 50px 0; }
.featured-photo { height: 540px; text-align: center; }
.featured-photo img { height: 100%; width: 100%; object-fit: contain; object-position: center bottom; }
.featured-member h2 { font-size: 35px; font-weight: 700; margin: 0 0 32px; line-height: 1.4; color: #111; }
.featured-member h2 span { font-size: 26px; color: #c62828; }
.featured-member p { font-size: 18px; line-height: 1.9; margin-bottom: 24px; }
.featured-member .text-link { font-size: 20px; margin-bottom: 48px; }
.team-tabs { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; border-block: 1px solid var(--line); }
.team-tabs a { padding: 18px 8px; font-size: 18px; font-weight: 600; }
.team-tabs a+a { border-left: 1px solid var(--line); }
.roster-heading { font-size: 30px; font-weight: 700; margin: 80px 0 34px; color: #111; }
.member-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 30px; }
.member-card { background: #fff; }
.member-photo { height: 390px; background: #f5f5f5; overflow: hidden; }
.member-photo img { display: block; height: 100%; width: 100%; object-fit: contain; object-position: center bottom; }
.member-meta { padding: 24px; position: relative; padding-right: 45px; }
.member-meta h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; line-height: 1.4; }
.member-meta h3 small { font-size: 14px; font-weight: 500; color: #6b6b6b; margin-left: 8px; }
.member-meta p { margin: 0; color: #6b6b6b; font-size: 13px; line-height: 1.9; }
.member-meta>svg { position: absolute; right: 18px; top: 28px; width: 18px; }
.about-intro { background: #f5f5f5; padding: 45px 0 110px; }
.anchor-nav { display: flex; gap: 44px; font-size: 15px; color: #6b6b6b; margin-bottom: 80px; }
.anchor-nav a:first-child { color: #222222; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.about-intro h1 { font-size: 48px; line-height: 1.4; font-weight: 500; letter-spacing: -.04em; margin: 0 0 38px; color: #111; }
.about-intro h1 strong { color: #c62828; font-weight: 700; }
.about-copy { max-width: 900px; font-size: 17px; color: #545454; line-height: 1.9; }
.about-copy p { margin-bottom: 24px; }
.service-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 70px; margin-top: 52px; }
.service-overview article { border-top: 1px solid #f5f5f5; padding-top: 30px; }
.service-overview span, .values-grid article>span { color: #8f8f8f; font-size: 14px; }
.service-overview h3, .values-grid h3 { font-size: 26px; line-height: 1.5; margin: 12px 0 18px; font-weight: 600; color: #111; }
.service-overview p, .values-grid p { font-size: 17px; line-height: 1.9; color: #6b6b6b; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.values-grid article { padding: 20px 0; }
.location-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; }
.location-map { height: 390px; background: #f5f5f5; position: relative; overflow: hidden; border: 1px solid #f5f5f5; }
.location-map:before { content: ''; position: absolute; width: 100%; height: 45px; top: 58%; background: #fff; transform: rotate(-15deg); }
.map-road { position: absolute; left: 55%; width: 45px; height: 100%; background: #fff; }
.station { position: absolute; left: 15%; top: 65%; font-size: 14px; padding: 3px 12px; color: #fff; background: #7f7f7f; border-radius: 20px; z-index: 1; }
.map-pin { position: absolute; top: 30%; left: 50%; padding: 14px 20px; color: #fff; background: var(--ink); box-shadow: 0 6px 15px #15151520; display: flex; flex-direction: column; align-items: center; line-height: 1.5; }
.map-pin b { font: 24px Georgia,serif; }
.map-pin span { font-size: 11px; margin-top: 5px; }
.location-map>p { position: absolute; bottom: 10px; left: 18px; font-size: 11px; color: #959595; margin: 0; }
.location-copy h3 { font-size: 28px; font-weight: 600; margin: 0 0 24px; }
.location-copy p { font-size: 18px; line-height: 1.9; margin-bottom: 24px; color: #545454; }
.location-copy .text-link { display: flex; margin: 0 0 30px; }
/* Footer and the original civil site's fixed contact UI. */
.site-footer { background: #e7e2df; color: #615a57; border-top: 1px solid #d7cfcb; padding: 60px 0; font-size: 12px; font-weight: 400; line-height: 1.9; }
.site-footer p { margin-bottom: 18px; }
.footer-policies { display: flex; gap: 16px; margin-bottom: 18px; }
.footer-policies a+a:before { content: '｜'; margin-right: 16px; color: #b7aaa3; }
.site-footer .copyright { margin: 0; color: #6f6662; font-size: 11px; }
.site-footer .footer-address-label { display: none; }
.quick-menu { position: fixed; right: 20px; top: 50%; transform: translateY(-50%) scale(1.05); transform-origin: right center; display: flex; flex-direction: column; width: 66px; border: 1px solid #e0e0e0; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px #00000014; overflow: hidden; z-index: 60; }
.quick-menu a { flex: none; width: 100%; height: 56px; padding: 7px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-bottom: 1px solid #e8e8e8; background: #fff; color: #242424; white-space: nowrap; transition: color .2s, background .2s; }
.quick-menu a svg { flex: none; width: 20px; height: 20px; }
.quick-menu a span { font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: -.02em; }
.quick-menu a:hover { background: #f5f5f5; color: var(--brand-primary); }
.quick-menu a:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: -4px; }
.quick-menu .quick-menu-phone { background: var(--brand-accent); color: #fff; }
.quick-menu .quick-menu-phone:hover { background: #aa2020; color: #fff; }
.quick-menu .quick-menu-phone:focus-visible { outline-color: #fff; }
.quick-menu .quick-menu-top { height: 40px; gap: 1px; padding: 4px 2px; border-bottom: 0; }
.quick-menu .quick-menu-top svg { width: 15px; height: 15px; }
.quick-menu .quick-menu-top span { font-size: 10px; line-height: 12px; letter-spacing: .02em; }
.quick-menu .blog-icon { display: block; width: 20px; height: 20px; font: 800 23px/20px Pretendard, sans-serif; text-align: center; }
.consult-bar { height: 80px; position: fixed; left: 0; right: 0; bottom: 0; background: #1b1315; display: flex; align-items: center; justify-content: center; gap: 20px; padding-inline: 20px; z-index: 70; color: #fff; box-shadow: 0 -4px 15px #15151506; }
.bar-wordmark { display: block; flex: none; width: 100px; aspect-ratio: 897 / 235; overflow: hidden; }
.bar-wordmark img { display: block; width: calc(100% * 1407 / 897); max-width: none; height: 100%; }
.bar-wordmark:hover { color: #fff; opacity: .88; }
.bar-divider { height: 28px; width: 1px; background: #ffffff47; }
.consult-bar p { flex:none; font-size: 18px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; margin: 0; white-space: nowrap; }
.consult-bar-form { display:flex; align-items:center; gap:10px; margin:0; }
.consult-bar-form input { width:160px; height:44px; padding:0 12px; border:1px solid #ffffff45; border-radius:5px; outline:none; background:#fff; color:#222; font-size:14px; line-height:1.4; }
.consult-bar-form input[name="phone"] { width:190px; }
.consult-bar-form input::placeholder { color:#999; opacity:1; }
.consult-bar-form input:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.consult-bar-consent { display:inline-flex; flex:none; align-items:center; gap:5px; color:#fff; font-size:10px; line-height:1.3; white-space:nowrap; }
.consult-bar-consent input { width:14px; height:14px; margin:0; padding:0; accent-color:var(--brand-accent); flex:none; }
.consult-bar-consent a { color:#fff; text-decoration:underline; text-underline-offset:2px; }
.consult-bar-consent a:hover { opacity:.8; }
.consult-bar-consent a:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.consult-bar-form button { display:inline-flex; justify-content:center; align-items:center; min-width:165px; height:44px; padding:0 20px; border:0; border-radius:5px; background:var(--brand-accent); color:#fff; font-size:16px; line-height:1; font-weight:600; white-space:nowrap; }
.consult-bar-form button:hover { background:#aa2020; }
.consult-bar-form button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.mobile-consult { display: none; }
dialog { width: min(600px,calc(100% - 32px)); padding: 40px; border: 0; border-radius: 8px; color: #222222; box-shadow: 0 20px 80px #0003; }
dialog::backdrop { background: #201719cc; backdrop-filter: blur(3px); }
dialog h2 { font-size: 28px; font-weight: 700; line-height: 1.5; margin: 18px 0; letter-spacing: -.025em; }
dialog p { font-size: 16px; line-height: 1.9; color: #6b6b6b; margin-bottom: 24px; }
.sample-label { display: inline-block; color: #6b6b6b; font-size: 12px; border: 1px solid #f5f5f5; border-radius: 3px; padding: 4px 8px; line-height: 1.5; }
.dialog-close { position: absolute; right: 14px; top: 8px; font-size: 30px; color: #6b6b6b; border: 0; background: none; width: 36px; height: 36px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 14px; }
.dialog-links a { background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; }
@media (max-width: 1200px) {
  .header-inner { gap: 30px; }
  .brand { width: 240px; }
  .desktop-nav { gap: 34px; }
  .hero :is(h1,h2) { font-size: 32px; }
  .category-grid { column-gap: 30px; }
  .category-card { gap: 10px; }
  .category-card h2 { font-size: 23px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .consult-bar { gap:12px; padding-inline:12px; }
  .bar-wordmark { width:90px; }
  .consult-bar p { font-size:16px; }
  .consult-bar-form { gap:8px; }
  .consult-bar-form input { width:135px; }
  .consult-bar-form input[name="phone"] { width:160px; }
  .consult-bar-form button { min-width:145px; padding-inline:14px; font-size:15px; }
}
@media (min-width: 768px) and (max-width: 960px) {
  .consult-bar { gap:10px; padding-inline:10px; }
  .bar-wordmark { width:72px; }
  .bar-divider { height:24px; }
  .consult-bar p { font-size:13px; }
  .consult-bar-form { gap:6px; }
  .consult-bar-form input { width:96px; height:40px; padding-inline:8px; font-size:12px; }
  .consult-bar-form input[name="phone"] { width:112px; }
  .consult-bar-consent { gap:4px; font-size:8px; }
  .consult-bar-consent input { width:12px; height:12px; }
  .consult-bar-form button { min-width:108px; height:40px; padding-inline:8px; font-size:12px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .header-inner { gap: 24px; }
  .header-consult-cta { padding-inline: 12px; font-size: 14px; }
  .brand { width: 190px; }
  .desktop-nav { gap: 24px; }
  .desktop-nav a { font-size: 16px; }
  .hero :is(h1,h2) { font-size: 30px; }
  .section { padding-block: 85px; }
  .page-index { --home-section-title-size: 30px; }
  .section-heading h2, .home-practice h2 { font-size: 30px; }
  .editorial-grid { gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solution-grid { gap: 50px; }
  .member-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --site-header-height: 72px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); font-size: 15px; line-height: 1.8; }
  .container { padding-inline: 26px; }
  .section { padding-block: 70px; }
  .section-heading { gap: 16px; margin-bottom: 28px; }
  .page-index { --home-section-title-size: 25px; --home-section-title-line-height: 1.35; }
  .section-heading h2, .home-practice h2 { font-size: 29px; line-height: 1.35; }
  .section-heading .text-link { font-size: 12px; gap: 4px; }
  .text-link svg { width: 15px; height: 15px; }
  .section-lead { font-size: 16px; line-height: 1.8; }
  .header-inner { height: 72px; padding-inline: 20px; gap: 12px; }
  .brand { width: 190px; min-width: 0; flex-shrink: 1; gap: 8px; }
  .brand-logo { width: 190px; }
  .desktop-nav { display: none; }
  .header-consult-cta { display: none; }
  .menu-toggle { display: block; flex-shrink: 0; margin-left: auto; }
  .hero { min-height: calc(260px - 80pt); }
  .hero-copy { padding-inline: 20px; padding-top: 0; padding-bottom: 0; }
  .hero :is(h1,h2) { font-size: clamp(11px,3.5vw,24px); line-height: 1.5; letter-spacing: -.04em; }
  .decision-section .section-heading { display: block; }
  .decision-section .section-heading h2 { font-size: 28px; line-height: 1.45; margin-bottom: 20px; }
  .decision-section .section-heading .text-link { font-size: 13px; }
  .decision-section .section-lead { margin-bottom: 24px; }
  .sample-note { font-size: 11px; }
  .fan { padding: 26px max(24px,calc((100% - 290px)/2)) 32px; gap: 18px; }
  .fan article { flex-basis: 290px; }
  .decision-paper { height: 235px; margin: 18px 18px 0; padding: 16px 16px 0; }
  .decision-copy { padding: 22px; }
  .decision-copy h3 { font-size: 20px; }
  .decision-copy p { font-size: 13px; }
  .carousel-controls { gap: 10px; }
  .carousel-controls>button { width: 32px; height: 32px; }
  .carousel-controls>button svg { width: 16px; height: 16px; }
  .carousel-dots { gap: 6px; }
  .carousel-dots button { width: 18px; }
  .home-practice-inner { grid-template-columns: 1fr; gap: 31px; }
  .practice-list { grid-template-columns: minmax(0, 1fr); }
  .practice-item:nth-child(2) { border-top: 0; }
  .practice-item { padding: 20px 2px; gap: 0; }
  .practice-number { flex-basis: 38px; font-size: 12px; }
  .practice-item h3 { font-size: 18px; line-height: 1.35; }
  .circle-arrow { width: 35px; height: 35px; margin-left: 12px; }
  .circle-arrow svg { width: 15px; height: 15px; }
  .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
  #cases .editorial-grid, #column .editorial-grid { grid-template-columns: 1fr; }
  .editorial-cover { padding: 14px; aspect-ratio: 1; border-radius: 3px; }
  .cover-brand { font-size: 6px; gap: 3px; }
  .cover-brand-logo { width: 96px; }
  .editorial-cover h3 { font-size: 13px; line-height: 1.5; }
  .editorial-cover h3:before { width: 12px; margin-bottom: 8px; }
  .editorial-card>p { font-size: 12px; margin-top: 12px; }
  .editorial-title { font-size: 13px; margin-top: 12px; }
  .column-card .editorial-cover h3 { padding-left: 8px; }
  .column-card .editorial-cover h3 small { font-size: 7px; margin-bottom: 5px; }
  .contact-options { grid-template-columns: 1fr; gap: 22px; }
  .contact-options a { padding: 22px 0; }
  .contact-options b { font-size: 24px; }
  .contact-options small { font-size: 12px; }
  .page-banner { padding: 64px 0; }
  .page-banner h1 { font-size: 32px; margin-bottom: 22px; }
  .page-banner p { font-size: 18px; line-height: 1.6; }
  .category-grid { grid-template-columns: 1fr; gap: 18px; }
  .category-card { border: 1px solid #f5f5f5; border-radius: 9px; padding: 28px 20px; gap: 8px; }
  .category-card .practice-number { flex-basis: 28px; }
  .category-card h2 { font-size: 20px; }
  .category-card .circle-arrow { width: 38px; height: 38px; }
  .detail-banner { padding: 40px 0 100px; }
  .detail-banner h1 { font-size: 32px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 24px; }
  .breadcrumbs span { margin: 0 8px; }
  .detail-intro { margin-top: -55px; padding-bottom: 65px; }
  .intro-card { padding: 38px 24px; }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .intro-card h2 { font-size: 25px; margin-bottom: 24px; }
  .intro-card p:last-child { font-size: 15px; line-height: 1.85; }
  .detail-section-title { font-size: 25px; padding-left: 12px; margin-bottom: 30px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-column { padding: 28px 22px; }
  .process-column>h3 { font-size: 17px; }
  .process-column li { padding-left: 46px; padding-bottom: 28px; }
  .process-column li h4 { font-size: 16px; }
  .process-column li p { font-size: 14px; }
  .check-grid { grid-template-columns: 1fr; gap: 16px; }
  .check-card { padding: 25px; }
  .check-card>span { font-size: 22px; }
  .check-card h3 { margin-top: 14px; font-size: 18px; }
  .check-card p { font-size: 14px; }
  .situation-list li { font-size: 15px; padding: 17px 0 17px 26px; }
  .situation-list li:before { top: 17px; }
  .solution-section { padding: 65px 0; }
  .solution-grid { grid-template-columns: 1fr; gap: 32px; }
  .solution-grid h2 { font-size: 28px; }
  .solution-grid p { font-size: 15px; }
  .featured-member { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
  .featured-photo { height: 380px; }
  .featured-member h2 { font-size: 28px; margin-bottom: 24px; }
  .featured-member h2 span { font-size: 21px; }
  .featured-member p { font-size: 15px; }
  .featured-member .text-link { font-size: 18px; }
  .team-tabs a { font-size: 14px; padding: 14px 4px; }
  .roster-heading { margin: 60px 0 28px; font-size: 26px; }
  .member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .member-photo { height: 245px; }
  .member-meta { padding: 18px 12px; }
  .member-meta h3 { font-size: 18px; }
  .member-meta h3 small { display: block; margin: 5px 0 0; font-size: 11px; }
  .member-meta p { font-size: 11px; }
  .member-meta>svg { display: none; }
  .about-intro { padding: 30px 0 65px; }
  .anchor-nav { gap: 25px; font-size: 12px; margin-bottom: 48px; }
  .about-intro h1 { font-size: 34px; margin-bottom: 30px; }
  .about-copy { font-size: 15px; }
  .service-overview { grid-template-columns: 1fr; margin-top: 35px; gap: 28px; }
  .service-overview h3, .values-grid h3 { font-size: 23px; }
  .service-overview p, .values-grid p { font-size: 15px; }
  .values-grid { grid-template-columns: 1fr; gap: 26px; }
  .values-grid article { padding: 0; }
  .location-grid { grid-template-columns: 1fr; gap: 36px; }
  .location-map { height: 300px; }
  .location-copy h3 { font-size: 25px; }
  .location-copy p { font-size: 16px; }
  .site-footer { padding: 45px 0; font-size: 11px; }
  .footer-policies { gap: 8px; flex-wrap: wrap; }
  .footer-policies a+a:before { margin-right: 8px; }
  .site-footer .copyright { font-size: 10px; }
  .site-footer .footer-business-details,
  .site-footer .footer-business-address { display: grid; gap: 7px; margin-bottom: 7px; font-size: 11px; line-height: 1.8; text-align: left; }
  .site-footer .footer-business-details > br,
  .site-footer .footer-inline-separator { display: none; }
  .site-footer .footer-company { margin-bottom: 8px; font-size: 12px; font-weight: 600; }
  .site-footer .footer-info-field { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: start; }
  .site-footer .footer-info-label { display: block; }
  .site-footer .footer-info-value,
  .site-footer .footer-info-field > a { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
  .site-footer .footer-policies { display: flex; gap: 16px; align-items: center; margin: 20px 0 12px; }
  .site-footer .footer-policies a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .site-footer .footer-policies a+a:before { content: none; }
  .site-footer .copyright { line-height: 1.8; text-align: left; }
  .consult-bar { display: none; }
  .quick-menu { top: auto; right: max(10px, env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); width: 56px; max-height: calc(100dvh - var(--site-header-height) - 112px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); transform: none; overflow-y: auto; overscroll-behavior: contain; }
  .quick-menu a { height: 46px; padding: 5px 2px; gap: 2px; }
  .quick-menu a span { font-size: 10px; line-height: 13px; }
  .quick-menu a svg, .quick-menu a img.kakao-logo { width: 18px; height: 18px; }
  .quick-menu .blog-icon { width: 18px; height: 18px; font-size: 21px; line-height: 18px; }
  .quick-menu .quick-menu-top { height: 44px; }
  .mobile-consult { position: fixed; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; bottom: 0; left: 0; right: 0; padding: 10px 11px calc(10px + env(safe-area-inset-bottom)); background: #1b1315; z-index: 70; box-shadow: 0 -4px 15px #1515150d; }
  .mobile-consult a { background: #fff; border-radius: 5px; color: #303030; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 4px; font-size: 13px; font-weight: 600; line-height: 1.5; }
  .mobile-consult a[href^="tel:"] { background: #c62828; color: #fff; }
  .mobile-consult a[href^="tel:"]:hover { background: #aa2020; }
  .mobile-consult svg { width: 18px; height: 18px; }
  dialog { padding: 32px 24px; }
  dialog h2 { font-size: 24px; }
  dialog p { font-size: 15px; }
}
@media (max-width: 374px) {
  .category-card h2 { font-size: 18px; }
  .category-card { padding-inline: 16px; }
  .carousel-controls { gap: 8px; }
  .mobile-consult a { font-size: 12px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .fan { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
/* Shared practice banner with neutral black tint and a 20% black overlay. */
.civil-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:516px;padding:170px 0 130px;background-color:#201719;background-image:url('/assets/banner-practice.jpg');background-position:center;background-size:cover;background-blend-mode:luminosity;color:#fff}
.civil-banner::before{content:'';position:absolute;inset:0;background:rgba(24,17,20,.2);pointer-events:none;z-index:0}
/* Shared directory banners: charcoal while retaining the abstract image. */
:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner{background-color:#271f22}
:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner::before{background:rgba(24,17,20,.48)}
.civil-banner>.container{position:relative;z-index:1}
:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner>.container{display:grid;grid-template-rows:auto minmax(33px,auto);row-gap:24px;align-content:start;justify-items:center}
.civil-banner h1{font-size:48px;line-height:1.5;margin:0 0 24px;letter-spacing:-1px;color:#fff}
.civil-banner h1:last-child{margin-bottom:0}
.civil-banner p{font-size:30px;line-height:1.5;letter-spacing:-1px;color:#fff;margin:0}
:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner h1{font-size:48px;line-height:1.3;margin:0}
:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner p{font-size:22px;line-height:1.5}
.page-practice .category-card .practice-number{color:#c62828}
@media(max-width:767px){.civil-banner{min-height:300px;padding:110px 0 65px}.civil-banner h1{font-size:30px;margin-bottom:22px}.civil-banner p{font-size:16px;line-height:1.5}.listing-section .editorial-grid{row-gap:35px}}
@media(max-width:767px){:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner h1{font-size:30px}:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner p{font-size:16px}}
@media(max-width:767px){:is(.page-team,.page-practice,.page-cases,.page-columns) .civil-banner>.container{grid-template-rows:auto minmax(48px,auto);row-gap:22px}}

/* TALK speech bubble only, sized to match the adjacent consultation icons. */
.quick-menu a .kakao-logo{display:block;width:20px;height:20px;flex:none}
.mobile-consult a .kakao-logo{display:block;width:18px;height:18px;flex:none}

/* Shared corporate-center spacing: 1480px content, 104px desktop / 20px mobile gutters. */
body {
  --content-width: 1480px;
  --page-gutter: 104px;
  --content-box: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
}
@media (max-width: 767px) { body { --page-gutter: 20px; } }

body .container,
body .home-cases-inner,
body .case-grid-inner {
  box-sizing: border-box;
  width: var(--content-box) !important;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}
/* Nested containers inherit the parent edge instead of applying gutters twice. */
body .container .container {
  width: 100% !important;
}

/* Keep navigation within the reduced tablet content width. */
@media (min-width: 768px) and (max-width: 1100px) {
  body .header-inner { flex-wrap: wrap; align-content: center; gap: 8px 20px; }
  body .desktop-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  body .header-consult-cta { margin-left: auto; }
  body .home-contact { padding-inline: 0; }
}
@media (min-width: 1101px) and (max-width: 1200px) {
  .header-inner { grid-template-columns: 240px minmax(0,1fr) auto; column-gap: 0; }
}
body.page-case-detail .reference-main {
  box-sizing: border-box;
  width: min(1416px, calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body.page-about :is(.vision-section, .value-section) {
  box-sizing: border-box;
  width: var(--content-box);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
body.page-about .ds-one__inner { max-width: none; }
