/* Shared editorial rhythm. Scoped to public marketing components, never admin/editor forms. */
.d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.owner-story,.company-experience,.company-promise,.company-contact,.renew-area,.service-area,.consultation-guide,.home-estimate-copy,.home-consultation-card,.renew-section,.guide-section,.guide-explain,.service-answer,.service-time,.care-box,.sp-section,.sp-hero-copy,.case-study,.gallery-heading) :is(h1,h2,h3){word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance}
.d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.owner-story-copy,.company-experience,.company-promise,.company-contact,.renew-area,.service-area,.consultation-guide,.home-estimate-copy,.home-consultation-card,.renew-section,.guide-section,.guide-explain,.service-answer,.service-time,.care-box,.sp-section,.sp-hero-copy,.case-study) p:not(.d2-kicker){line-height:1.85;word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}
.d2-main :is(.services-intro,.guide-explain,.service-area,.renew-area,.service-time,.company-contact,.sp-section)>p:not(.d2-kicker){max-width:42em;margin:0 0 16px}
.d2-main :is(.guide-hero,.company-hero-copy,.company-experience,.consultation-guide,.home-estimate-copy) p:not(.d2-kicker){max-width:38em}
.d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.owner-story-copy,.company-experience,.consultation-guide,.home-estimate-copy,.service-area,.renew-area,.estimate-intro,.sp-hero-copy) p+p:not(.d2-kicker){margin-top:16px}
.d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.estimate-intro) .d2-kicker{margin:0 0 16px}
.d2-main :is(.services-intro,.estimate-intro)>h1{margin:0 0 24px}
.d2-main :is(.service-area,.renew-area)>h2{max-width:26em;margin:0 0 24px;line-height:1.45}
.d2-main :is(.service-area,.renew-area)>.d2-kicker{margin:0 0 14px}
.d2-main :is(.service-area,.renew-area)>.text-link,.d2-main .service-area>a{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;line-height:1.6}
.d2-main .service-area{padding:36px;border-radius:16px}
.d2-main .service-hero-actions{margin-top:28px;gap:16px 24px;align-items:center}
.d2-main .services-directory article>a{align-items:start;gap:36px;padding:32px}
.d2-main .services-directory article>a>div{min-width:0;display:flex;flex-direction:column;align-self:stretch}
.d2-main .services-directory article p:not(.d2-kicker){margin:0;max-width:36em;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.d2-main .services-directory .d2-kicker{margin:0 0 12px}
.d2-main .services-directory h2{margin:0 0 20px;line-height:1.4}
.d2-main .services-directory .service-directory-action{margin-top:auto;padding-top:24px;border-top:0;gap:16px}
.d2-main .services-directory article>a>div>p:not(.d2-kicker){margin-bottom:24px}
.d2-main :is(.cost-grid,.material-grid,.renew-grid,.company-promise>div,.sp-columns)>article{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.d2-main :is(.cost-grid,.material-grid,.renew-grid) article>p{margin-top:0;margin-bottom:20px;line-height:1.85}
.d2-main :is(.material-grid,.renew-grid) article>:is(a,.text-link){margin-top:auto}
.d2-main :is(.cost-grid,.material-grid,.renew-grid) article>:is(h3){margin:12px 0 16px;line-height:1.5}
.d2-main :is(.cost-grid,.material-grid,.renew-grid) article{padding:28px}
.d2-main :is(.guide-cta,.company-contact){gap:28px 40px;align-items:center}
.d2-main .guide-cta>div{min-width:0;max-width:44em}
.d2-main .guide-cta h2{line-height:1.5;margin:12px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.d2-main .guide-cta>.solid-link{flex-shrink:0;align-self:center}
.d2-main :is(.knowledge-faq,.home-consultation-card) summary{line-height:1.65;text-align:left}
.d2-main .knowledge-faq details>p{line-height:1.9;max-width:48em}
.d2-main .naver-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1}
.d2-main .naver-card-body h2{line-height:1.6;margin:12px 0 20px;word-break:keep-all;overflow-wrap:anywhere}
.d2-main .naver-card-body>p{margin-top:auto;padding-top:8px}
.d2-main .naver-link-card{display:flex;flex-direction:column}
.d2-main .home-consultation-card header{margin-bottom:24px}
.d2-main .home-estimate-copy>h2{margin-bottom:24px;line-height:1.45}
.d2-main .home-estimate-copy .estimate-home-actions{margin-top:28px;gap:16px}
@media(max-width:900px){
 .d2-main .services-directory article>a{gap:26px;padding:26px}
 .d2-main :is(.cost-grid,.material-grid,.renew-grid) article{padding:24px}
}
@media(max-width:700px){
 .d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.estimate-intro) :is(h1,h2){text-wrap:pretty}
 .d2-main :is(.services-intro,.guide-hero,.company-hero-copy,.estimate-intro) h1 br{display:none}
 .d2-main :is(.service-area,.renew-area)>h2{font-size:27px;line-height:1.5;margin-bottom:20px}
 .d2-main .service-area{padding:26px 22px;border-radius:12px}
 .d2-main .services-directory article>a{padding:22px;gap:24px}
 .d2-main .services-directory .service-directory-action{padding-top:0;margin-top:0}
 .d2-main .service-hero-actions{align-items:stretch;gap:16px;margin-top:24px}
 .d2-main .service-hero-actions>.solid-link{width:100%;justify-content:center;box-sizing:border-box}
 .d2-main .service-hero-actions>.text-link{align-self:flex-start}
 .d2-main .guide-cta{display:flex;flex-direction:column;align-items:stretch;padding:28px 22px;gap:24px}
 .d2-main .guide-cta>.solid-link{align-self:stretch;justify-content:center;text-align:center}
 .d2-main .home-estimate-copy h2 br{display:none}
 .d2-main .estimate-intro p{margin-bottom:0;font-size:17px;line-height:1.85}
 .d2-main :is(.cost-grid,.material-grid,.renew-grid) article{padding:22px}
}
@media(max-width:360px){
 .d2-main .service-area,.d2-main .services-directory article>a{padding:22px 18px}
 .d2-main :is(.service-area,.renew-area)>h2{font-size:25px}
}
/* Paragraphs retain the same typography after splitting an introduction. */
.d2-main .guide-explain>p:not(.d2-kicker){font-size:18px;color:#56647b}
.d2-main .services-intro>p:not(.d2-kicker){font-size:20px;color:#56647b}
@media(max-width:700px){
 .d2-main .guide-explain>p:not(.d2-kicker){font-size:17px}
 .d2-main .services-intro>p:not(.d2-kicker){font-size:18px}
}

.d2-main .naver-card-body>.naver-card-excerpt{margin:0 0 20px;padding:0;font-size:15px;line-height:1.8;color:#52616c;word-break:keep-all;overflow-wrap:anywhere}
.d2-main .naver-card-excerpt>span{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:#687783}
.d2-main .naver-card-body>.naver-card-source{margin-top:auto;padding-top:12px}
@media(min-width:701px){.d2-main .naver-card-body h2{min-height:4.8em}}
@media(max-width:600px){
 .d2-main .naver-card-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .d2-main .naver-link-card .naver-card-image{aspect-ratio:3/2}
 .d2-main .naver-link-card .naver-card-body{padding:20px 4px 12px}
 .d2-main .naver-card-body h2{font-size:19px;margin-bottom:16px}
}
@media(max-width:600px){
 .d2-main .naver-link-card .naver-card-image{display:block}
 .d2-main .naver-link-card .naver-card-image img{width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover}
}
/* Estimate options: stable title/description rows, independent of text length. */
.d2-main .estimate-choices label>span{text-align:left;min-height:56px;word-break:keep-all;overflow-wrap:anywhere}
.d2-main .service-picks label>span{justify-content:flex-start;align-items:stretch;padding:20px;gap:8px}
.d2-main .service-picks strong{display:block;margin:0;min-height:3em;font-size:17px;line-height:1.5}
.d2-main .service-picks small{display:block;margin:0;font-size:14px;line-height:1.65}
.d2-drawer{box-sizing:border-box;padding:24px 20px}
.d2-drawer .drawer-service-links{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 0 20px;gap:8px}
.d2-drawer .drawer-service-links a{display:flex;align-items:center;justify-content:flex-start;min-width:0;min-height:44px;white-space:nowrap;line-height:1.5;font-weight:600}
.d2-drawer-head>label{display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer}
#home-cases .work-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#home-cases .post-cover{position:relative}
#home-cases .post-cover-badge{position:absolute;top:12px;left:12px;right:auto;bottom:auto;display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:0;border-radius:6px;background:#fff;color:#235de8;font-size:12px;font-weight:700;line-height:1.4;box-shadow:0 2px 10px #12213c1a}
#home-cases .work-card>div>span{display:none}
#home-cases .work-card>div{display:flex;flex-direction:column;flex:1}
#home-cases .work-card>div>p{margin-top:auto;padding-top:16px}
@media(max-width:1000px){#home-cases .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .d2-main .service-picks{grid-template-columns:minmax(0,1fr);gap:12px}
 .d2-main .service-picks label>span{padding:16px 18px;gap:6px}
 .d2-main .service-picks strong{min-height:0;font-size:16px;line-height:1.5}
 .d2-main .service-picks small{font-size:14px;line-height:1.6}
 .d2-main .estimate-choices:not(.service-picks) label>span{justify-content:flex-start;padding:14px;line-height:1.6}
 .d2-main .estimate-progress li{font-size:13px;white-space:nowrap}
 #home-cases .work-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 #home-cases .work-card h3{font-size:19px;line-height:1.6}
}
#home-cases .work-card{display:flex;flex-direction:column;min-width:0}
#home-cases .work-card h3{font-size:20px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
#home-cases .work-card .post-cover{height:auto;aspect-ratio:4/3;flex-shrink:0}
#home-cases .work-card .post-cover-img{width:100%;height:100%;object-fit:cover}
@media(max-width:1000px){
 body:has(#d2-menu:checked){overflow:hidden}
 .d2-drawer{overscroll-behavior:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(max-width:800px){.estimate-preview-page .chat-launch{display:none}}

.client-project-records{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.client-project-records article{display:flex;flex-direction:column;min-width:0;padding:24px!important}
.client-project-records .project-year{position:static!important;display:block;color:#235de8;font-size:14px;margin:0 0 12px}
.client-project-records h3{font-size:20px!important;line-height:1.6!important;margin:0 0 16px!important;overflow-wrap:anywhere}
.client-project-records p{margin-top:auto!important;font-size:14px!important}
@media(max-width:900px){.client-project-records{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.client-project-records{grid-template-columns:minmax(0,1fr)!important}.d2-team-hero .team-hero-image{object-position:76% center}.d2-team-hero .d2-hero-overlay{background:linear-gradient(0deg,rgba(7,19,35,.85),rgba(7,19,35,.12) 85%)}}

#group-preparation .renew-note{margin-top:28px!important;padding:20px 24px;line-height:1.85!important}#home-reviews .home-review-summary{font-size:15px;line-height:1.8;color:#536174;margin:12px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.client-project-records .project-brand{width:140px;height:70px;object-fit:contain;object-position:left center;margin:0 0 16px;background:white}.client-project-records .project-services{margin-top:auto!important;line-height:1.85;color:#536174}.client-project-records .project-services strong{display:block;font-size:14px;color:#233954;margin-bottom:8px}@media(max-width:600px){#group-preparation .renew-note{margin-top:24px!important;padding:18px 20px}#home-reviews .home-review-summary{font-size:14px}}

/* Hero copy and useful record links: desktop columns, mobile reading order. */
.d2-team-hero{height:auto;min-height:max(760px,92svh);max-height:none;padding:clamp(185px,25svh,260px) 0 130px}
.d2-team-hero .d2-hero-content{position:relative;z-index:2;width:calc(100% - 96px);max-width:1300px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:60px}
.d2-team-hero .d2-hero-copy{position:static;max-width:none}
.d2-team-hero .d2-hero-copy h1{font-size:clamp(40px,4.5vw,66px)}
.hero-explore{margin-top:25px;padding:26px;border:1px solid #ffffff45;border-radius:20px;background:rgba(8,22,40,.8);box-shadow:0 16px 48px #08101f15;color:#fff}
.hero-explore-label{font-size:12px;font-weight:700;color:#c1d5f1;margin:0 0 12px}
.hero-explore h2{font-size:23px;line-height:1.55;letter-spacing:-.04em;margin:0 0 20px}
.hero-explore nav{display:grid;gap:0}.hero-explore nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid #ffffff30;color:#fff;font-size:15px;font-weight:700;min-height:64px}.hero-explore small{display:block;font-size:12px;color:#c5d0df;font-weight:400;margin-top:5px}.hero-explore b{font-size:20px;font-weight:400}.hero-explore a:hover{color:#d7bd84}.hero-explore a:focus-visible{outline:2px solid #d7bd84;outline-offset:5px}
.d2-sitemap{padding-top:70px;padding-bottom:90px}.d2-sitemap>header{margin-bottom:36px}.d2-sitemap h1{font-size:clamp(32px,3.6vw,48px);line-height:1.4;letter-spacing:-.045em;margin:12px 0 18px}.d2-sitemap>header>p:last-child{color:#637085;line-height:1.8}
.sitemap-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sitemap-card{position:relative;padding:32px;border:1px solid #dfe5ef;border-radius:20px;background:#fff}.sitemap-number{display:block;color:#2862df;font-size:13px;font-weight:800;margin-bottom:12px}.sitemap-card h2{font-size:24px;line-height:1.5;margin:0 0 8px}.sitemap-card>p{font-size:14px;color:#637085;line-height:1.8;margin:0 0 22px}.sitemap-card ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.sitemap-card li{min-width:0}.sitemap-card a{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px 0;border-top:1px solid #edf0f5;font-size:14px;line-height:1.7;color:#23334d;min-height:52px}.sitemap-card a:hover{color:#235de8}.sitemap-card a:focus-visible{outline:2px solid #235de8;outline-offset:3px}.sitemap-card a span{color:#6983aa;flex-shrink:0}
@media(max-width:1100px) and (min-width:701px){.d2-team-hero .d2-hero-content{gap:28px;grid-template-columns:minmax(0,1fr) 265px}.d2-team-hero .d2-hero-copy h1{font-size:clamp(34px,4.5vw,46px)}.hero-explore{padding:22px}.hero-explore h2{font-size:21px}}
@media(max-width:700px){.d2-team-hero{min-height:760px;padding:clamp(170px,27svh,245px) 0 100px}.d2-team-hero .d2-hero-content{width:calc(100% - 40px);grid-template-columns:minmax(0,1fr);gap:30px}.d2-team-hero .d2-hero-copy h1{font-size:clamp(29px,8.6vw,38px);margin-bottom:26px}.d2-team-hero .d2-hero-copy>p{margin-bottom:18px}.hero-explore{margin:0;padding:18px 20px;border-radius:16px}.hero-explore-label{margin-bottom:12px}.hero-explore h2{display:none}.hero-explore nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hero-explore nav a{font-size:14px;gap:6px;min-height:70px;padding:12px 0 0}.hero-explore small{font-size:11px;line-height:1.6}.hero-explore b{font-size:17px}.d2-sitemap{padding-top:35px;padding-bottom:60px}.sitemap-card-grid{grid-template-columns:minmax(0,1fr);gap:16px}.sitemap-card{padding:24px 20px}.sitemap-card h2{font-size:22px}.sitemap-card ul{column-gap:16px}.sitemap-card a{font-size:13px}}

.d2-team-hero .d2-scroll{right:28px;bottom:32px}
@media(max-width:700px){.d2-team-hero .d2-hero-overlay{background:linear-gradient(0deg,rgba(7,19,35,.9),rgba(7,19,35,.59) 65%,rgba(7,19,35,.2))}.d2-team-hero .d2-hero-copy>p{color:#d5e5ff}.d2-team-hero .d2-hero-copy h1{text-shadow:0 2px 18px #07132335}}
@media(max-width:360px){.hero-explore small{display:none}.hero-explore nav a{min-height:48px;font-size:13px}.hero-explore{padding:16px}.hero-explore nav{gap:12px}}

/* Shared brand lockup: one vector symbol across header, drawer and footer. */
.d2-logo{grid-template-columns:48px auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;width:max-content;max-width:100%}.d2-logo .dandi-brand-symbol{grid-column:1;grid-row:1 / 3;width:48px;height:48px;display:block}.d2-logo>strong{grid-column:2;grid-row:1;align-self:end}.d2-logo>span{grid-column:2;grid-row:2;align-self:start}.d2-logo-dark .dandi-brand-symbol{color:#102039}
.d2-main .services-directory article>a>div{padding-bottom:32px;box-sizing:border-box}.d2-main .services-directory .service-directory-action{padding-top:12px;gap:12px}.d2-main .services-directory article>a>div>p:not(.d2-kicker){margin-bottom:16px}.d2-main .services-directory figcaption{line-height:1.7;word-break:keep-all}.d2-main .services-directory .service-directory-meta{word-break:keep-all}
@media(max-width:700px){.d2-logo{grid-template-columns:36px auto;column-gap:8px}.d2-logo .dandi-brand-symbol{width:36px;height:40px}.d2-logo strong{font-size:22px}.d2-logo>span{font-size:9px;letter-spacing:.07em}.d2-main .services-directory article>a>div{padding-bottom:0}.d2-main .services-directory .service-directory-action{padding-top:4px;gap:12px}.d2-main .services-directory figcaption{font-size:12px}.d2-main .services-directory .service-directory-meta{font-size:13px}}

/* The photograph and CTA share the same grid row; captions have their own row. */
@media(min-width:901px){.d2-main .services-directory article>a{grid-template-rows:auto auto;row-gap:10px}.services-directory figure{display:grid;grid-column:1;grid-row:1 / 3;grid-template-rows:subgrid}.service-directory-photo{position:relative;min-height:clamp(280px,24vw,360px)}.services-directory .service-directory-photo img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}.d2-main .services-directory article>a>div{grid-column:2;grid-row:1;padding-bottom:0}.d2-main .services-directory figcaption{margin-top:0}}
@media(max-width:900px){.d2-main .services-directory article>a{grid-template-columns:minmax(0,1fr);gap:24px}.d2-main .services-directory article>a>div{padding-bottom:0}.d2-main .services-directory .service-directory-action{margin-top:0;padding-top:4px;align-items:stretch}.d2-main .services-directory .service-directory-cta{width:100%}.service-directory-photo img{display:block}}

/* Korean device fonts avoid downloading dozens of webfont subsets on mobile. */
.d2-site{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",system-ui,sans-serif}
/* Keep the footer login link clear of the fixed consultation launcher and dock. */
.d2-footer-bottom>a{display:inline-flex;align-items:center;min-height:44px;color:#667184}
.d2-footer-bottom>a:hover{text-decoration:underline}
@media(max-width:760px){.d2-footer{padding-bottom:calc(180px + env(safe-area-inset-bottom))}}

/* Restore brand typography with one 46KB heading font; body text stays fast. */
.d2-site :is(h1,h2,h3),.d2-logo strong,.d2-nav,.d2-drawer nav,.d2-hero-copy>p,.d2-services strong{font-family:"Dandi Heading",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif}
