/* =========================================================
   PGNI — Pharmacogenomics Institute for Research and Education
   Design tokens
   ========================================================= */

:root{
  --paper:      #FBFCFC;
  --paper-dim:  #F1F6F6;
  --ink:        #102A43;
  --ink-soft:   #607585;
  --deep:       #102A43;
  --deep-ink:   #0B2336;
  --green:      #0C7772;
  --green-dim:  #0A5F5B;
  --amber:      #102A43;
  --violet:     #0C7772;
  --line:       #DBE5E8;
  --line-deep:  rgba(255,255,255,0.14);

  --display: "Manrope", Arial, sans-serif;
  --body:    "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --mono:    "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --ease: cubic-bezier(.22,.68,0,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 900px 500px at 100% -10%, rgba(12,119,114,0.05), transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 20%, rgba(16,42,67,0.04), transparent 55%);
  background-attachment: fixed;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }

:focus-visible{
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.gene-tag{
  display:inline-flex;
  align-items:center;
  gap:.55em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.gene-tag::before{
  content:"";
  display: var(--gene-dot, block);
  width:6px; height:6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.on-deep .gene-tag,
.deep .gene-tag{
  color: #7BD1CA;
}
.on-deep .gene-tag::before,
.deep .gene-tag::before{
  background: #7BD1CA;
}

header.site{
  background: rgba(251,252,252,0.94);
  backdrop-filter: blur(14px);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
header.site.on-deep{
  background: var(--deep);
  color: var(--paper);
  border-bottom-color: var(--line-deep);
}
.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav .mark{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: inherit;
}
.nav .mark svg{ width:34px; height:34px; flex:none; transition: transform .3s var(--ease); }
.nav .mark:hover svg{ transform: rotate(-8deg); }

.brand-mark{
  display:grid;
  grid-template-columns:repeat(2,11px);
  grid-template-rows:repeat(2,11px);
  gap:3px;
  transform:rotate(45deg);
  flex:none;
  transition: transform .3s var(--ease);
}
.nav .mark:hover .brand-mark{ transform: rotate(53deg); }
.brand-mark i{
  display:block;
  background: var(--green);
  border-radius:2px;
}
.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3){ background: #fff; }
header.site:not(.on-deep) .brand-mark i:nth-child(2),
header.site:not(.on-deep) .brand-mark i:nth-child(3){ background: var(--ink); }
.nav .mark .word{ display:flex; flex-direction:column; }
.nav .mark .full{
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height:1;
}
.nav .mark .sub{
  font-family: var(--body);
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
header.site.on-deep .nav .mark .sub{ color: rgba(251,252,252,0.6); }
.nav ul{
  list-style:none;
  display:flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 22px;
  margin:0; padding:0;
  font-size: 13.5px;
  font-weight: 600;
}
.nav ul a{
  position: relative;
  text-decoration:none;
  color: var(--ink-soft);
  padding: 6px 1px;
  transition: color .15s ease;
}
header.site.on-deep .nav ul a{ color: rgba(251,252,252,0.75); }
.nav ul a::after{
  content:"";
  position:absolute;
  left:0; right:100%;
  bottom:2px;
  height:1.5px;
  background: var(--green);
  transition: right .22s var(--ease);
}
.nav ul a:hover,
.nav ul a[aria-current="page"]{
  color: var(--ink);
}
header.site.on-deep .nav ul a:hover,
header.site.on-deep .nav ul a[aria-current="page"]{
  color: var(--paper);
}
.nav ul a:hover::after,
.nav ul a[aria-current="page"]::after{
  right:0;
}
.nav-toggle{
  display:none;
  background:none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: inherit;
  width: 40px; height: 36px;
  font-size: 18px;
  cursor:pointer;
}

@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .nav ul{
    position: absolute;
    left:0; right:0;
    top: 64px;
    flex-direction: column;
    background: var(--paper);
    padding: 8px 32px 20px;
    gap: 4px;
    display:none;
    border-bottom: 1px solid var(--line);
  }
  header.site.on-deep .nav ul{ background: var(--deep); border-bottom-color: var(--line-deep); }
  .nav ul.open{ display:flex; }
  .nav ul a{ display:block; padding: 10px 0; }
  .nav ul a::after{ display:none; }
}

.hero{
  background: var(--deep);
  color: var(--paper);
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  width: 650px; height: 650px;
  border-radius: 50%;
  right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(12,119,114,0.30), transparent 68%);
  pointer-events:none;
}
.hero .wrap{ position:relative; }
.hero-grid{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap: 40px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-visual{
  position:relative;
  border-radius: 8px;
  overflow:hidden;
  border: 1px solid var(--line-deep);
  background: rgba(255,255,255,0.02);
  animation: rise .8s var(--ease) both;
  animation-delay: .3s;
}
.hero-visual img{ width:100%; height:auto; display:block; }
.hero-visual-caption{
  position:absolute;
  left:16px; bottom:14px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing:.03em;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px){
  .hero-visual{ display:none; }
}
.hero .gene-tag,
.hero h1,
.hero p.lede,
.hero .tag-line,
.hero-actions{
  animation: rise .7s var(--ease) both;
}
.hero h1{ animation-delay:.06s; }
.hero p.lede{ animation-delay:.12s; }
.hero .tag-line{ animation-delay:.17s; }
.hero-actions{ animation-delay:.22s; }
@keyframes rise{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform:none; }
}
.hero h1{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(33px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 22px 0 24px;
}
.hero h1 em{
  font-style: normal;
  color: #7BD1CA;
}
.hero p.lede{
  max-width: 56ch;
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 30px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-logo-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 480px;
}
.hero-logo-mark{
  width: 340px;
  height: 340px;
  opacity: 0.94;
}
@media (max-width: 900px){
  .hero-logo-wrap{ display:none; }
}

.dna-ladder-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 560px;
}
.hero-orbit{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  top:50%; left:50%;
}
.hero-orbit-a{
  width:520px; height:520px;
  border:1px solid rgba(123,209,202,0.25);
  transform: translate(-50%,-50%);
}
.hero-orbit-b, .hero-orbit-c{ display:none; }
.dna-ladder{
  height: 440px;
  width: 240px;
  position: relative;
  z-index: 2;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
}
.dna-ladder span{
  height: 14px;
  position: relative;
  background: linear-gradient(90deg, transparent 35%, rgba(123,209,202,.55) 35%, rgba(123,209,202,.55) 65%, transparent 65%);
  transform: skewY(-8deg);
}
.dna-ladder span::before,
.dna-ladder span::after{
  content:"";
  position:absolute;
  width: 17px; height: 17px;
  border-radius:50%;
  top: -1.5px;
}
.dna-ladder span::before{
  left: 20px;
  background: #1FA89E;
  box-shadow: 0 0 0 4px rgba(31,168,158,0.18);
}
.dna-ladder span::after{
  right: 20px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}
@media (max-width: 900px){
  .dna-ladder-wrap{ display:none; }
}

.btn{
  display:inline-block;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration:none;
  padding: 13px 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-primary{ background: var(--ink); color: #fff; }
.btn-primary:hover{ background: var(--green); box-shadow: 0 8px 20px rgba(12,119,114,0.28); }
.btn-ghost{
  background: transparent;
  color: var(--paper);
  border-color: var(--line-deep);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.btn-outline{
  background: transparent;
  color: var(--green-dim);
  border-color: var(--green);
}
.btn-outline:hover{ background: rgba(12,119,114,0.08); box-shadow: 0 6px 16px rgba(12,119,114,0.14); }
.btn-disabled{
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
  cursor: not-allowed;
}
.btn-disabled:hover{ transform:none; background:transparent; box-shadow:none; }
.deep .btn-disabled{
  color: rgba(255,255,255,0.55);
  border-color: var(--line-deep);
}

section{ padding: 84px 0; }
section.tight{ padding: 52px 0; }
section.deep{ background: var(--deep); color: var(--paper); }
section.dim{ background: var(--paper-dim); }

/* -----------------------------------------------------------
   Vivid — bold solid-teal statement section, used sparingly
   for one closing/CTA moment per page.
----------------------------------------------------------- */
section.vivid{
  background: var(--green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
section.vivid::before{
  content:"";
  position:absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  left: -140px; bottom: -200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 68%);
  pointer-events:none;
}
section.vivid .wrap{ position:relative; }
section.vivid .gene-tag{ color: #CFEFEC; }
section.vivid .gene-tag::before{ background: #CFEFEC; }
section.vivid h2, section.vivid h3{ color: #fff; }
section.vivid p{ color: rgba(255,255,255,0.85); }
section.vivid .section-head p{ color: rgba(255,255,255,0.82); }
section.vivid .btn-primary{ background: #fff; color: var(--green-dim); }
section.vivid .btn-primary:hover{ background: var(--ink); color: #fff; }
section.vivid .btn-outline{ color: #fff; border-color: rgba(255,255,255,0.6); }
section.vivid .btn-outline:hover{ background: rgba(255,255,255,0.1); }
section.vivid .card{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}
section.vivid .card p{ color: rgba(255,255,255,0.8); }
section.vivid .card:hover{ border-color: #fff; }
section.vivid .wizard-btn{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
section.vivid .wizard-btn::after{ color: #fff; }
section.vivid .wizard-btn:hover{ border-color: #fff; background: rgba(255,255,255,0.15); }
section.vivid .wizard-btn.active{ border-color: #fff; background: rgba(255,255,255,0.15); }
section.vivid a{ color: #fff; }
section.vivid .notice{ background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }

.section-head{
  max-width: 62ch;
  margin-bottom: 44px;
}
.section-head h2{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(27px, 3.4vw, 38px);
  margin: 14px 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.18;
}
.section-head p{
  color: var(--ink-soft);
  font-size: 16px;
  margin:0;
}
.deep .section-head p{ color: rgba(255,255,255,0.72); }

.grid{
  display:grid;
  gap: 24px;
}
.grid.cols-4{ grid-template-columns: repeat(4, 1fr); }
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){
  .grid.cols-4{ grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .grid.cols-2{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .grid.cols-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
}
.card:hover{
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(16,42,67,0.07);
  transform: translateY(-2px);
}
.deep .card{
  background: rgba(255,255,255,0.03);
  border-color: var(--line-deep);
}
.deep .card:hover{ border-color: #7BD1CA; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.card h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin: 14px 0 10px;
  line-height:1.3;
  letter-spacing:-0.01em;
}
.card p{
  color: var(--ink-soft);
  font-size: 15.5px;
  margin:0;
}
.deep .card p{ color: rgba(255,255,255,0.7); }

hr.rule{
  border:none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.ladder{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 10px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.on-deep .ladder,
.deep .ladder{ border-color: var(--line-deep); }

footer.site{
  background: var(--deep-ink);
  color: #B9CBD4;
  padding: 50px 0 34px;
  font-size: 14px;
}
footer.site .wrap{
  display:flex;
  justify-content: space-between;
  flex-wrap:wrap;
  gap: 24px;
}
footer.site a{ color: rgba(255,255,255,0.85); text-decoration:none; }
footer.site a:hover{ color: #7BD1CA; }
footer.site .cols{ display:flex; gap: 56px; flex-wrap:wrap; }
footer.site h4, footer.site .foot-label{
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 12px;
}
footer.site ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
footer.site .legal{ margin-top: 30px; font-size: 12.5px; color: rgba(255,255,255,0.4); }

.badge-letter{
  display:inline-flex;
  align-items:center; justify-content:center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--green);
  color: var(--green-dim);
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
}
.deep .badge-letter{ color: #7BD1CA; border-color: #7BD1CA; }

.notice{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  background: rgba(12,119,114,0.03);
}
.deep .notice{ border-color: var(--line-deep); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.03); }

.page-header{
  background: var(--deep);
  color: var(--paper);
  padding: 60px 0 64px;
  position: relative;
  overflow:hidden;
}
.page-header::before{
  content:"";
  position:absolute;
  right:-12%; top:-50%;
  width:480px; height:480px;
  background: radial-gradient(circle, rgba(12,119,114,0.28), transparent 65%);
  pointer-events:none;
}
.page-header::after{
  content:"";
  position:absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(123,209,202,0.22);
  border-radius: 50%;
  right: -40px; top: 10%;
  transform: rotate(-20deg);
  pointer-events:none;
}
.page-header .wrap{ position:relative; }
.page-header h1{
  font-family: var(--display);
  font-weight:800;
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
  line-height:1.12;
}
.page-header p{
  max-width: 58ch;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin:0;
}

.prose{ max-width: 68ch; }
.prose p{ margin: 0 0 18px; color: var(--ink-soft); font-size: 17px; }
.prose h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin: 40px 0 14px;
  letter-spacing:-0.02em;
}

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items:start;
}
@media (max-width: 880px){
  .two-col{ grid-template-columns: 1fr; }
}

.stat{ padding: 18px 0; }
.stat .n{ font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--green-dim); }
.deep .stat .n{ color: #7BD1CA; }
.stat .l{ font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing:.1em; text-transform: uppercase; color: var(--ink-soft); }
.deep .stat .l{ color: rgba(255,255,255,0.6); }

form.contact{ display:flex; flex-direction:column; gap:16px; max-width: 520px; }
form.contact label{
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing:.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display:block;
}
form.contact input,
form.contact select,
form.contact textarea{
  width:100%;
  font-family: var(--body);
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus{
  outline:none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12,119,114,0.15);
}
.badge-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:36px 28px;
}
.badge-item{
  width:180px;
  text-align:center;
}
.badge-icon{
  width:74px; height:74px;
  border-radius:50%;
  border:2px solid var(--badge-color, var(--green));
  color: var(--badge-color, var(--green));
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 14px;
  transition: transform .2s var(--ease);
}
.badge-item:hover .badge-icon{ transform: translateY(-3px); }
.badge-icon svg{ width:34px; height:34px; }
.badge-item h4{
  font-family: var(--display);
  font-size:15px;
  font-weight:700;
  margin:0 0 6px;
  color: var(--ink);
}
.badge-item .tagline{
  font-family: var(--body);
  font-size:11px;
  line-height:1.5;
  color: var(--ink-soft);
  margin:0;
}

.pillars-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillars-bento{
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap:24px;
}
.pillars-bento .pillar-feature{
  grid-row: 1 / 3;
  align-items:flex-start;
  text-align:left;
  padding: 40px 36px;
}
.pillars-bento .pillar-feature .pillar-icon{ margin: 0 0 24px; }
.pillars-bento .pillar-card:not(.pillar-feature){
  display:grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  text-align:left;
  align-items:start;
  padding: 26px 24px;
}
.pillars-bento .pillar-card:not(.pillar-feature) .pillar-icon{
  grid-row: 1 / 5;
  width:56px; height:56px;
  margin:0;
}
.pillars-bento .pillar-card:not(.pillar-feature) .pillar-icon svg{ width:26px; height:26px; }
.pillars-bento .pillar-card:not(.pillar-feature) h4, .pillars-bento .pillar-card:not(.pillar-feature) h3{ grid-column:2; margin:0 0 6px; }
.pillars-bento .pillar-card:not(.pillar-feature) p{ grid-column:2; margin:0 0 14px; }
.pillars-bento .pillar-card:not(.pillar-feature) .btn{ grid-column:2; }
@media (max-width: 760px){
  .pillars-bento{ grid-template-columns:1fr; }
  .pillars-bento .pillar-feature{ grid-row:auto; }
}
.pillar-card{
  background: var(--paper);
  border:none;
  border-radius:0;
  padding:36px 30px 30px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition: background .2s var(--ease);
}
.pillar-card:hover{
  background: var(--paper-dim);
}
.pillar-icon{
  width:72px; height:72px;
  border-radius:50%;
  background: var(--pillar-color, var(--green));
  border: none;
  color: var(--pillar-icon-color, #fff);
  display:flex; align-items:center; justify-content:center;
  margin:0 0 20px;
  flex-shrink:0;
  box-shadow: 0 8px 20px rgba(16,42,67,0.14);
  transition: transform .3s var(--ease);
}
.pillar-card:hover .pillar-icon{ transform: scale(1.05); }
.pillar-icon svg{ width:32px; height:32px; }
.pillar-card h4, .pillar-card h3, .pillar-card h2{
  font-family: var(--display);
  font-size:19px;
  font-weight:700;
  margin:0 0 12px;
  color: var(--ink);
  letter-spacing:-0.01em;
}
.pillar-card p{
  font-family: var(--body);
  font-size:14.5px;
  line-height:1.6;
  color: var(--ink-soft);
  margin:0 0 22px;
}
.pillar-card .btn{ margin-top:auto; }
.pillar-card .pillar-actions{
  display:flex;
  gap:10px;
  margin-top:auto;
  flex-wrap:wrap;
  justify-content:center;
}
.pillar-card .pillar-actions .btn{ margin-top:0; }
@media (max-width: 760px){
  .pillars-grid{ grid-template-columns:1fr; }
}

.tag-line{
  text-align:center;
  font-family: var(--body);
  font-weight: 600;
  font-size:12.5px;
  letter-spacing:.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.tag-line.on-light{ color: var(--ink-soft); }

.jump-nav{
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 70px;
  z-index: 40;
}
.jump-nav .wrap{
  display:flex;
  align-items:center;
  gap: 12px;
}
.jump-nav label{
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.jump-nav select{
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 12px;
  cursor:pointer;
}
.jump-nav select:focus{
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

form.contact textarea{ resize: vertical; min-height: 120px; }

.wizard-question{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.wizard-btn{
  flex:1 1 260px;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 700;
  text-align:left;
  padding: 22px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor:pointer;
  transition: border-color .18s ease, background .18s ease, transform .16s var(--ease);
}
.wizard-btn::after{
  content:"→";
  float:right;
  color: var(--green-dim);
  transition: transform .18s var(--ease);
}
.wizard-btn:hover{
  border-color: var(--green);
  transform: translateY(-2px);
}
.wizard-btn:hover::after{ transform: translateX(3px); }
.wizard-btn.active{
  border-color: var(--green);
  background: rgba(12,119,114,0.06);
}
.wizard-panel{
  margin-top: 24px;
  animation: rise .35s var(--ease) both;
}
.wizard-panel[hidden]{ display:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .card, .pillar-card, .pillar-icon, .badge-icon, .nav .mark svg, .wizard-btn{ transition:none; }
  .hero .gene-tag, .hero h1, .hero p.lede, .hero .tag-line, .hero-actions{
    animation:none; opacity:1; transform:none;
  }
  .wizard-panel{ animation:none; }
}

/* Four-card pillar row (Research -> Collaboration -> IRB -> Research Education) */
.pillars-grid.cols-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px){
  .pillars-grid.cols-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .pillars-grid.cols-4{ grid-template-columns: 1fr; }
}
.pillar-list{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pillar-list li{ margin-bottom: 10px; }
.pillar-list strong{
  display: block;
  color: var(--ink);
  font-weight: 700;
}

/* Compact labels for lists of partnership types */
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  display:inline-block;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--paper);
  padding:9px 15px;
  font-size:14.5px;
  font-weight:600;
  color:var(--green-dim);
}

/* Primary button on dark backgrounds: light fill so it stays visible */
.hero .btn-primary,
section.deep .btn-primary,
.page-header .btn-primary{
  background: #FBFCFC;
  color: var(--ink);
}
.hero .btn-primary:hover,
section.deep .btn-primary:hover,
.page-header .btn-primary:hover{
  background: var(--green);
  color: #fff;
}

/* Compact two-column list for secondary offerings */
.service-list{
  list-style: none;
  columns: 2;
  column-gap: 40px;
  max-width: 820px;
  margin: 18px 0;
  padding: 0;
}
.service-list li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  break-inside: avoid;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.service-list li::before{
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
@media (max-width: 640px){ .service-list{ columns: 1; } }

/* Rows of cards that pair up and share a height */
.align-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px){
  .align-grid{ grid-template-columns: 1fr; }
}

/* Visually hidden, still read by screen readers and search engines */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.fine{ font-size:12.5px; line-height:1.5; color:var(--ink-soft); margin:22px 0 0; }
.fine a{ text-decoration:underline; }
section.vivid .fine, .deep .fine{ color:rgba(255,255,255,0.78); }

/* --- launch additions --- */
.skip-link{ position:absolute; left:-9999px; top:0; z-index:1000; background:#fff; color:#102A43; padding:10px 16px; border-radius:0 0 6px 0; font-weight:600; }
.skip-link:focus{ left:0; }
.jump-nav .jump-label{ font-family: var(--body); font-weight:700; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color: var(--ink-soft); }
.jump-nav ul{ list-style:none; display:flex; flex-wrap:wrap; gap:6px 18px; margin:0; padding:0; }
.jump-nav ul a{ font-family: var(--body); font-size:14.5px; color: var(--ink); text-decoration:none; border-bottom:1px solid var(--line); }
.jump-nav ul a:hover{ color: var(--green-dim); border-bottom-color: var(--green-dim); }
@media (max-width: 760px){ .jump-nav .wrap{ flex-direction:column; align-items:flex-start; gap:6px; } .jump-nav{ position:static; } }

/* Education page: tighter vertical rhythm */
.edu-tight section:not(.page-header){ padding:52px 0; }
.edu-tight .section-head{ margin-bottom:22px; }
.edu-tight .section-head p[style*="italic"]{ margin:4px 0 12px !important; max-width:62ch !important; font-size:18px !important; line-height:1.45 !important; }
.edu-tight .grid{ gap:14px; }
.edu-tight #academy{ padding-bottom:28px; }

/* Education: course title leads, headline becomes the subtitle */
.edu-tight .course-title{ display:block; font-family:var(--display); font-weight:800; font-size:clamp(28px,3.6vw,40px); letter-spacing:-0.03em; text-transform:none; color:var(--deep); line-height:1.15; }
.edu-tight .course-title::before{ display:none; }
.edu-tight .course-title .num{ color:var(--green); margin-right:.4em; }
.edu-tight .course-title + h2{ font-family:var(--body); font-weight:600; font-size:clamp(17px,1.8vw,20px); letter-spacing:0; line-height:1.35; margin:8px 0 10px; color:var(--green); }
.edu-tight .edu-two{ grid-template-columns:1fr; }
@media (max-width:900px){ .edu-tight .edu-two{ grid-template-columns:1fr; } .edu-tight .edu-two ul{ columns:1 !important; } }
@media (min-width:601px) and (max-width:900px){ .edu-tight .edu-two ul{ columns:2 !important; } }

/* anchored sections clear the sticky header and jump-nav */
html{ scroll-padding-top:140px; }
@media (max-width:760px){ html{ scroll-padding-top:90px; } }

.doc-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:10px 28px; }
.doc-list li{ position:relative; padding-left:20px; }
.doc-list li::before{ content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:50%; background:var(--green); }
#what-to-send .section-head{ margin-bottom:18px; }
#what-to-send .card{ padding:20px 26px; }
@media (max-width:760px){ .doc-list{ grid-template-columns:1fr; } }

form.contact.wide{ max-width:none; display:grid; grid-template-columns:repeat(2,1fr); gap:14px 24px; }
form.contact.wide .full{ grid-column:1 / -1; }
form.contact.wide textarea{ min-height:90px; }
form.contact.wide .form-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; }
@media (max-width:760px){ form.contact.wide{ grid-template-columns:1fr; } }

/* IRB fees table: stack details under type and fee on phones */
@media (max-width:640px){
  #fees thead{display:none}
  #fees tbody tr{display:grid;grid-template-columns:1fr auto;column-gap:12px;padding:8px 0}
  #fees tbody td{display:block;padding:2px 12px !important}
  #fees tbody td[colspan]{grid-column:1/-1;padding:9px 12px 3px !important}
  #fees tbody td:nth-child(2){font-weight:600;text-align:right}
  #fees tbody td:nth-child(3){grid-column:1/-1;font-size:14.5px;padding-top:0 !important}
}

/* Fellowship certificate card: text left, PGNI stamp right */
.pillar-card.fellow-card{ flex-direction:row; align-items:center; justify-content:space-between; gap:40px; text-align:left; border:1px solid var(--line); padding:36px 40px; }
.fellow-card .fc-text{ flex:1 1 auto; min-width:0; }
.fellow-card h3{ font-size:clamp(22px,2.6vw,28px); line-height:1.25; margin:0 0 10px; }
.fellow-card .fc-line{ margin:0 0 20px; color:var(--ink-soft); line-height:1.5; max-width:52ch; }
.fellow-card .fc-stamp{ flex:0 0 auto; width:150px; height:150px; border-radius:50%; background:#fff; box-shadow:0 8px 20px rgba(16,42,67,.12); }
.fellow-card .fc-stamp img{ width:150px; height:150px; display:block; }
.pillar-card.fellow-card .pillar-actions{ justify-content:flex-start; }
@media (max-width:700px){ .pillar-card.fellow-card{ flex-direction:column-reverse; align-items:flex-start; gap:20px; padding:24px; } .fellow-card .fc-stamp, .fellow-card .fc-stamp img{ width:112px; height:112px; } }
