/* Shared editorial photography and consultation paths. */
:root {
    --surface-night: #18263c;
    --line-night: #3e4d65;
    --text-on-night: #eff3fa;
    --kakao: #fee500;
}

.site-header { background: #111c2f; }
.header-row { column-gap: clamp(.7rem, 2vw, 1.75rem); }
.site-nav .menu { align-items: center; column-gap: clamp(.5rem, 1.6vw, 1.85rem); }
.site-nav .menu > li > a { letter-spacing: -.018em; font-weight: 720; }
.site-nav .menu > li > a:is(:hover, [aria-current="page"]) { text-decoration: none; }
.site-nav .menu > li > a[aria-current="page"], .site-nav .current-menu-ancestor > a { box-shadow: inset 0 -2px var(--accent); }
.header-consult { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 2.7rem; padding-inline: .88rem; border-radius: .32rem; background: var(--accent); color: #202439; font-weight: 780; text-decoration: none; white-space: nowrap; }
.header-consult:hover { color: #182132; background: #fff2a0; }
.site-nav .catalog-menu-tools { background: #21324a; border-radius: .38rem; padding: .6rem .72rem .72rem; color: var(--text-on-night); }
.catalog-menu-tools strong { display: block; margin-bottom: .5rem; font-weight: 730; }
.catalog-menu-tools .search-form { width: 100%; }
.catalog-menu-tools .search-form button { color: #172034; background: var(--accent); }

.page-banner { position: relative; isolation: isolate; overflow: clip; color: var(--text-on-night); background: #101a2b; }
.page-banner-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-banner-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% 48%; transform-origin: 63% 48%; }
.has-page-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a1427f9 0%, #0c172bdb 34%, #0d172b79 63%, #0a14272c 100%), linear-gradient(0deg, #0a1427c2, #0a142700 54%); }
.page-banner-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: end; gap: 1.1rem; min-height: 13rem; padding-block: 2.5rem; }
.has-page-image .page-banner-inner { min-height: clamp(29rem, 65svh, 45rem); padding-block: clamp(3.5rem, 10vh, 8rem) clamp(2.85rem, 7vh, 5.4rem); }
.page-banner-copy { max-width: 61rem; }
.page-banner-label { margin-bottom: .85rem; color: var(--accent); font-size: .98rem; font-weight: 770; letter-spacing: .025em; }
.page-banner h1 { font-size: clamp(2.5rem, 5.65vw, 5.25rem); line-height: 1.08; letter-spacing: -.076em; font-weight: 850; max-width: 13.5em; color: #fff; }
.has-page-image h1 { font-size: clamp(3.1rem, 8vw, 8rem); }
.page-banner--product h1, .page-banner--project h1 { font-size: clamp(3rem, 6.45vw, 6.4rem); max-width: 11.25em; }
.page-banner h1 span { display: block; }
.page-banner h1 .page-banner-accent { color: var(--accent); }
.page-banner-summary { margin-top: 1.13rem; max-width: 32rem; font-size: clamp(1rem, 1.7vw, 1.21rem); line-height: 1.68; color: #e3eaf6; }
.page-banner-action { flex: 0 0 auto; color: var(--navy); background: var(--accent); }
.page-banner-action:hover { background: #f3e995; }
.page-banner-actions { display: flex; flex-wrap: wrap; gap: .63rem; margin-top: 1.45rem; }
.page-banner-actions .button { padding-inline: 1rem; min-height: 3.05rem; }
.page-banner-actions .button:nth-child(2) { min-width: 8rem; }
.button-banner-secondary { border-color: #aebed5a6; background: #13223ab8; color: var(--text-on-night); }
.button-banner-secondary:hover { background: #29415a; color: #fff; }
.button-kakao { background: var(--kakao); color: #241e07; }
.button-kakao:hover { background: #fff077; color: #241e07; }
.page-banner-caption { color: #dce6f5; font-size: .94rem; }
.page-banner--story .page-banner-image { object-position: 65% 57%; }
.page-banner--contact .page-banner-image { object-position: 66% 53%; }
.page-banner--product .page-banner-image { object-position: 68% 49%; }
.page-banner--projects .page-banner-image { object-position: 64% 47%; }

.section-jump { position: sticky; top: 4.85rem; z-index: 6; background: #fff; border-bottom: 1px solid #d5dee9; }
.admin-bar .section-jump { top: 6.85rem; }
.section-jump > .wrap { display: flex; align-items: center; column-gap: .2rem; overflow: auto; scrollbar-width: thin; }
.section-jump a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 3.2rem; text-decoration: none; border-bottom: 3px solid transparent; padding: .17rem .85rem 0; color: #485a73; font-weight: 710; }
.section-jump a:hover, .section-jump a[aria-current="location"] { color: #162945; border-color: #af891c; background: #f9f6e9; }
.section-jump ~ .catalog-wrap .catalog-sidebar { top: 9rem; }
.admin-bar .section-jump ~ .catalog-wrap .catalog-sidebar { top: 11rem; }
#consultation, #contact-methods, #directions, #product-photos, #product-guide, #product-consultation, #case-photos, #project-consultation { scroll-margin-top: 3.35rem; }
.about-page .editorial-wrap, .contact-editorial, .project-detail .editorial-wrap { padding-top: 1.35rem; }

.greeting-layout { display: grid; grid-template-columns: minmax(13rem, .44fr) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 5vw, 4rem); }
.greeting-aside { padding-top: 1.1rem; border-top: 3px solid #b3953b; color: #152640; }
.greeting-aside h2 { font-size: clamp(2.05rem, 4.45vw, 4rem); font-weight: 820; }
.greeting-aside p { font-size: 1.12rem; color: #4e6079; margin-top: .7rem; }
.greeting { max-width: 100%; width: 100%; }
.greeting-body img { object-fit: contain; height: auto; }
.greeting-body .slogan { letter-spacing: -.055em; }
.greeting-body .greeting-lead { margin: 0 0 1.1rem; color: #162641; font-size: clamp(1.4rem, 3.2vw, 2.5rem); line-height: 1.35; letter-spacing: -.05em; text-wrap: balance; }
.greeting-body > p { max-width: 45rem; margin: 0; }
.greeting-body > p + p { margin-top: .88rem; }
.greeting-highlight { padding-inline: .07em; color: inherit; font-weight: 720; background: linear-gradient(transparent 47%, #f6e390 47%, #f6e390 92%, transparent 92%) left center / 100% 100% no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (prefers-reduced-motion: no-preference) {
    .greeting-highlight { transition: background-size .6s cubic-bezier(.25,.65,.35,1); }
    .greeting-highlight.is-reveal-pending { background-size: 0 100%; }
}


.consultation-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.15rem 1.65rem; background: #14213a; color: #f4f7fa; border-left: 4px solid var(--accent); border-radius: .55rem; padding: clamp(1.15rem, 4vw, 2.8rem); margin-top: clamp(1.5rem, 3vw, 2.9rem); }
.consultation-band-copy { min-width: 0; flex: 1 1 22rem; }
.consultation-band-copy h2 { font-size: clamp(1.38rem, 3.4vw, 2.8rem); word-break: keep-all; }
.consultation-band-copy p { color: #dbe4f2; margin-top: .5rem; word-break: keep-all; }
.consultation-band-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.consultation-band-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .6rem; flex: 1 0 100%; }
.consultation-band-contacts a { --contact-bg: #dbeaf6; --contact-hover: #c8e2f5; --contact-icon: #bfd9ee; display: flex; align-items: center; gap: .72rem; min-width: 0; min-height: 4.25rem; padding: .72rem .85rem; border: 1px solid var(--contact-icon); background: var(--contact-bg); color: #162e46; text-decoration: none; }
.consultation-band-contacts a[href^="tel:"] { --contact-bg: #f3e2a7; --contact-hover: #ecd38b; --contact-icon: #e9ce80; color: #3c2b13; }
.consultation-band-contacts a:is(:hover, :focus-visible) { background: var(--contact-hover); border-color: currentColor; }
.consultation-band-contacts .line-icon { box-sizing: content-box; padding: .5rem; background: var(--contact-icon); }
.consultation-band-contacts a > span { display: grid; gap: .15rem; min-width: 0; }
.consultation-band-contacts a > span > span { font-size: .86rem; font-weight: 650; color: inherit; }
.consultation-band-contacts strong { line-height: 1.25; overflow-wrap: anywhere; }
.consultation-band-contacts a[href^="tel:"] strong { font-size: 1.25rem; letter-spacing: -.03em; }


.case-entry { max-width: 72rem; }
.case-body { background: #fff; box-shadow: 0 .45rem 1.7rem #1420340a; }
.case-feature { border: 0; box-shadow: 0 .4rem 1.9rem #14203414; }
.case-feature-copy h2 { font-weight: 810; }
.case-feature-copy .case-label { color: #79601b; }
.product-body { box-shadow: 0 .35rem 1.25rem #1420340a; }

.consultation-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); align-items: start; gap: clamp(1.7rem, 5vw, 5rem); padding-block: .55rem clamp(2.5rem, 6vw, 5.4rem); }
.consultation-intro h2, .directions-heading h2 { color: #162641; font-size: clamp(2.02rem, 3.74vw, 3.55rem); line-height: 1.14; letter-spacing: -.073em; font-weight: 820; word-break: keep-all; }
.consultation-intro > p, .directions-heading p { margin-top: .95rem; color: #506078; max-width: 31.5rem; font-size: clamp(1rem, 1.55vw, 1.14rem); word-break: keep-all; }
.consultation-intro .contact-intro { margin-top: .72rem; color: #506078; }
.consultation-methods { display: grid; gap: .55rem; margin-top: 1.35rem; }
.consultation-method { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 4.7rem; padding: .72rem .85rem; background: #fff; color: #172940; border: 1px solid #d5e0ea; text-decoration: none; }
.consultation-method:is(:hover, :focus-visible) { border-color: #718ba5; box-shadow: 0 .3rem 1.1rem #14203412; }
.consultation-method-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; color: #254561; background: #e8eef4; }
.consultation-method-icon .line-icon { width: 1.3rem; height: 1.3rem; }
.consultation-method-copy { display: grid; gap: .08rem; min-width: 0; }
.consultation-method-copy > span { color: #4a5d74; font-weight: 680; font-size: .87rem; }
.consultation-method strong { font-size: clamp(1rem, 2vw, 1.5rem); overflow-wrap: anywhere; letter-spacing: -.035em; line-height: 1.16; }
.consultation-method > .line-icon { color: #456887; transition: translate .18s ease; }
.consultation-method:is(:hover, :focus-visible) > .line-icon { translate: .16rem; }
.consultation-method-phone { background: #14283f; color: #fff; border-color: #284664; }
.consultation-method-phone .consultation-method-icon { background: #29465f; color: #fff; }
.consultation-method-phone .consultation-method-copy > span, .consultation-method-phone > .line-icon { color: #d2e2f0; }
.consultation-method-kakao { background: #fff7c2; border-color: #dfcb43; }
.consultation-method-kakao .consultation-method-icon { color: #45340e; background: #f5e783; }
.consultation-guide { padding: clamp(1.15rem, 3.2vw, 2.35rem); border: 1px solid #d4dfe8; background: #fff; }
.consultation-guide h3 { font-size: clamp(1.45rem, 2.8vw, 2.3rem); color: #172b48; }
.consultation-guide ul { margin: .9rem 0 0; padding: 0; list-style: none; }
.consultation-guide li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .65rem; padding-block: .85rem; border-top: 1px solid #dfe6ed; }
.consultation-guide li:last-child { padding-bottom: 0; }
.consultation-guide li > .line-icon { margin-top: .18rem; color: #254f74; }
.consultation-guide h4 { margin: 0; color: #263f5b; font-size: 1rem; }
.consultation-guide p { margin: .18rem 0 0; color: #506078; line-height: 1.55; word-break: keep-all; }
@media (prefers-reduced-motion: reduce) {
    .consultation-method > .line-icon { transition: none; }
}

.kakao-directions { padding-top: clamp(1.9rem, 5.1vw, 4.2rem); border-top: 1px solid #d5dee7; }
.kakao-map-controls { display: flex; gap: .5rem; margin-block: 1.05rem .72rem; }
.kakao-map-controls button { min-height: 2.7rem; min-width: 5.4rem; padding-inline: .9rem; border: 1px solid #c0cbda; border-radius: .35rem; background: #fff; color: #263b56; font-weight: 730; }
.kakao-map-controls button[aria-pressed="true"] { background: #1d3450; border-color: #1d3450; color: #fff; }
.kakao-map-panel { display: grid; grid-template-columns: minmax(13rem, .42fr) minmax(0, 1fr); overflow: hidden; border: 1px solid #d4dfe8; border-radius: .6rem; background: #fff; }
.kakao-map-panel + .kakao-map-panel { margin-top: .65rem; }
.map-location-copy { padding: clamp(1rem, 3vw, 2rem); }
.map-location-copy h3 { font-size: clamp(1.25rem, 2.5vw, 1.86rem); color: #172b46; }
.map-location-copy p { color: #4b5d74; margin: .52rem 0 1rem; word-break: keep-all; }
.kakao-map-frame { position: relative; min-height: 19rem; background: #e6edf3; }
.map-status { margin: 0; padding: .9rem; color: #526881; }
@media (min-width: 901px) {
    .site-nav .menu > .nav-catalog > .sub-menu { width: min(61rem, 100%); padding: 1.1rem; gap: .7rem; background: var(--surface-night); border-color: var(--line-night); box-shadow: 0 1rem 2.8rem #0a15276b; }
    .nav-catalog .catalog-menu-tools { grid-column: 1 / -1; }
    .nav-catalog > .sub-menu > li:not(.catalog-menu-tools) { padding: .28rem .65rem .45rem; border: 1px solid #3a4b64; border-radius: .35rem; }
    .nav-catalog > .sub-menu > li > a { color: #f7edaf; }
    .nav-catalog .sub-menu .sub-menu { border-color: #4b5970; }
    .nav-catalog .sub-menu .sub-menu a { color: #e3eaf5; }
    .nav-catalog .sub-menu .sub-menu a:hover, .nav-catalog .sub-menu [aria-current="page"] { color: #ffef8f; box-shadow: none; }
}
@media (max-width: 900px) {
    .header-consult { order: 4; font-size: .88rem; padding-inline: .64rem; }
    .header-search summary { padding-inline: .68rem; }
    .header-search-label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .site-nav .menu { align-items: stretch; }
    .site-nav .menu > li > a { padding-inline: .35rem; min-height: 2.65rem; }
    .catalog-menu-tools { margin-block: .36rem; }
    .section-jump { top: 4.25rem; }
    .admin-bar .section-jump { top: 6.25rem; }
}
@media (max-width: 780px) {
    .has-page-image .page-banner-inner { min-height: clamp(26rem, 65svh, 34rem); padding-block: 2rem 2.4rem; }
    .has-page-image h1 { font-size: clamp(2.6rem, 10.4vw, 4.8rem); line-height: 1.12; }
    .page-banner--product h1, .page-banner--project h1 { font-size: clamp(2.5rem, 9.6vw, 4.6rem); }
    .has-page-image::after { background: linear-gradient(86deg, #0a1427f3, #0d172ba1 70%, #0a142754), linear-gradient(0deg, #0a142788, transparent 63%); }
    .section-jump a { min-height: 2.75rem; padding-inline: .6rem; }
    .section-jump ~ .catalog-wrap .catalog-sidebar { top: auto; }
    .consultation-layout, .greeting-layout, .kakao-map-panel { grid-template-columns: minmax(0, 1fr); }
    .consultation-intro h2, .directions-heading h2 { font-size: clamp(2.05rem, 8vw, 3.6rem); }
    .kakao-map-frame { min-height: 16rem; }
}
@media (max-width: 600px) { .admin-bar .section-jump { top: 4.25rem; } }
@media (max-width: 390px) {
    .header-row { column-gap: .4rem; }
    .header-consult { padding-inline: .46rem; font-size: .82rem; }
    .menu-toggle, .header-search summary { padding-inline: .47rem; }
    .page-banner-actions .button { padding-inline: .72rem; }
}
@media (max-width: 375px) {
    .header-consult { display: none; }
}
