/* TIES · UNIFEI — identidade modular, editorial e tecnológica
   Referência de composição: quadros institucionais, destaque editorial,
   painéis das linhas de pesquisa e grade de navegação temática. */
:root {
  --navy: #0b2e46;
  --navy-2: #16445f;
  --blue: #1b6d91;
  --blue-2: #2c8ba6;
  --teal: #43b7ad;
  --mint: #dff4ee;
  --rose: #c98f92;
  --lime: #d5ed75;
  --ink: #243743;
  --muted: #65747b;
  --paper: #fff;
  --surface: #f5f7f6;
  --surface-2: #eaf0ef;
  --line: #d4dddc;
  --rule: #b9c4c2;
  --max: 1320px;
  --pad: clamp(22px, 4vw, 64px);
  --shadow: 0 18px 50px rgba(11,46,70,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { color: var(--navy); background: var(--mint); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 10px; }
.topbar { background: var(--navy); color: #e3edf0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: #fff; opacity: .85; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.masthead-grid { display: grid; grid-template-columns: 140px minmax(170px, 1fr) 1.75fr auto; min-height: 92px; align-items: stretch; }
.brand-cell, .identity-cell, .menu-toggle, .nav a, .language-cell { border-right: 1px solid var(--rule); }
.brand-cell { display: flex; align-items: center; justify-content: center; padding: 12px 18px; }
.brand-logo { width: 112px; max-height: 64px; object-fit: contain; }
.identity-cell { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 12px 24px; }
.identity-overline { color: var(--muted); font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; }
.identity-cell strong { color: var(--navy); font-size: 1.38rem; line-height: 1.15; letter-spacing: .08em; }
.identity-cell > span:last-child { max-width: 290px; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.nav { display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); grid-template-rows: repeat(2, 1fr); }
.nav a { display: flex; align-items: center; justify-content: center; padding: 8px 12px; border-bottom: 1px solid var(--line); color: #4c5e66; font-size: .69rem; letter-spacing: .04em; text-align: center; transition: background .2s, color .2s; }
.nav a:nth-child(n+4) { border-bottom: 0; }
.nav a:nth-child(3n) { border-right: 0; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); background: var(--mint); }
.language-cell { display: flex; align-items: center; justify-content: center; gap: 0; border-right: 0; }
.language-cell a { min-width: 35px; padding: 12px 8px; color: var(--muted); font-size: .72rem; text-align: center; }
.language-cell a + a { border-left: 1px solid var(--line); }
.language-cell a.active { color: var(--navy); font-weight: 800; background: #f1f5f4; }
.menu-toggle { display: none; }

/* Hero and institutional frame */
.hero { background: #fff; }
.hero-frame { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .8fr); border-bottom: 1px solid var(--rule); }
.frame-cell { position: relative; min-height: 410px; padding: clamp(34px, 5.5vw, 76px) clamp(24px, 4vw, 62px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-right: 1px solid var(--rule); }
.eyebrow, .kicker { color: var(--blue); font-size: .68rem; font-weight: 750; letter-spacing: .19em; line-height: 1.45; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 20px 0 17px; color: var(--navy); font-size: clamp(2.55rem, 5.4vw, 5.2rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
.hero-copy > p { max-width: 720px; margin: 0; color: #586a72; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 17px; border: 1px solid var(--navy); font-size: .79rem; font-weight: 750; letter-spacing: .03em; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--mint); }
.hero-panel { display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #f7f8f6; }
.status-pill { align-self: flex-start; margin-bottom: 23px; padding: 7px 11px; border: 1px solid #b7d5cc; color: #286e66; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-panel > strong { max-width: 300px; color: var(--navy); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.15; }
.hero-panel > p { max-width: 440px; margin: 15px 0 23px; color: #68777d; font-size: .92rem; }
.hero-panel-foot { display: flex; gap: 11px; align-items: center; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.hero-index-mark { position: absolute; right: 20px; bottom: 12px; color: rgba(11,46,70,.09); font-size: 3rem; font-weight: 850; letter-spacing: -.07em; }

/* Central rotating feature */
.spotlight-section { padding: clamp(52px, 7vw, 92px) 0 clamp(55px, 7vw, 90px); color: #fff; background: var(--navy); }
.spotlight-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.spotlight-section .kicker { color: #8fd0c5; }
.spotlight-heading-row h2 { margin: 8px 0 0; color: #fff; font-size: clamp(2rem, 3.3vw, 3.15rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.spotlight-controls { display: flex; align-items: center; gap: 8px; }
.spotlight-counter { margin-right: 10px; color: #d7e6e8; font-size: .76rem; letter-spacing: .14em; }
.spotlight-counter i { padding: 0 4px; color: #7fa0a9; font-style: normal; }
.spotlight-arrow { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.38); color: #fff; background: transparent; cursor: pointer; font-size: 1.25rem; transition: background .2s, color .2s; }
.spotlight-arrow:hover, .spotlight-arrow:focus-visible { color: var(--navy); background: var(--mint); }
.spotlight-carousel { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.22); background: #103b55; }
.spotlight-slide { min-height: 405px; display: grid; grid-template-columns: .9fr 1.1fr; }
.spotlight-slide[hidden] { display: none; }
.spotlight-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 68px); }
.spotlight-kicker { color: #a1d9d0; font-size: .67rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.spotlight-copy h3 { max-width: 580px; margin: 17px 0; color: #fff; font-size: clamp(1.65rem, 3vw, 3rem); font-weight: 520; letter-spacing: -.045em; line-height: 1.08; }
.spotlight-copy p { max-width: 510px; margin: 0 0 20px; color: #cad8dc; font-size: .94rem; }
.spotlight-copy .text-link { color: #9bddd1; }
.spotlight-results { display: flex; gap: 22px; margin: 4px 0 20px; }
.spotlight-results span { color: #cbdde0; font-size: .75rem; }
.spotlight-results strong { display: block; color: #fff; font-size: 1.8rem; line-height: 1.2; }
.spotlight-visual { position: relative; min-height: 405px; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; background: #d8e8e3; }
.spotlight-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .65; background-image: linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 34px 34px; }
.spotlight-visual--integration { color: #fff; background: radial-gradient(circle at 58% 48%, #3aa69e 0 12%, transparent 12.5%), linear-gradient(135deg,#176b91,#0a2f49 70%); }
.spotlight-visual--msu { color: #fff; background: radial-gradient(circle at 68% 42%, #6b9ca0 0 4%, transparent 4.5%), linear-gradient(135deg,#162f48,#176a7b); }
.spotlight-visual--innovation { color: #fff; background: linear-gradient(135deg,#c58e8b,#7c5968 55%,#173d55); }
.visual-word { position: relative; z-index: 2; color: rgba(255,255,255,.94); font-size: clamp(4rem, 9vw, 9rem); font-weight: 850; letter-spacing: -.09em; line-height: .88; text-align: center; text-shadow: 0 12px 35px rgba(0,0,0,.12); }
.visual-caption { position: absolute; left: 30px; bottom: 27px; z-index: 3; color: rgba(255,255,255,.8); font-size: .63rem; font-weight: 800; letter-spacing: .19em; }
.visual-index { position: absolute; right: 28px; top: 23px; color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .15em; }
.visual-orbit { position: absolute; width: 63%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; transform: rotate(-24deg) scaleY(.46); }
.orbit-one { box-shadow: 0 0 0 30px rgba(255,255,255,.04),0 0 0 66px rgba(255,255,255,.035); }
.orbit-two { width: 75%; transform: rotate(52deg) scaleY(.28); border-color: rgba(177,235,221,.75); }
.visual-cross { position: absolute; width: 44%; height: 44%; border: 1px solid rgba(255,255,255,.23); transform: rotate(45deg); }
.lattice { position: absolute; width: 75%; height: 65%; border: 1px solid rgba(255,255,255,.26); transform: rotate(28deg) skew(-18deg); background: repeating-linear-gradient(0deg, transparent 0 24px, rgba(255,255,255,.19) 25px 26px), repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.19) 25px 26px); }
.lattice-b { width: 52%; height: 82%; transform: rotate(-28deg) skew(18deg); opacity: .48; }
.innovation-block { position: absolute; border: 1px solid rgba(255,255,255,.45); transform: rotate(35deg); }
.block-a { width: 43%; height: 43%; left: 13%; top: 20%; background: rgba(255,255,255,.07); }
.block-b { width: 28%; height: 60%; right: 14%; top: 17%; background: rgba(13,44,65,.2); }
.block-c { width: 70%; height: 15%; left: 13%; bottom: 12%; background: rgba(255,255,255,.08); }
.spotlight-dots { display: flex; justify-content: center; gap: 9px; padding-top: 19px; }
.spotlight-dot { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.spotlight-dot.is-active { background: #8fd0c5; }

/* Four research panels — abstract placeholders can later be replaced by line logos and photographs. */
.research-showcase { padding: clamp(58px, 7vw, 96px) 0 52px; background: #fff; }
.research-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading h2, .directory-heading h2, .content-main h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3.35rem); font-weight: 520; letter-spacing: -.05em; line-height: 1.05; }
.lead { color: #60717a; font-size: 1rem; line-height: 1.75; }
.research-heading .lead { max-width: 570px; margin: 0; }
.research-panels { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--rule); }
.research-panel { min-width: 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; background: #fff; transition: background .25s; }
.research-panel:last-child { border-right: 0; }
.research-panel:hover { background: #f8faf9; }
.research-art { position: relative; height: clamp(180px, 19vw, 255px); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 22px; isolation: isolate; color: #fff; }
.research-art::before, .research-art::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.research-art::before { inset: 0; opacity: .75; background-image: linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px); background-size: 25px 25px; }
.research-art--msu { background: radial-gradient(circle at 74% 29%, #78b6b1 0 5%, transparent 5.5%), linear-gradient(135deg,#14334b,#1f6d7c); }
.research-art--msu::after { width: 60%; aspect-ratio: 1; right: -9%; top: 3%; border: 1px solid rgba(255,255,255,.55); transform: rotate(45deg); box-shadow: 0 0 0 18px rgba(255,255,255,.055),0 0 0 38px rgba(255,255,255,.045),0 0 0 58px rgba(255,255,255,.035); }
.research-art--fdt { background: radial-gradient(circle at 68% 42%, #86b7c5 0 4%, transparent 4.5%), linear-gradient(135deg,#163f5e,#267f9e); }
.research-art--fdt::after { width: 75%; aspect-ratio: 1; right: -18%; top: -8%; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 12px rgba(255,255,255,.045),0 0 0 34px rgba(255,255,255,.05),0 0 0 58px rgba(255,255,255,.04); }
.research-art--eco { background: radial-gradient(ellipse at 77% 23%, #91c9a8 0 10%, transparent 10.5%), linear-gradient(135deg,#1b594e,#7e9b68); }
.research-art--eco::after { width: 55%; height: 75%; right: 0; top: 2%; border: 1px solid rgba(255,255,255,.55); border-radius: 100% 0 100% 0; transform: rotate(35deg); box-shadow: -24px 12px 0 -1px rgba(255,255,255,.06),-48px 24px 0 -1px rgba(255,255,255,.05); }
.research-art--ai { background: radial-gradient(circle at 70% 38%, #88a6d9 0 4%, transparent 4.5%), linear-gradient(135deg,#252f5a,#3e6d92); }
.research-art--ai::after { inset: 10% 9%; background: radial-gradient(circle,rgba(255,255,255,.75) 0 2px,transparent 3px),linear-gradient(27deg,transparent 49.6%,rgba(255,255,255,.22) 50%,transparent 50.4%),linear-gradient(145deg,transparent 49.6%,rgba(255,255,255,.2) 50%,transparent 50.4%); background-size: 35px 35px,100% 100%,100% 100%; }
.art-code { position: relative; z-index: 2; font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 850; letter-spacing: -.07em; line-height: 1; }
.art-note { position: relative; z-index: 2; margin-top: 9px; font-size: .6rem; font-weight: 750; letter-spacing: .16em; line-height: 1.45; }
.art-shape { position: absolute; z-index: 1; inset: 0; }
.research-panel-copy { padding: 22px 22px 25px; display: flex; flex-direction: column; flex: 1; }
.research-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--blue); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.research-panel h3 { min-height: 68px; margin: 15px 0 9px; color: var(--navy); font-size: 1.04rem; font-weight: 650; line-height: 1.25; }
.research-panel p { margin: 0 0 17px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.line-counts { display: flex; flex-wrap: wrap; gap: 10px 17px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: #687981; font-size: .7rem; }
.line-counts strong { color: var(--navy); font-size: 1.02rem; }
.note { color: #74838a; font-size: .76rem; line-height: 1.6; }
.section-note { margin-top: 17px; }

/* Directory grid: framed navigation to the other areas of the laboratory. */
.directory-section { padding: clamp(58px, 7vw, 92px) 0; background: #f3f5f3; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.directory-heading { margin-bottom: 28px; }
.directory-heading .lead { max-width: 700px; margin: 13px 0 0; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.directory-card { position: relative; min-height: 255px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px 25px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(255,255,255,.78); transition: background .25s, transform .25s; }
.directory-card:hover { z-index: 1; background: #fff; transform: translateY(-3px); }
.directory-number { color: var(--blue); font-size: .63rem; font-weight: 800; letter-spacing: .16em; }
.directory-symbol { position: absolute; right: 26px; top: 18px; color: #c78d91; font-size: 2rem; font-weight: 300; }
.directory-card h3 { margin: 29px 0 6px; color: var(--navy); font-size: 1.65rem; font-weight: 520; letter-spacing: -.035em; }
.directory-card p { max-width: 330px; margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.directory-link { display: flex; align-items: center; gap: 14px; margin-top: auto; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.directory-link b { font-size: 1rem; transition: transform .2s; }
.directory-card:hover .directory-link b { transform: translateX(4px); }

/* Detail sections use a consistent framed layout with a narrow numbered label column. */
.content-section { padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
.section-tint { background: #f6f8f7; }
.content-frame { display: grid; grid-template-columns: 170px minmax(0,1fr); border: 1px solid var(--rule); background: #fff; }
.content-label { display: flex; flex-direction: column; gap: 10px; padding: 28px 22px; border-right: 1px solid var(--rule); color: var(--blue); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.content-label span:first-child { color: #c98f92; font-size: 1.3rem; letter-spacing: 0; }
.content-main { min-width: 0; padding: clamp(28px, 4.5vw, 62px); }
.content-main > .kicker { margin-bottom: 9px; }
.content-main > .lead { max-width: 920px; margin: 18px 0 20px; }
.content-main > p:not(.lead):not(.note) { max-width: 920px; }
.content-main > .text-link { display: inline-block; margin-top: 8px; }
.content-aside { padding: clamp(28px, 4vw, 52px); border-left: 1px solid var(--rule); background: #f4f7f5; }
.content-aside > p { color: #61727a; font-size: .9rem; }
.meta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.meta-grid > div { min-height: 90px; padding: 13px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.meta-grid span { display: block; color: var(--muted); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.meta-grid strong { display: block; margin-top: 7px; color: var(--navy); font-size: 1.05rem; }
.meta-grid .small-strong { font-size: .78rem; line-height: 1.45; }
.text-link { color: var(--blue); font-size: .82rem; font-weight: 800; border-bottom: 1px solid rgba(27,109,145,.35); padding-bottom: 3px; }
.text-link:hover { color: var(--navy); border-color: var(--navy); }
.future-section { margin-top: 24px; padding: 25px; border: 1px dashed #adbfbe; background: linear-gradient(135deg,#fbfcfa,#f0f5f3); }
.future-label { color: var(--blue); font-size: .65rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.future-section h3 { margin: 10px 0 20px; max-width: 850px; color: var(--navy); font-size: 1.17rem; font-weight: 550; line-height: 1.35; }
.future-section p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.future-slots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.future-slots article { min-height: 95px; padding: 14px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: .8rem; font-weight: 800; }
.future-slots small { display: block; margin-top: 7px; color: var(--muted); font-size: .7rem; font-weight: 400; line-height: 1.45; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.card { padding: 20px; border: 1px solid var(--line); background: #fff; }
.card-icon { color: #c98f92; font-size: 1.4rem; font-weight: 850; }
.card h3 { margin: 10px 0 6px; color: var(--navy); font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: .8rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 24px 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.stat { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat strong { color: var(--navy); font-size: clamp(2rem,4vw,3rem); font-weight: 520; letter-spacing: -.05em; line-height: 1; }
.stat span { margin-top: 8px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.partner-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); list-style: none; }
.partner-list li { min-height: 68px; display: flex; align-items: center; padding: 14px 17px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: #425760; font-size: .86rem; }
.production-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.production-stats > div { min-height: 145px; display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; border: 1px solid var(--rule); background: #fff; }
.production-stats strong { color: var(--navy); font-size: 3rem; font-weight: 500; line-height: 1; }
.production-stats span { margin-top: 8px; color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

/* Contact/footer */
.cta { padding: clamp(52px,7vw,82px) 0; color: #fff; background: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta .kicker { color: #91d2c7; }
.cta h2 { max-width: 780px; margin: 10px 0 12px; color: #fff; font-size: clamp(2rem,4vw,3.65rem); font-weight: 520; letter-spacing: -.05em; line-height: 1.05; }
.cta p { max-width: 700px; color: #c8d8dc; }
.contact-details { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; color: #b7ccd1; font-size: .76rem; }
.cta .btn-primary { flex: 0 0 auto; border-color: #fff; background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: var(--mint); }
.site-footer { padding: 45px 0 20px; color: #d7e4e7; background: #071e2d; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.1fr; gap: 45px; padding-bottom: 32px; }
.site-footer h3 { margin: 0 0 13px; color: #fff; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer p, .site-footer a { display: block; color: #b7c9cd; font-size: .79rem; line-height: 1.7; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: min(240px,100%); max-height: 74px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.copyright { padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); color: #9bb1b7; font-size: .7rem; line-height: 1.65; }
.copyright span { color: #809ba3; }

@media (max-width: 1120px) {
  .masthead-grid { grid-template-columns: 115px minmax(145px,1fr) 1.7fr auto; }
  .brand-logo { width: 95px; }
  .identity-cell { padding-inline: 15px; }
  .nav a { padding-inline: 7px; font-size: .64rem; }
  .research-panels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .research-panel:nth-child(2) { border-right: 0; }
  .research-panel:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .research-art { height: 230px; }
}
@media (max-width: 820px) {
  .topbar-inner { min-height: 32px; font-size: .62rem; }
  .masthead-grid { grid-template-columns: 95px 1fr auto; min-height: 76px; }
  .brand-cell { grid-row: 1; grid-column: 1; border-bottom: 1px solid var(--rule); }
  .brand-logo { width: 75px; max-height: 53px; }
  .identity-cell { grid-row: 1; grid-column: 2; border-bottom: 1px solid var(--rule); }
  .identity-cell strong { font-size: 1.15rem; }
  .identity-cell > span:last-child { font-size: .65rem; }
  .menu-toggle { grid-row: 1; grid-column: 3; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 0; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--navy); background: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
  .nav { display: none; grid-row: 2; grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--rule); }
  .nav.open { display: grid; }
  .nav a { min-height: 44px; border-bottom: 1px solid var(--line) !important; border-right: 1px solid var(--line) !important; }
  .nav a:nth-child(2n) { border-right: 0 !important; }
  .language-cell { grid-row: 3; grid-column: 1 / -1; justify-content: flex-end; min-height: 38px; border-top: 0; }
  .language-cell a { padding: 8px 13px; }
  .hero-frame { grid-template-columns: 1fr; }
  .frame-cell { min-height: 0; padding: 44px 28px; }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-panel { min-height: 250px; }
  .spotlight-heading-row { align-items: flex-start; }
  .spotlight-slide { grid-template-columns: 1fr; }
  .spotlight-copy { min-height: 300px; }
  .spotlight-visual { min-height: 300px; }
  .research-heading { grid-template-columns: 1fr; gap: 10px; }
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-frame { grid-template-columns: 95px minmax(0,1fr); }
  .content-label { padding: 24px 13px; font-size: .56rem; }
  .content-aside { grid-column: 2; border-left: 0; border-top: 1px solid var(--rule); }
  .about-frame { grid-template-columns: 95px minmax(0,1fr); }
  .footer-grid { gap: 25px; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .topbar-inner { gap: 8px; letter-spacing: .06em; }
  .topbar-inner span { max-width: 70%; }
  .identity-cell > span:last-child { max-width: 190px; }
  .eyebrow { font-size: .59rem; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(2.45rem,12vw,3.45rem); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .spotlight-heading-row { flex-direction: column; }
  .spotlight-controls { align-self: flex-end; }
  .spotlight-copy { padding: 30px 23px; }
  .spotlight-copy h3 { font-size: 2rem; }
  .spotlight-visual { min-height: 245px; }
  .research-panels { grid-template-columns: 1fr; }
  .research-panel, .research-panel:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .research-panel:last-child { border-bottom: 0; }
  .research-art { height: 225px; }
  .research-panel h3 { min-height: 0; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card { min-height: 215px; }
  .content-frame, .about-frame { grid-template-columns: 1fr; }
  .content-label { flex-direction: row; align-items: center; padding: 13px 20px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .content-label span:first-child { font-size: 1rem; }
  .content-main, .content-aside { padding: 27px 21px; }
  .content-aside { grid-column: 1; }
  .meta-grid { grid-template-columns: 1fr; }
  .future-slots, .cards { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { min-height: 100px; }
  .production-stats { grid-template-columns: 1fr 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Fix: distribute the three direct children of the About section explicitly.
   On wide screens they form three columns; on smaller screens the objective
   panel moves below the introduction instead of collapsing into a narrow track. */
@media (min-width: 1121px) {
  .about-frame {
    grid-template-columns: 112px minmax(0, 1.35fr) minmax(330px, .95fr);
    align-items: stretch;
  }
  .about-frame > .content-label {
    grid-column: 1;
    grid-row: 1;
  }
  .about-frame > .content-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .about-frame > .content-aside {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

@media (max-width: 1120px) {
  .about-frame {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .about-frame > .content-label {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .about-frame > .content-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .about-frame > .content-aside {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
}

.about-frame .meta-grid > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-frame .meta-grid strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .about-frame {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-frame > .content-label {
    grid-column: 1;
    grid-row: 1;
  }
  .about-frame > .content-main {
    grid-column: 1;
    grid-row: 2;
  }
  .about-frame > .content-aside {
    grid-column: 1;
    grid-row: 3;
  }
  .about-frame .meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Research-line Instagram links: active and future destinations share one style. */
.research-social-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.3;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.research-social-link[href]:hover,
.research-social-link[href]:focus-visible {
  color: var(--navy);
  background: var(--mint);
  border-color: var(--teal);
  transform: translateY(-2px);
  outline-offset: 3px;
}
.instagram-glyph {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.6px solid currentColor;
  border-radius: 5px;
  font-size: 1.08rem;
  line-height: 1;
}
.social-arrow { margin-left: 2px; font-size: .9rem; }
.research-social-link.is-pending {
  color: #7a8589;
  background: #f7f9f8;
  border-style: dashed;
  cursor: default;
}
.institution-link { color: #fff; opacity: .9; }
.institution-link:hover, .institution-link:focus-visible { color: #fff; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .research-social-link { margin-top: 15px; }
}


/* Standalone content pages: team, students, LabTIES and scientific output. */
.subpage-hero { padding: clamp(48px,6vw,78px) 0 34px; background: linear-gradient(110deg,#f4f7f6 0%,#fff 72%); border-bottom: 1px solid var(--rule); }
.subpage-hero h1 { max-width: 980px; margin: 8px 0 14px; color: var(--navy); font-size: clamp(2.5rem,5.2vw,4.8rem); font-weight: 520; letter-spacing: -.065em; line-height: .98; }
.subpage-hero p { max-width: 800px; margin: 0 0 18px; color: #60717a; font-size: 1.04rem; }
.back-link { display: inline-block; margin-top: 8px; color: var(--blue); font-size: .76rem; font-weight: 750; border-bottom: 1px solid rgba(27,109,145,.3); }
.page-lead-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: end; gap: 36px; margin-bottom: 32px; }
.page-lead-grid h2 { margin: 8px 0 12px; color: var(--navy); font-size: clamp(2rem,3.6vw,3.2rem); font-weight: 520; letter-spacing: -.05em; line-height: 1.04; }
.page-lead-grid .lead { margin: 0; max-width: 800px; }
.team-numbers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--rule); background: #fff; }
.team-numbers > div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-right: 1px solid var(--rule); }
.team-numbers > div:last-child { border-right: 0; }
.team-numbers strong { color: var(--navy); font-size: 2.7rem; font-weight: 520; line-height: 1; }
.team-numbers span { margin-top: 8px; color: var(--muted); font-size: .68rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.people-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.person-card-detail { min-width: 0; display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 18px; padding: 22px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.person-card-detail:hover { border-color: #9bb8ba; transform: translateY(-2px); }
.person-monogram { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,var(--navy-2),var(--teal)); font-size: 1.2rem; font-weight: 750; letter-spacing: -.04em; }
.person-info { min-width: 0; }
.person-role { display: inline-block; padding: 4px 9px; color: var(--blue); background: #eaf3f3; font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.person-info h3, .collaborator-card h3 { margin: 9px 0 5px; color: var(--navy); font-size: 1.13rem; font-weight: 700; line-height: 1.25; }
.person-area { margin: 0 0 9px !important; color: var(--blue) !important; font-size: .73rem !important; font-weight: 750; line-height: 1.45 !important; }
.person-info p:not(.person-area) { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.62; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; }
.profile-link, .profile-secondary { color: var(--blue); font-size: .72rem; font-weight: 800; border-bottom: 1px solid rgba(27,109,145,.32); }
.profile-secondary { color: #63767c; font-weight: 650; }
.profile-pending { display: inline-block; color: #75858a; font-size: .68rem; font-style: italic; }
.collaborator-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.collaborator-card { padding: 23px; border: 1px solid var(--rule); background: #fff; }
.collaborator-card p { color: var(--muted); font-size: .82rem; }
.collaborator-card .profile-pending { margin-top: 8px; }
.student-groups { display: grid; gap: 20px; margin-top: 32px; }
.student-level { border: 1px solid var(--rule); background: #fff; }
.student-level-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; background: #f3f6f5; border-bottom: 1px solid var(--rule); }
.student-level-heading h3 { margin: 0; color: var(--navy); font-size: 1.2rem; font-weight: 650; }
.student-level-heading span { color: var(--blue); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.student-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style-position: inside; counter-reset: students; }
.student-list li { min-height: 52px; padding: 15px 20px; border-bottom: 1px solid #e8eded; color: #40545e; font-size: .84rem; }
.student-list li:nth-child(odd) { border-right: 1px solid #e8eded; }
.student-list li::marker { color: var(--blue); font-weight: 800; }
.equipment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.equipment-card { min-width: 0; border: 1px solid var(--rule); background: #fff; }
.equipment-card img { display: block; width: 100%; height: 310px; object-fit: cover; background: #eef1ef; }
.equipment-card > div { padding: 21px; }
.equipment-type { color: var(--blue); font-size: .63rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.equipment-card h3, .extension-feature h3 { margin: 8px 0 9px; color: var(--navy); font-size: 1.25rem; font-weight: 650; line-height: 1.2; }
.equipment-card p, .extension-feature p { color: var(--muted); font-size: .83rem; line-height: 1.65; }
.extension-feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 30px; align-items: center; margin-top: 24px; border: 1px solid var(--rule); background: #fff; }
.extension-feature img { width: 100%; height: 430px; object-fit: cover; }
.extension-feature > div { padding: 28px 30px 28px 0; }
.production-stats { max-width: 620px; }
@media (max-width: 980px) {
 .people-list { grid-template-columns: 1fr; }
 .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .equipment-card:last-child { grid-column: 1 / -1; }
 .page-lead-grid { grid-template-columns: 1fr; }
 .team-numbers { max-width: 480px; }
}
@media (max-width: 650px) {
 .person-card-detail { grid-template-columns: 54px minmax(0,1fr); gap: 13px; padding: 16px; }
 .person-monogram { width: 52px; height: 52px; font-size: 1rem; }
 .student-list { grid-template-columns: 1fr; }
 .student-list li:nth-child(odd) { border-right: 0; }
 .equipment-grid, .collaborator-grid { grid-template-columns: 1fr; }
 .equipment-card:last-child { grid-column: auto; }
 .equipment-card img { height: 280px; }
 .extension-feature { grid-template-columns: 1fr; gap: 0; }
 .extension-feature img { height: 300px; }
 .extension-feature > div { padding: 22px; }
 .student-level-heading { padding: 14px 16px; }
}
