@import url("./design-system.css");
/* RCMU unified visual identity — Navy / Maroon / Light Blue
   Applied site-wide. Homepage hero artwork, slideshow, layout and typography are intentionally untouched. */
:root{
  --rcmu-navy:#07152f;
  --rcmu-navy-deep:#030b1c;
  --rcmu-navy-panel:#0c2142;
  --rcmu-maroon:#84243f;
  --rcmu-maroon-bright:#a83250;
  --rcmu-light-blue:#a9d3ff;
  --rcmu-ice:#e6f2ff;
  --rcmu-line:rgba(169,211,255,.2);
  --rcmu-muted:#b1c4df;
}
::selection{background:var(--rcmu-maroon);color:#fff}
/* Shared navigation and footer */
.site-nav{border-color:rgba(169,211,255,.24);background:rgba(5,17,39,.93);box-shadow:0 16px 48px rgba(0,0,0,.32)}
.nav-links a{color:#d2e2f5}
.nav-links a:after{background:var(--rcmu-maroon-bright)}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-brand small{color:var(--rcmu-light-blue)}
.nav-join{border-color:rgba(222,157,178,.42);background:linear-gradient(135deg,#a83250,#701c36);box-shadow:0 8px 24px rgba(132,36,63,.3)}
.nav-join:hover{box-shadow:0 12px 30px rgba(132,36,63,.42)}
.nav-toggle span{background:#e7f2ff}
.nav-links.open{border-color:var(--rcmu-line);background:rgba(4,15,35,.99)}
.site-footer{background:#020817;border-top-color:rgba(169,211,255,.2);color:#a9bdd8}
.site-footer strong{color:#f5f8ff}
.footer-brand small{color:#9dbce0}
/* Shared page surfaces and headings — excludes .hero */
.section,.content-placeholder{background:linear-gradient(145deg,#081a38,#050f24 78%)}
.section:before{background:rgba(132,36,63,.13)}
.section-eyebrow{color:var(--rcmu-light-blue)}
.section h2,.content-placeholder h2{color:#f5f8ff}
.content-placeholder a{color:var(--rcmu-light-blue)!important}
.page-hero{background:radial-gradient(ellipse at 82% 20%,rgba(132,36,63,.2),transparent 42%),linear-gradient(120deg,#030b1c,#0a1d3c 72%,#06142a)}
.page-hero:after{border-color:rgba(169,211,255,.2);box-shadow:0 0 0 28px rgba(169,211,255,.045),0 0 0 58px rgba(169,211,255,.025)}
.page-hero h1{color:#f7faff}
.page-hero p{color:#c0d1e8}
/* Shared card language */
.feature-card,.member-entry,.member-card,.about-intro,.admin-panel{
  border-color:var(--rcmu-line);
  background:linear-gradient(145deg,rgba(12,34,67,.96),rgba(4,15,34,.98));
  box-shadow:0 18px 48px rgba(0,0,0,.24)
}
.feature-card:hover,.member-entry:hover,.member-card:hover{
  border-color:rgba(169,211,255,.58);
  box-shadow:0 23px 52px rgba(0,0,0,.34)
}
.feature-icon,.main-card-icon,.members-eyebrow,.committee-eyebrow,.members-toolbar{
  border-color:rgba(169,211,255,.25);
  background:rgba(169,211,255,.09);
  color:var(--rcmu-light-blue)
}
.feature-card a,.section-eyebrow,.members-count,.grade-group-heading small,.members-footnote{color:var(--rcmu-light-blue)}
.feature-card h3,.member-details h2,.member-info h2{color:#f7faff}
.feature-card p,.member-meta,.members-heading p{color:#b6c8df}
/* About, members, committee and error pages */
.about-main,.members-page,.committee-page{
  background:radial-gradient(ellipse at 85% 5%,rgba(132,36,63,.17),transparent 38%),linear-gradient(160deg,#081a38 0%,#030b1c 100%)
}
.about-intro{background:linear-gradient(145deg,#0d2346,#06142d)}
.about-logo-wrap{border-color:rgba(169,211,255,.2);background:radial-gradient(circle,rgba(169,211,255,.12),rgba(3,14,34,.4) 68%)}
.about-copy em{color:#b8d9ff}
.about-divider,.grade-group-heading{border-color:rgba(169,211,255,.22)}
.members-search,.admin-input{
  border-color:rgba(169,211,255,.26);
  background:#030e22;
  color:#f5f8ff
}
.members-search:focus,.admin-input:focus{
  border-color:#a9d3ff;
  box-shadow:0 0 0 3px rgba(169,211,255,.14)
}
.member-image,.member-image-fallback,.member-photo{background:#0b2143}
.member-role{border-color:rgba(169,211,255,.28);background:rgba(169,211,255,.1);color:#c9e4ff}
.members-state{border-color:rgba(169,211,255,.3);background:rgba(8,28,57,.65)}
.error-page{background:radial-gradient(ellipse at 80% 15%,rgba(132,36,63,.18),transparent 40%),linear-gradient(120deg,#030b1c,#091d3b 65%,#06142a)}
.error-index,.error-kicker{color:#b8d9ff}
.error-index:before{background:var(--rcmu-maroon-bright)}
.error-number span,.error-copy h1 em{color:#b8d9ff}
.error-home{background:linear-gradient(135deg,#a83250,#701c36);box-shadow:0 10px 26px rgba(132,36,63,.28)}
.error-home:hover{background:#b43b5a}
.error-back{border-color:rgba(169,211,255,.35);background:rgba(9,31,62,.48)}
.error-back:hover{border-color:#a9d3ff;background:rgba(20,55,97,.65)}
/* Admin: restrained maroon actions, light-blue focus and navy surfaces */
.admin-page{background:radial-gradient(ellipse at 82% 0%,rgba(132,36,63,.18),transparent 40%),linear-gradient(145deg,#030b1c,#081a38 60%,#030b1c);color:#f5f8ff}
.admin-eyebrow,.main-card-kicker{color:#b8d9ff}
.admin-user{color:#c5d5e9}
.admin-logout,.admin-secondary,.confirm-cancel{
  border-color:rgba(169,211,255,.28);
  background:rgba(10,31,61,.72);
  color:#e4efff
}
.admin-logout:hover,.admin-secondary:hover,.confirm-cancel:hover{border-color:#a9d3ff;background:rgba(27,60,99,.78)}
.admin-panel{background:linear-gradient(145deg,rgba(10,30,59,.98),rgba(3,13,30,.98))}
.login-brand{background:linear-gradient(145deg,#70213a 0%,#30172d 52%,#07172f 100%)}
.admin-input::placeholder{color:#7e9bbd}
.admin-submit,#news-save{
  background:linear-gradient(120deg,#a83250,#701c36);
  box-shadow:0 10px 24px rgba(132,36,63,.25)
}
.admin-submit:hover:not(:disabled),#news-save:not(:disabled):hover{box-shadow:0 12px 28px rgba(132,36,63,.38)}
.dashboard-main-card{
  border-color:rgba(169,211,255,.25);
  background:radial-gradient(circle at 90% 8%,rgba(169,211,255,.13),transparent 36%),linear-gradient(145deg,#10294d,#06152e)
}
.dashboard-main-card:hover{border-color:rgba(169,211,255,.62)}
.main-card-icon{border-color:rgba(169,211,255,.26);background:rgba(169,211,255,.1);color:#c3e1ff}
.main-card-action{color:#d5e9ff}
#members-section{background:rgba(1,7,20,.92)}
#members-section .members-modal-shell{
  border-color:rgba(169,211,255,.3);
  background:radial-gradient(ellipse at 92% 0%,rgba(132,36,63,.16),transparent 34%),linear-gradient(150deg,#0b2143 0%,#06152d 56%,#030b1c 100%)
}
#members-section .section-back-row{border-bottom-color:rgba(169,211,255,.2);background:linear-gradient(#0b2143 78%,rgba(11,33,67,.94))}
#members-section .form-panel,#members-section .list-panel{border-color:rgba(169,211,255,.22);background:linear-gradient(155deg,#0c2345,#041329)}
#members-section .admin-table th{background:#10294d}
#members-section .admin-table tbody tr:hover td{background:rgba(132,36,63,.16)}
.admin-table th{border-bottom-color:rgba(169,211,255,.22);color:#a9d3ff}
.admin-table td{border-bottom-color:rgba(169,211,255,.12);color:#e1ecfb}
.admin-edit{background:rgba(169,211,255,.13);color:#c5e2ff}
.admin-delete{background:rgba(132,36,63,.24);color:#ffb6c7}
.confirm-dialog{border-color:rgba(169,211,255,.25);background:linear-gradient(145deg,#10294d,#06152e)}
.confirm-delete{border-color:rgba(222,157,178,.25);background:linear-gradient(135deg,#a83250,#701c36)}
/* Brand palette for any existing controls */
input,select,textarea{accent-color:#a83250}
:focus-visible{outline-color:#b8d9ff}
@media(max-width:760px){
  .site-footer{align-items:flex-start}
}


/* Homepage What We Do — Richmond College news-inspired layout */
.rcmu-work{position:relative;isolation:isolate;padding:clamp(62px,7vw,94px) clamp(18px,5.5vw,84px);overflow:hidden;background:radial-gradient(ellipse at 88% 0%,rgba(132,36,63,.2),transparent 40%),linear-gradient(145deg,#071831 0%,#030b1c 100%);color:#f6f9ff}
.rcmu-work:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 0,transparent calc(50% - .5px),rgba(169,211,255,.035) 50%,transparent calc(50% + .5px),transparent 100%)}
.rcmu-work-inner{width:min(1260px,100%);margin:0 auto}
.rcmu-work-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px;padding-bottom:19px;border-bottom:1px solid rgba(169,211,255,.22)}
.rcmu-work-kicker{display:block;margin-bottom:9px;color:#b9d9fa;font-size:9px;font-weight:800;letter-spacing:.18em}
.rcmu-work-heading h2{margin:0;color:#fff;font:800 clamp(31px,4vw,45px)/1.08 'HONOR Sans',sans-serif;letter-spacing:-.045em}
.rcmu-work-heading>a{display:inline-flex;align-items:center;gap:11px;padding:0 0 8px;border-bottom:2px solid #84243f;color:#e5f1ff;font-size:9px;font-weight:800;letter-spacing:.13em;white-space:nowrap;transition:gap .2s,color .2s}
.rcmu-work-heading>a:hover{gap:17px;color:#b9d9fa}
.rcmu-work-heading>a span{color:#b94b68;font-size:15px}
.rcmu-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:stretch}
.rcmu-work-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid rgba(169,211,255,.2);border-radius:10px;background:linear-gradient(155deg,#10284a 0%,#08172f 100%);box-shadow:0 16px 42px rgba(0,0,0,.24);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.rcmu-work-card:hover{transform:translateY(-4px);border-color:rgba(169,211,255,.55);box-shadow:0 22px 50px rgba(0,0,0,.32)}
.rcmu-work-photo{display:block;position:relative;overflow:hidden;aspect-ratio:16/9;background:#07152b}
.rcmu-work-photo:after{content:"";position:absolute;inset:auto 0 0;height:34%;pointer-events:none;background:linear-gradient(transparent,rgba(3,10,24,.2))}
.rcmu-work-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .55s ease}
.rcmu-work-card:hover .rcmu-work-photo img{transform:scale(1.035)}
.rcmu-work-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:19px 20px 21px}
.rcmu-work-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px;color:#a9c2df;font-size:8px;font-weight:800;letter-spacing:.12em}
.rcmu-work-meta span{padding:5px 8px;border-radius:3px;background:rgba(132,36,63,.28);color:#f0b9c8}
.rcmu-work-meta time{color:#a9c2df}
.rcmu-work-body h3{margin:0 0 9px;color:#f7faff;font:750 clamp(17px,1.6vw,21px)/1.3 'HONOR Sans',sans-serif;letter-spacing:-.02em}
.rcmu-work-body h3 a{color:inherit;transition:color .2s}
.rcmu-work-body h3 a:hover{color:#b9d9fa}
.rcmu-work-body p{margin:0 0 18px;color:#bfd0e5;font-size:12px;line-height:1.8}
.rcmu-work-read{display:inline-flex;align-items:center;gap:9px;margin-top:auto;padding-top:3px;color:#f0c3cf;font-size:8px;font-weight:850;letter-spacing:.14em;transition:gap .2s,color .2s}
.rcmu-work-read:hover{gap:15px;color:#fff}
.rcmu-work-read span{color:#b94b68;font-size:14px}
@media(max-width:900px){.rcmu-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rcmu-work-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.rcmu-work-card:last-child .rcmu-work-photo{height:100%;min-height:220px;aspect-ratio:auto}}
@media(max-width:600px){.rcmu-work{padding:56px 16px}.rcmu-work-heading{align-items:flex-start;gap:12px}.rcmu-work-heading h2{font-size:34px}.rcmu-work-heading>a{margin-top:20px;font-size:8px}.rcmu-work-grid{grid-template-columns:1fr;gap:14px}.rcmu-work-card:last-child{display:flex;grid-column:auto}.rcmu-work-card:last-child .rcmu-work-photo{height:auto;min-height:0;aspect-ratio:16/9}.rcmu-work-body{padding:17px 18px 19px}.rcmu-work-body h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.rcmu-work-card,.rcmu-work-photo img,.rcmu-work-heading>a,.rcmu-work-read{transition:none}}


/* RCMU AI-inspired design system — shared interior pages only.
   The homepage hero is intentionally excluded from every rule below. */
:root{
  --rcmu-surface:rgba(12,31,62,.76);
  --rcmu-surface-strong:rgba(15,39,75,.94);
  --rcmu-glass-border:rgba(169,211,255,.2);
  --rcmu-glow-blue:0 0 34px rgba(91,157,255,.12);
  --rcmu-glow-red:0 0 30px rgba(132,36,63,.15);
  --rcmu-radius-sm:12px;
  --rcmu-radius-md:18px;
  --rcmu-radius-lg:26px;
}
body{background-image:radial-gradient(ellipse at 8% 18%,rgba(20,88,212,.10),transparent 32%),radial-gradient(ellipse at 92% 78%,rgba(132,36,63,.09),transparent 30%)}
:where(main, .about-main, .members-page, .committee-page, .admin-page, .error-page, .eagle-page) :where(h1,h2,h3){
  text-wrap:balance;
  letter-spacing:-.035em;
}
:where(main, .about-main, .members-page, .committee-page, .admin-page, .error-page, .eagle-page) :where(p,li){
  text-wrap:pretty;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(article,.card,.feature-card,.member-card,.committee-card,.about-card,.info-card,.stat-card,.achievement-card,.admin-card,.panel,.content-card){
  border:1px solid var(--rcmu-glass-border);
  border-radius:var(--rcmu-radius-lg);
  background:linear-gradient(145deg,rgba(17,43,79,.88),rgba(5,18,40,.88));
  box-shadow:0 18px 54px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(article,.card,.feature-card,.member-card,.committee-card,.about-card,.info-card,.stat-card,.achievement-card,.admin-card,.panel,.content-card):hover{
  border-color:rgba(169,211,255,.38);
  box-shadow:0 24px 64px rgba(0,0,0,.27),var(--rcmu-glow-blue);
}
:where(body) button:not(.hero button),
:where(body) input[type="submit"]:not(.hero input),
:where(body) .btn:not(.hero .btn),
:where(body) a.button:not(.hero a),
:where(body) a[class*="btn"]:not(.hero a){
  border:1px solid rgba(169,211,255,.32);
  border-radius:999px;
  background:linear-gradient(115deg,#8f2948 0%,#74213b 48%,#174b91 100%);
  color:#fff;
  font-weight:750;
  letter-spacing:.015em;
  box-shadow:0 9px 26px rgba(132,36,63,.22),inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
:where(body) button:not(.hero button):hover,
:where(body) input[type="submit"]:not(.hero input):hover,
:where(body) .btn:not(.hero .btn):hover,
:where(body) a.button:not(.hero a):hover,
:where(body) a[class*="btn"]:not(.hero a):hover{
  transform:translateY(-2px);
  filter:brightness(1.1);
  box-shadow:0 14px 34px rgba(132,36,63,.28),0 0 24px rgba(91,157,255,.13);
}
:where(body) button:not(.hero button):focus-visible,
:where(body) a:not(.hero a):focus-visible,
:where(body) input:focus-visible,
:where(body) select:focus-visible,
:where(body) textarea:focus-visible{
  outline:2px solid var(--rcmu-light-blue);
  outline-offset:3px;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(input,select,textarea){
  min-height:48px;
  border:1px solid rgba(169,211,255,.24);
  border-radius:14px;
  background:rgba(2,12,29,.68);
  color:#f4f8ff;
  box-shadow:inset 0 1px 4px rgba(0,0,0,.16);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(input,select,textarea):focus{
  border-color:#91c4ff;
  background:rgba(4,18,41,.92);
  box-shadow:0 0 0 4px rgba(91,157,255,.12);
  outline:0;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(label){
  color:#dceaff;
  font-weight:650;
}
:where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(hr){
  border:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(169,211,255,.35),rgba(132,36,63,.4),transparent);
}
.site-footer{position:relative;isolation:isolate}
.site-footer:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,#a9d3ff66,#a8325077,transparent)}
@media(max-width:760px){
  :where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) :where(article,.card,.feature-card,.member-card,.committee-card,.about-card,.info-card,.stat-card,.achievement-card,.admin-card,.panel,.content-card){border-radius:20px}
  :where(body) button:not(.hero button),:where(body) .btn:not(.hero .btn),:where(body) a.button:not(.hero a),:where(body) a[class*="btn"]:not(.hero a){min-height:46px}
}
@media(prefers-reduced-motion:reduce){
  :where(.about-main,.members-page,.committee-page,.admin-page,.error-page,.eagle-page) *,
  :where(body) button:not(.hero button){transition:none!important}
}


/* Pre-release announcement */
.release-notice{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:22px;background:rgba(2,8,22,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
.release-notice.is-visible{opacity:1;visibility:visible}
.release-notice__panel{position:relative;width:min(100%,480px);padding:clamp(28px,5vw,42px);overflow:hidden;text-align:center;color:#f5f8ff;background:linear-gradient(145deg,rgba(12,31,61,.98),rgba(6,17,38,.98));border:1px solid rgba(169,211,255,.25);border-radius:28px;box-shadow:0 28px 90px rgba(0,0,0,.48),0 0 45px rgba(91,157,255,.12);transform:translateY(14px) scale(.98);transition:transform .3s ease}
.release-notice.is-visible .release-notice__panel{transform:translateY(0) scale(1)}
.release-notice__mark{width:62px;height:62px;margin:0 auto 22px;display:grid;place-items:center;border-radius:20px;color:#fff;background:linear-gradient(135deg,#a83250,#183b70);box-shadow:0 10px 30px rgba(168,50,80,.25)}
.release-notice__mark svg{width:29px;height:29px}
.release-notice__eyebrow{margin:0 0 10px;color:#a9d3ff;font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.release-notice__title{margin:0;color:#fff;font-size:clamp(1.55rem,5vw,2rem);line-height:1.16;letter-spacing:-.035em}
.release-notice__copy{max-width:360px;margin:15px auto 26px;color:#c7d7ec;font-size:.96rem;line-height:1.7}
.release-notice__continue{width:100%;min-height:50px;padding:12px 22px;border:0;border-radius:15px;color:#fff;font:inherit;font-weight:750;cursor:pointer;background:linear-gradient(105deg,#a83250,#183b70);box-shadow:0 10px 28px rgba(132,36,63,.25);transition:transform .2s ease,filter .2s ease}
.release-notice__continue:hover{transform:translateY(-2px);filter:brightness(1.12)}
.release-notice__continue:focus-visible{outline:3px solid #a9d3ff;outline-offset:4px}
body.release-notice-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.release-notice,.release-notice__panel,.release-notice__continue{transition:none}}


/* Rounded premium CTA buttons for the three homepage story cards */
.rcmu-work .rcmu-work-read{
  position:relative;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  min-height:42px;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:18px;
  padding:0 19px;
  overflow:hidden;
  border:1px solid rgba(169,211,255,.3);
  border-radius:999px;
  color:#fff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.12em;
  line-height:1;
  text-decoration:none;
  background:linear-gradient(110deg,rgba(168,50,80,.96),rgba(20,55,101,.98));
  box-shadow:0 8px 22px rgba(4,12,30,.24),inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease;
}
.rcmu-work .rcmu-work-read:hover{
  gap:12px;
  color:#fff;
  border-color:rgba(169,211,255,.68);
  transform:translateY(-3px);
  filter:brightness(1.12);
  box-shadow:0 13px 28px rgba(4,12,30,.32),0 0 20px rgba(91,157,255,.15),inset 0 1px 0 rgba(255,255,255,.2);
}
.rcmu-work .rcmu-work-read span{
  display:inline-grid;
  width:20px;
  height:20px;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:13px;
  background:rgba(255,255,255,.14);
  transition:transform .22s ease,background .22s ease;
}
.rcmu-work .rcmu-work-read:hover span{
  transform:translate(2px,-2px);
  background:rgba(255,255,255,.24);
}
.rcmu-work .rcmu-work-read:focus-visible{
  outline:2px solid #a9d3ff;
  outline-offset:4px;
}
@media(max-width:600px){
  .rcmu-work .rcmu-work-read{min-height:44px;padding-inline:18px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .rcmu-work .rcmu-work-read,.rcmu-work .rcmu-work-read span{transition:none}
}


/* Keep homepage story-card actions aligned along one shared baseline */
.rcmu-work-grid{align-items:stretch}
.rcmu-work-card{height:100%}
.rcmu-work-body{height:100%;min-width:0}
.rcmu-work .rcmu-work-read{
  margin-top:auto;
  flex:0 0 auto;
  min-height:42px;
  white-space:nowrap;
}
@media(max-width:900px){
  .rcmu-work-card:last-child .rcmu-work-body{height:auto}
}
@media(max-width:600px){
  .rcmu-work .rcmu-work-read{margin-top:18px}
}


/* Site-wide premium pill CTA system — consistent with homepage story buttons.
   Preserve structural controls such as the mobile menu, slideshow dots and dashboard card. */
:where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot),
:where(body) input[type="submit"],
:where(body) input[type="button"],
:where(body) .btn,
:where(body) a.button,
:where(body) a[class*="btn"],
:where(body) .nav-join,
:where(body) .eagle-gallery-link,
:where(body) .error-home,
:where(body) .error-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:11px 20px;
  border:1px solid rgba(169,211,255,.34);
  border-radius:999px;
  color:#fff;
  font:inherit;
  font-size:11px;
  font-weight:800;
  letter-spacing:.045em;
  line-height:1.2;
  text-decoration:none;
  background:linear-gradient(110deg,#96304f 0%,#74213b 48%,#174b91 100%);
  box-shadow:0 8px 22px rgba(4,12,30,.24),inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease;
}
:where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot):not(:disabled):hover,
:where(body) input[type="submit"]:not(:disabled):hover,
:where(body) input[type="button"]:not(:disabled):hover,
:where(body) .btn:hover,
:where(body) a.button:hover,
:where(body) a[class*="btn"]:hover,
:where(body) .nav-join:hover,
:where(body) .eagle-gallery-link:hover,
:where(body) .error-home:hover,
:where(body) .error-back:hover{
  color:#fff;
  border-color:rgba(169,211,255,.7);
  transform:translateY(-2px);
  filter:brightness(1.1);
  box-shadow:0 13px 29px rgba(4,12,30,.3),0 0 20px rgba(91,157,255,.14),inset 0 1px 0 rgba(255,255,255,.2);
}
:where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot):disabled,
:where(body) input[type="submit"]:disabled,
:where(body) input[type="button"]:disabled{
  cursor:not-allowed;
  opacity:.58;
  filter:saturate(.65);
  transform:none;
}
:where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot):focus-visible,
:where(body) input[type="submit"]:focus-visible,
:where(body) input[type="button"]:focus-visible,
:where(body) .btn:focus-visible,
:where(body) a.button:focus-visible,
:where(body) a[class*="btn"]:focus-visible,
:where(body) .nav-join:focus-visible,
:where(body) .eagle-gallery-link:focus-visible{
  outline:2px solid #a9d3ff;
  outline-offset:4px;
}
@media(max-width:600px){
  :where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot),
  :where(body) input[type="submit"],
  :where(body) input[type="button"],
  :where(body) .btn,
  :where(body) a.button,
  :where(body) a[class*="btn"],
  :where(body) .nav-join,
  :where(body) .eagle-gallery-link,
  :where(body) .error-home,
  :where(body) .error-back{
    min-height:44px;
    padding:11px 17px;
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce){
  :where(body) button:not(.hero button):not(.dashboard-main-card):not(.nav-toggle):not(.slide-dot),
  :where(body) .btn,:where(body) a.button,:where(body) a[class*="btn"]{transition:none}
}


/* Unified RCMU pill-button system — applied consistently across the site */
:where(body) button:not(.hero button),
:where(body) input[type="button"]:not(.hero input),
:where(body) input[type="submit"]:not(.hero input),
:where(body) input[type="reset"]:not(.hero input),
:where(body) .btn:not(.hero .btn),
:where(body) a.button:not(.hero a),
:where(body) a[class*="btn"]:not(.hero a),
:where(body) [role="button"]:not(.hero [role="button"]){
  min-height:42px;
  padding:10px 19px;
  border:1px solid rgba(169,211,255,.34);
  border-radius:999px;
  color:#fff;
  background:linear-gradient(110deg,#a83250 0%,#74213b 48%,#174b91 100%);
  font:inherit;
  font-weight:800;
  letter-spacing:.035em;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(4,12,30,.24),inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease;
}
:where(body) button:not(.hero button):hover,
:where(body) input[type="button"]:not(.hero input):hover,
:where(body) input[type="submit"]:not(.hero input):hover,
:where(body) input[type="reset"]:not(.hero input):hover,
:where(body) .btn:not(.hero .btn):hover,
:where(body) a.button:not(.hero a):hover,
:where(body) a[class*="btn"]:not(.hero a):hover,
:where(body) [role="button"]:not(.hero [role="button"]):hover{
  color:#fff;
  border-color:rgba(169,211,255,.7);
  transform:translateY(-2px);
  filter:brightness(1.1);
  box-shadow:0 13px 28px rgba(4,12,30,.32),0 0 20px rgba(91,157,255,.15),inset 0 1px 0 rgba(255,255,255,.2);
}
:where(body) button:not(.hero button):disabled,
:where(body) input[type="button"]:disabled,
:where(body) input[type="submit"]:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  filter:none;
  box-shadow:none;
}
:where(body) button:not(.hero button):focus-visible,
:where(body) input[type="button"]:focus-visible,
:where(body) input[type="submit"]:focus-visible,
:where(body) a.button:not(.hero a):focus-visible,
:where(body) a[class*="btn"]:not(.hero a):focus-visible,
:where(body) [role="button"]:not(.hero [role="button"]):focus-visible{
  outline:2px solid #a9d3ff;
  outline-offset:4px;
}
@media(max-width:600px){
  :where(body) button:not(.hero button),
  :where(body) input[type="button"]:not(.hero input),
  :where(body) input[type="submit"]:not(.hero input),
  :where(body) input[type="reset"]:not(.hero input),
  :where(body) .btn:not(.hero .btn),
  :where(body) a.button:not(.hero a),
  :where(body) a[class*="btn"]:not(.hero a),
  :where(body) [role="button"]:not(.hero [role="button"]){
    min-height:44px;
    padding:10px 17px;
  }
}
@media(prefers-reduced-motion:reduce){
  :where(body) button:not(.hero button),
  :where(body) input[type="button"],
  :where(body) input[type="submit"],
  :where(body) input[type="reset"],
  :where(body) .btn,
  :where(body) a.button,
  :where(body) a[class*="btn"],
  :where(body) [role="button"]{transition:none}
}


/* Final CTA UX polish: clean labels, clear interaction and accessible targets */
:where(body) button:not(.hero button):not(.nav-toggle):not(.slide-dot),
:where(body) input[type="button"],
:where(body) input[type="submit"],
:where(body) input[type="reset"],
:where(body) .btn,
:where(body) a.button,
:where(body) a[class*="btn"],
:where(body) .nav-join,
:where(body) .rcmu-work-read,
:where(body) .eagle-gallery-link,
:where(body) .error-home,
:where(body) .error-back{
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  -webkit-font-smoothing:antialiased;
}
:where(body) button:not(.hero button):not(.nav-toggle):not(.slide-dot):not(:disabled):active,
:where(body) input[type="button"]:not(:disabled):active,
:where(body) input[type="submit"]:not(:disabled):active,
:where(body) input[type="reset"]:not(:disabled):active,
:where(body) .btn:active,
:where(body) a.button:active,
:where(body) a[class*="btn"]:active,
:where(body) .nav-join:active,
:where(body) .rcmu-work-read:active,
:where(body) .eagle-gallery-link:active,
:where(body) .error-home:active,
:where(body) .error-back:active{
  transform:translateY(0) scale(.97);
  filter:brightness(.96);
  box-shadow:0 3px 10px rgba(4,12,30,.24),inset 0 1px 2px rgba(0,0,0,.12);
}
:where(body) button:not(.hero button):focus-visible,
:where(body) input[type="button"]:focus-visible,
:where(body) input[type="submit"]:focus-visible,
:where(body) input[type="reset"]:focus-visible,
:where(body) .btn:focus-visible,
:where(body) a.button:focus-visible,
:where(body) a[class*="btn"]:focus-visible,
:where(body) .nav-join:focus-visible,
:where(body) .rcmu-work-read:focus-visible,
:where(body) .eagle-gallery-link:focus-visible,
:where(body) .error-home:focus-visible,
:where(body) .error-back:focus-visible{
  outline:2px solid #b9d9fa;
  outline-offset:4px;
}
@media(hover:none){
  :where(body) button:not(.hero button):not(.nav-toggle):not(.slide-dot):hover,
  :where(body) .btn:hover,
  :where(body) a.button:hover,
  :where(body) a[class*="btn"]:hover,
  :where(body) .nav-join:hover,
  :where(body) .rcmu-work-read:hover,
  :where(body) .eagle-gallery-link:hover,
  :where(body) .error-home:hover,
  :where(body) .error-back:hover{
    transform:none;
    filter:none;
  }
}

/* Compact homepage About Us preview */
.home-about{position:relative;isolation:isolate;padding:clamp(54px,7vw,92px) 6%;overflow:hidden;background:radial-gradient(ellipse at 12% 50%,rgba(35,100,181,.22),transparent 42%),linear-gradient(135deg,#06142f 0%,#0a2044 58%,#07152f 100%)}
.home-about:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 88% 12%,rgba(168,50,80,.16),transparent 32%)}
.home-about-inner{width:min(1080px,100%);margin:auto;display:grid;grid-template-columns:clamp(110px,17vw,190px) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,58px);padding:clamp(25px,4vw,42px);border:1px solid rgba(169,211,255,.2);border-radius:26px;background:linear-gradient(125deg,rgba(18,48,88,.76),rgba(5,19,43,.82));box-shadow:0 22px 60px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05)}
.home-about-mark{display:grid;place-items:center;aspect-ratio:1;border-radius:22px;border:1px solid rgba(169,211,255,.14);background:radial-gradient(circle,rgba(80,139,218,.2),rgba(3,14,34,.3) 72%)}
.home-about-mark img{width:76%;height:76%;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.35))}
.home-about-kicker{display:block;margin-bottom:10px;color:#9fc7f5;font-size:9px;font-weight:850;letter-spacing:.2em}
.home-about-copy h2{margin:0;color:#f7faff;font-size:clamp(27px,3.4vw,40px);font-weight:850;letter-spacing:-.045em}
.home-about-copy p{max-width:660px;margin:12px 0 0;color:#c0cee4;font-size:clamp(13px,1.2vw,15px);line-height:1.85}
.home-about-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:20px;padding:11px 21px;border:1px solid rgba(169,211,255,.38);border-radius:999px;color:#fff;background:linear-gradient(110deg,#a83250 0%,#74213b 48%,#174b91 100%);font-size:10px;font-weight:850;letter-spacing:.09em;text-decoration:none;box-shadow:0 8px 22px rgba(4,12,30,.24),inset 0 1px 0 rgba(255,255,255,.16);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease}
.home-about-link:hover{color:#fff;border-color:rgba(169,211,255,.72);transform:translateY(-2px);filter:brightness(1.1);box-shadow:0 13px 28px rgba(4,12,30,.3),0 0 20px rgba(91,157,255,.14)}
.home-about-link:active{transform:scale(.97)}
.home-about-link:focus-visible{outline:2px solid #b9d9fa;outline-offset:4px}
@media(max-width:600px){.home-about{padding:48px 18px}.home-about-inner{grid-template-columns:1fr;gap:19px;padding:22px;border-radius:21px}.home-about-mark{width:94px;margin:auto;border-radius:18px}.home-about-copy{text-align:center}.home-about-copy p{margin-inline:auto}.home-about-link{width:100%;min-height:46px}}
@media(prefers-reduced-motion:reduce){.home-about-link{transition:none}}


/* AI-inspired About preview: glass surface, ambient neural glow and precision details */
.home-about{background:radial-gradient(ellipse at 15% 45%,rgba(54,126,232,.25),transparent 38%),radial-gradient(ellipse at 88% 18%,rgba(168,50,80,.2),transparent 34%),linear-gradient(135deg,#040d20 0%,#071b3b 52%,#08152e 100%)}
.home-about-inner{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:clamp(116px,17vw,188px) minmax(0,1fr);border:1px solid transparent;border-radius:28px;background:linear-gradient(125deg,rgba(13,37,74,.88),rgba(5,17,39,.92)) padding-box,linear-gradient(120deg,rgba(117,180,255,.7),rgba(255,255,255,.08) 42%,rgba(168,50,80,.65)) border-box;box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.home-about-inner:before{content:"";position:absolute;z-index:-1;inset:-60% auto -60% -35%;width:48%;transform:rotate(24deg);background:linear-gradient(90deg,transparent,rgba(169,211,255,.08),transparent);animation:home-about-scan 9s ease-in-out infinite}
/* Decorative circular orbit intentionally removed from About preview. */
.home-about-mark{position:relative;overflow:hidden;border-radius:24px;border-color:rgba(169,211,255,.24);background:radial-gradient(circle at 50% 42%,rgba(69,139,235,.32),rgba(8,27,57,.5) 68%);box-shadow:inset 0 0 32px rgba(75,145,245,.1),0 12px 34px rgba(0,0,0,.2)}
.home-about-mark:before,.home-about-mark:after{content:none;display:none}
.home-about-mark img{position:relative;z-index:1;width:68%;height:68%;filter:drop-shadow(0 0 18px rgba(115,177,255,.35))}
.home-about-kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid rgba(169,211,255,.18);border-radius:999px;background:rgba(68,123,194,.1);color:#b8d9ff;font-size:9px;letter-spacing:.17em}
.home-about-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#83c4ff;box-shadow:0 0 10px #83c4ff}
.home-about-copy h2{margin-top:13px;background:linear-gradient(100deg,#fff 15%,#b9d9ff 65%,#e8b7c7);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-about-copy p{max-width:620px;color:#c5d5ec}
.home-about-link{position:relative;overflow:hidden;min-width:158px;border-color:rgba(169,211,255,.45);background:linear-gradient(105deg,#a83250 0%,#632846 48%,#17549a 100%);box-shadow:0 10px 28px rgba(4,12,30,.3),0 0 22px rgba(69,139,235,.13),inset 0 1px 0 rgba(255,255,255,.2)}
.home-about-link:hover{box-shadow:0 15px 34px rgba(4,12,30,.36),0 0 28px rgba(91,157,255,.24),inset 0 1px 0 rgba(255,255,255,.24)}
@keyframes home-about-orbit{to{transform:rotate(360deg)}}
@keyframes home-about-scan{0%,15%{left:-45%}65%,100%{left:125%}}
@media(max-width:600px){.home-about-inner{grid-template-columns:1fr;gap:20px}.home-about-mark{width:112px;margin:auto}.home-about-copy h2{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.home-about-inner:before,.home-about-mark:after{animation:none}}


/* Thissa Jayawardhane Memorial competition feature card */
.rcmu-memorial-photo{display:grid;place-items:center;isolation:isolate;background:radial-gradient(circle at 50% 45%,rgba(67,132,220,.3),transparent 42%),linear-gradient(135deg,#0b2851,#07152f 72%)}
.rcmu-memorial-photo:before{content:"";position:absolute;inset:12%;border:1px solid rgba(169,211,255,.22);border-radius:50%;box-shadow:0 0 0 18px rgba(169,211,255,.035),0 0 0 38px rgba(169,211,255,.025)}
.rcmu-memorial-photo img{position:relative;z-index:1;width:34%;height:64%;object-fit:contain;filter:drop-shadow(0 0 22px rgba(126,183,255,.38));transition:transform .45s ease,filter .45s ease}
.rcmu-memorial-card:hover .rcmu-memorial-photo img{transform:scale(1.06);filter:drop-shadow(0 0 30px rgba(126,183,255,.55))}
.rcmu-memorial-orbit{position:absolute;z-index:0;width:48%;aspect-ratio:1;border:1px dashed rgba(169,211,255,.28);border-radius:50%;animation:rcmu-memorial-spin 34s linear infinite}
.rcmu-memorial-tag{position:absolute;z-index:2;bottom:15px;left:50%;transform:translateX(-50%);padding:7px 12px;border:1px solid rgba(169,211,255,.25);border-radius:999px;background:rgba(3,12,29,.7);color:#c7e2ff;font-size:8px;font-weight:850;letter-spacing:.16em;white-space:nowrap}
@keyframes rcmu-memorial-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.rcmu-memorial-orbit{animation:none}.rcmu-memorial-photo img{transition:none}}

/* Thissa Jayawardhane Memorial competition card */
.home-feature-background{position:relative;isolation:isolate;background:linear-gradient(105deg,rgba(3,10,27,.88) 0%,rgba(5,18,43,.76) 52%,rgba(5,15,35,.72) 100%),url('../360_F_824959385_mtUKHj3rfUgTWHXmAYgzEb31JvSXkT1e%20(1).jpg') center center/cover no-repeat}.thissa-join{position:relative;isolation:isolate;padding:34px 6%;overflow:hidden;background:transparent}
.thissa-join-inner{width:min(1080px,100%);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(24px,4vw,38px);border:1px solid transparent;border-radius:26px;background:linear-gradient(125deg,rgba(16,43,80,.94),rgba(5,17,39,.96)) padding-box,linear-gradient(115deg,rgba(117,180,255,.65),rgba(168,50,80,.58)) border-box;box-shadow:0 22px 60px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.07)}
.thissa-join-copy{min-width:0}
.thissa-join-kicker{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid rgba(169,211,255,.2);border-radius:999px;background:rgba(68,123,194,.1);color:#b8d9ff;font-size:9px;font-weight:850;letter-spacing:.17em}
.thissa-join-copy h2{max-width:760px;margin:14px 0 0;color:#f7faff;font-size:clamp(22px,3vw,34px);font-weight:850;line-height:1.2;letter-spacing:-.035em}
.thissa-join-copy p{margin:10px 0 0;color:#c5d5ec;font-size:14px;line-height:1.7}
.thissa-join-link{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:46px;min-width:148px;padding:12px 24px;border:1px solid rgba(169,211,255,.42);border-radius:999px;color:#fff;background:linear-gradient(105deg,#a83250 0%,#632846 48%,#17549a 100%);font-size:10px;font-weight:850;letter-spacing:.1em;text-decoration:none;box-shadow:0 10px 28px rgba(4,12,30,.3),0 0 20px rgba(69,139,235,.12);transition:transform .22s ease,filter .22s ease,box-shadow .22s ease}
.thissa-join-link[aria-disabled="true"]{cursor:default;opacity:.78}
.thissa-join-link:hover{color:#fff;filter:brightness(1.08);box-shadow:0 14px 32px rgba(4,12,30,.34)}
@media(max-width:600px){.thissa-join{padding:28px 18px}.thissa-join-inner{flex-direction:column;align-items:stretch;gap:20px;padding:22px;border-radius:21px;text-align:center}.thissa-join-link{width:100%}}
@media(prefers-reduced-motion:reduce){.thissa-join-link{transition:none}}

/* Mobile footer — compact, balanced and touch-friendly */
@media(max-width:760px){
  .site-footer{
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:15px;
    padding:30px 20px calc(24px + env(safe-area-inset-bottom,0px));
    text-align:center;
    letter-spacing:.02em;
  }
  .footer-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    width:100%;
    margin:0;
  }
  .footer-brand img{width:44px;height:44px;flex:0 0 44px;object-fit:contain}
  .footer-brand span{display:grid;gap:4px;text-align:left}
  .footer-brand strong{font-size:18px;letter-spacing:.14em}
  .footer-brand small{font-size:10px;line-height:1.45;letter-spacing:.025em}
  .footer-tagline{
    align-self:center;
    padding:9px 14px;
    border:1px solid rgba(169,211,255,.17);
    border-radius:999px;
    background:rgba(169,211,255,.055);
    color:#b9d9fa;
    font-size:9px;
    letter-spacing:.17em;
  }
  .footer-copy,.footer-credit{
    display:block;
    width:100%;
    max-width:340px;
    color:#91a9c8;
    font-size:10px;
    line-height:1.65;
    overflow-wrap:anywhere;
  }
  .footer-credit{padding-top:13px;border-top:1px solid rgba(169,211,255,.13)}
  .footer-credit a{display:inline-block;padding:5px 2px;color:#dcecff;text-decoration:underline;text-decoration-color:rgba(169,211,255,.45);text-underline-offset:3px}
  .footer-credit a strong{font-weight:800}
}
@media(max-width:380px){
  .site-footer{gap:13px;padding-inline:16px}
  .footer-brand img{width:40px;height:40px;flex-basis:40px}
  .footer-brand strong{font-size:16px}
  .footer-brand small{font-size:9px}
  .footer-tagline{font-size:8px;letter-spacing:.14em}
  .footer-copy,.footer-credit{font-size:9px}
}



/* Homepage RCMU Publications feature */
.home-publications{position:relative;isolation:isolate;padding:clamp(42px,6vw,72px) 6%;overflow:hidden;background:radial-gradient(ellipse at 88% 50%,rgba(132,36,63,.2),transparent 38%),linear-gradient(135deg,#030b1c 0%,#0a2044 58%,#07152f 100%)}
.home-publications-inner{width:min(1080px,100%);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(25px,4vw,38px);border:1px solid transparent;border-radius:25px;background:linear-gradient(125deg,rgba(17,44,82,.9),rgba(5,17,39,.94)) padding-box,linear-gradient(115deg,rgba(117,180,255,.62),rgba(168,50,80,.55)) border-box;box-shadow:0 22px 60px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.07)}
.home-publications-kicker{display:block;margin-bottom:10px;color:#b8d9ff;font-size:9px;font-weight:850;letter-spacing:.18em}
.home-publications-copy h2{margin:0;color:#f7faff;font-size:clamp(25px,3.3vw,38px);font-weight:850;letter-spacing:-.04em}
.home-publications-copy p{margin:10px 0 0;color:#c5d5ec;font-size:14px;line-height:1.7}
.home-publications-link{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 22px;border:1px solid rgba(169,211,255,.42);border-radius:999px;color:#fff;background:linear-gradient(105deg,#a83250 0%,#632846 48%,#17549a 100%);font-size:10px;font-weight:850;letter-spacing:.08em;text-decoration:none;box-shadow:0 10px 28px rgba(4,12,30,.3),0 0 20px rgba(69,139,235,.12);transition:filter .22s ease,box-shadow .22s ease}
.home-publications-link span{font-size:16px;line-height:1}
.home-publications-link:hover{color:#fff;filter:brightness(1.1);box-shadow:0 14px 32px rgba(4,12,30,.36),0 0 24px rgba(91,157,255,.18)}
.home-publications-link:focus-visible{outline:2px solid #b9d9fa;outline-offset:4px}
@media(max-width:600px){.home-publications{padding:38px 18px}.home-publications-inner{flex-direction:column;align-items:stretch;gap:20px;padding:23px;border-radius:21px;text-align:center}.home-publications-link{width:100%;box-sizing:border-box;min-height:46px}}
@media(prefers-reduced-motion:reduce){.home-publications-link{transition:none}}


/* Distinct heritage-inspired background for C.W.W. Kannangara Day */
#kannangara-day-home .thissa-join-inner{
  background:
    radial-gradient(ellipse at 88% 18%,rgba(192,151,82,.18),transparent 34%),
    radial-gradient(ellipse at 8% 100%,rgba(168,50,80,.2),transparent 42%),
    linear-gradient(118deg,#102b50 0%,#081a35 58%,#101d35 100%) padding-box,
    linear-gradient(110deg,rgba(220,190,130,.78),rgba(117,180,255,.42) 52%,rgba(168,50,80,.7)) border-box;
  box-shadow:0 24px 64px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1);
}
#kannangara-day-home .thissa-join-kicker{
  border-color:rgba(220,190,130,.34);
  background:rgba(190,151,82,.11);
  color:#ead7ad;
}
#kannangara-day-home .thissa-join-link{
  border-color:rgba(220,190,130,.48);
  background:linear-gradient(105deg,#9d304c 0%,#71334a 48%,#174c83 100%);
}


/* Site-wide cleanup: remove decorative circular/orbit background artwork.
   Keep the RCMU navy, light-blue and maroon surfaces, real photos and content intact. */
.section::before,
.page-hero::after,
.contact-card::after,
.hero::after,
.home-about::before,
.home-about-inner::before,
.rcmu-memorial-photo::before,
.rcmu-memorial-orbit{
  content:none!important;
  display:none!important;
}


/* Apply Step 3 component styles after legacy shared styles. */
/* STEP 3 — shared editorial navigation and footer */
.site-header{
  position:absolute;
  z-index:50;
  top:18px;
  left:0;
  width:100%;
  padding-inline:var(--ds-page-gutter);
}
.site-nav{
  position:relative;
  width:min(100%, 86rem);
  min-height:74px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  gap:clamp(14px,2vw,30px);
  padding:10px 16px;
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-md);
  background:rgba(3,11,28,.94);
  box-shadow:0 12px 34px rgba(0,0,0,.2);
  backdrop-filter:blur(14px);
}
.nav-brand{display:inline-flex;align-items:center;flex:0 0 auto}
.nav-brand img{display:block;width:48px;height:48px;object-fit:contain;border-radius:4px}
.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(10px,1.35vw,22px);
  min-width:0;
  margin-inline:auto;
}
.nav-links a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  color:var(--ds-text-muted);
  font-size:12px;
  font-weight:650;
  white-space:nowrap;
  transition:color .18s ease;
}
.nav-links a:hover,.nav-links a.active{color:var(--ds-text)}
.nav-links a:not(.nav-join)::after{
  position:absolute;
  right:100%;
  bottom:2px;
  left:0;
  height:2px;
  background:var(--rcmu-light-blue);
  content:"";
  transition:right .18s ease;
}
.nav-links a:not(.nav-join):hover::after,
.nav-links a:not(.nav-join).active::after{right:0}
.nav-links a[aria-current="page"]{color:#fff}
.nav-links .nav-join{
  min-height:42px;
  padding:0 15px;
  border:1px solid rgba(169,211,255,.25);
  border-radius:4px;
  background:var(--rcmu-maroon);
  color:#fff;
  font-weight:750;
}
.nav-links .nav-join:hover{background:var(--rcmu-maroon-bright)}
.nav-join span{margin-left:8px;color:#fff}
.nav-150-logo{width:42px;height:42px;flex:0 0 auto;object-fit:contain}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:10px;
  border:1px solid var(--ds-border);
  border-radius:4px;
  background:transparent;
  cursor:pointer;
}
.nav-toggle span{display:block;width:21px;height:2px;margin:4px auto;background:var(--ds-text);transition:transform .18s ease,opacity .18s ease}
.nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-6px) rotate(-45deg)}

.site-footer{
  display:grid;
  grid-template-columns:minmax(220px,1.6fr) repeat(2,minmax(130px,.8fr));
  gap:36px;
  padding:58px var(--ds-page-gutter) 22px;
  border-top:1px solid var(--ds-border);
  background:#020918;
  color:var(--ds-text-muted);
}
.footer-main{max-width:360px}
.footer-brand{display:inline-flex;align-items:center;gap:13px;color:var(--ds-text);text-decoration:none}
.footer-brand img{width:48px;height:48px;object-fit:contain}
.footer-brand span{display:grid;gap:4px}
.footer-brand strong{font-size:12px;letter-spacing:.12em}
.footer-brand small{color:var(--rcmu-light-blue);font-size:10px;letter-spacing:.2em}
.footer-description{max-width:34ch;margin:18px 0 14px;color:var(--ds-text-muted);font-size:13px;line-height:1.7}
.footer-tagline{color:var(--rcmu-light-blue);font-size:10px;font-weight:800;letter-spacing:.2em}
.footer-links-group{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer-links-group h2{margin:3px 0 7px;color:var(--ds-text);font-size:11px;letter-spacing:.16em}
.footer-links-group a{color:var(--ds-text-muted);font-size:13px;text-decoration:none;transition:color .18s ease}
.footer-links-group a:hover{color:var(--rcmu-light-blue)}
.footer-bottom{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:12px;
  padding-top:20px;
  border-top:1px solid var(--ds-border);
  font-size:11px;
}
.footer-credit a{color:var(--ds-text);text-decoration:none}
.footer-credit a:hover{color:var(--rcmu-light-blue)}
@media(max-width:1180px){
  .site-nav{gap:12px}
  .nav-links{gap:10px}
  .nav-links a{font-size:11px}
  .nav-150-logo{width:36px;height:36px}
}
@media(max-width:980px){
  .site-header{top:12px;padding-inline:16px}
  .site-nav{min-height:66px;padding:8px 12px}
  .nav-toggle{display:block;order:4;flex:0 0 auto}
  .nav-150-logo{margin-left:auto}
  .nav-links{
    display:none;
    position:absolute;
    z-index:5;
    top:calc(100% + 9px);
    right:0;
    left:0;
    max-height:min(72svh,560px);
    overflow-y:auto;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:9px;
    border:1px solid var(--ds-border);
    border-radius:var(--ds-radius-md);
    background:#030d22;
    box-shadow:var(--ds-shadow);
  }
  .nav-links.open{display:flex}
  .nav-links a{min-height:48px;padding:12px;font-size:14px;white-space:normal;border-bottom:1px solid var(--ds-border)}
  .nav-links a:not(.nav-join)::after{display:none}
  .nav-links .nav-join{justify-content:center;margin-top:8px;border:0}
}
@media(max-width:640px){
  .site-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px;padding-top:42px}
  .footer-main{grid-column:1/-1;max-width:100%}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}
}
@media(prefers-reduced-motion:reduce){
  .nav-links a,.nav-toggle span,.footer-links-group a{transition:none}
}


/* STEP 4 — Homepage editorial redesign.
   Scope is strictly below the existing .hero. Do not edit hero markup, slides,
   imagery, copy, dimensions, or slideshow behavior. */
body:has(> header.site-header) main > .rcmu-work{
  padding:clamp(76px,8vw,112px) var(--ds-page-gutter);
  background:#030b1c;
}
.rcmu-work:before{display:none}
.rcmu-work-inner{width:min(82rem,100%)}
.rcmu-work-heading{
  align-items:end;
  margin-bottom:34px;
  padding-bottom:22px;
  border-bottom:1px solid var(--ds-border-strong);
}
.rcmu-work-kicker,.thissa-join-kicker,.home-publications-kicker,.home-about-kicker{
  color:var(--rcmu-light-blue);
  letter-spacing:.2em;
}
.rcmu-work-heading h2{
  font-family:var(--ds-font-display);
  font-size:clamp(2.5rem,5vw,4.4rem);
  font-weight:800;
  letter-spacing:-.055em;
}
.rcmu-work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.rcmu-work-card{
  border:0;
  border-radius:var(--ds-radius-sm);
  background:transparent;
  box-shadow:none;
  transition:transform .25s ease;
}
.rcmu-work-card:hover{
  transform:translateY(-3px);
  border-color:transparent;
  box-shadow:none;
}
.rcmu-work-photo{
  aspect-ratio:5/4;
  border-radius:var(--ds-radius-sm);
  background:var(--rcmu-navy-panel);
}
.rcmu-work-photo:after{display:none}
.rcmu-work-photo img{transition:transform .45s ease}
.rcmu-work-body{padding:18px 0 4px}
.rcmu-work-meta{font-size:9px;letter-spacing:.13em}
.rcmu-work-meta span{
  padding:5px 8px;
  border-radius:2px;
  background:var(--rcmu-maroon);
  color:#fff;
}
.rcmu-work-body h3{
  font-family:var(--ds-font-display);
  font-size:clamp(1.15rem,1.7vw,1.5rem);
  line-height:1.25;
}
.rcmu-work-body p{
  max-width:42ch;
  color:var(--ds-text-muted);
  font-size:14px;
  line-height:1.75;
}
.rcmu-work .rcmu-work-read{
  min-height:40px;
  margin-top:14px;
  padding-inline:15px;
  border-radius:3px;
  border-color:var(--ds-border-strong);
  background:var(--rcmu-maroon);
  box-shadow:none;
  font-size:9px;
}
.rcmu-work .rcmu-work-read:hover{
  transform:translateY(-2px);
  background:var(--rcmu-maroon-bright);
  box-shadow:none;
}

/* Feature stories: alternate editorial bands instead of repeated floating cards. */
.home-feature-background{
  padding-block:clamp(38px,5vw,68px);
  background:#07152f;
}
.thissa-join{padding:18px var(--ds-page-gutter)}
.thissa-join-inner{
  width:min(82rem,100%);
  min-height:210px;
  gap:clamp(24px,5vw,64px);
  padding:clamp(28px,5vw,54px);
  border:0;
  border-left:4px solid var(--rcmu-maroon);
  border-radius:0;
  background:#0c2142;
  box-shadow:none;
}
.thissa-join-copy{max-width:760px}
.thissa-join-kicker{
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  font-size:10px;
}
.thissa-join-copy h2{
  margin-top:15px;
  font-family:var(--ds-font-display);
  font-size:clamp(1.8rem,3.7vw,3.1rem);
  line-height:1.12;
  letter-spacing:-.045em;
}
.thissa-join-copy p{
  max-width:58ch;
  font-size:15px;
  line-height:1.75;
}
.thissa-join-link{
  min-width:164px;
  min-height:48px;
  border:0;
  border-radius:3px;
  background:var(--rcmu-maroon);
  box-shadow:none;
}
.thissa-join-link:hover{background:var(--rcmu-maroon-bright);transform:translateY(-2px);box-shadow:none}
#kannangara-day-home .thissa-join-inner{
  background:#10294d;
  border-left-color:#b9a16b;
  box-shadow:none;
}
#kannangara-day-home .thissa-join-kicker{color:#e5d2a8}
#kannangara-day-home .thissa-join-link{background:var(--rcmu-maroon);border:0}

/* Publications and About become quiet editorial closing chapters. */
.home-publications{
  padding:clamp(64px,8vw,104px) var(--ds-page-gutter);
  background:#030b1c;
}
.home-publications-inner{
  width:min(82rem,100%);
  min-height:190px;
  padding:clamp(28px,5vw,54px);
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.home-publications-copy h2,.home-about-copy h2{
  font-family:var(--ds-font-display);
  font-size:clamp(2rem,4vw,3.4rem);
  letter-spacing:-.05em;
}
.home-publications-link{
  border:0;
  border-radius:3px;
  background:var(--rcmu-maroon);
  box-shadow:none;
}
.home-publications-link:hover{background:var(--rcmu-maroon-bright);box-shadow:none}
.home-about{
  padding:clamp(64px,8vw,104px) var(--ds-page-gutter);
  background:#07152f;
}
.home-about-inner{
  width:min(82rem,100%);
  grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);
  gap:clamp(28px,6vw,88px);
  padding:0;
}
.home-about-mark{
  width:min(100%,220px);
  padding:20px;
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
}
.home-about-mark:after{display:none}
.home-about-copy{max-width:720px}
.home-about-copy p{max-width:58ch;font-size:15px;line-height:1.8}
.home-about-link{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:0 20px;
  border-radius:3px;
  background:var(--rcmu-maroon);
  color:#fff;
  font-size:10px;
  font-weight:850;
  letter-spacing:.1em;
  text-decoration:none;
}
.home-about-link:hover{background:var(--rcmu-maroon-bright);color:#fff}
@media(max-width:900px){
  .rcmu-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rcmu-work-card:last-child{grid-column:auto;display:flex}
  .rcmu-work-card:last-child .rcmu-work-photo{height:auto;min-height:0;aspect-ratio:5/4}
}
@media(max-width:640px){
  body:has(> header.site-header) main > .rcmu-work{padding:58px 18px}
  .rcmu-work-heading{align-items:flex-start;margin-bottom:24px}
  .rcmu-work-heading h2{font-size:2.55rem}
  .rcmu-work-heading>a{margin-top:18px}
  .rcmu-work-grid{grid-template-columns:1fr;gap:30px}
  .rcmu-work-card:last-child{display:flex;grid-column:auto}
  .rcmu-work-card:last-child .rcmu-work-photo{aspect-ratio:5/4}
  .thissa-join{padding:13px 18px}
  .thissa-join-inner{min-height:0;align-items:flex-start;gap:20px;padding:26px 22px;text-align:left}
  .thissa-join-link{width:auto;min-width:150px}
  .home-publications{padding:52px 18px}
  .home-publications-inner{align-items:flex-start;text-align:left}
  .home-publications-link{width:auto}
  .home-about{padding:58px 18px}
  .home-about-inner{grid-template-columns:1fr;gap:24px}
  .home-about-mark{width:112px;margin:0}
}
@media(max-width:420px){
  .thissa-join-inner{padding:23px 18px}
  .thissa-join-link,.home-publications-link{width:100%}
  .home-publications-inner{text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .rcmu-work-card,.rcmu-work-photo img,.rcmu-work .rcmu-work-read,.thissa-join-link{transition:none}
}


/* STEP 5 — interior page editorial system.
   Styling-only pass: retain each page's existing content, forms, media, links and scripts. */
:where(.about-main,.contact-page,.competition-page,.magazine-page,.members-page,.committee-page,.join-rcmu-page,.eagle-page){
  --page-gutter:var(--ds-page-gutter);
}
:where(.about-main,.contact-page,.competition-page,.magazine-page,.members-page,.committee-page,.join-rcmu-page) :where(h1,h2,h3){
  font-family:var(--ds-font-display);
  letter-spacing:-.035em;
  text-wrap:balance;
}
:where(.about-main,.contact-page,.competition-page,.magazine-page,.members-page,.committee-page,.join-rcmu-page){
  background:#030b1c;
}
:where(.about-heading,.contact-heading,.magazine-heading,.members-heading,.committee-heading){
  max-width:82rem;
  margin-inline:auto;
  padding-bottom:24px;
  border-bottom:1px solid var(--ds-border-strong);
}
:where(.section-eyebrow,.contact-eyebrow,.magazine-eyebrow,.members-eyebrow,.committee-eyebrow,.join-rcmu-kicker){
  color:var(--rcmu-light-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.2em;
}
:where(.about-heading h1,.contact-heading h1,.magazine-heading h1,.members-heading h1,.committee-heading h1){
  font-size:clamp(2.6rem,6vw,5rem);
  line-height:1.04;
}
.about-intro{
  max-width:82rem;
  margin-inline:auto;
  gap:clamp(28px,6vw,80px);
}
.about-logo-wrap{border-radius:4px;background:#0c2142;border:1px solid var(--ds-border)}
.about-copy{max-width:68ch;color:var(--ds-text-muted);line-height:1.8}
.about-divider{border-color:var(--ds-border)}

/* Contact: enquiry notice remains informational; no fake working form is introduced. */
.contact-wrap,.magazine-wrap,.members-wrap,.committee-wrap,.join-rcmu-wrap{
  width:min(82rem,calc(100% - (var(--ds-page-gutter)*2)));
}
.contact-layout{gap:20px}
.contact-card,.join-rcmu-card{
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.contact-card-label{color:var(--rcmu-light-blue);letter-spacing:.17em}
.contact-soon{border-left:3px solid var(--rcmu-maroon);border-radius:0;background:#10294d}
.contact-icon{border-radius:3px;background:var(--rcmu-maroon)}
.contact-info-card a{color:var(--rcmu-light-blue)}

/* Competition: preserve current registration state, rules PDF, dates and contact details. */
.competition-hero{
  border-bottom:1px solid var(--ds-border);
}
.competition-hero-inner{max-width:82rem}
.competition-title{
  font-family:var(--ds-font-display);
  font-size:clamp(3rem,8vw,7rem);
  letter-spacing:-.06em;
}
.competition-section{padding-block:clamp(52px,7vw,88px)}
.competition-wrap{width:min(82rem,calc(100% - (var(--ds-page-gutter)*2)))}
.competition-section-head{border-bottom:1px solid var(--ds-border);padding-bottom:20px}
.competition-grid{gap:18px}
.competition-card,.competition-document,.competition-contact{
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.competition-number{color:var(--rcmu-light-blue)}
.competition-status{border-radius:3px;background:rgba(132,36,63,.2);color:#fff}
.competition-button{border-radius:3px;background:var(--rcmu-maroon);box-shadow:none}
.competition-button:hover{background:var(--rcmu-maroon-bright);box-shadow:none;transform:translateY(-1px)}
.competition-button.secondary{border:1px solid var(--ds-border-strong);background:transparent;color:var(--ds-text)}
.competition-button.secondary:hover{border-color:var(--rcmu-light-blue);background:rgba(169,211,255,.08)}

/* E-magazine: publication-cover led issue cards. */
.magazine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.magazine-card{
  overflow:hidden;
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.magazine-cover{background:#10294d}
.magazine-card-body{padding:22px}
.magazine-edition{color:var(--rcmu-light-blue);letter-spacing:.16em}
.magazine-view{
  min-height:44px;
  border-radius:3px;
  background:var(--rcmu-maroon);
  box-shadow:none;
}
.magazine-view:hover{background:var(--rcmu-maroon-bright);box-shadow:none}

/* Members and executive committee: portrait-first, restrained profile presentation. */
.members-toolbar{gap:14px}
.members-search{
  min-height:46px;
  border:1px solid var(--ds-border-strong);
  border-radius:3px;
  background:#0c2142;
  color:var(--ds-text);
}
.members-grid{gap:18px}
.member-card{
  overflow:hidden;
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.member-photo{background:#10294d}
.member-info{padding:16px}
.member-role{color:var(--rcmu-light-blue)}
.president-row{margin-bottom:30px}
.officers-row,.organizers-grid{gap:18px}

/* Join application: retain every field and existing submit behavior. */
.join-rcmu-intro{max-width:82rem}
.join-rcmu-card-head{border-bottom:1px solid var(--ds-border)}
.join-rcmu-step{color:var(--rcmu-light-blue)}
.join-rcmu-grid{gap:18px}
.join-rcmu-field input,.join-rcmu-field select,.join-rcmu-field textarea{
  min-height:46px;
  border:1px solid var(--ds-border-strong);
  border-radius:3px;
  background:#07152f;
  color:var(--ds-text);
}
.join-rcmu-submit{
  min-height:48px;
  border:0;
  border-radius:3px;
  background:var(--rcmu-maroon);
  box-shadow:none;
}
.join-rcmu-submit:hover{background:var(--rcmu-maroon-bright)}

/* Eagle Awards: keep the existing event hero media and all event content intact. */
.eagle-page .eagle-content{max-width:82rem}
.eagle-page :where(.eagle-award-card,.eagle-committee-row){
  border:1px solid var(--ds-border);
  border-radius:var(--ds-radius-sm);
  background:#0c2142;
  box-shadow:none;
}
.eagle-page .eagle-award-label{color:var(--rcmu-light-blue)}
.eagle-page .eagle-divider{border-color:var(--ds-border)}

@media(max-width:760px){
  .about-intro{grid-template-columns:1fr;gap:24px}
  .magazine-grid{grid-template-columns:1fr}
  .competition-grid{grid-template-columns:1fr}
  .contact-layout{grid-template-columns:1fr}
  .members-toolbar{align-items:stretch;flex-direction:column}
  .members-search{width:100%}
  .join-rcmu-grid{grid-template-columns:1fr}
  .competition-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .competition-actions .competition-button{width:100%;min-width:0}
}
@media(max-width:480px){
  .contact-wrap,.magazine-wrap,.members-wrap,.committee-wrap,.join-rcmu-wrap,
  .competition-wrap{width:calc(100% - 32px)}
  .about-heading h1,.contact-heading h1,.magazine-heading h1,.members-heading h1,.committee-heading h1{font-size:2.5rem}
  .competition-title{font-size:clamp(2.7rem,13vw,4rem)}
  .contact-card,.join-rcmu-card{padding:20px}
}
