:root{
  --projects-ink:#21182e;
  --projects-violet:#6c3ab2;
  --projects-lilac:#f4effa;
  --projects-line:#dfd5e9;
}

#projects{
  background:#fff;
  color:var(--projects-ink);
}

#projects .projects-page-shell{
  width:min(1220px,calc(100% - 48px));
  margin:0 auto;
}

#projects .projects-page-hero{
  padding:108px 0 82px;
  border-bottom:1px solid var(--projects-line);
}

#projects .projects-kicker,
#projects .projects-section-label{
  display:block;
  margin-bottom:16px;
  color:var(--projects-violet);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

#projects .projects-page-hero h1{
  max-width:970px;
  margin:0;
  font-size:clamp(54px,7.4vw,104px);
  font-weight:800;
  line-height:.92;
  letter-spacing:-.075em;
}

#projects .projects-page-hero h1 em{
  color:var(--projects-violet);
  font-family:Georgia,serif;
  font-weight:500;
}

#projects .projects-page-intro{
  max-width:820px;
  margin:34px 0 0;
  color:#5d5366;
  font-size:clamp(18px,1.8vw,24px);
  line-height:1.55;
}

#projects .fellow-testimonials{
  margin-top:56px;
  padding:30px 0;
  overflow:hidden;
  border-bottom:1px solid var(--projects-line);
  border-top:1px solid var(--projects-line);
  border-radius:28px;
  background:#f5f0fa;
}

#projects .op-ed-library-head h2{
  margin:0;
  font-size:clamp(42px,5.5vw,72px);
  line-height:.96;
  letter-spacing:-.06em;
}

#projects .op-ed-library-head>p{
  margin:0;
  color:#665c6e;
  font-size:16px;
  line-height:1.65;
}

#projects .testimonial-marquee{
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}

#projects .testimonial-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:projects-testimonial-scroll 72s linear infinite;
}

#projects .testimonial-set{
  display:flex;
  gap:18px;
  padding-right:18px;
}

#projects .testimonial-card{
  display:flex;
  width:min(470px,calc(100vw - 72px));
  min-height:210px;
  flex:0 0 min(470px,calc(100vw - 72px));
  flex-direction:column;
  padding:27px;
  border:1px solid var(--projects-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 30px rgba(46,31,62,.08);
}

#projects .testimonial-mark{
  color:var(--projects-violet);
  font:700 48px/1 Georgia,serif;
}

#projects .testimonial-card blockquote{
  margin:12px 0 24px;
  color:#473d50;
  font-size:16px;
  line-height:1.64;
}

#projects .testimonial-card cite{
  margin-top:auto;
  color:#2d2336;
  font-size:13px;
  font-style:normal;
  font-weight:900;
}

#projects .testimonial-marquee:hover .testimonial-track,
#projects .testimonial-marquee:focus-within .testimonial-track{
  animation-play-state:paused;
}

@keyframes projects-testimonial-scroll{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

#projects .op-ed-library{
  padding:84px 0 110px;
}

#projects .op-ed-library-head{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.6fr);
  gap:48px;
  align-items:end;
  margin-bottom:38px;
}

#projects .op-ed-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

#projects .op-ed-card{
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  overflow:hidden;
  padding:0;
  border:1px solid var(--projects-line);
  border-radius:24px;
  background:#fff;
  color:inherit;
  text-align:left;
  cursor:pointer;
  box-shadow:0 12px 34px rgba(51,35,67,.07);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

#projects .op-ed-card:hover,
#projects .op-ed-card:focus-visible{
  transform:translateY(-5px);
  border-color:#b99ad7;
  box-shadow:0 20px 42px rgba(51,35,67,.14);
  outline:none;
}

#projects .op-ed-card-image{
  position:relative;
  aspect-ratio:4/2.65;
  overflow:hidden;
  background:var(--projects-lilac);
}

#projects .op-ed-card-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

#projects .op-ed-card:hover .op-ed-card-image img{transform:scale(1.035)}

#projects .op-ed-card-copy{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:24px 24px 26px;
}

