/*
Theme Name: Christianhost v3
Theme URI: https://christianhost.kr
Author: 크리스천호스트
Description: 크리스천호스트 블록 테마 v3. 시안 1-1(메인)·1-2(웹사이트 제작) 기반. 섹션은 패턴(크리스천호스트 카테고리), 스크롤 등장은 is-reveal 클래스로 붙인다.
Version: 0.1.7
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: christianhost-v3
*/

/* 값은 모두 theme.json 프리셋(--wp--preset--*)·커스텀(--wp--custom--*)에서 온다.
   선택자는 섹션 클래스로 두 단계 이상 걸어, 블록 레이아웃이 넣는 여백 규칙(:root :where(...))보다 앞선다. */
:root {
	--ch-max: var(--wp--style--global--content-size, 1340px);
	--ch-edge: calc((100vw - var(--ch-max)) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--wp--custom--header-height); }
body { margin: 0; word-break: keep-all; -webkit-font-smoothing: antialiased; }

.ch .container { width: min(var(--ch-max), calc(100% - 2 * var(--wp--preset--spacing--gutter))); margin-inline: auto; }
.ch .eyebrow { margin: 0; font-family: var(--wp--preset--font-family--latin); font-size: var(--wp--preset--font-size--eyebrow); font-weight: 700; letter-spacing: .27em; text-transform: uppercase; color: var(--wp--custom--color--eyebrow); }
.ch .eyebrow.is-light { color: var(--wp--custom--color--eyebrow-light); }
.ch .lead { color: var(--wp--preset--color--muted); line-height: 1.9; font-size: var(--wp--preset--font-size--body); }

/* ── 버튼: 채움(왼→오)·들림 ─────────────────────────── */
.wp-block-button__link { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; line-height: 1.2; transition: transform .3s, background-color .3s, color .3s, box-shadow .3s; }
.wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wp--preset--color--steel); transform: translateX(-102%); transition: transform .45s cubic-bezier(.2, .75, .2, 1); }
.wp-block-button__link:hover::before, .wp-block-button__link:focus-visible::before { transform: translateX(0); }
.wp-block-button__link:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--button); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--wp--preset--color--navy); border-color: var(--wp--custom--color--ghost-border); }
.wp-block-button.is-style-ghost .wp-block-button__link::before { background: var(--wp--custom--color--ghost-fill); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { box-shadow: none; }
.wp-block-button.is-style-line-light .wp-block-button__link { background: transparent; color: var(--wp--preset--color--white); border-color: var(--wp--custom--color--line-light-border); }
.wp-block-button.is-style-line-light .wp-block-button__link::before { background: var(--wp--custom--color--line-light-fill); }

/* ── 사진 프레임: 채움·호버 확대 ───────────────────── */
.ch .crop { position: relative; overflow: hidden; margin: 0; background: linear-gradient(135deg, var(--wp--custom--color--photo-a), var(--wp--custom--color--photo-b)); }
.ch .crop img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: saturate(.84); transition: transform 1.3s cubic-bezier(.2, .7, .2, 1), filter 1s; }
.ch .crop:hover img { transform: scale(1.018); filter: saturate(1); }

/* ── 헤더 ─────────────────────────────────────────── */
.ch.site-header { position: relative; z-index: 30; height: var(--wp--custom--header-height); background: var(--wp--preset--color--white); border-bottom: 1px solid var(--wp--custom--color--header-border); }
.site-header .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ch .logo { margin: 0; line-height: 1.02; white-space: nowrap; }
.ch .logo a { display: block; }
.ch .logo strong { font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--logo); letter-spacing: -.05em; color: var(--wp--custom--color--logo); }
.ch .logo small { display: block; margin-top: 5px; font-size: var(--wp--preset--font-size--micro); font-weight: 600; letter-spacing: .25em; color: var(--wp--custom--color--logo-sub); }
.site-header nav.main-nav { font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.site-header nav.main-nav .wp-block-navigation__container { gap: clamp(18px, 2.5vw, 42px); }
.site-header nav.main-nav .wp-block-navigation-item__content { position: relative; white-space: nowrap; }
.site-header nav.main-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; bottom: -7px; left: 0; width: 100%; height: 1px; background: var(--wp--preset--color--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.site-header nav.main-nav .wp-block-navigation-item__content:hover::after,
.site-header nav.main-nav .wp-block-navigation-item__content:focus-visible::after,
.site-header nav.main-nav .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }
.site-header .header-cta .wp-block-button__link { min-height: 40px; padding: 0 18px; font-size: var(--wp--preset--font-size--xs); }
.site-header .menu-toggle { display: none; padding: 4px; background: transparent; border: 0; color: var(--wp--preset--color--navy); font-size: var(--wp--preset--font-size--icon); line-height: 1; cursor: pointer; }

/* ── 히어로 ───────────────────────────────────────── */
.ch.hero { position: relative; display: grid; grid-template-columns: 50% 50%; min-height: min(720px, calc(100svh - var(--wp--custom--header-height))); overflow: hidden; background: var(--wp--preset--color--sand); }
.ch.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 52%; background: radial-gradient(circle at 20% 17%, var(--wp--preset--color--white) 0, transparent 48%); pointer-events: none; }
.hero .hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; margin-right: -13%; padding: clamp(80px, 8vw, 145px) 13% 48px max(5vw, var(--ch-edge)); background: var(--wp--preset--color--sand); clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%); }
.hero .hero-copy h1 { margin: 25px 0 22px; color: var(--wp--preset--color--heading); }
.hero .hero-copy .lead { margin-bottom: 27px; color: var(--wp--custom--color--hero-lead); font-weight: 500; }
.hero .hero-buttons { gap: 12px; flex-wrap: wrap; }
.hero .hero-caption { margin: auto 0 0; padding: 10px 0 0 15px; border-left: 1px solid var(--wp--custom--color--caption-line); font-family: var(--wp--preset--font-family--latin); font-size: var(--wp--preset--font-size--caption); letter-spacing: .11em; line-height: 1.65; color: var(--wp--custom--color--caption); }
.hero .hero-visual { min-width: 0; min-height: 620px; }

