/* Section-specific colour washes with sparse, irregular Kintsugi joins. */
.consulting,
.social-practice,
.profile-teaching,
.publications {
  position: relative;
  background-attachment: fixed;
  color: var(--ink);
}
.about {
  position: relative;
  background: #fffdf9;
  color: var(--ink);
}
.about::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-28 112 L132 128 L229 105 L338 146 L433 132 L526 188' stroke='%23c7a56a' stroke-width='1.8'/%3E%3Cpath d='M229 105 L264 191 L242 276 L298 349 L276 437 L333 508 L311 594 L366 676 L344 756 L390 930' stroke='%23b89352' stroke-width='2.8'/%3E%3Cpath d='M1628 131 L1504 164 L1427 225 L1336 218 L1264 289 L1172 312 L1101 397 L1002 422 L938 516 L831 559 L770 654 L668 703 L629 789' stroke='%23b99558' stroke-width='2.5'/%3E%3C/g%3E%3C/svg%3E")
    center/cover no-repeat;
}
.about .site-header,
.about main,
.about footer {
  position: relative;
  z-index: 1;
}
.about .site-header {
  background: rgba(255, 255, 255, 0.72);
  z-index: 100;
}
.about-page {
  max-width: 980px;
  margin: auto;
  padding: 5vh 28px 6rem;
}
.about-copy {
  max-width: 780px;
  margin: auto;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(62, 48, 27, 0.06);
}
.about-page h1 {
  margin: 0 0 1.4rem;
  font-family: Newsreader, serif;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
}
.about-page p {
  position: relative;
  margin: 0.85rem 0;
  color: #465269;
  font-size: 1.08rem;
}
.about-portrait {
  float: right;
  width: min(44%, 340px);
  height: auto;
  margin: 0.25rem -1.25rem 1.4rem 2rem;
  shape-outside: inset(0 0 0 0 round 42%);
  filter: none;
}
.about-opening,
.about-books,
.about-punchline {
  font-family: Newsreader, serif;
  color: var(--ink) !important;
}
.about-opening {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important;
}
.about-books {
  margin-top: 2.4rem !important;
  font-size: 1.65rem !important;
}
.about-punchline {
  font-size: 1.85rem !important;
}
.napa-note {
  margin-top: 3.2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(182, 151, 53, 0.5);
  font-size: 0.95rem !important;
  color: #697181 !important;
}
.about-qualifications {
  clear: both;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(182, 151, 53, 0.5);
}
.about-qualifications h2 {
  margin: 0 0 1.5rem;
  font-family: Newsreader, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
}
.about-qualifications .profile-row {
  grid-template-columns: 125px 1fr;
  padding: 1.35rem 0;
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .about-qualifications .profile-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}
.red-thread-moment {
  position: relative;
  margin: 0.85rem -3rem;
  padding: 0.15rem 3rem 0.8rem;
}
.red-thread-moment p {
  z-index: 1;
  margin: 0;
  color: #465269;
  font-size: 1.08rem;
}
.red-thread-line {
  position: absolute;
  right: 3rem;
  bottom: 0.05rem;
  left: 3rem;
  width: calc(100% - 6rem);
  height: 0.85rem;
  overflow: visible;
}
.red-thread-line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}
.thread-gold {
  stroke: #b69735;
}
.thread-red {
  stroke: #651f36;
  filter: drop-shadow(0 1px 1px rgba(63, 12, 29, 0.2));
}
@media (max-width: 700px) {
  .about-page {
    padding-left: 18px;
    padding-right: 18px;
  }
  .about-copy {
    padding: 2rem 1.35rem;
  }
  .about-portrait {
    float: none;
    display: block;
    width: min(100%, 390px);
    margin: 0 auto 1.5rem;
  }
  .red-thread-moment {
    margin: 0.85rem -1.35rem;
    padding: 0.15rem 1.35rem 0.8rem;
  }
  .red-thread-line {
    right: 1.35rem;
    left: 1.35rem;
    width: calc(100% - 2.7rem);
  }
}
.consulting:before,
.social-practice:before,
.profile-teaching:before,
.publications:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.consulting .site-header,
.consulting main,
.consulting footer,
.social-practice .site-header,
.social-practice main,
.social-practice footer,
.profile-teaching .site-header,
.profile-teaching main,
.profile-teaching footer,
.publications .site-header,
.publications main,
.publications footer {
  position: relative;
  z-index: 1;
}

