:root {
  --ivory: #f8f5ee;
  --ivory-2: #efebe3;
  --paper: #fffdf8;
  --plum: #1c1020;
  --plum-2: #2a182d;
  --plum-3: #3d2740;
  --coral: #f24838;
  --coral-dark: #b92f26;
  --wash: #e8e2f0;
  --ink: #181319;
  --muted: #686168;
  --line: rgba(28, 16, 32, 0.18);
  --line-light: rgba(248, 245, 238, 0.18);
  --page: clamp(20px, 4.2vw, 80px);
  --max: 1760px;
  --radius: 4px;
  --focus-color: var(--coral);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
  box-shadow: none;
}

:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

html.using-pointer :focus {
  outline: none;
  box-shadow: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-160%);
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  width: 74px;
  height: auto;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
}

.site-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.77rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer nav a:hover {
  color: var(--ink);
}

.site-nav .nav-contact {
  display: none;
}

.header-contact {
  justify-self: end;
  padding: 10px 13px;
  border-radius: 2px;
  background: var(--plum);
  color: var(--ivory);
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}

.header-contact:hover {
  background: var(--coral);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.kicker,
.case-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.kicker > span,
.case-label::before {
  width: 21px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--coral);
  content: "";
}

.button,
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.button {
  padding: 13px 16px;
  border-radius: 2px;
  text-decoration: none;
}

.button-ink {
  background: var(--plum);
  color: var(--ivory);
}

.button-ink:hover {
  background: var(--coral);
  color: var(--ink);
}

.quiet-link {
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

/* Hero and main product */
.hero {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(68px, 6.2vw, 100px) var(--page) clamp(90px, 7.5vw, 130px);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  gap: clamp(40px, 7vw, 130px);
  align-items: end;
  margin-bottom: clamp(48px, 4.4vw, 74px);
}

.hero-copy .kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(4rem, 7.15vw, 8.2rem);
}

.hero h1 em {
  display: block;
  color: var(--coral);
  font-style: normal;
}

.hero-side {
  padding-bottom: 0.5rem;
}

.hero-side > p {
  max-width: 35rem;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.product-theater {
  position: relative;
}

.theater-intro {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.theater-intro p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.workbench {
  overflow: hidden;
  border: 1px solid var(--plum-3);
  border-radius: var(--radius);
  background: var(--plum);
  color: var(--ivory);
  box-shadow: 0 38px 70px rgba(38, 20, 42, 0.18);
}

.workbench-topbar,
.workbench-footer,
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workbench-topbar {
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.72rem;
}

.workbench-topbar > div:first-child,
.demo-header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-mark {
  width: 8px;
  height: 8px;
  border: 2px solid var(--coral);
  border-radius: 50%;
}

.workbench-meta {
  display: flex;
  gap: 30px;
  color: rgba(248, 245, 238, 0.72);
}

.workbench-stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-light);
}

.workbench-stage-tabs button,
.case-stage-tabs button {
  position: relative;
  min-height: 64px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid var(--line-light);
  background: transparent;
  color: rgba(248, 245, 238, 0.72);
  text-align: left;
  cursor: pointer;
}

.workbench-stage-tabs button:last-child,
.case-stage-tabs button:last-child {
  border-right: 0;
}

.workbench-stage-tabs button span,
.case-stage-tabs button span {
  margin-right: 9px;
  font-size: 0.62rem;
}

.workbench-stage-tabs button[aria-pressed="true"],
.case-stage-tabs button[aria-selected="true"] {
  color: var(--ivory);
}

.workbench-stage-tabs button[aria-pressed="true"]::after,
.case-stage-tabs button[aria-selected="true"]::after {
  position: absolute;
  right: 22px;
  bottom: -1px;
  left: 22px;
  height: 2px;
  background: var(--coral);
  content: "";
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr 1.18fr 0.8fr;
  min-height: 520px;
}

.workbench-panel {
  min-width: 0;
  padding: clamp(22px, 2.1vw, 38px);
  border-right: 1px solid var(--line-light);
  background: var(--plum);
  transition: background-color 240ms ease;
}

.workbench-panel:last-child {
  border-right: 0;
}

.workbench-panel.is-active {
  background: var(--plum-2);
  opacity: 1;
}

