.process-cards .notebook-trigger {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 18px;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 0;
  color: #b7f8df;
  font: 500 13px/1.5 Body, Arial, sans-serif;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #70bcae;
}
.process-cards .notebook-trigger::after { content: '+'; font-size: 19px; text-decoration: none; }
.process-cards .notebook-trigger:hover { color: #fff; text-decoration-color: currentColor; }
@media (min-width: 601px) and (max-width: 800px) {
  .process-cards .process-result { grid-row: 4; padding-right: 52%; }
  .process-cards .notebook-trigger { grid-column: 2; grid-row: 4; align-self: end; justify-self: end; margin-top: 0; }
}
.project-notebook {
  width: 760px;
  max-width: calc(100% - 32px);
  max-height: min(88vh, 820px);
  max-height: min(88dvh, 820px);
  margin: auto;
  padding: 0;
  border: 1px solid #b5d5cb;
  border-top: 4px solid var(--mint, #39e4bf);
  background: var(--paper, #f9fffc);
  color: var(--ink, #00434c);
  box-shadow: 0 30px 100px #002f3970;
  overflow: hidden;
  font: 14px/1.7 Body, Arial, sans-serif;
}
.project-notebook[open] { display: flex; flex-direction: column; }
.project-notebook::backdrop { background: #003e47b8; backdrop-filter: blur(5px); }
.notebook-header { flex-shrink: 0; padding: 25px 36px 22px; }
.notebook-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 23px; }
.notebook-kicker { font-size: 10px; line-height: 1.6; letter-spacing: .09em; }
.notebook-close { flex-shrink: 0; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line, #b5d5cb); border-radius: 24px; font-size: 12px; }
.notebook-close:hover { background: var(--soft, #e9faf3); }
.project-notebook .notebook-title { max-width: 590px; margin: 0; font: 550 clamp(30px, 4vw, 43px)/1.08 Display, Arial, sans-serif; letter-spacing: -.04em; }
.project-notebook .notebook-intro { max-width: 520px; margin: 16px 0 0; color: var(--muted, #406860); font-size: 13px; line-height: 1.7; }
.notebook-tabs { display: flex; flex-shrink: 0; gap: 27px; padding: 0 36px; border-bottom: 1px solid var(--line, #b5d5cb); }
.notebook-tab { position: relative; min-height: 48px; padding: 12px 0; font-size: 13px; color: var(--muted, #406860); }
.notebook-tab[aria-selected=true] { color: var(--ink, #00434c); font-weight: 700; }
.notebook-tab[aria-selected=true]::after { content: ''; position: absolute; height: 3px; inset: auto 0 -1px; background: var(--petrol, #005660); }
.notebook-tab:focus-visible { outline-offset: -2px; }
.notebook-pages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #88b6a6 transparent; }
.notebook-page { padding: 28px 36px 34px; }
.notebook-page:focus-visible { outline-offset: -5px; }
.project-notebook .notebook-folio { margin: 0 0 12px; font-size: 10px; letter-spacing: .09em; color: var(--muted, #406860); }
.project-notebook h3 { margin: 0; font: 500 28px/1.14 Display, Arial, sans-serif; letter-spacing: -.025em; }
.project-notebook .notebook-lead { margin: 15px 0 24px; font-size: 14px; line-height: 1.75; }
.notebook-facts { margin: 0; }
.notebook-fact { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line, #b5d5cb); }
.notebook-fact dt { font-size: 12px; font-weight: 700; }
.notebook-fact dd { margin: 0; font-size: 13px; line-height: 1.8; }
.notebook-note { margin-top: 21px; padding: 17px 20px; border-left: 2px solid var(--petrol, #005660); background: var(--soft, #e9faf3); }
.project-notebook h4 { font: 700 12px/1.6 Body, Arial, sans-serif; letter-spacing: 0; }
.notebook-note p { margin: 7px 0 0; font-size: 13px; line-height: 1.8; }
.notebook-review { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: review; }
.notebook-review li { position: relative; padding: 17px 0 17px 30px; border-top: 1px solid var(--line, #b5d5cb); counter-increment: review; }
.notebook-review li::before { content: '0' counter(review); position: absolute; left: 0; top: 19px; font-size: 10px; color: var(--muted, #406860); }
.project-notebook .notebook-comment { margin: 0; font: 400 20px/1.4 Georgia, 'Times New Roman', serif; }
.project-notebook .notebook-decision { margin: 10px 0 0; font-size: 13px; line-height: 1.8; }
.notebook-subheading { margin: 0 0 10px; }
.notebook-checks { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; }
.notebook-checks li + li { margin-top: 7px; }
@media (max-width: 520px) {
  .project-notebook { max-width: calc(100% - 20px); max-height: 93vh; max-height: 93dvh; }
  .notebook-header { padding: 15px 21px 18px; }
  .notebook-top { margin-bottom: 16px; gap: 12px; }
  .notebook-kicker { max-width: 155px; font-size: 10px; }
  .project-notebook .notebook-title { font-size: 31px; }
  .project-notebook .notebook-intro { margin-top: 13px; font-size: 12px; }
  .notebook-tabs { padding-inline: 21px; gap: 25px; }
  .notebook-page { padding: 23px 21px 28px; }
  .project-notebook h3 { font-size: 26px; }
  .notebook-fact { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .notebook-note { padding: 15px; }
}
@media (max-height: 540px) and (min-width: 521px) {
  .notebook-header { padding-top: 12px; padding-bottom: 14px; }
  .notebook-top { margin-bottom: 8px; }
  .project-notebook .notebook-title { font-size: 30px; }
  .project-notebook .notebook-intro { margin-top: 8px; }
}
@media (max-height: 600px) {
  .project-notebook[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .notebook-pages { overflow: visible; }
}
