/* ------------------------------------------------------------------
   Timothy Do — portfolio
   Palette: lavender paper, violet ink, one saturated accent.
------------------------------------------------------------------- */
:root {
  --paper:   #f2eff7;
  --paper-2: #e8e2f1;
  --paper-3: #ddd4ec;
  --ink:     #1d1630;
  --ink-2:   #4b4263;
  --ink-3:   #7a7091;
  --rule:    #cbc0de;
  --rule-2:  #b3a5cf;
  --accent:  #5a3ec8;
  --accent-2:#8a73e0;
  --accent-wash: rgba(90, 62, 200, 0.09);

  --serif-d: "Instrument Serif", "Times New Roman", serif;
  --serif:   "Newsreader", Georgia, serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --max: 1180px;
  --margin: 132px;      /* left margin column for section numbers */
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--rule-2);
    text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .15s, color .15s; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

b { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 6px 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 14px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.masthead.scrolled { border-bottom-color: var(--rule); }

.mast-name {
  font-family: var(--serif-d); font-size: 24px; line-height: 1; text-decoration: none; letter-spacing: -0.005em;
}
.mast-nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; }
.mast-nav a { text-decoration: none; color: var(--ink-2); }
.mast-nav a:hover, .mast-nav a.active { color: var(--ink); }
.mast-nav a.active .sec { color: var(--accent); }
.mast-nav .sec { color: var(--ink-3); margin-right: 6px; transition: color .15s; }
.mast-nav .cv { color: var(--accent); }

/* ---------- Layout ---------- */
main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.section {
  display: grid;
  grid-template-columns: var(--margin) minmax(0, 1fr);
  column-gap: 0;
  padding: 72px 0 24px;
  border-top: 1px solid var(--rule);
}
.section > * { grid-column: 2; }
.section > .sec-head { grid-column: 1 / -1; }

.sec-head {
  display: grid; grid-template-columns: var(--margin) auto 1fr; align-items: baseline;
  margin-bottom: 36px;
}
.sec-no { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.sec-head h2 {
  margin: 0; font-family: var(--serif-d); font-weight: 400; font-size: clamp(40px, 5vw, 56px);
  line-height: 1; letter-spacing: -0.01em;
}
.sec-note {
  justify-self: end; max-width: 38ch; margin: 0; text-align: right;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-3);
}

/* ---------- Figures (shared) ---------- */
.fig { margin: 0; }
.fig figcaption {
  margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
}
.fig-no { font-family: var(--mono); font-size: 12px; color: var(--ink); margin-right: 4px; letter-spacing: .02em; }

/* ---------- Title block ---------- */
.title-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding: clamp(48px, 9vh, 104px) 0 72px;
}
.meta-line {
  display: flex; flex-direction: column; gap: 2px; margin: 0 0 28px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); letter-spacing: .01em;
}
.title-text h1 {
  margin: 0 0 28px;
  font-family: var(--serif-d); font-weight: 400;
  font-size: clamp(68px, 10.5vw, 148px);
  line-height: .88; letter-spacing: -0.025em;
}
.abstract { margin: 0 0 28px; max-width: 46ch; font-size: 19px; line-height: 1.55; color: var(--ink); hyphens: auto; }
.abstract-label { font-style: italic; font-weight: 500; margin-right: 4px; }

.links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; }
.links a { text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }
.links a::after { content: " ↗"; color: var(--ink-3); }
.links a.mail::after { content: none; }
.links a.mail { color: var(--accent); }
.links a:hover { border-bottom-color: var(--accent); }
.links a:hover::after { color: var(--accent); }

/* Figure 1: entropy field */
.field-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
  cursor: crosshair;
  touch-action: pan-y;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Figure 1 overlays (positions are set in field.js) */