/* ── 서비스 소개 ──────────────────────────────────── */
.ch.intro { padding: var(--wp--preset--spacing--section-lg) 0; background: var(--wp--preset--color--white); }
.intro .intro-head { max-width: 760px; margin: 0 auto 47px; text-align: center; }
.intro .intro-head h2 { margin-bottom: 22px; }
.intro .intro-head .lead { margin-bottom: 0; }
.intro .services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--grid); }
.ch .service-card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--custom--color--card-border); transition: transform .35s, box-shadow .35s, border-color .35s; }
.ch .service-card:hover { transform: translateY(-8px); box-shadow: var(--wp--preset--shadow--lift); border-color: var(--wp--custom--color--card-border-hover); }
.service-card .service-photo { height: 175px; }
.service-card .service-body { padding: 22px 23px 24px; }
.service-card .service-body h3 { margin-bottom: 8px; }
.service-card .service-body p { min-height: 68px; margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.7; color: var(--wp--custom--color--card-text); }
.service-card .service-body .round-arrow { min-height: 0; margin-top: 19px; }
.ch .round-arrow a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--wp--custom--color--arrow-border); border-radius: 50%; font-size: var(--wp--preset--font-size--subtitle); color: var(--wp--preset--color--ink); transition: background-color .3s, color .3s, transform .3s; }
.ch .service-card:hover .round-arrow a { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); transform: rotate(-45deg); }