/* King's blue: a few large, unequal shards with small branches at the joins. */
.consulting {
  background-color: #f9fbff;
  background-image:
    radial-gradient(
      circle at 10% 18%,
      rgba(36, 72, 148, 0.19) 0,
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(20, 50, 116, 0.15) 0,
      transparent 40%
    );
}
.consulting:before {
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-30 128 C142 119 207 150 318 178 L423 167 L507 224 L622 210 L711 266' stroke='%23b17b17' stroke-width='2.4'/%3E%3Cpath d='M318 178 L286 270 L326 351 L291 431 C275 468 248 496 205 522 L123 603 L88 742 L37 930' stroke='%23c08d25' stroke-width='3.8'/%3E%3Cpath d='M622 210 L681 118 L770 54 L808 -24' stroke='%23d1a241' stroke-width='1.7'/%3E%3Cpath d='M291 431 L397 466 L471 534 L586 558 L641 650' stroke='%23a86f12' stroke-width='2.1'/%3E%3Cpath d='M1630 92 L1502 144 L1436 219 L1358 241 L1309 333 L1216 371 L1179 475 L1081 515 L1025 629 L915 694 L873 794 L782 930' stroke='%23bd8820' stroke-width='3.2'/%3E%3Cpath d='M1309 333 L1388 394 L1414 476' stroke='%23d6aa4a' stroke-width='1.5'/%3E%3Cpath d='M1081 515 L1007 454 L981 379' stroke='%23aa7214' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Green and blue: broad shard boundaries, deliberately asymmetric. */
.social-practice {
  background-color: #fbfefd;
  background-image:
    radial-gradient(
      circle at 12% 20%,
      rgba(151, 218, 175, 0.28) 0,
      transparent 36%
    ),
    radial-gradient(
      circle at 88% 72%,
      rgba(152, 207, 232, 0.28) 0,
      transparent 42%
    );
}
.social-practice:before {
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-25 73 L139 91 L247 77 L356 118 L449 101 L531 160' stroke='%23c4932d' stroke-width='2.1'/%3E%3Cpath d='M247 77 L291 171 L275 247 L340 326 L312 411 L373 493 L350 567 L419 654 L397 739 L453 930' stroke='%23b47d17' stroke-width='3.6'/%3E%3Cpath d='M340 326 L445 294 L529 233 L624 205' stroke='%23d7ad50' stroke-width='1.5'/%3E%3Cpath d='M373 493 L476 536 L558 603 L681 626' stroke='%23a97013' stroke-width='2'/%3E%3Cpath d='M1625 184 L1491 206 L1404 263 L1307 249 L1221 318 L1126 342 L1052 428 L948 451 L891 552 L776 592 L723 693 L612 748' stroke='%23bd8822' stroke-width='3'/%3E%3Cpath d='M1307 249 L1343 151 L1422 82' stroke='%23d3a546' stroke-width='1.6'/%3E%3Cpath d='M1052 428 L1113 502 L1129 589' stroke='%23a87315' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Champagne and sand gold: a restrained academic wash with fine ceramic seams. */
.profile-teaching {
  background-color: #fffdf9;
  background-image:
    radial-gradient(
      circle at 14% 18%,
      rgba(228, 210, 172, 0.24) 0,
      transparent 37%
    ),
    radial-gradient(
      circle at 86% 76%,
      rgba(197, 164, 103, 0.16) 0,
      transparent 43%
    );
}
.profile-teaching:before {
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-28 112 L132 128 L229 105 L338 146 L433 132 L526 188' stroke='%23c7a56a' stroke-width='1.8'/%3E%3Cpath d='M229 105 L264 191 L242 276 L298 349 L276 437 L333 508 L311 594 L366 676 L344 756 L390 930' stroke='%23b89352' stroke-width='2.8'/%3E%3Cpath d='M338 146 L407 76 L489 33 L518 -24' stroke='%23dcc38f' stroke-width='1.2'/%3E%3Cpath d='M276 437 L379 466 L459 526 L568 548' stroke='%23c3a064' stroke-width='1.5'/%3E%3Cpath d='M1628 131 L1504 164 L1427 225 L1336 218 L1264 289 L1172 312 L1101 397 L1002 422 L938 516 L831 559 L770 654 L668 703 L629 789' stroke='%23b99558' stroke-width='2.5'/%3E%3Cpath d='M1264 289 L1305 204 L1379 142' stroke='%23d7bc84' stroke-width='1.2'/%3E%3Cpath d='M1101 397 L1159 460 L1172 536' stroke='%23ae8748' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Lilac and pink: sparse seams meeting in irregular, ceramic-like shards. */
.publications {
  background-color: #fffafd;
  background-image:
    radial-gradient(
      circle at 16% 17%,
      rgba(201, 177, 235, 0.31) 0,
      transparent 38%
    ),
    radial-gradient(
      circle at 84% 74%,
      rgba(243, 183, 211, 0.3) 0,
      transparent 42%
    );
}
.publications:before {
  opacity: 0.33;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-30 156 L121 139 L207 174 L322 160 L405 219 L516 205 L584 274' stroke='%23c08c28' stroke-width='2.2'/%3E%3Cpath d='M207 174 L166 262 L201 337 L178 419 L235 475 L207 571 L272 635 L249 728 L302 930' stroke='%23af7715' stroke-width='3.7'/%3E%3Cpath d='M405 219 L462 128 L548 71 L579 -24' stroke='%23d7ac4c' stroke-width='1.6'/%3E%3Cpath d='M178 419 L292 447 L374 511 L487 530 L552 611' stroke='%23c18f2b' stroke-width='1.9'/%3E%3Cpath d='M1628 64 L1518 112 L1461 192 L1369 214 L1325 302 L1234 336 L1197 428 L1101 466 L1048 574 L939 621 L887 721 L776 773 L734 930' stroke='%23b77f19' stroke-width='3.2'/%3E%3Cpath d='M1325 302 L1399 365 L1423 447' stroke='%23d8ae52' stroke-width='1.5'/%3E%3Cpath d='M1101 466 L1032 407 L1004 329' stroke='%23a97013' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

.consulting .site-header,
.social-practice .site-header,
.profile-teaching .site-header,
.publications .site-header {
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
}
.consulting .offer,
.social-practice .offer {
  background: rgba(255, 255, 255, 0.42);
  padding: 1.8rem;
}

.consulting-head .lede {
  max-width: 880px;
}
.consulting-content > aside {
  position: sticky;
  top: 2rem;
  align-self: start;
}
.interest-mail-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.68rem 1rem;
  color: #fff;
  background: #a98524;
  border: 1px solid #a98524;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.interest-mail-link:hover,
.interest-mail-link:focus-visible {
  color: #fff;
  background: #8d7120;
  border-color: #8d7120;
  transform: translateY(-1px);
}
.consulting-section + .consulting-section {
  margin-top: 6rem;
}
.section-kicker {
  margin: 0 0 0.7rem !important;
  color: var(--gold) !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.consulting-offers {
  align-items: stretch;
}
.consulting-offers .offer {
  border: 1px solid rgba(31, 62, 125, 0.12);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 34px rgba(26, 43, 73, 0.05);
}
.consulting-offers .offer h3 {
  margin-top: 0;
}
.consultation-note {
  background: rgba(24, 55, 120, 0.08) !important;
}
.safer-space {
  padding: 2.6rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.68),
    rgba(218, 228, 249, 0.62)
  );
}
.safer-space h3 {
  margin: 2rem 0 0.5rem;
  font-family: Newsreader, serif;
  font-size: 1.65rem;
  font-weight: 400;
}
.safer-space em {
  font-style: normal;
  color: #173c89;
}
.group-list {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  background: rgba(31, 62, 125, 0.16);
}
.group-list article {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.72);
}
.group-list span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.group-list h3 {
  margin: 0.55rem 0 0.3rem;
  font-family: Newsreader, serif;
  font-size: 1.8rem;
  font-weight: 400;
}
.group-list p {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .consulting-content > aside {
    position: static;
  }
  .safer-space {
    padding: 2rem;
  }
}

.practice-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}
.practice-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.practice-card-grid > :nth-child(2) {
  order: 3;
}
.practice-card-grid > :nth-child(3) {
  order: 2;
}
.practice-card-grid > :nth-child(n + 4) {
  order: 4;
}
.practice-flip-card {
  min-height: 410px;
  perspective: 1200px;
}
.practice-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 410px;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
.practice-flip-card.is-flipped .practice-flip-inner {
  transform: rotateY(180deg);
}
.practice-card-front,
.practice-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 410px;
  border: 1px solid rgba(45, 85, 76, 0.22);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 45px rgba(44, 85, 82, 0.1);
}
.practice-card-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  background: linear-gradient(
    145deg,
    rgba(216, 241, 226, 0.96),
    rgba(218, 239, 250, 0.92) 62%,
    rgba(255, 255, 255, 0.9)
  );
}
.practice-card-front:hover,
.practice-card-front:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.practice-card-front:focus-visible,
.practice-card-close:focus-visible,
.practice-offer-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.practice-card-front strong {
  max-width: 290px;
  font-family: Newsreader, serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}
