/* ==========================================================================
   THE MODULE PAGE
   One layout, six pages. /judge, /expert, /stand, /mediation, /jury,
   /statements all render this shape and differ only in their data.

   Built on the site's own tokens rather than a parallel set, so it
   inherits body[data-theme="ink"] like everything else: --paper is the
   dark ground, --ink is the type on it, --accent is the lifted blue.

   Sections, in the order a visitor meets them:
     hero + session brief     what this is, and the way in
     01 the session           the experience, before the inventory
     02 practice flow         the four capabilities as a progression
     03 what comes back       the report, concretely
     04 in the room           who you face
     the other five           because there is no tab switcher
   ========================================================================== */

.mod{ --mod-page: min(1400px, calc(100vw - 64px)); }

/* ---------- Hero ---------- */
.mod-hero{
  width:var(--mod-page);margin:0 auto;padding:48px 0 64px;
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.55fr);gap:72px;
  border-bottom:1px solid var(--rule-soft);position:relative;
}
/* The section mark, oversized and set back. Same device as the report's. */
.mod-hero::after{
  content:"§";position:absolute;right:-8px;top:40px;
  font-family:var(--serif);font-size:220px;line-height:1;
  color:rgba(126,155,200,0.10);pointer-events:none;
}
/* Type follows test-drive.css, which is what every other page on this
   part of the site uses. The prototype ran a larger scale of its own;
   matching ours matters more than matching the mock. */
.mod-crumb,.mod-eyebrow,.mod-micro{
  font-family:var(--mono);font-size:10.5px;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--ink-2);
}
.mod-crumb{margin-bottom:44px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mod-crumb a{color:var(--ink-2);text-decoration:none}
.mod-crumb a:hover{color:var(--accent)}
.mod-crumb .sep{opacity:.4}
.mod-crumb .here{color:var(--ink)}
.mod-eyebrow{
  margin:0 0 22px;display:inline-flex;align-items:center;gap:12px;
  font-size:11px;color:var(--accent);
}
.mod-eyebrow .bar{width:40px;height:1px;background:var(--accent);display:inline-block}
.mod-hero h1{
  max-width:900px;margin:0 0 24px;font-family:var(--serif);font-weight:400;
  font-size:clamp(52px,6.2vw,96px);line-height:1.02;letter-spacing:-0.03em;color:var(--ink);
}
.mod-hero h1 em{color:var(--accent);font-style:italic}
.mod-lede{
  max-width:560px;margin:0;font-size:18px;line-height:1.55;font-weight:300;color:var(--ink-2);
}
.mod-actions{margin-top:32px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}
/* The hero's way in, set as type rather than a button. The brief card
   beside it already carries the solid action, and two of them competing
   in one hero was the reason the second one needed a down-arrow. */
.mod-textlink{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--mono);font-size:11px;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--ink);text-decoration:none;
  padding-bottom:7px;border-bottom:1px solid var(--ink);
  transition:color .18s,border-color .18s;
}
.mod-textlink:hover{color:var(--accent);border-bottom-color:var(--accent)}
.mod-textlink .arr{font-family:var(--serif);font-size:17px;letter-spacing:0;text-transform:none;transition:transform .18s}
.mod-textlink:hover .arr{transform:translateX(4px)}

/* The brief. A filing card, same register as /case's. */
.mod-brief{
  align-self:end;position:relative;z-index:1;
  border:1px solid var(--rule-soft);background:var(--paper-2);
}
.mod-brief-head{
  min-height:48px;padding:0 18px;display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid var(--rule-soft);
  font-family:var(--mono);font-size:9px;letter-spacing:0.14em;text-transform:uppercase;
}
.mod-brief-head span{color:var(--ink-2)}
.mod-brief-head strong{font-weight:400;color:var(--ink)}
.mod-brief dl{margin:0}
.mod-brief dl div{
  min-height:68px;padding:14px 18px;
  display:grid;grid-template-columns:104px 1fr;gap:18px;align-items:center;
  border-bottom:1px solid var(--rule-soft);
}
.mod-brief dt{
  font-family:var(--mono);font-size:9px;letter-spacing:0.13em;text-transform:uppercase;
  color:var(--ink-2);
}
.mod-brief dd{margin:0;font-family:var(--serif);font-size:19px;line-height:1.15;color:var(--ink)}
.mod-brief-cta{
  min-height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;
  background:var(--ink);color:var(--paper);text-decoration:none;
  font-family:var(--mono);font-size:10px;letter-spacing:0.12em;text-transform:uppercase;
  transition:background .2s;
}
.mod-brief-cta:hover{background:var(--accent);color:var(--paper)}
.mod-brief-cta i{font-style:normal;font-size:20px}

