/* Project video: one quiet card action, matching the existing green and beige. */
.project-source{justify-content:stretch;min-width:0}
.project-video-card{position:relative;display:grid;grid-template-columns:38% minmax(0,1fr);background:var(--green);color:var(--cream);border-radius:16px;isolation:isolate;box-shadow:0 12px 28px #11342412}
.project-video-card .project-video-poster{position:relative;min-height:240px;height:100%;overflow:hidden;border-radius:16px 0 0 16px;margin:0;background:var(--green)}
.project-video-poster img{height:100%;width:100%;object-fit:cover;transition:transform .45s ease}
.project-video-poster::before{content:'';position:absolute;z-index:1;left:50%;top:50%;width:58px;height:58px;border-radius:50%;background:#ead6bc;transform:translate(-50%,-50%);box-shadow:0 4px 20px #0003}
.project-video-poster::after{content:'';position:absolute;z-index:2;left:50%;top:50%;width:16px;height:20px;background:var(--green);clip-path:polygon(0 0,100% 50%,0 100%);transform:translate(-35%,-50%)}
.project-video-copy{padding:28px 26px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;min-width:0}
.project-video-copy>.eyebrow{color:#dfc6a8;font-size:14px;letter-spacing:.7px;line-height:1.5}
.project-video-copy h3{color:var(--cream);font-size:clamp(22px,1.9vw,27px);line-height:1.2;letter-spacing:-.5px}
.project-video-copy .wp-block-buttons{margin:4px 0 0;gap:0}
.project-video-card .project-video-action{margin:0;background:transparent;min-height:0;min-width:0;border-radius:10px}
.project-video-card .project-video-action a{position:static;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;background:#ead6bc;color:var(--green);border-radius:10px;font-size:15px;font-weight:650;line-height:1.5;text-decoration:none;white-space:normal}
.project-video-action a::after{content:'';position:absolute;inset:0;border-radius:16px;z-index:3}
.project-video-card:focus-within{outline:3px solid #9b6433;outline-offset:5px}
.project-video-card .project-video-action a:focus-visible{outline:none}
body.has-project-video-open{overflow:hidden}
.project-video-dialog{border:0;border-radius:18px;padding:0;background:var(--green);color:var(--cream);width:min(510px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 90px #0006}
.project-video-dialog::backdrop{background:#061d17e8;backdrop-filter:blur(6px)}
.project-video-dialog-head{display:flex;align-items:center;gap:20px;padding:18px 20px 18px 24px;min-height:80px}
.project-video-dialog-title{font:650 17px/1.45 Montserrat,Arial,sans-serif;letter-spacing:0;margin:0;flex:1;min-width:0}
.project-video-close{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:44px;height:44px;border:0;border-radius:10px;background:#ead6bc;color:var(--green);font-size:29px;font-weight:400;line-height:1;cursor:pointer}
.project-video-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:160px;background:#071b14}
.project-video-stage video{display:block;width:100%;height:min(72dvh,720px);max-height:calc(100dvh - 150px);object-fit:contain;background:#071b14}
.project-video-status{position:absolute;left:16px;right:16px;top:50%;transform:translateY(-50%);padding:14px 20px;border-radius:10px;background:#113424ed;color:#fff;text-align:center;font-size:16px;line-height:1.6;pointer-events:none}
.project-video-status[hidden]{display:none}
.project-video-error{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;padding:32px 24px;background:var(--cream);color:var(--green)}
.project-video-error[hidden]{display:none}
.project-video-error p{font-size:16px;line-height:1.7}
.project-video-retry{min-height:48px;padding:12px 22px;background:var(--green);color:white;border:0;border-radius:10px;font-size:16px;cursor:pointer}
.project-video-dialog.has-video-error .project-video-stage{display:none}
@media(hover:hover) and (pointer:fine){.project-video-card:hover .project-video-poster img{transform:scale(1.045)}.project-video-card:hover .project-video-action a,.project-video-close:hover{background:#fff0db}}
@media(max-width:959px){.project-video-card{grid-template-columns:36% minmax(0,1fr)}.project-video-copy{padding:24px 20px}.project-video-copy h3{font-size:23px}.project-video-card .project-video-action a{padding-inline:15px;font-size:14px}}
@media(max-width:759px){.project-video-card{grid-template-columns:38% minmax(0,1fr)}.project-video-copy h3{font-size:26px}.project-source{gap:20px}}
@media(max-width:639px){.project-video-card{grid-template-columns:34% minmax(0,1fr)}.project-video-copy{padding:24px 18px;gap:14px}.project-video-copy h3{font-size:23px}.project-video-card .project-video-poster{min-height:240px}.project-video-poster::before{width:50px;height:50px}.project-video-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.project-video-dialog-head{padding:14px 14px 14px 18px;gap:14px;min-height:76px}.project-video-dialog-title{font-size:16px}.project-video-stage video{max-height:calc(100dvh - 150px);height:72dvh}}
@media(prefers-reduced-motion:reduce){.project-video-poster img{transition:none!important;transform:none!important}}
