/* Apple Design principles, adapted for a Chinese legal information website. */
:root {
  color-scheme: light dark;
  --ink: #1a2332;
  --muted: #5f6875;
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --line: #d8dce3;
  --gold: #896733;
  --gold-light: #c9a86c;
  --nav-fill: rgba(255, 255, 255, .9);
  --navy: #1a2332;
  --on-navy: #ffffff;
  --color-primary: var(--ink);
  --color-text: var(--ink);
  --color-text-light: var(--muted);
  --color-bg: var(--canvas);
  --color-white: var(--surface);
  --color-secondary: var(--gold);
  --color-accent: var(--ink);
  --color-border: var(--line);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: var(--font-sans);
  --transition: .2s ease;
  --radius: 24px;
  --shadow: 0 12px 40px rgba(26, 35, 50, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #e9d8b9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1200; padding: 12px 20px; background: var(--ink); color: var(--surface); border-radius: 12px; }
.skip-link:focus { top: 16px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--nav-fill); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; flex: 0 0 auto; text-decoration: none; line-height: 1.35; }
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; }
.brand-name small { font-size: .75rem; margin-left: 7px; font-weight: 500; letter-spacing: 0; }
.brand-detail { font-size: .6875rem; color: var(--muted); letter-spacing: .12em; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.site-nav > a.nav-contact { padding-inline: 20px; background: var(--ink); color: var(--surface); border-radius: 999px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; min-height: 44px; font-size: .875rem; }
.menu-toggle svg { width: 18px; height: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--gold); letter-spacing: .06em; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.home-hero { background: var(--canvas); padding: 56px 0 0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; }
.hero-copy { padding-block: 16px 38px; }
.hero-copy h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1.2; letter-spacing: -.045em; }
.hero-copy h1 span { color: var(--gold); }
.hero-intro { margin-top: 26px; max-width: 29em; color: var(--muted); font-size: 1.0625rem; line-height: 1.95; }
.hero-name { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; }
.hero-name strong { font-size: 1.25rem; }
.hero-name span { color: var(--muted); font-size: .875rem; }
.actions { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 30px; }
.button { min-height: 48px; padding: 11px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; border: 1px solid transparent; font-size: .9375rem; font-weight: 600; text-decoration: none; background: var(--ink); color: var(--surface); transition: background .2s, transform .2s; }
.button:hover { opacity: .9; }
.button:active { transform: scale(.98); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: .9375rem; font-weight: 600; color: var(--gold); }
.text-link:hover { text-decoration: underline; }
.portrait { position: relative; border-radius: 28px; overflow: hidden; background: #dce0e4; margin-bottom: 40px; }
.portrait > img { width: 100%; aspect-ratio: 4/4.8; object-fit: cover; object-position: 50% 20%; }
.portrait figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 50px 28px 24px; color: white; background: linear-gradient(transparent, rgba(10,20,36,.85)); }
.portrait figcaption strong { font-size: 1.25rem; display: block; }
.portrait figcaption span { font-size: .8125rem; color: #eceef2; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.hero-foot p { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-foot .location { white-space: nowrap; }
.section { padding-block: 100px; scroll-margin-top: 90px; }
.section.soft { background: var(--canvas); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section-top h2 { font-size: clamp(1.9rem, 3vw, 2.625rem); letter-spacing: -.04em; }
.section-top .eyebrow { margin-bottom: 12px; }
.section-note { margin-top: 16px; color: var(--muted); max-width: 36em; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { background: var(--canvas); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: start; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--gold); margin-bottom: 28px; }
.service-icon svg { width: 36px; height: 36px; }
.service-card h3 { font-size: 1.375rem; margin-bottom: 14px; }
.service-card p { font-size: .9375rem; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.service-card a { margin-top: auto; }
.case-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.highlight-card { display: flex; flex-direction: column; align-items: start; border-radius: var(--radius); padding: 36px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.highlight-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.highlight-card.is-navy { color: var(--on-navy); background: var(--navy); border-color: var(--navy); }
.case-label { display: block; color: var(--gold); font-size: .8125rem; font-weight: 600; margin-bottom: 24px; }
.is-navy .case-label { color: var(--gold-light); }
.case-visual { min-height: 126px; padding-bottom: 24px; display: flex; align-items: baseline; gap: 10px; color: var(--gold); }
.case-visual strong { font-size: 4.5rem; line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.case-visual span { font-size: .875rem; }
.case-visual.words { align-items: start; }
.case-visual.words strong { font-size: 2.875rem; line-height: 1.2; }
.is-navy .case-visual { color: var(--gold-light); }
.highlight-card h3 { font-size: 1.375rem; margin-bottom: 16px; }
.highlight-card > p { font-size: .9375rem; line-height: 1.9; color: var(--muted); margin-bottom: 24px; }
.is-navy > p { color: #e3e7ec; }
.card-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-top: 20px; border-top: 1px solid var(--line); margin-top: auto; font-size: .875rem; font-weight: 600; }
.is-navy .card-link { border-color: #536073; }
.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.about-image figcaption { font-size: .8125rem; color: var(--muted); margin-top: 16px; }
.about-copy h2 { font-size: 2.5rem; margin-bottom: 24px; }
.about-copy > p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; line-height: 1.95; }
.about-facts { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.about-facts > div { padding-top: 20px; }
.about-facts dt { color: var(--muted); font-size: .8125rem; }
.about-facts dd { margin: 4px 0 0; font-size: .9375rem; font-weight: 600; }
.credentials { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.credentials h3 { font-size: 1.5rem; margin-bottom: 24px; }
.honor-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.honor-list li { padding: 18px 0; display: flex; align-items: start; gap: 14px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.honor-list span { flex: 0 0 auto; font-size: .75rem; color: var(--gold); padding-top: 3px; }
.certificates { margin-top: 32px; scroll-margin-top: 110px; }
.certificates > summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 48px; font-size: .9375rem; font-weight: 600; }
.certificates > summary::-webkit-details-marker { display: none; }
.certificates > summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); }
.certificates[open] > summary::after { content: '−'; }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.cert-card { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); }
.cert-card img { width: 100%; height: 160px; object-fit: contain; padding: 16px; background: #f3f0ea; }
.cert-card span { display: block; padding: 14px; font-size: .8125rem; line-height: 1.6; }
.faq-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 80px; }
.faq-layout h2 { font-size: 2.5rem; }
.faq-layout .section-note { font-size: .9375rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; list-style: none; font-size: 1.0625rem; font-weight: 600; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold); font-size: 1.375rem; font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: .9375rem; color: var(--muted); margin-top: 12px; }
.faq-list .text-link { font-size: .875rem; margin-top: 10px; }
.contact-panel { background: var(--navy); color: var(--on-navy); border-radius: 28px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); overflow: hidden; }
.contact-copy { padding: 52px; }
.contact-copy .eyebrow { color: var(--gold-light); }
.contact-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.contact-copy > p { font-size: .9375rem; color: #e0e5ec; margin-top: 18px; }
.contact-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-light); text-decoration: none; font-size: clamp(1.65rem, 2.7vw, 2.25rem); font-weight: 600; letter-spacing: -.025em; margin-top: 20px; }
.contact-details { display: grid; gap: 16px; margin-top: 24px; font-size: .875rem; }
.contact-details dt { color: #d4dbe4; font-size: .75rem; }
.contact-details dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-image { position: relative; min-height: 320px; }
.contact-image img { position: absolute; height: 100%; width: 100%; object-fit: cover; }
.site-footer { padding: 40px 0 28px; background: var(--canvas); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand { font-size: .9375rem; font-weight: 650; }
.footer-brand span { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); margin-top: 4px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .8125rem; text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; font-size: .75rem; color: var(--muted); display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.footer-legal p:first-child { max-width: 60em; }
.footer-legal p:last-child { white-space: nowrap; }
.scroll-top { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.25rem; box-shadow: var(--shadow); }
.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; padding: 70px 24px 48px; background: rgba(8,14,24,.95); flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lightbox.active { display: flex; }
.lightbox[open] { display: flex; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; }
.lightbox::backdrop { background: rgba(8,14,24,.95); }
.lightbox > img { object-fit: contain; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 180px); }
.lightbox-close { position: absolute; top: 16px; right: 16px; min-width: 48px; min-height: 48px; border: 1px solid #7e8793; background: #1a2332; border-radius: 50%; color: white; font-size: 1.5rem; }
.lightbox-caption { color: white; font-size: .875rem; text-align: center; }
.page-intro { padding: 76px 0 48px; background: var(--canvas); }
.page-intro h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.2; }
.page-intro .lead { max-width: 39em; margin-top: 20px; color: var(--muted); }
.breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { display: inline-flex; align-items: center; }
.listing-section { padding: 48px 0 90px; }
.listing-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.listing-count { color: var(--muted); font-size: .875rem; }
.search-field { display: flex; align-items: center; gap: 10px; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; width: min(100%,360px); }
.search-field svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); }
.search-field input { border: 0; background: transparent; color: var(--ink); width: 100%; min-width: 0; min-height: 48px; padding-block: 12px; font-size: .9375rem; line-height: 1.4; }
.search-field input::placeholder { color: var(--muted); }
.search-field:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.search-field input:focus-visible { outline: none; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-tile { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: start; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.article-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.article-tile .tile-topic { font-size: .8125rem; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.article-tile h2 { font-size: 1.375rem; line-height: 1.55; margin-bottom: 16px; }
.article-tile > p { font-size: .9375rem; color: var(--muted); line-height: 1.9; margin-bottom: 28px; }
.article-tile .tile-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; font-size: .8125rem; color: var(--muted); }
.tile-footer span { color: var(--gold); font-weight: 600; }
.article-tile.featured { grid-column: 1 / -1; background: var(--navy); color: white; padding: 40px; }
.article-tile.featured .tile-topic, .article-tile.featured .tile-footer span { color: var(--gold-light); }
.article-tile.featured h2 { font-size: 1.875rem; max-width: 28em; }
.article-tile.featured > p { color: #e0e5ec; max-width: 55em; }
.article-tile.featured .tile-footer { color: #d4dbe4; border-color: #536073; }
.empty-state { text-align: center; padding: 64px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); margin: 12px 0 24px; }
.case-list { display: grid; gap: 28px; }
.case-entry { display: grid; grid-template-columns: 240px minmax(0,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.case-entry:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.case-entry-cover { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: 32px; background: var(--navy); color: white; }
.case-entry-cover > span { font-size: .8125rem; color: var(--gold-light); margin-bottom: 24px; }
.case-entry-cover strong { font-size: 3.75rem; font-weight: 600; line-height: 1.2; letter-spacing: -.045em; color: var(--gold-light); }
.case-entry-cover .cover-words { font-size: 2.375rem; }
.case-entry-cover small { font-size: .8125rem; margin-top: 12px; color: #e0e5ec; }
.case-entry-body { padding: 36px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag-row span { padding: 4px 10px; font-size: .75rem; color: var(--gold); background: var(--canvas); border-radius: 6px; }
.case-entry h2 { font-size: 1.375rem; line-height: 1.55; margin-bottom: 14px; }
.case-entry-summary { font-size: .9375rem; color: var(--muted); margin-bottom: 24px; }
.case-entry-meta { padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: .8125rem; color: var(--muted); }
.case-entry-meta span { display: block; overflow-wrap: anywhere; }
.case-entry-meta strong { color: var(--ink); font-weight: 500; }
.case-entry .entry-link { display: flex; justify-content: space-between; margin-top: 24px; font-size: .875rem; font-weight: 600; color: var(--gold); }
.listing-end { color: var(--muted); font-size: .875rem; text-align: center; margin-top: 48px; }
@media (max-width: 62.5em) {
  .site-nav { gap: 18px; }
  .hero-layout { gap: 36px; }
  .hero-copy h1 { font-size: 3.125rem; }
  .service-card { padding: 26px; }
  .about-layout, .faq-layout { gap: 44px; }
  .contact-copy { padding: 36px; }
}
@media (max-width: 50em) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; position: relative; flex-wrap: wrap; gap: 0; }
  .brand { padding-block: 12px; }
  .brand-name { font-size: 1.125rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: start; gap: 8px 24px; padding-bottom: 20px; }
  .js-enabled .site-nav { display: none; }
  .js-enabled .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 44px; }
  .home-hero { padding-top: 36px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-copy h1 { font-size: clamp(2rem, 5.4vw, 3rem); }
  .hero-intro { font-size: .9375rem; }
  .hero-name { margin-top: 20px; }
  .hero-name span { font-size: .8125rem; }
  .portrait { margin-bottom: 24px; }
  .portrait > img { aspect-ratio: 3/4.2; }
  .portrait figcaption { padding-inline: 20px; }
  .hero-foot { flex-wrap: wrap; }
  .section { padding-block: 72px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px; }
  .service-icon { margin-bottom: 18px; }
  .service-card p { margin-bottom: 12px; }
  .highlight-card { padding: 28px; }
  .case-visual strong { font-size: 3.75rem; }
  .case-visual.words strong { font-size: 2.25rem; }
  .highlight-card h3 { font-size: 1.25rem; }
  .about-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 32px; }
  .about-copy h2, .faq-layout h2 { font-size: 2rem; }
  .cert-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-panel { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
  .contact-copy { padding: 32px; }
  .footer-top { align-items: start; }
  .footer-nav { gap: 12px 20px; }
  .footer-legal { flex-direction: column; gap: 12px; }
  .page-intro { padding-top: 48px; }
  .case-entry { grid-template-columns: 190px minmax(0,1fr); }
  .case-entry-cover { padding: 24px; }
  .case-entry-body { padding: 28px; }
  .case-entry-meta { grid-template-columns: 1fr; }
}
@media (max-width: 36.25em) {
  html { scroll-padding-top: 5.625rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 16px; }
  .hero-copy { padding-block: 0 16px; }
  .hero-copy h1 { font-size: clamp(2.125rem, 8.6vw, 3rem); }
  .eyebrow { font-size: .8125rem; margin-bottom: 18px; }
  .hero-intro { margin-top: 20px; font-size: 1rem; }
  .actions { gap: 12px 20px; margin-top: 24px; }
  .button { padding-inline: 20px; }
  .portrait { border-radius: 22px; margin-bottom: 20px; }
  .portrait > img { aspect-ratio: 1/1.05; object-position: 50% 24%; }
  .portrait figcaption { padding: 50px 22px 20px; }
  .hero-foot { font-size: .75rem; gap: 10px; padding-block: 20px; }
  .hero-foot p { gap: 8px 18px; }
  .section { padding-block: 56px; }
  .section-top { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .section-top h2, .about-copy h2, .faq-layout h2 { font-size: 1.875rem; }
  .section-note { font-size: 1rem; }
  .case-highlights, .about-layout, .honor-list, .contact-panel { grid-template-columns: 1fr; }
  .highlight-card { padding: 28px; }
  .case-visual { min-height: 112px; }
  .case-visual strong { font-size: 4rem; }
  .about-image img { max-height: 420px; aspect-ratio: 1/1; object-position: 50% 22%; }
  .about-facts { gap: 0 18px; }
  .credentials { margin-top: 44px; padding-top: 32px; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-card img { height: 140px; }
  .cert-card span { padding: 12px; }
  .contact-copy { padding: 30px 24px; }
  .contact-image { min-height: 230px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .page-intro { padding: 36px 0; }
  .page-intro h1 { font-size: 2.25rem; }
  .page-intro .lead { font-size: 1rem; }
  .breadcrumb { margin-bottom: 20px; }
  .listing-section { padding-block: 28px 56px; }
  .listing-tools { flex-direction: column-reverse; align-items: stretch; gap: 16px; margin-bottom: 24px; }
  .search-field { width: 100%; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-tile, .article-tile.featured { padding: 26px; }
  .article-tile.featured h2 { font-size: 1.5rem; }
  .article-tile h2 { font-size: 1.25rem; }
  .case-entry { grid-template-columns: 1fr; }
  .case-entry-cover { min-height: 180px; padding: 28px; }
  .case-entry-cover > span { margin-bottom: 12px; }
  .case-entry-cover strong { font-size: 3.5rem; }
  .case-entry-cover small { margin-top: 6px; }
  .case-entry-cover .cover-words { font-size: 2rem; }
  .case-entry-body { padding: 26px; }
  .scroll-top { bottom: 18px; right: 18px; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f3f5; --muted: #b4bcc8; --surface: #161b23; --canvas: #10141b; --line: #3d4654; --gold: #d5b77f; --nav-fill: rgba(22,27,35,.94); --color-warn: #e7c38a; --color-warn-bg: #322b20; }
  ::selection { color: #111722; background: #e9d8b9; }
  .portrait { background: #292f38; }
  .contact-panel, .highlight-card.is-navy, .article-tile.featured, .case-entry-cover { background: #202d40; }
  .search-field { background: var(--surface); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #343f50; --line: #757e8c; --gold: #725020; }
}
@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root { --muted: #e0e5ed; --line: #a1adbd; --gold: #e7c995; }
}
@media print {
  .site-header, .site-footer, .scroll-top, .lightbox, .skip-link { display: none !important; }
  body { color: #111; background: white; }
  .wrap { width: 100%; }
  .section { padding-block: 24px; }
}
