/* =========================================================
   Tokens
   ========================================================= */
:root {
  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --desk: #e8e3d9;
  --ink: #232522;
  --ink-2: #4a4c47;
  --ink-3: #6b6c66;
  --rule: rgba(35, 37, 34, .18);
  --rule-strong: rgba(35, 37, 34, .55);
  --blue: #284a70;
  --blue-soft: rgba(40, 74, 112, .07);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  /* the sheet: same rectangle for the overview and every opened page */
  --sheet-w: min(1040px, calc(100vw - 400px));
  --sheet-top: 24px;
  --sheet-h: calc(100vh - 48px);
  --radius: 3px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--desk);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(40,74,112,.35); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); padding: 8px 12px; border: 1px solid var(--ink); }
.skip:focus { top: 12px; }

/* =========================================================
   Desk + sheet (overview)
   ========================================================= */
.desk {
  min-height: 100vh;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.28), transparent 60%),
    var(--desk);
}
.tour .desk { padding-bottom: 56px; }
.sheet {
  position: relative;
  width: var(--sheet-w);
  height: var(--sheet-h);
  margin: var(--sheet-top) auto 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(35,37,34,.06),
    0 1px 2px rgba(35,37,34,.06),
    0 22px 28px -22px rgba(35,37,34,.45);
  padding: clamp(28px, 4.2vh, 44px) clamp(32px, 4vw, 52px) clamp(22px, 3vh, 34px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  column-gap: clamp(20px, 2.6vw, 36px);
  row-gap: clamp(12px, 2vh, 22px);
}
.tape {
  position: absolute; top: -11px; z-index: 50; width: 108px; height: 30px;
  background: rgba(250, 246, 234, .62);
  box-shadow: 0 1px 2px rgba(35,37,34,.12), inset 0 0 0 1px rgba(255,255,255,.4);
  pointer-events: none;
}
.tape.t1 { left: 7%; transform: rotate(-4deg); }
.tape.t2 { right: 8%; transform: rotate(3deg); }

/* blocks */
.blk { position: relative; min-width: 0; border-top: 1px solid var(--rule-strong); padding-top: clamp(10px, 1.5vh, 14px); cursor: pointer; }
.blk::before {
  content: ""; position: absolute; inset: -1px -12px -8px; border-radius: 4px;
  background: var(--blue-soft); opacity: 0; transition: opacity .18s; pointer-events: none;
}
.blk:hover::before { opacity: 1; }
.blk.pressed::before { opacity: 1; background: rgba(40,74,112,.12); transition: none; }
.blk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: clamp(8px, 1.3vh, 12px); }
.label { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.open { font: 500 12.5px/1.3 var(--sans); white-space: nowrap; text-decoration: none; position: relative; z-index: 1; }
.open::after { content: " →"; }
.open:hover { text-decoration: underline; }
.cue {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; vertical-align: 1px;
  font: 500 11.5px/1 var(--sans); color: var(--blue); letter-spacing: 0; text-transform: none;
  padding: 4px 8px 4px 7px; border-radius: 99px; background: rgba(40,74,112,.08);
  animation: cue-in .4s ease both;
}
.cue::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@keyframes cue-in { from { opacity: 0; } }
.note { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.meta { font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); }

/* intro */
.b-about {
  grid-column: 1 / -1; border-top: 0; padding-top: 0;
  display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: start;
}
.b-about::before { inset: -10px -12px -8px; }
.name { font: 600 clamp(40px, 5.2vh, 56px)/1 var(--serif); letter-spacing: -.015em; color: var(--ink); transform-origin: 0 0; width: max-content; max-width: 100%; }
.lede { font-size: clamp(16px, 2.1vh, 18.5px); line-height: 1.45; color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: clamp(12px, 2vh, 18px); position: relative; z-index: 1; }
.lnk { font-weight: 500; font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  font: 600 13.5px/1 var(--sans); color: var(--paper); background: var(--blue);
  border-radius: 6px; text-decoration: none;
}
.btn::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v7M3 5l3 3 3-3M1.5 10.5h9' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v7M3 5l3 3 3-3M1.5 10.5h9' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn:hover { background: #1f3b5a; color: var(--paper); }
.margin { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.face {
  width: clamp(84px, 12vh, 112px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px;
  filter: grayscale(1) contrast(1.06) brightness(1.04);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(35,37,34,.12), 0 6px 10px -6px rgba(35,37,34,.4);
  transform-origin: 0 0;
}
.hand { font: 500 23px/1 var(--hand); color: var(--ink-2); margin-top: 10px; white-space: nowrap; transform: rotate(-3deg); }
.b-about > .open { display: none; }

/* projects (the strongest block) */
.b-projects { grid-column: 1 / span 7; display: flex; flex-direction: column; min-height: 0; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2vw, 26px); align-items: start; }
.feature-text p:not(.meta) { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 8px 0 8px; }
.ptitle { font: 600 clamp(26px, 3.6vh, 32px)/1.05 var(--serif); letter-spacing: -.01em; transform-origin: 0 0; width: max-content; max-width: 100%; }
.ptitle a { color: var(--ink); text-decoration: none; }
.ptitle a:hover { color: var(--blue); }
.also { margin-top: clamp(10px, 1.8vh, 16px); display: grid; }
.also li:last-child { border-bottom: 1px solid var(--rule); }
.also li { border-top: 1px solid var(--rule); }
.also a { display: block; padding: clamp(5px, .9vh, 8px) 0; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.also a b { font: 600 15px var(--serif); color: var(--ink); margin-right: 8px; }
.also a:hover b { color: var(--blue); }

/* the typeset "how it works" card: sized in em so it scales as one object */
.flow {
  --fs: 10.5px;
  font-size: var(--fs);
  width: 21em;
  padding: 1.3em 1.4em 1.4em;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: .5em;
  transform-origin: 0 0;
}
.flow-k { font: 600 1em/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1em; }
.flow ol { counter-reset: s; display: grid; gap: .9em; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 2.1em 1fr; column-gap: .7em; }
.flow li::before {
  content: counter(s); grid-row: span 2; width: 2.1em; height: 2.1em; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--ink-2); font: 600 1em/1 var(--sans);
}
.flow b { font: 600 1.45em/1.15 var(--serif); }
.flow span { font-size: 1.1em; line-height: 1.35; color: var(--ink-2); }
.flow.big { --fs: 15px; }

/* experience */
.b-experience { grid-column: 8 / -1; }
.role { font: 600 clamp(21px, 2.9vh, 25px)/1.15 var(--serif); letter-spacing: -.005em; transform-origin: 0 0; width: max-content; max-width: 100%; }
.org { font-size: 13.5px; color: var(--ink-3); margin: 3px 0 8px; }
.more { font-size: 13px; color: var(--ink-3); margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }

/* lower rows */
.b-education { grid-column: 1 / span 5; }
.edu-line { font: 600 18px/1.3 var(--serif); }
.b-education .note { margin-top: 4px; }
.b-skills { grid-column: 6 / -1; }
.skill-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.skill-mini dt { font: 600 14px/1.25 var(--serif); }
.skill-mini dd { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.b-recognition { grid-column: 1 / span 8; }
.rec-line { font: 500 14.5px/1.45 var(--sans); color: var(--ink-2); transform-origin: 0 0; }
.rec-line span { color: var(--ink-3); margin: 0 4px; }
.b-contact { grid-column: 9 / -1; }
.mail { font: 600 18px/1.2 var(--serif); transform-origin: 0 0; width: max-content; max-width: 100%; }
.mail a { color: var(--blue); }
.b-contact .note { margin-top: 2px; }

.tour-hint {
  position: fixed; left: 50%; bottom: 2px; transform: translateX(-50%);
  font-size: 12px; color: var(--ink-3); white-space: nowrap;
  transition: opacity .3s;
}

/* =========================================================
   Wide-screen rail
   ========================================================= */
.rail {
  position: fixed; z-index: 60; top: 50%;
  left: calc(50% + var(--sheet-w) / 2 + 28px);
  transform: translateY(-50%);
  width: 160px; display: none; flex-direction: column; gap: 2px;
}
.rail a {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px;
  font: 500 13px/1.2 var(--sans); color: var(--ink-3); text-decoration: none;
}
.rail a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: background .2s, transform .2s; }
.rail a:hover { color: var(--ink); background: rgba(35,37,34,.05); }
.rail a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.rail a[aria-current="true"]::before { background: var(--blue); border-color: var(--blue); transform: scale(1.3); }
.rail a.is-next:not([aria-current="true"]) { color: var(--blue); }

/* =========================================================
   Opened pages (same paper, same rectangle)
   ========================================================= */
.pages { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.page {
  position: absolute;
  top: var(--sheet-top);
  left: calc(50% - var(--sheet-w) / 2);
  width: var(--sheet-w);
  height: var(--sheet-h);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(35,37,34,.06), 0 22px 28px -22px rgba(35,37,34,.45);
  overflow-y: auto; overscroll-behavior: contain;
  pointer-events: auto;
  scrollbar-width: thin; scrollbar-color: rgba(35,37,34,.25) transparent;
}
.page[hidden] { display: none; }
.page:focus { outline: none; }
.pg-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(20px, 3vw, 32px) 18px;
  background: linear-gradient(var(--paper) 75%, rgba(250,247,240,0));
}
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 12px;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px; cursor: pointer;
  font: 500 13.5px/1 var(--sans); color: var(--ink);
}
.back::before { content: "←"; }
.back:hover { border-color: var(--blue); color: var(--blue); }
.pg-k { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pg-in { max-width: 760px; margin: 0 auto; padding: clamp(6px, 1.6vh, 20px) clamp(22px, 4vw, 48px) 40px; }
.pg-title { font: 600 clamp(34px, 4.6vh, 44px)/1.1 var(--serif); letter-spacing: -.012em; margin-bottom: 26px; }
.pg-in .label { margin-bottom: 10px; }
.rule-top { border-top: 1px solid var(--rule-strong); padding-top: 14px; margin-top: 40px; }

.name.big { font-size: clamp(48px, 6.6vh, 64px); }
.ptitle.big { font-size: clamp(40px, 5.6vh, 52px); }
.edu-line.big, .mail.big { font-size: clamp(24px, 3.2vh, 30px); margin-bottom: 26px; }
.rec-line.big { font-size: 18px; margin-bottom: 30px; }

.prose p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.prose p + p { margin-top: 14px; }
.about-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--rule-strong); }
.about-hero .lede { margin-top: 12px; }
.about-face { display: flex; flex-direction: column; align-items: center; }
.about-face img { width: 168px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(1.04); box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(35,37,34,.12), 0 10px 16px -10px rgba(35,37,34,.45); transform-origin: 0 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; border-top: 1px solid var(--rule); padding-top: 20px; }
.facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.facts dt { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.facts dd { font-size: 15px; line-height: 1.6; }

.proj-hero { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; padding-bottom: 30px; margin-bottom: 28px; border-bottom: 1px solid var(--rule-strong); }
.proj-hero .lede { margin: 12px 0 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cols p, .decision p, .proj p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 1.5px; background: var(--ink-3); }
.decision { margin-top: 28px; padding: 18px 20px; background: var(--paper-2); border-left: 2px solid var(--blue); }
.decision .label { color: var(--blue); }
.proj { padding: 18px 0 20px; border-bottom: 1px solid var(--rule); scroll-margin-top: 80px; }
.proj header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.proj .ptitle { font-size: 26px; }
.proj .stack { font: 500 12.5px/1.5 var(--sans); color: var(--ink-3); margin-top: 10px; }

.entry { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.pg-title + .entry, .rec-line + .entry { border-top-color: var(--rule-strong); }
.when { font: 500 12.5px/1.45 var(--sans); color: var(--ink-3); padding-top: 6px; }
.entry .role { font-size: 24px; }
.entry p:not(.org):not(.when) { font-size: 15.5px; color: var(--ink-2); }

.courses li { padding: 12px 0; border-bottom: 1px solid var(--rule); font: 600 19px/1.3 var(--serif); }

.skills div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--rule); }
.skills div:first-child { border-top-color: var(--rule-strong); }
.skills dt { font: 600 18px/1.3 var(--serif); }
.skills dd { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.contact-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-weight: 500; }

.pg-end { margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--rule-strong); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pg-end .next { font: 500 14px/1 var(--sans); background: none; border: 0; padding: 8px 0; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(40,74,112,.35); }
.pg-end .next::after { content: " →"; }
.pg-end .hint { font-size: 12.5px; color: var(--ink-3); }
.doc .pg-end .hint { display: none; }

/* =========================================================
   Phone menu
   ========================================================= */
.menu { position: fixed; z-index: 70; top: max(12px, env(safe-area-inset-top)); right: 12px; display: none; }
.menu-btn {
  min-height: 40px; padding: 0 14px; border-radius: 99px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--rule-strong); font: 600 13.5px/1 var(--sans);
  box-shadow: 0 4px 12px -6px rgba(35,37,34,.35);
}
.menu-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.menu-list {
  position: absolute; right: 0; top: 48px; width: 220px; padding: 6px;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 10px;
  box-shadow: 0 16px 30px -12px rgba(35,37,34,.4);
}
.menu-list[hidden] { display: none; }
.menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-list a[aria-current="true"] { color: var(--blue); font-weight: 600; background: var(--blue-soft); }