.jl-overlay { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); }
.jl-token {
  position: absolute; text-align: center; font-size: 11px; color: var(--ink-2);
  padding-top: 4px; border-top: 1px solid var(--ink-3); background: var(--paper); transition: color .2s, border-color .2s;
}
.jl-token.on { color: var(--accent); border-top-color: var(--accent); }
.jl-label {
  position: absolute; left: 1.6%; transform: translateY(-50%);
  font-size: 9.5px; letter-spacing: .04em; color: var(--ink-2);
  background: var(--paper); padding: 1px 3px;
}
.jl-bracket {
  position: absolute; left: 7.4%; width: 6px;
  border: 1px solid var(--accent); border-right: 0;
}
.jl-bracket-text {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: right center;
  translate: 50% 0; white-space: nowrap; font-size: 9.5px; letter-spacing: .06em; color: var(--accent);
  background: var(--paper); padding: 0 3px;
}
.jl-out {
  position: absolute; display: flex; align-items: center; justify-content: center; gap: .26em;
  font-family: var(--serif-d); font-size: clamp(30px, 4.4vw, 54px); line-height: 1; color: var(--ink);
  letter-spacing: -0.01em; white-space: nowrap;
}
.jl-out-tok { opacity: 0; position: relative; }
.jl-out-tok::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--accent); opacity: .55;
}
.jl-probe { position: absolute; outline: 1px solid var(--accent); outline-offset: 2px; transition: left .25s, top .25s; }
.jl-card {
  position: absolute; left: 0; top: 0; width: 176px;
  background: var(--paper); border: 1px solid var(--ink);
  font-size: 10.5px; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.jl-head { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-bottom: 1px solid var(--rule); }
.jl-title { text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; color: var(--ink-2); }
.jl-card.in-j .jl-title { color: var(--accent); }
.jl-where { color: var(--ink-2); white-space: nowrap; }
.jl-rows { list-style: none; margin: 0; padding: 5px 8px 6px; }
.jl-rows li { display: grid; grid-template-columns: 1fr 44px 26px; align-items: center; gap: 6px; height: 17px; }
.jl-tok { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jl-bar { height: 4px; background: var(--paper-3); }
.jl-bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.jl-card.in-j .jl-bar i { background: var(--accent); }
.jl-p { text-align: right; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .jl-probe, .jl-card, .jl-bar i { transition: none; }
}

@media (max-width: 720px) {
  .jl-card { width: 138px; font-size: 9.5px; }
  .jl-head { padding: 4px 6px; }
  .jl-rows { padding: 4px 6px 5px; }
  .jl-rows li { grid-template-columns: 1fr 30px 22px; height: 14px; gap: 4px; }
  .jl-token { font-size: 10px; }
}

.fn-ref { text-decoration: none; color: var(--accent); margin-left: 1px; }
.fn { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

.fig-field figcaption { max-width: 62ch; }

/* ---------- §1 About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .prose p:last-child { margin-bottom: 0; }
/* The side column (portrait + caption + facts) is centered on the prose's
   midline: main.js sets --side-shift to (prose height − column height) / 2,
   so a taller column rises above the text by half the difference. It stays
   in flow, so the section still grows to contain it. */
.about-side { margin-top: var(--side-shift, 0px); }
.prose p { margin: 0 0 1em; max-width: 62ch; font-size: 19px; hyphens: auto; }
.dropcap::first-letter {
  float: left; font-family: var(--serif-d); font-size: 4.2em; line-height: .82;
  padding: 6px 10px 0 0; color: var(--accent);
}
.fig-portrait img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  border: 1px solid var(--ink);
  transition: filter .5s ease;
}
.fig-portrait:hover img { filter: grayscale(0) contrast(1); }
.facts { margin: 24px 0 0; font-size: 15px; }
.facts div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding-top: 3px; }
.facts dd { margin: 0; }
.facts-list span { display: block; }
.facts-list span + span { margin-top: 2px; }

/* ---------- §2 Experience ---------- */
/* Figure 3: one running timeline at a fixed px-per-month scale, scrolled
   horizontally inside the figure. Boxes rise from the baseline and stack
   where stints overlap. Geometry is set in main.js (renderTimeline). */
.fig-timeline { margin-bottom: 40px; min-width: 0; }   /* let the scroller, not the page, overflow */
.timeline { position: relative; }
.tl-hint {
  margin: 0 0 6px; min-height: 16px; text-align: right;
  font-family: var(--mono); font-size: 10.5px; line-height: 16px; color: var(--ink-3);
}
.tl-scroll {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
  --fade-l: #000; --fade-r: #000;
  -webkit-mask-image: linear-gradient(90deg, var(--fade-l), #000 28px, #000 calc(100% - 28px), var(--fade-r));
          mask-image: linear-gradient(90deg, var(--fade-l), #000 28px, #000 calc(100% - 28px), var(--fade-r));
}
.timeline.more-left  .tl-scroll { --fade-l: transparent; }
.timeline.more-right .tl-scroll { --fade-r: transparent; }
.tl-canvas { position: relative; box-sizing: content-box; padding: 0 14px; }

.tl-plot { position: relative; border-bottom: 1px solid var(--ink); }
.tl-gap {
  position: absolute; top: 24px; bottom: 0;
  background: repeating-linear-gradient(135deg, transparent 0 5px, var(--paper-3) 5px 6px);
}
.tl-grid { position: absolute; top: 24px; bottom: 0; border-left: 1px solid var(--rule); }
.tl-now { position: absolute; top: 0; bottom: 0; margin-left: -1px; border-left: 1px dashed var(--accent); }
.tl-now span {
  position: absolute; top: 3px; right: 6px;
  font-family: var(--mono); font-size: 10.5px; color: var(--accent); white-space: nowrap;
}

.tl-box { --f: var(--paper-3); --b: var(--ink-2); position: absolute; height: 28px; cursor: pointer; }
.tl-fill {
  position: absolute; top: 0; bottom: 0; left: 0; width: var(--w);
  background: var(--f); border: 1px solid var(--b);
  transition: background-color .15s, border-color .15s;
}
/* Name wider than the stint: the solid edge is the true end, the dashed
   outline only makes room for the name. */
.tl-box.short::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--w); right: 0;
  border: 1px dashed var(--b); border-left: 0; opacity: .7;
}
/* No full-height rule through the name: the true end is where the fill stops,
   marked by short ticks at the top and bottom edges. */
.tl-box.short:not(.ongoing) .tl-fill { border-right: 0; }
.tl-box.short:not(.ongoing) .tl-fill::before, .tl-box.short:not(.ongoing) .tl-fill::after {
  content: ""; position: absolute; right: 0; height: 6px; border-right: 1px solid var(--b);
}
.tl-box.short:not(.ongoing) .tl-fill::before { top: 0; }
.tl-box.short:not(.ongoing) .tl-fill::after { bottom: 0; }
.tl-label {
  position: relative; display: inline-block; padding: 0 8px;
  font-family: var(--mono); font-size: 11px; line-height: 28px; color: var(--ink); white-space: nowrap;
}
.tl-box.ongoing .tl-fill { border-right: 0; background: linear-gradient(90deg, var(--f) 45%, transparent); }
.tl-box.ongoing .tl-fill::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--accent);
}
.tl-box.on { --f: color-mix(in srgb, var(--accent) 30%, var(--paper)); --b: var(--accent); }