/* ── 아이콘(마스크) ───────────────────────────────── */
.ch .feat::before, .ch .support-item::before { content: ""; flex: none; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ch .is-cloud { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M6 23h20a5 5 0 0 0 0-10 9 9 0 0 0-17-1 6 6 0 0 0-3 11Z'/%3E%3C/svg%3E"); }
.ch .is-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M16 3 27 8v8c0 7-4 11-11 14C9 27 5 23 5 16V8Z'/%3E%3Cpath d='m11 16 3 3 7-7'/%3E%3C/svg%3E"); }
.ch .is-gear { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Cpath d='M16 2v5m0 18v5M2 16h5m18 0h5M6 6l4 4m12 12 4 4M26 6l-4 4M10 22l-4 4'/%3E%3C/svg%3E"); }
.ch .is-sliders { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 8h6m6 0h14M3 16h16m6 0h4M3 24h3m6 0h17'/%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Ccircle cx='22' cy='16' r='3'/%3E%3Ccircle cx='9' cy='24' r='3'/%3E%3C/svg%3E"); }
.ch .is-rack { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.35'%3E%3Crect x='4' y='5' width='24' height='6' rx='2'/%3E%3Crect x='4' y='18' width='24' height='6' rx='2'/%3E%3Cpath d='M16 11v7M16 24v5'/%3E%3C/svg%3E"); }
.ch .is-guard { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.35'%3E%3Cpath d='M16 3 28 8v8c0 8-5 12-12 14C9 28 4 24 4 16V8Z'/%3E%3Cpath d='m11 16 3 3 7-7'/%3E%3C/svg%3E"); }
.ch .is-care { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.35'%3E%3Cpath d='M17 4a10 10 0 0 0-11 14l-2 9 9-2A10 10 0 1 0 17 4Z'/%3E%3Cpath d='m12 15 3 3 6-6'/%3E%3C/svg%3E"); }
.ch .is-headset { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.35'%3E%3Cpath d='M5 18v-3a11 11 0 0 1 22 0v3M5 18h5v9H8a3 3 0 0 1-3-3Zm22 0h-5v9h2a3 3 0 0 0 3-3Z'/%3E%3C/svg%3E"); }

/* ── 호스팅 ───────────────────────────────────────── */
.ch.hosting { display: grid; grid-template-columns: 43% 36% 21%; min-height: 480px; background: var(--wp--preset--color--mist); }
.hosting .hosting-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--wp--preset--spacing--section-lg) clamp(34px, 4vw, 90px) var(--wp--preset--spacing--section-lg) max(var(--wp--preset--spacing--gutter), var(--ch-edge)); background: var(--wp--preset--color--navy-deep); color: var(--wp--preset--color--white); }
.hosting .hosting-copy h2 { margin: 18px 0 12px; font-size: var(--wp--preset--font-size--title-feature); }
.hosting .hosting-copy .domain { margin: 0 0 12px; font-family: var(--wp--preset--font-family--latin); font-size: var(--wp--preset--font-size--subtitle-lg); font-weight: 700; }
.hosting .hosting-copy .wp-block-button { flex: 1; }
.hosting .hosting-copy .wp-block-button__link { width: 100%; }
.hosting .hosting-copy .hosting-text { margin: 0 0 24px; font-size: var(--wp--preset--font-size--ui); line-height: 1.8; color: var(--wp--custom--color--on-navy); }
.hosting .hosting-features { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: var(--wp--preset--spacing--section-lg) clamp(24px, 3vw, 62px); }
.hosting .feat { display: flex; align-items: center; gap: 16px; margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.hosting .feat::before { width: 27px; height: 27px; background: var(--wp--custom--color--icon); }

/* ── 제작 과정 ────────────────────────────────────── */
.ch.process { padding: 0 0 var(--wp--preset--spacing--section-lg); background: var(--wp--preset--color--sand); }
.process .process-top { display: grid; grid-template-columns: 42% 58%; min-height: 390px; }
.process .process-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--wp--preset--spacing--section-lg) 35px 55px max(5vw, var(--ch-edge)); }
.process .process-copy h2 { margin: 19px 0 17px; }
.process .process-copy .lead { margin-bottom: 0; }
.process .process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; padding-top: 12px; }
.process .step { position: relative; padding: 0 20px; text-align: center; }
.process .step:not(:last-child)::after { content: "→"; position: absolute; top: 10px; left: calc(100% + 2%); color: var(--wp--custom--color--step-arrow); font-size: 23px; font-weight: 300; }
.process .step .step-number { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border: 1px solid var(--wp--custom--color--step-border); border-radius: 50%; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--step); font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--numeral); font-weight: 600; }
.process .step h3 { margin-bottom: 12px; font-size: var(--wp--preset--font-size--subtitle-lg); }
.process .step .step-text { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.8; color: var(--wp--custom--color--step-text); }
/* 노트 글자: 사진이 object-fit: cover 로 잘리므로, 잘리기 전 사진 크기(비율 2228:876, 너비 --s)를
   기준으로 노트 좌표(가로 34.5%·세로 33%~)에 놓는다. 그래서 어떤 화면 폭에서도 노트 위에 남는다. */
.process .process-visual { position: relative; display: grid; container-type: size; }
.process .process-note { --s: max(100cqw, 254.34cqh); position: absolute; top: calc(50cqh - .067 * var(--s)); left: calc(50cqw - .155 * var(--s)); margin: 0; padding: 0; list-style: none; translate: -50% 0; rotate: 4deg; font-family: var(--wp--preset--font-family--serif); font-size: calc(.024 * var(--s)); line-height: 1.8; text-align: center; color: var(--wp--preset--color--navy); opacity: .82; }
.process .process-note li { margin: 0; }

/* ── 디자인·인쇄 ──────────────────────────────────── */
.ch.print { display: grid; grid-template-columns: 58% 42%; min-height: 490px; background: var(--wp--preset--color--paper); }
.print .print-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--wp--preset--spacing--section-lg) max(6vw, var(--ch-edge)) var(--wp--preset--spacing--section-lg) 8%; }
.print .print-copy h2 { margin: 20px 0 14px; }
.print .print-copy .lead { margin-bottom: 25px; }

/* ── 운영 지원 ────────────────────────────────────── */
.ch.support { display: grid; grid-template-columns: 46% 54%; min-height: 450px; background: var(--wp--preset--color--forest); color: var(--wp--preset--color--white); }
.support .support-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--wp--preset--spacing--section-lg) max(5vw, var(--ch-edge)) var(--wp--preset--spacing--section-lg) 7%; }
.support .support-copy h2 { margin: 17px 0 10px; font-size: var(--wp--preset--font-size--title-support); }
.support .support-copy .support-text { margin: 0 0 25px; font-size: var(--wp--preset--font-size--ui); line-height: 1.75; color: var(--wp--custom--color--on-forest); }
.support .support-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.support .support-item { margin: 0; padding: 0 12px; border-right: 1px solid var(--wp--custom--color--forest-rule); }
.support .support-item:first-child { padding-left: 0; }
.support .support-item:last-child { border: 0; }
.support .support-item::before { display: block; width: 28px; height: 28px; background: var(--wp--custom--color--forest-icon); }
.support .support-item strong { display: block; margin-top: 8px; font-size: var(--wp--preset--font-size--small); }
.support .support-item small { display: block; margin-top: 3px; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--custom--color--forest-sub); }

