/* Ishaks Conveyancing · the annexures (Team, Glossary)
   Loaded after styles.css on the inner pages only. Same file, same pen:
   the team is the routing slip clipped to every matter, and the glossary is
   the contract's own definitions clause, rewritten in plain English. */

/* ---------------------------------------------------------------- page head */
.pg-head { position: relative; padding: calc(var(--hh) + clamp(70px, 11vh, 130px)) 0 clamp(50px, 7vh, 80px); }
.pg-head .h2 { max-width: 1060px; }
.pg-head .body { margin-top: 30px; max-width: 700px; }

/* the annexure tab, as it sits on the edge of a page clipped to the file */
.annex {
  display: inline-flex; align-items: stretch;
  margin-bottom: 28px;
  filter: drop-shadow(0 1px 0 rgba(22, 22, 22, .14)) drop-shadow(0 6px 8px rgba(22, 22, 22, .12));
}
.annex span {
  display: inline-flex; align-items: center;
  padding: 0 14px 0 16px;
  background: var(--grain), var(--cream);
  font: 600 12px/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2);
}
.annex b {
  display: inline-grid; place-items: center;
  width: 54px; height: 48px;
  padding-top: 3px;
  background: var(--grain), var(--burgundy);
  color: var(--cream);
  font: italic 700 28px/1 var(--serif);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

.hdr-nav a[aria-current="page"]::after { clip-path: inset(0 0 0 0); }
.fi-list a[aria-current="page"] .fi-t { color: var(--burgundy); }

/* ====================================================================== TEAM */
.rs-sec { position: relative; padding: 20px 0 clamp(120px, 17vh, 190px); }
.rs-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.rs-text { position: sticky; top: 140px; }
.rs-text .body { margin-top: 24px; max-width: 440px; }

.rslip {
  position: relative;
  padding: 28px clamp(22px, 3vw, 44px) 30px;
  background:
    linear-gradient(170deg, rgba(22, 22, 22, 0) 55%, rgba(22, 22, 22, .05)),
    var(--grain), var(--cream);
  box-shadow: 0 1px 1px rgba(22, 22, 22, .12), 0 22px 36px -18px rgba(22, 22, 22, .45);
  transform: rotate(-.6deg);
}
.rslip::before {
  /* the paper clip holding the slip to the file */
  content: ''; position: absolute; top: -22px; right: 70px;
  width: 22px; height: 64px;
  border: 2.5px solid #8d8a84;
  border-radius: 11px;
  box-shadow: inset 0 0 0 4px transparent;
  -webkit-mask-image: linear-gradient(#000 0 0);
  transform: rotate(4deg);
}
.rslip::after {
  content: ''; position: absolute; top: -12px; right: 75px;
  width: 12px; height: 42px;
  border: 2.5px solid #8d8a84;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  transform: rotate(4deg);
}
.rslip-top {
  display: flex; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--near);
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--burgundy);
}

.rslip-states { margin: 22px 0 8px; padding: 0; border: 0; min-width: 0; }
.rslip-states legend {
  padding: 0; margin-bottom: 16px;
  font: italic 400 21px/1.25 var(--serif);
  color: var(--near);
}
.picks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.pick {
  position: relative;
  display: grid; place-items: center;
  min-height: 48px;
  color: var(--burgundy);
  cursor: pointer;
}
.pick input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0;
  cursor: pointer;
}
.pick-a {
  display: grid; place-items: center;
  width: 100%; max-width: 62px;
  border: 2.5px solid currentColor;
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4.4px currentColor;
  font: 700 clamp(13px, 1.15vw, 16px)/1 var(--sans);
  letter-spacing: .05em;
  -webkit-mask-image: var(--stampmask);
  mask-image: var(--stampmask);
  -webkit-mask-size: 110px 110px;
  mask-size: 110px 110px;
  opacity: .26;
  transform: rotate(var(--rot));
  transition: opacity .18s ease;
}
.pick.round .pick-a { aspect-ratio: 1; border-radius: 50%; }
.pick.box .pick-a { aspect-ratio: 1.2; }
.pick:hover .pick-a { opacity: .55; }
.pick:has(input:checked) .pick-a { opacity: .92; animation: stamp .42s cubic-bezier(.3, .1, .25, 1) both; }
.pick:has(input:focus-visible) { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.rrows { margin-top: 18px; counter-reset: none; }
.rrow {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 92px;
  gap: 0 16px;
  padding: 22px 0 20px;
  border-top: 1px solid var(--pencil);
}
.rrow:first-child { border-top: 1.5px solid var(--near); }
.rrow-n { font: italic 700 22px/1.2 var(--serif); color: var(--burgundy); }
.rrow-step {
  margin-bottom: 8px;
  font: 600 11.5px/1.3 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2);
}
.rrow-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.rrow-p + .rrow-p { margin-top: 6px; }
.rrow-name { font: 600 clamp(20px, 1.7vw, 24px)/1.2 var(--serif); color: var(--near); }
.rrow-role { font: 400 13.5px/1.3 var(--sans); color: var(--text-2); }
.rrow-do { margin-top: 10px; font: italic 400 16.5px/1.45 var(--serif); color: var(--text-2); max-width: 440px; }