.tl-axis { position: relative; height: 26px; }
.tl-tick { position: absolute; top: 0; height: 3px; border-left: 1px solid var(--rule-2); }
.tl-tick.major { height: 6px; border-left-color: var(--ink); }
.tl-tick span {
  position: absolute; top: 7px; left: 0; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; color: var(--ink-3); white-space: nowrap;
}
.tl-tick .yr { font-size: 10.5px; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .tl-fill { transition: none; }
}

.exp-list { list-style: none; margin: 0; padding: 0; counter-reset: exp; }
.exp {
  display: grid; grid-template-columns: 168px 44px minmax(0, 1fr);
  column-gap: 18px; padding: 20px 0; border-top: 1px solid var(--rule);
  position: relative;
  transition: background .15s;
}
.exp:last-child { border-bottom: 1px solid var(--rule); }
.exp::before {
  content: ""; position: absolute; left: calc(-1 * var(--margin) + 0px); top: 26px;
  width: 0; height: 1px; background: var(--accent); transition: width .25s ease;
}
.exp.on::before { width: calc(var(--margin) - 20px); }
.exp-date { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); padding-top: 4px; font-variant-numeric: tabular-nums; }
.exp.on .exp-date { color: var(--accent); }
.exp-logo {
  width: 44px; height: 44px; object-fit: contain; background: #fff;
  border: 1px solid var(--rule); filter: grayscale(1); transition: filter .25s;
}
.exp.on .exp-logo { filter: none; }
.exp-role { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; }
.exp-org { margin: 2px 0 8px; font-size: 16px; color: var(--ink-2); font-style: italic; }
.exp-org .loc { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: 8px; }
.exp-body { margin: 0; max-width: 82ch; font-size: 17px; color: var(--ink); text-wrap: balance; }
.exp-tag { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--accent); vertical-align: 2px; letter-spacing: .04em; }

