.work-card-layer[hidden], .work-card-modal[hidden] { display: none !important; }
.work-card-document, body.work-card-page { background: #071f54; }
.work-card-layer { position: fixed; inset: 0; z-index: 210; display: grid; justify-items: center; background: #071f54; color: #fff; }
.work-card-open { overflow: hidden; }
.work-card-screen { position: relative; width: min(100%, 430px); height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: max(env(safe-area-inset-top), 36px) 0 max(env(safe-area-inset-bottom), 32px); background: #071f54; scrollbar-width: none; }
.work-card-screen::-webkit-scrollbar { display: none; }
body.work-card-page .work-card-layer { display: block; }
body.work-card-page .work-card-screen { width: 100%; max-width: none; padding-top: max(env(safe-area-inset-top), 52px); }
.work-card-document.work-card-viewport-inset .work-card-screen { padding-top: 14px; }
.work-card-backdrop-watermarks { position: absolute; z-index: 0; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(8,1fr); align-items: center; overflow: hidden; color: rgba(151,184,235,.035); font-size: 12px; pointer-events: none; }
.work-card-backdrop-watermarks span { text-align: center; white-space: nowrap; transform: rotate(-14deg); }
.work-card-toolbar { position: relative; z-index: 1; height: 42px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; }
.work-card-toolbar button { width: 40px; height: 40px; display: grid; place-items: center; padding: 5px; color: #fff; }
.work-card-toolbar svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.work-card-toolbar [data-action="work-card-more"] svg { fill: currentColor; stroke: none; }
.work-card-toolbar-right { display: flex; gap: 2px; }
.work-card-heading { position: absolute; left: 50%; top: 50%; width: max-content; margin: 0; transform: translate(-50%,-50%); font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: .02em; }
.work-card-face { position: relative; z-index: 1; width: min(80%,344px); aspect-ratio: .596; margin: 54px auto 0; overflow: hidden; border-radius: 16px; background: #fff; color: #101010; }
.work-card-brand { position: absolute; z-index: 4; top: 9%; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 5px; color: #315e9e; white-space: nowrap; font-size: clamp(15px,4.1vw,19px); font-weight: 600; letter-spacing: -.035em; }
.work-card-brand svg { width: 29px; height: 26px; flex: none; }
.work-card-identity { position: absolute; z-index: 4; top: 23.5%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.work-card-identity strong { font-size: clamp(21px,5.4vw,26px); line-height: 1.25; font-weight: 700; }
.work-card-identity span { margin-top: 2px; font-size: clamp(18px,4.7vw,22px); line-height: 1.25; letter-spacing: .02em; }
.work-card-photo { position: absolute; z-index: 2; bottom: 0; left: 0; width: 100%; height: 68%; object-fit: cover; object-position: center bottom; border-radius: 9%; }
.work-card-watermarks { position: absolute; z-index: 5; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(5,1fr); align-items: center; overflow: hidden; color: rgba(70,101,149,.1); font-size: 11px; pointer-events: none; }
.work-card-watermarks span { text-align: center; white-space: nowrap; transform: rotate(-14deg); }
.work-card-actions { position: relative; z-index: 1; width: min(76%,326px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin: 48px auto 0; }
.work-card-actions button { min-width: 0; height: 50px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 26px; color: #fff; background: #294778; font-size: 14px; white-space: nowrap; }
.work-card-actions svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
body.work-card-page .work-card-screen { animation: work-card-fade-in .32s ease-out both; }
body.work-card-page.work-card-leaving .work-card-screen { animation: work-card-fade-out .2s ease-in both; }
body.work-card-page .work-card-toolbar, body.work-card-page .work-card-face, body.work-card-page .work-card-actions { animation: work-card-rise .36s cubic-bezier(.2,.7,.2,1) both; }
body.work-card-page .work-card-face { animation-delay: 65ms; }
body.work-card-page .work-card-actions { animation-delay: 95ms; }
@keyframes work-card-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes work-card-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes work-card-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { body.work-card-page .work-card-screen, body.work-card-page.work-card-leaving .work-card-screen, body.work-card-page .work-card-toolbar, body.work-card-page .work-card-face, body.work-card-page .work-card-actions { animation: none; } }
.work-card-modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(0,14,42,.65); }
.work-card-modal > div { width: min(100%, 340px); padding: 24px; border-radius: 16px; background: #fff; color: #1f2329; text-align: center; }
.work-card-modal h2 { margin: 0 0 10px; font-size: 18px; }
.work-card-modal p { margin: 0 0 20px; color: #596171; font-size: 13px; line-height: 1.6; }
.work-card-modal-input[hidden] { display: none; }
.work-card-modal-input { display: block; margin: -3px 0 20px; }
.work-card-modal-input input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #cdd4e0; border-radius: 8px; color: #1f2329; background: #fff; font: inherit; font-size: 14px; outline: none; }
.work-card-modal-input input:focus { border-color: #25477f; box-shadow: 0 0 0 2px rgba(37,71,127,.12); }
.work-card-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work-card-modal button { width: 100%; height: 40px; border-radius: 8px; background: #25477f; color: #fff; font-size: 14px; }
.work-card-modal button:first-child { border: 1px solid #d5dbe5; color: #34405a; background: #fff; }
.work-card-modal-actions.single { grid-template-columns: 1fr; }
.work-card-modal-actions.single button:first-child { display: none; }
@media (max-width: 350px) { .work-card-actions { gap: 12px; width: 80%; } .work-card-actions button { font-size: 12px; } }