/* ── 기술 역량 ────────────────────────────────────── */
.ch.stack { padding: var(--wp--preset--spacing--section-lg) 0; background: var(--wp--preset--color--white); }
.stack .stack-inner { display: grid; grid-template-columns: 260px repeat(4, 1fr); gap: 24px; align-items: center; }
.stack .stack-intro { padding-right: 24px; border-right: 1px solid var(--wp--custom--color--rule); }
.stack .stack-intro .stack-lead { margin: 8px 0 0; font-size: var(--wp--preset--font-size--body); font-weight: 700; line-height: 1.55; }
.stack .tech { display: flex; align-items: center; gap: 11px; }
.stack .tech .tech-mark { display: grid; place-items: center; flex: none; width: 37px; height: 37px; margin: 0; border: 1px solid var(--wp--custom--color--tech-border); border-radius: 50%; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--subtitle); font-weight: 700; }
.stack .tech .tech-mark.is-react { border-color: var(--wp--custom--color--react-border); color: var(--wp--custom--color--react); }
.stack .tech .tech-mark.is-node { border-color: var(--wp--custom--color--node-border); color: var(--wp--custom--color--node); }
.stack .tech .tech-text { margin: 0; }
.stack .tech-text strong { display: block; font-size: var(--wp--preset--font-size--ui); }
.stack .tech-text small { display: block; margin-top: 4px; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--custom--color--tech-sub); }

/* ── 상담(공통) ───────────────────────────────────── */
.ch.final { position: relative; display: grid; place-items: center; height: 300px; text-align: center; color: var(--wp--custom--color--cta-text); }
.ch.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--wp--custom--color--veil-strong), var(--wp--custom--color--veil-soft) 62%, transparent); pointer-events: none; }
.final .final-photo.crop { position: absolute; inset: 0; }
.final .final-photo img { filter: blur(5px) saturate(.75); }
.final .final-content { position: relative; z-index: 1; }
.final .final-content h2 { margin: 0 0 15px; font-size: var(--wp--preset--font-size--title-cta); }
.final .final-content .final-text { margin: 0 0 20px; font-size: var(--wp--preset--font-size--small); line-height: 1.7; }
.final .final-content .wp-block-buttons { justify-content: center; }
/* 높이 대신 안쪽 여백으로 — cta 파트는 다른 기본 템플릿 페이지도 쓰므로 메인에만 건다. */
.home .ch.final { height: auto; padding: var(--wp--preset--spacing--section-lg) 0; }

/* ── 서브 페이지 히어로·본문 ──────────────────────── */
.ch.page-hero { padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 90px); background: var(--wp--preset--color--sand); border-bottom: 1px solid var(--wp--custom--color--header-border); }
.page-hero .container h1 { max-width: 18em; margin: 22px 0 18px; color: var(--wp--preset--color--heading); }
.page-hero .container .lead { max-width: 40em; margin: 0; color: var(--wp--custom--color--hero-lead); }
.ch.text-section { padding: var(--wp--preset--spacing--section) 0; }
.text-section .prose { max-width: 760px; }
.text-section .prose > * + * { margin-top: 1.1em; }
.text-section .prose p { line-height: 1.9; color: var(--wp--preset--color--muted); }

/* ── 푸터 ─────────────────────────────────────────── */
.ch.site-footer { padding: 34px 0; background: var(--wp--preset--color--white); }
.site-footer .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.site-footer nav.footer-nav { font-size: var(--wp--preset--font-size--eyebrow); font-weight: 600; color: var(--wp--custom--color--footer-nav); }
.site-footer nav.footer-nav .wp-block-navigation__container { gap: 25px; }
.site-footer .copyright { margin: 0; font-size: var(--wp--preset--font-size--micro); color: var(--wp--custom--color--copyright); }
.site-footer .footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.site-footer .footer-contact { margin: 0; font-size: var(--wp--preset--font-size--micro); color: var(--wp--custom--color--copyright); }
.site-footer .footer-contact a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── 반응형(시안 1100·780·520) ────────────────────── */
@media (max-width: 1100px) {
	.site-header nav.main-nav { font-size: var(--wp--preset--font-size--eyebrow); }
	.site-header nav.main-nav .wp-block-navigation__container { gap: 16px; }
	.intro .services { gap: 14px; }
	.service-card .service-body { padding: 19px; }
	.ch.hosting { grid-template-columns: 42% 38% 20%; }
	.hosting .hosting-features { gap: 23px; padding: 20px; }
	.hosting .feat { font-size: var(--wp--preset--font-size--eyebrow); }
	.stack .stack-inner { grid-template-columns: 1fr 1fr 1fr; }
	.stack .stack-intro { grid-row: span 2; }
}

