/* DFP scroll-motion hero DRAFT v3 (nov21) - not live.
   Default = static, readable layout (no JS / reduced motion). Scroll animation only under .dsx.is-motion (added by scroll.js). */
.dsx{--hh:68px;--bb:0px;position:relative;padding:0;background:#122440;color:#fff}
#quote{scroll-margin-top:130px}
#quote-h:focus{outline:none}#quote-h:focus-visible{outline:3px solid #81B247;outline-offset:4px}

/* ---------- static (default) ---------- */
.dsx-stage{position:relative;max-width:1240px;margin:0 auto;padding:32px 16px 48px;display:grid;gap:22px}
.dsx-back,.dsx-before,.dsx-shade,.dsx-hint,.dsx-bb{display:none}
.dsx-copy{order:-2}.dsx-line{order:-1}
@media (min-width:761px){.dsx-stage{grid-template-columns:minmax(0,1fr) minmax(0,520px);column-gap:48px;align-items:start}.dsx-box{grid-column:2;grid-row:1/span 4;width:100%}}
.dsx-box{position:relative;width:min(100%,520px);aspect-ratio:1080/1350;border-radius:12px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.dsx-box img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.dsx-warm{position:absolute;inset:0;pointer-events:none;opacity:0}
.dsx-eye{margin:0;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#CFE4B2}
.dsx-copy h1{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:clamp(36px,5vw,76px);line-height:1.02;letter-spacing:-.015em;margin:14px 0 18px;text-wrap:balance}
.dsx-copy h1 em{font-style:italic;font-weight:400;color:#CFE4B2}
.dsx-copy p.dsx-sub{margin:0;font-size:clamp(17px,1.4vw,21px);color:#E3EAF3}
.dsx-line{max-width:520px;background:#1A2E50;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:18px 22px}
.dsx-line h2{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:clamp(24px,2.4vw,34px);line-height:1.12;margin:0}
.dsx-line h2 em{font-style:italic;color:#CFE4B2}
.dsx-line p{margin:8px 0 0;font-size:16px;color:#E3EAF3}
.dsx-proof{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.dsx-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.dsx-chips li{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(18,36,64,.88);border:1px solid rgba(255,255,255,.22);font-size:15px;font-weight:700}
.dsx-chips svg{stroke:#81B247;flex:none}
.dsx-note{margin:0;display:inline-block;padding:9px 14px;border-radius:10px;background:#FFFFFF;color:#1D355B;font-size:15px;font-weight:700;line-height:1.3;box-shadow:0 10px 26px rgba(0,0,0,.3)}
.dsx-fin{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px}
.dsx-crew{margin:0;width:clamp(220px,19vw,300px);background:#fff;color:#1D355B;border-radius:14px;padding:8px 8px 0;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.dsx-crew img{display:block;width:100%;height:auto;aspect-ratio:675/900;object-fit:cover;object-position:50% 25%;border-radius:9px}
.dsx-crew figcaption{padding:10px 6px 12px;font-family:'Fraunces',Georgia,serif;font-size:19px;line-height:1.2;font-weight:500}
.dsx-crew figcaption em{font-style:italic;color:#3F6A14}
.dsx-end{max-width:460px;background:#1A2E50;border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:22px 24px}
.dsx-end h2{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:clamp(30px,3vw,46px);line-height:1.04;margin:0 0 16px}
.dsx-end h2 em{font-style:italic;color:#CFE4B2}
.dsx-acts{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.dsx-acts .btn{min-height:56px}
@media (max-width:760px){
 .dsx-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .dsx-acts .btn:first-child{grid-column:1/-1}
 .dsx-acts .btn{width:100%;font-size:16px;min-height:52px;padding:0 10px;white-space:nowrap}
 .dsx-crew{width:100%}
}

/* ---------- motion (JS adds .is-motion) ---------- */
.dsx.is-motion{height:260svh}
.is-motion .dsx-stage{grid-template-columns:none;position:sticky;top:var(--hh);max-width:none;margin:0;padding:0;display:block;height:calc(100vh - var(--hh));height:calc(100svh - var(--hh));overflow:hidden;isolation:isolate;background:#122440}
.is-motion .dsx-back{display:block;position:absolute;inset:-8%;will-change:transform}
.is-motion .dsx-back img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:blur(22px) brightness(.45) saturate(1.1)}
.is-motion .dsx-ba{opacity:0}
.is-motion .dsx-box{position:absolute;left:0;top:0;width:0;height:0;aspect-ratio:auto;will-change:transform;transform-origin:50% 60%;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.is-motion .dsx-before{display:block}
.is-motion .dsx-after{visibility:hidden;will-change:clip-path}
.dsx-edge,.dsx-seam{position:absolute;left:0;pointer-events:none;opacity:0;will-change:transform,opacity}
.dsx-edge{width:22px;background:linear-gradient(90deg,rgba(255,255,255,.55) 0,rgba(255,255,255,.55) 1px,rgba(0,0,0,.42) 1px,rgba(0,0,0,0) 100%)}
.dsx-seam{width:100%;height:2px;transform-origin:0 0;background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(255,255,255,.18))}
.is-motion .dsx-warm{background:radial-gradient(ellipse at 70% 20%,rgba(255,206,140,.38) 0%,rgba(255,206,140,.12) 40%,rgba(255,206,140,0) 70%)}
.is-motion .dsx-shade{display:block;position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(18,36,64,.78) 0%,rgba(18,36,64,.35) 40%,rgba(18,36,64,0) 62%)}
.is-motion .dsx-copy{position:absolute;z-index:5;left:max(20px,6vw);top:50%;transform:translateY(-50%);max-width:min(560px,44vw);will-change:transform,opacity}
.is-motion .dsx-copy h1{text-shadow:0 2px 16px rgba(0,0,0,.35)}
.is-motion .dsx-copy p.dsx-sub{text-shadow:0 2px 12px rgba(0,0,0,.4)}
.is-motion .dsx-line{position:absolute;z-index:5;left:max(20px,6vw);bottom:18%;max-width:400px;padding:24px;background:#122440;border-radius:8px;box-shadow:0 20px 50px rgba(0,0,0,.45);opacity:0;visibility:hidden;will-change:opacity,transform}
.is-motion .dsx-line h2{font-size:clamp(30px,2.8vw,40px)}
.is-motion .dsx-line p{font-size:18px;margin-top:10px}
.is-motion .dsx-proof{position:absolute;z-index:6;left:max(20px,6vw);top:8%;max-width:44vw;opacity:0;visibility:hidden;will-change:opacity,transform}
.is-motion .dsx-chips li{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.is-motion .dsx-fin{position:absolute;z-index:6;left:max(20px,6vw);bottom:7%;flex-wrap:nowrap;gap:clamp(20px,2.4vw,36px);pointer-events:none}
.is-motion .dsx-fin>*{pointer-events:auto}
.is-motion .dsx-crew{opacity:0;visibility:hidden;will-change:transform,opacity}
.is-motion .dsx-crew img{max-height:calc(100svh - var(--hh) - 300px)}
.is-motion .dsx-end{opacity:0;visibility:hidden;will-change:opacity,transform;background:rgba(18,36,64,.9);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.is-motion .dsx-hint{display:block;position:absolute;z-index:6;left:50%;bottom:18px;transform:translateX(-50%);font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;opacity:.8;pointer-events:none}
.is-motion .dsx-hint:after{content:'';display:block;width:1px;height:30px;margin:8px auto 0;background:#81B247;animation:dsxh 1.8s ease-in-out infinite}
@keyframes dsxh{0%,100%{transform:scaleY(.3);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}}
.dsxw{display:inline-block}
.dsx-split .dsxw{opacity:0;transform:translateY(.6em);filter:blur(8px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1),filter .8s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--i)*55ms)}
.dsx-split.dsx-in .dsxw{opacity:1;transform:none;filter:none}
@media (max-width:760px){
 .dsx.is-motion{height:220svh}
 .is-motion .dsx-box{border-radius:0;box-shadow:0 18px 40px rgba(0,0,0,.45)}
 .is-motion .dsx-shade{background:linear-gradient(180deg,rgba(18,36,64,.82) 0%,rgba(18,36,64,.4) 38%,rgba(18,36,64,0) 55%,rgba(18,36,64,.55) 100%)}
 .is-motion .dsx-copy{top:5%;transform:none;left:16px;right:16px;max-width:none}
 .is-motion .dsx-copy h1{font-size:clamp(34px,10vw,46px)}
 .is-motion .dsx-line{left:16px;right:16px;bottom:calc(var(--bb) + 14px);max-width:none;padding:16px 18px}
 .is-motion .dsx-line h2{font-size:28px}
 .is-motion .dsx-line p{font-size:16px}
 .is-motion .dsx-proof{left:16px;right:16px;top:12px;max-width:none;gap:8px}
 .is-motion .dsx-note{order:-1;font-size:15px}
 .is-motion .dsx-chips{gap:6px}
 .is-motion .dsx-chips li{font-size:13px;padding:6px 10px;gap:5px}
 .is-motion .dsx-chips svg{width:14px;height:14px}
 .is-motion .dsx-fin{left:16px;right:16px;bottom:calc(var(--bb) + 12px);flex-direction:column;align-items:stretch;gap:10px}
 /* compact crew card: the floor photo stays visible */
 .is-motion .dsx-crew{width:auto;display:grid;grid-template-columns:96px 1fr;align-items:center;padding:6px}
 .is-motion .dsx-crew img{width:96px;height:112px;min-height:0;max-height:none;aspect-ratio:auto;object-position:50% 22%}
 .is-motion .dsx-crew figcaption{padding:12px;font-size:18px}
 .is-motion .dsx-end{max-width:none;padding:16px}
 .is-motion .dsx-end h2{font-size:clamp(26px,7.5vw,34px);margin-bottom:12px}
 .is-motion .dsx-hint{display:none}
}
