/* 한백하우징 담장시공 — 잉크 네이비 + 라일락 패널, 망점(M3) 모티프 */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, small, strong, dt, dd {
  word-break: keep-all;
  overflow-wrap: break-word;
}
:root {
  color-scheme: only light;
  --primary: #172033;
  --accent: #B89CFF;
  --bg: #F4FAFF;
  --surface: #E2E9EF;
  --ink: #172033;
  --muted: #5B6474;
  --border: #C3CAD2;
  --text-on-light: #172033;
  --text-on-dark: #ffffff;
  --dp-radius: 0;
  --proc-badge: 52px;
  --proc-badge-radius: var(--dp-radius);
  --proc-line: 1px;
  --hdr-h: 68px;
  --sticky-h: 64px;
  --page-margin: 32px;
  --sec-y: clamp(64px, 9vw, 120px);
  --sec-y-tight: clamp(40px, 6vw, 72px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; padding-top: var(--hdr-h);
  font-family: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.125rem; line-height: 1.6; letter-spacing: -0.01em; font-weight: 400;
  background: var(--bg); color: var(--text-on-light);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; font-weight: 500; line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
a { color: inherit; }
:where(a, button, [role="button"], summary, .dp-cta, nav a, .ft-quicklinks a) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; touch-action: manipulation;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--accent); }
.skip-link { position: absolute; left: 16px; top: 8px; z-index: 200; background: var(--bg); padding: 8px 14px; border: 1px solid var(--ink); transform: translateY(-300%); }
.skip-link:focus { transform: none; }

