:root { color-scheme: dark; --ink: #02080f; --surface: #10262c; --mint: #b7f8db; --white: #f4f8f6; --muted: #bbcacb; --edge: #ffffff24; font-family: var(--font-interface); font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { position: relative; isolation: isolate; min-height: 100svh; margin: 0; color: var(--white); background: #080b10; }
/* A single stationary wallpaper layer; only the case content scrolls. */
body::before, body::after { content: ""; position: fixed; pointer-events: none; }
body::before { z-index: -2; inset: -64px; background: #080b10 url('/assets/wallpapers/mojave.jpg') center / cover no-repeat; filter: blur(36px); }
body::after { z-index: -1; inset: 0; background: linear-gradient(180deg, #080b10bd, #080b10d1); }
@media (prefers-contrast: more) { body::after { background: #080b10eb; } }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; background: var(--ink); padding: 12px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-header { position: relative; z-index: 5; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 34px; padding: 0 28px; background: #ffffff08; border-bottom: 1px solid #ffffff1f; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.brand { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 14px; }
.page-languages { display: flex; gap: 4px; }
.page-languages a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 6px; font-size: 13px; text-decoration: none; }
.page-languages a[aria-current] { color: var(--mint); background: #b7f8db20; }
main { max-width: 1200px; margin: auto; padding: 0 40px; }
.case-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; padding: 66px 0 54px; }
h1 { font-size: clamp(34px, 4.5vw, 55px); line-height: 1.09; letter-spacing: -.045em; font-weight: 500; margin: 0 0 24px; }
h1 span { display: block; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 20px; }
.lead { color: #d4e2da; font-size: 18px; line-height: 1.65; max-width: 48ch; margin: 0; }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hero-art { display: block; overflow: hidden; border-radius: 12px; background: #02080f; box-shadow: 0 16px 40px #02080f30; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; }
.case-jump { display: flex; gap: 28px; border-block: 1px solid var(--edge); padding: 10px 0; margin-bottom: 66px; }
.case-jump a { padding: 10px 0; font-size: 14px; text-decoration: none; color: var(--mint); }
.case-reading { max-width: 780px; margin: auto; }
.case-summary { padding: 0 0 36px; }
.case-summary h2 { font-size: 21px; margin-bottom: 22px; }
.case-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin: 0; }
.case-summary dt { color: var(--muted); font-size: 13px; margin-bottom: 9px; }
.case-summary dd { margin: 0; color: #d4e2da; font-size: 16px; line-height: 1.65; }
.case-reading > section { margin-bottom: 72px; }
h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; margin: 0 0 22px; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 500; margin: 36px 0 22px; }
h4 { font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0 0 12px; }
.case-reading p, .interface-list dd { font-size: 17px; line-height: 1.75; color: #d4e2da; margin: 0 0 20px; }
.user-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.user-roles p { font-size: 16px; }
.interface-list { margin: 36px 0 0; }
.interface-list > div { display: grid; grid-template-columns: 175px 1fr; gap: 30px; padding: 24px 0; border-top: 1px solid var(--edge); }
.interface-list dt { line-height: 1.5; font-size: 17px; font-weight: 550; }
.interface-list dd { margin: 0; font-size: 16px; }
.visual-case { border: 1px solid #ffffff40; border-radius: 9px; overflow: hidden; }
.visual-case summary { padding: 20px; cursor: pointer; color: var(--mint); font-size: 16px; line-height: 1.5; }
.visual-case summary:hover { background: #ffffff06; }
.visual-case img { display: block; width: 100%; height: auto; }
.full-size-link { display: block; padding: 0 20px 20px; font-size: 14px; }
.author { display: grid; grid-template-columns: 72px 1fr; align-items: start; gap: 24px; padding-top: 30px; border-top: 1px solid var(--edge); }
.author img { border-radius: 50%; object-fit: cover; object-position: top; }
.author h2 { font-size: 22px; margin-bottom: 12px; }
.author p { font-size: 16px; margin: 0; }
.case-contact { padding: 32px 0 0; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; margin-top: 28px; }
.contact-actions a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.primary-button { color: #102c27; background: var(--mint); border-radius: 7px; padding: 13px 20px; font-weight: 600; text-decoration: none; }
.primary-button:hover { background: #d5ffe9; }
.page-footer { max-width: 1200px; margin: auto; padding: 24px 40px 36px; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.related-cases { max-width: 1200px; margin: auto; padding: 0 40px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: var(--mint); }
.related-cases a { display: inline-flex; align-items: center; min-height: 44px; }
.back-to-top { position: fixed; z-index: 20; right: max(24px, calc((100vw - 1120px) / 2)); bottom: max(24px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #ffffff3d; border-radius: 50%; background: #ffffff10; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 6px 20px #0003; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s 160ms; }
.back-to-top img { display: block; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.page-footer, .related-cases { padding-right: 112px; }
@media (hover: hover) and (pointer: fine) { .back-to-top:hover { background: #ffffff24; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transform: none; transition: opacity 160ms linear, visibility 0s 160ms; } }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .page-header { padding: 0 20px 4px; gap: 0 12px; flex-wrap: wrap; }
  .brand { margin-right: auto; }
  .back-link { order: 3; margin: 0; flex-basis: 100%; }
  main { padding: 0 20px; }
  .case-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 0 36px; }
  .lead { font-size: 17px; }
  .hero-art { max-width: 520px; }
  .case-jump { gap: 22px; flex-wrap: wrap; margin-bottom: 44px; }
  .case-reading > section { margin-bottom: 48px; }
  .user-roles { grid-template-columns: 1fr; gap: 10px; }
  .case-summary dl { grid-template-columns: 1fr; gap: 20px; }
  .interface-list > div { grid-template-columns: 1fr; gap: 12px; }
  .author { grid-template-columns: 52px 1fr; gap: 16px; }
  .author img { width: 52px; height: 52px; }
  .page-footer { padding-inline: 20px; }
  .related-cases { padding-inline: 20px; }
  .page-footer, .related-cases { padding-right: 88px; }
  .back-to-top { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }
}