/* ---------- Body and rail ---------- */
.mod-layout{
  width:var(--mod-page);margin:0 auto;
  display:grid;grid-template-columns:212px minmax(0,1fr);gap:60px;
}
.mod-rail{align-self:start;position:sticky;top:24px;padding:72px 0;display:flex;flex-direction:column}
/* The rail heading is a section kicker like every other one on the site,
   so it takes .td-sec-kicker's spec rather than a smaller looser one of
   its own. Same for the numerals beside each link. */
.mod-rail-title{
  margin-bottom:20px;font-family:var(--mono);font-size:10.5px;letter-spacing:0.22em;
  text-transform:uppercase;color:var(--accent);
}
.mod-rail a{
  padding:13px 0;border-top:1px solid var(--rule-soft);
  font-family:var(--serif);font-size:17px;color:var(--ink);text-decoration:none;transition:color .18s;
}
.mod-rail a:hover{color:var(--accent)}
.mod-rail a span{
  display:inline-block;width:32px;
  font-family:var(--mono);font-size:10px;letter-spacing:0.2em;color:var(--ink-2);
}
.mod-body{min-width:0}
.mod-section{padding:72px 0;border-bottom:1px solid var(--rule-soft);scroll-margin-top:24px}
.mod-head{margin-bottom:32px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.mod-head > div{display:flex;align-items:baseline;gap:20px}
.mod-head h2{
  margin:0;font-family:var(--serif);font-weight:400;color:var(--ink);
  font-size:clamp(40px,5vw,72px);line-height:.95;letter-spacing:-0.02em;
}
.mod-head h2 em{color:var(--accent);font-style:italic}
.mod-head > span{
  font-family:var(--mono);font-size:10.5px;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--ink-2);white-space:nowrap;
}
.mod-roman{font-family:var(--serif);font-size:44px;color:var(--accent)}

/* ---------- 01. The session ---------- */
.mod-preview{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);
  border:1px solid var(--rule-soft);
}
.mod-preview-media{
  min-height:460px;position:relative;overflow:hidden;background:#0f1520;
  border-right:1px solid var(--rule-soft);
}
.mod-preview-media video,.mod-preview-media img{
  width:100%;height:100%;object-fit:cover;position:absolute;inset:0;
  filter:saturate(.85) contrast(1.03);
}
.mod-preview-media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg, rgba(23,30,44,0.04), rgba(23,30,44,0.66));
}
.mod-live,.mod-role{
  position:absolute;z-index:2;
  font-family:var(--mono);font-size:9px;letter-spacing:0.13em;text-transform:uppercase;
  color:var(--ink);
}
.mod-live{top:18px;left:18px;padding:9px 12px;background:rgba(23,30,44,0.88)}
.mod-live i{
  width:6px;height:6px;margin-right:7px;display:inline-block;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 4px rgba(126,155,200,0.16);
}
.mod-role{left:18px;bottom:18px}
.mod-preview-copy{
  padding:32px;display:flex;flex-direction:column;justify-content:flex-end;
  background:var(--paper-2);
}
.mod-preview-copy h3{
  margin:12px 0 14px;font-family:var(--serif);font-weight:600;font-size:40px;line-height:1.08;
  color:var(--ink);
}
.mod-preview-copy > p{
  margin:0 0 26px;font-family:var(--serif);font-size:19px;line-height:1.45;color:var(--ink-2);
}
.mod-metrics{
  display:grid;grid-template-columns:1fr 1fr;
  border-top:1px solid var(--rule-soft);border-bottom:1px solid var(--rule-soft);
}
.mod-metrics div{padding:15px 0}
.mod-metrics div + div{padding-left:18px;border-left:1px solid var(--rule-soft)}
.mod-metrics span,.mod-metrics strong{display:block}
.mod-metrics span{
  margin-bottom:6px;font-family:var(--mono);font-size:8px;letter-spacing:0.13em;
  text-transform:uppercase;color:var(--ink-2);
}
.mod-metrics strong{font-family:var(--serif);font-weight:400;font-size:16px;color:var(--ink)}

/* ---------- 02. Practice flow ---------- */
.mod-flow{margin:0;padding:0;list-style:none;border-top:1px solid var(--rule-soft)}
.mod-flow li{
  min-height:146px;display:grid;grid-template-columns:76px minmax(0,1fr) 36px;gap:22px;
  align-items:center;border-bottom:1px solid var(--rule-soft);
  transition:background .2s ease, padding .2s ease;
}
.mod-flow li:hover{padding:0 18px;background:var(--paper-2)}
.mod-step-n{font-family:var(--serif);font-size:32px;color:var(--accent);opacity:.75}
.mod-step-label{
  font-family:var(--mono);font-size:8px;letter-spacing:0.16em;text-transform:uppercase;
  color:var(--ink-2);
}
.mod-flow h3{margin:7px 0 8px;font-family:var(--serif);font-weight:400;font-size:26px;color:var(--ink)}
.mod-flow p{max-width:740px;margin:0;color:var(--ink-2);line-height:1.55}
.mod-step-mark{justify-self:end;font-family:var(--serif);font-size:22px;color:var(--accent);opacity:.7}