/* ---------- §3 Publications ---------- */
.refs { list-style: none; margin: 0; padding: 0; }
.ref { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.ref:last-child { border-bottom: 1px solid var(--rule); }
.ref:target { background: linear-gradient(90deg, var(--accent-wash), transparent 70%); }
.ref-no { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 5px; }
.ref-title { margin: 0 0 6px; font-size: 21px; line-height: 1.3; font-weight: 500; max-width: 60ch; }
.ref-authors { margin: 0 0 6px; font-size: 16px; color: var(--ink-2); }
.ref-authors .me { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ref-venues { margin: 0; padding: 0; list-style: none; font-size: 16px; font-style: italic; color: var(--ink-2); }
.ref-venues li::before { content: "— "; font-style: normal; color: var(--ink-3); }
.ref-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn {
  appearance: none; font: inherit; font-family: var(--mono); font-size: 12px;
  padding: 5px 10px; background: transparent; color: var(--ink);
  border: 1px solid var(--ink-2); cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.bib {
  display: none; margin: 12px 0 0; padding: 14px 16px; overflow-x: auto;
  background: var(--paper-2); border-left: 2px solid var(--accent);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink);
}
.bib.open { display: block; }
.bib .b-type { color: var(--accent); }
.bib .b-key  { color: var(--ink); font-weight: 500; }
.bib .b-field{ color: var(--ink-3); }

/* ---------- §4 Honors ---------- */
.honors { width: 100%; border-collapse: collapse; }
.honors td { vertical-align: top; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.h-year { width: 168px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); padding-top: 25px !important; }
.h-title { margin: 0 0 4px; font-size: 20px; font-weight: 500; }
.h-desc { margin: 0; max-width: 62ch; font-size: 17px; color: var(--ink-2); }
.h-loc { width: 140px; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 25px !important; }

/* ---------- Footer ---------- */
.colophon {
  width: calc(100% - 2 * var(--gutter)); max-width: var(--max); margin: 64px auto 0;
  padding: 40px 0 44px;
  display: grid; grid-template-columns: var(--margin) minmax(0, 1fr) auto; gap: 0;
  border-top: 1px solid var(--ink);
  color: var(--ink-2);
}
.col-main { grid-column: 2; }
.colophon p { margin: 0; }
.col-h { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-bottom: 10px !important; letter-spacing: .04em; }
.col-lead { font-size: 17px; max-width: 60ch; margin-bottom: 14px !important; text-wrap: balance; }
.col-mail { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.col-mail a {
  font-family: var(--serif-d); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; color: var(--ink);
  text-decoration-thickness: 1px; text-underline-offset: 6px; overflow-wrap: anywhere;
}
.col-mail a:hover { color: var(--accent); }
.col-right {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 6px;
  font-family: var(--mono); font-size: 12px;
}
.col-right a { text-decoration: none; }
.col-copy { margin-top: 10px; color: var(--ink-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
  padding: 8px 14px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 40;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .title-text > *, .js .fig-field { opacity: 0; transform: translateY(10px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .title-text > :nth-child(2) { animation-delay: .06s; }
  .js .title-text > :nth-child(3) { animation-delay: .12s; }
  .js .title-text > :nth-child(4) { animation-delay: .18s; }
  .js .fig-field { animation-delay: .22s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root { --margin: 72px; }
  .title-block { grid-template-columns: 1fr; align-items: start; }
  .fig-field { max-width: 640px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 220px; }
  .exp { grid-template-columns: 132px 40px minmax(0, 1fr); }
  .exp-logo { width: 40px; height: 40px; }
  .h-year { width: 132px; }
  /* Narrow side column: put the label above the value so each role fits on one line. */
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .facts dt { padding-top: 0; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  :root { --margin: 0px; --gutter: 20px; }
  .masthead { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; padding-bottom: 10px; }
  .masthead nav { min-width: 0; }
  .mast-nav { mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mast-nav { gap: 14px; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .mast-nav::-webkit-scrollbar { display: none; }
  .mast-nav li { flex: none; }

  .section { grid-template-columns: 1fr; padding-top: 52px; }
  .section > * { grid-column: 1; }
  .sec-head { grid-template-columns: auto 1fr; column-gap: 12px; margin-bottom: 26px; }
  .sec-note { grid-column: 1 / -1; justify-self: start; text-align: left; max-width: none; margin-top: 10px; }

  .title-block { padding-top: 36px; padding-bottom: 52px; }
  .abstract, .prose p { font-size: 18px; }
  .field-frame { aspect-ratio: 1 / 1; }

  .about-grid { grid-template-columns: 1fr; }
  /* Back in normal flow, below the prose. Portrait sits beside the facts;
     center it on them so it tracks their height. */
  .about-side {
    margin-top: 0;
    display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
  }
  .facts { margin-top: 0; font-size: 14px; }
  @media (max-width: 400px) { .about-side { grid-template-columns: 88px 1fr; gap: 14px; } }

  .exp { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; }
  .exp-date { grid-column: 1 / -1; padding-top: 0; }
  .exp::before { display: none; }

  .tl-now span { font-size: 9.5px; }

  .ref { grid-template-columns: 38px minmax(0, 1fr); }
  .ref-title { font-size: 19px; }

  .honors tr { display: grid; grid-template-columns: 1fr auto; }
  .honors td { border-bottom: 0; }
  .honors td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; border-top: 0; padding-top: 0; }
  .h-year, .h-loc { width: auto; padding-bottom: 6px !important; }

  .colophon { grid-template-columns: 1fr; gap: 18px; }
  .col-main { grid-column: 1; }
  .col-right { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 6px 18px; }
  .col-copy { margin-top: 0; width: 100%; }
}
