/* Editorial system measured against the Grids S03 reference.
   The user-requested edge rail is removed; the content uses the full width. */
:root {
  --paper: #fff; --ink: #000; --muted: #666; --line: #dedede;
  --text: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --rail-width: 0px;
  --gutter: clamp(16px, 1.388889vw, 28px);
  --grid-gap: .694444vw;
  --rule-height: clamp(10px, 1.388889vw, 26px);
}
html { scroll-padding-top: 84px; }
body { padding-left: var(--rail-width); background: #fff; color: #000; font: 400 16px/1.5 var(--text); }
h1,h2,h3,h4,b,strong { font-weight: 400; }
img { border-radius: 0; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
.floating-nav {
  top: 0; left: var(--rail-width); right: 0; width: auto; max-width: none;
  height: 54px; transform: none; padding: 0 var(--gutter); border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: #fff; color: #000; box-shadow: none; backdrop-filter: none;
}
.brand-text { font: 400 14px/1.2 var(--text); letter-spacing: -.02em; }
.nav-center { font-size: 11px; font-weight: 400; gap: 18px; }
.nav-center span { opacity: 1; color: #777; }
.menu-toggle { display: flex; width: auto; height: 40px; gap: 12px; font-size: 12px; align-items: center; transform: none; }
.menu-toggle[aria-expanded=true] { transform: none; }
.menu-toggle > span:last-child { display: block; font-size: 21px; transition: transform .25s; }
.menu-toggle[aria-expanded=true] > span:last-child { transform: rotate(45deg); }
.menu-panel { left: auto; right: var(--gutter); top: 54px; transform: none; width: min(560px,calc(100vw - var(--rail-width) - 2 * var(--gutter))); border: 1px solid #000; border-top: var(--rule-height) solid #000; padding: 26px; border-radius: 0; background: #fff; color: #000; box-shadow: none; max-height: calc(100svh - 76px); overflow: auto; }
.menu-panel > a,.menu-panel > button { border-color: var(--line); font: 400 25px/1.25 var(--text); letter-spacing: -.03em; }
.menu-panel > .eyebrow,.menu-footer { color: #666; }
.menu-panel a:hover,.menu-panel > button:hover { color: #777; }
.menu-chapter-picker label { color: #666; }
.menu-chapter-picker select { color: #000; border: 1px solid #aaa; background: #fff; border-radius: 0; }
.grid-intro { padding: 54px var(--gutter) 0; }
.grid-intro-ribbon { height: clamp(42px,6vw,90px); display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); overflow: hidden; }
.grid-intro-ribbon i { display: block; background: #000; }
.grid-intro-ribbon i:nth-child(4n+1) { height: 55%; align-self: start; }
.grid-intro-ribbon i:nth-child(4n+2) { height: 55%; align-self: end; }
.grid-intro-ribbon i:nth-child(7) { background: linear-gradient(#000 0 35%,#fff 35% 65%,#000 65%); }
.grid-intro-masthead { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); align-items: start; padding: 18px 0 16px; }
.grid-intro-masthead h1 { grid-column: 1/-1; font: 400 clamp(40px,6.25vw,140px)/1 var(--text); letter-spacing: -.06em; margin: 0; white-space: nowrap; }
.grid-intro-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--grid-gap); border-top: var(--rule-height) solid #000; padding: 12px 0 32px; font-size: 10px; line-height: 1.3; }
.grid-intro-meta > :last-child { justify-self: end; text-align: right; }
.grid-intro-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); min-height: 480px; }
.grid-intro-copy > p { max-width: 350px; font-size: clamp(19px,1.75vw,29px); line-height: 1.2; letter-spacing: -.03em; }
.grid-intro-copy > .text-link { width: 210px; margin-top: 42px; font-size: 12px; }
.grid-intro-copy > .text-link + .text-link { margin-top: 14px; }
#intro-index { border-top: 1px solid var(--line); padding-bottom: 60px; }
#intro-index > button { display: grid; grid-template-columns: 34px minmax(0,1fr) 20px; gap: 12px; align-items: start; width: 100%; min-height: 39px; padding: 10px 0; border-bottom: 1px solid var(--line); font: 400 13px/1.2 var(--text); letter-spacing: -.02em; text-align: left; }
#intro-index > button > span:nth-child(2) { max-width: 310px; }
#intro-index > button > span:last-child { text-align: right; }
#intro-index > button:hover { color: #888; }
.section { padding: 100px var(--gutter); }
.section-kicker,.eyebrow,.section-meta > span,.small-muted { font-family: var(--text); font-weight: 400; letter-spacing: -.015em; }
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 36px var(--grid-gap); border-top: var(--rule-height) solid #000; margin: 0 var(--gutter); padding: 20px 0 110px; }
.statement .section-kicker { grid-column: 1; align-items: start; font-size: 11px; }
.statement .section-kicker > span:last-child { margin-right: 15px; }
.statement-text { grid-column: 2; max-width: none; margin: 0; font: 400 clamp(26px,2.4vw,39px)/1.15 var(--text); letter-spacing: -.04em; }
.statement-text span { color: #d2d2d2; }
.statement-foot { display: block; grid-column: 2; max-width: 530px; margin: 10px 0 0; }
.statement-foot p { font-size: 16px; line-height: 1.5; }
.statement-foot .text-link { margin-top: 30px; width: 210px; }
.text-link { font: 400 12px/1.4 var(--text); border-color: currentColor; border-radius: 0; padding-bottom: 8px; }
.button { border-radius: 0; font: 400 13px/1.4 var(--text); border: 1px solid #000; background: #000; color: #fff; }
.button.light { background: #000; color: #fff; border-color: #000; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); margin-bottom: 56px; }
.section-head h2 { font: 400 clamp(44px,6.25vw,110px)/.95 var(--text); letter-spacing: -.06em; }
.section-meta { align-items: stretch; flex-direction: row; justify-content: space-between; gap: 24px; }
.section-meta > span { order: 2; white-space: nowrap; font-size: 10px; }
.section-meta p { max-width: 330px; font-size: 14px; line-height: 1.3; }
.chapters { padding-top: 0; }
.chapter-tools { padding: 14px 0 26px; border-top: 1px solid var(--line); }
.view-switch button { border-radius: 0; background: transparent; font-size: 17px; }
.view-switch button[aria-pressed=true] { background: #000; color: #fff; }
.search-inline { font-size: 12px; color: #000; }
#chapter-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px var(--grid-gap); }
#chapter-grid .chapter-card { position: relative; grid-column: span 6; padding: 0 0 54px; min-width: 0; opacity: 1; transform: none; }
#chapter-grid .chapter-card:is([data-chapter="1"],[data-chapter="4"],[data-chapter="7"],[data-chapter="10"]) { grid-column: 1/-1; }
.chapter-grid-rule { display: block; height: var(--rule-height); width: 100%; background: #000; }
.chapter-grid-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); position: relative; padding-top: 16px; min-height: 96px; }
.chapter-grid-number { font: 400 14px/1.2 var(--text); }
.chapter-grid-meta h3 { font: 400 clamp(24px,2.1vw,34px)/1.1 var(--text); letter-spacing: -.04em; max-width: 30ch; padding-right: 38px; }
.chapter-grid-arrow { position: absolute; right: 0; top: 16px; font-size: 20px; transition: transform .25s; }
.chapter-card:hover .chapter-grid-arrow { transform: translate(2px,-2px); }
.chapter-grid-body { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--grid-gap); margin-top: 28px; }
#chapter-grid .chapter-description { grid-column: 1; max-width: 40ch; margin: 0; font: 400 clamp(17px,1.35vw,21px)/1.4 var(--text); letter-spacing: -.02em; color: #000; }
#chapter-grid .chapter-image { grid-column: 2; width: 100%; height: auto; aspect-ratio: 2/3; border-radius: 0; background: transparent; overflow: hidden; }
#chapter-grid .chapter-image::after { content: none; }
#chapter-grid .chapter-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: grayscale(1); transform: none; border-radius: 0; transition: filter .35s; }
#chapter-grid .chapter-card:hover img { transform: none; filter: grayscale(1); }
@media (min-width: 701px) {
  #chapter-grid .chapter-card:is([data-chapter="1"],[data-chapter="4"],[data-chapter="7"],[data-chapter="10"]) .chapter-image { width: calc((100% - var(--grid-gap))/2); justify-self: end; }
  #chapter-grid:not(.list) .chapter-card:is([data-chapter="1"],[data-chapter="4"],[data-chapter="7"],[data-chapter="10"]) .chapter-grid-meta h3 { font-size: clamp(32px,2.8vw,52px); }
  #chapter-grid:not(.list) .chapter-card:is([data-chapter="1"],[data-chapter="4"],[data-chapter="7"],[data-chapter="10"]) .chapter-description { max-width: 38ch; font-size: clamp(20px,1.55vw,28px); }
}
.chapter-grid-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; margin-top: -4px; transition: background .2s,color .2s; }
.chapter-grid-meta h3 { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.chapter-grid-arrow { width: 32px; height: 32px; display: grid; place-items: center; margin-top: -4px; transition: transform .2s,background .2s,color .2s; }
.chapter-read-label { position: absolute; left: 0; right: 0; bottom: 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #000; padding: 8px 0; font: 400 12px/1.2 var(--text); opacity: 0; transform: translateY(5px); transition: opacity .2s,transform .2s; }
#chapter-grid .chapter-card:focus-visible .chapter-grid-number { background: #000; color: #fff; }
#chapter-grid .chapter-card:focus-visible .chapter-grid-meta h3 { text-decoration-color: #000; }
#chapter-grid .chapter-card:focus-visible .chapter-grid-arrow { background: #000; color: #fff; transform: translate(2px,-2px); }
#chapter-grid .chapter-card:focus-visible .chapter-read-label { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  #chapter-grid .chapter-card:hover .chapter-grid-number { background: #000; color: #fff; }
  #chapter-grid .chapter-card:hover .chapter-grid-meta h3 { text-decoration-color: #000; }
  #chapter-grid .chapter-card:hover .chapter-grid-arrow { background: #000; color: #fff; transform: translate(2px,-2px); }
  #chapter-grid .chapter-card:hover .chapter-read-label { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) { .chapter-read-label { opacity: 1; transform: none; } }
.motion-static .chapter-read-label,.motion-static .chapter-grid-number,.motion-static .chapter-grid-arrow,.motion-static .chapter-grid-meta h3 { transition: none; }
@media (prefers-reduced-motion: reduce) { .chapter-read-label,.chapter-grid-number,.chapter-grid-arrow,.chapter-grid-meta h3 { transition: none; } }
#chapter-grid.list .chapter-read-label { display: none; }
#chapter-grid.list { display: block; }
#chapter-grid.list .chapter-card { display: grid; grid-template-columns: 1fr; width: 100%; padding-bottom: 20px; }
#chapter-grid.list .chapter-grid-rule { height: 1px; }
#chapter-grid.list .chapter-grid-meta { min-height: 0; padding: 20px 0; grid-template-columns: 48px 1fr; }
#chapter-grid.list .chapter-grid-meta h3 { max-width: 850px; font-size: clamp(25px,2.1vw,34px); }
#chapter-grid.list .chapter-grid-body { margin: 0 0 0 58px; display: block; }
#chapter-grid.list .chapter-image { display: none; }
#chapter-grid.list .chapter-description { max-width: 760px; padding: 0; }
.all-chapters-foot { border-top: var(--rule-height) solid #000; padding-top: 20px; margin-top: 10px; }
.practice-section { padding-top: 20px; }
.practice-grid { gap: 70px var(--grid-gap); }
.practice-index-card,.practice-index-card.sage { --tool-paper:#f0f0ed; --tool-line:#ccc; --tool-ink:#000; padding: 14px 0 0; background: #fff; border-top: var(--rule-height) solid #000; border-radius: 0; min-height: 300px; transition: opacity .25s; }
.practice-index-card:hover { background: #fff; transform: none; opacity: .65; }
.practice-index-card h3 { margin: 40px 0 25px 50%; padding-right: 25px; font: 400 clamp(25px,2.4vw,38px)/1.08 var(--text); letter-spacing: -.045em; }
.practice-index-card p { max-width: 440px; margin-left: 50%; padding-right: 16px; font-size: 14px; }
.practice-card-meta { font-size: 10px; color: #000; }
.practice-card-foot { padding-top: 36px; margin-left: 50%; width: 50%; font-size: 12px; }
.practice-open-arrow { border: 0; border-radius: 0; }
.practice-index-card:last-child { min-height: 250px; }
.practice-tool,.practice-tool.sage { --tool-paper:#eee; --tool-line:#ccc; --tool-ink:#000; border-radius: 0; border-top: var(--rule-height) solid #000; background: #eee; padding: 22px clamp(24px,3vw,50px) 40px; }
.practice-tool-rail { color: #000; font-size: 10px; }
#reader .practice-tool .case-section-title { font-weight: 400; letter-spacing: -.045em; }
.practice-source-group h3 { font-weight: 400; font-family: var(--text); }
.practice-use { border-radius: 0; border: 1px solid #000; background: #000; color: #fff; font-family: var(--text); }
.practice-use:hover { background: #444; }
.practice-secondary { border-radius: 0; border-color: #aaa; }
.practice-secondary:hover { background: #ddd; }
.practice-field textarea,.practice-minute-input input { border-radius: 0; background: #fff; border-color: #bbb; font-family: var(--text); }
.practice-field textarea:focus,.practice-minute-input input:focus { outline-color: #000; }
.practice-field textarea::placeholder { color: #888; }
.practice-stage-tabs button { border-radius: 0; color: #000; border-color: #bbb; }
.practice-stage-tabs button[aria-selected=true] { background: #000; border-color: #000; }
.practice-work-body { background: #f0f0ed; }
.practice-work-head h2,.practice-guidance h3 { font-family: var(--text); font-weight: 400; letter-spacing: -.04em; }
.practice-matrix fieldset { border-radius: 0; border-color: #bbb; }
.practice-matrix legend,.practice-work-meta,#tool-save-status { color: #555; }
.practice-checks input { border-radius: 0; border-color: #777; }
.practice-checks input:checked { background: #000; border-color: #000; }
.practice-checks input:focus-visible { outline-color: #000; }
.practice-checks label:has(input:checked) > span { color: #666; }
.practice-check-progress progress { accent-color: #000; background: #d0d0d0; }
.practice-check-progress progress::-webkit-progress-bar { background: #d0d0d0; }
.practice-check-progress progress::-webkit-progress-value { background: #000; }
.practice-time-bar { background: #ddd; border-radius: 0; }
.practice-time-legend i { border-radius: 0; }
.time-part-0 { background: #000; }.time-part-1 { background: #666; }.time-part-2 { background: #aaa; }.time-part-3 { background: #d4d4d4; }
.case-tool-shortcuts > button { background: #eee; border-radius: 0; border-top: 8px solid #000; }
.case-tool-shortcuts .eyebrow { color: #444; }
.motion-section { margin: 0 var(--gutter); border-radius: 0; background: #fff; color: #000; border-top: var(--rule-height) solid #000; border-bottom: var(--rule-height) solid #000; }
.motion-image { opacity: .08; filter: grayscale(1); background-image: url('assets/photo-glass-roof.webp'); background-size: 50% auto; background-position: right center; background-repeat: no-repeat; }
.motion-content { padding: 24px 0 60px; }
.motion-content .section-kicker { color: #000; }
#motion-pause { color: #000; border-color: #aaa; border-radius: 0; }
.motion-content h2 { font: 400 clamp(32px,3.4vw,56px)/1.1 var(--text); letter-spacing: -.045em; }
.motion-content h2 > span { color: #666; font-family: var(--text); }
.motion-quote .text-link { color: #000; }
.motion-track button { color: #888; }
.motion-track button[aria-pressed=true],.motion-track button:hover { color: #000; }
.motion-track .node { border-radius: 0; border-color: #bbb; background: #fff; color: #666; font-family: var(--text); }
.motion-track button[aria-pressed=true] .node { background: #000; color: #fff; border-color: #000; box-shadow: none; animation: none; }
.motion-track button + button::before { border-color: #ccc; }
.track-line { background: #ccc; }
.track-line::after { background: linear-gradient(transparent,#000,transparent); }
.source-layout { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.law-list { border-top: var(--rule-height) solid #000; }
.law-row > button { font: 400 22px/1.25 var(--text); letter-spacing: -.025em; }
.law-row-content blockquote { font-family: var(--text); }
.law-ref { background: #eee; border-radius: 0; text-decoration-color: #999; }
.check-section { border-top: var(--rule-height) solid #000; margin: 0 var(--gutter); padding-left: 0; padding-right: 0; }
.check-section .section-head h2 { font: 400 clamp(38px,4.5vw,72px)/1 var(--text); letter-spacing: -.05em; }
.check-item input { border-radius: 0; accent-color: #000; }
.check-count { font-family: var(--text); font-weight: 400; }
.check-count b { font-weight: 400; }
.closing { margin: 0 var(--gutter); height: auto; min-height: 0; border-radius: 0; border-top: var(--rule-height) solid #000; display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: #000; padding: 40px 0 80px; gap: var(--grid-gap); }
.closing > img { position: static; grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; filter: grayscale(1); }
.closing-copy { grid-column: 1; grid-row: 1; padding: 0; justify-content: space-between; }
.closing-copy > .eyebrow { color: #000; max-width: 310px; }
.closing-copy p { font: 400 clamp(42px,5vw,90px)/1 var(--text); letter-spacing: -.055em; margin: 55px 0; }
.closing-copy > span:last-child { color: #000; }
body > footer { margin: 0 var(--gutter); padding: 32px 0 24px; border-top: var(--rule-height) solid #000; }
body.reading > footer { padding-bottom: 96px; }
.footer-top { margin-bottom: 65px; align-items: start; }
.footer-brand { font: 400 24px/1.2 var(--text); letter-spacing: -.04em; }
.footer-top > p { font-size: 13px; }
.footer-bottom { font-size: 10px; border-color: var(--line); }
.case-chapter-hero { height: auto; min-height: 0; max-height: none; margin: 54px var(--gutter) 0; border-radius: 0; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); background: #fff; color: #000; overflow: visible; padding-top: 22px; border-top: var(--rule-height) solid #000; }
.case-chapter-hero { place-items: stretch; }
.case-hero-shade { display: none; }
.case-hero-image { position: static; inset: auto; order: 2; grid-column: 7/-1; height: auto; aspect-ratio: 3/1; background: var(--chapter-image) center/cover; filter: grayscale(1); animation: none; }
.case-hero-title-wrap { order: 1; grid-column: 1/-1; text-align: left; padding: 0 0 55px; }
.case-hero-title-wrap > .eyebrow { color: #000; font-size: 11px; }
#reader .case-chapter-title,#reader .case-chapter-title.medium,#reader .case-chapter-title.long { max-width: 1120px; margin: 50px 0 0; font: 400 clamp(48px,6.25vw,112px)/1 var(--text); letter-spacing: -.055em; text-wrap: pretty; animation: none; }
#reader .case-chapter-title.long { font-size: clamp(43px,5.2vw,90px); }
.case-hero-foot { position: static; order: 3; grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 18px 0 0; margin-top: 8px; border-top: 1px solid var(--line); color: #000; font-size: 10px; }
.case-hero-foot button { color: #000; }
.case-hero-foot button span { border: 0; border-radius: 0; }
.case-chapter-overview { max-width: none; padding: 90px var(--gutter) 100px; }
.case-brief { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); margin-bottom: 90px; }
.case-brief h2,.case-sources-heading h2 { font: 400 clamp(30px,3.4vw,52px)/1 var(--text); letter-spacing: -.04em; }
.case-brief > p { font-size: clamp(21px,2vw,30px); line-height: 1.25; letter-spacing: -.03em; }
.case-gallery-row { grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); }
.case-portrait-frame { grid-column: 4/span 3; aspect-ratio: 2/3; border-radius: 0; background: #e7e7e4; }
#reader .case-portrait-frame .reader-cover { width: 100%; max-width: none; height: auto; aspect-ratio: 2/3; object-fit: contain; border-radius: 0; filter: grayscale(1); }
.case-outline { grid-column: 7/-1; padding: 0; }
.case-outline-head { border-top: 8px solid #000; padding-top: 12px; }
.case-outline nav { max-height: 600px; }
.case-outline nav button { font-size: 16px; letter-spacing: -.025em; }
.case-outline nav button:hover { color: #777; }
.case-gallery-detail { border-radius: 0; margin-top: 35px; }
.case-gallery-detail img { filter: grayscale(1); }
#reader .reader-bar { left: calc(var(--rail-width) + var(--gutter)); border-radius: 0; border: 1px solid #000; background: #fff; color: #000; box-shadow: none; backdrop-filter: none; }
#reader .reader-bar > div { border-color: #ccc; }
.reading .reading-progress { top: 0; }
.reading-progress span { background: #000; }
.case-chapter-body { max-width: none; }
.case-reading-section { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); border-top: var(--rule-height) solid #000; padding: 24px 0 90px; }
.case-section-heading { top: 90px; padding-right: 22%; }
.case-section-heading > .eyebrow { color: #000; font-size: 11px; margin-bottom: 35px; }
#reader .case-section-title { font: 400 clamp(25px,2.35vw,38px)/1.12 var(--text); letter-spacing: -.035em; }
#reader .guide-copy { max-width: 740px; font: 400 19px/1.65 var(--text); letter-spacing: -.012em; }
#reader .guide-copy h3 { font: 400 26px/1.15 var(--text); letter-spacing: -.03em; }
#reader .guide-copy .guide-callout { font: 400 25px/1.3 var(--text); border-color: #000; }
#reader.large .guide-copy { font-size: 22px; }
#reader.large .guide-copy h3 { font-size: 29px; }
.case-chapter-highlight { margin: 0 var(--gutter) 80px; min-height: 450px; border-radius: 0; background: #eee; color: #000; border-top: var(--rule-height) solid #000; text-align: left; align-items: stretch; padding: 30px 0 50px 50%; }
.case-chapter-highlight::before { background: none; }
.case-chapter-highlight > .eyebrow { color: #000; }
.case-chapter-highlight blockquote { font: 400 clamp(28px,3vw,48px)/1.12 var(--text); letter-spacing: -.04em; margin: 45px 25px 40px 0; }
.case-chapter-highlight .text-link { color: #000; }
.case-chapter-sources { max-width: none; padding-top: 55px; }
.case-sources-heading { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
#reader #chapter-laws { column-gap: var(--grid-gap); border-top: var(--rule-height) solid #000; }
#reader #chapter-laws button { font-size: 17px; }
#reader #chapter-laws button:hover { color: #777; }
.case-chapter-switcher { border-top: var(--rule-height) solid #000; }
.case-chapter-switcher button { border-radius: 0; }
#reader .reader-next { border-radius: 0; background: #fff; color: #000; border-top: var(--rule-height) solid #000; margin: 0 var(--gutter); padding: 22px 0 70px; }
.case-next-top { color: #000; }
#reader .case-next-top button { color: #000; }
.case-next-copy h2 { font-weight: 400; font-family: var(--text); }
#reader .case-next-main .case-next-arrow { border-color: #000; border-radius: 0; color: #000; }
.case-next-main img { border-radius: 0; filter: grayscale(1); }
dialog { border-radius: 0; background: #fff; color: #000; border: 1px solid #000; border-top: var(--rule-height) solid #000; box-shadow: none; }
dialog::backdrop { background: #0009; backdrop-filter: blur(5px); }
.about-dialog,.tool-dialog { border-radius: 0; }
.about-dialog .dialog-head,.tool-dialog .dialog-head { background: #fff; padding-block: 14px; }
.about-dialog .dialog-head > button,.tool-dialog .dialog-head > button { border-radius: 0; border-color: #bbb; }
.about-dialog .about-title { font-weight: 400; }
.about-dialog .about-colophon { color: #666; }
.about-prose p { font-family: var(--text); }
.law-dialog h2,.about-dialog h2,.search-result h3 { font-weight: 400; font-family: var(--text); }
.source-note { border-radius: 0; background: #eee; }
mark { background: #ddd; }
.toast { border-radius: 0; background: #000; }
@media (min-width: 701px) {
  /* Keep the reading column clear of the outer edge without shifting its grid. */
  #reader .guide-copy,.case-brief > p { padding-inline-end: clamp(24px,2.5vw,48px); }
  .grid-intro-masthead.grid-in-view h1 { animation: grid-title-reveal .9s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes grid-title-reveal { from { clip-path: inset(100% 0 0); transform: translateY(16px); } to { clip-path: inset(0); transform: translateY(0); } }
@media (max-width: 1000px) {
  .section-meta { flex-direction: column; gap: 20px; align-items: start; }
  .section-meta > span { order: 0; }
  #reader .case-chapter-title,#reader .case-chapter-title.medium { font-size: 7vw; }
  .practice-tool-heading { grid-template-columns: 1fr; }
  .case-section-heading { padding-right: 16%; }
  .case-portrait-frame { grid-column: 2/span 5; }
  .grid-intro-meta { font-size: 9px; }
}
@media (max-width: 700px) {
  :root { --rail-width: 0px; --gutter: 16px; --grid-gap: 8px; --rule-height: 10px; }
  body { font-size: 16px; }
  .floating-nav { height: 52px; padding-inline: 14px; }
  .brand-text { font-size: 12px; }
  .nav-center { font-size: 9px; gap: 8px; }
  .nav-center span { display: none; }
  .menu-toggle { font-size: 11px; gap: 8px; }
  .menu-panel { top: 52px; padding: 22px; max-height: calc(100svh - 70px); }
  .menu-panel > a,.menu-panel > button { font-size: 22px; }
  .grid-intro { padding-top: 52px; }
  .grid-intro-ribbon { height: 42px; }
  .grid-intro-masthead { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 20px; gap: 8px; align-items: center; }
  .grid-intro-masthead h1 { grid-column: 1; font-size: clamp(28px,8.6vw,60px); letter-spacing: -.06em; }
  .grid-intro-meta { grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; font-size: 8px; }
  .grid-intro-meta > :last-child { grid-column: 1/-1; justify-self: start; text-align: left; }
  .grid-intro-body { display: block; min-height: 0; }
  .grid-intro-copy > p { max-width: 270px; font-size: 22px; }
  .grid-intro-copy > .text-link { margin-top: 26px; width: 195px; }
  #intro-index { margin-top: 42px; padding-bottom: 70px; }
  #intro-index > button { font-size: 13px; padding-block: 12px; grid-template-columns: 24px minmax(0,1fr) 15px; gap: 10px; }
  .section { padding: 70px var(--gutter); }
  .statement { display: block; padding: 16px 0 70px; }
  .statement .section-kicker { font-size: 10px; margin-bottom: 40px; }
  .statement-text { font-size: 29px; margin: 0; }
  .statement-foot { margin-top: 28px; }
  .statement-foot p { font-size: 16px; }
  .section-head { display: block; margin-bottom: 35px; }
  .section-head h2 { font-size: 49px; }
  .section-meta { display: flex; flex-direction: row; justify-content: space-between; gap: 20px; margin-top: 28px; }
  .section-meta > span { font-size: 9px; order: 2; }
  .section-meta p { font-size: 13px; }
  .chapters { padding-top: 0; }
  .search-inline { font-size: 11px; gap: 12px; }
  #chapter-grid { display: block; }
  #chapter-grid .chapter-card { padding-bottom: 48px; }
  .chapter-read-label { opacity: 1; transform: none; }
  .chapter-grid-meta { min-height: 0; grid-template-columns: 28px 1fr; gap: 12px; padding-top: 14px; }
  .chapter-grid-meta h3 { max-width: 30ch; padding-right: 34px; font-size: clamp(22px,5.6vw,28px); }
  .chapter-grid-body { margin-top: 18px; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); align-items: start; gap: 16px; }
  #chapter-grid .chapter-description { grid-column: 1/-1; font-size: 16px; line-height: 1.45; }
  #chapter-grid .chapter-image { grid-column: 2; aspect-ratio: 2/3 !important; }
  #chapter-grid.list .chapter-grid-meta h3 { font-size: clamp(22px,5.6vw,28px); }
  #chapter-grid.list .chapter-grid-body { margin-left: 40px; }
  #chapter-grid.list .chapter-description { font-size: 16px; }
  .practice-grid { display: block; }
  .practice-index-card,.practice-index-card:last-child { min-height: 0; padding: 14px 0 40px; margin: 0 0 30px; width: 100%; }
  .practice-index-card h3 { margin: 35px 0 24px; padding: 0; max-width: 290px; font-size: 30px; }
  .practice-index-card p { margin: 0; padding: 0; font-size: 15px; }
  .practice-card-foot { margin-left: 0; width: 100%; padding-top: 30px; }
  .practice-tool { margin: 0 var(--gutter) 48px; padding: 16px 20px 30px; }
  .practice-tool-rail { font-size: 9px; }
  #reader .practice-tool .case-section-title { font-size: 29px; }
  .motion-content { padding-bottom: 40px; }
  .motion-content h2 { font-size: 32px; }
  .motion-content h2 > span { font-size: 23px; }
  .source-layout { grid-template-columns: 1fr; }
  .law-list { margin-top: 25px; }
  .check-section .section-head h2 { font-size: 39px; }
  .closing { display: flex; flex-direction: column-reverse; gap: 30px; padding: 30px 0 65px; }
  .closing > img { position: static; aspect-ratio: 3/2; filter: grayscale(1); }
  .closing-copy { padding: 0; }
  .closing-copy p { font-size: 60px; margin: 35px 0; }
  .closing-copy > span:last-child { color: #000; }
  .footer-top { gap: 28px; margin-bottom: 40px; }
  .footer-top > p { font-size: 12px; }
  .footer-brand { font-size: 23px; }
  .case-chapter-hero { margin-top: 52px; padding-top: 18px; }
  .case-hero-title-wrap { padding-bottom: 35px; }
  .case-hero-title-wrap > .eyebrow { font-size: 9px; }
  #reader .case-chapter-title,#reader .case-chapter-title.medium,#reader .case-chapter-title.long { font-size: clamp(30px,8.3vw,48px); margin-top: 36px; letter-spacing: -.045em; line-height: 1.05; overflow-wrap: anywhere; }
  #reader .case-chapter-title.longword { font-size: clamp(27px,7.5vw,43px); }
  .case-hero-image { grid-column: 4/-1; aspect-ratio: 2/1; }
  .case-hero-foot { grid-template-columns: 1fr 1fr; gap: 14px; font-size: 8px; }
  .case-hero-foot > span:last-child { display: none; }
  .case-hero-foot button { font-size: 12px; justify-content: flex-end; }
  .case-chapter-overview { padding-top: 60px; padding-bottom: 65px; }
  .case-brief { display: block; margin-bottom: 50px; }
  .case-brief h2 { font-size: 32px; margin-bottom: 30px; }
  .case-brief > p { font-size: 23px; line-height: 1.3; }
  .case-gallery-row { display: block; }
  .case-portrait-frame { width: 72%; max-width: 360px; margin: 0 0 40px auto; }
  .case-outline { padding: 0; }
  .case-outline nav button { font-size: 16px; padding-block: 16px; }
  .case-gallery-detail { margin-top: 30px; }
  #reader .reader-bar { max-width: calc(100vw - var(--rail-width) - 32px); left: calc(var(--rail-width) + 16px); bottom: 16px; padding: 4px 10px; gap: 12px; }
  #reader .reader-bar > div { gap: 13px; padding-left: 12px; }
  #reader .reader-bar > button { font-size: 11px; }
  .case-reading-section { display: block; padding: 20px 0 50px; }
  .case-section-heading { position: static; padding: 0; margin-bottom: 35px; }
  .case-section-heading > .eyebrow { margin-bottom: 25px; font-size: 10px; }
  #reader .case-section-title { font-size: 28px; }
  #reader .guide-copy { font-size: 18px; line-height: 1.65; }
  #reader .guide-copy h3 { font-size: 25px; }
  #reader.large .guide-copy { font-size: 21px; }
  .case-chapter-highlight { padding: 24px 22px 35px; min-height: 0; }
  .case-chapter-highlight blockquote { font-size: 30px; margin: 35px 0; }
  .case-chapter-sources { padding-top: 40px; }
  .case-sources-heading { display: block; }
  .case-sources-heading p { margin-top: 25px; font-size: 14px; }
  #reader #chapter-laws { grid-template-columns: 1fr; }
  #reader .reader-next { padding-bottom: 45px; }
  #reader .case-next-main { gap: 22px; }
  .case-next-copy h2 { font-size: 29px; }
  .case-next-main img { width: 26%; }
  #reader .case-next-main .case-next-arrow { width: 44px; height: 44px; font-size: 22px; }
  .practice-work-head h2 { font-weight: 400; font-size: 29px; }
  .about-dialog .about-title { font-weight: 400; }
}
@media (prefers-reduced-motion: reduce) {
  #chapter-grid .chapter-card:not(.visible) img { clip-path: none; }
  .grid-intro-masthead h1 { animation: none; }
}

/* Compact dialogs: preserve readable body text while reducing the surrounding space. */
dialog { padding: 24px; border-top-width: 10px; }
.dialog-head { gap: 20px; margin-bottom: 18px; }
.law-dialog h2 { font-size: 32px; margin-bottom: 12px; }
.law-dialog .law-version { line-height: 1.5; }
.law-dialog .law-quote { font-size: 16px; line-height: 1.55; padding-left: 16px; margin: 20px 0; }
.law-dialog .source-note { padding: 14px; margin-top: 18px; }
.search-field input { font-size: 24px; padding: 6px 0 14px; }
.about-dialog,.tool-dialog { padding: 0; }
.about-dialog .dialog-head { padding: 10px 32px; }
.about-dialog .about-title { font-size: clamp(26px,3.4vw,38px); }
.about-masthead { padding: 28px 32px 26px; }
.about-subtitle { font-size: 15px; margin-top: 14px; }
.about-layout { padding: 30px 32px 34px; gap: clamp(28px,4vw,52px); }
.about-imprint-group + .about-imprint-group { margin-top: 20px; padding-top: 18px; }
.about-prose p,.about-prose li { font-size: 16px; line-height: 1.55; }
.about-prose p + p { margin-top: 14px; }
.about-prose section + section { margin-top: 28px; padding-top: 22px; }
.about-prose li + li { margin-top: 8px; }
.about-signature { margin-top: 26px; }
.about-dialog .about-colophon { margin-inline: 32px; padding: 20px 0 24px; }
.tool-dialog .dialog-head { padding: 10px 28px; }
.tool-dialog .practice-work-head { padding: 24px 28px 20px; }
.tool-dialog .practice-work-head h2 { font-size: clamp(26px,2.8vw,36px); }
.tool-dialog .practice-work-head > p { font-size: 17px; margin-top: 12px; }
.tool-dialog .practice-work-meta { margin-top: 18px; }
.tool-dialog .practice-stage-tabs { padding: 0 28px 20px; }
.tool-dialog .practice-stage-tabs button { min-height: 46px; padding: 10px 12px; }
.tool-dialog .practice-work-body { padding: 24px 28px 30px; }
.tool-dialog .practice-work-layout { gap: 28px; }
.tool-dialog .practice-guidance h3 { font-size: 21px; margin-bottom: 16px; }
.tool-dialog .practice-guidance p { margin-bottom: 14px; line-height: 1.55; }
.tool-dialog .practice-field { margin-bottom: 16px; }
.tool-dialog .practice-field > span { margin-bottom: 8px; }
.tool-dialog .practice-field textarea { font-size: 16px; min-height: 88px; padding: 12px 14px; }
.tool-dialog .practice-matrix fieldset { margin-bottom: 20px; padding: 16px; }
@media (max-width: 600px) {
  dialog { padding: 18px; }
  .dialog-head { gap: 16px; margin-bottom: 16px; }
  .law-dialog h2 { font-size: 27px; }
  .law-dialog .law-quote { font-size: 16px; line-height: 1.55; padding-left: 12px; margin: 16px 0; }
  .search-field input { font-size: 20px; }
  .about-dialog,.tool-dialog { padding: 0; }
  .about-dialog .dialog-head,.tool-dialog .dialog-head { padding: 10px 20px; }
  .about-dialog .about-title { font-size: clamp(23px,5.6vw,30px); }
  .about-masthead { padding: 22px 20px; }
  .about-subtitle { font-size: 13px; margin-top: 12px; }
  .about-layout { grid-template-columns: minmax(0,1fr); padding: 22px 20px 26px; gap: 24px; }
  .about-prose { padding-top: 22px; }
  .about-prose p + p { margin-top: 12px; }
  .about-dialog .about-colophon { margin-inline: 20px; }
  .tool-dialog .practice-work-head { padding: 20px; }
  .tool-dialog .practice-work-head h2 { font-size: 26px; }
  .tool-dialog .practice-work-head > p { font-size: 16px; }
  .tool-dialog .practice-work-body { padding: 20px; }
  .tool-dialog .practice-stage-tabs { padding: 0 20px 18px; }
  .tool-dialog .practice-guidance h3 { font-size: 20px; }
}