#projects .op-ed-card-topic{
  display:block;
  margin-bottom:13px;
  color:var(--projects-violet);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

#projects .op-ed-card h3{
  margin:0;
  font-size:clamp(24px,2.25vw,32px);
  line-height:1.04;
  letter-spacing:-.045em;
}

#projects .op-ed-card-author{
  margin:12px 0 0;
  color:#35293f;
  font-size:13px;
  font-weight:900;
}

#projects .op-ed-card-description{
  margin:15px 0 0;
  color:#6b6172;
  font-size:14px;
  line-height:1.58;
}

#projects .op-ed-card-read{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:24px;
  color:var(--projects-violet);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.op-ed-reader[hidden]{display:none}

.op-ed-reader{
  position:fixed;
  inset:0;
  z-index:2000;
  display:grid;
  place-items:center;
  padding:24px;
}

.op-ed-reader-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(21,13,29,.72);
  backdrop-filter:blur(9px);
  cursor:pointer;
}

.op-ed-reader-panel{
  position:relative;
  z-index:1;
  width:min(900px,100%);
  max-height:calc(100dvh - 48px);
  overflow:auto;
  border-radius:28px;
  background:#fff;
  box-shadow:0 30px 100px rgba(0,0,0,.34);
}

.op-ed-reader-close{
  position:sticky;
  top:16px;
  z-index:3;
  display:flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  float:right;
  margin:16px 16px -58px 0;
  border:1px solid rgba(31,20,43,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#291f32;
  font-size:24px;
  cursor:pointer;
  box-shadow:0 5px 18px rgba(28,16,38,.12);
}

.op-ed-reader-hero{
  aspect-ratio:16/7;
  overflow:hidden;
  background:var(--projects-lilac);
}

.op-ed-reader-hero img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.op-ed-reader-content{padding:46px clamp(26px,7vw,72px) 68px}

.op-ed-reader-topic{
  display:block;
  margin-bottom:15px;
  color:var(--projects-violet);
  font-size:11px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.op-ed-reader-content h2{
  margin:0;
  font-size:clamp(40px,6vw,66px);
  line-height:.96;
  letter-spacing:-.06em;
}

.op-ed-reader-byline{
  margin:18px 0 34px;
  color:#3b3045;
  font-size:15px;
  font-weight:900;
}

.op-ed-reader-body p{
  margin:0 0 22px;
  color:#433a49;
  font:17px/1.78 Georgia,serif;
}

.op-ed-reader-body ol{
  margin:0 0 24px;
  padding-left:24px;
  color:#433a49;
  font:17px/1.75 Georgia,serif;
}

.op-ed-reader-sources{
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid var(--projects-line);
}

.op-ed-reader-sources h3{
  margin:0 0 16px;
  font-size:22px;
  letter-spacing:-.03em;
}

.op-ed-reader-source-list{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.op-ed-reader-source-list a{
  display:inline-flex;
  padding:10px 13px;
  border:1px solid #d7c9e5;
  border-radius:999px;
  color:#5d2f95;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

.op-ed-reader-source-list a:hover{background:#f3edf9}

body.op-ed-reader-open{overflow:hidden}

@media(max-width:980px){
  #projects .op-ed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:720px){
  #projects .projects-page-shell{width:min(100% - 36px,1220px)}
  #projects .projects-page-hero{padding:70px 0 58px}
  #projects .fellow-testimonials{margin-top:36px;padding:22px 0;border-radius:22px}
  #projects .op-ed-library{padding:58px 0}
  #projects .op-ed-library-head{grid-template-columns:1fr;gap:20px}
  #projects .op-ed-card-grid{grid-template-columns:1fr}
  #projects .testimonial-card{min-height:205px}
  #projects .op-ed-reader{padding:0}
  #projects .op-ed-reader-panel{width:100%;max-height:100dvh;border-radius:0}
  #projects .op-ed-reader-content{padding:34px 22px 56px}
}

@media(prefers-reduced-motion:reduce){
  #projects .op-ed-card,#projects .op-ed-card-image img{transition:none}
}
