/* Infiniti: teal-headed cards on a grey page, single-column timeline. */
:root {
  --rs-accent: #00897b;
  --rs-ink: #1d2626;
  --rs-text: #3d4848;
  --rs-muted: #7c8888;
  --rs-line: #e3eaea;
  --jo-accent: #26a69a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.65 'Open Sans', system-ui, sans-serif; color: var(--rs-text); background: #eef1f1; }
h1, h2, p { margin: 0; }
a { color: var(--rs-accent); }

.in { width: min(100% - 32px, 920px); margin: 36px auto; display: grid; gap: 22px; }
.in-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px -14px rgba(0, 40, 40, .22); }
.in-title {
  background: #26a69a; color: #fff; padding: .7rem 1.6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.in-body { padding: 1.5rem 1.6rem 1.6rem; }

/* header card */
.in-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; padding: 30px 32px; border-top: 6px solid #26a69a; }
.in-photo { width: 140px; height: 175px; object-fit: cover; object-position: center top; border-radius: 4px; }
.in-name { font-size: 2.3rem; line-height: 1.1; font-weight: 300; color: var(--rs-ink); }
.in-name b { font-weight: 700; }
.in-headline { margin-top: .35rem; font-size: 1.08rem; font-weight: 600; color: var(--rs-accent); }
.in-head .rs-contact { margin-top: 1rem; }
.in-about { margin-top: 1.1rem; padding-left: 1rem; border-left: 3px solid #26a69a; white-space: pre-wrap; }

/* timeline */
.in-timeline .rs-item { position: relative; padding-left: 28px; }
.in-timeline .rs-item { --dot: 12px; --mid: calc(1.05rem * 1.35 / 2); }
.in-timeline .rs-item::before { content: ''; position: absolute; left: calc(var(--dot) / 2 - 1px); top: var(--mid); bottom: -1.4rem; width: 2px; background: #cfe9e6; }
.in-timeline .rs-item:last-child::before { display: none; }
.in-timeline .rs-item::after { content: ''; position: absolute; left: 0; top: calc(var(--mid) - var(--dot) / 2); width: var(--dot); height: var(--dot); border-radius: 50%; background: #26a69a; box-shadow: 0 0 0 3px #e0f2f1; }
.in-timeline .rs-item + .rs-item { margin-top: 1.4rem; }

.in-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.in-contact .jo-contact { margin: 0; padding: 0; max-width: none; }
.in-contact .jo-contact-title { display: none; }

@media screen and (max-width: 640px) {
  .in { margin: 16px auto; gap: 16px; }
  .in-head { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .in-photo { width: 112px; height: 140px; }
  .in-name { font-size: 1.9rem; }
  .in-title { padding: .65rem 1.2rem; }
  .in-body { padding: 1.2rem; }
}

/* PDF */
.is-print { background: #fff; font-size: 10pt; }
.is-print .in { width: 100%; margin: 0; gap: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.is-print .in-card { box-shadow: none; border: 1px solid #dfe7e7; }
.is-print .in-head { padding: 16px 18px; }
.is-print .in-photo { width: 100px; height: 125px; }
.is-print .in-name { font-size: 20pt; }
.is-print .in-body { padding: 12px 16px; }