.workbench-panel.is-active > * {
  animation: workbench-reveal 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.workbench-panel.is-active > *:nth-child(2) {
  animation-delay: 55ms;
}

.workbench-panel.is-active > *:nth-child(3) {
  animation-delay: 110ms;
}

@keyframes workbench-reveal {
  from {
    opacity: 0.45;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1181px) {
  .workbench-grid {
    transition: grid-template-columns 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .workbench[data-active-stage="enter"] .workbench-grid {
    grid-template-columns: 1.24fr 0.96fr 1fr 0.72fr;
  }

  .workbench[data-active-stage="work"] .workbench-grid {
    grid-template-columns: 0.9fr 1.28fr 1fr 0.72fr;
  }

  .workbench[data-active-stage="result"] .workbench-grid {
    grid-template-columns: 0.84fr 1fr 1.34fr 0.74fr;
  }

  .workbench[data-active-stage="decision"] .workbench-grid {
    grid-template-columns: 0.82fr 0.96fr 1.08fr 1.06fr;
  }
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 0.72rem;
}

.panel-label span {
  color: rgba(248, 245, 238, 0.72);
  text-transform: uppercase;
}

.panel-label b {
  font-weight: 600;
}

.request-item {
  padding: 22px;
  background: var(--ivory);
  color: var(--ink);
}

.request-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.request-head > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--wash);
  font-size: 0.68rem;
  font-weight: 800;
}

.request-head div {
  display: grid;
}

.request-head b {
  font-size: 0.8rem;
}

.request-head small {
  color: var(--muted);
  font-size: 0.7rem;
}

.request-item > p {
  margin-bottom: 25px;
  font-size: 0.91rem;
  line-height: 1.55;
}

.source-files {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.source-files span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.context-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 20px;
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.69rem;
}

.context-register b {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  color: var(--ivory);
}

.work-progress {
  height: 2px;
  margin: 0 0 25px;
  overflow: hidden;
  background: rgba(248, 245, 238, 0.15);
}

.work-progress i {
  display: block;
  width: 63%;
  height: 100%;
  background: var(--coral);
  transition: width 180ms ease;
}

.work-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-log li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid rgba(248, 245, 238, 0.1);
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.72rem;
}

.work-log li i,
.system-note > span,
.workbench-footer i,
.journey-output > p i {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.work-log li small {
  color: inherit;
}

.work-log li.is-done {
  color: rgba(248, 245, 238, 0.78);
}

.work-log li.is-done i {
  border-color: var(--ivory);
  background: var(--ivory);
}

.work-log li.is-current {
  color: var(--ivory);
  font-weight: 700;
}

.work-log li.is-current i {
  border-color: var(--coral);
  background: var(--coral);
}

.system-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 25px 0 0;
  color: rgba(248, 245, 238, 0.7);
  font-size: 0.7rem;
}

.system-note > span {
  border-color: var(--coral);
  background: var(--coral);
}

.system-note b {
  color: var(--ivory);
}

.prepared-output {
  min-height: 350px;
  padding: 25px;
  background: var(--paper);
  color: var(--ink);
}

.prepared-output header,
.case-review-card header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.64rem;
}

.prepared-output header span,
.case-review-card header span {
  color: var(--muted);
}

.prepared-output header b,
.case-review-card header b {
  color: var(--coral-dark);
}

.prepared-output h2 {
  max-width: 10ch;
  margin: 45px 0 35px;
  font-size: clamp(1.8rem, 2.2vw, 2.7rem);
}

.prepared-output dl,
.case-review-card dl {
  margin-bottom: 25px;
}

.prepared-output dl div,
.case-review-card dl div {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.prepared-output dt,
.case-review-card dt {
  color: var(--muted);
  font-size: 0.67rem;
}

.prepared-output dd,
.case-review-card dd {
  margin: 0;
  font-size: 0.72rem;
}

.prepared-output > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.prepared-output > p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plum);
}

.decision-state > span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
}

.decision-state h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 2.25vw, 2.7rem);
}

.decision-state p {
  margin-bottom: 28px;
  color: rgba(248, 245, 238, 0.78);
  font-size: 0.8rem;
  line-height: 1.6;
}

.review-button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 2px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.review-button:hover {
  background: var(--ivory);
}

.decision-state small {
  display: block;
  margin-top: 14px;
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.67rem;
}

.workbench-footer {
  min-height: 50px;
  padding: 0 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.67rem;
}

