.projects-page{background:var(--cream);color:var(--navy)}
.projects-header{position:fixed;height:84px;padding-top:8px;padding-bottom:8px;background:#fff;color:var(--navy);box-shadow:0 8px 32px #071d3914}
.projects-header .brand img{filter:none}
.projects-header .header-caption{color:#526b86}
.projects-header .header-link{border-color:#a6b6c8}
.projects-header .header-link:hover{color:var(--blue);border-color:currentColor}
.projects-page main{padding-top:84px}
.projects-intro{min-height:calc(83svh - 84px);display:flex;flex-direction:column;justify-content:space-between;padding:48px clamp(24px,5vw,80px) 32px;background:var(--cream)}
.intro-overline,.intro-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px;color:#516781}
.intro-overline{border-bottom:1px solid #c2ccd5;padding-bottom:16px}
.intro-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.5fr);align-items:end;gap:48px;margin:64px 0}
.intro-body h1{max-width:900px;margin:0;font-size:clamp(42px,5.6vw,88px);line-height:1.02;letter-spacing:-.04em}
.intro-body p{max-width:360px;margin:0 0 8px;font-size:18px;line-height:1.55;color:#405873}
.intro-foot{border-top:1px solid #c2ccd5;padding-top:16px}
.intro-foot a{display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid currentColor;color:var(--navy);font-weight:600}
.intro-foot a:hover{color:var(--blue)}
.project-sequence{height:1300svh;background:var(--cream)}
.project-sequence{scroll-margin-top:84px}
.project-stage{position:sticky;top:84px;height:calc(100svh - 84px);min-height:620px;overflow:hidden;isolation:isolate;background:var(--cream)}
.stage-heading{position:absolute;z-index:3;top:24px;left:clamp(24px,5vw,80px);right:clamp(24px,5vw,80px);display:flex;justify-content:space-between;align-items:start;gap:24px}
.stage-eyebrow{font-size:12px;font-weight:600;color:var(--blue)}
.stage-heading h2{font-size:clamp(25px,3.1vw,43px);line-height:1.08;margin:8px 0 0;letter-spacing:-.025em}
.stage-count{font-size:13px;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums}
.project-rail{position:absolute;z-index:6;top:50%;left:clamp(20px,3vw,48px);transform:translateY(-50%);display:flex;flex-direction:column;gap:4px}
.project-rail button{width:36px;height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:#627797;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.project-rail button:hover{background:#dfe7f0;color:var(--navy)}
.project-rail button.is-active{background:var(--navy);color:white}
.project-deck{position:absolute;inset:118px clamp(24px,5vw,80px) 68px clamp(84px,9vw,144px);perspective:1200px}
.project-panel{position:absolute;inset:0;z-index:0;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-rows:minmax(0,1fr);gap:32px;padding:32px;border-radius:18px;background:var(--card-bg);color:var(--card-ink);box-shadow:0 24px 52px #071d3933;opacity:0;pointer-events:none;transform:translate3d(0,115%,0) rotate(4deg) scale(.95);transform-origin:bottom center;transition:transform .75s cubic-bezier(.22,.7,.16,1),opacity .5s;will-change:transform}
.project-panel.is-active{z-index:2;opacity:1;pointer-events:auto;transform:translate3d(0,0,0) rotate(0) scale(1)}
.project-panel.is-before{z-index:1;opacity:.45;transform:translate3d(0,-20px,0) rotate(-1.3deg) scale(.965)}
.panel-copy{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.panel-meta{width:100%;display:flex;justify-content:space-between;gap:12px;color:var(--card-soft);font-size:12px;font-weight:600}
.panel-copy h3{margin:32px 0 16px;font-family:Akony,Jost,sans-serif;font-size:clamp(27px,3.2vw,48px);line-height:1.06;letter-spacing:-.035em;text-transform:uppercase;text-wrap:balance}
.panel-description{max-width:440px;margin:0;color:var(--card-soft);font-size:17px;line-height:1.5}
.panel-facts{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px}
.panel-facts span{padding:5px 10px;border:1px solid currentColor;border-radius:100px;font-size:12px;line-height:1.2}
.panel-actions{width:100%;margin-top:auto;padding-top:16px;border-top:1px solid currentColor}
.panel-link{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:10px 16px;border-radius:100px;background:var(--cream);color:var(--navy);font-size:14px;font-weight:600;transition:transform .25s,background .25s}
.panel-link:hover{transform:translateY(-3px);background:#dce6f3}
.panel-link svg{width:17px;height:17px}
.rating-wrap{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:20px}
.rating-label{display:block;margin-bottom:4px;font-size:12px;font-weight:600}
.rating-stars{display:flex;gap:2px}
.rating-stars button{width:34px;height:34px;display:grid;place-items:center;padding:4px;border:0;border-radius:6px;background:transparent;color:var(--rating-empty);cursor:pointer;transition:color .2s,transform .2s}
.rating-stars button:hover{transform:scale(1.13);color:var(--rating-fill)}
.rating-stars button.is-filled{color:var(--rating-fill)}
.rating-stars svg{width:26px;height:26px}
.rating-clear{min-height:34px;padding:4px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:var(--card-soft);font-size:12px;cursor:pointer}
.rating-clear[hidden]{display:none}
.rating-status{min-height:1.5em;margin:8px 0 0;color:var(--card-soft);font-size:12px}
.rating-undo{min-height:32px;margin-top:4px;padding:4px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:var(--card-ink);font-size:12px;font-weight:600;cursor:pointer}
.rating-undo[hidden]{display:none}
.panel-visual{position:relative;min-width:0;min-height:0;border-radius:12px;overflow:hidden;background:#29425f}
.panel-visual img{width:100%;height:100%;object-fit:cover}
.panel-visual::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#06172d91);pointer-events:none}
.panel-visual-tag{position:absolute;z-index:1;bottom:16px;left:16px;max-width:calc(100% - 32px);padding:8px 12px;border-radius:5px;background:#f8f7f3;color:var(--navy);font-size:12px;font-weight:600}
.stage-foot{position:absolute;left:clamp(84px,9vw,144px);right:clamp(24px,5vw,80px);bottom:24px;display:flex;justify-content:space-between;gap:20px;color:#526b86;font-size:12px;font-variant-numeric:tabular-nums}
.projects-outro{min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 24px;background:var(--navy);color:var(--cream);text-align:center}
.projects-outro>p{margin:0 0 24px;color:var(--gold);font-size:13px;font-weight:600}
.projects-outro h2{font-size:clamp(35px,5vw,72px);line-height:1.05;margin:0 0 32px}
.projects-outro>div{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.projects-footer{padding-bottom:64px}
.no-script{position:fixed;z-index:90;bottom:16px;left:16px;right:16px;padding:16px;background:var(--navy);color:white}
.no-script a{text-decoration:underline}
.projects-page :focus-visible{outline-color:#2d72c3}
.projects-page button,.projects-page a{touch-action:manipulation;-webkit-tap-highlight-color:#f7d8a755}
.project-panel :focus-visible,.projects-outro :focus-visible{outline-color:#ffdfab}
.projects-header :focus-visible{outline-color:#2d72c3}
@media(max-width:900px){
  .intro-body{display:block}
  .intro-body p{max-width:560px;margin-top:24px}
  .project-deck{left:80px;right:24px;gap:20px}
  .project-panel{gap:20px;padding:24px}
  .panel-copy h3{font-size:clamp(22px,3vw,30px);margin-top:24px}
  .panel-description{font-size:15px}
  .project-rail{left:20px}
  .stage-foot{left:80px;right:24px}
}
@media(max-width:720px){
  .projects-header{height:72px;padding:8px 16px}
  .projects-page main{padding-top:72px}
  .projects-header .brand{width:106px;height:52px}
  .projects-header .header-link{font-size:12px}
  .projects-intro{min-height:calc(75svh - 72px);padding:32px 16px 24px}
  .intro-overline,.intro-foot{font-size:11px}
  .intro-body{display:block;margin:48px 0}
  .intro-body h1{font-size:clamp(23px,7vw,40px)}
  .intro-body p{margin-top:32px;font-size:16px}
  .intro-foot{align-items:start}
  .intro-foot>span{max-width:200px}
  .intro-foot a{white-space:nowrap}
  .project-stage{top:72px;height:calc(100svh - 72px);min-height:0}
  .project-sequence{scroll-margin-top:72px}
  .stage-heading{top:20px;left:16px;right:16px;gap:8px}
  .stage-heading h2{font-size:clamp(21px,3.4vw,26px);margin-top:4px}
  .stage-count{font-size:11px;white-space:nowrap}
  .project-deck{inset:94px 16px 84px}
  .project-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(130px,32%) minmax(0,1fr);gap:0;padding:0;border-radius:14px}
  .panel-visual{grid-row:1;border-radius:14px 14px 0 0}
  .panel-visual-tag{bottom:12px;left:12px;padding:5px 8px;font-size:10px}
  .panel-copy{grid-row:2;padding:20px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .panel-meta{font-size:11px}
  .panel-copy h3{font-size:clamp(24px,7vw,34px);margin:16px 0 12px}
  .panel-description{font-size:14px;line-height:1.4}
  .panel-facts{margin:16px 0 8px}
  .panel-facts span{font-size:10px}
  .panel-actions{padding-top:12px}
  .panel-link{min-height:40px;padding:8px 12px;font-size:12px}
  .rating-wrap{margin-top:12px}
  .rating-stars button{width:31px;height:31px}
  .rating-stars svg{width:23px;height:23px}
  .rating-status{font-size:11px}
  .project-rail{top:auto;bottom:24px;left:16px;right:16px;transform:none;flex-direction:row;gap:4px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
  .project-rail::-webkit-scrollbar{display:none}
  .project-rail button{flex:0 0 36px;width:36px;height:36px;scroll-snap-align:center}
  .stage-foot{display:none}
  .projects-outro{min-height:450px}
  .projects-outro h2{font-size:clamp(20px,6vw,30px)}
}
@media(max-width:375px){
  .project-deck{top:102px;left:12px;right:12px}
  .panel-copy{padding:16px}
  .panel-copy h3{font-size:clamp(21px,6.5vw,26px)}
  .rating-stars button{width:29px;height:29px}
  .rating-stars svg{width:21px;height:21px}
  .rating-clear{font-size:11px}
}
@media(max-width:340px){
  .stage-heading h2{font-size:16px}
  .project-deck{top:110px}
}
@media(max-height:720px){
  .project-stage{min-height:0}
  .project-deck{top:76px;bottom:52px}
  .panel-copy{overflow-y:auto;scrollbar-width:thin}
  .panel-copy h3{margin-top:12px;margin-bottom:8px}
  .panel-facts{margin:12px 0 8px}
  .rating-wrap{margin-top:10px}
}
@media(max-height:720px) and (max-width:720px){
  .project-deck{top:84px;bottom:58px}
  .project-panel{grid-template-rows:minmax(85px,25%) minmax(0,1fr)}
  .panel-copy h3{font-size:22px}
  .project-rail{bottom:12px}
}
@media(max-height:720px) and (max-width:600px){
  .project-deck{top:110px}
}
@media(min-width:901px) and (min-height:721px) and (max-height:840px){
  .project-deck{top:100px;bottom:52px}
  .project-panel{gap:24px;padding:24px}
  .panel-copy h3{font-size:clamp(27px,2.7vw,38px);margin:12px 0 8px}
  .panel-description{font-size:15px;line-height:1.4}
  .panel-facts{margin:12px 0 8px}
  .panel-actions{padding-top:12px}
  .rating-wrap{margin-top:10px}
  .rating-status{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){
  .project-panel,.project-rail button,.panel-link,.rating-stars button{transition:none!important}
}
.projects-page .rating-public{margin:16px 0 0;color:var(--card-ink);font-size:13px;font-weight:600}
.projects-page .rating-stars button:disabled{cursor:wait;opacity:.55;transform:none}
.projects-page .rating-stars button{width:44px;height:44px}
.projects-page .projects-load-error,.projects-page .projects-empty{padding:64px clamp(24px,5vw,80px);background:var(--cream);color:var(--navy);font-size:18px}
.projects-page .project-rail button:focus-visible,.projects-page .rating-stars button:focus-visible{outline:3px solid #90b8ff;outline-offset:2px}

/* The rating page shares the home page's navy stage and cream content surfaces. */
.projects-page{background:var(--navy);color:var(--cream)}
.projects-header{background:var(--navy);color:var(--cream);box-shadow:none;border-bottom:1px solid #b5c6dc2e}
.projects-header .brand img{filter:brightness(0) invert(1)}
.projects-header .header-caption{color:#c0cce0}
.projects-header .header-link{border-color:#8fa7c5}
.projects-header .header-link:hover{color:var(--cream);border-color:var(--cream)}
.projects-header :focus-visible{outline-color:#90b8ff}
.projects-intro{position:relative;isolation:isolate;min-height:max(760px,calc(100svh - 84px));padding-top:40px;padding-bottom:40px;overflow:hidden;background:var(--navy);color:var(--cream)}
.projects-intro::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse 55% 42% at 50% 56%,#315481 0%,#173762 48%,transparent 100%);pointer-events:none}
.intro-overline,.intro-foot{color:#d6e0ed}
.intro-overline{border-color:#8aa4c04a}
.intro-overline span:first-child{color:var(--gold);font-weight:600}
.intro-body{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:32px;margin:64px 0;text-align:center}
.intro-body h1{max-width:1100px;color:var(--cream);font-size:clamp(46px,6.2vw,104px);line-height:.96}
.intro-body p{max-width:600px;margin:0;color:#dbe4ee;font-size:18px;line-height:1.5}
.intro-foot{border-color:#8aa4c04a}
.intro-foot>span{max-width:580px}
.projects-page .intro-foot a.button{flex:none;gap:16px;min-height:48px;border:1px solid transparent;padding:11px 20px;color:var(--navy);font-size:14px}
.projects-page .intro-foot a.button:hover{color:var(--navy);background:#dfe8f4}
.intro-foot a svg{width:18px;height:18px}
.project-sequence{background:var(--navy)}
.project-stage{background:var(--navy)}
.stage-eyebrow{color:var(--gold)}
.stage-heading h2{color:var(--cream)}
.stage-count,.stage-foot{color:#bfcee0}
.project-rail button{color:#c4d2e4}
.project-rail button:hover{background:#ffffff24;color:var(--cream)}
.project-rail button.is-active{background:var(--cream);color:var(--navy)}
.projects-page .project-panel{--card-bg:var(--cream);--card-ink:var(--navy);--card-soft:#425974;--rating-fill:#946527;--rating-empty:#60738e;box-shadow:0 24px 64px #020d1e99}
.panel-meta{color:#425974}
.panel-copy h3,.panel-description{overflow-wrap:anywhere}
.panel-facts span{border-color:#7388a0}
.panel-actions{border-color:#b4c1cf}
.panel-link{background:var(--navy);color:var(--cream)}
.panel-link:hover{background:var(--blue);color:var(--cream)}
.projects-page .rating-public{color:var(--navy)}
.rating-stars button:hover{color:#946527}
.panel-visual-tag{background:#071d39e8;color:var(--cream)}
.projects-outro{position:relative;isolation:isolate;background:linear-gradient(#071d39c9,#071d39dc),url('/legacy/video5/assets/collection-nature.jpg') center / cover no-repeat}
.projects-outro>p{color:#e0bd89}
.projects-page .projects-load-error,.projects-page .projects-empty{background:var(--navy);color:var(--cream)}
.projects-page :focus-visible,.projects-page .project-rail button:focus-visible,.projects-page .rating-stars button:focus-visible{outline-color:#90b8ff}
.project-panel :focus-visible{outline-color:#36558d}
@media(max-width:720px){
  .projects-intro{min-height:max(640px,calc(100svh - 72px));padding-top:32px;padding-bottom:32px}
  .intro-body{gap:24px;margin:48px 0}
  .intro-body h1{font-size:clamp(32px,9vw,54px)}
  .intro-body p{max-width:440px;margin:0;font-size:16px}
  .intro-foot{flex-wrap:wrap;gap:16px}
  .intro-foot>span{max-width:100%}
  .project-rail button{flex-basis:44px;width:44px;height:44px}
  .panel-copy h3{overflow-wrap:anywhere}
}
@media(max-width:375px){
  .intro-body h1{font-size:7.6vw}
  .projects-page .intro-foot a.button{min-height:44px}
}
.projects-page .project-stage{--project-deck-top:144px}
.projects-page .project-deck{top:var(--project-deck-top)}
@media(min-width:901px) and (min-height:841px){
  .projects-page .panel-copy h3{font-size:clamp(27px,2.8vw,42px);margin-top:24px}
}
@media(max-height:840px),(max-width:720px){
  .projects-page .project-stage{--project-deck-top:136px}
}
@media(min-width:721px){
  .projects-page .project-rail{top:var(--project-deck-top);transform:none;max-height:calc(100% - var(--project-deck-top) - 52px);overflow-y:auto;scrollbar-width:none}
  .projects-page .project-rail::-webkit-scrollbar{display:none}
}
