/* Styles used only by about page. */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.sheet {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sheet .portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: -8px -8px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.sheet .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
  filter: saturate(1.1);
  cursor: zoom-in;
}

.sheet .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--panel), transparent 45%);
  pointer-events: none;
}

.sheet dl {
  margin: 0;
  font-family: var(--f-head);
  font-size: 0.82rem;
}

.sheet dt {
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  margin-top: 14px;
}

.sheet dd {
  margin: 2px 0 0;
  color: var(--bone);
}

.sheet h3 {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .sheet {
    position: static;
    order: -1;
  }

  .sheet .portrait {
    aspect-ratio: 16 / 10;
  }
}

.story h3 {
  margin-top: 2.2em;
  color: var(--accent-hot);
}

.story h3:first-child {
  margin-top: 0;
}

.story p {
  color: #e6e0d2;
  max-width: 68ch;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
}

.timeline li {
  position: relative;
  padding: 0 0 26px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--void);
  border: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: background 0.2s, box-shadow 0.2s;
}

.timeline .when {
  font-size: 0.75rem;
  color: var(--sage);
  text-transform: uppercase;
}

.timeline .what {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.2;
}

.timeline .where {
  color: var(--muted);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 70px);
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.tl-head {
  color: var(--sage);
}

.timeline .when {
  font-family: var(--f-head);
  letter-spacing: 0.14em;
}

.sheet h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.timeline::before {
  background: linear-gradient(var(--accent), var(--sage));
}

.timeline li::before {
  border-color: var(--accent);
}

.timeline li:hover::before {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.sheet h3 {
  font-weight: 400;
}

.sheet h3 {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' result='t'/><feColorMatrix in='t' type='matrix' values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/><feComponentTransfer><feFuncR type='linear' slope='.5' intercept='.5'/><feFuncG type='linear' slope='.5' intercept='.5'/><feFuncB type='linear' slope='.5' intercept='.5'/></feComponentTransfer></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"), #c9a96b;
  background-blend-mode: multiply;
  background-size: 160px, auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none !important;
}

.sheet .portrait a {
  display: block;
  height: 100%;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.title-row .section-title {
  margin: 0;
}

.btn.cv,
.btn.cv:hover {
  color: #0d0d0d;
  background-color: var(--sage);
}