/* ---------- 03. What comes back ---------- */
.mod-report{
  display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);
  border:1px solid var(--rule-soft);
}
.mod-report-summary{padding:38px;border-right:1px solid var(--rule-soft);background:var(--paper-2)}
.mod-report-summary h3{
  margin:12px 0 16px;font-family:var(--serif);font-weight:600;font-size:34px;line-height:1.08;
  color:var(--ink);
}
.mod-report-summary > p{margin:0;color:var(--ink-2);line-height:1.6}
.mod-scoreline{margin-top:40px;display:flex;align-items:flex-end;justify-content:space-between}
.mod-scoreline span{
  font-family:var(--mono);font-size:9px;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--ink-2);
}
.mod-scoreline strong{font-family:var(--serif);font-weight:400;font-size:50px;line-height:.8;color:var(--ink)}
.mod-scoreline small{font-size:18px;color:var(--ink-2)}
.mod-scorebar{height:4px;margin-top:15px;background:var(--rule-soft)}
.mod-scorebar i{height:100%;display:block;background:var(--accent)}
.mod-report-cards{display:grid}
.mod-report-cards article{
  padding:24px 28px;display:grid;grid-template-columns:40px 150px 1fr;align-items:center;gap:18px;
}
.mod-report-cards article + article{border-top:1px solid var(--rule-soft)}
.mod-report-cards article > span{font-family:var(--serif);font-size:22px;color:var(--accent);opacity:.75}
.mod-report-cards h4{margin:0;font-family:var(--serif);font-weight:400;font-size:22px;color:var(--ink)}
.mod-report-cards p{margin:0;color:var(--ink-2);line-height:1.4}

/* ---------- 04. In the room ----------
   Full tiles, not portrait medallions. These are the faces you sit
   across from, and the room shows them at the size the room does. */
/* One row, whatever the count. --mod-roster-n comes from the page, so
   three counsel and six jurors both read as a single bench rather than
   wrapping into an orphan. The tiles are containers, and the plate sizes
   off the tile: at six across the type has to come down, and it should
   do that on its own rather than by breakpoint. */
.mod-roster{
  display:grid;grid-template-columns:repeat(var(--mod-roster-n,3),minmax(0,1fr));gap:1px;
  background:var(--rule-soft);border:1px solid var(--rule-soft);
}
.mod-roster article{
  position:relative;aspect-ratio:4/5;overflow:hidden;background:#0f1520;display:block;
  container-type:inline-size;
}
.mod-roster article video,.mod-roster article img{
  width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.9) brightness(.9);
}
/* No avatar in the catalogue for this seat: the monogram fills the same
   tile rather than the layout changing shape around it. */