.workbench-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.workbench-footer i {
  border-color: var(--coral);
  background: var(--coral);
}

/* Transformation */
.transformation,
.experience,
.assurance,
.supporting-work,
.profile-main {
  max-width: var(--max);
  margin-inline: auto;
}

.transformation {
  overflow: hidden;
  padding: clamp(90px, 8vw, 145px) var(--page);
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(50px, 8vw, 150px);
  align-items: end;
  margin-bottom: clamp(58px, 5.5vw, 92px);
}

.section-intro .kicker {
  grid-column: 1 / -1;
  margin-bottom: -15px;
}

.section-intro h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 6.1rem);
}

.section-intro > p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.work-journey {
  display: grid;
  grid-template-columns: 1.12fr 0.44fr 0.82fr;
  gap: clamp(26px, 4vw, 70px);
  align-items: stretch;
  min-height: 480px;
}

.journey-inputs {
  position: relative;
  min-height: 480px;
  border-top: 1px solid var(--line);
}

.journey-inputs > p,
.journey-output > span {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.input-fragment {
  position: absolute;
  min-width: 120px;
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.input-fragment::after {
  position: absolute;
  right: -38px;
  bottom: -1px;
  width: 38px;
  height: 1px;
  background: var(--coral);
  content: "";
}

.input-fragment small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.fragment-mail { top: 85px; left: 3%; }
.fragment-pdf { top: 155px; left: 40%; }
.fragment-message { top: 245px; left: 12%; }
.fragment-crm { top: 315px; left: 52%; }
.fragment-sheet { top: 390px; left: 27%; }
.fragment-person { top: 120px; right: 0; }

.journey-system {
  display: grid;
  place-content: center;
  position: relative;
  min-height: 480px;
  border-block: 1px solid var(--line);
  text-align: center;
}

.journey-system::before,
.journey-system::after {
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: var(--coral);
  content: "";
}

.journey-system::before { left: -20%; }
.journey-system::after { right: -20%; }

.journey-system span {
  color: var(--muted);
  font-size: 0.72rem;
}

.journey-system b {
  max-width: 10ch;
  margin: 12px auto 0;
  font-size: 1.15rem;
}

.journey-system i {
  width: 9px;
  height: 9px;
  margin: 22px auto 0;
  background: var(--coral);
}

.journey-output {
  display: flex;
  min-height: 480px;
  padding: clamp(28px, 3vw, 50px);
  flex-direction: column;
  justify-content: space-between;
  background: var(--plum);
  color: var(--ivory);
}

.journey-output > span {
  margin: 0;
  color: rgba(248, 245, 238, 0.72);
}

.journey-output h3 {
  max-width: 10ch;
  margin: 45px 0 auto;
  font-size: clamp(2rem, 3.3vw, 4.15rem);
}

.journey-output dl {
  margin-bottom: 30px;
}

.journey-output dl div {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line-light);
}

.journey-output dt {
  color: rgba(248, 245, 238, 0.48);
  font-size: 0.68rem;
}

.journey-output dd {
  margin: 0;
  font-size: 0.72rem;
}

.journey-output > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.journey-output > p i {
  border-color: var(--coral);
  background: var(--coral);
}

/* Blaveling */
.blaveling {
  padding: clamp(90px, 7.5vw, 135px) var(--page);
  background: var(--plum);
  color: var(--ivory);
}

.blaveling > * {
  max-width: var(--max);
  margin-inline: auto;
}

.case-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(50px, 8vw, 150px);
  align-items: end;
  margin-bottom: clamp(55px, 5.5vw, 88px);
}

.case-label {
  color: rgba(248, 245, 238, 0.55);
}

.case-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 5.2vw, 6.4rem);
}

.case-heading > p {
  max-width: 33rem;
  margin-bottom: 0;
  color: rgba(248, 245, 238, 0.64);
  line-height: 1.7;
}

.blaveling-demo {
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--ivory);
  color: var(--ink);
}

.demo-header {
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-light);
  background: var(--plum-2);
  color: var(--ivory);
  font-size: 0.68rem;
}

.demo-header > span {
  color: rgba(248, 245, 238, 0.72);
}

.case-stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--plum-2);
}

.case-stage-tabs button {
  min-height: 58px;
}

.case-stage-area {
  min-height: 410px;
}

