@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300&display=swap");

/* v9l (builds on v9j): About bio + places-lived timeline. Desktop: copy narrows on the left,
   dotted rule and entries on the right. Mobile: timeline follows the bio,
   same rule-and-entries pattern. Light, typographic, monochrome pink. */

.about-bio{
  margin:0 0 0.15em;
}
.about-bio-copy p:last-child{margin-bottom:0}

.about-timeline{
  list-style:none;
  margin:1.75em 0 0;
  padding:0 0 0 1.05rem;
  position:relative;
}
.about-timeline::before{
  content:"";
  position:absolute;
  left:0.2rem;
  top:0.55em;
  bottom:0.4em;
  border-left:1px dotted #f1cadb;
}
.about-timeline li{
  position:relative;
  margin:0;
  padding:0 0 1.15em 0.85rem;
}
.about-timeline li:last-child{
  padding-bottom:0;
}
.about-timeline li::before{
  content:"";
  position:absolute;
  left:-0.85rem;
  top:0.48em;
  width:5px;
  height:5px;
  margin-left:-2.5px;
  border-radius:50%;
  background:#f05060;
  box-shadow:0 0 0 2px #fff;
}
.about-timeline-years{
  display:block;
  margin:0 0 0.15em;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#f05060;
  font-family:Outfit,sans-serif;
  font-size:.68rem;
  font-weight:500;
  line-height:1.45;
}
.about-timeline-place{
  display:block;
  color:#1a1a1a;
  font-family:EB Garamond,Minion Pro,Palatino,Palatino Linotype,serif;
  font-size:15px;
  font-weight:400;
  line-height:1.45;
  letter-spacing:0;
  text-transform:none;
  hyphens:none;
  overflow-wrap:normal;
  text-wrap:pretty;
}
.about-timeline-nowrap{white-space:nowrap}
@media (width<=800px){.about-timeline-nowrap{white-space:normal}}


@media (width>800px){
  .about-bio{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:2.1rem;
    align-items:stretch;
  }
  .about-timeline{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    margin:0;
    width:max-content;
    max-width:14.5rem;
    min-width:9.5rem;
  }
  .about-timeline li{
    padding-bottom:0;
  }
  .about-timeline-pin{display:none}
}

@media (width<=800px){
  /* About-only: the site header hairline sits under the bar, above the photo.
     Same border exists on every page and on desktop; leave those alone. */
  body:has(.column.about) .mast-bar{border-bottom-color:transparent}
  .about-timeline{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:flex-start;
    justify-content:space-between;
    gap:0;
    margin:1.6em 0 0;
    padding:0 0 0.2em;
    overflow-x:visible;
  }
  .about-timeline::before{
    content:"";
    position:absolute;
    left:var(--tl-rule-left, 0.7rem);
    right:var(--tl-rule-right, 0.7rem);
    top:0.4125rem;
    bottom:auto;
    height:0;
    border-left:0;
    border-top:1px dotted #f1cadb;
    z-index:0;
    pointer-events:none;
  }
  .about-timeline li::after{content:none}
  .about-timeline li{
    flex:0 0 auto;
    width:auto;
    min-width:0;
    margin:0;
    padding:0 0.08rem;
    text-align:center;
    z-index:1;
  }
  .about-timeline li:last-child{padding-bottom:0}
  .about-timeline li::before{display:none}
  .about-timeline-pin{
    display:block;
    position:relative;
    z-index:1;
    width:1.2rem;
    max-width:1.2rem;
    height:0.825rem;
    margin:0 auto 0.3em;
  }
  .about-timeline-pin img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
  }
  .about-timeline-abbr{
    position:absolute;
    left:50%;
    top:48%;
    transform:translate(-50%,-50%);
    color:#fff;
    font-family:Outfit,sans-serif;
    font-size:0.336rem;
    font-weight:500;
    letter-spacing:0.02em;
    line-height:1;
    padding:0;
    background:none;
    pointer-events:none;
  }
  .about-timeline-years{
    font-family:Outfit,sans-serif;
    font-weight:300;
    letter-spacing:.12em;
    font-size:.4rem;
    white-space:nowrap;
  }
  .about-timeline-place{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    clip-path:inset(50%);
    white-space:nowrap;
    border:0;
  }
}


/* ---------- v9l: mobile timeline — years alternate below, above, below, above ---------- */
@media (width<=800px){
  .about-timeline{
    --tl-above:0.95rem;
    padding-top:var(--tl-above);
    margin-top:0.9em;
  }
  .about-timeline::before{
    top:calc(var(--tl-above) + 0.4125rem);
  }
  /* even spacing so alternating labels never collide */
  .about-timeline li{
    flex:1 1 0;
    min-width:0;
  }
  .about-timeline-years{
    width:max-content;
    margin:0 0 0 50%;
    transform:translateX(-50%);
  }
  /* 2nd, 4th, 6th: label sits above the pin; 1st, 3rd, 5th stay below */
  .about-timeline li:nth-child(even) .about-timeline-years{
    position:absolute;
    left:0;
    bottom:calc(100% + 0.35rem);
    margin:0 0 0 50%;
  }
}

/* ---------- v9l: "I've worked with" links + desktop logo popup ---------- */
.column.about .cards li a.about-client-link{
  color:inherit;
  text-decoration-line:underline;
  text-decoration-color:#f3c3d2;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:text-decoration-color .2s;
}
.column.about .cards li a.about-client-link:hover,
.column.about .cards li a.about-client-link:focus-visible{
  text-decoration-color:#e7a3b8;
}
.column.about .cards li a.about-client-link:focus-visible{
  outline:2px solid #f26660;
  outline-offset:3px;
  border-radius:2px;
}
.about-sr{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.column.about .cards li.has-client-logo{position:relative}
.about-client-pop{display:none}
@media (hover:hover) and (width>800px){
  .column.about .cards li.has-client-logo .about-client-pop{
    display:block;
    position:absolute;
    left:14px;
    bottom:calc(100% + 10px);
    z-index:30;
    box-sizing:content-box;
    padding:14px 18px;
    background:#fff;
    border:1px solid #f1cadb;
    opacity:0;
    visibility:hidden;
    transform:translateY(4px);
    transition:opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    pointer-events:none;
  }
  .column.about .cards li.has-client-logo:hover .about-client-pop,
  .column.about .cards li.has-client-logo:focus-within .about-client-pop{
    opacity:1;
    visibility:visible;
    transform:none;
    transition-delay:0s;
  }
  .about-client-pop img{
    display:block;
    width:auto;
    height:auto;
    max-width:150px;
    max-height:54px;
  }
}
@media (prefers-reduced-motion:reduce){
  .about-client-pop{transition:none !important}
}