@media (max-width: 780px) {
	.ch .container { width: min(100% - 2 * var(--wp--preset--spacing--gutter-sm), 560px); }
	.ch.site-header { height: var(--wp--custom--header-height-sm); }
	.site-header .header-cta { display: none; }
	.site-header .menu-toggle { display: block; }
	.site-header nav.main-nav { display: none; position: absolute; top: var(--wp--custom--header-height-sm); left: 0; right: 0; padding: 19px 24px 25px; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--menu); font-size: var(--wp--preset--font-size--ui); }
	.site-header.nav-open nav.main-nav { display: block; }
	.site-header nav.main-nav .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 0; }
	.site-header nav.main-nav .wp-block-navigation-item__content { display: block; padding: 8px 0; }
	.ch.hero { display: flex; flex-direction: column; min-height: 0; }
	.hero .hero-copy { margin: 0; padding: 72px 24px 42px; clip-path: none; }
	.hero .hero-copy h1 { font-size: var(--wp--preset--font-size--display-sm); }
	.hero .hero-caption { display: none; }
	.hero .hero-visual { height: 340px; min-height: 0; }
	.ch.intro { padding: var(--wp--preset--spacing--section-sm) 0; }
	.intro .services { grid-template-columns: 1fr 1fr; }
	.ch.hosting { grid-template-columns: 1fr 1fr; }
	.hosting .hosting-copy { padding: var(--wp--preset--spacing--section-sm) 30px; }
	.hosting .hosting-image { min-height: 370px; }
	.hosting .hosting-features { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 28px 36px var(--wp--preset--spacing--section-sm); }
	.process .process-top { grid-template-columns: 1fr; }
	.process .process-copy { padding: var(--wp--preset--spacing--section-sm) 30px 35px; }
	.process .process-visual { height: 300px; }
	.process .process-steps { gap: 12px; padding-top: 34px; }
	.process .step { padding: 0 8px; }
	.ch.process { padding-bottom: var(--wp--preset--spacing--section-sm); }
	.ch.print { grid-template-columns: 1fr; }
	.print .print-image { height: 370px; }
	.print .print-copy { padding: var(--wp--preset--spacing--section-sm) 30px; }
	.ch.support { grid-template-columns: 1fr; }
	.support .support-image { height: 340px; }
	.support .support-copy { padding: var(--wp--preset--spacing--section-sm) 30px; }
	.site-footer .footer-inner { flex-direction: column; align-items: flex-start; }
	.site-footer .footer-meta { align-items: flex-start; text-align: left; }
	.site-footer nav.footer-nav .wp-block-navigation__container { flex-wrap: wrap; gap: 13px; }
	.ch.final { height: 270px; }
	.home .ch.final { padding: var(--wp--preset--spacing--section-sm) 0; }
	.ch.stack { padding: var(--wp--preset--spacing--section-sm) 0; }
}

@media (max-width: 520px) {
	.ch h2 { font-size: var(--wp--preset--font-size--title-sm); }
	.ch .lead { font-size: var(--wp--preset--font-size--ui); }
	.hero .hero-copy { padding-top: 62px; }
	.hero .hero-visual { height: 245px; }
	.hero .hero-buttons { width: 100%; flex-wrap: nowrap; }
	.hero .hero-buttons .wp-block-button { flex: 1; }
	.hero .hero-buttons .wp-block-button__link { width: 100%; padding: 0 12px; font-size: var(--wp--preset--font-size--xs); }
	.intro .services { grid-template-columns: 1fr; }
	.service-card .service-photo { height: 210px; }
	.service-card .service-body p { min-height: 0; }
	.ch.hosting { display: block; }
	.hosting .hosting-copy { padding: var(--wp--preset--spacing--section-sm) 25px; }
	.hosting .hosting-image { height: 330px; min-height: 0; }
	.hosting .hosting-features { grid-template-columns: 1fr 1fr; }
	.process .process-copy { padding: var(--wp--preset--spacing--section-sm) 25px 30px; }
	.process .process-visual { height: 245px; }
	.process .process-steps { display: block; padding: 26px 0 0; }
	.process .step { padding: 12px 14px 31px; }
	.process .step:last-child { padding-bottom: 0; }
	.process .step:not(:last-child)::after { content: "↓"; top: auto; left: 50%; bottom: -5px; }
	.print .print-image { height: 270px; }
	.print .print-copy { padding: var(--wp--preset--spacing--section-sm) 25px; }
	.support .support-image { height: 250px; }
	.support .support-copy { padding: var(--wp--preset--spacing--section-sm) 25px; }
	.support .support-items { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.support .support-item:nth-child(2) { border: 0; }
	.stack .stack-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
	.stack .stack-intro { grid-column: 1 / -1; grid-row: auto; padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--wp--custom--color--rule); }
	.ch.final { height: 260px; }
	.final .final-content { padding: 0 20px; }
	.site-footer nav.footer-nav { display: none; }
}

/* ── 웹사이트 제작 페이지(시안 1-2) — 패턴 web-* ───────
   섹션 클래스 web-* 로만 건다. 메인 섹션(.hero·.process·.support)과 선택자를 공유하지 않는다. */