/* the initials box: each handler initials the slip as the file passes */
.init {
  position: relative;
  align-self: center;
  display: grid; place-items: end center;
  height: 64px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(22, 22, 22, .55);
  font: italic 700 30px/1 var(--serif);
  color: var(--burgundy);
  transform: rotate(-5deg);
}
.init::before {
  content: 'Initialled'; position: absolute; left: 0; right: 0; bottom: -18px;
  font: 600 9px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  text-align: center;
  color: var(--text-2);
  transform: rotate(5deg);
}
.rrow.is-new .init { animation: write .7s cubic-bezier(.55, .1, .3, 1) both; }
.rrow.is-new .rrow-ps { animation: fadein .4s ease both; }
.rrow.is-new + .rrow.is-new .init { animation-delay: .25s; }
.rrow.is-new + .rrow.is-new + .rrow.is-new .init { animation-delay: .5s; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.rslip-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 24px;
  margin-top: 8px; padding-top: 22px;
  border-top: 1.5px solid var(--near);
}
.rslip-call { font: 400 15px/1.6 var(--sans); color: var(--text-2); max-width: 300px; }
.rslip-call .tel-link { padding: 4px 1px 6px; font-size: 15px; }
.rslip-stamp {
  --rot: -8deg;
  flex: none;
  display: flex; flex-direction: column; align-items: center;
  padding: 11px 20px 10px;
  color: var(--burgundy);
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 3.5px var(--cream), inset 0 0 0 5px currentColor;
  font: 700 26px/1 var(--sans);
  letter-spacing: .12em;
  -webkit-mask-image: var(--stampmask);
  mask-image: var(--stampmask);
  -webkit-mask-size: 130px 130px;
  mask-size: 130px 130px;
  opacity: .88;
  transform: rotate(var(--rot));
}
.rslip-stamp small { margin-bottom: 6px; font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.rslip-stamp.is-new { animation: stamp .42s cubic-bezier(.3, .1, .25, 1) both; }

/* ---- the letterhead */
.lh-sec { color: var(--cream); padding-top: clamp(130px, 19vh, 210px); padding-bottom: clamp(140px, 20vh, 220px); }
.lh-head { max-width: 860px; margin-bottom: clamp(50px, 7vh, 80px); }
.letterhead {
  position: relative;
  max-width: 1060px;
  padding: clamp(28px, 3.6vw, 52px) clamp(22px, 4vw, 60px) clamp(36px, 4.4vw, 60px);
  background:
    linear-gradient(158deg, rgba(22, 22, 22, 0) 45%, rgba(22, 22, 22, .06)),
    var(--grain), var(--paper);
  color: var(--near);
  box-shadow: 1px 1px 0 rgba(22, 22, 22, .3), 8px 16px 24px rgba(10, 0, 4, .35), 22px 46px 70px -18px rgba(10, 0, 4, .6);
  transform: rotate(-.5deg);
}
.lh-mast {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px;
  padding-bottom: 18px;
  border-bottom: 3px double var(--burgundy);
}
.lh-logo { display: block; width: auto; height: 40px; }
.lh-addr { font: 400 12.5px/1.4 var(--sans); letter-spacing: .04em; color: var(--text-2); }
.lh-addr span { margin: 0 6px; color: var(--burgundy); }
.lh-addr b { font-weight: inherit; white-space: nowrap; }
.lh-names {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--pencil);
}
.lh-names li { display: flex; flex-direction: column; gap: 6px; padding: 2px clamp(10px, 1.6vw, 22px); border-left: 1px solid var(--pencil); }
.lh-names li:first-child { border-left: 0; padding-left: 0; }
.lh-n { font: 600 clamp(18px, 1.6vw, 22px)/1.15 var(--serif); color: var(--near); }
.lh-r { font: 600 10.5px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.lh-body {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 50px);
  align-items: start;
}
.lh-photo { position: relative; transform: rotate(2deg); }
.lh-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border: 8px solid #fff;
  border-bottom-width: 40px;
  box-shadow: 1px 1px 0 rgba(22, 22, 22, .12), 4px 8px 12px rgba(22, 22, 22, .2);
}
.lh-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 11px;
  text-align: center;
  font: italic 500 15px/1 var(--serif);
  color: var(--text-2);
}
.lh-letter { max-width: 560px; }
.lh-letter > p { font: 300 16.5px/1.75 var(--sans); color: var(--text-2); }
.lh-letter > p + p, .lh-values + p { margin-top: 14px; }
.lh-date { font: 600 11.5px/1 var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy) !important; }
.lh-letter .lh-salute { margin-top: 22px; font: italic 400 20px/1.3 var(--serif); color: var(--near); }
.lh-values { margin-top: 14px; counter-reset: v; }
.lh-values li {
  position: relative;
  padding: 9px 0 8px 40px;
  border-bottom: 1px solid var(--pencil);
  font: 500 16px/1.4 var(--sans);
  color: var(--near);
  counter-increment: v;
}
.lh-values li::before {
  content: '(' counter(v, lower-alpha) ')';
  position: absolute; left: 0; top: 9px;
  font: italic 600 16px/1.4 var(--serif);
  color: var(--burgundy);
}
.lh-sign {
  display: inline-block;
  margin-top: 26px !important;
  padding: 0 4px 8px;
  font: italic 600 34px/1 var(--serif) !important;
  color: var(--burgundy) !important;
  background: var(--uline) 0 100% / 100% 8px no-repeat;
  transform: rotate(-3deg);
}