.mod-roster-mono{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(150deg, var(--paper-2), #0f1520);
  font-family:var(--serif);font-size:64px;color:var(--accent);opacity:.55;
}
.mod-roster-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg, rgba(23,30,44,0.10) 0%, rgba(23,30,44,0.20) 40%, rgba(23,30,44,0.92) 100%);
}
.mod-roster-plate{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:clamp(12px,7cqw,22px) clamp(12px,7cqw,22px) clamp(11px,6cqw,20px);
}
.mod-roster-plate span{
  display:block;font-family:var(--mono);letter-spacing:0.2em;text-transform:uppercase;
  color:var(--accent);font-size:clamp(7px,2.6cqw,9px);
}
.mod-roster-plate h3{
  margin:clamp(5px,2cqw,8px) 0 clamp(4px,1.6cqw,6px);
  font-family:var(--serif);font-weight:400;line-height:1.1;color:#fff;
  font-size:clamp(15px,7.4cqw,26px);
}
.mod-roster-plate h3 em{color:#fff;font-style:normal}
.mod-roster-plate p{
  margin:0;color:rgba(231,235,242,0.82);line-height:1.45;
  font-size:clamp(10px,3.6cqw,13px);
}
.mod-roster-n{
  position:absolute;left:clamp(10px,5cqw,18px);top:clamp(10px,4.5cqw,16px);z-index:2;
  font-family:var(--mono);font-size:clamp(7px,2.6cqw,9px);letter-spacing:0.2em;
  color:rgba(231,235,242,0.7);
}
.mod-roster article > i{
  position:absolute;right:clamp(10px,5cqw,18px);top:clamp(10px,4.5cqw,16px);z-index:2;
  font-style:normal;font-family:var(--mono);letter-spacing:0.2em;text-transform:uppercase;
  font-size:clamp(6.5px,2.4cqw,8.5px);
  color:var(--accent);padding:4px 8px;background:rgba(5,8,15,0.6);
  border:1px solid rgba(126,155,200,0.4);
}

/* ---------- The other five ----------
   There is no tab switcher: a strip of six sibling links at the foot,
   where somebody who has finished reading is actually looking. */
.mod-siblings{width:var(--mod-page);margin:0 auto;padding:64px 0 0}
.mod-siblings-head{
  display:flex;justify-content:space-between;align-items:baseline;gap:24px;
  padding-bottom:16px;border-bottom:1px solid var(--rule-soft);
}
.mod-siblings-head h2{
  margin:0;font-family:var(--serif);font-weight:400;font-size:30px;color:var(--ink);
}
.mod-siblings-head a{
  font-family:var(--mono);font-size:9.5px;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--ink-2);text-decoration:none;white-space:nowrap;
}
.mod-siblings-head a:hover{color:var(--accent)}
.mod-sibling-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.mod-sibling{
  padding:24px 26px 26px;border-bottom:1px solid var(--rule-soft);border-right:1px solid var(--rule-soft);
  text-decoration:none;display:block;transition:background .2s;
}
.mod-sibling:nth-child(3n){border-right:0}
.mod-sibling:hover{background:var(--paper-2)}
.mod-sibling.is-here{background:var(--paper-2);cursor:default}
.mod-sibling .n{
  font-family:var(--mono);font-size:9px;letter-spacing:0.18em;color:var(--ink-2);
}
.mod-sibling h3{margin:10px 0 6px;font-family:var(--serif);font-weight:400;font-size:24px;color:var(--ink)}
.mod-sibling p{margin:0;color:var(--ink-2);font-size:13px;line-height:1.5}
.mod-sibling .here-tag{
  display:inline-block;margin-top:10px;
  font-family:var(--mono);font-size:8px;letter-spacing:0.18em;text-transform:uppercase;color:var(--accent);
}

/* No final-CTA rules here on purpose. The page uses the site's own .cta
   section outright, the same component /case and the home page use, so
   the heading, the copy and the corner stamps are set once. */

/* ---------- Responsive ---------- */
@media(max-width:1100px){
  .mod{--mod-page:min(100% - 42px, 1040px)}
  .mod-hero{grid-template-columns:1fr;gap:44px}
  .mod-hero::after{display:none}
  .mod-brief{max-width:740px}
  .mod-layout{grid-template-columns:1fr}
  .mod-rail{display:none}
  .mod-preview{grid-template-columns:1fr}
  .mod-preview-media{border-right:0;border-bottom:1px solid var(--rule-soft)}
  .mod-report{grid-template-columns:1fr}
  .mod-report-summary{border-right:0;border-bottom:1px solid var(--rule-soft)}
  .mod-sibling-grid{grid-template-columns:repeat(2,1fr)}
  .mod-sibling:nth-child(3n){border-right:1px solid var(--rule-soft)}
  .mod-sibling:nth-child(2n){border-right:0}
}
@media(max-width:720px){
  .mod{--mod-page:calc(100% - 28px)}
  .mod-hero{padding:32px 0 44px}
  .mod-crumb{margin-bottom:28px}
  .mod-lede{font-size:20px}
  .mod-actions{flex-direction:column;align-items:flex-start}
  .mod-brief dl div{grid-template-columns:92px 1fr}
  .mod-layout{gap:0}
  .mod-section{padding:52px 0}
  .mod-head{align-items:flex-start}
  .mod-head > div{gap:13px}
  .mod-head > span{display:none}
  .mod-roman{font-size:34px}
  .mod-preview-media{min-height:340px}
  .mod-preview-copy{padding:24px}
  .mod-preview-copy h3{font-size:32px}
  .mod-flow li{grid-template-columns:48px 1fr;gap:12px;padding:20px 0;min-height:0}
  .mod-flow li:hover{padding:20px 10px}
  .mod-step-mark{display:none}
  .mod-report-summary{padding:26px}
  .mod-report-cards article{grid-template-columns:32px 1fr;gap:8px 12px}
  .mod-report-cards p{grid-column:2}
  .mod-sibling-grid{grid-template-columns:1fr}
  .mod-roster{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* An odd cast leaves the last tile alone in its row, and the empty half
     shows the grid's own rule colour as a pale panel that reads like a
     tile that failed to load. Let it take the row, and flatten it so it
     does not tower over the pair above. */
  .mod-roster article:last-child:nth-child(odd){grid-column:span 2;aspect-ratio:16/10}
  .mod-sibling,.mod-sibling:nth-child(3n),.mod-sibling:nth-child(2n){border-right:0}
}
@media(prefers-reduced-motion:reduce){
  .mod-flow li,.mod-sibling,.mod-brief-cta{transition:none}
}
