.site-page { background: #f7f6f2; }
.site-header { position: sticky; z-index: 40; top: 0; color: white; background: linear-gradient(135deg,rgba(2,13,26,.96),rgba(3,20,38,.9)); border-bottom: 1px solid rgba(216,148,29,.46); box-shadow: 0 14px 36px rgba(2,13,26,.16); backdrop-filter: blur(18px) saturate(125%); }
.inner-nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.inner-links { display: flex; align-items: center; gap: 25px; font-size: .9rem; }
.inner-links > a:not(.button) { position: relative; color: rgba(255,255,255,.74); transition: color .2s ease; }
.inner-links > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; transform: scaleX(0); background: linear-gradient(90deg,transparent,var(--gold-light),transparent); box-shadow: 0 0 9px rgba(243,197,94,.65); transition: transform .2s ease; }
.inner-links > a:not(.button):hover, .inner-links > a[aria-current="page"] { color: var(--gold-light); }
.inner-links > a:not(.button):hover::after, .inner-links > a[aria-current="page"]::after { transform: scaleX(1); }
.inner-menu-toggle.icon-button { display: none; color: white; }
.page-main { min-height: 60vh; }
.page-hero-grid { display: grid; align-items: center; }
.page-hero-copy { position: relative; z-index: 2; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: #aa9c87; }
.page-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.page-hero-copy > p:not(.eyebrow) { color: var(--muted); font-family: var(--body); }
.page-hero-visual { align-self: stretch; }
.page-hero-visual::after { content: ""; display: block; }
.page-hero.case-bank .page-hero-visual { background-image: url("assets/images/case-bank-hero-hq.webp"); }
.page-hero.case-bankruptcy .page-hero-visual { background-image: url("assets/images/case-bankruptcy-hero-hq.webp"); }
.page-hero.case-tax .page-hero-visual { background-image: url("assets/images/case-tax-hero-hq.webp"); }
.page-hero.case-career .page-hero-visual { background-image: url("assets/images/case-career-hq.webp"); }
.page-hero.case-health .page-hero-visual { background-image: url("assets/images/case-health-hero-hq.webp"); }
.page-hero.case-contract .page-hero-visual { background-image: url("assets/images/case-contract-hero-hq.webp"); }
.page-hero.case-debt-plan .page-hero-visual { background-image: url("assets/images/case-debt.webp"); }
.page-hero.case-career-transition .page-hero-visual { background-image: url("assets/images/resume-after.webp"); background-position: top center; }
.page-hero.case-interview .page-hero-visual { background-image: url("assets/images/case-career.webp"); }
.page-hero.case-offer .page-hero-visual { background-image: url("assets/images/case-career.webp"); background-position: 66% center; }
.page-hero.case-claim .page-hero-visual { background-image: url("assets/images/case-contract-hero.webp"); }
.page-hero.case-inheritance .page-hero-visual { background-image: url("assets/images/case-debt.webp"); }
.page-hero.case-lease .page-hero-visual { background-image: url("assets/images/case-contract-hero.webp"); }
.page-hero.channels .page-hero-visual { background-image: url("assets/images/channels-hero-hq.webp"); }
.page-hero.payment .page-hero-visual { background-image: url("assets/images/payment-hero-hq.webp"); }

.page-section { padding: 76px 0; }
.page-section.warm { background: var(--paper-warm); }
.page-section.navy { color: white; background: var(--navy-900); }
.page-title { margin: 0 0 32px; text-align: center; font: 500 clamp(2rem,4vw,3rem)/1.1 var(--serif); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: -38px; position: relative; z-index: 4; }
.stats-grid.five { grid-template-columns: repeat(5,1fr); }
.stat-card { min-height: 130px; display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid #18314d; border-radius: 13px; background: rgba(255,255,255,.98); box-shadow: 0 16px 40px rgba(3,20,38,.1); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.stat-card svg { flex: 0 0 auto; width: 38px; height: 38px; color: #e76f00; }
.stat-card strong { display: block; font: 500 1.45rem var(--serif); }
.stat-card span { display: block; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.story-stack { display: grid; gap: 12px; }
.story-card { display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: white; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.story-card > svg { width: 52px; height: 52px; color: #d76d00; }
.story-card h2, .story-card h3 { margin: 0 0 7px; font: 500 1.45rem var(--serif); }
.story-card p { margin: 0; color: var(--muted); }
.timeline { padding: 32px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.timeline h2 { margin: 0 0 25px; font: 500 1.8rem var(--serif); }
.timeline ol { margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--gold); list-style: none; }
.timeline li { position: relative; padding: 0 0 26px 25px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 5px; width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline strong { display: block; font: 500 1.35rem var(--serif); }
.timeline span { color: var(--muted); font-size: .85rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.benefit-grid.four { grid-template-columns: repeat(4,1fr); }
.benefit-card { min-height: 170px; padding: 27px; border: 1px solid var(--line); border-radius: 13px; background: white; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.benefit-card svg { width: 34px; height: 34px; color: #d76d00; }
.benefit-card h3 { margin: 15px 0 8px; font: 500 1.3rem var(--serif); }
.benefit-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.notice { display: flex; align-items: flex-start; gap: 18px; margin-top: 18px; padding: 23px 28px; border: 1px solid #9fc8ce; border-radius: 12px; background: #f7fcfd; }
.notice.dark { color: white; border-color: rgba(243,197,94,.45); background: var(--navy-900); }
.notice svg { flex: 0 0 auto; width: 38px; height: 38px; color: var(--gold); }
.notice p { margin: 0; }
.case-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 28px 34px; border: 1px solid rgba(243,197,94,.45); border-radius: 14px; color: white; background: radial-gradient(circle at 80% 0,#16476a,transparent 35%),var(--navy-900); }
.case-cta h2 { margin: 0 0 4px; color: var(--gold-light); font: 500 1.8rem var(--serif); }
.case-cta p { margin: 0; color: rgba(255,255,255,.7); }
.case-cta .button { flex: 0 0 auto; min-width: 250px; }
.resume-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.resume-compare figure { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.resume-compare img { width: 100%; height: min(70vh,850px); object-fit: contain; background: #f1f3f6; }
.resume-compare figcaption { margin-top: 12px; text-align: center; font: 500 1.2rem var(--serif); }

.cases-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 28px auto 0; }
.cases-grid-page { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-link-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.case-link-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 22px 52px rgba(3,20,38,.14),0 0 26px rgba(216,148,29,.09); }
.case-link-image { height: 210px; background-position: center; background-size: cover; }
.case-link-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.case-link-body > span { color: var(--gold-dark); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-link-body h2 { margin: 8px 0 10px; font: 500 1.35rem/1.22 var(--serif); }
.case-link-body p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.case-metrics-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.case-metrics-mini strong { display: block; font: 500 .94rem var(--serif); }
.case-metrics-mini span { color: var(--muted); font-size: .63rem; }

.channel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.channel-card { display: grid; grid-template-columns: 94px 1fr; gap: 26px; align-items: center; min-height: 190px; padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.channel-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 22px 52px rgba(3,20,38,.14),0 0 26px rgba(216,148,29,.09); }
.channel-badge { display: grid; width: 90px; height: 90px; place-items: center; border-radius: 24px; color: white; background: linear-gradient(135deg,#3e7eff,#112b6e); box-shadow: 0 12px 30px rgba(17,43,110,.2); font-weight: 800; }
.channel-card:nth-child(2) .channel-badge { background: linear-gradient(135deg,#42c6f4,#168ccc); }
.channel-card:nth-child(3) .channel-badge { background: linear-gradient(135deg,#2787f5,#1769c2); }
.channel-card:nth-child(4) .channel-badge { background: linear-gradient(135deg,#3a3d45,#05070b); }
.channel-card h2 { margin: 0 0 5px; font: 500 1.65rem var(--serif); }
.channel-card p { margin: 0 0 18px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.video-link { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: white; font: 500 1.2rem var(--serif); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.video-link:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(3,20,38,.1),0 0 22px rgba(216,148,29,.08); }
.video-link svg { color: #e3252f; }

.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.price-card { display: flex; min-height: 165px; align-items: center; gap: 18px; padding: 25px; border: 1px solid rgba(243,197,94,.48); border-radius: 13px; color: white; background: var(--navy-900); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.price-card svg { flex: 0 0 auto; width: 48px; height: 48px; color: var(--gold-light); }
.price-card strong { display: block; color: var(--gold-light); font: 500 2.1rem var(--serif); }
.price-card span { color: rgba(255,255,255,.7); }
.payment-list { display: grid; gap: 12px; }
.payment-row { display: grid; grid-template-columns: 70px 220px 1fr; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: white; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }

.stat-card:hover,.story-card:hover,.benefit-card:hover,.payment-row:hover { transform: translateY(-5px); border-color: rgba(216,148,29,.68); box-shadow: 0 18px 44px rgba(3,20,38,.12),0 0 24px rgba(216,148,29,.08); }
.price-card:hover { transform: translateY(-5px); border-color: var(--gold-light); box-shadow: 0 20px 50px rgba(3,20,38,.2),0 0 32px rgba(243,197,94,.16); }
.payment-row svg { width: 48px; height: 48px; color: var(--gold-dark); }
.payment-row h2 { margin: 0; font: 500 1.45rem var(--serif); }
.payment-row p { margin: 0; color: var(--muted); }

.inner-footer { margin-top: 0; }

@media (max-width: 1020px) {
  .inner-menu-toggle.icon-button { display: inline-grid; }
  .inner-links { position: absolute; top: 92px; right: 20px; left: 20px; display: none; padding: 18px; border: 1px solid rgba(243,197,94,.3); border-radius: 12px; background: rgba(2,13,26,.98); box-shadow: var(--shadow); }
  .inner-links.open { display: grid; }
  .inner-links a { padding: 8px 5px; }
  .stats-grid.five { grid-template-columns: repeat(3,1fr); }
  .cases-grid-page { grid-template-columns: repeat(2,1fr); }
  .benefit-grid.four { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 740px) {
  .inner-nav { min-height: 82px; }
  .inner-links { top: 74px; }
  .stats-grid,.stats-grid.five,.cases-summary { grid-template-columns: repeat(2,1fr); margin-top: 18px; }
  .stat-card { min-height: 110px; padding: 16px; }
  .stat-card svg { width: 30px; height: 30px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { grid-template-columns: 48px 1fr; gap: 15px; padding: 20px; }
  .story-card > svg { width: 40px; height: 40px; }
  .benefit-grid,.benefit-grid.four,.cases-grid-page,.channel-grid,.video-grid,.resume-compare { grid-template-columns: 1fr; }
  .case-cta { flex-direction: column; align-items: stretch; }
  .case-cta .button { min-width: 0; }
  .channel-card { grid-template-columns: 70px 1fr; padding: 22px; }
  .channel-badge { width: 68px; height: 68px; border-radius: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .payment-row { grid-template-columns: 50px 1fr; }
  .payment-row p { grid-column: 1/-1; }
}

@media (max-width: 420px) {
  .stats-grid,.stats-grid.five,.cases-summary { grid-template-columns: 1fr; }
  .stat-card { min-height: 88px; }
  .channel-card { grid-template-columns: 1fr; }
  .channel-badge { width: 60px; height: 60px; }
}

/* Editorial case layout: flat neutral surfaces, dense evidence blocks and image-led heroes. */
.site-page {
  --page-bg: #f7f6f2;
  --block-bg: #eceae4;
  --block-soft: #fcfbf8;
  --aqua-line: #d8d4ca;
  background: var(--page-bg);
}

.page-main { position: relative; overflow: clip; isolation: isolate; }
.page-hero {
  --hero-surface: var(--block-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--aqua-line);
  background: var(--hero-surface);
}
.page-hero::before,.page-hero::after { display: none; }
.page-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  grid-template-columns: minmax(0,11fr) minmax(320px,9fr);
  min-height: clamp(350px,26vw,440px);
}
.page-hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px,4.2vw,64px) clamp(28px,4vw,64px) clamp(38px,4.2vw,64px) max(28px,calc((100vw - 1600px)/2 + 36px));
  background: var(--hero-surface);
}
.page-hero h1 { max-width: 780px; font-size: clamp(2.3rem,3.25vw,4rem); line-height: 1.02; }
.page-hero.case-career h1 { font-size: clamp(2.2rem,2.9vw,3.55rem); }
.page-hero-copy > p:not(.eyebrow) { max-width: 610px; margin-top: clamp(16px,1.8vw,24px); font-size: clamp(.94rem,1.05vw,1.08rem); line-height: 1.55; }
.page-hero-visual { position: relative; min-height: clamp(350px,26vw,440px); background-color: var(--hero-surface); background-position: center; background-size: cover; image-rendering: auto; }
.page-hero-visual::after {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: clamp(110px,9vw,170px);
  height: auto;
  pointer-events: none;
  background: radial-gradient(ellipse 180% 140% at 150% 50%,
    transparent 0 55%,
    rgba(216,212,202,.12) 56%,
    rgba(216,212,202,.36) 57%,
    rgba(247,246,242,.78) 58%,
    rgba(255,255,255,.94) 58.6% 59.1%,
    rgba(247,246,242,.9) 59.8%,
    var(--hero-surface) 61%);
}
.case-metric-section { padding: 30px 0 14px; background: var(--page-bg); }
.stats-grid { margin-top: 0; gap: 12px; }
.stat-card {
  min-height: 118px;
  border-color: var(--aqua-line);
  border-radius: 10px;
  background: var(--block-soft);
  box-shadow: 0 10px 30px rgba(19,29,38,.06);
}
.stat-card strong { font-size: clamp(1.2rem,1.75vw,1.65rem); }
.stat-card span { margin-top: 3px; }
.case-story-section,.case-panel-section,.case-closing-section { padding: 28px 0; }
.case-story-section { background: var(--page-bg); }
.case-panel-section { background: var(--block-bg); }
.case-closing-section { padding-top: 12px; padding-bottom: 50px; background: var(--page-bg); }
.story-grid { gap: 18px; }
.story-grid-wide { display: block; }
.story-stack { gap: 10px; }
.story-card {
  grid-template-columns: 70px minmax(180px,245px) 1fr;
  align-items: center;
  min-height: 116px;
  gap: 22px;
  padding: 22px 28px;
  border-color: var(--aqua-line);
  border-radius: 10px;
  background: var(--block-soft);
  box-shadow: 0 7px 24px rgba(19,29,38,.035);
  transition: border-color .2s ease,box-shadow .2s ease;
}
.story-card > svg { width: 48px; height: 48px; justify-self: center; }
.story-card h2,.story-card h3 { margin: 0; font-size: clamp(1.25rem,1.7vw,1.6rem); line-height: 1.2; }
.story-card p { padding-left: 22px; border-left: 1px solid var(--aqua-line); font-size: .98rem; line-height: 1.55; }
.with-timeline { grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr); }
.with-timeline .story-card { grid-template-columns: 58px 1fr; align-items: start; }
.with-timeline .story-card p { grid-column: 2; padding-left: 0; border-left: 0; }
.timeline {
  position: sticky;
  top: 118px;
  border-color: var(--aqua-line);
  border-radius: 10px;
  background: var(--block-soft);
  box-shadow: 0 10px 30px rgba(19,29,38,.045);
}
.page-title { margin-bottom: 26px; font-size: clamp(1.8rem,3vw,2.55rem); }
.benefit-grid { gap: 13px; }
.benefit-card {
  min-height: 155px;
  border-color: var(--aqua-line);
  border-radius: 10px;
  background: var(--block-soft);
  box-shadow: 0 8px 26px rgba(19,29,38,.04);
}
.case-resume-section { padding-top: 38px; }
.resume-compare { gap: 20px; max-width: 1440px; margin: 0 auto; }
.resume-compare figure { position: relative; padding: 12px; border-color: var(--aqua-line); border-radius: 8px; background: var(--block-soft); }
.resume-compare img { height: min(76vh,980px); background: #eef0f1; }
.resume-compare figcaption { position: absolute; top: 24px; left: 24px; margin: 0; padding: 8px 16px; border-radius: 999px; color: white; background: rgba(3,20,38,.9); }
.before-after-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.before-after-grid article { display: grid; grid-template-columns: minmax(150px,.75fr) 1fr; min-height: 250px; overflow: hidden; border: 1px solid var(--aqua-line); border-radius: 10px; background: var(--block-soft); }
.before-after-grid article:nth-child(2) { grid-template-columns: 1fr minmax(150px,.75fr); }
.before-after-grid img { width: 100%; height: 100%; object-fit: cover; }
.before-after-grid article > div { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.before-after-grid article > div > span { margin-bottom: 10px; font: 600 1.5rem var(--heading); }
.before-after-grid ul { margin: 0; padding: 0; list-style: none; }
.before-after-grid li { position: relative; margin: 8px 0; padding-left: 22px; color: var(--muted); }
.before-after-grid li::before { content: "✓"; position: absolute; left: 0; color: #c96d05; font-weight: 700; }
.before-after-grid article:first-child li::before { content: "×"; }
.notice { border-color: var(--aqua-line); border-radius: 10px; background: var(--block-bg); }
.reference-note { margin-top: 10px; border-color: var(--aqua-line); background: var(--block-soft); }
.case-cta { border-radius: 10px; }
.case-detail-page .stat-card:hover,.case-detail-page .story-card:hover,.case-detail-page .benefit-card:hover { transform: none; }
.case-detail-page .story-card:hover,.case-detail-page .benefit-card:hover { border-color: var(--aqua-line); box-shadow: 0 8px 26px rgba(19,29,38,.04); }
.page-section { padding: clamp(44px,5vw,68px) 0; background: var(--page-bg); }
.page-section.warm { background: var(--block-bg); }
.page-section.navy { background: linear-gradient(135deg,#072438 0%,#123d47 100%); }
.cases-summary,.cases-grid-page,.channel-grid,.video-grid,.price-grid,.payment-list { position: relative; }
.case-link-card,.channel-card,.video-link,.payment-row { border-color: var(--aqua-line); background: var(--block-soft); }

.page-main > section:not(.page-hero) { position: relative; isolation: isolate; overflow: hidden; }
.page-main > section:not(.page-hero) > .shell { position: relative; z-index: 2; }
.page-main > section:not(.page-hero)::before,.page-main > section:not(.page-hero)::after { display: none; }

@media (max-width: 1120px) {
  .page-hero-grid { grid-template-columns: minmax(0,11fr) minmax(300px,9fr); }
  .page-hero-copy { padding: 36px 30px 36px max(24px,4vw); }
  .page-hero h1 { font-size: clamp(2.15rem,3.7vw,3.35rem); }
  .story-card { grid-template-columns: 62px minmax(160px,210px) 1fr; gap: 17px; padding: 20px; }
  .with-timeline { grid-template-columns: 1fr; }
  .timeline { position: static; }
}

@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-copy { padding: 32px max(20px,4vw) 26px; background: var(--hero-surface); }
  .page-hero h1 { font-size: clamp(2.1rem,8.5vw,3.6rem); }
  .page-hero-visual { min-height: clamp(210px,46vw,320px); }
  .page-hero-visual::after {
    inset: 0 0 auto;
    width: auto;
    height: clamp(82px,14vw,112px);
    background: radial-gradient(ellipse 140% 180% at 50% 150%,
      transparent 0 55%,
      rgba(216,212,202,.12) 56%,
      rgba(216,212,202,.36) 57%,
      rgba(247,246,242,.78) 58%,
      rgba(255,255,255,.94) 58.6% 59.1%,
      rgba(247,246,242,.9) 59.8%,
      var(--hero-surface) 61%);
  }
  .stats-grid,.stats-grid.five { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-card { grid-template-columns: 54px 1fr; align-items: start; }
  .story-card p { grid-column: 2; padding-left: 0; border-left: 0; }
  .before-after-grid { grid-template-columns: 1fr; }
  .before-after-grid article,.before-after-grid article:nth-child(2) { grid-template-columns: minmax(120px,.7fr) 1fr; }
}

@media (max-width: 520px) {
  .page-hero-copy { padding: 26px 16px 22px; }
  .breadcrumbs { margin-bottom: 13px; }
  .page-hero h1 { font-size: clamp(1.95rem,10vw,2.85rem); }
  .page-hero-copy > p:not(.eyebrow) { margin-top: 14px; font-size: .92rem; line-height: 1.48; }
  .page-hero-visual { min-height: clamp(190px,52vw,245px); }
  .case-metric-section { padding-top: 18px; }
  .stats-grid,.stats-grid.five { grid-template-columns: 1fr; }
  .stat-card { min-height: 92px; }
  .case-story-section,.case-panel-section { padding: 20px 0; }
  .story-card { grid-template-columns: 44px 1fr; gap: 12px; padding: 17px; }
  .story-card > svg { width: 38px; height: 38px; }
  .story-card h2,.story-card h3 { font-size: 1.18rem; }
  .story-card p { font-size: .91rem; }
  .before-after-grid article,.before-after-grid article:nth-child(2) { grid-template-columns: 1fr; }
  .before-after-grid article:nth-child(2) img { order: -1; }
  .before-after-grid img { height: 180px; }
  .resume-compare img { height: auto; }
  .notice { padding: 18px; }
  .case-cta { padding: 23px; }
}

/* Cinematic hero system v9: one scene on desktop, art-directed image + copy on mobile. */
.page-hero {
  --hero-image: none;
  --hero-image-mobile: var(--hero-image);
  --hero-active-image: var(--hero-image);
  color: #f7f1df;
  border-bottom-color: rgba(216,148,29,.65);
  background: #020d1a;
}
.page-hero.case-bank { --hero-image: url("assets/images/hero-scene-bank-v3.png"); --hero-image-mobile: url("assets/images/hero-scene-bank-v2-mobile.webp"); }
.page-theme-cases .page-hero.case-bank { --hero-image: url("assets/images/hero-scene-cases-v3.png"); --hero-image-mobile: url("assets/images/hero-scene-cases-v2-mobile.webp"); }
.page-hero.case-bankruptcy { --hero-image: url("assets/images/hero-scene-bankruptcy-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-bankruptcy-v2-mobile.webp"); }
.page-hero.case-debt-plan { --hero-image: url("assets/images/hero-scene-debt-plan-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-debt-plan-v2-mobile.webp"); }
.page-hero.case-inheritance { --hero-image: url("assets/images/hero-scene-inheritance-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-inheritance-v2-mobile.webp"); }
.page-hero.case-tax { --hero-image: url("assets/images/hero-scene-tax-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-tax-v2-mobile.webp"); }
.page-hero.case-career { --hero-image: url("assets/images/hero-scene-career-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-career-v2-mobile.webp"); }
.page-hero.case-career-transition { --hero-image: url("assets/images/hero-scene-career-transition-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-career-transition-v2-mobile.webp"); }
.page-hero.case-interview { --hero-image: url("assets/images/hero-scene-interview-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-interview-v2-mobile.webp"); }
.page-hero.case-offer { --hero-image: url("assets/images/hero-scene-offer-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-offer-v2-mobile.webp"); }
.page-hero.case-health { --hero-image: url("assets/images/hero-scene-health-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-health-v2-mobile.webp"); }
.page-hero.case-contract { --hero-image: url("assets/images/hero-scene-contract-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-contract-v2-mobile.webp"); }
.page-hero.case-claim { --hero-image: url("assets/images/hero-scene-claim-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-claim-v2-mobile.webp"); }
.page-hero.case-lease { --hero-image: url("assets/images/hero-scene-lease-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-lease-v2-mobile.webp"); }
.page-hero.channels { --hero-image: url("assets/images/hero-scene-channels-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-channels-v2-mobile.webp"); }
.page-hero.payment { --hero-image: url("assets/images/hero-scene-payment-v2.webp"); --hero-image-mobile: url("assets/images/hero-scene-payment-v2-mobile.webp"); }

.page-hero-grid.shell {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: clamp(520px,38vw,800px);
  margin: 0;
}
.page-hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  background-color: #020d1a;
  background-image: var(--hero-active-image) !important;
  background-position: center;
  background-size: cover;
}
.page-hero-visual::after {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg,rgba(1,8,16,.94) 0%,rgba(1,9,18,.86) 30%,rgba(2,13,26,.68) 45%,rgba(2,13,26,.22) 61%,rgba(2,13,26,.03) 76%),
    linear-gradient(180deg,rgba(0,0,0,.22),transparent 30%,transparent 75%,rgba(0,0,0,.18));
}
.page-hero-brand {
  position: absolute;
  z-index: 3;
  top: clamp(30px,3.2vw,62px);
  left: max(28px,calc((100vw - 1760px)/2 + 48px));
  color: white;
  filter: drop-shadow(0 5px 14px rgba(0,0,0,.48));
}
.page-hero-brand .brand-mark { width: clamp(74px,5.3vw,102px); height: auto; }
.page-hero-brand strong {
  color: var(--gold-light);
  font: 500 clamp(1.55rem,2vw,2.45rem)/1.05 Georgia,"Times New Roman",serif;
}
.page-hero-brand small {
  margin-top: 6px;
  color: rgba(255,246,220,.88);
  font-family: var(--body);
  font-size: clamp(.78rem,.86vw,1.05rem);
  line-height: 1.3;
}
.page-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: min(59vw,1120px);
  justify-content: center;
  padding: clamp(150px,10.5vw,205px) 42px clamp(46px,4.5vw,86px) max(28px,calc((100vw - 1760px)/2 + 48px));
  color: #fffaf0;
  background: transparent;
}
.page-hero .breadcrumbs,.page-hero .eyebrow { display: none; }
.page-hero h1 {
  max-width: min(52vw,980px);
  color: #fffaf0;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(3rem,4.25vw,5.35rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  text-shadow: 0 4px 22px rgba(0,0,0,.52);
}
.page-hero.case-health h1,.page-hero.case-career h1,.page-hero.case-career-transition h1 { font-size: clamp(2.75rem,3.65vw,4.65rem); }
.page-hero-copy > p:not(.eyebrow) {
  max-width: min(45vw,780px);
  margin: clamp(22px,2.2vw,38px) 0 0;
  color: rgba(255,251,240,.88);
  font-family: var(--body);
  font-size: clamp(1.02rem,1.2vw,1.38rem);
  line-height: 1.48;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

@media (max-width: 1120px) and (min-width: 681px) {
  .page-hero-grid.shell { min-height: clamp(500px,49vw,590px); }
  .page-hero-brand { top: 28px; left: 34px; }
  .page-hero-copy { width: 62vw; padding: 135px 30px 46px 34px; }
  .page-hero h1 { max-width: 58vw; font-size: clamp(2.65rem,4.6vw,3.55rem); }
  .page-hero.case-health h1,.page-hero.case-career h1,.page-hero.case-career-transition h1 { font-size: clamp(2.35rem,4vw,3.15rem); }
  .page-hero-copy > p:not(.eyebrow) { max-width: 52vw; font-size: 1rem; }
}

@media (max-width: 680px) {
  .page-hero { --hero-active-image: var(--hero-image-mobile); color: var(--ink); background: var(--page-bg); }
  .page-hero-grid.shell {
    display: grid;
    grid-template: auto auto / 1fr;
    min-height: 0;
    background: var(--page-bg);
  }
  .page-hero-visual {
    position: relative;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-image: var(--hero-active-image) !important;
    background-position: center;
  }
  .page-hero-visual::after {
    background:
      linear-gradient(135deg,rgba(1,8,16,.82) 0%,rgba(1,8,16,.58) 23%,rgba(1,8,16,.16) 47%,transparent 66%),
      linear-gradient(180deg,rgba(1,8,16,.16) 0%,transparent 65%,rgba(1,8,16,.1));
  }
  .page-hero-brand {
    top: clamp(18px,4vw,34px);
    left: clamp(16px,5vw,38px);
    max-width: calc(100% - 32px);
  }
  .page-hero-brand .brand-mark { width: clamp(60px,13vw,88px); }
  .page-hero-brand strong { font-size: clamp(1.32rem,4.7vw,2rem); }
  .page-hero-brand strong,.page-hero-brand small { text-shadow: 0 2px 10px rgba(0,0,0,.9); }
  .page-hero-brand small { display: block; margin-top: 3px; font-size: clamp(.66rem,2.25vw,.88rem); }
  .page-hero-copy {
    position: relative;
    grid-row: 2;
    grid-column: 1;
    width: 100%;
    min-height: 0;
    padding: clamp(34px,7vw,62px) clamp(20px,7vw,58px) clamp(42px,8vw,70px);
    color: var(--ink);
    background: var(--page-bg);
  }
  .page-hero-copy::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 8%;
    right: -7%;
    width: min(54vw,340px);
    aspect-ratio: 1;
    opacity: .035;
    background: url("assets/images/brand-emblem-transparent.png") center/contain no-repeat;
    pointer-events: none;
  }
  .page-hero-copy > * { position: relative; z-index: 1; }
  .page-hero h1,.page-hero.case-health h1,.page-hero.case-career h1,.page-hero.case-career-transition h1 {
    max-width: 760px;
    color: var(--ink);
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(2.55rem,8vw,4.2rem);
    line-height: .98;
    text-shadow: none;
  }
  .page-hero h1::after {
    content: "";
    display: block;
    width: min(72%,520px);
    height: 1px;
    margin: clamp(22px,5vw,34px) 0;
    background: linear-gradient(90deg,var(--gold),rgba(216,148,29,.08));
  }
  .page-hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: #3f4b57;
    font-size: clamp(1rem,2.7vw,1.25rem);
    line-height: 1.52;
    text-shadow: none;
  }
}

/* Approved Expert Patch hero posters v12. */
.page-hero-poster,
.page-hero-poster img {
  display: block;
  width: 100%;
}
.page-hero-poster img {
  height: auto;
  image-rendering: auto;
}
.poster-hero > .page-hero-grid.shell {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: normal !important;
  border: 0 !important;
}
.poster-hero .page-hero-brand,
.poster-hero .page-hero-visual { display: none !important; }
.poster-hero .page-hero-copy {
  position: static;
  display: block;
  width: auto;
  padding: 0;
}

@media (min-width: 521px) and (max-width: 680px) {
  .page-hero-visual { aspect-ratio: 16 / 9; }
}

@media (max-width: 520px) {
  .page-hero-visual { aspect-ratio: 4 / 3; }
  .page-hero-copy { padding: 30px 20px 42px; }
  .page-hero h1,.page-hero.case-health h1,.page-hero.case-career h1,.page-hero.case-career-transition h1 { font-size: clamp(2.15rem,9.5vw,3rem); }
  .page-hero-copy > p:not(.eyebrow) { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-visual { background-attachment: scroll; }
}

/* Compact page rhythm v10: reduce removable whitespace without shrinking content. */
.case-metric-section { padding: 10px 0 5px; }
.case-story-section,
.case-panel-section { padding: 10px 0; }
.case-closing-section { padding: 4px 0 18px; }
.case-resume-section { padding-top: 10px; }
.page-section { padding: clamp(16px,1.7vw,24px) 0; }
.page-title { margin-bottom: 10px; }
.stats-grid,
.story-grid,
.resume-compare,
.before-after-grid,
.benefit-grid,
.cases-summary,
.cases-grid-page,
.channel-grid,
.video-grid,
.price-grid,
.payment-list { gap: 8px; }
.story-stack { gap: 6px; }
.cases-summary { margin-top: 9px; }
.cases-grid-page[style] { margin-top: 11px !important; }
.notice { margin-top: 6px; }
.notice[style] { margin-top: 7px !important; }
.case-cta { margin-top: 9px; }

/* The listing page had its own stacked top margins; collapse them separately. */
.page-theme-cases .page-section {
  padding-top: 4px;
  padding-bottom: 6px;
}
.page-theme-cases .cases-summary { margin-top: 4px; }

@media (max-width: 680px) {
  .page-hero-copy { padding-top: 24px; padding-bottom: 26px; }
  .page-hero h1::after { margin: 12px 0; }
  .case-metric-section { padding-top: 8px; }
  .case-story-section,
  .case-panel-section { padding: 8px 0; }
}

/* Compact case narrative v11: pair the story stack with the chronology. */
.with-timeline {
  align-items: stretch;
  grid-template-columns: minmax(0,1.28fr) minmax(320px,.72fr);
}
.with-timeline .story-stack { align-content: start; }
.with-timeline .story-card {
  grid-template-columns: 42px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  min-height: 0;
  padding: 14px 18px;
}
.with-timeline .story-card > svg {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  margin-top: 1px;
}
.with-timeline .story-card h2,
.with-timeline .story-card h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(1.18rem,1.45vw,1.45rem);
  line-height: 1.12;
}
.with-timeline .story-card p {
  grid-column: 2;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: .91rem;
  line-height: 1.42;
}
.with-timeline .timeline {
  position: static;
  height: 100%;
  padding: 18px 22px;
}
.with-timeline .timeline h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem,1.8vw,1.72rem);
}
.with-timeline .timeline ol { padding-left: 19px; }
.with-timeline .timeline li { padding: 0 0 14px 19px; }
.with-timeline .timeline li::before {
  left: -25px;
  top: 4px;
  width: 10px;
  height: 10px;
}
.with-timeline .timeline strong {
  font-size: 1.12rem;
  line-height: 1.2;
}
.with-timeline .timeline span {
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}

.before-after-grid article { min-height: 224px; }
.before-after-grid article > div { padding: 22px; }
.before-after-grid li { margin: 6px 0; }

.story-grid-wide .story-card {
  grid-template-columns: 42px minmax(160px,220px) minmax(0,1fr);
  min-height: 0;
  gap: 14px;
  padding: 14px 18px;
}
.story-grid-wide .story-card > svg { width: 36px; height: 36px; }
.story-grid-wide .story-card p {
  padding-left: 16px;
  font-size: .91rem;
  line-height: 1.42;
}

@media (max-width: 1120px) {
  .with-timeline { grid-template-columns: 1fr; }
  .with-timeline .timeline { height: auto; }
}

@media (max-width: 520px) {
  .with-timeline .story-card {
    grid-template-columns: 38px minmax(0,1fr);
    column-gap: 11px;
    padding: 13px 14px;
  }
  .with-timeline .story-card > svg { width: 32px; height: 32px; }
  .with-timeline .story-card p { font-size: .88rem; }
  .with-timeline .timeline { padding: 16px 17px; }
}

@media (max-width: 760px) {
  .story-grid-wide .story-card {
    grid-template-columns: 38px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 4px;
    padding: 13px 14px;
  }
  .story-grid-wide .story-card > svg {
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
  }
  .story-grid-wide .story-card h2,
  .story-grid-wide .story-card h3,
  .story-grid-wide .story-card p { grid-column: 2; }
  .story-grid-wide .story-card p {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: .88rem;
  }
}