.case-stage-panel {
  display: grid;
  grid-template-columns: 0.26fr 1.14fr 0.6fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  min-height: 410px;
  padding: clamp(32px, 4vw, 68px);
}

.has-js .case-stage-panel:not(.is-active) {
  display: none;
}

.case-index {
  align-self: start;
  padding-top: 4px;
  color: var(--coral-dark);
  font-size: 0.67rem;
  font-weight: 750;
}

.case-request {
  max-width: 720px;
}

.case-request > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.case-request h3 {
  max-width: 15ch;
  margin: 30px 0 22px;
  font-size: clamp(2.3rem, 4vw, 5rem);
}

.case-request p {
  max-width: 40rem;
  margin-bottom: 28px;
  color: var(--muted);
}

.case-request > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-request > div b {
  padding: 7px 9px;
  border: 1px solid var(--line);
  font-size: 0.64rem;
}

.case-explanation {
  align-self: end;
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.case-explanation b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.case-system-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-system-log li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.case-system-log li i {
  width: 7px;
  height: 7px;
  background: var(--plum);
}

.case-system-log li:nth-child(3) i {
  background: var(--coral);
}

.case-system-log li b {
  color: var(--muted);
  font-size: 0.7rem;
}

.case-review-card {
  padding: clamp(28px, 4vw, 60px);
  background: var(--plum);
  color: var(--ivory);
}

.case-review-card h3 {
  max-width: 12ch;
  margin: 42px 0;
  font-size: clamp(2rem, 3vw, 3.8rem);
}

.case-review-card dl div {
  border-color: var(--line-light);
}

.case-review-card dt,
.case-review-card header span {
  color: rgba(248, 245, 238, 0.72);
}

.case-footnote {
  margin-top: 15px;
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.69rem;
  text-align: right;
}

/* Citel */
.experience {
  padding: clamp(90px, 8vw, 145px) var(--page);
}

.experience-lead {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(50px, 8vw, 150px);
  align-items: end;
  margin-bottom: clamp(58px, 5.5vw, 92px);
}

.experience-lead .kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.experience-lead h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 6.4rem);
}

.experience-lead > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.experience-browser {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: stretch;
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-list button {
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  gap: 25px;
  align-items: center;
  width: 100%;
  min-height: 105px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.experience-list button span {
  color: var(--muted);
  font-size: 0.72rem;
}

.experience-list button b {
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
}

.experience-list button i {
  font-style: normal;
  opacity: 0;
}

.experience-list button:hover i,
.experience-list button.is-active i {
  opacity: 1;
}

.experience-list button.is-active span,
.experience-list button.is-active i {
  color: var(--coral-dark);
}

.experience-detail {
  display: flex;
  min-height: 390px;
  padding: clamp(35px, 4.6vw, 75px);
  flex-direction: column;
  background: var(--plum);
  color: var(--ivory);
}

.experience-detail > div:first-child {
  display: flex;
  justify-content: space-between;
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.7rem;
}

.experience-detail h3 {
  max-width: 10ch;
  margin: 52px 0 25px;
  font-size: clamp(2.5rem, 4vw, 5rem);
}

.experience-detail > p {
  max-width: 34rem;
  margin-bottom: auto;
  color: rgba(248, 245, 238, 0.72);
  line-height: 1.7;
}

.experience-detail dl {
  margin: 45px 0 0;
}

.experience-detail dl div {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--line-light);
}

.experience-detail dt {
  color: rgba(248, 245, 238, 0.72);
  font-size: 0.68rem;
}

.experience-detail dd {
  margin: 0;
  font-size: 0.75rem;
}

/* Security, method and supporting work */
.assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 7vw, 120px);
  padding: clamp(68px, 6vw, 100px) var(--page);
  background: var(--wash);
}

.assurance-copy h2 {
  max-width: 13ch;
  margin-bottom: 25px;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
}

.assurance-copy > p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  font-weight: 650;
}

.assurance-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  align-self: center;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.assurance-points li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 650;
}

.process-line {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.process-line span {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 700;
}

.process-line i {
  color: var(--coral-dark);
  font-style: normal;
}

.supporting-work {
  padding: clamp(75px, 6.5vw, 115px) var(--page);
}

.secondary-work {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(45px, 7vw, 120px);
  align-items: start;
  padding-bottom: clamp(62px, 5.5vw, 92px);
}

.secondary-work h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 4.6rem);
}

