/* 만정누수탐지 — 굴착 현장 기록 컨셉. 포레스트 + 안전콘 레드, 각진 부품 + 하드 오프셋 그림자 */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd, small, strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}
:root {
  color-scheme: only light;
  --primary: #1E4D36;
  --primary-ink: #123222;
  --accent: #D8362B;
  --surface: #F4F6F3;
  --paper: #FFFFFF;
  --ink: #121A16;
  --muted: #4A564F;
  --border: #BFC9BF;
  --dark: #0F2A1D;
  --text-on-light: #121A16;
  --text-on-dark: #FFFFFF;
  --dp-radius: 0;
  --proc-badge: 52px;
  --proc-badge-radius: var(--dp-radius);
  --proc-line: 2px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --gutter: 20px;
  --sticky-h: 64px;
  --font-head: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --font-body: 'IBM Plex Sans KR', 'Malgun Gothic', sans-serif;
  --shadow-hard: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--surface); color: var(--text-on-light);
  font-family: var(--font-body); font-size: 19px; line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; transition: color .2s ease, background-color .2s ease; }
:where(a, button, [role="button"], summary) { touch-action: manipulation; }
:where(a.btn, button, [role="button"], summary, .dp-cta, .hdr-cta, .float-cta) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: inherit; margin: 0; }
h1 { font-weight: 900; font-size: clamp(2.2rem, 7vw, 6rem); letter-spacing: -.02em; }
h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: 1.3rem; }
main :is(h1, h2) { margin-bottom: clamp(20px, 2.4vw, 32px); }
main :is(h3, h4) { margin-bottom: var(--sp-3); }
main :is(p, ul, ol, table, figure) + h2 { margin-top: var(--sp-8); }
main :is(p, ul, ol, table, figure) + :is(h3, h4) { margin-top: var(--sp-6); }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 720px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); border-top: 3px solid currentColor; padding-top: var(--sp-2); margin-bottom: var(--sp-4); }
.on-dark .eyebrow, .on-dark { color: var(--text-on-dark); }

/* 버튼 — 각진 + 하드 오프셋 */
.btn { font-family: var(--font-body); font-weight: 700; font-size: 17px; min-height: 52px; padding: 0 26px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; justify-content: center; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn:active { opacity: .85; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: var(--sp-5); }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 3px solid var(--primary); transition: box-shadow .25s ease; }
.site-header.is-scrolled { }
.hdr-inner { max-width: 1200px; margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--primary); text-decoration: none; min-height: 44px; }
.hdr-mark { flex: none; }
.ft-biz li { overflow-wrap: break-word; }
.hdr-text { display: flex; flex-direction: column; line-height: 1.2; }
.hdr-name { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--ink); }
.hdr-tag { font-variant: small-caps; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.hdr-cta { min-height: 46px; padding: 0 20px; font-size: 16px; }

/* 히어로 H2 켄번즈 순환 */
.hero { position: relative; overflow: hidden; padding-inline: 0; min-height: 82vh; min-height: 82dvh; display: flex; align-items: flex-end; background: var(--dark); }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__media :is(img, video, picture) { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; transform: scale(1); transition: transform 9s ease-out; }
.hero__slide.is-on img { transform: scale(1.08); }
.hero__dots { position: absolute; right: var(--gutter); top: var(--sp-5); z-index: 2; display: flex; gap: 8px; }
.hero__dots span { width: 28px; height: 6px; background: rgba(255,255,255,.6); transition: background-color .3s ease, width .3s ease; }
.hero__dots span.is-on { background: var(--accent); width: 48px; }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: var(--sp-8); }
.hero__card { max-width: 880px; background: var(--paper); color: var(--text-on-light); border: 0; border-bottom: 8px solid var(--accent); padding: var(--sp-6) var(--sp-7) var(--sp-7); }
.hero__card h1 { color: var(--primary-ink); animation: hero-rise .9s ease both; }
.hero__sub { font-size: 1.1rem; max-width: 40em; animation: hero-rise .9s .15s ease both; }
.hero__card .btn-row { animation: hero-rise .9s .3s ease both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipe-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* 섹션 공통 */
.section { padding-block: var(--sp-8); position: relative; }
.section--loose { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-7); }
.on-dark { background: var(--dark); color: var(--text-on-dark); }
.on-dark a { color: var(--text-on-dark); }
.on-dark h2, .on-dark h3 { color: var(--text-on-dark); }
.lead { font-size: 1.12rem; max-width: 40em; }
.ruled { border-top: 6px solid var(--ink); padding-top: var(--sp-5); }
.ticks { height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px); opacity: .5; margin-block: var(--sp-5); }