/* ---------- layout ---------- */
.wrap { max-inline-size: 1200px; margin-inline: auto; padding-inline: var(--page-margin); }
.wrap--narrow { max-inline-size: 776px; }
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: var(--sec-y-tight); }
.bg-surface { background: var(--surface); }
.on-dark { background-color: var(--primary); color: var(--text-on-dark); }
.on-dark h2, .on-dark h3 { color: var(--text-on-dark); }
.on-dark .eyebrow { color: var(--accent); }
.sec--cost, .sec--cta {
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; color: var(--muted) }
.eyebrow::before { content: none }
.sec .eyebrow::before { content: counter(sec, decimal-leading-zero); counter-increment: sec; color: var(--text-on-light); font-variant-numeric: tabular-nums; font-weight: 600; }
.on-dark .eyebrow::before { color: var(--accent); }
.eyebrow::after { content: ""; flex: 0 0 72px; height: 1px; background: currentColor; opacity: 0.5; transform-origin: left center; }
main { counter-reset: sec; }
.sec__head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head--after { margin: 40px 0 0; }
.sec__lead, .lead { margin-top: 22px; max-width: 60ch; color: var(--muted); }
.on-dark .sec__lead { color: rgba(255, 255, 255, 0.86); }
.h-sm { font-size: 1.5rem; margin-bottom: 4px; }
.h-page { font-size: clamp(2.2rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -0.03em; }
.link-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size 0.25s var(--ease); display: inline; min-height: 0; min-width: 0; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr-h); background: rgba(244, 250, 255, 0.97); border-bottom: 1px solid var(--ink); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.9); transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 2px 0 var(--accent); background: var(--bg); }
.site-header__inner { max-inline-size: 1200px; height: 100%; margin-inline: auto; padding-inline: var(--page-margin); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); transition: opacity 0.2s var(--ease); }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo__tag { font-size: 0.75rem; font-variant-caps: all-small-caps; letter-spacing: 0.14em; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 26px; background: var(--primary); color: var(--text-on-dark); border: 1px solid var(--primary); border-radius: var(--dp-radius); font: inherit; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease) }
.btn::after { content: "\2192"; font-weight: 400; transition: transform 0.2s var(--ease); }
.btn--ghost { background: transparent; color: var(--text-on-light); border-color: var(--ink); }
.btn--sm::after, .btn--block::after { content: none; }
.btn--sm { min-height: 44px; padding: 0 20px }
.btn--block { display: flex; width: 100%; min-height: 52px; }
.btn:active { opacity: 0.85; }
.on-dark .btn { background: var(--accent); color: var(--text-on-light); border-color: var(--accent) }
.on-dark .btn--ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(255, 255, 255, 0.6) }
.hero__actions, .action__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; margin-bottom: 40px; }
.sec--proof { padding-top: var(--sec-y-tight); }
.hero__media { position: relative; height: clamp(340px, 64vh, 720px); height: clamp(340px, 64dvh, 720px); overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--ink); }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide:first-child { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__slide { animation: hero-cycle 18s linear infinite; }
.hero__slide:nth-child(1) { animation-delay: -0.9s; }
.hero__slide:nth-child(2) { animation-delay: 5.1s; }
.hero__slide:nth-child(3) { animation-delay: 11.1s; }
.hero__card { position: absolute; z-index: 2; bottom: -48px; left: max(var(--page-margin), calc((100% - 1200px) / 2 + var(--page-margin))); width: min(640px, calc(100% - 2 * var(--page-margin))); padding: 32px 36px 36px; background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--ink); animation: card-rise 0.7s var(--ease) 0.15s both }
.hero__card .eyebrow::after { animation: rule-grow 0.8s var(--ease) 0.5s both; }
.hero__title { font-size: clamp(2.2rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; margin: 4px 0 24px; }
.hero__sub { color: var(--text-on-light); font-size: 1.05rem; }

/* ---------- proof: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 19vw, 260px); gap: 12px; list-style: none; }
.bento > li { min-width: 0; min-height: 0; }
.bento__a { grid-column: 1 / 5; grid-row: 1 / 3; }
.bento__b { grid-column: 5 / 7; grid-row: 1; }
.bento__c { grid-column: 5 / 7; grid-row: 2; }
.bento__d { grid-column: 1 / 4; grid-row: 3; }
.bento__e { grid-column: 4 / 7; grid-row: 3; }
.tile { position: relative; display: block; height: 100%; margin: 0; overflow: hidden; background: var(--surface); text-decoration: none; color: var(--text-on-light) }
.tile figure { margin: 0; height: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s var(--ease); }
.tile__cap { transition: background-color 0.25s var(--ease); position: absolute; left: 0; bottom: 0; max-width: calc(100% - 12px); padding: 8px 14px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; background: var(--bg); color: var(--text-on-light) }
.tile__go { display: inline-block; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- split / problem ---------- */
.split { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split__media { margin: 0; position: sticky; top: calc(var(--hdr-h) + 24px); }
.split__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.split__media figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.pairs { margin-top: 28px; border-top: 1px solid var(--ink); }
.pairs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.pairs dt { font-weight: 600; }
.pairs dd { margin: 0; color: var(--muted); }

/* ---------- scope (L6) ---------- */
.scope { display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "head art" "head list"; column-gap: clamp(24px, 5vw, 72px); row-gap: 32px; align-items: start; }
.scope--plain { grid-template-areas: "head list"; }
.scope__art { grid-area: art; margin: 0; }
.scope__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); }
.scope__art figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.scope__head { grid-area: head; position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.scope__list { grid-area: list; min-width: 0; }
.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.spec dt { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.spec dt svg { flex: none; margin-top: 3px; }
.spec dd { margin: 0; color: var(--muted); }

/* ---------- process (fixed structure) ---------- */
.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: calc(var(--proc-badge) / 2 - var(--proc-line) / 2); left: 50%; width: 100%; height: var(--proc-line); background: var(--ink); opacity: 0.35; }
.proc-num { position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge); margin: 0 auto 16px; border-radius: var(--proc-badge-radius); background: var(--bg); border: 1px solid var(--ink); color: var(--text-on-light); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: center; }
.proc-num::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; background: var(--accent); }
.proc-step h3 { margin: 0 0 14px; }
.proc-step p { margin: 0 0 12px; font-size: 0.95rem; color: var(--muted); }
.proc-step__meta { display: block; padding-top: 8px; border-top: 1px solid var(--border); font-size: 0.8125rem; font-weight: 600; color: var(--text-on-light); }
@media (max-width: 1024px) {
  .proc-list { flex-direction: column; gap: 32px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left; }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0; }
  .proc-step:not(:last-child)::after { top: var(--proc-badge); left: calc(var(--proc-badge) / 2 - var(--proc-line) / 2); width: var(--proc-line); height: calc(100% + 32px); }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cost { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.cost th, .cost td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.cost thead th { font-size: 0.8125rem; letter-spacing: 0.06em; font-weight: 500; color: var(--accent); border-bottom: 1px solid var(--accent); }
.cost tbody th { font-weight: 600; }
.cost--light th, .cost--light td { border-bottom-color: var(--border); color: var(--text-on-light); }
.cost--light thead th { color: var(--muted); border-bottom: 1px solid var(--ink); }
.cost__cta { margin-top: 32px; }

/* ---------- FAQ (all open) ---------- */
.sec--risk { isolation: isolate; }
.sec--risk::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(23, 32, 51, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 32, 51, 0.05) 1px, transparent 1px); background-size: 48px 48px; }
.faq { list-style: none; display: grid; gap: 16px; }
.faq li { background: var(--bg); border: 1px solid var(--border); border-top: 1px solid var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 18px 28px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq h3 { margin: 0; font-size: 1.1rem; }
.faq p { padding: 0 28px 24px; color: var(--text-on-light); font-size: 1.02rem; }

/* ---------- action (L4) ---------- */
.sec--action { padding-bottom: calc(var(--sec-y) + 48px); }
.action { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.action__media { grid-column: 1 / 10; grid-row: 1; margin: 0; background: var(--surface); }
.action__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.action__panel { grid-column: 7 / 13; grid-row: 1; margin-bottom: -48px; padding: 40px 40px 36px; border-top: 3px solid var(--accent); position: relative; z-index: 1; background: var(--primary) }
.action__panel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.action__sub { margin-top: 22px; color: rgba(255, 255, 255, 0.9); }
.on-dark small { display: block; margin-top: 20px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.cta-band__copy { max-inline-size: 760px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }

/* ---------- detail / contact ---------- */
.dp-hero__media { margin: 0; border-bottom: 1px solid var(--ink); }
.dp-hero__media img { width: 100%; height: clamp(260px, 52vh, 600px); height: clamp(260px, 52dvh, 600px); object-fit: cover; }
.dp-hero__body, .ct-hero .wrap { padding-block: 36px 64px; }
.dp-answer { margin-top: 0; max-inline-size: 760px; padding-left: 20px; border-left: 4px solid var(--ink); font-size: 1.15rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { min-width: 0; text-decoration: underline; text-underline-offset: 3px; }
.checklist { list-style: none; margin-top: 24px; border-top: 1px solid var(--ink); }
.checklist li { transition: padding-left 0.25s var(--ease); position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--border); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 1.35em; width: 8px; height: 8px; background: var(--ink) }
.checkgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.checkgrid li { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 26px; background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--ink); color: var(--muted); font-size: 1rem; transition: transform 0.2s var(--ease) }
.checkgrid strong { display: block; margin-bottom: 8px; font-size: 1.1rem; color: var(--text-on-light); }
.callout { padding: 32px 36px; background: var(--surface); border-top: 3px solid var(--ink) }
.callout h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; }
.callout ul { margin-left: 1.2em; display: grid; gap: 8px; }
.cards3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; margin-top: 24px; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--ink) }
.cards3--keep, .cards3--keep { grid-template-columns: repeat(3, 1fr); }
.card:only-child { grid-column: 1 / -1; }
.card::after { content: ""; position: absolute; top: -3px; left: -1px; width: 0; height: 3px; background: var(--accent); transition: width 0.3s var(--ease); }
.card__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; align-items: stretch; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 24px; color: var(--muted); }
.card__body strong { font-size: 1.2rem; color: var(--text-on-light); }
.card__go { margin-top: auto; padding: 14px 24px; border-top: 1px solid var(--ink); font-weight: 600; }
.contact-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; margin-top: 32px; }
.contact-cards > li { min-width: 0; }
.contact-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; height: 100%; min-height: 190px; padding: 32px; background: var(--bg); color: var(--text-on-light); text-decoration: none; border: 1px solid var(--border); border-top: 3px solid var(--ink); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease) }
.contact-card__label { font-weight: 600; color: var(--muted); }
.contact-card__num { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.contact-card__hint { font-size: 0.95rem; color: var(--muted); }
.contact-card:active { background: var(--surface); }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; background: var(--primary); color: var(--text-on-dark) }
.site-footer :focus-visible { outline-color: var(--accent); }
.site-footer .ft-inner { max-inline-size: 1200px; margin-inline: auto; padding: 56px var(--page-margin) 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left; }
.ft-cluster__title { font-size: 0.8125rem; letter-spacing: 0.08em; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.ft-quicklinks { gap: 0 !important; }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.ft-cluster a { text-decoration: none; min-height: 32px; transition: color 0.2s var(--ease); }
.ft-cluster .ft-services { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-bottom { max-inline-size: 1200px; margin: 40px auto 0; padding: 16px var(--page-margin) 24px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.875rem;  }

/* ---------- fixed bars ---------- */
#mob-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; justify-content: center; min-height: calc(56px + env(safe-area-inset-bottom)); padding: 0 16px env(safe-area-inset-bottom); background: var(--primary); color: var(--text-on-dark); font-weight: 500; letter-spacing: 0.02em; text-decoration: none; }
.js #mob-bar { transform: translateY(110%); transition: transform 0.3s var(--ease); }
.js #mob-bar.is-shown { transform: none; }

/* ---------- motion ---------- */
@keyframes hero-cycle { 0% { opacity: 0; transform: scale(1); } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; transform: scale(1.07); } 100% { opacity: 0; transform: scale(1.07); } }
@keyframes card-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rule-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].is-in .eyebrow::after { animation: rule-grow 0.7s var(--ease) 0.15s both; }