.ch[class*="web-"] :is(h1, h2, h3, p) { margin-top: 0; }
.ch[class*="web-"] :is(h1, h2, h3) { font-weight: 700; letter-spacing: -.055em; }
.ch[class*="web-"] h2 { font-size: var(--wp--preset--font-size--title-page); line-height: 1.36; }
.ch[class*="web-"] p { line-height: 1.75; }
.ch .web-heading { margin-bottom: 28px; }
.ch .web-heading h2 { margin: 0 0 7px; }
.ch .web-heading p { margin: 0; font-size: var(--wp--preset--font-size--body); color: var(--wp--preset--color--muted); }

.ch.web-hero { display: grid; grid-template-columns: 50% 50%; height: clamp(450px, 34vw, 620px); overflow: hidden; background: var(--wp--preset--color--sand); }
.web-hero .hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 65px 5vw 60px max(6vw, var(--ch-edge)); }
.web-hero .eyebrow { letter-spacing: .23em; color: var(--wp--custom--color--web-eyebrow); }
.web-hero h1 { margin: 20px 0 16px; font-size: var(--wp--preset--font-size--display-page); line-height: 1.28; color: var(--wp--preset--color--heading); }
.web-hero .hero-lead { margin: 0 0 23px; font-size: var(--wp--preset--font-size--lead-lg); color: var(--wp--custom--color--hero-lead); }
.web-hero .hero-actions { gap: 10px; flex-wrap: wrap; }
.web-hero .is-style-ghost .wp-block-button__link { background: var(--wp--preset--color--white); }

.ch.web-types { padding: var(--wp--preset--spacing--section-lg) 0; }
.web-types .site-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--grid); }
.web-types .site-type .photo { aspect-ratio: 216 / 105; margin-bottom: 17px; }
.web-types .site-type .photo::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--wp--custom--color--web-frame); transition: inset .35s, border-color .35s; }
.web-types .site-type:hover .photo::after { inset: 10px; border-color: var(--wp--custom--color--web-frame-hover); }
.web-types .site-type h3 { margin: 0 0 5px; font-size: var(--wp--preset--font-size--subtitle); }
.web-types .site-type p { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

.ch.web-wordpress { display: grid; grid-template-columns: 33% 39% 28%; min-height: 390px; background: var(--wp--custom--color--web-band); }
.web-wordpress .wp-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px 22px 52px max(5vw, var(--ch-edge)); }
.web-wordpress .wp-copy .tagline { margin: 0 0 9px; font-size: var(--wp--preset--font-size--tagline); font-weight: 600; line-height: 1.5; color: var(--wp--custom--color--web-tagline); }
.web-wordpress .wp-copy h2 { margin: 0 0 15px; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--wordmark); font-weight: 500; line-height: 1; }
.web-wordpress .wp-copy .wp-text { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.web-wordpress .wp-list { display: flex; flex-direction: column; justify-content: center; padding: 40px max(5vw, var(--ch-edge)) 35px 14px; }
.web-wordpress .wp-list h3 { margin: 0 0 18px; font-size: var(--wp--preset--font-size--lead-lg); line-height: 1.5; }
.web-wordpress .wp-list ul { margin: 0; padding: 0; list-style: none; }
.web-wordpress .wp-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: var(--wp--preset--font-size--ui); }
.web-wordpress .wp-list li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--wp--custom--color--web-green); color: var(--wp--preset--color--white); font-size: var(--wp--preset--font-size--eyebrow); font-weight: 800; }
.web-wordpress .wp-list .wp-note { margin: 16px 0 0; font-size: var(--wp--preset--font-size--eyebrow); color: var(--wp--custom--color--caption); }

.ch.web-features { padding: var(--wp--preset--spacing--section-lg) 0; }
.web-features .web-heading { margin-bottom: 30px; }
.web-features .feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; }
.web-features .feature { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 210px; padding: 24px 12px 18px; text-align: center; background: var(--wp--preset--color--white); border: 1px solid var(--wp--custom--color--header-border); box-shadow: var(--wp--preset--shadow--soft); transition: transform .35s, box-shadow .35s; }
.web-features .feature:hover { transform: translateY(-7px); box-shadow: var(--wp--preset--shadow--soft-hover); }
.web-features .feature p { margin: 0; font-size: var(--wp--preset--font-size--eyebrow); line-height: 1.7; color: var(--wp--custom--color--tech-sub); }
.web-features .feature .feature-icon { margin: 0 0 17px; font-size: var(--wp--preset--font-size--title-sm); line-height: 1; color: var(--wp--custom--color--web-icon); }
.web-features .feature h3 { margin: 0 0 10px; font-size: var(--wp--preset--font-size--body); }

