/* Site pages built by assemble-pages.cjs (about: odot/). On top of yeda-v5.css.
   Motion, all off under reduced motion: Eran's photo opens through a diamond, a ring counts the years,
   the path fills as you scroll, the three values get a marker, the team cards come in one after another. */
.pg{--od-pad:clamp(20px,4.2vw,80px);--od-max:1240px}
.od-hero,.od-section{max-width:var(--od-max);margin-inline:auto;padding-inline:var(--od-pad);box-sizing:content-box}
.od-hero{padding-top:30px}
.od-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(30px,5vw,80px);align-items:center;margin-top:10px}
.od-hero h1{margin:0;font-size:clamp(40px,5.6vw,84px);line-height:1.05;font-weight:600;letter-spacing:-.035em}
.od-hero h1 span{display:block;font-family:var(--yd-serif);font-weight:400;color:var(--yd-gdark)}
.od-lead{max-width:56ch;margin:22px 0 0;font-size:clamp(18px,1.5vw,21px);line-height:1.75}
.od-facts{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.od-facts li{position:relative;padding:16px 16px 14px;background:var(--yd-white);border-top:3px solid var(--green);display:grid;gap:4px;align-content:start}
.od-facts b{font-size:clamp(24px,2.4vw,34px);font-weight:600;line-height:1.1;color:var(--navy)}
.od-facts span{font-size:14.5px;line-height:1.5;color:var(--yd-muted)}
.od-ring{grid-template-columns:auto 1fr;column-gap:12px}
.od-ring svg{grid-row:1/3;width:64px;height:64px;transform:rotate(-90deg) scaleY(-1)}
.od-ring b{align-self:end}
.od-ring-bg{fill:none;stroke:#10284822;stroke-width:4}
.od-ring-fg{fill:none;stroke:var(--green);stroke-width:4;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0}
.od-photo{margin:0;position:relative}
.od-photo img{display:block;width:100%;height:auto;aspect-ratio:1122/1402;object-fit:cover;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:#e1e4dc}
.od-photo figcaption{margin-top:8px;font-size:12.5px;color:var(--yd-muted);text-align:center}
.pg .yd-review{margin-top:28px}

.od-section{margin-top:clamp(56px,7vw,96px)}
.od-section h2{margin:0;font-size:clamp(28px,3vw,44px);font-weight:600;letter-spacing:-.02em}
.od-sub{margin:10px 0 0;font-size:18px;color:var(--yd-muted)}
.od-values{margin:14px 0 26px;font-size:clamp(20px,1.8vw,26px);line-height:1.6}
.od-mark{background:linear-gradient(transparent 58%,#10985033 58%) right/0% 100% no-repeat;color:inherit;padding:0 2px;transition:background-size 1s var(--ease)}
.od-way.is-in .od-mark{background-size:100% 100%}
.od-way.is-in .od-mark:nth-of-type(2){transition-delay:.35s}.od-way.is-in .od-mark:nth-of-type(3){transition-delay:.7s}
.od-way-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.od-way-grid li{padding:22px 20px;background:#e1e4dc}
.od-way-grid li:nth-child(even){background:#d8ddd6}
.od-way-grid h3{margin:0 0 8px;font-size:19px;font-weight:600}
.od-way-grid p{margin:0;font-size:16px;line-height:1.7}

/* The path: a line that fills as you scroll, with a diamond for each stop */
.od-timeline{list-style:none;margin:30px 0 0;padding:0 34px 0 0;position:relative;max-width:820px;--od-p:0}
.od-timeline:before,.od-timeline:after{content:'';position:absolute;right:9px;top:8px;bottom:8px;width:2px;background:var(--line)}
.od-timeline:after{background:var(--green);transform-origin:top;transform:scaleY(var(--od-p))}
.od-timeline>li{position:relative;padding:0 0 30px}
.od-timeline>li:before{content:'';position:absolute;right:-31px;top:6px;width:14px;height:14px;background:var(--paper);border:2px solid #10284855;transform:rotate(45deg);z-index:1;transition:background .3s,border-color .3s}
.od-timeline>li.is-on:before{background:var(--green);border-color:var(--green)}
.od-tl-tag{display:inline-block;font-size:13px;font-weight:600;color:var(--yd-gdark)}
.od-timeline h3{margin:2px 0 6px;font-size:21px;font-weight:600}
.od-timeline p{margin:0;font-size:17px;line-height:1.75;max-width:62ch}
.od-timeline .yd-video{margin-top:16px;max-width:620px}

/* Team */
.od-team-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:22px}
.od-member{padding:0 0 6px}
.od-avatar{width:118px;height:118px;display:grid;place-items:center;background:var(--navy);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);margin-bottom:14px}
.od-member:nth-child(2) .od-avatar{background:var(--green)}
.od-member:nth-child(3) .od-avatar{background:var(--yd-gdark)}
.od-member:nth-child(4) .od-avatar{background:#3a5878}
.od-avatar span{color:var(--paper);font-family:var(--yd-serif);font-size:26px;font-weight:700}
.od-member h3{margin:0;font-size:21px;font-weight:600}
.od-role{margin:2px 0 8px;font-size:15px;font-weight:500;color:var(--yd-gdark)}
.od-member p:not(.od-role){margin:0;font-size:16px;line-height:1.7}
.od-where p{max-width:70ch;font-size:18px;line-height:1.8}
.od-links{display:flex;flex-wrap:wrap;gap:10px 24px}
.od-links a{font-weight:600;color:var(--yd-gdark);border-bottom:2px solid currentColor;padding-bottom:2px}
.pg .yd-cta{margin-top:clamp(56px,7vw,96px)}

@media(prefers-reduced-motion:no-preference){
  .od-photo img{animation:od-iris 1.1s var(--ease) .1s both}
  .od-team.is-pending .od-member{transform:translateY(18px)}
  .od-team .od-member{transition:opacity .6s var(--ease),transform .6s var(--ease);transition-delay:calc(var(--i,0) * 120ms)}
  .od-ring.is-pending .od-ring-fg{stroke-dashoffset:100}
  .od-ring .od-ring-fg{transition:stroke-dashoffset 1.4s var(--ease)}
}
@keyframes od-iris{from{clip-path:polygon(50% 48%,52% 50%,50% 52%,48% 50%)}to{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}}
@media(prefers-reduced-motion:reduce){.od-mark{background-size:100% 100%;transition:none}}

@media(max-width:980px){
  .od-hero-grid{grid-template-columns:1fr}
  .od-photo{max-width:360px;justify-self:center;order:-1}
  .od-way-grid,.od-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .od-facts{grid-template-columns:1fr}
  .od-way-grid,.od-team-grid{grid-template-columns:1fr}
  .od-photo{max-width:260px}
  .od-avatar{width:96px;height:96px}
}
/* Team photos from the old site (assets/team/), cropped to the face and shown inside the diamond */
.od-avatar img{width:100%;height:100%;object-fit:cover;display:block}