@media (hover: hover) and (pointer: fine) {
  .ft-cluster a:hover { color: var(--accent); }
  .btn:hover { background: var(--accent); color: var(--text-on-light); border-color: var(--accent); }
  .btn:hover::after { transform: translateX(4px); }
  .btn--ghost:hover { background: var(--primary); color: var(--text-on-dark); border-color: var(--primary); }
  .on-dark .btn:hover { background: var(--text-on-dark); border-color: var(--text-on-dark); }
  .on-dark .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--text-on-dark); border-color: var(--text-on-dark); }
  .logo:hover { opacity: 0.8; }
  .tile:hover img { transform: scale(1.02); }
  .link-u:hover { background-size: 0 2px; }
  .card:hover::after { width: calc(100% + 2px); }
  .checkgrid li:hover { transform: translateY(-3px); }
  .contact-card:hover { border-top-color: var(--accent); background: var(--surface); }
}

/* ---------- responsive: 1024 / 768 / 480 ---------- */
@media (max-width: 1024px) {
  .cards3, .checkgrid { grid-template-columns: repeat(2, 1fr); }
  .cards3--keep { grid-template-columns: repeat(3, 1fr); }
  .action__media { grid-column: 1 / 13; }
  .action__panel { grid-column: 2 / 13; margin-top: -72px; margin-bottom: -48px; grid-row: 2; }
  .action { align-items: start; }
}
@media (max-width: 768px) {
  :root { --page-margin: 20px; --hdr-h: 64px; }
  body { font-size: 1.0625rem; padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  #mob-bar { display: flex; }
    .hero { margin-bottom: 44px; }
  .hero__media { height: clamp(240px, 40vh, 420px); height: clamp(240px, 40dvh, 420px); }
  .hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 20px 0; padding: 22px 20px 24px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > li, .bento__a, .bento__b, .bento__c, .bento__d, .bento__e { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .split__media { position: static; }
  .split--5-7, .scope, .scope--plain { grid-template-columns: 1fr; grid-template-areas: none; }
  .scope__art, .scope__head, .scope__list { grid-area: auto; }
  .scope__head { position: static; }
  .pairs > div, .spec > div { grid-template-columns: 1fr; gap: 6px; }
  .cards3, .checkgrid, .contact-cards { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .action__media, .action__panel { grid-column: 1 / -1; }
  .action__panel { grid-row: 2; margin: -32px 12px -40px; padding: 28px 22px; }
  .sec--action { padding-bottom: calc(var(--sec-y) + 40px); }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; gap: 28px; padding-top: 40px; }
  .ft-cluster a { min-height: 44px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dp-hero__media img { height: clamp(220px, 36vh, 360px); height: clamp(220px, 36dvh, 360px); }
}
@media (max-width: 480px) {
  .logo__tag { display: none; }
  .hero__actions .btn, .action__btns .btn { flex: 1 1 100%; }
  .proc-step h3 { font-size: 1.1rem; }
  .cost th, .cost td { padding: 12px; }
}
/* ---------- detail page variants ---------- */
.dp-hero__media figcaption { max-inline-size: 1200px; margin-inline: auto; padding: 10px var(--page-margin) 0; font-size: 0.8125rem; color: var(--muted); }
.dp-hero__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 40px 64px; }
.dp-hero--splitL .dp-hero__media { grid-column: 2; grid-row: 1; }
.dp-hero--splitL .dp-hero__body { grid-column: 1; grid-row: 1; }
.dp-hero--splitR .dp-hero__grid { grid-template-columns: 6fr 5fr; }
.dp-hero--splitR .dp-hero__media { grid-column: 1; grid-row: 1; }
.dp-hero--splitR .dp-hero__body { grid-column: 2; grid-row: 1; }
.dp-hero__grid .dp-hero__media { border: 0; }
.dp-hero__grid .dp-hero__media figcaption { padding-inline: 0; }
.dp-hero__grid .dp-hero__media img { height: auto; aspect-ratio: 16 / 10; }
.dp-hero__grid .hero__title { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.dp-hero__pair { display: grid; grid-template-columns: 7fr 5fr; gap: 12px; border-bottom: 1px solid var(--ink); }
.dp-hero__pair .dp-hero__media { border: 0; }
.dp-hero__pair .dp-hero__media img { height: clamp(240px, 42vh, 520px); height: clamp(240px, 42dvh, 520px); }
.dp-hero__pair .dp-hero__media figcaption { padding-inline: 14px; }
.dp-hero--diptych .dp-hero__body { padding-top: 36px; }
.dp-hero--band .dp-hero__media img { height: clamp(200px, 34vh, 380px); height: clamp(200px, 34dvh, 380px); }
.dp-hero__body--cols { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.dp-hero__body--cols .hero__title { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.split--flip { grid-template-columns: 7fr 5fr; }
.split--flip .split__media { grid-column: 2; grid-row: 1; }
.split--flip .split__body { grid-column: 1; grid-row: 1; }
.rows { list-style: none; counter-reset: row; border-top: 1px solid var(--ink); }
.rows li { counter-increment: row; display: grid; grid-template-columns: 120px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 28px 0; align-items: start; border-bottom: 1px solid var(--border); }
.rows li::before { content: counter(row, decimal-leading-zero); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.rows h3 { font-size: 1.25rem; }
.rows p { color: var(--muted); }
.statement { max-inline-size: 900px; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.4; letter-spacing: -0.03em; font-weight: 500; }
.triad { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.triad li { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px 8px 0; color: var(--muted); }
.triad li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.triad strong { color: var(--text-on-light); font-size: 1.1rem; }
.pairs { max-inline-size: 880px; }
.card__thumb { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.card__thumb--solid { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); color: var(--accent); }
.card--consult { background: var(--primary); border-color: var(--primary); border-top-color: var(--accent); color: var(--text-on-dark); }
.card--consult .card__body { color: rgba(255, 255, 255, 0.82); }
.card--consult .card__body strong { color: var(--text-on-dark); }
.card--consult .card__go { color: var(--text-on-dark); border-top-color: rgba(255, 255, 255, 0.3); }
.cards3--media .card__body { padding: 20px 22px; }
.sec--cta-light { border-block: 1px solid var(--ink); background: var(--bg); }
.cta-light { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.cta-light h2, .cta-split h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.cta-light__btns small { color: var(--muted); }
.cta-light__btns .action__btns { margin-top: 0; }
.cta-light .action__sub { color: var(--muted); }
.cta-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.cta-split__side { padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid rgba(255, 255, 255, 0.25); }
.cta-split__side .action__sub { margin-top: 0; }
.sec--cta-accent { background: var(--accent); color: var(--text-on-light); }
.sec--cta-accent h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.sec--cta-accent .eyebrow, .sec--cta-accent .action__sub { color: var(--text-on-light); }
.sec--cta-accent small { display: block; margin-top: 20px; font-size: 0.875rem; color: var(--text-on-light); }
.sec--cta-accent .btn--ghost { background: transparent; border-color: var(--ink); }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 1px solid var(--ink); }
.terms > div { padding: 22px 0; border-bottom: 1px solid var(--border); }
.terms dt { font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.terms dd { margin: 0; color: var(--muted); }
.bands { list-style: none; border-top: 1px solid var(--ink); }
.bands li { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; padding: 24px 28px; }
.bands li:nth-child(odd) { background: var(--surface); }
.bands h3 { font-size: 1.15rem; }
.bands p { color: var(--muted); }
.notes { list-style: none; counter-reset: note; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.notes li { counter-increment: note; padding: 22px 24px 26px; background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--ink); color: var(--muted); }
.notes li::before { content: counter(note, upper-alpha); display: block; margin-bottom: 10px; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--text-on-light); }
.gridfive { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gridfive > li { grid-column: span 2; min-width: 0; }
.gridfive > li:nth-child(n+4) { grid-column: span 3; }
.gtile { display: flex; flex-direction: column; align-items: stretch; height: 100%; text-decoration: none; color: var(--text-on-light); background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--ink); transition: border-top-color 0.2s var(--ease); }
.gtile figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gtile__cap { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; flex: 1; color: var(--muted); font-size: 0.9375rem; }
.gtile__cap strong { font-size: 1.1rem; color: var(--text-on-light); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__thumb img, .gtile:hover img { transform: scale(1.03); }
  .gtile:hover { border-top-color: var(--accent); }
  .sec--cta-accent .btn:hover { background: var(--text-on-dark); color: var(--text-on-light); border-color: var(--text-on-dark); }
  .sec--cta-accent .btn--ghost:hover { background: var(--primary); color: var(--text-on-dark); border-color: var(--primary); }
}
@media (max-width: 1024px) {
  .dp-hero__grid, .dp-hero--splitR .dp-hero__grid { grid-template-columns: 1fr; padding-block: 24px 48px; }
  .dp-hero--splitL .dp-hero__media, .dp-hero--splitR .dp-hero__media, .dp-hero--splitL .dp-hero__body, .dp-hero--splitR .dp-hero__body { grid-column: auto; grid-row: auto; }
  .rows li { grid-template-columns: 90px minmax(0, 1fr); }
  .rows li p { grid-column: 2; }
  .gridfive { grid-template-columns: repeat(2, 1fr); }
  .gridfive > li, .gridfive > li:nth-child(n+4) { grid-column: span 1; }
  .gridfive > li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .dp-hero__body--cols, .cta-light, .cta-split { grid-template-columns: 1fr; }
  .dp-hero__pair { gap: 6px; }
  .dp-hero__pair .dp-hero__media img { height: clamp(130px, 20vw, 150px); }
  .dp-hero__pair .dp-hero__media figcaption { padding: 8px 10px; font-size: 0.75rem; }
  .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media, .split--flip .split__body { grid-column: auto; grid-row: auto; }
  .rows li { grid-template-columns: 1fr; gap: 14px; }
  .rows li p { grid-column: auto; }
  .triad { grid-template-columns: 1fr; }
  .triad li, .triad li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .cta-split__side { padding-left: 0; border-left: 0; }
  .gridfive { grid-template-columns: 1fr; }
  .terms, .notes { grid-template-columns: 1fr; }
  .terms dt { margin-bottom: 14px; }
  .bands li { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .gridfive > li:nth-child(5) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__slide { animation: none !important; }
}