/* =========================================================
   Modes
   ========================================================= */
@media (min-width: 1180px) { .tour .rail { display: flex; } }

/* document mode: phones, small tablets, short windows */
.doc { --sheet-w: calc(100vw - 24px); }
.doc .tour-hint { display: none; }
.doc .menu { display: block; }
.doc .sheet { height: auto; margin: 64px auto 28px; display: block; padding: 32px 22px 26px; }
.doc .tape { width: 84px; height: 26px; }
.doc .blk { margin-top: 26px; }
.doc .b-about { margin-top: 0; grid-template-columns: 1fr auto; column-gap: 14px; }
.doc .b-about .intro { display: contents; }
.doc .name { grid-column: 1; align-self: center; font-size: 38px; }
.doc .margin { grid-column: 2; grid-row: 1; }
.doc .face { width: 76px; }
.doc .hand { font-size: 20px; }
.doc .lede { grid-column: 1 / -1; font-size: 16.5px; }
.doc .actions { grid-column: 1 / -1; }
.doc .b-about > .open { display: inline-block; grid-column: 1 / -1; margin-top: 14px; justify-self: start; }
.doc .feature { grid-template-columns: 1fr; }
.doc .flow { --fs: 12px; width: 21em; max-width: 100%; }
.doc .skill-mini { grid-template-columns: 1fr; gap: 10px; }
.doc .skill-mini div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.doc .also a { padding: 10px 0; }
.doc .page { inset: 0; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.doc .pg-bar { padding-right: 120px; }
.doc .pg-in { padding: 8px 20px 48px; }
.doc .about-hero, .doc .proj-hero { grid-template-columns: 1fr; }
.doc .about-face { align-items: flex-start; }
.doc .about-face img { width: 128px; }
.doc .flow.big { --fs: 13.5px; width: 21em; max-width: 100%; }
.doc .cols, .doc .facts { grid-template-columns: 1fr; gap: 20px; }
.doc .entry { grid-template-columns: 1fr; gap: 6px; }
.doc .when br { display: none; }
.doc .skills div { grid-template-columns: 1fr; gap: 4px; }
.doc .name.big { font-size: 42px; }
.doc .ptitle.big { font-size: 38px; }
.doc .edu-line, .doc .ptitle, .doc .role, .doc .mail, .doc .name { width: auto; }

/* short desktop windows: tighten the sheet */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

[data-m] { transform-origin: 0 0; }
.doc.is-open body { overflow: hidden; }


.back { white-space: nowrap; }
.doc .pg-k { display: none; }
.doc.is-open .tape { display: none; }

/* without the rail (narrower windows) the sheet can use the width */
@media (max-width: 1179px) { :root { --sheet-w: min(1040px, calc(100vw - 64px)); } }

/* very short desktop windows: keep the projects row compact */

/* phone: give the small "Open …" links a full-size tap area */
.doc .open { display: inline-block; padding: 12px 0; margin: -12px 0; }

.courses a { color: var(--ink); text-decoration-color: var(--rule-strong); }
.courses a:hover { color: var(--blue); }
.cdesc { display: block; font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); margin-top: 2px; }
[tabindex="-1"]:focus { outline: none; }

