/* ============================================================
   neumACt R&I — LANDING · L3.1 MICROCALIBRATED CURRENT BASELINE
   Shared masthead/footer remain owned globally.
   Purpose: institutional front door, research orientation, current work,
   innovation, institutional context and contact. No vanity statistics.
   ============================================================ */

body[data-page="home"]{background:#fbfaf7;}
body[data-page="home"] main{overflow:hidden;}
body[data-page="home"] .wrap{width:min(100% - 2.5rem,1480px);max-width:1480px;margin-inline:auto;}

.home-section{position:relative;padding:clamp(3.85rem,4.8vw,5.2rem) 0;}
.home-section-title{margin:0;font-family:var(--ff-display);font-size:clamp(2.55rem,3.45vw,3.78rem);font-weight:700;line-height:.96;letter-spacing:-.045em;color:#0b3a68;text-wrap:balance;}
.home-section-title--dark{color:#fff;}
.home-section-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:end;margin-bottom:clamp(1.8rem,2.8vw,2.5rem);padding-bottom:1.05rem;border-bottom:1px solid rgba(12,56,104,.16);}
.home-section-header>div>p{max-width:46rem;margin:.95rem 0 0;color:#66778b;font-size:.94rem;line-height:1.7;}
.home-text-link{display:inline-flex;align-items:center;margin:0;padding-bottom:.18rem;border-bottom:1px solid rgba(0,120,128,.26);color:#075f67;font-size:.82rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:color .18s,border-color .18s;}
.home-text-link:hover{color:#0b3a68;border-bottom-color:currentColor;}
.home-text-link--dark{color:#91e3e3;border-bottom-color:rgba(145,227,227,.32);}
.home-text-link--dark:hover{color:#fff;}

/* HERO — media is a placeholder until approved institutional photography exists */
.home-hero{position:relative;min-height:clamp(430px,50svh,500px);display:flex;align-items:center;isolation:isolate;background:#082b4d;border-bottom:1px solid rgba(255,255,255,.08);}
.home-hero-media,.home-hero-media img,.home-hero-shade{position:absolute;inset:0;width:100%;height:100%;}
.home-hero-media{z-index:-3;overflow:hidden;background:#082f55;}
.home-hero-media img{display:block;object-fit:cover;object-position:69% 50%;transform:scale(1.01);}
.home-hero-shade{z-index:-2;background:linear-gradient(90deg,rgba(4,25,45,.96) 0%,rgba(5,30,54,.89) 37%,rgba(7,43,74,.52) 66%,rgba(7,43,74,.12) 100%),linear-gradient(180deg,rgba(2,20,38,.05),rgba(2,20,38,.34));}
.home-hero-content{padding-top:clamp(2.6rem,4vw,4rem);padding-bottom:clamp(5.4rem,6vw,6.2rem);}
.home-hero-title{max-width:13.8ch;margin:0;font-family:var(--ff-display);font-size:clamp(3.1rem,4.75vw,5.1rem);font-weight:700;line-height:.945;letter-spacing:-.048em;color:#fff;text-wrap:balance;text-shadow:0 10px 42px rgba(0,15,30,.2);}
.home-hero-lead{max-width:43rem;margin:1.15rem 0 0;color:rgba(255,255,255,.76);font-size:clamp(.98rem,1.15vw,1.08rem);line-height:1.72;text-wrap:pretty;}
.home-hero-links{display:flex;flex-wrap:wrap;gap:.85rem 1.5rem;margin-top:1.2rem;}
.home-hero-links a{color:#fff;text-decoration:none;font-size:.84rem;font-weight:600;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:.18rem;transition:color .18s,border-color .18s;}
.home-hero-links a:hover{color:#86e1e1;border-bottom-color:currentColor;}


/* Content-safe hero calibration: the landing must never clip beneath the fixed masthead. */
@media (min-width: 900px) and (max-height: 760px){
  .home-hero{min-height:470px;}
  .home-hero-content{padding-top:2.35rem;padding-bottom:5.5rem;}
  .home-hero-title{font-size:clamp(3rem,4.4vw,4.65rem);max-width:15ch;}
  .home-hero-lead{margin-top:.9rem;line-height:1.58;}
  .home-hero-links{margin-top:1rem;}
}

/* RAISED RESEARCH PROGRAMME */
.home-programme{position:relative;z-index:4;margin-top:clamp(-3.85rem,-4.15vw,-3.05rem);padding:0 0 clamp(3.65rem,4.55vw,4.7rem);}
.home-programme-panel{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr);gap:clamp(2.35rem,4.5vw,4.9rem);align-items:start;padding:clamp(1.85rem,2.9vw,2.75rem) clamp(1.6rem,3vw,3.05rem);background:#fbfaf7;border:1px solid rgba(12,56,104,.095);border-radius:10px 10px 0 0;box-shadow:0 16px 42px rgba(6,35,61,.052),0 3px 10px rgba(6,35,61,.022);}
.home-programme-intro{max-width:39rem;}
.home-programme-intro h2{margin:0;font-family:var(--ff-display);font-size:clamp(2.28rem,3.25vw,3.52rem);font-weight:700;line-height:.98;letter-spacing:-.04em;color:#0b3a68;}
.home-programme-intro p{margin:.9rem 0 0;font-size:.88rem;line-height:1.64;color:#5d7083;text-wrap:pretty;}
.home-programme-intro .home-programme-team{margin-top:1rem;padding-top:.88rem;border-top:1px solid rgba(12,56,104,.09);font-size:.77rem;line-height:1.58;color:#788797;}
.home-programme-links{display:flex;flex-wrap:wrap;gap:.85rem 1.3rem;margin-top:1.15rem;}
.home-programme-links a{font-size:.78rem;font-weight:600;color:#07636b;text-decoration:none;border-bottom:1px solid rgba(7,99,107,.22);padding-bottom:.32rem;}
.home-programme-lines{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(12,56,104,.16);}
.home-line-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;padding:1rem .7rem 1rem 0;border-bottom:1px solid rgba(12,56,104,.12);color:inherit;text-decoration:none;transition:background .18s;}
.home-line-row:nth-child(odd){padding-right:1.4rem;border-right:1px solid rgba(12,56,104,.10);}
.home-line-row:nth-child(even){padding-left:1.4rem;}
a.home-line-row:hover .home-line-title{color:#007b84;}
.home-line-copy{min-width:0;display:block;}
.home-line-title{display:block;font-size:.89rem;font-weight:600;line-height:1.32;color:#143e64;transition:color .18s ease;text-wrap:balance;}
.home-line-meta,.home-line-arrow{display:none;}

/* INSTITUTIONAL AFFILIATION — external institutional record, deliberately secondary */
.home-affiliation-dock{position:relative;z-index:5;display:flex;justify-content:flex-end;pointer-events:none;}
.home-affiliation-card{pointer-events:auto;width:min(100%,398px);margin-top:-1.1rem;margin-right:clamp(.4rem,2vw,2rem);padding:1.3rem 1.4rem 1.25rem;background:#fff;border:1px solid rgba(12,56,104,.105);border-radius:9px;box-shadow:0 18px 46px rgba(6,35,61,.075),0 4px 12px rgba(6,35,61,.025);position:relative;}
.home-affiliation-card__marker{position:absolute;left:1.4rem;top:0;width:46px;height:2px;background:linear-gradient(90deg,#337eb5 0%,#2fa7a6 58%,#27a284 100%);}
.home-affiliation-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;}
.home-affiliation-card__eyebrow{margin:0;font:600 .53rem/1.2 var(--ff-mono);letter-spacing:.105em;text-transform:uppercase;color:#748697;}
.home-affiliation-card__status{font:500 .5rem/1 var(--ff-mono);letter-spacing:.09em;color:#9aa7b1;}
.home-affiliation-card h3{margin:.5rem 0 0;font-family:var(--ff-display);font-size:1.62rem;font-weight:650;line-height:1;color:#0b3a68;letter-spacing:-.034em;}
.home-affiliation-card__institution{margin:.32rem 0 0!important;font-size:.65rem!important;line-height:1.42!important;color:#86939e!important;}
.home-affiliation-card p:not(.home-affiliation-card__eyebrow):not(.home-affiliation-card__institution){max-width:33rem;margin:.82rem 0 0;font-size:.76rem;line-height:1.58;color:#607386;text-wrap:pretty;}
.home-affiliation-card__link{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.95rem;padding-top:.78rem;border-top:1px solid rgba(12,56,104,.11);color:#075f67;text-decoration:none;font-size:.71rem;font-weight:650;}
.home-affiliation-card__link:hover,.home-affiliation-card__link:focus-visible{color:#0b3a68;outline:none;}
.home-affiliation-card__link:focus-visible{box-shadow:0 0 0 3px rgba(40,174,181,.16);}
.home-affiliation-card__link svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}

/* CURRENT WORK — one governed research output + one governed innovation project */
.home-current{background:#fff;border-top:1px solid rgba(12,56,104,.06);}
.home-section-header--current{display:block;max-width:54rem;margin-bottom:clamp(1.8rem,2.8vw,2.5rem);}
.home-section-header--current>div{max-width:48rem;}
.home-current-surface{min-height:250px;}
.home-current-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:clamp(1.25rem,2vw,1.9rem);align-items:stretch;}
.home-current-record{position:relative;display:flex;flex-direction:column;min-width:0;color:inherit;text-decoration:none;border-top:1px solid rgba(12,56,104,.11);border-bottom:1px solid rgba(12,56,104,.075);transition:background .18s ease,box-shadow .18s ease,transform .18s ease;}
.home-current-record:hover{background:rgba(12,56,104,.012);}
.home-current-record--publication{display:grid;grid-template-columns:minmax(165px,.35fr) minmax(0,.65fr);background:linear-gradient(135deg,rgba(248,250,250,.78),rgba(255,255,255,.96));box-shadow:0 18px 52px rgba(7,38,65,.028);}
.home-current-record__media{position:relative;min-height:225px;overflow:hidden;background:linear-gradient(145deg,#0a315a,#0c5268);}
.home-current-record__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;}
.home-current-record:hover .home-current-record__media img{transform:scale(1.012);}
.home-current-record__body{display:flex;flex-direction:column;justify-content:center;padding:clamp(1.25rem,2vw,1.8rem);}
.home-current-record--text-only{display:flex;min-height:225px;}
.home-current-record--text-only .home-current-record__body{max-width:62rem;padding-left:clamp(1rem,1.55vw,1.4rem);padding-right:clamp(1rem,2vw,1.8rem);}
.home-current-record--innovation{padding:clamp(1.3rem,2vw,1.75rem);background:linear-gradient(145deg,var(--institutional-mid-1) 0%,var(--institutional-mid-2) 58%,var(--institutional-mid-3) 100%);color:#fff;border-color:rgba(178,226,227,.07);box-shadow:0 20px 56px rgba(15,57,73,.045),inset 0 1px 0 rgba(255,255,255,.035);}
.home-current-record--innovation:hover{background:linear-gradient(145deg,#185167 0%,#1D5A6D 58%,#216477 100%);}
.home-current-kind{display:inline-flex;align-items:center;width:max-content;font:500 .58rem/1.35 var(--ff-mono);letter-spacing:.10em;text-transform:uppercase;color:#00838c;}
.home-current-record--innovation .home-current-kind{color:#83dddd;}
.home-current-record h3{margin:.62rem 0 0;font-family:var(--ff-display);font-size:clamp(1.62rem,2.05vw,2.25rem);font-weight:700;line-height:1.035;letter-spacing:-.034em;color:#103e68;text-wrap:balance;}
.home-current-record--innovation h3{color:#fff;font-size:clamp(1.72rem,2.1vw,2.28rem);}
.home-current-authors,.home-current-description{margin:.68rem 0 0;color:#68798a;font-size:.78rem;line-height:1.54;}
.home-current-description{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.home-current-record--innovation .home-current-description{color:rgba(244,249,250,.72);}
.home-current-meta{display:flex;flex-wrap:wrap;gap:.4rem .7rem;margin-top:.85rem;font:400 .59rem/1.5 var(--ff-mono);color:#7d8b98;}
.home-current-record--innovation .home-current-meta{color:rgba(226,240,242,.58);}
.home-current-action{display:inline-flex;align-items:center;gap:.45rem;width:max-content;margin-top:auto;padding-top:.95rem;color:#075f67;font-size:.75rem;font-weight:600;}
.home-current-record--innovation .home-current-action{color:#a4e6e4;}
.home-current-loading{display:grid;grid-template-columns:1.08fr .92fr;gap:1.75rem;min-height:250px;}
.home-current-loading .api-skeleton{min-height:250px;border-radius:0;}

/* INSTITUTIONAL ENVIRONMENT */
.home-network{background:#fbfaf7;border-top:1px solid rgba(12,56,104,.06);}
.home-network-grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(430px,1.28fr);gap:clamp(2.75rem,5.2vw,5.3rem);align-items:start;}
.home-network-copy{max-width:45rem;}
.home-network-copy>p{margin:1rem 0 0;color:#5f7184;font-size:.87rem;line-height:1.66;}

.home-institution-list{border-top:1px solid rgba(12,56,104,.16);}
.home-institution-row{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr) 18px;gap:1.2rem;align-items:center;padding:1.05rem 0;border-bottom:1px solid rgba(12,56,104,.11);color:inherit;text-decoration:none;}
.home-institution-row strong{font-size:.84rem;color:#153f65;}
.home-institution-row>span{font-size:.73rem;line-height:1.45;color:#778797;}
.home-institution-row em{font-style:normal;color:#00858b;}

/* CONTACT */
.home-contact{position:relative;padding:clamp(3rem,3.7vw,3.75rem) 0;background:var(--institutional-anchor-deep);border-top:1px solid rgba(255,255,255,.08);}
.home-contact-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.68fr);gap:clamp(3rem,7vw,7rem);align-items:center;}
.home-contact-copy{max-width:48rem;}
.home-contact-title{max-width:18ch;margin:0;font-family:var(--ff-display);font-size:clamp(2.35rem,3.25vw,3.45rem);font-weight:700;line-height:.98;letter-spacing:-.042em;color:#fff;}
.home-contact-copy>p{max-width:42rem;margin:1rem 0 0;color:rgba(255,255,255,.61);font-size:.94rem;line-height:1.72;}
.home-contact-disclosure{border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.10);}
.home-contact-disclosure summary{list-style:none;cursor:pointer;padding:.92rem 0;display:flex;justify-content:space-between;align-items:center;color:#9de7e7;font-size:.86rem;font-weight:600;}
.home-contact-disclosure summary::-webkit-details-marker{display:none;}
.home-contact-disclosure summary b{font:400 1.25rem/1 var(--ff-body);}
.home-contact-close{display:none;}
.home-contact-disclosure[open] .home-contact-open{display:none;}
.home-contact-disclosure[open] .home-contact-close{display:inline-flex;align-items:center;gap:.7rem;}
.home-contact-open{display:inline-flex;align-items:center;gap:.7rem;}
.home-contact-form{padding:1.15rem 0 1.4rem;border-top:1px solid rgba(255,255,255,.09);}
.home-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem .9rem;}
.home-field{display:flex;flex-direction:column;gap:.34rem;}
.home-field--wide{grid-column:1/-1;}
.home-field>span{font-family:var(--ff-mono);font-size:.56rem;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.43);}
.home-field input,.home-field select,.home-field textarea{width:100%;min-height:42px;padding:.62rem .72rem;border:1px solid rgba(255,255,255,.13);border-radius:0;outline:none;background:rgba(255,255,255,.035);color:#fff;font:400 .82rem/1.4 var(--ff-body);transition:border-color .2s,background .2s,box-shadow .2s;}
.home-field textarea{min-height:90px;resize:vertical;}
.home-field select{appearance:none;padding-right:2.25rem;}
.home-field select option{background:#071f39;color:#fff;}
.home-field input:focus,.home-field select:focus,.home-field textarea:focus{border-color:rgba(94,219,219,.58);background:rgba(255,255,255,.055);box-shadow:0 0 0 3px rgba(0,179,179,.1);}
.home-submit{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.62rem 1rem;border:1px solid rgba(111,221,221,.55);background:transparent;color:#9ce7e7;font:600 .8rem/1 var(--ff-body);cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.home-submit:hover{background:rgba(0,179,179,.11);border-color:#75dddd;color:#fff;}
.home-contact .form-success{display:none;margin-top:.8rem;padding:.7rem .8rem;border:1px solid rgba(104,211,167,.3);background:rgba(104,211,167,.08);color:#a8e9c9;font-size:.76rem;}
.home-contact .form-success.show{display:block;}
.home-contact .form-error-msg{margin:0 0 .7rem;color:#f0a7a7;font-size:.75rem;}

/* L3 interaction/accessibility calibration */
.home-line-row:focus-visible,.home-current-record:focus-visible,.home-institution-row:focus-visible,.home-programme-links a:focus-visible,.home-hero-links a:focus-visible,.home-text-link:focus-visible,.home-contact-disclosure summary:focus-visible,.home-submit:focus-visible{outline:2px solid #28aeb5;outline-offset:4px;}
.home-contact-disclosure summary:focus-visible{outline-offset:6px;}
.home-current-record,.home-institution-row,.home-line-row{scroll-margin-top:110px;}

/* utilities */
body[data-page="home"] .api-error{padding:1.2rem 0;text-align:left;color:#718092;font-size:.8rem;}
body[data-page="home"] .cookie-banner{padding:.7rem clamp(1rem,3vw,2.2rem);}
body[data-page="home"] .cookie-banner__copy{font-size:.74rem;}
body[data-page="home"] .cookie-banner__button{padding:.38rem .9rem;font-size:.7rem;}


@media(min-width:1600px){
  .home-hero-content{padding-left:.15rem;}
  .home-programme-panel{grid-template-columns:minmax(340px,.7fr) minmax(0,1.3fr);}
  .home-current-grid{grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);}
}
@media(max-width:1100px){
  .home-affiliation-card{margin-right:0;}
  .home-programme-panel{grid-template-columns:1fr;gap:2.2rem;}
  .home-programme-intro{max-width:52rem;}
  .home-current-grid{grid-template-columns:1fr;gap:2rem;}
  .home-current-record--publication:not(.home-current-record--text-only){grid-template-columns:minmax(170px,.34fr) minmax(0,.66fr);}
  .home-network-grid,.home-contact-shell{gap:3.5rem;}
}
@media(max-width:900px){
  .home-affiliation-card{width:min(100%,500px);margin-top:-.8rem;margin-right:0;}
  body[data-page="home"] .wrap{width:min(100% - 2rem,1480px);}
  .home-section{padding:3.75rem 0;}
  .home-hero{height:auto;min-height:440px;align-items:end;}
  .home-hero-content{padding-top:4rem;padding-bottom:6.2rem;}
  .home-hero-title{font-size:clamp(3.4rem,8vw,5.2rem);max-width:11.7ch;}
  .home-hero-media img{object-position:73% 50%;}
  .home-programme{margin-top:-3.45rem;}
  .home-programme-panel{border-radius:14px 14px 0 0;}
  .home-network-grid,.home-contact-shell{grid-template-columns:1fr;gap:2.5rem;}
  .home-network-copy,.home-contact-copy{max-width:48rem;}
  .home-institution-list,.home-contact-disclosure{max-width:820px;}
}
@media(max-width:640px){
  .home-affiliation-dock{display:block;}
  .home-affiliation-card{width:100%;margin:-.55rem 0 0;padding:1.1rem 1.1rem 1.05rem;border-radius:7px;box-shadow:0 12px 30px rgba(6,35,61,.055);}
  body[data-page="home"] .wrap{width:min(100% - 1.25rem,1480px);}
  .home-section{padding:3.1rem 0;}
  .home-hero{min-height:405px;}
  .home-hero-content{padding-top:3.5rem;padding-bottom:5.35rem;}
  .home-hero-title{font-size:clamp(3rem,13vw,4.3rem);max-width:10.5ch;}
  .home-hero-lead{font-size:.9rem;line-height:1.62;}
  .home-hero-shade{background:linear-gradient(90deg,rgba(4,25,45,.98),rgba(5,30,54,.92) 68%,rgba(7,43,74,.55)),linear-gradient(180deg,rgba(2,20,38,.05),rgba(2,20,38,.38));}
  .home-programme{margin-top:-2.2rem;padding-bottom:3.3rem;}
  .home-programme-panel{padding:1.35rem .95rem 1.55rem;border-radius:12px 12px 0 0;box-shadow:0 12px 28px rgba(6,35,61,.055);}
  .home-programme-lines{grid-template-columns:1fr;}
  .home-line-row:nth-child(odd),.home-line-row:nth-child(even){padding-left:0;padding-right:0;border-right:0;}
  .home-section-header,.home-section-header--current{grid-template-columns:1fr;gap:1rem;}
  .home-text-link{justify-self:start;}
  .home-current-record--publication:not(.home-current-record--text-only){grid-template-columns:1fr;}
  .home-current-record__media{min-height:205px;}
  .home-current-record--text-only{min-height:0;}
  .home-current-record--text-only .home-current-record__body{padding:1.2rem 0 1.35rem;}
  .home-current-record__body{padding:1.25rem 0 1.35rem;}
  .home-current-record--innovation{padding:1.4rem 1.15rem;}
  .home-current-loading{grid-template-columns:1fr;}
  .home-current-loading .api-skeleton{min-height:110px;}
  .home-institution-row{grid-template-columns:1fr 18px;gap:.35rem 1rem;}
  .home-institution-row>span{grid-column:1;}
  .home-institution-row em{grid-column:2;grid-row:1/3;align-self:center;}
  .home-contact-title{font-size:clamp(2.45rem,11vw,3.6rem);}
  .home-form-grid{grid-template-columns:1fr;}
  .home-field--wide{grid-column:auto;}
}
@media(prefers-reduced-motion:reduce){.home-hero-media img{transform:none;}}
@media print{
  .home-hero{height:auto;min-height:0;background:#fff!important;color:#000;padding:2rem 0;}
  .home-hero-media,.home-hero-shade,.home-contact-disclosure{display:none!important;}
  .home-hero-title,.home-contact-title,.home-section-title,.home-programme-intro h2{color:#000!important;}
  .home-hero-lead,.home-contact-copy>p{color:#333!important;}
  .home-programme{margin:0;}.home-programme-panel{box-shadow:none;border:1px solid #ddd;}
  .home-section,.home-contact{padding:2rem 0;background:#fff!important;}
}


/* ============================================================
   FLOATING EDITORIAL — PHASE 3 / HOME
   Open Editorial Threshold
   Preserve the institutional hero while reducing the programme panel's
   card-like closure and letting the research-line index read as structure.
   ============================================================ */
body[data-page="home"]{
  --home-threshold-pad:clamp(1.65rem,2.8vw,2.75rem);
}

body[data-page="home"] .home-programme-panel{
  position:relative;
  grid-template-columns:minmax(320px,.68fr) minmax(0,1.32fr);
  gap:clamp(2.5rem,4.2vw,4.65rem);
  padding:var(--home-threshold-pad) clamp(1.55rem,2.9vw,3rem);
  background:#fbfaf7;
  border:1px solid rgba(12,56,104,.11);
  border-bottom-color:rgba(12,56,104,.028);
  border-radius:3px 3px 0 0;
  box-shadow:0 12px 30px rgba(6,35,61,.048),0 2px 7px rgba(6,35,61,.022);
}

body[data-page="home"] .home-programme-panel::after{
  content:"";
  position:absolute;
  left:clamp(1.55rem,2.9vw,3rem);
  bottom:-1px;
  width:clamp(82px,10%,138px);
  height:1px;
  background:#8daab5;
}

body[data-page="home"] .home-programme-intro{
  position:relative;
  max-width:38rem;
  padding-right:clamp(.4rem,1.2vw,1rem);
}

body[data-page="home"] .home-programme-intro::after{
  content:"";
  position:absolute;
  top:.1rem;
  right:calc(-1 * clamp(1.25rem,2vw,2rem));
  width:1px;
  height:min(78%,10.5rem);
  background:#c2d1d7;
}

body[data-page="home"] .home-programme-lines{
  align-self:start;
  border-top-color:rgba(12,56,104,.2);
}

body[data-page="home"] .home-line-row{
  padding-top:.92rem;
  padding-bottom:.92rem;
}

body[data-page="home"] .home-line-row:nth-child(odd){
  border-right-color:rgba(12,56,104,.075);
}

body[data-page="home"] .home-line-title{
  max-width:34ch;
}

@media(min-width:1600px){
  body[data-page="home"] .home-programme-panel{
    grid-template-columns:minmax(350px,.66fr) minmax(0,1.34fr);
    gap:4.8rem;
  }
}

@media(max-width:1100px){
  body[data-page="home"] .home-programme-panel{
    grid-template-columns:1fr;
    gap:1.8rem;
  }
  body[data-page="home"] .home-programme-intro{
    max-width:52rem;
    padding-right:0;
  }
  body[data-page="home"] .home-programme-intro::after{
    display:none;
  }
  body[data-page="home"] .home-programme-lines{
    margin-top:.1rem;
  }
}

@media(max-width:900px){
  body[data-page="home"]{
    --home-threshold-pad:1.45rem;
  }
  body[data-page="home"] .home-programme-panel{
    border-radius:3px 3px 0 0;
    box-shadow:0 9px 22px rgba(6,35,61,.045);
  }
}

@media(max-width:640px){
  body[data-page="home"]{
    --home-threshold-pad:1rem;
  }
  body[data-page="home"] .home-programme{
    margin-top:-1.8rem;
  }
  body[data-page="home"] .home-programme-panel{
    gap:1.35rem;
    padding:1.2rem var(--home-threshold-pad) 1.3rem;
    border-radius:2px 2px 0 0;
    box-shadow:0 7px 18px rgba(6,35,61,.038);
  }
  body[data-page="home"] .home-programme-panel::after{
    left:var(--home-threshold-pad);
    width:58px;
  }
  body[data-page="home"] .home-programme-lines{
    grid-template-columns:1fr;
  }
  body[data-page="home"] .home-line-row{
    padding:.9rem 0;
  }
}

@media(max-width:390px){
  body[data-page="home"] .home-programme{
    margin-top:-1.5rem;
  }
}


/* ============================================================
   H2 REFINEMENT D/E — HOME CT MEDIA RESTORATION
   Clinical CT workstation image, integrated by crop and tonal transition only.
   ============================================================ */
.home-hero{
  min-height:clamp(520px,58svh,650px);
  overflow:hidden;
}
.home-hero-media{
  inset:0 0 0 auto;
  width:min(58vw,1040px);
  z-index:-3;
  background:#082b4d;
}
.home-hero-media img{
  object-fit:cover;
  object-position:54% 50%;
  transform:none;
  filter:none;
}
.home-hero-shade{
  z-index:-2;
  background:
    linear-gradient(90deg,#062746 0%,#062746 34%,rgba(6,39,70,.94) 45%,rgba(6,39,70,.64) 57%,rgba(6,39,70,.16) 76%,rgba(6,39,70,.03) 100%),
    linear-gradient(180deg,rgba(3,25,46,.05),rgba(3,25,46,.22));
}
.home-hero-content{position:relative;z-index:1}
@media(min-width:1680px){
  .home-hero-media{width:min(56vw,1160px)}
  .home-hero-media img{object-position:52% 50%}
}
@media(max-width:880px){
  .home-hero{min-height:560px}
  .home-hero-media{inset:0;width:100%;opacity:.82}
  .home-hero-media img{object-position:57% 50%}
  .home-hero-shade{
    background:
      linear-gradient(90deg,rgba(4,27,49,.97) 0%,rgba(4,27,49,.91) 54%,rgba(4,27,49,.56) 100%),
      linear-gradient(180deg,rgba(3,22,40,.08),rgba(3,22,40,.44));
  }
}
@media(max-width:560px){
  .home-hero{min-height:540px}
  .home-hero-media img{object-position:62% 50%}
  .home-hero-shade{
    background:
      linear-gradient(90deg,rgba(4,27,49,.985) 0%,rgba(4,27,49,.94) 64%,rgba(4,27,49,.66) 100%),
      linear-gradient(180deg,rgba(3,22,40,.08),rgba(3,22,40,.46));
  }
}


/* H2 A–E correction: keep Home media inside the isolated hero stacking context. */
.home-hero-media{z-index:0!important}
.home-hero-shade{z-index:1!important}
.home-hero-content{position:relative;z-index:2!important}


/* H2 A–E visibility contract: Home clinical media is always a painted layer on screen. */
@media screen{
  .home-hero .home-hero-media{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
  }
  .home-hero .home-hero-media img{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:100%!important;
  }
  .home-hero .home-hero-shade{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* ============================================================
   HOME HERO — FINAL CLINICAL IMAGE TREATMENT
   Dedicated Home-only media. Preserve the established landing structure;
   only the image field, translucency and local scientific registration
   details are refined here.
   ============================================================ */
body[data-page="home"] .home-hero{
  min-height:clamp(520px,58svh,650px);
  overflow:hidden;
  background:#062746;
}

body[data-page="home"] .home-hero-media{
  inset:0 0 0 auto;
  width:min(80vw,1540px);
  z-index:0!important;
  overflow:hidden;
  background:#eaf2f5;
}

body[data-page="home"] .home-hero-media img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  object-position:50% 48%;
  transform:none!important;
  filter:none!important;
}

body[data-page="home"] .home-hero-shade{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:1!important;
  background:
    linear-gradient(
      90deg,
      rgba(4,28,51,.96) 0%,
      rgba(4,28,51,.90) 22%,
      rgba(4,30,54,.76) 34%,
      rgba(5,34,60,.54) 46%,
      rgba(6,39,68,.27) 60%,
      rgba(7,43,74,.08) 76%,
      rgba(7,43,74,.012) 90%,
      rgba(7,43,74,0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3,23,42,.02) 0%,
      rgba(3,23,42,.03) 55%,
      rgba(3,23,42,.12) 100%
    );
}

body[data-page="home"] .home-hero-shade::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.56;
  background:
    radial-gradient(
      circle at 13% 55%,
      transparent 0 9.6rem,
      rgba(107,207,216,.18) 9.65rem 9.72rem,
      transparent 9.78rem 15.3rem,
      rgba(107,207,216,.075) 15.35rem 15.41rem,
      transparent 15.47rem
    );
}

body[data-page="home"] .home-hero-shade::after{
  content:"";
  position:absolute;
  left:clamp(1.6rem,4vw,4.5rem);
  bottom:clamp(3.8rem,7vw,6.5rem);
  width:116px;
  height:68px;
  pointer-events:none;
  opacity:.20;
  background-image:radial-gradient(circle,rgba(126,220,226,.9) 1px,transparent 1.2px);
  background-size:13px 13px;
  -webkit-mask-image:linear-gradient(90deg,#000,transparent);
  mask-image:linear-gradient(90deg,#000,transparent);
}

body[data-page="home"] .home-hero-content{
  position:relative;
  z-index:2!important;
}

@media(min-width:1680px){
  body[data-page="home"] .home-hero-media{
    width:min(77vw,1600px);
  }
  body[data-page="home"] .home-hero-media img{
    object-position:50% 47%;
  }
}

@media(max-width:880px){
  body[data-page="home"] .home-hero{
    min-height:560px;
  }

  body[data-page="home"] .home-hero-media{
    inset:0;
    width:100%;
  }

  body[data-page="home"] .home-hero-media img{
    object-position:66% 48%;
  }

  body[data-page="home"] .home-hero-shade{
    background:
      linear-gradient(
        90deg,
        rgba(4,28,51,.90) 0%,
        rgba(4,29,52,.82) 46%,
        rgba(5,34,60,.56) 72%,
        rgba(6,40,69,.24) 100%
      ),
      linear-gradient(180deg,rgba(3,22,40,.035),rgba(3,22,40,.19));
  }

  body[data-page="home"] .home-hero-shade::before{
    opacity:.36;
    background:
      radial-gradient(
        circle at 18% 56%,
        transparent 0 7rem,
        rgba(107,207,216,.15) 7.05rem 7.1rem,
        transparent 7.15rem 11rem,
        rgba(107,207,216,.065) 11.05rem 11.1rem,
        transparent 11.15rem
      );
  }
}

@media(max-width:560px){
  body[data-page="home"] .home-hero{
    min-height:540px;
  }

  body[data-page="home"] .home-hero-media img{
    object-position:70% 48%;
  }

  body[data-page="home"] .home-hero-shade{
    background:
      linear-gradient(
        90deg,
        rgba(4,27,49,.92) 0%,
        rgba(4,28,51,.84) 58%,
        rgba(5,34,60,.50) 100%
      ),
      linear-gradient(180deg,rgba(3,22,40,.05),rgba(3,22,40,.22));
  }

  body[data-page="home"] .home-hero-shade::after{
    width:86px;
    height:52px;
    left:1rem;
    bottom:3rem;
    opacity:.16;
  }
}

@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .home-hero-media img{
    transform:none!important;
  }
}


/* ============================================================
   FINAL RESPONSIVE CERTIFICATION — HOME RESEARCH-LINE DISCLOSURE
   Institutional research-line titles remain untouched.
   Desktop/laptop preserve the established 2×3 matrix; narrow phones
   use one compact reveal to avoid a long stacked text block.
   ============================================================ */
body[data-page="home"] .home-lines-disclosure{
  display:none;
}

@media(max-width:640px){
  body[data-page="home"] .home-lines-disclosure{
    width:100%;
    min-height:52px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto 20px;
    align-items:center;
    gap:.75rem;
    margin:.05rem 0 0;
    padding:.88rem 0;
    border:0;
    border-top:1px solid rgba(12,56,104,.20);
    border-bottom:1px solid rgba(12,56,104,.12);
    border-radius:0;
    background:transparent;
    color:#143e64;
    text-align:left;
    cursor:pointer;
    font:inherit;
  }

  body[data-page="home"] .home-lines-disclosure__label{
    min-width:0;
    font-size:.84rem;
    line-height:1.3;
    font-weight:650;
  }

  body[data-page="home"] .home-lines-disclosure__count{
    font:500 .62rem/1 var(--ff-mono);
    letter-spacing:.10em;
    color:#6f8291;
  }

  body[data-page="home"] .home-lines-disclosure__icon{
    position:relative;
    width:18px;
    height:18px;
  }

  body[data-page="home"] .home-lines-disclosure__icon::before,
  body[data-page="home"] .home-lines-disclosure__icon::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:12px;
    height:1px;
    background:#087981;
    transform:translate(-50%,-50%);
    transition:transform .2s ease,opacity .2s ease;
  }

  body[data-page="home"] .home-lines-disclosure__icon::after{
    transform:translate(-50%,-50%) rotate(90deg);
  }

  body[data-page="home"] .home-lines-disclosure[aria-expanded="true"] .home-lines-disclosure__icon::after{
    transform:translate(-50%,-50%) rotate(0deg);
    opacity:0;
  }

  body[data-page="home"] .home-programme-lines.is-mobile-collapsed{
    display:none;
  }

  body[data-page="home"] .home-programme-lines:not(.is-mobile-collapsed){
    margin-top:0;
    border-top:0;
  }

  body[data-page="home"] .home-programme-lines:not(.is-mobile-collapsed) .home-line-row{
    min-height:50px;
    display:flex;
    align-items:center;
    padding:.82rem 0;
  }

  body[data-page="home"] .home-programme-lines:not(.is-mobile-collapsed) .home-line-title{
    max-width:none;
    font-size:.86rem;
    line-height:1.36;
    text-wrap:pretty;
  }

  body[data-page="home"] .home-lines-disclosure:focus-visible{
    outline:2px solid rgba(8,121,129,.42);
    outline-offset:4px;
  }
}

@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .home-lines-disclosure__icon::before,
  body[data-page="home"] .home-lines-disclosure__icon::after{
    transition:none;
  }
}


/* ============================================================
   HOME SIGNATURE — SCIENTIFIC GLASS / EDITORIAL FOLIO
   Final Home-only visual layer. Medical imagery remains documentary;
   optical depth belongs to interface surfaces, not the photograph.
   ============================================================ */
body[data-page="home"] .home-hero{
  min-height:clamp(610px,70svh,760px);
  margin-top:-103px;
  isolation:isolate;
  background:#082a49;
}

body[data-page="home"] .home-hero-media{
  inset:0!important;
  width:100%!important;
  background:#dfe9ed;
}

body[data-page="home"] .home-hero-media img{
  object-position:59% 48%!important;
}

body[data-page="home"] .home-hero-shade{
  background:
    linear-gradient(
      90deg,
      rgba(3,25,46,.74) 0%,
      rgba(4,29,52,.58) 26%,
      rgba(5,33,58,.35) 43%,
      rgba(6,39,67,.14) 61%,
      rgba(7,43,74,.025) 78%,
      rgba(7,43,74,0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2,18,34,.20) 0%,
      rgba(2,18,34,.04) 38%,
      rgba(2,18,34,.13) 100%
    )!important;
}

body[data-page="home"] .home-hero-shade::before{
  opacity:.30;
}

body[data-page="home"] .home-hero-shade::after{
  opacity:.12;
}

body[data-page="home"] .home-hero-content{
  position:relative;
  z-index:2!important;
  padding-top:clamp(9rem,10vw,10.8rem);
  padding-bottom:clamp(7.2rem,8vw,8.8rem);
}

body[data-page="home"] .home-hero-pane{
  position:relative;
  width:min(760px,57vw);
  padding:clamp(1.7rem,2.5vw,2.55rem) clamp(1.55rem,2.7vw,2.75rem);
  overflow:hidden;
  border:1px solid rgba(229,246,246,.055);
  border-top-color:rgba(239,252,252,.20);
  border-left-color:rgba(239,252,252,.15);
  border-right-color:rgba(229,246,246,.035);
  border-bottom-color:rgba(229,246,246,.04);
  border-radius:10px;
  background:
    linear-gradient(135deg,rgba(18,48,68,.45),rgba(35,64,79,.26) 58%,rgba(72,91,98,.14));
  box-shadow:
    0 30px 88px rgba(0,18,34,.10),
    0 8px 28px rgba(0,18,34,.045),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px) saturate(108%);
  -webkit-backdrop-filter:blur(16px) saturate(108%);
}

body[data-page="home"] .home-hero-pane::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(108deg,rgba(255,255,255,.055),transparent 31%),
    linear-gradient(90deg,transparent 52%,rgba(236,246,246,.035) 100%),
    radial-gradient(circle at 15% 16%,rgba(164,222,223,.045),transparent 34%);
}

body[data-page="home"] .home-hero-pane>*{
  position:relative;
  z-index:1;
}

body[data-page="home"] .home-hero-title{
  max-width:12.2ch;
  font-size:clamp(3.15rem,4.35vw,4.95rem);
  line-height:.94;
  letter-spacing:-.046em;
  text-shadow:0 8px 34px rgba(0,16,30,.16);
}

body[data-page="home"] .home-hero-lead{
  max-width:41rem;
  color:rgba(245,251,252,.84);
  font-size:clamp(.94rem,1vw,1.05rem);
  line-height:1.68;
}

body[data-page="home"] .home-hero-links a{
  color:rgba(255,255,255,.94);
  padding-bottom:.36rem;
  border-bottom-color:rgba(183,231,233,.34);
}

body[data-page="home"] .home-programme{
  margin-top:clamp(-4.7rem,-5vw,-3.8rem);
}

body[data-page="home"] .home-programme-panel{
  background:
    linear-gradient(180deg,rgba(253,252,249,.93),rgba(251,250,247,.985) 42%);
  border-color:rgba(255,255,255,.68);
  border-bottom-color:rgba(12,56,104,.045);
  border-radius:6px 6px 0 0;
  box-shadow:
    0 26px 64px rgba(4,28,49,.10),
    0 3px 12px rgba(4,28,49,.035),
    inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter:blur(20px) saturate(108%);
  -webkit-backdrop-filter:blur(20px) saturate(108%);
}

body[data-page="home"] .home-programme-panel::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(88,182,189,.32) 18%,rgba(255,255,255,.82) 52%,rgba(88,182,189,.18) 82%,transparent);
  pointer-events:none;
}

@media(min-width:1680px){
  body[data-page="home"] .home-hero{
    margin-top:-106px;
  }
}

@media(min-width:1800px){
  body[data-page="home"] .home-hero{
    min-height:min(760px,72svh);
  }
  body[data-page="home"] .home-hero-content{
    width:min(100% - 6rem,1720px);
    padding-top:10.2rem;
  }
  body[data-page="home"] .home-hero-pane{
    width:min(800px,49vw);
  }
  body[data-page="home"] .home-hero-title{
    font-size:clamp(4rem,4vw,5.35rem);
  }
  body[data-page="home"] .home-programme-panel{
    max-width:1680px;
  }
}

@media (min-width:900px) and (max-height:760px){
  body[data-page="home"] .home-hero{
    min-height:560px;
  }
  body[data-page="home"] .home-hero-content{
    padding-top:7.7rem;
    padding-bottom:6.2rem;
  }
  body[data-page="home"] .home-hero-pane{
    padding:1.45rem 1.8rem 1.55rem;
    width:min(720px,56vw);
  }
  body[data-page="home"] .home-hero-title{
    font-size:clamp(2.85rem,4.05vw,4.25rem);
  }
  body[data-page="home"] .home-hero-lead{
    margin-top:.8rem;
    line-height:1.55;
  }
  body[data-page="home"] .home-hero-links{
    margin-top:.85rem;
  }
}

@media(max-width:880px){
  body[data-page="home"] .home-hero{
    min-height:680px;
    margin-top:-84px;
    align-items:end;
  }
  body[data-page="home"] .home-hero-media img{
    object-position:73% 44%!important;
  }
  body[data-page="home"] .home-hero-shade{
    background:
      linear-gradient(180deg,rgba(2,20,37,.07) 0%,rgba(2,20,37,.04) 34%,rgba(3,24,43,.24) 100%),
      linear-gradient(90deg,rgba(4,27,49,.28) 0%,rgba(5,34,60,.12) 40%,rgba(5,34,60,.025) 66%,transparent 84%)!important;
  }
  body[data-page="home"] .home-hero-content{
    padding-top:7.4rem;
    padding-bottom:5.4rem;
  }
  body[data-page="home"] .home-hero-pane{
    width:min(82%,620px);
    margin-left:.2rem;
    padding:1.05rem .85rem 1.15rem .2rem;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  body[data-page="home"] .home-hero-pane::before{
    inset:-1.2rem -5.4rem -1.1rem -1rem;
    background:
      linear-gradient(90deg,
        rgba(7,34,55,.72) 0%,
        rgba(10,42,62,.56) 38%,
        rgba(13,50,68,.28) 66%,
        rgba(13,50,68,.06) 84%,
        transparent 100%);
    filter:blur(12px);
    opacity:.86;
  }
  body[data-page="home"] .home-hero-title{
    max-width:9.8ch;
    font-size:clamp(2.85rem,8.7vw,4.05rem);
    line-height:.93;
    letter-spacing:-.05em;
    text-wrap:balance;
  }
  body[data-page="home"] .home-hero-lead{
    max-width:34rem;
  }
  body[data-page="home"] .home-programme{
    margin-top:-3rem;
  }
}

@media(max-width:640px){
  body[data-page="home"] .home-hero{
    min-height:650px;
  }
  body[data-page="home"] .home-hero-media img{
    object-position:76% 42%!important;
  }
  body[data-page="home"] .home-hero-content{
    width:calc(100% - 1.4rem);
    padding-top:6.7rem;
    padding-bottom:4.4rem;
  }
  body[data-page="home"] .home-hero-pane{
    width:88%;
    margin-left:.05rem;
    padding:.92rem .5rem 1rem 0;
  }
  body[data-page="home"] .home-hero-pane::before{
    inset:-.9rem -4.4rem -.8rem -.7rem;
    filter:blur(10px);
    opacity:.8;
  }
  body[data-page="home"] .home-hero-title{
    max-width:9.6ch;
    font-size:clamp(2.28rem,9.9vw,3.02rem);
    line-height:.94;
    letter-spacing:-.047em;
  }
  body[data-page="home"] .home-hero-lead{
    max-width:28rem;
    margin-top:.82rem;
    font-size:.86rem;
    line-height:1.56;
  }
  body[data-page="home"] .home-hero-links{
    margin-top:.9rem;
  }
  body[data-page="home"] .home-programme{
    margin-top:-2.15rem;
  }
  body[data-page="home"] .home-programme-panel{
    border-radius:4px 4px 0 0;
    background:linear-gradient(180deg,rgba(253,252,249,.96),rgba(251,250,247,.995) 38%);
    box-shadow:0 16px 38px rgba(4,28,49,.075),inset 0 1px 0 rgba(255,255,255,.96);
  }
}

@media(max-width:390px){
  body[data-page="home"] .home-hero{
    min-height:625px;
  }
  body[data-page="home"] .home-hero-media img{
    object-position:79% 41%!important;
  }
  body[data-page="home"] .home-hero-content{
    padding-top:6.3rem;
    padding-bottom:4.1rem;
  }
  body[data-page="home"] .home-hero-pane{
    width:91%;
  }
  body[data-page="home"] .home-hero-title{
    max-width:9.3ch;
    font-size:clamp(2.14rem,10vw,2.66rem);
  }
}

@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .home-hero-pane,
  body[data-page="home"] .home-programme-panel{
    scroll-behavior:auto;
  }
}

@media print{
  body[data-page="home"] .home-hero{margin-top:0}
  body[data-page="home"] .home-hero-pane{
    width:auto;
    padding:0;
    background:none;
    border:0;
    box-shadow:none;
    backdrop-filter:none;
  }
}


/* ============================================================
   FINAL WORKSTATION QA — Home
   Hospital-desktop only. Preserve laptop/mobile compositions.
   ============================================================ */
@media(min-width:1680px){
  body[data-page="home"] .home-hero{
    /* Clear the full scientific masthead instead of shaving the first hero glyph. */
    margin-top:-98px;
  }
  body[data-page="home"] .home-affiliation-dock{
    width:min(100% - 6rem,1600px);
    max-width:1600px;
    margin-inline:auto;
  }
  body[data-page="home"] .home-affiliation-card{
    width:min(100%,410px);
    margin-top:-.75rem;
    margin-right:0;
  }
}