.ch.web-process { position: relative; overflow: hidden; padding: 30px 0 var(--wp--preset--spacing--section-lg); }
.web-process .process-photo.crop { position: static; overflow: hidden; width: 100%; height: 150px; margin: 22px 0 0; opacity: .97; }
.web-process .process-photo.crop img { position: static; width: 100%; height: 100%; object-fit: cover; }
.web-process .process-inner { display: grid; grid-template-columns: 32% 68%; align-items: center; min-height: 330px; }
.web-process .process-copy { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 0 22px 0 max(5vw, var(--ch-edge)); }
.web-process .process-copy h2 { margin: 0 0 10px; }
.web-process .process-copy p { font-size: var(--wp--preset--font-size--body); color: var(--wp--preset--color--muted); }
.web-process .process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.web-process .process-step { position: relative; padding: 24px 8px 15px; text-align: center; }
.web-process .process-step:not(:last-child)::after { content: "›"; position: absolute; top: 95px; right: -13px; font-size: var(--wp--preset--font-size--icon); color: var(--wp--custom--color--caption); }
.web-process .process-step .process-number { margin: 0 0 0 12px; text-align: left; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--numeral); font-weight: 700; line-height: 1.2; }
.web-process .process-step .process-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 2px auto 13px; border-radius: 50%; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--soft); font-size: var(--wp--preset--font-size--title-sm); line-height: 1; color: var(--wp--preset--color--navy); transition: transform .4s; }
.web-process .process-step:hover .process-icon { transform: translateY(-5px) rotate(-4deg); }
.web-process .process-step h3 { margin: 0 0 8px; font-size: var(--wp--preset--font-size--lead-lg); }
.web-process .process-step .step-text { margin: 0; font-size: var(--wp--preset--font-size--eyebrow); line-height: 1.7; color: var(--wp--custom--color--tech-sub); }

.ch.web-pricing { padding: 85px 0 var(--wp--preset--spacing--section-lg); background: var(--wp--custom--color--web-price-bg); }
.web-pricing .pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.web-pricing .pricing-head h2 { margin: 0; }
.web-pricing .pricing-head p { margin: 0 0 5px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--custom--color--tech-sub); }
.web-pricing .price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.web-pricing .price-card { position: relative; min-height: 285px; padding: 23px 23px 28px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--custom--color--header-border); box-shadow: var(--wp--preset--shadow--soft); transition: transform .35s, box-shadow .35s, border-color .35s; }
.web-pricing .price-card:hover { transform: translateY(-7px); box-shadow: var(--wp--preset--shadow--soft-hover); }
.web-pricing .price-card.is-featured { border-color: var(--wp--custom--color--web-featured); background: var(--wp--custom--color--web-featured-bg); }
.web-pricing .price-card .price-badge { position: absolute; top: -24px; left: -1px; right: -1px; height: 24px; margin: 0; background: var(--wp--custom--color--web-featured); color: var(--wp--preset--color--white); text-align: center; font-size: var(--wp--preset--font-size--eyebrow); font-weight: 700; line-height: 24px; }
.web-pricing .price-card h3 { margin: 0 0 4px; font-size: var(--wp--preset--font-size--subtitle); }
.web-pricing .price-card .price-desc { min-height: 43px; margin: 0; font-size: var(--wp--preset--font-size--xs); color: var(--wp--custom--color--tech-sub); }
.web-pricing .price-card .price { margin: 8px 0 16px; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--price); font-weight: 700; letter-spacing: -.06em; line-height: 1.2; color: var(--wp--preset--color--navy); }
.web-pricing .price small { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0; }
.web-pricing .price-card ul { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--wp--custom--color--card-border); }
.web-pricing .price-card li { position: relative; padding-left: 18px; font-size: var(--wp--preset--font-size--eyebrow); line-height: 1.7; color: var(--wp--custom--color--card-text); }
.web-pricing .price-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--wp--preset--color--ink); }
.web-pricing .pricing-note { margin: 22px 0 0; text-align: center; font-size: var(--wp--preset--font-size--eyebrow); color: var(--wp--custom--color--caption); }

.ch.web-support { display: grid; grid-template-columns: 34% 66%; min-height: 270px; background: var(--wp--custom--color--web-band); }
.web-support .support-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px max(5vw, var(--ch-edge)) 32px 15px; }
.web-support .support-copy h2 { margin: 0 0 4px; font-size: var(--wp--preset--font-size--title-band); }
.web-support .support-copy .support-lead { margin: 0 0 16px; font-size: var(--wp--preset--font-size--small); color: var(--wp--custom--color--card-text); }
.web-support .support-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.web-support .support-card { display: flex; align-items: flex-start; gap: 13px; min-height: 80px; padding: 17px 15px; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--soft); }
.web-support .support-card .glyph { flex: none; margin: 0; font-size: var(--wp--preset--font-size--icon); line-height: 1; color: var(--wp--preset--color--navy); }
.web-support .support-card .support-card-text { margin: 0; }
.web-support .support-card strong { display: block; margin-bottom: 5px; font-size: var(--wp--preset--font-size--small); }
.web-support .support-card small { display: block; font-size: var(--wp--preset--font-size--micro); line-height: 1.55; color: var(--wp--custom--color--tech-sub); }

