.home-profile .profile-body {
  grid-template-columns: clamp(150px, 14.4vw, 196.8px) minmax(0, 1fr);
}
.home-profile .profile-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.home-profile h1 {
  margin: 0;
  white-space: nowrap;
}
.home-profile .mobile-signature {
  display: block;
  flex: none;
  width: clamp(42px, 4.5vw, 62px);
  height: auto;
}
.home-profile .desktop-signature, .no-mark .mobile-signature { display: none; }
.home-profile .profile-roles { margin: 0; }
.home-profile .profile-quote { margin: 14px 0 0; }

@media (max-width: 700px) {
  .home-profile .profile-body {
    grid-template-columns: clamp(78px, 24vw, 110.4px) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 0 13px;
    padding: 16px;
  }
  .home-profile .profile-picture { align-self: center; }
  .home-profile .profile-heading {
    justify-content: space-between;
    align-self: end;
    gap: 5px;
    margin: 0 0 5px;
  }
  .home-profile h1 { font-size: clamp(1.39rem, 6.6vw, 2rem); }
  .home-profile .mobile-signature { width: clamp(32px, 8.8vw, 45px); }
  .home-profile .profile-roles { font-size: 0.75rem; line-height: 1.45; }
  .home-profile .profile-quote {
    margin: 18px 0 0;
    font-size: 0.98rem;
    line-height: 1.45;
  }
  .home-profile .profile-quote p { text-wrap: pretty; }
  .home-profile .profile-quote p span { display: inline; }
  .home-profile .profile-quote footer { margin-top: 7px; font-size: 0.82rem; }
}
@media (max-width: 355px) {
  .home-profile .profile-body { padding: 12px; column-gap: 10px; }
}
.home-profile .profile-roles .role-text { margin: 0; white-space: nowrap; }
@media (max-width: 450px) {
  .home-profile .profile-roles .role-text { display: block; }
  .home-profile .profile-roles .role-slash { display: none; }
}