.practice-card-art {
  position: absolute;
  right: 1.15rem;
  bottom: 3.35rem;
  display: block;
  width: 210px;
  height: 155px;
  pointer-events: none;
}
.practice-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.38) contrast(1.06) brightness(1.02)
    drop-shadow(0 9px 15px rgba(44, 85, 82, 0.12));
}
.practice-split-art {
  inset: 0;
  width: auto;
  height: auto;
}
.practice-split-art img {
  position: absolute;
  width: auto;
  height: auto;
}
.practice-school-art img:first-child {
  top: 1rem;
  right: 1.2rem;
  width: 114px;
  height: 112px;
}
.practice-school-art img:last-child {
  right: 1.05rem;
  bottom: 3.1rem;
  width: 132px;
  height: 133px;
}
.practice-church-art {
  right: 1.2rem;
  bottom: 3.25rem;
  width: 145px;
  height: 139px;
}
.practice-parent-clay-art img:first-child {
  top: 1.05rem;
  right: 1.35rem;
  width: 112px;
  height: 102px;
}
.practice-parent-clay-art img:last-child {
  right: 1.1rem;
  bottom: 3.05rem;
  width: 140px;
  height: 129px;
}
.practice-youth-art {
  width: 250px;
  height: 118px;
}
.practice-social-team-art {
  right: 1.2rem;
  bottom: 3.25rem;
  width: 127px;
  height: 146px;
}
.practice-external-team-art {
  right: 1.2rem;
  bottom: 3.25rem;
  width: 132px;
  height: 140px;
}
.practice-card-number {
  color: #527e75;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}
.practice-card-action {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.practice-card-back {
  overflow: auto;
  padding: 1.7rem;
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.96);
}
.practice-card-back h3 {
  margin: 0.2rem 2rem 1rem 0;
  font-family: Newsreader, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.1;
}
.practice-card-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.practice-offer-link {
  display: block;
  width: 100%;
  padding: 0.72rem 0;
  border: 0;
  border-bottom: 1px solid rgba(45, 85, 76, 0.17);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.practice-offer-link:after {
  content: " →";
  color: var(--gold);
}
.practice-offer-link:hover,
.practice-offer-link.is-active {
  color: #287268;
}
.practice-offer-description {
  margin: 1rem 0 0;
  padding: 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(217, 240, 231, 0.55);
  font-size: 0.92rem;
  line-height: 1.5;
}
.practice-offer-description p {
  margin: 0;
}
.practice-offer-description img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .practice-card-grid {
    grid-template-columns: 1fr;
  }
  .practice-flip-card,
  .practice-flip-inner,
  .practice-card-front,
  .practice-card-back {
    min-height: 380px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .practice-flip-inner {
    transition: none;
  }
}
.profile-teaching .profile-row,
.profile-teaching .offer {
  background: rgba(255, 255, 255, 0.34);
}
.profile-teaching .offer {
  padding: 1.8rem;
}
.seminar-exam {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid #b69735;
  background: rgba(255, 255, 255, 0.5);
}
.seminar-exam p {
  margin-top: 0;
}
.seminar-exam ol {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}
.seminar-exam li + li {
  margin-top: 0.85rem;
}
.seminar-trip {
  position: relative;
  margin-top: 1.35rem;
  padding: 1rem 1.15rem 1rem 1.45rem;
  background: rgba(255, 255, 255, 0.5);
}
.seminar-trip::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0;
  width: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 100' preserveAspectRatio='none'%3E%3Cpath d='M7 0 C1 18 12 34 5 51 C0 66 11 82 6 100' fill='none' stroke='%23b69735' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.seminar-trip p {
  margin: 0;
}
.study-trip-bus {
  position: absolute;
  z-index: 2;
  left: -17px;
  bottom: -7px;
  width: 43px;
  height: auto;
  pointer-events: none;
  animation: bus-up-the-line 8s ease-in-out infinite;
}
@keyframes bus-up-the-line {
  0%,
  12% {
    transform: translate(1px, 5px) rotate(-78deg);
  }
  45% {
    transform: translate(-3px, -36px) rotate(-82deg);
  }
  78%,
  100% {
    transform: translate(2px, -78px) rotate(-76deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .study-trip-bus {
    animation: none;
    transform: translate(-1px, -35px) rotate(-80deg);
  }
}
.teaching-support {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border: 1px solid rgba(182, 151, 53, 0.42);
  background: rgba(255, 255, 255, 0.42);
}
.teaching-support h3 {
  font-family: Newsreader, serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0.25rem 0 1rem;
}
.teaching-support p {
  margin: 0.35rem 0;
}