/* ---- the register */
.reg-sec { padding-top: clamp(130px, 18vh, 200px); }
.pg-head + .reg-sec { padding-top: clamp(24px, 4vh, 48px); }
.reg-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.reg-head { position: sticky; top: 130px; }
.reg-head .body { margin-top: 24px; }
.reg-top {
  display: flex; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--near);
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2);
}
.reg-top + .reg-list { margin-top: 8px; }
.reg-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pencil);
}
.mono {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  padding-top: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 13, 37, .7);
  font: italic 700 16px/1 var(--serif);
  color: var(--burgundy);
  transform: rotate(-6deg);
}
.reg-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reg-n { font: 600 clamp(19px, 1.6vw, 23px)/1.15 var(--serif); color: var(--near); }
.reg-r { font: 400 13.5px/1.35 var(--sans); color: var(--text-2); }
.reg-r em { font-style: normal; color: var(--burgundy); }
.reg-list .dots { align-self: center; margin-bottom: 0; }
.reg-list li:has(> .reg-s:empty) .dots { visibility: hidden; }
.reg-s { flex: none; font: italic 400 18px/1 var(--serif); color: var(--burgundy); }
.reg-note { margin-top: 26px; font: italic 400 16px/1.5 var(--serif); color: var(--text-2); }

/* the photo: a colour print clipped to the register line. Point at it and it
   unclips and lifts off the page, out into the margin, so the name stays clear */
.ph {
  --tilt: -2.5deg;
  --lift: 2.4;
  position: relative; flex: none;
  width: 74px; aspect-ratio: 4 / 5;
  padding: 3px 3px 7px;
  background: #FBF8F3;
  box-shadow: 0 0 0 1px rgba(22, 22, 22, .12), 0 2px 0 rgba(22, 22, 22, .06);
  transform: rotate(var(--tilt));
  transform-origin: 100% 50%;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}