/* links to the Outdoors & Training page */
.outlink { color: var(--blue); }
.rec-line .outlink { font-weight: 500; }
.role .outlink { text-decoration-thickness: 1.5px; }
.rail .nav-out { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); border-radius: 0; color: var(--blue); }
.rail .nav-out::before { content: "↗"; width: auto; height: auto; border: 0; font-size: 12px; }
.menu-list .nav-out { border-top: 1px solid var(--rule); border-radius: 0; color: var(--blue); }

/* =========================================================
   Desktop overview: a full-length page you move down through
   ========================================================= */
.tour .sheet {
  height: auto;
  min-height: max(var(--sheet-h), calc(var(--sheet-w) * 1.294));   /* US Letter proportions */
  margin-top: 40px;
  padding: 64px clamp(40px, 5.5vw, 76px) 72px;
  grid-template-rows: auto auto auto auto 1fr;
  align-content: start;
  row-gap: 56px;
}
.tour .sheet .b-about { padding-bottom: 8px; }
.tour .sheet .name { font-size: 64px; }
.tour .sheet .lede { font-size: 20px; margin-top: 16px; }
.tour .sheet .actions { margin-top: 24px; }
.tour .sheet .face { width: 128px; }
.tour .sheet .blk { padding-top: 18px; }
.tour .sheet .blk-head { margin-bottom: 16px; }
.tour .sheet .label { font-size: 12px; }
.tour .sheet .ptitle:not(.big) { font-size: 36px; }
.tour .sheet .feature-text p:not(.meta) { font-size: 16.5px; margin: 12px 0; }
.tour .sheet .flow:not(.big) { --fs: 11.5px; }
.tour .sheet .also { margin-top: 22px; }
.tour .sheet .also a { padding: 10px 0; font-size: 15px; }
.tour .sheet .also a b { font-size: 16.5px; }
.tour .sheet .role:not(.big) { font-size: 28px; }
.tour .sheet .org { font-size: 14.5px; margin: 6px 0 12px; }
.tour .sheet .note { font-size: 15.5px; }
.tour .sheet .more { font-size: 14px; margin-top: 16px; padding-top: 12px; }
.tour .sheet .edu-line { font-size: 22px; }
.tour .sheet .skill-mini { gap: 22px; }
.tour .sheet .skill-mini dt { font-size: 16.5px; }
.tour .sheet .skill-mini dd { font-size: 14.5px; margin-top: 4px; }
.tour .sheet .rec-line { font-size: 16px; line-height: 1.6; }
.tour .sheet .mail { font-size: 22px; }
.tour .sheet::after {
  content: "Gamat Karimli · Resume"; grid-column: 1 / -1; align-self: end;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  border-top: 1px solid var(--rule); padding-top: 14px; text-align: center;
}
.tour .sheet .feature { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 1439px) {
  .tour .sheet .flow:not(.big) { --fs: 10px; }
  .tour .sheet .ptitle:not(.big) { font-size: 32px; }
  .tour .sheet .name { font-size: 56px; }
}
.tour .tour-hint { bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(250,247,240,.92); box-shadow: 0 1px 3px rgba(35,37,34,.12); }
.rec-line .outlink { white-space: nowrap; }