.secondary-note {
  max-width: 34rem;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.secondary-list {
  border-top: 1px solid var(--line);
}

.secondary-list p {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.secondary-list span {
  color: var(--muted);
}

.pau-preview {
  display: grid;
  grid-template-columns: 130px 1fr 0.72fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 5vw, 75px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.pau-preview img {
  width: 130px;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.82);
}

.pau-preview h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.1rem, 3.2vw, 3.9rem);
}

.pau-copy p {
  max-width: 28rem;
  margin-bottom: 22px;
  color: var(--muted);
}

.final-contact {
  padding: clamp(80px, 8vw, 140px) max(var(--page), calc((100vw - var(--max)) / 2 + var(--page)));
  background: var(--coral);
  color: var(--ink);
}

.final-contact > p {
  max-width: 43rem;
  margin-bottom: clamp(45px, 6vw, 85px);
  font-size: 0.8rem;
}

.final-contact h2 {
  max-width: 13ch;
  margin-bottom: clamp(40px, 5vw, 70px);
  font-size: clamp(3.5rem, 7vw, 8.3rem);
}

.final-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.final-contact-links a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  background: var(--plum);
  color: var(--ivory);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  right: 0;
  left: 0;
  height: 86px;
  background: var(--plum);
  content: "";
}

.site-footer > p {
  margin: 0;
  color: rgba(248, 245, 238, 0.45);
  font-size: 0.64rem;
}

.site-footer nav {
  display: flex;
  justify-self: end;
  gap: 20px;
}

.site-footer nav a {
  color: rgba(248, 245, 238, 0.58);
}

/* Human review */
.review-dialog {
  width: min(92vw, 680px);
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
}

.review-dialog::backdrop {
  background: rgba(28, 16, 32, 0.82);
}

.dialog-content {
  padding: clamp(28px, 5vw, 60px);
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.72rem;
}

.dialog-top button {
  display: grid;
  width: 34px;
  height: 34px;
  margin-top: -10px;
  margin-right: -10px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.dialog-top button:hover {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--ivory);
}

.review-dialog h2 {
  max-width: 13ch;
  margin-bottom: 25px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.review-dialog > .dialog-content > p {
  color: var(--muted);
}

.review-dialog dl {
  margin: 40px 0 30px;
}

.review-dialog dl div {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.review-dialog dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.review-dialog dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
}

.decision-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.decision-actions button {
  min-height: 50px;
  padding: 10px;
  border: 1px solid var(--plum);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 750;
  cursor: pointer;
}

.decision-actions button:first-child,
.decision-actions button:hover {
  background: var(--coral);
}

.dialog-status {
  min-height: 22px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.review-button:focus-visible,
.final-contact a:focus-visible,
.profile-contact a:focus-visible {
  --focus-color: var(--plum);
}

/* Professional profile */
.profile-main {
  padding-inline: var(--page);
}

.profile-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(50px, 9vw, 160px);
  align-items: end;
  padding: clamp(82px, 8vw, 135px) 0 clamp(88px, 8vw, 135px);
}

.profile-hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 35px;
  font-size: clamp(3.7rem, 6.7vw, 7.7rem);
}

.profile-hero-copy,
.profile-portrait {
  min-width: 0;
}

.profile-hero-copy > p:not(.kicker) {
  max-width: 48rem;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.print-link {
  font-weight: 700;
}

.profile-portrait {
  justify-self: end;
  width: min(100%, 420px);
}

.profile-portrait img {
  width: clamp(150px, 16vw, 240px);
  aspect-ratio: 1;
  margin-left: auto;
  object-fit: cover;
  filter: saturate(0.82);
}

.profile-portrait dl {
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
}

.profile-portrait dl div {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
}

.profile-portrait dt {
  color: var(--muted);
}

.profile-portrait dd {
  margin: 0;
  font-weight: 650;
}

.cv-section {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(50px, 9vw, 160px);
  padding: clamp(72px, 6.5vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.cv-heading {
  align-self: start;
  position: sticky;
  top: 30px;
}

.cv-heading h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
}

.cv-entries {
  border-top: 1px solid var(--line);
}

.cv-entries article {
  display: grid;
  grid-template-columns: 0.48fr 0.65fr 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.cv-entries article > div {
  display: grid;
  align-content: start;
}

.cv-entries article span {
  font-size: 0.78rem;
  font-weight: 800;
}

.cv-entries article small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
}

.cv-entries h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.cv-entries p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.capability-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.capability-index p {
  display: grid;
  grid-template-columns: 30px 0.55fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.capability-index p > span {
  color: var(--coral-dark);
  font-size: 0.66rem;
}

.capability-index b {
  font-size: 0.8rem;
}

.capability-index small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.project-strips {
  display: grid;
  gap: 10px;
}

.project-strip {
  display: grid;
  grid-template-columns: 0.38fr 1fr 0.8fr;
  gap: 25px;
  align-items: center;
  min-height: 150px;
  padding: 30px;
  border: 1px solid var(--line);
}

.project-strip > span {
  font-size: 0.7rem;
  font-weight: 800;
}

.project-strip h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2.3rem);
}

.project-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.project-strip-plum {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--ivory);
}

