:root{--ink:#20232e;--paper:#faf9f6;--navy:#223253;--accent:#394f7e;--line:#d9dce3;--muted:#535d6e}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;line-height:1.65;word-break:keep-all}
a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #506da8;outline-offset:4px}
.wrap{width:min(1160px,calc(100% - 72px));margin-inline:auto}
.header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:86px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:.65rem}.brand b{font-size:1.85rem;letter-spacing:-.08em}.brand span,.eyebrow{font-size:.9rem;font-weight:750}
nav,.actions,.filters{display:flex;gap:1rem;flex-wrap:wrap}nav{gap:2rem}
nav a:hover,.practice-grid a:hover span{text-decoration:underline;text-underline-offset:5px}
.pill,.button,.filters button{display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1.2rem;border:1px solid var(--navy);border-radius:.35rem;font-weight:700;cursor:pointer}
.pill{padding:.42rem .85rem;white-space:nowrap}.primary{background:var(--navy);color:white}.primary:hover{background:#344c78}.secondary:hover{background:#e9ebef}
.hero{display:grid;grid-template-columns:1.28fr 1fr;align-items:center;gap:4rem;padding-block:4rem 5rem}
.eyebrow{color:var(--accent);margin:0 0 1rem}
h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.22;letter-spacing:-.055em}
h1{font-size:clamp(2.75rem,5.4vw,5rem);margin-bottom:1.5rem}h1 em{color:var(--accent);font-style:normal}
h2{font-size:clamp(2rem,3.7vw,3rem);margin-bottom:1.1rem}h3{font-size:1.5rem;margin-bottom:.5rem}
.intro{font-size:1.18rem;color:var(--muted);margin-bottom:1.6rem}
.cover{isolation:isolate;position:relative;overflow:hidden;min-height:420px;display:grid;place-items:center;background:linear-gradient(145deg,#31436a,#182744 76%);color:#f4eedf}
.arch{position:absolute;inset:11% 16% -12%;border:1px solid #919bb2;border-radius:50% 50% 0 0 / 44% 44% 0 0;box-shadow:0 0 0 16px #8291af24,0 0 0 32px #8291af16;z-index:-1}
.character{font-family:"Noto Serif CJK KR","Batang",serif;font-size:clamp(5rem,10vw,9rem);line-height:1;letter-spacing:-.12em;padding-right:.12em}
.cover-caption{position:absolute;bottom:1.4rem;right:1.6rem;font-size:.85rem;line-height:1.35;letter-spacing:.14em;text-align:right}
.band{background:#eeeff3;padding-block:4rem}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.8rem}.practice-grid a{background:var(--paper);border-top:3px solid var(--accent);padding:1.4rem}.practice-grid p,.muted,.profile p,.consult p{color:var(--muted)}.practice-grid span{font-size:.9rem;color:var(--accent);font-weight:700}
.profile,.consult{display:grid;grid-template-columns:1fr 1fr;gap:4rem;padding-block:4.5rem}.profile-name{border-left:3px solid var(--accent);padding:1rem 1.5rem;align-self:start}.profile-name h2{font-size:3.5rem}.profile ul{padding-left:1.2rem;margin-bottom:0}
.filters{gap:.5rem;margin:1.2rem 0}.filters button{background:transparent;font-size:.9rem;padding:.35rem .8rem}.filters button[aria-pressed=true]{background:var(--navy);color:#fff}
details{border-top:1px solid #c5cbd6;padding:1rem 0}details:last-child{border-bottom:1px solid #c5cbd6}summary{cursor:pointer;font-weight:700;font-size:1.12rem}summary span{display:inline-block;color:var(--accent);font-size:.9rem;margin:0 .75rem 0 .25rem}details p{margin:.8rem 0 0 1.2rem}
.demo{font-size:.9rem;background:#eeeff3;padding:.9rem}.consult form{border:1px solid var(--line);padding:1.45rem;align-self:start}label{display:block;font-weight:700;margin:.7rem 0 .3rem}label span{color:var(--muted);font-weight:400}select,input,textarea{display:block;width:100%;border:1px solid #a5adbd;border-radius:.25rem;background:#fff;color:var(--ink);padding:.55rem .65rem;margin-bottom:.85rem}#result:empty{display:none}#result{margin:1rem 0 0}
.footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding-block:1.5rem;border-top:1px solid var(--line)}.footer span{color:var(--muted);font-size:.9rem}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header{flex-wrap:wrap;min-height:auto;padding-block:.8rem}.header nav{order:3;width:100%;gap:1rem;font-size:.92rem}.hero,.profile,.consult{grid-template-columns:1fr;gap:1.6rem;padding-block:2.7rem}.cover{min-height:235px}.band{padding-block:2.6rem}.practice-grid{grid-template-columns:1fr;gap:.65rem}.practice-grid a{padding:1rem}.practice-grid p{margin-bottom:.45rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

[hidden]{display:none!important}
.brand{gap:.45rem;white-space:nowrap} .brand span{font-size:1rem}.header nav{gap:1.3rem}.actions .button{white-space:nowrap}
@media(min-width:920px){.practice-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:761px) and (max-width:919px){.practice-grid{grid-template-columns:repeat(2,1fr)}}
.hero-gallery{position:relative;min-width:0}.gallery-controls{position:absolute;bottom:.7rem;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:.65rem;pointer-events:none}.gallery-controls button{pointer-events:auto;cursor:pointer;border:0;color:#fff;background:#152747aa;border-radius:50%;width:32px;height:32px;font-size:1.45rem;line-height:1}.gallery-dots{display:flex;gap:.2rem}.gallery-dots button{font-size:.85rem;background:none;color:#aab2c5;width:24px}.gallery-dots button[aria-pressed=true]{color:white}.cover-caption{bottom:3.3rem}.portrait-slide{background:linear-gradient(145deg,#374968,#1a2944)}.portrait-placeholder{text-align:center;display:grid;gap:.6rem;padding:2rem}.portrait-placeholder span{font-size:.88rem;color:#d2d9e7}.portrait-placeholder strong{font-size:3rem;letter-spacing:-.06em}.portrait-placeholder p{margin:0;color:#e6e8ef}
.honors{grid-column:1/-1;border-top:1px solid var(--line);padding-top:2rem}.frames{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.frames figure{margin:0;text-align:center}.frame{background:#594635;padding:9px;box-shadow:0 5px 14px #20232e20;border:2px solid #342c26}.frame-paper{aspect-ratio:4/3;background:#fffdf7;border:1px solid #b4a27b;display:flex;flex-direction:column;gap:.8rem;align-items:center;justify-content:center;padding:.75rem}.frame-paper small{color:#666;font-size:.85rem}.frame-paper strong{font-family:"Batang",serif;font-size:1.85rem}.frame-paper span{font-size:.9rem}.frames figcaption{font-size:.9rem;margin-top:.8rem;color:var(--muted)}.news{padding-block:4.5rem}.news+.consult{border-top:1px solid var(--line)}.board-list{min-height:10rem}
@media(max-width:760px){.frames{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.frame-paper{aspect-ratio:3/4;gap:.5rem}.frame-paper strong{font-size:1.35rem}.news{padding-block:2.7rem}.header nav{gap:.75rem}.gallery-controls{bottom:.55rem}}

.honors{min-width:0}
.honors-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.honors-controls{display:flex;gap:.5rem;flex-shrink:0}
.honors-controls button{width:44px;height:44px;border:1px solid var(--navy);border-radius:50%;background:transparent;color:var(--navy);font-size:1.8rem;line-height:1;cursor:pointer}
.honors-controls button:disabled{opacity:.3;cursor:default}
.frames{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 3rem)/3);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a5adbd transparent;padding:6px 0 14px;overscroll-behavior-inline:contain}
.frames figure{scroll-snap-align:start;min-width:0}
.frame-paper img{width:100%;height:100%;object-fit:contain}
.honors-position{text-align:right;font-size:.9rem;color:var(--muted);margin-top:.5rem}
@media(max-width:760px){.frames{grid-template-columns:none;grid-auto-columns:calc((100% - .9rem)/2)}}
@media(max-width:440px){.frames{grid-auto-columns:82%}.honors-heading h3{font-size:1.3rem}}

/* Shared design system and three live visual directions. */
body{--heading-font:"Noto Serif KR","Noto Serif CJK KR","Nanum Myeongjo","Batang",serif;--gold:#a8905e;--soft:#f1eee7;--cover-top:#30435e;--cover-bottom:#12253e;--cover-text:#f5ebd3;--card:#fffdf8;--frame:#584735}
body[data-theme=classic]{--ink:#202a37;--paper:#fbf9f4;--navy:#192c46;--accent:#7e6a45;--line:#d9d2c5;--muted:#525b65}
body[data-theme=modern]{--ink:#151b25;--paper:#fff;--navy:#1e4fd4;--accent:#1e4fd4;--line:#dce2ed;--muted:#566170;--soft:#f1f4f9;--card:#fff;--cover-top:#2458dc;--cover-bottom:#173995;--cover-text:#fff;--gold:#a8b9ee;--frame:#29313f;--heading-font:inherit}
body[data-theme=warm]{--ink:#253a32;--paper:#f8f7f0;--navy:#294d40;--accent:#785b42;--line:#d6d9cc;--muted:#53665c;--soft:#e9eee6;--card:#fffdf7;--cover-top:#476c59;--cover-bottom:#1f4035;--cover-text:#f8f1df;--gold:#b7a07e;--frame:#765d46}
h1,h2{font-family:var(--heading-font);letter-spacing:-.055em;font-weight:750}
body[data-theme=modern] h1,body[data-theme=modern] h2{font-family:inherit;font-weight:850;letter-spacing:-.065em}
body[data-theme=classic] .hero h1{font-size:clamp(2.6rem,5vw,4.65rem);line-height:1.32}
body[data-theme=warm] .hero h1{line-height:1.35}
.band,.demo{background:var(--soft)}.practice-grid a{background:var(--card);border-top-color:var(--gold)}.cover,.portrait-slide{background:linear-gradient(145deg,var(--cover-top),var(--cover-bottom));color:var(--cover-text)}
.arch{border-color:var(--gold)}.frame{background:var(--frame)}.filters button{color:var(--navy)}.filters button[aria-pressed=true]{color:white}.header nav{gap:1.1rem}.header nav a{white-space:nowrap}.primary:hover{background:var(--accent);color:#fff}.profile-name{border-color:var(--gold)}
body[data-theme=modern] .cover{border-radius:1rem}body[data-theme=modern] .character{font-family:inherit}
body[data-theme=modern] .arch{border-radius:12%;inset:15% 13%;transform:rotate(-9deg);box-shadow:0 0 0 18px #ffffff12,0 0 0 36px #ffffff0a}
body[data-theme=modern] .practice-grid a{border:1px solid var(--line);border-radius:.65rem}body[data-theme=modern] .frame{border-radius:.2rem}
body[data-theme=warm] .cover{border-radius:48% 48% .4rem .4rem / 18% 18% .4rem .4rem}body[data-theme=warm] .practice-grid a{border-radius:.7rem}
body[data-theme=warm] .practice-grid a{border-radius:.8rem}.header .pill{color:var(--navy)}
.design-preview{background:#20232d;color:white;font-family:system-ui,sans-serif;position:sticky;top:0;z-index:10}
.design-inner{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding-block:.65rem}.design-inner>span{font-size:.85rem;font-weight:700;flex-shrink:0}.design-options{display:flex;flex-wrap:wrap;gap:.45rem}.design-options button{border:1px solid #ffffff38;background:transparent;color:#fff;border-radius:.3rem;padding:.35rem .7rem;font-size:.85rem;cursor:pointer;display:flex;align-items:center;gap:.4rem;white-space:nowrap}.design-options button[aria-pressed=true]{background:#fff;color:#20232d;border-color:#fff}.design-options i{width:12px;height:12px;border-radius:50%;background:#a8905e}.design-options [data-theme-option=modern] i{background:#3164e8}.design-options [data-theme-option=warm] i{background:#537a63}
html{scroll-padding-top:5.5rem}
.media{padding-block:4rem}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.media-card{border:1px solid var(--line);background:var(--card);overflow:hidden}.media-art{isolation:isolate;position:relative;overflow:hidden;min-height:220px;padding:1.7rem;display:flex;flex-direction:column;justify-content:center;gap:.35rem;background:var(--navy);color:#fff}.media-art strong{font-family:var(--heading-font);font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.3;letter-spacing:-.05em}.media-platform{font-size:.85rem;letter-spacing:.08em}.media-format{font-size:.9rem;margin-top:.65rem}.instagram .media-art{background:linear-gradient(140deg,#916953,#4b3f55)}.media-orbit{position:absolute;border:1px solid #ffffff55;border-radius:50%;width:180px;height:260px;right:5%;transform:rotate(35deg);box-shadow:0 0 0 20px #ffffff0c;z-index:-1}.youtube .media-art{background:linear-gradient(135deg,var(--cover-top),var(--cover-bottom))}.play-symbol{position:absolute;right:9%;top:45%;border:1px solid #ffffff80;background:#ffffff15;border-radius:50%;display:grid;place-items:center;padding-left:.2rem;width:62px;height:62px;font-size:1.4rem}.media-info{padding:1.4rem}.media-info .eyebrow{margin-bottom:.5rem}.media-info p{margin-bottom:.5rem}.media-pending,.media-note{color:var(--muted);font-size:.9rem}.media-note{margin-top:1rem}.news{border-top:1px solid var(--line)}
@media(max-width:760px){.design-inner{flex-direction:column;align-items:flex-start;gap:.4rem}.design-options{gap:.25rem}.design-options button{font-size:.78rem;padding:.32rem .4rem}.header nav{gap:.7rem}.media{padding-block:2.7rem}.media-grid{grid-template-columns:1fr}.media-art{min-height:190px}html{scroll-padding-top:9rem}}

/* D: deep navy and ivory, softened by sage and rounded geometry. */
body[data-theme=hybrid]{
  --ink:#242e39;
  --paper:#fbf9f4;
  --navy:#20334b;
  --accent:#536a5c;
  --line:#dcd7cd;
  --muted:#555f65;
  --soft:#edf0e9;
  --card:#fffdfa;
  --cover-top:#20334b;
  --cover-bottom:#20334b;
  --cover-text:#f6eedb;
  --gold:#a58b57;
  --frame:#61513d;
}
html{scroll-padding-top:1.5rem}
.brand{flex-direction:column;align-items:flex-start;gap:.05rem;line-height:1.1}
.brand .brand-since{font-size:.69rem;letter-spacing:.18em;font-weight:700;color:#816b43}
.brand .brand-name{display:flex;align-items:baseline;gap:.4rem}
.brand .brand-name span{font-size:1.02rem;letter-spacing:-.05em}
.brand b{font-size:1.8rem}
body[data-theme=hybrid] .header{min-height:94px}
body[data-theme=hybrid] .hero{gap:4.5rem;padding-block:4.5rem 5.5rem}
body[data-theme=hybrid] .hero h1{font-size:clamp(2.6rem,5vw,4.85rem);line-height:1.35;font-weight:700}
body[data-theme=hybrid] .hero h1 em{color:var(--navy)}
body[data-theme=hybrid] .eyebrow{color:#79643e}
body[data-theme=hybrid] .cover{border-radius:45% 45% 1rem 1rem / 20% 20% 1rem 1rem;min-height:430px}
body[data-theme=hybrid] .arch{inset:12% 15% -15%;border-color:#c3ad7b;box-shadow:0 0 0 12px #c5b17c0c,0 0 0 26px #c5b17c08}
body[data-theme=hybrid] .button,body[data-theme=hybrid] .pill{border-radius:.7rem}
body[data-theme=hybrid] .practice-grid a{border-radius:.9rem;border:1px solid #d6dbd0;border-top:2px solid var(--gold);padding:1.5rem}
body[data-theme=hybrid] .practice-grid a:hover{border-color:var(--accent)}
body[data-theme=hybrid] .profile-name{border-left:0;border-radius:.9rem;background:#ecefe7;padding:2rem}
body[data-theme=hybrid] .profile-name .eyebrow{color:var(--accent)}
body[data-theme=hybrid] .frame{border-radius:.25rem}
body[data-theme=hybrid] .filters button{border-radius:2rem;border-color:#aeb8ad}
body[data-theme=hybrid] .filters button[aria-pressed=true]{border-color:var(--navy);background:var(--navy)}
body[data-theme=hybrid] .media-card{border-radius:.9rem}
body[data-theme=hybrid] .instagram .media-art{background:#5c7163}
body[data-theme=hybrid] .youtube .media-art{background:#20334b}
body[data-theme=hybrid] .consult form{border-radius:1rem;background:#fffdfa}
body[data-theme=hybrid] .demo{border-radius:.6rem}
body[data-theme=hybrid] .primary:hover{background:#344b5d}
@media(max-width:760px){body[data-theme=hybrid] .header{min-height:auto}body[data-theme=hybrid] .hero{gap:1.75rem;padding-block:2.75rem}body[data-theme=hybrid] .cover{min-height:260px}body[data-theme=hybrid] .practice-grid a{padding:1rem}body[data-theme=hybrid] .profile-name{padding:1.25rem}}

/* Independent detail pages share the main site's palette and type. */
.header nav a[aria-current=page]{color:var(--accent);font-weight:750;text-decoration:underline;text-underline-offset:8px}
.page-banner{background:var(--soft);padding-block:3rem 3.5rem;border-bottom:1px solid var(--line)}
.page-banner h1{font-size:clamp(2.5rem,5vw,4rem);margin:.6rem 0 .9rem}
.page-banner p:last-child{max-width:55ch;margin:0;color:var(--muted);font-size:1.1rem}
.breadcrumb{font-size:.9rem;color:var(--muted);margin:0}.breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.section-nav{display:flex;flex-wrap:wrap;gap:.6rem;padding-block:1.1rem;border-bottom:1px solid var(--line)}
.section-nav a{padding:.55rem 1.1rem;border:1px solid var(--line);border-radius:2rem;background:var(--card);font-weight:700}
.section-nav a:hover{color:var(--accent);border-color:var(--accent)}
.detail-page .profile{gap:2.5rem;padding-block:3rem}.detail-page .profile-name{padding:1rem 1rem 1.5rem}
.profile-photo,.photo-placeholder,.location-placeholder{display:grid;place-content:center;text-align:center;background:#e3e8df;color:var(--muted);min-height:260px;border:1px solid var(--line);border-radius:.75rem;line-height:1.8}
.profile-photo{min-height:310px;margin-bottom:1.5rem;background:#dae1d8;border-radius:40% 40% .5rem .5rem / 13% 13% .5rem .5rem}
.career-heading{font-size:1.15rem;margin:1.5rem 0 .6rem}
.detail-split,.practice-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}.detail-split p,.practice-detail p{color:var(--muted)}
.location{padding-block:4rem}.info-list{margin:0;display:grid;grid-template-columns:7rem 1fr;gap:0}.info-list dt,.info-list dd{margin:0;padding:1rem 0;border-bottom:1px solid var(--line)}.info-list dt{font-weight:750}.info-list dd{color:var(--muted)}
.practice-detail{padding-block:3rem;border-bottom:1px solid var(--line);scroll-margin-top:1rem}.practice-detail:last-child{border:0}.practice-detail ul{padding-inline-start:1.2rem;margin-bottom:1.5rem}.practice-detail p{max-width:48ch}
.detail-page #notes{background:var(--paper)}.detail-page #news{border-top:0}.section-more{margin-top:1.5rem}.profile ul+.button{margin-top:1.15rem}
@media(max-width:760px){.detail-split,.practice-detail{grid-template-columns:1fr;gap:1.25rem}.page-banner{padding-block:2.3rem}.detail-page .profile{gap:1.5rem}.practice-detail,.location{padding-block:2rem}.profile-photo{min-height:220px}.info-list{grid-template-columns:5rem 1fr}}

/* Jeonglip CI and original professional photography */
.brand{display:flex;align-items:flex-start;justify-content:center;min-width:0}
.brand-logo{display:block;width:216px;height:auto;max-width:100%}
body[data-theme=hybrid] .header{min-height:106px}
body[data-theme=hybrid] .hero-gallery .cover{height:470px;min-height:470px}
.logo-slide img{width:auto;height:86%;max-width:87%;object-fit:contain}
.portrait-slide{position:relative}
.hero-portrait{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:50% 30%}
.portrait-caption{position:absolute;bottom:3.3rem;left:1.3rem;color:white;text-shadow:0 1px 5px #000;font-size:1rem}
.portrait-caption strong{font-size:1.3rem;display:block}
.gallery-controls{z-index:2}
.home-profile-image{display:block;width:100%;max-height:330px;object-fit:cover;object-position:50% 24%;border-radius:.75rem;margin-bottom:1.5rem}
.formal-photo{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:50% 14%;background:#596268}
@media(max-width:950px){.brand-logo{width:183px}}
@media(max-width:760px){body[data-theme=hybrid] .header{min-height:auto}.brand-logo{width:155px}body[data-theme=hybrid] .hero-gallery .cover{height:390px;min-height:390px}.home-profile-image{max-height:340px}.formal-photo{max-height:480px}}

.home-profile-image{aspect-ratio:1.5;max-height:none;height:auto;object-fit:cover;object-position:50% 35%}
@media(max-width:760px){.home-profile-image{aspect-ratio:1.4;max-height:none}}

.office-footer{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;padding-block:2rem}
.footer-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem 1.65rem;width:100%}
.office-footer .footer-row span{font-size:.94rem;color:var(--muted);line-height:1.7}
.office-footer .footer-row b{color:var(--ink);font-weight:650}
.office-footer a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.footer-row{gap:.25rem 1rem}.office-footer .footer-row span{font-size:.88rem}.office-footer{padding-block:1.7rem}}
.office-map{min-width:0}.map-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}.map-actions .button{font-size:.95rem}
@media(max-width:760px){}
[data-posts="latest"] { padding-block: 2rem; }
[data-posts] details { margin-block: .75rem; padding: 1rem; border: 1px solid #d7d1c4; border-radius: .5rem; }
[data-posts] summary { cursor: pointer; }
[data-posts] summary span { display: inline-block; margin-inline-end: .75rem; }
.header nav { flex-wrap: wrap; }
.partner-directory { padding-block: clamp(2rem, 5vw, 4rem); }
.partner-directory section { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.partner-directory section:first-child { padding-top: 0; }
.partner-directory section:last-child { border-bottom: 0; }
.partner-directory h2 { margin: 0 0 .65rem; }
.partner-directory p { margin: 0; color: var(--muted); }
.partner-professions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.partner-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; }
.partner-card h3 { margin: .9rem 0 .3rem; }
.partner-card .partner-photo { aspect-ratio: 16 / 10; padding: 0; overflow: hidden; color: var(--muted); text-align: center; }
.partner-card .partner-photo img { object-fit: contain; }
.partner-card a.partner-photo:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 760px) {
  .partner-professions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .partner-professions { grid-template-columns: 1fr; }
}
.hero-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .8rem;
  width: fit-content;
  margin-block: 1.25rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  color: inherit;
  text-decoration: none;
}
.hero-phone span { font-size: .95rem; font-weight: 650; }
.hero-phone strong { font-size: clamp(1.4rem, 4vw, 1.8rem); font-variant-numeric: tabular-nums; }
.hero-phone:hover strong { text-decoration: underline; }
.hero-phone:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.frame-paper.appointment-paper { aspect-ratio: 3 / 4; overflow: hidden; padding: .55rem; }
.appointment-paper img { min-height: 0; }
#honors-album { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
#honors-album figure[hidden] { display: none; }
.past-frames { container-type: inline-size; display: flex; flex-wrap: wrap; gap: 1rem; }
.past-frames figure { margin: 0; }
.past-frames .frame { width: calc((100cqw - 3rem) / 9); min-width: 4rem; padding: 3px; }
.past-frames .appointment-paper { padding: .15rem; }
.past-frames figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
@media (max-width: 760px) {
  #honors-album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .past-frames .frame { width: calc((100cqw - .9rem) / 6); }
}
[data-edit]:not(img), #honors-album figcaption, .past-frames figcaption { white-space: pre-line; }
.office-interior-photo { width: 100%; height: auto; display: block; border-radius: .5rem; }
.past-honors .past-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: .75rem; }
.past-honors .past-frames section { display: flex; flex-direction: column; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .5rem; overflow-wrap: anywhere; }
.past-honors h4 { margin: 0 0 .35rem; }
.past-honors .past-frames p { margin: .35rem 0; color: var(--muted); }
.past-honors .past-frames figure { display: inline-block; vertical-align: top; margin: .35rem .9rem .35rem 0; }

@media (max-width: 900px) {
  .past-honors .past-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .past-honors .past-frames { grid-template-columns: 1fr; }
}
.past-frames.award-frames {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}
.award-frames figure { min-width: 0; }
.award-frames .frame { width: 100%; min-width: 0; }
.award-frames figcaption { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .past-frames.award-frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .past-frames.award-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.award-frames figure[hidden], .award-honors .honors-controls[hidden] { display: none; }
.past-honors details { margin-top: auto; padding-top: .7rem; }
.past-honors summary { cursor: pointer; color: var(--accent); width: fit-content; }
#home .practice-grid { align-items: stretch; }
#home .practice-grid > a { display: flex; flex-direction: column; }
#home .practice-grid > a > span { align-self: flex-start; margin-top: auto; }

.office-map .root_daum_roughmap { max-width: 100%; }

.news-albums section { padding-block: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.news-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; align-items: start; }
.news-card-grid:empty { display: none; }
.news-card { display: grid; grid-template-rows: auto 1fr auto; height: 100%; overflow: hidden; padding: .75rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: .65rem; overflow-wrap: anywhere; }
.news-card:focus-visible { outline-offset: -3px; }
.news-card:hover strong { text-decoration: underline; }
.news-card-cover {
  display: grid;
  position: relative;
  place-items: center;
  aspect-ratio: 16 / 8;
  margin: -.75rem -1rem .75rem;
  padding: .5rem;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
}
#legal-info .news-card-cover { background: #e8eeeb; }
/* Notices share the article links used by the news albums. */
.notice-list { margin: 0; padding: 0; list-style: none; }
.notice-list:not(:empty) { border-top: 1px solid var(--line); }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a { display: flex; align-items: baseline; gap: clamp(.65rem, 3vw, 1.75rem); padding: .85rem .35rem; }
.notice-list time { color: var(--muted); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.notice-list a span { font-weight: 650; overflow-wrap: anywhere; }
.notice-list a:hover span { text-decoration: underline; }
.news-card-grid time { color: var(--muted); font-size: .875rem; }
.news-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-post { max-width: 50rem; padding-block: clamp(2rem, 6vw, 4rem); overflow-wrap: anywhere; }
.news-post h1 { margin-block: .3rem 1rem; }
.news-post time { color: var(--muted); }
.news-post .post-body { margin-block: 1.5rem 2rem; line-height: 1.75; }
.post-paragraph { white-space: pre-wrap; overflow-wrap: anywhere; }
.post-inline-image { display: block; max-width: 100%; height: auto; margin-block: 1rem; }

@media (min-width: 920px) {
  .news-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

[data-posts] details > .post-body { padding-inline: 1rem; }

body[data-theme=hybrid] .header {
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  gap: .7rem;
  padding-block: 1.1rem .75rem;
}
body[data-theme=hybrid] .header .brand-logo { width: clamp(11rem, 24vw, 17rem); }
body[data-theme=hybrid] .header nav {
  justify-content: center;
  width: auto;
  gap: .2rem clamp(.7rem, 2.2vw, 1.7rem);
  font-size: .9rem;
}
body[data-theme=hybrid] .header nav a { padding-block: .25rem; }
@media (max-width: 480px) {
  body[data-theme=hybrid] .header nav { max-width: 20rem; }
}

.hero-contact { display: flex; flex-wrap: wrap; align-items: stretch; gap: .65rem; margin-block: 1.25rem; }
.hero-contact .hero-phone { margin-block: 0; align-content: center; }
.hero-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border-radius: .6rem;
  background: #ffe36b;
  color: #282211;
  font-weight: 700;
}
.hero-kakao:hover { background: #ffda42; }
.hero-kakao:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.consult form[hidden] { display: none; }
.consult .consult-consent { display: flex; align-items: center; gap: .5rem; }
.consult .consult-consent input { width: auto; }

.post-inline-image[src="/assets/complaint-attorney-portrait.webp"] { width: min(100%, 18rem); margin: 1.5rem auto; }

.news-card[hidden], .news-pagination[hidden] { display: none; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.news-pagination button { min-height: 44px; padding: .4rem .8rem; }

.board-preview:not(:empty) { padding: .3rem 1rem 1rem; overflow-wrap: anywhere; }
.board-preview ul { margin: .25rem 0 .65rem; padding-inline-start: 1.25rem; }
.board-preview li + li { margin-top: .35rem; }

.inheritance-entry {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.2rem, 4vw, 2.25rem);
  border: 1px solid #a9c4b6;
  border-inline-start: .35rem solid #356757;
  background: #dcece3;
  color: #173e32;
  border-radius: 1rem;
}
.inheritance-entry h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.inheritance-entry p { margin: .65rem 0 0; }
.post-inheritance-link { margin: .25rem .75rem .75rem 0; }

.legal-tools { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:1rem; width:100%; }
.legal-tools > div { padding:clamp(1rem, 2.5vw, 1.45rem); background:#fffdf8; border:1px solid #b7cbbf; border-radius:.75rem; }
body[data-theme=hybrid] .legal-tools .button { background:#245446; border-color:#245446; color:#fff; font-weight:700; min-height:48px; text-align:center; }
body[data-theme=hybrid] .legal-tools .button:hover { background:#173d31; }