/* proof 모자이크 */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(150px, 20vw, 260px)); gap: 6px; max-width: 1400px; margin-inline: auto; }
.mosaic__item { position: relative; margin: 0; overflow: hidden; min-width: 0; background: var(--dark); }
.mosaic__item--lg { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .6s ease; }
.mosaic__item figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--text-on-light); font-size: 14px; font-weight: 700; line-height: 1.35; padding: 6px 12px; max-width: 92%; border-top: 3px solid var(--accent); }
.proof-split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-7); align-items: start; margin-top: var(--sp-7); }
.record { margin: 0; border-top: 6px solid var(--ink); }
.record > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.record dt { font-weight: 700; color: var(--primary); margin: 0; }
.record dd { margin: 0; }

/* problem — 증상 -> 원인 2열 대조 */
.problem { background: var(--paper) repeating-linear-gradient(0deg, rgba(18,26,22,.05) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(18,26,22,.05) 0 1px, transparent 1px 48px); }
.split-sticky { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sp-7); align-items: start; }
.sticky-title { position: sticky; top: 96px; }
.pairs { display: grid; gap: 0; border-top: 6px solid var(--ink); background: rgba(255,255,255,.92); }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.pair > div { padding: 16px 20px; min-width: 0; }
.pair__sym { font-weight: 700; border-right: 4px solid var(--accent); }
.pair__sym small, .pair__cause small { display: block; font-size: 13px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }

/* method 타임라인 (고정 CSS) */
.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(--border);
}
.proc-num { position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge); margin: 0 auto 12px; border-radius: var(--proc-badge-radius); background: var(--accent); color: #fff; font-weight: 700; font-family: var(--font-head); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); }
.proc-step h3 { font-size: 1.1rem; }
.proc-step p { font-size: 16px; margin-bottom: var(--sp-2); }
.proc-step__meta { display: inline-block; font-size: 14px; font-weight: 700; border-top: 2px solid currentColor; padding-top: 4px; }
.on-dark .proc-step:not(:last-child)::after { background: rgba(255,255,255,.4); }
.on-dark .proc-num { border-color: #fff; }
@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);
  }
}

/* cost — 견적서 형식 표 */
.tbl-wrap { overflow-x: auto; background: var(--paper); border: 3px solid var(--ink); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.tbl caption { text-align: left; font-weight: 700; padding: 12px 16px; background: var(--primary); color: var(--text-on-dark); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.tbl thead th { background: var(--surface); border-bottom: 3px solid var(--ink); font-size: 14px; letter-spacing: .08em; }
.tbl tbody th { font-weight: 700; color: var(--primary-ink); }
.cost-band { background: var(--surface); border-top: 6px solid var(--ink); }
.cost-band .container--narrow { background: var(--surface); padding: var(--sp-6); border-top: 6px solid var(--ink); }

/* risk — 펼친 Q&A */
.qa { display: grid; gap: 0; border-top: 6px solid var(--ink); list-style: none; }
.qa__item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.qa__item h3 { font-size: 1.2rem; }
.qa__item p { margin-bottom: 0; }
.split-asym { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sp-7); align-items: start; }
.risk { background: var(--paper); }
.risk .qa { background: rgba(255,255,255,.94); }

/* action */
.action { background: var(--dark); color: var(--text-on-dark); overflow: hidden; }
.action__grid { display: grid; grid-template-columns: 6fr 6fr; gap: 0; align-items: stretch; }
.action__media { margin: 0; position: relative; min-height: 420px; background: var(--primary) url('/assets/images/8rdf46-05.jpg') center / cover; }
.action__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; position: absolute; inset: 0; }
.action__copy { padding: var(--sp-8) var(--sp-7); display: flex; flex-direction: column; justify-content: center; }
.action .eyebrow { color: var(--text-on-dark); }
.action__copy h2 { color: var(--text-on-dark); }
.action__copy p { color: var(--text-on-dark); }
.action__copy small { display: block; margin-top: var(--sp-5); font-size: 15px; border-top: 2px solid rgba(255,255,255,.5); padding-top: var(--sp-3); color: var(--text-on-dark); }
.action .btn--ghost { background: var(--paper); color: var(--ink); }
.action .btn { min-height: 52px; }

