:root{font-family:system-ui,sans-serif;color:#252d28;background:#f7f6ef;line-height:1.65;--ink:#192921;--green:#304c3d;--gold:#e1ba76;--line:#d7d8cb}
*{box-sizing:border-box}body{margin:0}a{color:#315a46;text-underline-offset:.2em}a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a66e1b;outline-offset:3px}[hidden]{display:none!important}
.bar{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem max(5vw,calc((100% - 72rem)/2));background:#15231b;color:#e4dfc9;border-bottom:1px solid #586253;font-size:.9rem}.bar a{color:#f5ebd1;font-family:Georgia,serif;font-size:1.25rem;text-decoration:none}
.wrap{width:min(90%,72rem);margin:auto}.hero{background:#22382d;color:#faf3dc;padding:clamp(3rem,8vw,7rem) 0;border-bottom:5px solid #bb9354}.hero h1,.profile h1,h2{font-family:Georgia,serif;line-height:1.08;margin:.25em 0;font-weight:normal}.hero h1{font-size:clamp(3.2rem,8vw,7.1rem);letter-spacing:-.045em}.hero .wrap>p:last-child{max-width:34rem;font-size:1.125rem;color:#e1e5d7;margin:1.6rem 0 0}.eyebrow{color:#866327;font-size:.875rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.hero .eyebrow{color:var(--gold)}
.register{padding:2.5rem 0 4.5rem}.roll-title{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.roll-title h2{font-size:2.7rem}.filters{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin:1.2rem 0 2rem}.filters label{display:grid;gap:.35rem;font-weight:650}.filters input,.filters select{width:100%;color:var(--ink);background:#fffef9;border:1px solid #858e7e;border-radius:.3rem;padding:.65rem .8rem;font:inherit;min-width:0}
.roll{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:0}.roll a{display:flex;flex-direction:column;justify-content:center;min-height:5.25rem;height:100%;padding:.8rem 1rem;background:#fffdf5;border:1px solid var(--line);border-left:3px solid #a3a88f;text-decoration:none;color:var(--ink)}.roll a:hover{background:#eaf0df;border-left-color:#416147}.roll span{font-size:.875rem;color:#454f43}.roll [data-tags~="film"] a{border-left-color:#a87828}.roll [data-tags~="fallen"] a{border-left-color:#92574d}
.profile{max-width:53rem;padding:2.25rem 0 5rem}.profile header{padding:1.75rem 0 .75rem}.profile h1{font-size:clamp(2.5rem,6vw,5rem);overflow-wrap:anywhere}.profile dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;margin:1rem 0 2.5rem;padding:1.2rem 0;border-block:1px solid var(--line)}.profile dt{font-size:.875rem;color:#4b584d}.profile dd{margin:0;font-weight:650}.profile article{max-width:74ch;overflow-wrap:anywhere}.profile article h2{font-size:1.85rem}
footer{padding:1.5rem 5%;border-top:1px solid var(--line);font-size:.875rem;color:#454f43}.skip{position:absolute;left:1rem;top:-5rem;background:#fff;padding:.5rem}.skip:focus{top:.5rem}
@media(max-width:850px){.roll{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.roll,.filters{grid-template-columns:1fr}.bar span{display:none}}
.profile figure{margin:1.4rem 0 2.1rem}.profile .portrait{float:right;width:min(42%,15rem);margin:0 0 1rem 1.6rem}.profile figure img{display:block;width:100%;height:auto;background:#ece9dc;border:1px solid var(--line)}.profile figcaption{color:#455248;font-size:.9rem;margin-top:.5rem}.archive-image,.sources{clear:both}.sources{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--line);overflow-wrap:anywhere}.sources h2{font-size:1.55rem}.sources ul{padding-left:1.4rem}
@media(max-width:560px){.profile .portrait{float:none;width:min(75%,15rem);margin:0 0 1.5rem}}

.bar-actions { display: flex; align-items: center; gap: 1rem; }
.bar .search-link, .profile-navigation a { padding: .55rem .8rem; border: 1px solid currentColor; border-radius: .35rem; }
.bar .search-link { font: inherit; font-weight: 650; }
#query { scroll-margin-top: 1rem; }
.profile-navigation { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0; clear: both; }
.profile-navigation a[rel="next"] { margin-inline-start: auto; }

.press { clear: both; border-top: 1px solid var(--line); margin: 2rem 0; padding-top: 1rem; }
.press-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.press .archive-image { margin: .5rem 0 1rem; }
.press img { display: block; width: 100%; height: 18rem; object-fit: contain; background: #ece9dc; border: 1px solid var(--line); }
.press figcaption { margin-top: .5rem; font-size: .9rem; color: #455248; }

.chindit-badge{display:block;width:7rem;height:auto;margin-bottom:.5rem}

.roll > li[hidden]{display:none}
.research-lead{height:100%;background:#fffdf5;border:1px solid var(--line);border-left:3px solid #a87828}
.research-lead summary{cursor:pointer;min-height:5.25rem;padding:.8rem 1rem}
.research-lead summary strong,.research-lead summary span{display:block}
.research-lead summary:hover{background:#f6efdb}
.research-lead .research-status{font-weight:600;color:#695121}
.research-lead p{margin:0;padding:0 1rem .8rem}

.film-player{margin:1rem 0 1.5rem}.film-player iframe{display:block;width:100%;max-width:40rem;height:auto;aspect-ratio:48/43;border:0}.film-player[hidden]{display:none}
.oral-history-player iframe{max-width:480px;height:430px;aspect-ratio:auto}

.hero-contact{color:inherit;text-decoration:underline;text-underline-offset:.15em;overflow-wrap:anywhere}

/* The archive introduction and roll */
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0; }
.hero-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--gold); border-radius: .35rem; color: #fff5dc; }
.hero-actions a:first-child { background: var(--gold); color: #192921; font-weight: 700; }
.roll { align-items: start; gap: .8rem; }
.roll > li { min-width: 0; overflow-wrap: anywhere; scroll-margin-top: 1rem; }
.roll > li:target { outline: 2px solid #956521; outline-offset: 3px; }
.roll .entry-main { align-items: flex-start; min-height: 7rem; }
.roll .entry-main strong, .research-lead summary strong { font-size: 1.08rem; line-height: 1.3; }
.research-lead summary { min-height: 7rem; }
.roll .entry-status { font-size: .875rem; font-weight: 700; margin: .15rem 0; }
.roll .confirmed-status { color: #315a46; }
#people .confirmed-status {
  display: block;
  white-space: nowrap;
}
#people .confirmed-status::before {
  content: "";
  display: inline-block;
  width: 3.5rem;
  height: 1.125rem;
  margin-inline-end: .45rem;
  vertical-align: middle;
  background: url("media/chindit-badge.png") center / contain no-repeat;
}
.roll .search-match { background: #f0ecdf; padding: .6rem .8rem; margin: 0; border: 1px solid var(--line); font-size: .875rem; }
.roll .research-lead a { display: inline; padding: 0; background: none; border: 0; color: #315a46; text-decoration: underline; }
.full-image { display: inline-block; margin-inline-start: .3rem; font-weight: 650; }
@media (max-width: 560px) {
  .bar { flex-wrap: wrap; gap: .5rem; }
  .roll-title { flex-wrap: wrap; gap: .25rem; }
  .roll .entry-main, .research-lead summary { min-height: 5rem; }
  .register { padding-top: 1.75rem; }
}

.hero { padding: clamp(1.25rem, 3vw, 2.75rem) 0; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 5.2rem); }
.hero-actions { margin: .9rem 0 0; }
.roll-about { margin: 0 0 1.25rem; color: #424d43; }
.roll-about summary { cursor: pointer; font-weight: 650; }
.roll-about p { max-width: 74ch; }
.roll-about a { color: #315a46; }
.film-status, .roll .film-status { color: #28516e; }
.roll .research-status { color: #695121; }
@media (max-width: 560px) {
  .filters { margin: .75rem 0 1rem; }
  .register { padding-top: 1rem; }
}

.hero-description { max-width: 62ch; margin: .65rem 0 0; color: #e1e5d7; }

.bar-actions { flex-wrap: wrap; }

.press .photo-team,
.press .photo-outdoors { grid-column: 1 / -1; }
.profile .photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--photo-ratio, 3 / 4);
  border: 1px solid var(--line);
  background: #ece9dc;
}
.profile .photo-frame img {
  position: absolute;
  width: 100%;
  height: auto;
  border: 0;
  transform: translateY(var(--photo-offset, 0%));
}
.photo-team { --photo-ratio: 1.68; }
.profile .photo-team .photo-frame img {
  width: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.photo-seated { --photo-ratio: 1170 / 1480; --photo-offset: -1%; }
.photo-pair { --photo-ratio: 1170 / 1045; --photo-offset: -25%; }
.photo-eight { --photo-ratio: 1170 / 1140; --photo-offset: -23%; }
.photo-outdoors { --photo-ratio: 1170 / 1100; --photo-offset: -18%; }

.profile-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6rem, 18vw, 10rem);
  gap: clamp(.85rem, 3vw, 1.5rem);
  align-items: start;
  margin: 1rem 0 2.5rem;
}
.profile-details dl {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  margin: 0;
}
.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ece9dc;
  border: 1px solid var(--line);
}
.profile-photo img {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: var(--crop-width);
  max-width: none;
  height: auto;
  transform: translate(var(--crop-x), var(--crop-y));
}
.research-lead .profile-photo {
  float: right;
  width: clamp(4rem, 26%, 6.5rem);
  margin: 0 .85rem .5rem .65rem;
}
.research-lead .entry-permalink { clear: both; }

.profile-navigation-top {
  margin: .75rem 0 0;
}

.book-covers .press-images {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
}
.profile .book-covers img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 19rem;
  margin-inline: auto;
}

.roll strong .fallen-cross, .profile h1 .fallen-cross {
  margin-inline-start: .35em;
  color: #854a41;
  font-family: Georgia, serif;
  font-size: .84em;
  white-space: nowrap;
}
.profile h1 .fallen-cross { font-size: .48em; vertical-align: .2em; }

.roll > li:has(> .roll-photo) > .entry-main {
  height: auto;
  border-bottom: 0;
}
.roll-photo {
  margin: 0;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: #fffdf5;
}
.roll-photo > img, .roll-photo .profile-photo {
  display: block;
  width: min(100%, 11rem);
  height: auto;
}
.roll-photo figcaption {
  margin-top: .4rem;
  font-size: .8rem;
  line-height: 1.35;
  color: #455248;
}