.reg-list li:nth-child(3n + 2) .ph { --tilt: 2deg; }
.reg-list li:nth-child(3n + 3) .ph { --tilt: -1deg; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .ph:not(.ph-none):hover {
    z-index: 4;
    transform: rotate(0deg) scale(var(--lift));
    box-shadow: 0 0 0 1px rgba(22, 22, 22, .1), 0 5px 10px -3px rgba(22, 22, 22, .3);
  }
  .ph:not(.ph-none):hover::before, .ph:not(.ph-none):hover::after { opacity: 0; }
}
.ph::before, .ph::after { transition: opacity .2s ease; }
.rm .ph, .rm .ph::before, .rm .ph::after { transition: none; }
/* the clip: a wire loop over the top edge */
.ph::before {
  content: ''; position: absolute; z-index: 1;
  top: -9px; left: 9px;
  width: 11px; height: 26px;
  border: 1.6px solid #8C8C8C; border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 0 2px transparent;
}
.ph::after {
  content: ''; position: absolute; z-index: 1;
  top: -5px; left: 12px;
  width: 5px; height: 17px;
  border: 1.6px solid #8C8C8C; border-top: 0;
  border-radius: 0 0 4px 4px;
}
/* no photo yet: an empty slot ruled in pencil, initialled */
.ph-none {
  display: grid; place-items: center;
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed rgba(110, 13, 37, .45);
  font: italic 700 17px/1 var(--serif);
  color: var(--burgundy);
}
.ph-none::before, .ph-none::after { display: none; }

.pg-cta { padding-bottom: clamp(130px, 18vh, 190px); }
.pg-cta .actions { margin-top: 36px; gap: 18px 34px; }

/* ================================================================== GLOSSARY */
.gl-sec { position: relative; padding: 10px 0 clamp(130px, 18vh, 200px); }
.gl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: start;
}

/* the clause, on one long sheet */
.clause {
  position: relative;
  padding: clamp(28px, 3.4vw, 50px) clamp(22px, 3.6vw, 56px) clamp(34px, 4vw, 56px);
  background:
    linear-gradient(170deg, rgba(22, 22, 22, 0) 60%, rgba(22, 22, 22, .04)),
    var(--grain), var(--cream);
  box-shadow: 0 1px 1px rgba(22, 22, 22, .12), 0 26px 40px -22px rgba(22, 22, 22, .42);
}
.cl-top span { white-space: nowrap; }
.gl-notice { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--pencil); font: italic 400 15px/1.5 var(--serif); color: var(--text-2); }
.cl-top {
  display: flex; justify-content: space-between; gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--near);
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2);
}
.cl-h { display: flex; align-items: baseline; gap: 18px; margin-top: 28px; }
.cl-no { font: italic 700 clamp(30px, 3vw, 44px)/1 var(--serif); color: var(--burgundy); }
.cl-t { font: 700 clamp(30px, 3vw, 44px)/1 var(--serif); letter-spacing: -.015em; color: var(--near); }
.cl-lead { margin: 14px 0 0; font: italic 400 18px/1.5 var(--serif); color: var(--text-2); }

/* look-up: a worksheet blank */
.lookup {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin: 30px 0 6px; padding: 18px 0 20px;
  border-top: 1px solid var(--pencil);
  border-bottom: 1px solid var(--pencil);
  font: 400 clamp(20px, 1.8vw, 25px)/1.3 var(--serif);
  color: var(--near);
}
.lookup .blank { min-width: min(320px, 100%); }
.lookup .blank input { width: 100%; text-align: left; }
.lookup-n { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }

.defs { margin-top: 8px; }
.def {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, 210px);
  gap: 0 clamp(14px, 2vw, 30px);
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--pencil);
  scroll-margin-top: calc(var(--hh) + 30px);
}
.def[hidden] { display: none; }
.def-no { font: 600 13px/1.9 var(--sans); letter-spacing: .06em; color: var(--burgundy); }
.def-body { min-width: 0; }
.def-p { font: 300 16.5px/1.72 var(--sans); color: var(--text-2); }
.def-p + .def-p { margin-top: 10px; }
.def-term {
  position: relative;
  font: 700 19px/1.4 var(--serif);
  color: var(--near);
}
.def-term::before { content: '“'; color: var(--burgundy); }
.def-term::after { content: '”'; color: var(--burgundy); }
.def-means { font: italic 400 17.5px/1 var(--serif); color: var(--burgundy); }
.def-see { margin-top: 10px; font: 400 14px/1.6 var(--sans); color: var(--text-2); }
.def-see a, .def-p a {
  color: var(--burgundy);
  text-decoration: none;
  background: var(--uline) 0 100% / 100% 5px no-repeat;
  padding-bottom: 2px;
}
.def-see a:hover, .def-p a:hover { color: var(--deep); }
.def-note {
  font: italic 400 15.5px/1.4 var(--serif);
  color: var(--burgundy);
  padding-top: 3px;
}
.def-note b { display: block; margin-bottom: 4px; font: 600 9.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.def-ink { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.def-ink path {
  fill: none; stroke: var(--burgundy);
  stroke-width: 2.4px; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1.02;
  animation: inkon .9s cubic-bezier(.55, .1, .3, 1) .15s forwards;
}
@keyframes inkon { to { stroke-dashoffset: 0; } }
mark.hl { background: rgba(110, 13, 37, .12); color: inherit; padding: 0 1px; }

.gl-empty { padding: 34px 0 10px; font: italic 400 20px/1.45 var(--serif); color: var(--text-2); }
.gl-empty[hidden] { display: none; }

/* the thumb index, cut into the edge of the book */
.thumbs {
  position: sticky; top: calc(var(--hh) + 18px);
  display: flex; flex-direction: column;
  gap: 2px;
  padding-top: 64px;
}
.thumbs a {
  display: grid; place-items: center;
  width: 46px; height: 32px;
  margin-left: -1px;
  background: var(--grain), var(--beige-line);
  color: var(--burgundy);
  font: italic 700 15px/1 var(--serif);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  transition: transform .2s ease, background-color .2s ease;
}
.thumbs a:hover { transform: translateX(4px); }
.thumbs a[aria-current="true"] { background: var(--grain), var(--burgundy); color: var(--cream); transform: translateX(4px); }
.thumbs a.is-off { opacity: .32; pointer-events: none; }

/* ====================================================================== PHONE */
@media (max-width: 1100px) {
  .rs-grid { grid-template-columns: minmax(0, 1fr); }
  .rs-text { position: static; }
  .rs-text .body { max-width: 600px; }
  .rslip { max-width: 760px; }
  .ph { --lift: 2; }
  .def { grid-template-columns: 50px minmax(0, 1fr); }
  .def-note { grid-column: 2; margin-top: 10px; }
}
@media (max-width: 760px) {
  .pg-head { padding-top: calc(var(--hh) + 56px); padding-bottom: 36px; }
  .annex b { width: 46px; height: 42px; font-size: 24px; }

  .rs-sec { padding-bottom: 100px; }
  .rslip { padding: 24px 16px 22px; transform: rotate(-.4deg); }
  .rslip::before { right: 36px; }
  .rslip::after { right: 41px; }
  .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
  .pick-a { max-width: 66px; font-size: 15px; }
  .rrow { grid-template-columns: 24px minmax(0, 1fr) 62px; gap: 0 10px; }
  .rrow-n { font-size: 19px; }
  .init { height: 54px; font-size: 24px; }
  .rslip-foot { flex-direction: column; align-items: flex-start; }
  .rslip-stamp { align-self: flex-end; margin-top: -8px; }

  .lh-sec { padding-top: 110px; padding-bottom: 120px; }
  .letterhead { transform: none; }
  .lh-logo { height: 32px; }
  .lh-names { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 10px; }
  .lh-names li { padding: 10px 12px 12px; }
  .lh-names li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .lh-names li:nth-child(n + 3) { border-top: 1px solid var(--pencil); }
  .lh-body { grid-template-columns: minmax(0, 1fr); }
  .lh-photo { max-width: 260px; }

  .reg-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .reg-head { position: static; }
  .reg-list li { flex-wrap: wrap; gap: 4px 14px; }
  .reg-list .dots { display: none; }
  .reg-s { flex-basis: 100%; padding-left: 60px; font-size: 16px; }
  .reg-s:empty, .reg-s:has(> br) { display: none; }
  .mono { width: 44px; height: 44px; }
  .ph { width: 58px; transform-origin: 0 50%; } /* single column: no margin to lift into */
  .reg-s { padding-left: 72px; }

  .gl-grid { grid-template-columns: minmax(0, 1fr); }
  .def { scroll-margin-top: calc(var(--hh) + 90px); } /* clears the sticky letter strip */
  .thumbs {
    order: -1;
    top: calc(var(--hh) - 2px); z-index: 5;
    flex-direction: row; gap: 4px;
    margin: 0 calc(-1 * var(--gut)) 12px;
    padding: 10px var(--gut) 10px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--grain), var(--paper);
    box-shadow: 0 8px 12px -10px rgba(22, 22, 22, .4);
  }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs a {
    flex: none; width: 40px; height: 44px; margin: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px));
  }
  .thumbs a:hover, .thumbs a[aria-current="true"] { transform: none; }
  .clause { padding: 24px 16px 30px; margin: 0 -6px; }
  .def { grid-template-columns: minmax(0, 1fr); padding: 20px 0 18px; }
  .def-no { line-height: 1; margin-bottom: 8px; }
  .def-note { grid-column: 1; }
}
@media (max-width: 380px) {
  .rrow { grid-template-columns: 20px minmax(0, 1fr); }
  .init { display: none; }
}

