:root{--primary:#8a4a1d;--primary-2:#f0dfcf;--bg:#f9f4ed;--surface:#ffffff;--ink:#302217;--muted:#75675b;--line:#d6c4b3;--accent:#85506e;--mood-canvas-gradient:radial-gradient(circle at 92% 0,color-mix(in srgb,var(--primary) 12%,transparent),transparent 28rem),radial-gradient(circle at 3% 38%,color-mix(in srgb,var(--primary-2) 30%,transparent),transparent 25rem),var(--bg);--mood-surface-gradient:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--primary-2) 34%,var(--surface)));--mood-primary-gradient:radial-gradient(circle at 92% 14%,color-mix(in srgb,#fff 42%,transparent),transparent 12rem),linear-gradient(128deg,var(--primary),color-mix(in srgb,var(--primary) 64%,var(--ink)) 68%,var(--ink));--mood-ink-gradient:linear-gradient(145deg,var(--ink),color-mix(in srgb,var(--ink) 82%,var(--primary)));--mood-shadow-ambient:0 12px 30px color-mix(in srgb,var(--ink) 9%,transparent);--mood-shadow-raised:0 20px 52px color-mix(in srgb,var(--ink) 18%,transparent);}
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&family=Noto+Serif+KR:wght@600;700&display=swap");
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mood-canvas-gradient,var(--bg));color:var(--ink);font-family:"Noto Sans KR",system-ui,sans-serif;line-height:1.65;overflow-wrap:anywhere}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;object-fit:cover;border-radius:0}
button,input{font:inherit}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.page-width{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.skip{position:fixed;left:8px;top:-90px;z-index:9999;background:#fff;color:#111;padding:12px 18px;border:2px solid #111}
.skip:focus{top:8px}
.notice-bar{background:var(--mood-ink-gradient,var(--ink));color:#fff;font-size:.88rem}
.notice-inner{min-height:38px;display:flex;align-items:center;gap:18px}
.notice-inner strong{color:var(--accent)}
.notice-inner button{margin-left:auto;border:0;background:transparent;color:#fff;font-size:1.2rem;cursor:pointer}
.site-header{position:relative;z-index:20;background:var(--surface);border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;white-space:nowrap;line-height:0}
.brand-lockup{width:280px;height:56px;object-fit:contain;object-position:left center}
.site-header nav{display:flex;gap:28px;margin-left:auto;font-weight:650}
.site-header nav a{padding-block:8px}
.header-region-search{display:grid;grid-template-columns:minmax(112px,180px) auto;min-width:0;border:1px solid var(--line);background:#fff}
.header-region-search input{min-width:0;width:100%;height:42px;border:0;padding:0 12px;color:#111;background:#fff}
.header-region-search button{height:42px;border:0;border-left:1px solid var(--line);padding:0 14px;background:var(--accent);color:var(--ink);font-weight:800;cursor:pointer}
.header-call,.primary-cta,.secondary-cta,.fixed-call{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--primary);font-weight:750}
.header-call,.primary-cta{background:var(--primary);color:#fff}
.secondary-cta{background:transparent;color:var(--primary)}
.profile-hero{padding:58px 0 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);min-height:510px;background:var(--mood-surface-gradient,var(--surface));border:1px solid var(--line);box-shadow:var(--mood-shadow-raised,0 20px 52px rgba(0,0,0,.12))}
.hero-grid>*{min-width:0}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:62px}
.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.86rem}
.eyebrow{margin:28px 0 8px;color:var(--primary);font-size:.78rem;font-weight:800;letter-spacing:.14em}
.hero-copy h1{margin:0;max-width:760px;font-size:clamp(2.1rem,4.8vw,4.35rem);line-height:1.16;letter-spacing:-.06em}
.partner-name{margin:26px 0 0}
.partner-name strong{color:var(--primary)}
.hero-description{max-width:680px;color:var(--muted);margin:12px 0 0}
.hero-actions{display:flex;gap:10px;margin-top:28px}
.profile-lead-media{margin:0;min-width:0;min-height:510px;overflow:hidden;background:var(--primary-2)}
.profile-lead-image{width:100%;height:100%;min-height:510px;object-fit:contain;object-position:center top}
.search-dock{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;margin-top:-1px;padding:16px 20px;background:var(--mood-ink-gradient,var(--ink));color:#fff;box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08))}
.search-dock input,.search-page-form input{width:100%;min-height:48px;border:1px solid var(--line);background:#fff;padding:0 16px;color:#111}
.search-dock button,.search-page-form button{min-height:48px;border:0;background:var(--accent);color:var(--ink);font-weight:800;padding:0 24px}
.fact-strip{margin-top:38px;border-block:1px solid var(--line);background:color-mix(in srgb,var(--surface) 84%,var(--primary) 16%)}
.fact-strip .page-width{display:grid;grid-template-columns:repeat(4,1fr)}
.fact-strip span{padding:23px 26px;border-right:1px solid var(--line)}
.fact-strip span:first-child{border-left:1px solid var(--line)}
.fact-strip small,.fact-strip strong{display:block}
.fact-strip small{color:var(--muted);font-size:.76rem}
.content-wrap{padding-block:52px 100px}
.section{margin-top:78px}
.section:first-child{margin-top:0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px;padding-bottom:16px;border-bottom:2px solid var(--ink)}
.section-head span{color:var(--primary);font-size:.74rem;font-weight:800;letter-spacing:.14em;overflow-wrap:normal;word-break:normal}
.section-head h2{margin:4px 0 0;font-size:clamp(1.6rem,3.1vw,2.5rem);line-height:1.3;letter-spacing:-.04em}
.section-head>a{color:var(--primary);font-weight:700}
.variant-switcher{display:flex;gap:8px;overflow:auto;padding:0 0 14px;margin-bottom:26px;scrollbar-width:thin}
.variant-switcher a{flex:none;padding:10px 14px;border:1px solid var(--line);background:var(--surface);font-size:.86rem;font-weight:650}
.related-grid,.region-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.directory-card{display:grid;grid-template-columns:120px 1fr;min-height:150px;min-width:0;overflow:hidden;border:1px solid var(--line);background:var(--mood-surface-gradient,var(--surface));box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08));transition:transform .2s,border-color .2s}
.directory-card:hover{transform:translateY(-3px);border-color:var(--primary)}
.card-photo{display:block;min-width:0;overflow:hidden}
.card-photo img{width:100%;height:100%;min-height:148px;object-fit:cover;object-position:center 18%}
.card-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:18px;overflow-wrap:anywhere}
.card-copy small{color:var(--primary);font-size:.72rem;font-weight:750}
.card-copy strong{margin-top:4px;font-size:1rem}
.card-copy span{font-size:.92rem}
.card-copy b{margin-top:9px;color:var(--primary);font-size:.82rem}
.course-price-surface{display:grid;gap:30px}
.catalog-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.catalog-course-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-top:4px solid var(--primary);background:var(--mood-surface-gradient,var(--surface));box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08));padding:26px}
.catalog-course-card>small{color:var(--primary);font-size:.72rem;font-weight:800;letter-spacing:.12em}
.catalog-course-card h3{margin:7px 0 8px;font-size:1.28rem}
.catalog-course-card p{margin:0;color:var(--muted);font-size:.9rem}
.catalog-course-card ul{padding:0;margin:22px 0 0;list-style:none}
.catalog-course-card li{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-top:1px solid var(--line)}
.catalog-course-card li span,.catalog-course-card li strong{white-space:nowrap}
.catalog-course-card li strong{color:var(--primary)}
.process-list{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding:1px;margin:0;background:var(--line);list-style:none}
.process-list li{display:flex;gap:16px;min-height:190px;padding:26px;background:var(--mood-surface-gradient,var(--surface));box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08))}
.process-list b{color:var(--primary);font-size:1.3rem}
.process-list h2,.process-list h3{margin:0}
.process-list p{color:var(--muted)}
.map-section .platform-naver-map-frame{border:1px solid var(--line)}
.faq-list{display:grid;gap:10px}
.faq-list details{background:var(--mood-surface-gradient,var(--surface));border:1px solid var(--line);box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08));padding:20px}
.faq-list summary{cursor:pointer;font-weight:750}
.faq-list p{color:var(--muted)}
.fixed-hero{padding:70px 0;background:var(--mood-primary-gradient,var(--primary));color:#fff;box-shadow:var(--mood-shadow-raised,0 20px 52px rgba(0,0,0,.12))}
.fixed-hero p{font-size:.75rem;font-weight:800;letter-spacing:.14em}
.fixed-hero h1{margin:10px 0;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.15}
.fixed-hero span{opacity:.84}
.text-link-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.text-link-grid a{border:1px solid var(--line);background:var(--mood-surface-gradient,var(--surface));box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08));padding:16px}
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.course-grid article,.info-panels article{border:1px solid var(--line);background:var(--mood-surface-gradient,var(--surface));box-shadow:var(--mood-shadow-ambient,0 12px 30px rgba(0,0,0,.08));padding:28px}
.course-grid h2,.info-panels h2{margin:6px 0}
.course-grid ul{padding:0;margin:22px 0 0;list-style:none}
.course-grid li{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line)}
.search-page-form{display:grid;gap:10px}
.search-page-form>div{display:grid;grid-template-columns:1fr auto}
.search-page-form label{font-weight:750}
.info-panels{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.site-footer{background:var(--mood-ink-gradient,var(--ink));color:#fff;padding:62px 0 86px}
.footer-grid{display:grid;grid-template-columns:1fr auto;gap:30px;padding-bottom:28px;border-bottom:1px solid color-mix(in srgb,#fff 20%,transparent)}
.footer-brand{display:inline-flex;line-height:0}
.footer-brand .brand-lockup{width:252px;height:50px}
.footer-grid p{color:color-mix(in srgb,#fff 66%,transparent)}
.footer-grid nav{display:flex;gap:18px;align-items:start}
.copyright{margin:24px 0 0;font-size:.8rem;color:color-mix(in srgb,#fff 56%,transparent)}
.ai-disclosure{margin:14px 0 0;padding:18px 20px;border-left:3px solid var(--accent);background:color-mix(in srgb,#fff 7%,transparent);color:color-mix(in srgb,#fff 72%,transparent);font-size:.86rem}
.fixed-call{position:fixed;right:22px;bottom:22px;z-index:40;background:var(--primary);color:#fff;box-shadow:var(--mood-shadow-raised,0 12px 34px color-mix(in srgb,var(--primary) 34%,transparent))}

@media(max-width:980px){.header-inner{gap:12px}
.site-header nav{gap:14px}
.header-region-search{grid-template-columns:minmax(96px,140px) auto}
.hero-grid{grid-template-columns:1fr}
.profile-lead-media,.profile-lead-image{min-height:420px;max-height:620px}
.hero-copy{padding:44px}
.fact-strip .page-width{grid-template-columns:repeat(2,1fr)}
.related-grid,.region-index-grid{grid-template-columns:repeat(2,1fr)}
.catalog-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.process-list{grid-template-columns:repeat(2,1fr)}
.text-link-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:700px){.page-width{width:min(100% - 24px,1180px)}
.notice-inner{gap:8px;min-height:42px}
.notice-inner span{display:none}
.header-inner{min-height:70px;flex-wrap:wrap;padding-block:10px}
.site-header nav{display:none}
.header-region-search{order:3;width:100%;grid-template-columns:minmax(0,1fr) auto}
.header-call{margin-left:auto;min-height:42px;padding:0 13px}
.brand-lockup{width:196px;height:auto}
.footer-brand .brand-lockup{width:220px;height:auto}
.profile-hero{padding-top:16px}
.hero-grid{min-height:0}
.hero-copy{padding:30px 22px}
.hero-copy h1{font-size:clamp(2rem,10vw,3.35rem)}
.hero-description{font-size:.92rem}
.profile-lead-media,.profile-lead-image{min-height:0;height:auto;aspect-ratio:4/5}
.search-dock{grid-template-columns:1fr auto;margin-inline:12px;width:auto}
.search-dock strong{grid-column:1/-1}
.fact-strip{margin-top:22px}
.fact-strip .page-width{width:100%}
.fact-strip span{padding:16px 14px}
.content-wrap{padding-block:34px 88px}
.section{margin-top:54px}
.section-head{align-items:start}
.section-head h2{font-size:1.55rem}
.related-grid,.region-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.directory-card{display:block;min-height:0}
.card-photo{display:block;aspect-ratio:4/3}
.card-photo img{width:100%;height:100%;min-height:0}
.card-copy{padding:14px}
.card-copy strong,.card-copy span,.card-copy b{font-size:.82rem}
.catalog-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.catalog-course-card{padding:18px 14px}
.catalog-course-card h3{font-size:1.05rem}
.catalog-course-card p{font-size:.82rem}
.catalog-course-card li{gap:8px;font-size:.86rem}
.process-list{grid-template-columns:1fr}
.process-list li{min-height:0}
.fixed-hero{padding:50px 0}
.text-link-grid{grid-template-columns:repeat(2,1fr)}
.course-grid,.info-panels{grid-template-columns:1fr}
.footer-grid{grid-template-columns:1fr}
.footer-grid nav{flex-wrap:wrap}
.fixed-call{right:12px;bottom:12px;min-height:48px;padding:0 18px}
}

@media(max-width:340px){.related-grid,.region-index-grid,.catalog-course-grid{grid-template-columns:1fr}
.header-inner{gap:10px}
.brand-lockup{width:170px}
.header-call{white-space:nowrap;padding-inline:10px;font-size:.86rem}
.hero-actions{flex-direction:column}
.search-dock{grid-template-columns:1fr}
.search-dock strong{grid-column:auto}
.fact-strip .page-width{grid-template-columns:1fr}
.text-link-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}
}

/* Mode D keeps the two approved source lineages, then changes at least four
   non-colour structural axes for every frozen adaptation. */
body.mode-d{--radius:0;--shell:1180px;--hero-media-ratio:4/5}
body.mode-d .page-width{width:min(var(--shell),calc(100% - 40px))}
body.mode-d :is(.hero-copy h1,.fixed-hero h1,.section-head h2){word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance;max-width:100%}
body.mode-d .owner-bottom-video{margin:72px auto 24px;max-width:760px;border:1px solid var(--line);background:#111;box-shadow:var(--mood-shadow-raised)}
body.mode-d .owner-bottom-video video{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#111}
body.mode-d .owner-bottom-video figcaption{padding:12px 16px;background:var(--surface);color:var(--muted);font-size:.84rem}

/* 01 — source notebook: compact central paper, serif headings, horizontal slips. */
body.design-d-danjam-saffron-notebook{--shell:940px;font-family:"Noto Sans KR",system-ui,sans-serif}
body.design-d-danjam-saffron-notebook h1,body.design-d-danjam-saffron-notebook h2,body.design-d-danjam-saffron-notebook h3{font-family:"Noto Serif KR",serif}
body.design-d-danjam-saffron-notebook .header-inner{flex-wrap:wrap;justify-content:center;text-align:center}
body.design-d-danjam-saffron-notebook .site-header nav{order:3;width:100%;justify-content:center;margin:0;border-top:1px dotted var(--line)}
body.design-d-danjam-saffron-notebook .hero-grid{grid-template-columns:1fr;max-width:760px;margin:auto}
body.design-d-danjam-saffron-notebook .profile-lead-media{order:-1;min-height:0;max-height:560px}
body.design-d-danjam-saffron-notebook .profile-lead-image{height:auto;min-height:0;aspect-ratio:4/5}
body.design-d-danjam-saffron-notebook .related-grid{grid-template-columns:1fr}
body.design-d-danjam-saffron-notebook .directory-card{grid-template-columns:150px 1fr;border-left:7px solid var(--primary)}
body.design-d-danjam-saffron-notebook .section-head{border-bottom-style:dotted}
body.design-d-danjam-saffron-notebook .fixed-call{left:50%;right:auto;transform:translateX(-50%);bottom:16px;width:min(620px,calc(100% - 28px))}

/* 02 — rose editorial column: portrait first, copy second, tall image cards. */
body.design-d-danjam-rose-column{--shell:1120px}
body.design-d-danjam-rose-column h1,body.design-d-danjam-rose-column h2{font-family:"Noto Serif KR",serif}
body.design-d-danjam-rose-column .header-inner{align-items:flex-end;border-left:5px solid var(--primary);padding-left:22px}
body.design-d-danjam-rose-column .hero-grid{grid-template-columns:.82fr 1.18fr}
body.design-d-danjam-rose-column .profile-lead-media{order:-1}
body.design-d-danjam-rose-column .hero-copy{padding:70px 58px}
body.design-d-danjam-rose-column .related-grid{grid-template-columns:repeat(3,1fr)}
body.design-d-danjam-rose-column .directory-card{display:flex;flex-direction:column}
body.design-d-danjam-rose-column .card-photo{aspect-ratio:3/4}
body.design-d-danjam-rose-column .section-head{border:0;padding-left:18px;border-left:4px solid var(--primary)}
body.design-d-danjam-rose-column .hero-actions a{border-radius:999px}

/* 03 — sage index rail: vertical navigation and compact indexed cards. */
body.design-d-danjam-sage-index{--shell:1240px}
body.design-d-danjam-sage-index .header-inner{display:grid;grid-template-columns:250px 1fr auto;min-height:112px}
body.design-d-danjam-sage-index .site-header nav{margin:0;justify-content:center}
body.design-d-danjam-sage-index .profile-hero{display:grid;grid-template-columns:210px 1fr;gap:0;max-width:1450px;margin:auto}
body.design-d-danjam-sage-index .profile-hero:before{content:"REGION INDEX";padding:70px 26px;background:var(--primary);color:#fff;font-weight:800;letter-spacing:.12em;writing-mode:vertical-rl}
body.design-d-danjam-sage-index .hero-grid{grid-template-columns:1.2fr .8fr;margin:0;width:100%}
body.design-d-danjam-sage-index .search-dock{grid-column:1/-1;margin:0;width:100%}
body.design-d-danjam-sage-index .related-grid{grid-template-columns:repeat(2,1fr)}
body.design-d-danjam-sage-index .directory-card{grid-template-columns:86px 1fr;min-height:112px;box-shadow:none}
body.design-d-danjam-sage-index .card-photo img{min-height:110px}
body.design-d-danjam-sage-index .section-head{counter-increment:section;padding-left:56px;position:relative}
body.design-d-danjam-sage-index .section-head:before{content:counter(section,decimal-leading-zero);position:absolute;left:0;color:var(--primary);font-weight:800}

/* 04 — blue magazine paper: boxed menu, headline above wide media. */
body.design-d-danjam-blue-paper{--shell:1320px}
body.design-d-danjam-blue-paper .site-header nav{padding:10px;border:1px solid var(--line);background:var(--primary-2)}
body.design-d-danjam-blue-paper .hero-grid{display:flex;flex-direction:column}
body.design-d-danjam-blue-paper .profile-lead-media{order:-1;min-height:0;max-height:660px}
body.design-d-danjam-blue-paper .profile-lead-image{min-height:0;height:660px;object-position:center 14%}
body.design-d-danjam-blue-paper .hero-copy{padding:44px 62px}
body.design-d-danjam-blue-paper .related-grid{grid-template-columns:repeat(3,1fr)}
body.design-d-danjam-blue-paper .directory-card{display:block}
body.design-d-danjam-blue-paper .card-photo{aspect-ratio:16/10}
body.design-d-danjam-blue-paper .section-head{margin-inline:0;padding:16px 24px;background:var(--primary);color:#fff;border:0}
body.design-d-danjam-blue-paper .hero-actions a{border-radius:999px}

/* 05 — plum booklet: double-page composition and alternating notes. */
body.design-d-danjam-plum-booklet{--shell:1040px}
body.design-d-danjam-plum-booklet h1,body.design-d-danjam-plum-booklet h2,body.design-d-danjam-plum-booklet h3{font-family:"Noto Serif KR",serif}
body.design-d-danjam-plum-booklet .header-inner{border-inline:1px solid var(--line)}
body.design-d-danjam-plum-booklet .hero-grid{grid-template-columns:1fr 1fr;border:12px solid var(--surface);outline:1px solid var(--line)}
body.design-d-danjam-plum-booklet .hero-copy{border-right:1px solid var(--line)}
body.design-d-danjam-plum-booklet .related-grid{grid-template-columns:1fr 1fr}
body.design-d-danjam-plum-booklet .directory-card:nth-child(even){grid-template-columns:1fr 130px}
body.design-d-danjam-plum-booklet .directory-card:nth-child(even) .card-photo{order:2}
body.design-d-danjam-plum-booklet .section-head{justify-content:center;text-align:center;border:0}
body.design-d-danjam-plum-booklet .section-head:after{content:"◆";color:var(--accent);margin-left:16px}
body.design-d-danjam-plum-booklet .hero-actions{display:grid;grid-template-columns:1fr 1fr}

/* 06 — gban clinic: rounded shell, floating segmented navigation. */
body.design-d-gban-teal-clinic{--radius:24px;--shell:1200px}
body.design-d-gban-teal-clinic .site-header{background:transparent;border:0;padding-top:18px}
body.design-d-gban-teal-clinic .header-inner{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:0 22px;box-shadow:var(--mood-shadow-ambient)}
body.design-d-gban-teal-clinic .site-header nav{background:var(--primary-2);border-radius:999px;padding:8px 18px}
body.design-d-gban-teal-clinic .hero-grid,body.design-d-gban-teal-clinic .directory-card,body.design-d-gban-teal-clinic .catalog-course-card,body.design-d-gban-teal-clinic .faq-list details{border-radius:var(--radius)}
body.design-d-gban-teal-clinic .profile-lead-media,body.design-d-gban-teal-clinic .profile-lead-image{border-radius:0}
body.design-d-gban-teal-clinic .related-grid{grid-template-columns:repeat(2,1fr)}
body.design-d-gban-teal-clinic .section-head{border-bottom:1px solid var(--line)}
body.design-d-gban-teal-clinic .section-head span{background:var(--primary);color:#fff;border-radius:999px;padding:6px 12px}

/* 07 — burgundy gallery: dark bar, full-bleed visual and portrait tiles. */
body.design-d-gban-burgundy-gallery{--shell:1400px}
body.design-d-gban-burgundy-gallery .notice-bar,body.design-d-gban-burgundy-gallery .site-header{background:var(--ink);color:#fff}
body.design-d-gban-burgundy-gallery .hero-grid{display:grid;grid-template-columns:1fr;background:var(--ink);color:#fff}
body.design-d-gban-burgundy-gallery .profile-lead-media{min-height:0;max-height:760px}
body.design-d-gban-burgundy-gallery .profile-lead-image{height:760px;min-height:0;opacity:.88}
body.design-d-gban-burgundy-gallery .hero-copy{position:relative;max-width:none;background:var(--ink);padding:42px 5%}
body.design-d-gban-burgundy-gallery .hero-description,body.design-d-gban-burgundy-gallery .breadcrumbs{color:#eee}
body.design-d-gban-burgundy-gallery .hero-actions a{border-color:#fff;color:#fff}
body.design-d-gban-burgundy-gallery .related-grid{grid-template-columns:repeat(4,1fr)}
body.design-d-gban-burgundy-gallery .directory-card{display:block;background:var(--ink);color:#fff}
body.design-d-gban-burgundy-gallery .directory-card :is(small,b){color:var(--primary-2)}
body.design-d-gban-burgundy-gallery .card-photo{aspect-ratio:3/4}
body.design-d-gban-burgundy-gallery .fixed-call{border-radius:999px}

/* 08 — navy ledger: ruled sheet and single-row records. */
body.design-d-gban-navy-ledger{--shell:1080px;background-color:var(--bg);background-image:repeating-linear-gradient(0deg,transparent 0 47px,color-mix(in srgb,var(--line) 35%,transparent) 48px)}
body.design-d-gban-navy-ledger .header-inner{min-height:68px;border-bottom:3px double var(--primary)}
body.design-d-gban-navy-ledger .hero-grid{grid-template-columns:260px 1fr}
body.design-d-gban-navy-ledger .profile-lead-media{order:-1;min-height:0}
body.design-d-gban-navy-ledger .profile-lead-image{min-height:0;height:100%;object-fit:contain;object-position:center top}
body.design-d-gban-navy-ledger .related-grid{grid-template-columns:1fr}
body.design-d-gban-navy-ledger .directory-card{grid-template-columns:96px 1fr;box-shadow:none;border-inline:0}
body.design-d-gban-navy-ledger .section-head{border-bottom:3px double var(--primary)}
body.design-d-gban-navy-ledger .hero-actions a{background:transparent;color:var(--primary);border:0;border-bottom:2px solid var(--primary);padding-inline:0;margin-right:22px}

/* 09 — copper pavilion: framed central image and asymmetric directory. */
body.design-d-gban-copper-pavilion{--shell:1260px}
body.design-d-gban-copper-pavilion h1,body.design-d-gban-copper-pavilion h2{font-family:"Noto Serif KR",serif}
body.design-d-gban-copper-pavilion .header-inner{display:grid;grid-template-columns:1fr auto 1fr}
body.design-d-gban-copper-pavilion .site-header nav{margin:0;justify-self:center}
body.design-d-gban-copper-pavilion .header-call{justify-self:end}
body.design-d-gban-copper-pavilion .hero-grid{grid-template-columns:1fr;max-width:980px;margin:auto;text-align:center;padding:34px}
body.design-d-gban-copper-pavilion .profile-lead-media{order:-1;min-height:0;max-width:650px;margin:auto;border:12px solid var(--surface);outline:1px solid var(--line);border-radius:0}
body.design-d-gban-copper-pavilion .profile-lead-image{min-height:0;aspect-ratio:4/5}
body.design-d-gban-copper-pavilion .hero-actions,body.design-d-gban-copper-pavilion .breadcrumbs{justify-content:center}
body.design-d-gban-copper-pavilion .related-grid{grid-template-columns:1.25fr .75fr .75fr}
body.design-d-gban-copper-pavilion .section-head{border:2px solid var(--primary);padding:18px}

/* 10 — forest console: modular utility canvas and masonry cards. */
body.design-d-gban-forest-console{--shell:1360px}
body.design-d-gban-forest-console .header-inner{min-height:72px;display:grid;grid-template-columns:240px 1fr 280px auto}
body.design-d-gban-forest-console .site-header nav{margin:0;justify-content:center;border-inline:1px solid var(--line);padding-inline:20px}
body.design-d-gban-forest-console .hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);background:transparent;border:0;box-shadow:none;gap:24px}
body.design-d-gban-forest-console .hero-copy,body.design-d-gban-forest-console .profile-lead-media{background:var(--surface);border:1px solid var(--line);box-shadow:var(--mood-shadow-ambient)}
body.design-d-gban-forest-console .related-grid{grid-template-columns:repeat(3,1fr);align-items:start}
body.design-d-gban-forest-console .directory-card:nth-child(3n+2){margin-top:28px}
body.design-d-gban-forest-console .section-head{background:var(--primary);color:#fff;padding:14px 18px;border:0}
body.design-d-gban-forest-console .fixed-call{right:0;border-radius:16px 0 0 16px;writing-mode:vertical-rl;height:150px}
body.design-d-gban-forest-console main .page-width,body.design-d-gban-forest-console .site-footer .page-width{padding-right:72px}
body.design-d-gban-forest-console .site-footer{padding-bottom:190px}

@media(max-width:980px){
  body.mode-d .profile-hero{display:block}
  body.mode-d .profile-hero:before{display:none}
  body.design-d-danjam-rose-column .hero-grid,body.design-d-danjam-sage-index .hero-grid,body.design-d-danjam-plum-booklet .hero-grid,body.design-d-gban-navy-ledger .hero-grid,body.design-d-gban-forest-console .hero-grid{grid-template-columns:1fr}
  body.design-d-gban-burgundy-gallery .related-grid{grid-template-columns:repeat(2,1fr)}
  body.design-d-gban-copper-pavilion .related-grid{grid-template-columns:repeat(2,1fr)}
  body.design-d-gban-forest-console .header-inner{display:flex}
}

/* Mode D keeps all persistent navigation and action controls in normal flow. */
.fixed-call{display:none!important}

@media(max-width:700px){
  body.mode-d .page-width{width:min(100% - 24px,var(--shell))}
  body.mode-d .owner-bottom-video{margin-top:48px}
  body.design-d-danjam-sage-index .header-inner{display:flex}
  body.design-d-danjam-saffron-notebook .related-grid,body.design-d-gban-navy-ledger .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.design-d-danjam-rose-column .related-grid,body.design-d-danjam-blue-paper .related-grid,body.design-d-gban-forest-console .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.design-d-danjam-rose-column .directory-card{display:block}
  body.design-d-danjam-blue-paper .section-head{margin-inline:0;padding:14px 16px}
  body.design-d-gban-burgundy-gallery .profile-lead-image{height:auto;aspect-ratio:4/5}
  body.design-d-gban-copper-pavilion .header-inner{display:flex}
  body.design-d-gban-copper-pavilion .profile-lead-media{border-width:8px;border-radius:0}
  body.design-d-gban-forest-console .directory-card:nth-child(3n+2){margin-top:0}
  body.design-d-gban-forest-console main .page-width,body.design-d-gban-forest-console .site-footer .page-width{padding-right:0}
  body.design-d-gban-forest-console .site-footer{padding-bottom:86px}
  body.design-d-gban-forest-console .fixed-call{right:12px;height:auto;writing-mode:horizontal-tb;border-radius:16px}
}

@media(max-width:340px){
  body.mode-d .related-grid{grid-template-columns:1fr!important}
}