/* 카드 그리드 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; align-items: stretch; list-style: none; padding: 0; margin: 0; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--paper); border-top: 6px solid var(--primary); border: 2px solid var(--ink); border-top-width: 6px; text-decoration: none; color: var(--text-on-light); transition: border-color .2s ease; }
.card__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.card__img img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { flex: 1; padding: 16px 20px 20px; display: flex; flex-direction: column; }
.card__body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--text .card__body p { display: block; overflow: visible; }
.card__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; }
.card__more { margin-top: auto; font-weight: 700; color: var(--primary); border-bottom: 3px solid var(--accent); align-self: flex-start; }
.card--cta { background: var(--primary); color: var(--text-on-dark); }
.card--cta h3, .card--cta p, .card--cta .card__more { color: var(--text-on-dark); }
.card--text { border-top-color: var(--accent); }
.card--text .card__body { padding-top: 20px; }

/* 상세 페이지 컴포넌트 */
.crumbs a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.crumbs { font-size: 15px; padding-block: var(--sp-4); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border); }
.page-hero { background: var(--paper); border-bottom: 3px solid var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-7); align-items: end; padding-block: var(--sp-7); }
.page-hero__media { margin: 0; position: relative; order: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 8px solid var(--accent); }
.page-hero__copy h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
.answer { border-left: 8px solid var(--accent); background: var(--surface); padding: var(--sp-5); font-size: 1.1rem; }
.answer p:last-child { margin-bottom: 0; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { color: var(--text-on-light); position: relative; padding: 14px 16px 14px 56px; background: var(--paper); border: 2px solid var(--ink); }
.checklist li::before { content: ''; position: absolute; left: 16px; top: 18px; width: 22px; height: 22px; border: 3px solid var(--primary); background: linear-gradient(var(--primary), var(--primary)) center / 10px 10px no-repeat; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-pair figure { margin: 0; color: var(--text-on-light); background: var(--paper); border: 2px solid var(--ink); }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-single { margin: 0 0 var(--sp-6); background: var(--paper); color: var(--text-on-light); border: 3px solid var(--ink); }
.photo-single img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-single figcaption { padding: 14px 18px; font-size: 16px; border-top: 4px solid var(--accent); }
.photo-pair figcaption { padding: 12px 16px; font-size: 16px; border-top: 4px solid var(--accent); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { background: var(--paper); border: 2px solid var(--ink); padding: var(--sp-5); }
.compare__col--b { background: var(--primary); color: var(--text-on-dark); }
.compare__col--b h3, .compare__col--b li { color: var(--text-on-dark); }
.compare ul { list-style: none; display: grid; gap: 10px; }
.compare li { padding-left: 18px; position: relative; font-size: 17px; }
.compare li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; background: var(--accent); }
.mistakes { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; list-style: none; }
.mistake { display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--paper); border: 2px solid var(--ink); border-top: 6px solid var(--accent); padding: var(--sp-5); }
.mistake__n { font-family: var(--font-head); font-weight: 900; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--primary); margin-bottom: var(--sp-3); }
.mistake p { font-size: 16px; margin-bottom: 0; }
.block { padding-block: var(--sp-7); border-top: 6px solid var(--ink); margin-top: var(--sp-7); }
.block:first-of-type { margin-top: 0; }
.stack { display: grid; gap: var(--sp-5); }
.note { font-size: 15px; color: var(--muted); margin-top: var(--sp-3); }

/* 상담 페이지 */
.contact-cards { margin-top: var(--sp-6); display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; }
.contact-card { display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--paper); border: 3px solid var(--ink); border-top: 10px solid var(--accent); padding: var(--sp-6); text-decoration: none; color: var(--text-on-light); transition: border-color .2s ease; }
.contact-card__label { font-size: 14px; letter-spacing: .14em; font-weight: 700; color: var(--primary); }
.contact-card__num { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--primary-ink); margin: var(--sp-3) 0; white-space: nowrap; }
.contact-card p { font-size: 16px; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.card-grid--keep3 { grid-template-columns: repeat(3, 1fr); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; list-style: none; }

/* 푸터 */
.site-footer { background: var(--primary-ink); color: var(--text-on-dark); padding: var(--sp-8) var(--gutter) var(--sp-6); margin-top: 0; }
.site-footer a { color: var(--text-on-dark); }
.site-footer .ft-inner { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left; }
.ft-cluster__title { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 12px; letter-spacing: .08em; }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ft-cluster li { font-size: 16px; }
.ft-cluster .ft-link { margin: 0; line-height: 1.5; }
.ft-cluster a { padding-block: 6px; line-height: 1.5; display: inline; }
.site-footer .ft-bottom { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.35); margin-top: 40px; padding-top: 16px; font-size: 15px; grid-template-columns: none; }

