/* The "היי, אני כפיר" block. Markup in partials/about.html, inlined into each
   page by build_partials.mjs. --ab-above is the colour of the section above,
   which the diagonal at the top is painted in. Edit it here only. */

#about.about-light{ background:#f4f4f7; margin-top:-2px }
#about.about-light::before{ content:''; position:absolute; left:0; right:0; top:0;
  height:94px; z-index:0; pointer-events:none; background:var(--ab-above, #0f1e35);
  clip-path:polygon(0 0, 100% 0, 100% 94px) }
#about .ab-grid{ display:grid; grid-template-columns:1fr 1fr; align-items:end;
  min-height:700px; max-width:1180px; margin:0 auto; padding:150px 3rem 0;
  position:relative; z-index:1 }
#about .ab-text{ padding:0 0 5rem 2rem; align-self:center }
#about .ab-photo{ position:relative; align-self:end; justify-self:center;
  width:100%; max-width:410px }
#about .ab-photo img{ display:block; width:100%; height:auto; position:relative; z-index:1;
  filter:drop-shadow(0 18px 40px rgba(11,21,39,0.18)) }
/* the figure is cut out of its own background, so it needs a shadow on the floor
   under it or it reads as pasted onto the page */
#about .ab-photo::after{ content:''; position:absolute; left:8%; right:8%; bottom:-6px;
  height:34px; border-radius:50%; z-index:0;
  background:radial-gradient(ellipse at center, rgba(11,21,39,0.16) 0%, transparent 70%) }
#about .ab-mark{ position:absolute; z-index:0; pointer-events:none }
#about .ab-mark.m1{ top:19%; right:5%; width:130px; height:90px }
#about .ab-mark.m2{ bottom:17%; left:4%; width:110px; height:80px }
#about .ab-mark path{ fill:none; stroke:#f07316; stroke-width:2; stroke-dasharray:6 9;
  stroke-linecap:round; opacity:0.55 }
#about .ab-mark circle{ fill:#f07316; opacity:0.8 }

@media (max-width: 767px) {
  #about-grid  { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}
@media (max-width: 900px){
  #about.about-light::before{ height:52px;
    clip-path:polygon(0 0, 100% 0, 100% 52px) }
  #about .ab-grid{ padding:100px 1.5rem 0; min-height:0; gap:2rem }
  #about .ab-text{ padding:0 }
  #about .ab-photo{ max-width:320px }
  /* off on a phone by choice. both marks are positioned against the section's outer
     margins, which do not exist at this width; a version sized to sit beside the head
     was built and dropped as clutter. */
  #about .ab-mark{ display:none }
}