#academic-title { margin: 0; font: inherit; }
.collection-folders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0; padding: 24px 30px 26px;
  font-family: var(--typewriter);
}
.collection-folder {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 23px 18px 18px;
  text-align: center; text-decoration: none; color: var(--ink);
}
.collection-folder + .collection-folder { border-left: 1px dotted #ad8797; }
.collection-folder:hover, .collection-folder:focus-visible { background: #fae6dd; }
.collection-folder .icon-folder { width: 65px; height: 43px; }
.folder-copy { display: grid; justify-items: center; gap: 10px; }
.folder-copy strong {
  color: var(--plum-dark); padding: 2px 9px;
  background: #f7dfdc; box-shadow: 1.5px 2px 0 #c39aa5;
  font-size: 1.12rem; line-height: 1.25;
}
.folder-copy > span { max-width: 31ch; font-size: 0.97rem; line-height: 1.45; }
.notebook { padding: clamp(18px, 3.3vw, 38px); }
.notebook h1 { font-size: clamp(2rem,4.2vw,3.35rem); margin-bottom: 24px; }
.philosophy-tabs { display: flex; align-items: end; gap: 5px; padding-left: 9px; }
.philosophy-tabs button {
  font: 700 1rem/1.15 var(--typewriter); min-height: 44px;
  color: var(--plum-dark); background: #edc6d5;
  border: 1.5px solid var(--border); border-bottom: 0;
  border-radius: 6px 6px 0 0; padding: 8px 16px; cursor: pointer;
  box-shadow: inset 1px 1px #fff3f6;
}
.philosophy-tabs button[aria-selected="true"] {
  position: relative; z-index: 1; background: var(--paper); top: 2px;
  border-top: 4px solid var(--berry); padding-top: 6px;
}
.philosophy-tabs button:focus-visible, .statement-paper:focus-visible {
  outline: 3px solid var(--berry); outline-offset: -5px;
}
.statement-paper {
  border: 1.5px solid var(--border); box-shadow: 2px 3px #c8a9b0;
  padding: clamp(16px, 2.7vw, 31px) clamp(16px,3.6vw,44px);
  background: var(--paper);
}
.statement-paper p { margin: 0 auto 1rem; max-width: 68ch; line-height: 1.58; }
.statement-paper p:last-child { margin-bottom: 0; }
#quill-and-banter .title-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
#quill-and-banter .title-bar > span { grid-column: 2; text-align: center; }
#quill-and-banter .window-home { grid-column: 3; justify-self: end; }
#quill-and-banter .detail-body {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
#quill-and-banter .detail-body > * { margin: 0; }
#quill-and-banter .detail-body p { max-width: 55ch; text-wrap: balance; }
.contact-compose {
  width: 100%;
  max-width: 43rem;
  margin-inline: auto;
}
.contact-compose .contact-recipient {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 1px dotted #ad8797;
}
.contact-recipient span {
  padding: .1rem .55rem;
  background: #f7dfdc;
  color: var(--plum-dark);
}
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .4rem;
}
.contact-form label { font-weight: 700; }
.contact-form :is(input, textarea) {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 .65rem;
  padding: .5rem .65rem;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: inset 1px 1px #d4b9c2;
  background: #fffdf9;
  color: var(--ink);
  font: 1rem/1.5 var(--typewriter);
  cursor: text;
}
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; min-height: 44px; padding-inline: 1rem; font: 700 1rem var(--typewriter); }
.contact-form :focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
@media (max-width: 700px) {
  .collection-folders { padding: 7px 13px; grid-template-columns: 1fr; }
  .collection-folder {
    flex-direction: row; gap: 17px; align-items: start;
    text-align: left; padding: 18px 4px;
  }
  .collection-folder + .collection-folder { border-left: 0; border-top: 1px dotted #ad8797; }
  .collection-folder .icon-folder { width: 43px; height: 31px; margin-top: 10px; }
  .folder-copy { justify-items: start; gap: 7px; }
  .folder-copy strong { font-size: 1rem; padding-inline: 5px; }
  .folder-copy > span { font-size: 0.92rem; line-height: 1.4; }
  .notebook { padding: 16px 9px 13px; }
  .notebook h1 { font-size: clamp(1.5rem,6.8vw,2.1rem); margin: 0 0 17px 2px; }
  .philosophy-tabs { padding-left: 3px; gap: 4px; }
  .philosophy-tabs button { font-size: 0.92rem; padding-inline: 10px; }
  .statement-paper { padding: 15px 11px; }
  .statement-paper p { font-size: 0.95rem; line-height: 1.5; }
}

.statement-paper .statement-opening {
  display: block;
  margin-bottom: .5em;
  font-size: 1.125em;
  font-weight: 700;
  line-height: 1.4;
}

.cv-body {
  padding: clamp(18px, 4vw, 46px);
  color: var(--ink);
}
.cv-mast {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.cv-mast h1 {
  margin: 0;
  font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.08 var(--typewriter);
  color: var(--plum-dark);
}
.cv-mast p {
  max-width: 48ch;
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.5;
}
.cv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.cv-actions a { font-weight: bold; }
.cv-actions .retro-button { min-height: 44px; }
.cv-contact { color: var(--berry); padding-block: 8px; }
.cv-section { border-top: 1px solid var(--rule); }
.cv-section:last-child { border-bottom: 1px solid var(--rule); }
.cv-section summary {
  display: flex;
  gap: .8rem;
  align-items: center;
  min-height: 48px;
  color: var(--plum-dark);
  padding: 8px 4px;
  cursor: pointer;
  list-style: none;
}
.cv-section summary::-webkit-details-marker { display: none; }
.cv-section summary::before {
  content: '';
  width: 0; height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid var(--berry);
  margin: 0 4px;
  flex: none;
}
.cv-section[open] > summary::before { transform: rotate(90deg); }
.cv-section summary h2 { margin: 0; font: 700 clamp(1.12rem,2.2vw,1.43rem)/1.2 var(--typewriter); }
.cv-section summary:hover { background: #f8e3e5; }
.cv-section summary:focus-visible { outline: 2px solid var(--berry); outline-offset: 1px; }
.cv-entries { padding: 0 0 17px clamp(0px,2vw,28px); max-width: 78ch; }
.cv-entries h3 {
  margin: 23px 0 4px;
  font: 700 1.1rem/1.38 var(--typewriter);
}
.cv-entries > :first-child { margin-top: 4px; }
.cv-entries p { margin: 7px 0 11px; font: 1.04rem/1.55 var(--typewriter); }
.cv-entries .cv-position, .cv-entries .cv-qualification {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1rem;
}
.cv-entries .cv-position { margin: 2px 0; color: var(--plum); }
.cv-entries small { color: #654758; font-size: .88rem; }
.cv-entries .cv-qualification strong { width: 100%; }
@media (max-width: 700px) {
  .cv-mast { margin-bottom: 16px; }
  .cv-entries { padding-left: 0; }
  .cv-entries .cv-position { display: grid; margin-bottom: 8px; }
  .cv-entries p { font-size: 1rem; }
}