/* 하단 고정 */
.sticky-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; width: auto; min-height: 52px; }
.float-cta { position: fixed; right: 20px; bottom: calc(var(--sticky-h) + 16px + env(safe-area-inset-bottom)); z-index: 80; gap: 8px; padding: 0 18px; background: var(--primary); color: var(--text-on-dark); border: 2px solid var(--ink); text-decoration: none; font-weight: 700; transition: transform .15s ease, background-color .2s ease; }
.float-cta:active { opacity: .85; }
.nf { max-width: 720px; margin: 20vh auto; padding: 0 var(--gutter); }
.nf__links { display: flex; gap: 16px; flex-wrap: wrap; }

/* 스크롤 리빌 (.js 게이트) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .9s ease, opacity .4s ease; opacity: 1; }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
.js .proc-step[data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }
.js .qa__item[data-reveal], .js .pair[data-reveal], .js .mosaic__item[data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }
.eyebrow-line { display: block; height: 3px; width: 64px; background: var(--accent); transform-origin: left; }

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--accent); }
  .btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .btn--primary:hover { color: #fff; background: #B82A20; }
  .card:hover { border-color: var(--accent); }
  .card:hover .card__more { color: var(--accent); }
  .contact-card:hover { border-color: var(--accent); }
  .mosaic__item:hover img { transform: scale(1.05); }
  .float-cta:hover { background: var(--primary-ink); color: var(--text-on-dark); }
  .ft-cluster a:hover { color: #fff; text-decoration: underline; }
}

/* 반응형 */
@media (max-width: 1151px) {
  .hero__card { padding: var(--sp-6); }
  .action__copy { padding: var(--sp-7) var(--sp-6); }
}
@media (max-width: 1024px) {
  .card-grid, .mistakes, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--keep3 { grid-template-columns: repeat(3, 1fr); }
  .page-hero__media img { aspect-ratio: 16 / 9; }
  .split-sticky, .split-asym, .proof-split, .page-hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .sticky-title { position: static; }
  .action__grid { grid-template-columns: 1fr; }
  .action__media { min-height: 300px; }
  .problem { background: var(--paper) repeating-linear-gradient(0deg, rgba(18,26,22,.05) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(18,26,22,.05) 0 1px, transparent 1px 48px); }
  .risk { background: var(--paper); }
}
@media (max-width: 768px) {
  .section { padding-block: var(--sp-7); }
  .section--loose { padding-block: var(--sp-8); }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .sticky-bar { display: flex; }
  .float-cta { display: none; }
  .hdr-name { font-size: 18px; }
  .hdr-cta { padding: 0 16px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; background: var(--paper); }
  .hero__media { position: relative; inset: auto; height: clamp(260px, 56dvh, 520px); }
  .hero__content { padding-inline: 0; padding-bottom: 0; margin-top: -48px; }
  .hero__card { max-width: none; border-left: 0; border-right: 0; border-top: 6px solid var(--accent); padding: var(--sp-5) var(--gutter) var(--sp-6); }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(150px, 38vw, 240px); }
  .mosaic__item--lg { grid-column: span 2; grid-row: span 1; }
  .pair { grid-template-columns: 1fr; }
  .pair__sym { border-right: 0; border-bottom: 4px solid var(--accent); }
  .photo-pair, .compare, .contact-cards { grid-template-columns: 1fr; }
  .record > div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; }
  .site-footer .ft-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-card__num { white-space: normal; }
  .card-grid, .card-grid--2, .card-grid--keep3, .mistakes, .why-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .cost-band .container--narrow { padding: var(--sp-5) var(--gutter); }
}
@media (max-width: 480px) {
  .hdr-tag { display: none; }
  .hero__card h1 { font-size: 2.2rem; }
  .btn-row .btn { width: 100%; }
  .tbl { font-size: 15px; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .risk { background: var(--paper); }
}
@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; clip-path: none !important; }
  .hero__slide { opacity: 0; }
  .hero__slide:first-child { opacity: 1; }
}