.project-strip-plum p {
  color: rgba(248, 245, 238, 0.55);
}

.project-strip-wash {
  border-color: var(--wash);
  background: var(--wash);
}

.profile-contact {
  margin-inline: calc(var(--page) * -1);
  padding: clamp(80px, 8vw, 130px) var(--page);
  background: var(--coral);
}

.profile-contact > p {
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-contact h2 {
  max-width: 13ch;
  margin: 55px 0 45px;
  font-size: clamp(3rem, 6vw, 7rem);
}

.profile-contact a {
  border-bottom: 2px solid currentColor;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.profile-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

/* Legal and 404 */
.legal-main {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
  padding: 55px 0 110px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 90px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-main h1 {
  margin-bottom: 25px;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.legal-updated {
  margin-bottom: 75px;
  color: var(--muted);
  font-size: 0.75rem;
}

.legal-main h2 {
  margin: 50px 0 14px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.legal-main p:not(.legal-updated) {
  color: var(--muted);
  line-height: 1.75;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  background: var(--plum);
  color: var(--ivory);
}

.not-found main {
  width: min(100%, 820px);
}

.error-code {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
}

.not-found h1 {
  max-width: 11ch;
  margin: 50px 0 35px;
  font-size: clamp(3.5rem, 8vw, 8rem);
}

.not-found main > p:not(.error-code) {
  max-width: 42rem;
  color: rgba(248, 245, 238, 0.62);
}

.not-found .button {
  margin-top: 25px;
  background: var(--coral);
  color: var(--ink);
}

@media (max-width: 1180px) {
  .hero-copy,
  .section-intro,
  .case-heading,
  .experience-lead {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 55px;
  }

  .workbench-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workbench-panel {
    border-bottom: 1px solid var(--line-light);
  }

  .workbench-panel:nth-child(2n) {
    border-right: 0;
  }

  .workbench-panel:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .experience-browser {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .cv-section {
    grid-template-columns: 0.5fr 1.5fr;
    gap: 60px;
  }

  .cv-entries article {
    grid-template-columns: 0.45fr 0.55fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    min-height: 46px;
    border-top: 1px solid var(--line);
  }

  .header-contact {
    display: none;
  }

  .site-nav .nav-contact {
    display: inline-flex;
  }

  .hero-copy,
  .section-intro,
  .case-heading,
  .experience-lead,
  .profile-hero,
  .secondary-work,
  .cv-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-intro,
  .case-heading,
  .experience-lead {
    gap: 35px;
  }

  .hero-copy .kicker,
  .section-intro .kicker,
  .experience-lead .kicker {
    margin-bottom: 0;
  }

  .hero-side {
    max-width: 580px;
  }

  .work-journey {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .journey-inputs {
    min-height: 400px;
  }

  .journey-system {
    min-height: 170px;
  }

  .journey-system::before,
  .journey-system::after {
    left: 50%;
    width: 1px;
    height: 28px;
  }

  .journey-system::before { top: -28px; }
  .journey-system::after { top: auto; right: auto; bottom: -28px; }

  .journey-output {
    min-height: 430px;
  }

  .case-stage-panel {
    grid-template-columns: 0.2fr 1fr;
  }

  .case-explanation {
    grid-column: 2;
  }

  .experience-browser,
  .assurance {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-column: 1;
  }

  .pau-preview {
    grid-template-columns: 110px 1fr;
  }

  .pau-preview img {
    width: 110px;
  }

  .pau-copy {
    grid-column: 2;
  }

  .profile-portrait {
    justify-self: start;
  }

  .profile-portrait img {
    margin-left: 0;
  }

  .cv-heading {
    position: static;
  }

  .capability-index {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 16px;
  }

  .site-header {
    position: relative;
    min-height: 62px;
  }

  .menu-toggle {
    display: none;
  }

  .has-js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.72rem;
    cursor: pointer;
  }

  .menu-lines {
    display: grid;
    gap: 4px;
  }

  .menu-lines i {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
  }

  .site-nav {
    display: flex;
    grid-column: 1 / -1;
    padding: 15px 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-top: 1px solid var(--line);
  }

  .has-js .site-nav {
    display: none;
  }

  .has-js .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 68px;
  }

  .hero-copy {
    margin-bottom: 38px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.9rem);
  }

  .hero-side > p {
    font-size: 0.94rem;
  }

  .theater-intro {
    display: grid;
    gap: 4px;
  }

  .workbench {
    margin-inline: calc(var(--page) * -0.35);
    box-shadow: 0 24px 45px rgba(38, 20, 42, 0.15);
  }

  .workbench-topbar,
  .workbench-footer {
    padding-inline: 15px;
  }

  .workbench-meta span:first-child {
    display: none;
  }

  .workbench-stage-tabs {
    overflow: hidden;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workbench-stage-tabs button {
    min-height: 58px;
    padding-inline: 8px;
    font-size: 0.67rem;
  }

  .workbench-stage-tabs button span {
    display: block;
    margin: 0 0 2px;
  }

  .workbench-stage-tabs button[aria-pressed="true"]::after {
    right: 8px;
    left: 8px;
  }

  .workbench-grid {
    display: block;
    min-height: 0;
  }

  .has-js .workbench-panel:not(.is-active) {
    display: none;
  }

  .workbench-panel {
    min-height: 420px;
    padding: 24px 20px 30px;
    border-right: 0;
    border-bottom: 0;
    opacity: 1;
  }

  .prepared-output {
    min-height: 360px;
  }

  .workbench-footer {
    display: grid;
    gap: 5px;
    min-height: 78px;
    padding-block: 13px;
  }

  .workbench-footer span:nth-child(2) {
    display: none;
  }

  .transformation,
  .experience {
    padding-block: 62px;
  }

  .section-intro,
  .experience-lead {
    margin-bottom: 48px;
  }

  .section-intro h2,
  .experience-lead h2 {
    font-size: clamp(2.65rem, 11.8vw, 4.1rem);
  }

  .journey-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    min-height: 0;
    padding: 14px 0 22px;
  }

  .input-fragment {
    position: relative;
    inset: auto;
    min-width: 0;
    padding: 14px 0;
  }

  .journey-inputs > p {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

  .input-fragment::after {
    display: none;
  }

  .journey-system {
    min-height: 130px;
  }

  .journey-output {
    min-height: 360px;
  }

  .blaveling {
    padding-block: 62px;
  }

  .case-heading {
    margin-bottom: 45px;
  }

  .case-heading h2 {
    font-size: clamp(2.8rem, 12vw, 4.15rem);
  }

  .demo-header {
    align-items: flex-start;
    min-height: 70px;
    padding-block: 14px;
    flex-direction: column;
  }

  .case-stage-tabs button {
    min-height: 60px;
    padding-inline: 12px;
  }

  .case-stage-tabs button span {
    display: block;
    margin: 0 0 2px;
  }

  .case-stage-tabs button[aria-selected="true"]::after {
    right: 12px;
    left: 12px;
  }

  .case-stage-area,
  .case-stage-panel {
    min-height: 400px;
  }

  .case-stage-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: start;
    padding: 28px 20px;
  }

  .case-index,
  .case-explanation {
    grid-column: 1;
  }

  .case-explanation {
    align-self: auto;
  }

  .case-request h3 {
    margin: 27px 0 20px;
    font-size: 2.45rem;
  }

  .case-review-card {
    padding: 28px 22px;
  }

  .case-review-card h3 {
    margin: 38px 0;
  }

  .case-footnote {
    text-align: left;
  }

  .experience-browser {
    gap: 28px;
  }

  .experience-list button {
    grid-template-columns: 0.52fr 1fr auto;
    gap: 13px;
    min-height: 82px;
  }

  .experience-detail {
    min-height: 360px;
    padding: 30px 24px;
  }

  .experience-detail h3 {
    margin-top: 50px;
    font-size: 3rem;
  }

  .assurance {
    gap: 38px;
    padding-block: 54px;
  }

  .assurance-copy h2 {
    font-size: 2.8rem;
  }

  .assurance-points {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: 1fr auto;
    gap: 15px;
  }

  .process-line span {
    padding: 4px 0 10px;
    border-bottom: 1px solid var(--line);
  }

  .process-line i {
    transform: rotate(90deg);
  }

  .supporting-work {
    padding-block: 58px;
  }

  .secondary-work {
    gap: 36px;
    padding-bottom: 58px;
  }

  .secondary-work h2 {
    font-size: 2.75rem;
  }

  .secondary-list p {
    grid-template-columns: 0.37fr 1fr;
    gap: 14px;
  }

  .pau-preview {
    grid-template-columns: 74px 1fr;
    gap: 24px;
    padding: 30px 22px;
  }

  .pau-preview img {
    width: 74px;
  }

  .pau-preview h2 {
    font-size: 2.25rem;
  }

  .pau-copy {
    grid-column: 1 / -1;
  }

  .final-contact {
    padding-block: 58px;
  }

  .final-contact h2 {
    font-size: clamp(3.5rem, 15vw, 5.6rem);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 25px;
    min-height: 150px;
    padding-block: 28px;
  }

  .site-footer::before {
    height: 150px;
  }

  .site-footer > p {
    justify-self: end;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-self: start;
    flex-wrap: wrap;
  }

  .decision-actions {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    gap: 48px;
    padding-block: 62px 76px;
  }

  .profile-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 5.2rem);
  }

  .profile-portrait {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: start;
    width: 100%;
  }

  .profile-portrait img {
    width: 100px;
  }

  .profile-portrait dl {
    margin-top: 0;
  }

  .cv-section {
    gap: 40px;
    padding-block: 62px;
  }

  .cv-heading h2 {
    font-size: 3rem;
  }

  .cv-entries article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .cv-entries article > div {
    grid-template-columns: 0.4fr 1fr;
  }

  .capability-index p {
    grid-template-columns: 28px 0.65fr 1fr;
    gap: 10px;
  }

  .project-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 27px 22px;
  }

  .profile-contact h2 {
    font-size: clamp(3.2rem, 14vw, 5.3rem);
  }
}

@media (max-width: 430px) {
  :root {
    --page: 18px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .hero-actions,
  .profile-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .workbench {
    margin-inline: 0;
  }

  .context-register {
    grid-template-columns: 1fr;
  }

  .context-register b {
    grid-column: 1;
  }

  .prepared-output dl div,
  .case-review-card dl div,
  .journey-output dl div,
  .experience-detail dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .input-fragment {
    min-width: 96px;
  }

  .fragment-pdf,
  .fragment-crm,
  .fragment-person {
    right: auto;
    left: auto;
  }

  .experience-list button {
    grid-template-columns: 0.45fr 1fr;
  }

  .experience-list button i {
    display: none;
  }

  .pau-preview h2 {
    font-size: 2rem;
  }

  .profile-portrait {
    grid-template-columns: 78px 1fr;
    gap: 20px;
  }

  .profile-portrait img {
    width: 78px;
  }

  .profile-portrait dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .capability-index p {
    grid-template-columns: 24px 1fr;
  }

  .capability-index small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    --page: 0;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }

  .site-header,
  .site-footer,
  .profile-actions,
  .profile-contact {
    display: none !important;
  }

  .profile-main {
    max-width: none;
    padding: 0;
  }

  .profile-hero {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 0 0 28px;
  }

  .profile-hero-copy h1 {
    font-size: 34pt;
  }

  .cv-section {
    grid-template-columns: 0.5fr 1.5fr;
    gap: 28px;
    padding: 28px 0;
    break-inside: avoid;
  }

  .cv-heading {
    position: static;
  }

  .cv-heading h2 {
    font-size: 22pt;
  }

  .cv-entries article,
  .project-strip {
    break-inside: avoid;
  }

  .project-strip-plum,
  .project-strip-wash {
    border: 1px solid #777;
    background: transparent;
    color: #000;
  }

  .project-strip-plum p {
    color: #555;
  }
}