:root:is(.rm) .pick-a,
:root:is(.rm) .rslip-stamp,
:root:is(.rm) .init,
:root:is(.rm) .rrow-ps,
:root:is(.rm) .def-ink path { animation: none !important; transition: none; }
:root:is(.rm) .def-ink path { stroke-dashoffset: 0; }


/* ----------------------------------------------- 21 Oct 2026: values + policy */
.val-sec { padding-bottom: clamp(72px, 9vw, 130px); }
.val-list { --vn: clamp(26px, 2.6vw, 34px); list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; max-width: 900px; counter-reset: val; }
.val-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px;
  padding: 20px 0 18px;
  border-top: 1px solid rgba(239, 233, 220, .28);
}
.val-list li:last-child { border-bottom: 1px solid rgba(239, 233, 220, .28); }
.val-n { font: italic 600 var(--vn)/1 var(--serif); color: rgba(239, 233, 220, .55); min-width: calc(var(--vn) * 1.2); }
.val-t { font: 500 clamp(24px, 2.8vw, 38px)/1.15 var(--serif); color: var(--paper); letter-spacing: -.01em; }
.val-ask { flex-basis: 100%; padding-left: calc(var(--vn) * 1.2 + 22px); font: italic 400 clamp(17px, 1.6vw, 20px)/1.4 var(--serif); color: rgba(239, 233, 220, .78); }
.team-photo { margin: clamp(48px, 6vw, 88px) 0 0; }
.team-photo[hidden] { display: none; }
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo figcaption { margin-top: 12px; font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(239, 233, 220, .7); }

.policy { padding-top: 0; }
.policy-body { max-width: 720px; }
.policy-body h2 { margin: 40px 0 10px; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); color: var(--burgundy); }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { font: 300 17px/1.7 var(--sans); color: var(--text-2); }
.policy-body p + p { margin-top: 12px; }
.policy-body ul { margin: 8px 0 0; padding-left: 1.2em; }
.policy-body li { margin-top: 6px; }
.policy-body b { font-weight: 600; color: var(--near); }
.policy-body a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------------------------- 21 Oct 2026: pre-launch audit fixes */
.val-t { flex: 1 1 0; min-width: 0; }
/* the hover portrait lifts clear of the sticky intro on laptop widths */
@media (min-width: 761px) and (max-width: 1500px) { .ph { --lift: 1.6; } }
/* glossary A to Z: every letter reachable on a short screen */
@media (min-width: 761px) {
  .thumbs { max-height: calc(100vh - 118px); overflow-y: auto; scrollbar-width: thin; }
  .thumbs a { flex: none; }
}
@media (max-width: 760px) {
  .thumbs { top: calc(var(--hh) - 9px); }
  .reg-who { flex: 1 1 0; }
}
/* 404 */
.nf { min-height: 62vh; }
.nf .actions { margin-top: 30px; }
.nf .annex b { width: auto; padding: 3px 22px 0 12px; }
