body:has(.osc) #header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 #ddd; }
body:has(.osc) #header:not(.solid):not(:hover):not(:focus-within) .brand img { filter: none; }
.osc { --case-red: var(--red,#bd151d); padding-top: var(--header-height,66px); color: #252629; }
.osc-wrap { width: min(92%, 1440px); margin: 0 auto; }
.osc-banner { display: grid; align-items: center; min-height: clamp(194px,19vw,280px); padding: 34px 0; background: linear-gradient(95deg,#121c24e8,#17212aac 52%,#14202a60),var(--osc-banner) center 48% / cover; color: white; }
.osc-banner h1 { color: #fff; font: 600 clamp(27px,2.6vw,39px)/1.18 Poppins,Arial,sans-serif; max-width: 34ch; margin: 0; letter-spacing: -.03em; }
.osc-crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6em; margin-top: 12px; font-size: .84rem; line-height: 1.55; }
.osc-crumb a { color: #e8edf0; }.osc-crumb a:hover { text-decoration: underline; }.osc-crumb [aria-current] { font-weight: 600; }
.osc-layout { display: grid; grid-template-columns: minmax(0,3fr) minmax(218px,1fr); align-items: start; gap: clamp(24px,3vw,46px); padding: clamp(32px,3.5vw,52px) 0 clamp(50px,6vw,90px); }
.osc-intro { margin: 0 0 24px; }
.osc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,2vw,32px); }
.osc-visual { position: relative; }
.osc-image { display: block; aspect-ratio: 5 / 4; overflow: hidden; border: 1px solid #e3e4e6; border-radius: 8px; background: #fff; }
.osc-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.osc-image img[src*="oushida-case-poland-cover"] { object-fit: contain; padding: 6px; }
.osc-card:focus-within .osc-image img,.osc-card:hover .osc-image img { transform: scale(1.025); }
.osc-card h2 { margin: 13px 0 0; font: 600 clamp(17px,1.45vw,22px)/1.4 Poppins,Arial,sans-serif; letter-spacing: -.025em; }
.osc-card h2 a:hover,.osc-side a:hover { color: var(--case-red); }
.osc-enlarge { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #222; background: #fff; box-shadow: 0 1px 6px #0002; }
@media(hover:hover) { .osc-enlarge { opacity: 0; }.osc-card:focus-within .osc-enlarge,.osc-card:hover .osc-enlarge { opacity: 1; } }
.osc a:focus-visible,.osc button:focus-visible,.osc input:focus-visible { outline: 2px solid var(--case-red); outline-offset: 2px; }
.osc-side section + section { margin-top: 28px; padding-top: 25px; border-top: 1px solid #e1e2e4; }
.osc-side h2,.osc-side label { display: block; margin: 0 0 14px; font: 600 15px/1.4 Poppins,Arial,sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.osc-field { display: flex; align-items: stretch; border: 1px solid #c9ccce; border-radius: 5px; background: white; }
.osc-field input { min-width: 0; width: 100%; padding: 10px 12px; border: 0; border-radius: 5px; font: inherit; font-size: .93rem; }
.osc-field button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; background: none; color: #414347; cursor: pointer; }
.osc-side ul { list-style: none; padding: 0; margin: 0; }
.osc-links li + li { border-top: 1px solid #e8e9ea; }
.osc-links a { display: block; padding: 12px 0; font-size: .94rem; line-height: 1.5; }.osc-no-match { margin-top: 14px; }.osc-no-match a,.osc-back { color: var(--case-red); }
.osc-story { display: flow-root; min-width: 0; line-height: 1.75; }
.osc-story p { margin: 0 0 1.1em; max-width: 78ch; }
.osc-story > p:first-child { font-size: clamp(17px,1.4vw,21px); color: #343a40; }
.osc-story h2 { margin: 24px 0 8px; font: 600 clamp(20px,1.8vw,26px)/1.3 Poppins,Arial,sans-serif; letter-spacing: -.025em; }
.osc-story figure { margin: 22px 0; }
.osc-story figure img { display: block; width: 100%; max-height: 430px; object-fit: contain; border-radius: 6px; background: #f6f7f8; }
.osc-story figure:first-of-type { float: right; width: 43%; margin: 5px 0 18px clamp(18px,2.2vw,32px); }
.osc-story figure:first-of-type img { border: 1px solid #e5e6e7; background: #fff; }
.osc-story figure:not(:first-of-type) { clear: both; }
.osc-story figcaption { color: #62666a; text-align: left; font-size: .85rem; margin: 7px 0 0; }
.osc-back { display: inline-block; margin-top: 16px; font-weight: 600; }
.osc-dialog { width: min(92vw,1000px); max-height: 94dvh; margin: auto; padding: 15px; border: 0; border-radius: 8px; color: #27292b; background: #fff; }
.osc-dialog::backdrop { background: #101820cc; }.osc-dialog div { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.osc-dialog button { border: 1px solid #ddd; background: white; border-radius: 50%; width: 40px; height: 40px; font-size: 22px; flex: none; cursor: pointer; }.osc-dialog img { width: 100%; height: min(68vh,710px); object-fit: contain; }
@media(max-width:850px) { .osc-layout { grid-template-columns: minmax(0,1fr); }.osc-side { border-top: 1px solid #ddd; padding-top: 22px; } }
@media(max-width:620px) { .osc-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }.osc-banner { min-height: 180px; }.osc-story figure:first-of-type { float: none; width: 100%; margin: 18px 0; } }
@media(prefers-reduced-motion:reduce) { .osc-image img { transition: none; } }