.ch.web-final { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 320px; padding: 0 max(6vw, var(--ch-edge)); background: var(--wp--preset--color--sand); }
.web-final .web-final-photo.crop { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; }
.web-final .web-final-photo.crop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wp--preset--color--sand), transparent 40%); }
.web-final .web-final-photo img { filter: saturate(.92); }
.web-final .web-final-content { position: relative; z-index: 1; max-width: 440px; }
.web-final .web-final-content h2 { margin: 0 0 12px; }
.web-final .web-final-content p { margin: 0 0 22px; font-size: var(--wp--preset--font-size--small); line-height: 1.7; color: var(--wp--custom--color--muted); }

/* 시안 1-2 의 구간(1150·780·540)을 그대로 쓴다. */
@media (max-width: 1150px) {
	.web-features .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.web-wordpress .wp-copy h2 { font-size: var(--wp--preset--font-size--wordmark-md); }
	.web-wordpress .wp-list { padding-right: 20px; }
	.web-support .support-copy { padding-right: 30px; }
	.web-support .support-card { gap: 8px; padding: 14px 10px; }
}

@media (max-width: 780px) {
	.ch.web-hero { display: flex; flex-direction: column; height: auto; }
	.web-hero .hero-copy { padding: 65px 25px 45px; }
	.web-hero h1 { font-size: var(--wp--preset--font-size--display-sm); }
	.web-hero .hero-photo { flex: none; height: 360px; }
	.web-types .site-types { gap: 14px; }
	.ch.web-wordpress { grid-template-columns: 1fr 1fr; }
	.web-wordpress .wp-copy { padding: 45px 25px; }
	.web-wordpress .wp-photo { min-height: 330px; }
	.web-wordpress .wp-list { grid-column: 1 / -1; padding: 25px 35px 35px; }
	.web-wordpress .wp-list ul { display: grid; grid-template-columns: 1fr 1fr; }
	.web-process .process-inner { grid-template-columns: 1fr; gap: 50px; }
	.web-process .process-copy { padding: 0 25px; }
	.web-process .process-photo.crop { display: none; }
	.web-process .process-steps { padding: 0 25px; }
	.web-pricing .price-grid { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
	.ch.web-support { grid-template-columns: 1fr; }
	.web-support .support-photo { height: 240px; }
	.web-support .support-copy { padding: 35px 25px 45px; }
	.ch.web-final { flex-direction: column-reverse; align-items: stretch; min-height: 0; padding: 0; }
	.web-final .web-final-photo.crop { position: static; width: 100%; height: 200px; }
	.web-final .web-final-photo.crop::after { display: none; }
	.web-final .web-final-content { max-width: 100%; padding: 35px 25px 45px; }
}

@media (max-width: 540px) {
	.ch.web-types { padding: 85px 0; }
	.ch.web-features { padding: 90px 0 85px; }
	.web-hero .hero-copy { padding: 58px 22px 40px; }
	.web-hero .hero-lead { font-size: var(--wp--preset--font-size--ui); }
	.web-hero .hero-photo { height: 250px; }
	.web-hero .hero-actions { width: 100%; flex-wrap: nowrap; }
	.web-hero .hero-actions .wp-block-button { flex: 1; }
	.web-hero .hero-actions .wp-block-button__link { width: 100%; padding: 0 10px; font-size: var(--wp--preset--font-size--eyebrow); }
	.web-types .site-types { grid-template-columns: 1fr; gap: 30px; }
	.web-types .site-type .photo { aspect-ratio: 2.05; }
	.ch.web-wordpress { display: flex; flex-direction: column; }
	.web-wordpress .wp-copy { padding: 55px 25px 30px; }
	.web-wordpress .wp-copy h2 { font-size: var(--wp--preset--font-size--wordmark-sm); }
	.web-wordpress .wp-photo { flex: none; height: 285px; min-height: 0; }
	.web-wordpress .wp-list { padding: 30px 25px 50px; }
	.web-wordpress .wp-list ul { display: block; }
	.web-features .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.web-features .feature { min-height: 175px; }
	.ch.web-process { padding-top: 10px; }
	.web-process .process-inner { min-height: 0; gap: 24px; }
	.web-process .process-copy { padding: 0 22px; }
	.web-process .process-steps { grid-template-columns: 1fr 1fr; padding: 0 20px; }
	.web-process .process-step:not(:last-child)::after { display: none; }
	.web-process .process-step { padding: 12px 5px 22px; }
	.web-process .process-step .process-icon { width: 67px; height: 67px; }
	.ch.web-pricing { padding: 80px 0 90px; }
	.web-pricing .pricing-head { display: block; }
	.web-pricing .pricing-head p { margin-top: 7px; }
	.web-pricing .price-grid { grid-template-columns: 1fr; gap: 34px; }
	.web-pricing .price-card, .web-pricing .price-card .price-desc { min-height: 0; }
	.web-support .support-photo { height: 190px; }
	.web-support .support-cards { grid-template-columns: 1fr; }
	.web-support .support-card { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
