:root {
    --radius: 3px;
    --accent: #e8d786;
    --editorial-ink: #172337;
    --editorial-paper: #f6f6f3;
    --editorial-line: #d8dde3;
}
body { background: var(--editorial-paper); }
.line-icon { width: 1.17em; height: 1.17em; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.button, .header-consult, .search-form button, .catalog-search button, .rail-controls button, .submenu-toggle,
.catalog-sort select, .subcategory-nav a, .showcase-nav a, .page-numbers, .kakao-map-controls button,
.contact-method, .consultation-method { border-radius: 2px; }
.button { font-weight: 730; letter-spacing: -.02em; }
.button-outline:hover { border-color: #506174; }
.card, .showcase-card, .entry-body img, .catalog-menu, .case-feature, .case-body, .product-body,
.greeting, .home-materials, .kakao-map-panel, .consultation-guide, .consultation-band,
.search-panel, .catalog-controls { border-radius: 3px; }
.header-row { gap: .85rem; min-height: 4.6rem; }
.site-header { background: #101c2d; }
.site-nav .menu > li > a { padding: 0 .44rem; min-height: 3rem; font-size: .96rem; letter-spacing: -.03em; }
.site-nav .menu > li > a[aria-current="page"], .site-nav .current-menu-ancestor > a { box-shadow: inset 0 -1px var(--accent); }
.header-search summary, .menu-toggle { min-width: 2.55rem; min-height: 2.55rem; padding: 0; background: transparent; border: 1px solid #415169; border-radius: 2px; }
.menu-toggle { display: grid; place-items: center; }
.header-search summary .line-icon, .menu-toggle .line-icon { width: 1.22rem; height: 1.22rem; }
.header-search-label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.header-consult { gap: .43rem; border: 1px solid #a99a66; background: transparent; color: #f0df99; min-height: 2.55rem; }
.header-consult:hover { background: var(--accent); color: #192538; }
.catalog-directory { display: none; }
.site-nav .menu > .nav-catalog > a:is(:hover, :focus-visible, [aria-current]),
.site-nav .menu > .nav-catalog.current-menu-ancestor > a { color: #d5e6f7; box-shadow: inset 0 -1px #9db7d3; }
.site-nav .nav-catalog :is(a, button):focus-visible,
.catalog-nav a:focus-visible, .subcategory-nav a:focus-visible { outline-color: #537a9f; outline-offset: -2px; }
.catalog-menu-tools .search-form > :is(button,input) { border-radius: 1px; }

@media (min-width: 901px) {
    .header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; }
    .site-nav { margin: 0; justify-self: center; }
    .site-nav .menu { column-gap: clamp(.4rem, 2.1vw, 2.35rem); }
    .site-nav .menu > .nav-disclosure { white-space: nowrap; }
    .site-nav .menu > .nav-catalog > .sub-menu { width: min(53rem, 100%); border: 1px solid #c4cdd8; border-radius: 1px; background: #fafafa; color: var(--editorial-ink); box-shadow: 0 .85rem 2.55rem #0b182b54; }
    .site-nav.nav-ready .menu > .nav-catalog > .sub-menu { display: block; padding: 0; }
    .nav-ready .nav-catalog > .sub-menu > .catalog-family-mobile { display: none; }
    .nav-ready .nav-catalog > .sub-menu > .catalog-directory { display: grid; grid-template-columns: minmax(9rem, .36fr) minmax(0, 1fr); padding: 0; border: 0; }
    .nav-catalog .catalog-menu-tools { padding: 1.05rem 1.12rem; border-radius: 0; background: #e9eef2; color: #13253d; }
    .catalog-menu-tools .search-form input { background: #fff; }
    .catalog-menu-tools .search-form button { color: #fff; background: #223750; }
    .nav-catalog .catalog-directory-index { padding: .64rem 0 .74rem; border-right: 1px solid #d9e0e9; background: #f0f3f5; }
    .nav-catalog .catalog-directory-index a { width: 100%; display: block; border: 0; border-left: 2px solid transparent; background: transparent; text-align: left; color: #36465b; padding: .59rem .82rem .59rem 1.05rem; font-weight: 650; }
    .nav-catalog .catalog-directory-index a:is(.is-previewing, :focus-visible) { background: #e3edf6; color: #152f4d; border-left-color: #335b81; font-weight: 800; text-decoration: none; }
    .nav-catalog .catalog-directory-index a.is-current-family { color: #152f4d; font-weight: 800; }
    .catalog-directory-detail { min-width: 0; padding: 1.2rem; }
    .catalog-family-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .74fr); gap: .8rem; align-items: start; }
    .catalog-family-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef2; margin-top: .25rem; }
    .catalog-family-photo img { width: 100%; height: 100%; object-fit: cover; }
    .catalog-family-photo.is-cropped img { width: 131%; max-width: none; height: auto; margin-inline: -15.5%; }
    .catalog-family-title { font-size: 1.47rem; color: #142641; font-weight: 800; letter-spacing: -.055em; white-space: normal; }
    .nav-catalog .catalog-family-link { color: #183857; background: #e3edf6; border: 1px solid #b2c5d7; font-size: .91rem; min-height: 2.35rem; padding-inline: .68rem; margin: .42rem 0 .6rem; text-decoration: none; }
    .nav-catalog .catalog-family-link:is(:hover,:focus-visible) { color: #fff; background: #25486a; border-color: #25486a; text-decoration: none; }
    .nav-catalog .catalog-directory-children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .45rem; }
    .nav-catalog .catalog-directory-children a { color: #415369; font-size: .9rem; min-height: 1.65rem; padding: .1rem 0; white-space: normal; overflow-wrap: anywhere; }
    .nav-catalog .catalog-directory-children a:is(:hover, :focus-visible, [aria-current]) { color: #1a4267; text-decoration: underline; text-underline-offset: .2em; }
    .site-nav:not(.nav-ready) .nav-catalog > .sub-menu > li > a, .site-nav:not(.nav-ready) .nav-catalog .sub-menu .sub-menu a { color: #1e3047; }
}
@media (max-width: 900px) {
    .header-row { min-height: 4.15rem; gap: .45rem; }
    .site-nav .menu > li > a { padding-inline: .1rem; }
    .site-nav .menu > li { border-top-color: #3b485b; }
    .header-consult { padding-inline: .55rem; }
    .nav-catalog .catalog-family-mobile { border-bottom: 1px solid #354258; padding-block: .17rem; }
    .nav-catalog .catalog-family-mobile > a { color: #eef2f8; }
    .site-nav .nav-catalog .catalog-family-mobile a:is(:hover, :focus-visible, [aria-current]),
    .site-nav .nav-catalog .catalog-family-mobile.current-menu-parent > a,
    .site-nav .nav-catalog .catalog-family-mobile.current-menu-ancestor > a { color: #bbd8f2; box-shadow: none; text-underline-offset: .2em; }
    .nav-catalog .catalog-family-mobile .sub-menu { border-left: 1px solid #48566d; margin: 0 0 .35rem .28rem; }
    .catalog-menu-tools { border-radius: 1px !important; }
}
@media (max-width: 420px) {
    .header-consult .line-icon { display: none; }
}
@media (max-width: 365px) { .header-consult { display: none; } }

.home-hero { touch-action: pan-y; }
.hero-layout { min-height: clamp(29rem, 69svh, 46rem); padding-top: clamp(2.7rem, 7vw, 6.5rem); }
.hero-copy { padding-bottom: clamp(2.2rem, 6vh, 4.5rem); }
.hero-copy h1 { font-size: clamp(3rem, 6.65vw, 6.75rem); font-weight: 850; }
.hero-image { object-position: 60% 45%; }
.hero-media::after { background: linear-gradient(90deg,#0a1425f6,#0a1425ba 37%,#0a142548 75%,#0b14251e),linear-gradient(0deg,#0a1425ed,transparent 42%); }
.hero-gallery { align-items: center; padding-top: .8rem; gap: .72rem; }
.hero-gallery-controls { gap: .36rem; }
.hero-gallery-controls button { width: clamp(2.9rem, 6vw, 5.45rem); height: clamp(2.05rem, 3.8vw, 3.45rem); min-height: 0; border: 1px solid #9aa8ba8f; border-radius: 0; padding: 2px; background: #0a1626; opacity: .66; overflow: hidden; }
.hero-gallery-controls button:is(:hover,[aria-pressed="true"]) { opacity: 1; border-color: var(--accent); }
.hero-gallery-controls img { width: 100%; height: 100%; object-fit: cover; }
.home-routes { background: #fff; border-bottom: 1px solid var(--editorial-line); }
.route-grid a { display: flex; flex-direction: row; align-items: center; gap: .75rem; color: #1b2c43; padding-block: .75rem; border-color: var(--editorial-line); }
.route-grid a:hover { background: #f1eee1; }
.route-grid a .line-icon { width: 1.6rem; height: 1.6rem; color: #806525; }
.route-grid a span { display: grid; gap: .05rem; }
.route-grid a small { color: #536275; font-size: .91rem; }
.route-grid a strong { font-size: 1.04rem; }
.home-projects { padding-block: clamp(2.65rem, 6vw, 5.5rem); background: #f1f3f4; border-bottom: 1px solid var(--editorial-line); }
.home-section-label { display: flex; align-items: center; gap: .38rem; color: #795f24; font-size: .94rem; font-weight: 750; margin-bottom: .46rem; }
.home-projects h2 { color: var(--editorial-ink); font-size: clamp(2rem, 4.4vw, 4.25rem); }
.home-projects-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(12.5rem,.56fr); gap: clamp(.8rem, 2.35vw, 2.2rem); align-items: stretch; }
.project-view { min-width: 0; background: #17263b; }
.project-stage { position: relative; min-height: clamp(23rem,37vw,34rem); overflow: hidden; isolation: isolate; display: flex; align-items: end; background: #17263b; }
.project-stage img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.project-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#091425eb 0%,#0b17299c 30%,transparent 68%); }
.project-stage-copy { padding: clamp(1rem,3vw,2.4rem); color: #fff; width: 100%; }
.project-stage-copy h3 { font-size: clamp(1.55rem,3.55vw,3.15rem); word-break: keep-all; margin-top: .35rem; }
.project-stage-copy h3 a { color: inherit; text-decoration: none; }
.project-stage-link { display: inline-block; color: #fff; margin-top: .78rem; font-weight: 690; }
.project-picker { display: grid; grid-auto-rows: 1fr; align-content: start; border-top: 1px solid var(--editorial-line); }
.project-choice { width: 100%; min-width: 0; display: flex; align-items: center; gap: .75rem; text-align: left; padding: .71rem .45rem .71rem .64rem; border: 0; border-bottom: 1px solid var(--editorial-line); border-left: 2px solid transparent; background: transparent; color: #283a50; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.project-choice[aria-pressed="true"] { background: #fff; color: #142945; border-left-color: #a38137; }
.project-choice:hover { background: #fff; }
.project-choice-image { width: clamp(3.1rem,7vw,6.1rem); flex: 0 0 auto; aspect-ratio: 1.3; background: #e0e7ec; }
.project-choice-image img { width: 100%; height: 100%; object-fit: cover; }
.materials-copy { position: relative; isolation: isolate; }
.pavilion-illustration { position: relative; float: right; width: clamp(4.2rem,11vw,8.3rem); height: auto; margin: .05rem 0 .25rem .55rem; color: #806d3d; }
.page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-inner { min-height: clamp(14rem,32.5svh,20.5rem); padding-block: 1.7rem; }
.page-banner:is(.page-banner--catalog,.page-banner--product) h1 { font-size: clamp(2.35rem,5.1vw,4.95rem); }
.page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-label { margin-bottom: .44rem; }
.page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-summary { margin-top: .55rem; }
.page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-actions { margin-top: .77rem; }
.page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-actions .button { min-height: 2.58rem; }
.section-jump { top: 4.6rem; }
.showcase-nav { top: 4.6rem; }

.map-location-copy > .line-icon { width: 1.65rem; height: 1.65rem; margin-bottom: .65rem; color: #826d32; }
.kakao-map-frame { position: relative; display: grid; place-items: center; min-height: 14.75rem; aspect-ratio: 2.14; overflow: hidden; background: #e9eef2; }
.map-preview-picture { display: block; width: 100%; height: 100%; }
.map-preview { width: 100%; height: 100%; object-fit: contain; }
.kakao-map-frame iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; visibility: hidden; }
.kakao-map-frame[data-map-state="ready"] iframe { visibility: visible; }
.kakao-map-frame[data-map-state="ready"] .map-preview-picture { visibility: hidden; }
.map-status { margin-top: .66rem; padding: 0; font-size: .91rem; }
.map-retry { margin-top: .75rem; }
.map-location-phone { display: flex; align-items: center; gap: .42rem; width: fit-content; margin-top: .75rem; color: #254a6a; font-weight: 640; font-size: .9rem; }


@media (max-width: 780px) {
    .hero-layout { min-height: clamp(28rem,68svh,36rem); padding-top: 2.55rem; }
    .hero-copy { padding-bottom: 2rem; }
    .hero-copy h1 { font-size: clamp(2.45rem,10vw,4.4rem); }
    .hero-gallery-controls button { width: clamp(2.25rem,11vw,3.8rem); }
    .home-projects-layout { grid-template-columns: minmax(0,1fr); gap: .45rem; }
    .project-stage { min-height: 0; aspect-ratio: 1.2; }
    .project-picker { grid-auto-flow: column; grid-auto-columns: min(63%, 15rem); grid-auto-rows: auto; overflow: auto; scroll-snap-type: x mandatory; border-top: 0; background: #eaedf0; }
    .project-choice { scroll-snap-align: start; min-height: 3.55rem; border-left: 0; border-bottom: 2px solid transparent; padding-block: .4rem; }
    .project-choice[aria-pressed="true"] { border-bottom-color: #a38137; }
    .project-choice-image { width: 2.75rem; }
    .project-choice-text { font-size: .93rem; }
    .section-jump, .showcase-nav { top: 4.15rem; }
    .kakao-map-frame { aspect-ratio: 1.38; }
}
@media (max-width: 600px) {
    .route-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .route-grid a, .route-grid a:first-child { padding: .65rem 0; justify-content: center; gap: .3rem; border-inline: 0; }
    .route-grid a + a { border-top: 0; border-left: 1px solid var(--editorial-line); }
    .route-grid a .line-icon { width: 1rem; height: 1rem; }
    .route-grid a small { display: none; }
    .route-grid a strong { white-space: nowrap; font-size: .89rem; }
    .page-banner:is(.page-banner--catalog,.page-banner--product) .page-banner-inner { min-height: clamp(12.8rem,29svh,16rem); }
    .page-banner:is(.page-banner--catalog,.page-banner--product) h1 { font-size: clamp(2.1rem,7.5vw,3.15rem); }
}

/* Header identity, used again in the footer. */
.brand-lockup { white-space: nowrap; color: #f9f7ed; font-size: clamp(1rem, 1.55vw, 1.27rem); letter-spacing: -.045em; gap: .55rem; }
.brand-lockup:hover { color: var(--accent); text-decoration: none; }
.brand-lockup img { display: block; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
.brand-lockup .brand-custom-image { width: auto; max-width: min(11rem, 42vw); object-fit: contain; background: #f7f3e6; padding: .16rem; }
@media (max-width: 540px) {
    .brand-lockup { gap: .4rem; }
    .brand-lockup img { width: 2.05rem; height: 2.05rem; }
}

/* Horizontal galleries and photo previews. */
.hero-track { position: absolute; inset: 0; }
.hero-track.is-sliding { display: flex; translate: var(--slide-offset, 0%) 0; transition: translate .72s cubic-bezier(.24,.7,.3,1); }
.hero-track.is-sliding .hero-frame { position: relative; flex: 0 0 100%; min-width: 0; }
.hero-gallery-controls .hero-motion { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; opacity: 1; color: #fff; }
.motion-toggle .line-icon { width: 1.12rem; height: 1.12rem; }
.motion-toggle[data-paused="true"] svg:first-child,
.motion-toggle:not([data-paused="true"]) svg:nth-child(2) { display: none; }
.hero-gallery-controls .hero-motion:hover, .hero-gallery-controls .hero-motion:focus-visible { border-color: var(--accent); background: #253950; }
.catalog-heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.rail-motion { display: inline-flex; align-items: center; min-height: 2.85rem; gap: .45rem; background: transparent; border: 1px solid #9eafc0; padding: .45rem .75rem; color: #213750; font-weight: 690; }
.rail-motion:hover { background: #fff; border-color: #4d6078; }
.showcase-heading h3 a { color: #192d48; text-decoration: none; display: inline-flex; gap: .65rem; align-items: center; }
.showcase-heading h3 .line-icon { width: 1em; height: 1em; color: #796117; transition: translate .2s ease; }
.showcase-heading h3 a:is(:hover,:focus-visible) .line-icon { translate: .2em; }
.rail-controls button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.photo-preview { position: relative; overflow: hidden; }
.photo-preview .preview-image { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover; pointer-events: none; transition: opacity .26s ease; }
:is(.showcase-card,.card-link):focus-visible .is-preview-ready .preview-image { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    :is(.showcase-card,.card-link):hover .is-preview-ready .preview-image { opacity: 1; }
    .card-link .photo-preview img { transition: transform .26s ease; }
    .card-link:hover .photo-preview img { transform: scale(1.045); }
}
@media (max-width: 500px) {
    .hero-gallery-controls .hero-motion { width: 2.35rem; height: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-track.is-sliding, .photo-preview .preview-image, .showcase-heading h3 .line-icon { transition: none; }
}

/* Product photography uses its own crop and a compact text area. */
.page-banner.has-catalog-photo .page-banner-inner { min-height: clamp(17rem, 35svh, 20.5rem); align-items: start; justify-content: center; }
.has-catalog-photo .page-banner-copy { max-width: min(48%, 33rem); }
.has-catalog-photo h1 { overflow-wrap: anywhere; word-break: keep-all; }
.has-catalog-photo .page-banner-media { inset: 0 0 0 auto; width: min(52%, 38rem); }
.has-catalog-photo .page-banner-image { object-position: center 56%; }
.catalog-page--seating .has-catalog-photo .page-banner-image { object-position: center 74%; }
.category-sports-facilities .has-catalog-photo .page-banner-image { height: 135%; object-position: center top; }
.has-catalog-photo::after { inset: 0 0 0 auto; width: min(52%, 38rem); background: linear-gradient(90deg, #101a2b 0%, #101a2b25 12%, transparent 24%); }
.has-catalog-photo .page-banner-label { color: #c8dbee; }
.has-catalog-photo .page-banner-action { background: #d5e5f2; color: #172d45; }
.has-catalog-photo .page-banner-action:hover { background: #f2f8fd; }
@media (max-width: 700px) {
    .has-catalog-photo { display: flex; flex-direction: column; }
    .has-catalog-photo::after { display: none; }
    .has-catalog-photo .page-banner-copy { max-width: 100%; }
    .has-catalog-photo .page-banner-media { position: relative; order: 1; inset: auto; z-index: 0; width: 100%; height: clamp(10.25rem, 55vw, 15.5rem); }
    .page-banner.has-catalog-photo .page-banner-inner { min-height: 0; padding-block: 1.35rem; }
    .has-catalog-photo .page-banner-summary { font-size: .91rem; }
}
.catalog-nav :is(.catalog-nav-all, li > a):focus-visible,
.catalog-nav a[aria-current], .catalog-nav .is-active > a { color: #173c5e; background: #e3edf6; }
.subcategory-nav a { color: #274c70; }
.subcategory-nav a[aria-current] { color: #fff; background: #274c70; border-color: #274c70; }

/* Contact information. */
.site-footer {
    background-color: #101c2d;
    background-image: linear-gradient(110deg, #101c2d 52%, #15273cde), repeating-linear-gradient(132deg, transparent 0 15px, #728aa037 15px 16px);
    color: #f5f7fa;
}
.footer-layout { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(0, 1.55fr); gap: 1.8rem clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem) 1.45rem; }
.footer-contact { display: grid; justify-items: start; gap: .36rem; margin-top: 1.45rem; }
.footer-contact h2, .footer-office h2 { font-size: 1rem; color: #eedf9f; }
.footer-contact a { color: #f5f7fa; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.footer-contact a:hover, .footer-office a:hover { color: #eedf9f; text-decoration: underline; }
.footer-phone { font-size: clamp(1.6rem, 3.3vw, 2.35rem); letter-spacing: -.06em; font-weight: 820; line-height: 1.25; }
.footer-phone .line-icon { width: .68em; height: .68em; }
.footer-locations { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; align-content: start; }
.footer-office { border-top: 1px solid #8494aa88; padding-top: 1rem; }
.footer-office h2 { display: flex; align-items: center; gap: .45rem; }
.footer-office address { margin: .45rem 0 .7rem; color: #f5f7fa; font-style: normal; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.footer-office dl, .footer-company { display: flex; flex-wrap: wrap; column-gap: 1.15rem; row-gap: .36rem; margin: 0; font-size: .84rem; color: #d7e0ec; }
.footer-office dl div, .footer-company div { display: flex; align-items: baseline; gap: .4rem; }
.footer-office dt, .footer-company dt { color: #aebed1; }
.footer-office dd, .footer-company dd { margin: 0; }
.footer-office a { color: inherit; }
.footer-directions { grid-column: 1 / -1; justify-self: start; color: #eedf9f; display: inline-flex; gap: .5rem; align-items: center; text-underline-offset: .22em; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid #8494aa65; padding-top: 1rem; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .85rem; color: #c7d2e1; }
@media (max-width: 780px) {
    .footer-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 470px) {
    .footer-locations { grid-template-columns: minmax(0, 1fr); }
}
