/* ═══════════════════════════════════════════════════════════
   TTI — Colectiv Tehnica Tensiunilor Înalte, TUIAȘI
   Stylesheet comun — toate paginile
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0d1b35;
  --navy-mid:     #162947;
  --navy-light:   #1c3560;
  --accent:       #1a6db5;
  --accent-hover: #155ea0;
  --accent-pale:  #dbeafe;
  --accent-vivid: #3b82f6;
  --gold:         #b5922a;
  --text:         #1e2a3a;
  --text-mid:     #475569;
  --text-light:   #64748b;
  --bg:           #f3f6fa;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --border-mid:   #cbd5e1;
  --header-h:     76px;
  --radius:       6px;
  --warn-bg:      #fff7ed;
  --warn-border:  #f59e0b;
  --warn-text:    #92400e;
  --archive-bg:   #f8fafc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-ph {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.header-divider {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.site-title { flex: 1; min-width: 0; }

.site-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-title p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.main-nav {
  background: var(--navy-mid);
  border-bottom: 3px solid var(--accent-vivid);
  position: relative;
  z-index: 190;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: stretch;
}

.nav-list {
  list-style: none;
  display: flex;
  flex: 1;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 44px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}

.nav-list > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.nav-list > li.active > a {
  color: #fff;
  border-bottom-color: var(--accent-vivid);
  background: rgba(255,255,255,0.06);
}

/* dropdown */
.has-dd:hover .dd,
.has-dd:focus-within .dd { display: block; }

.dd {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--navy);
  min-width: 280px;
  border-top: 2px solid var(--accent-vivid);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 300;
}

.dd-section { padding: 0.4rem 0; }
.dd-section + .dd-section { border-top: 1px solid rgba(255,255,255,0.09); }

.dd-label {
  display: block;
  padding: 0.35rem 1rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.dd a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.84rem;
  transition: background 0.15s, color 0.15s;
}

.dd a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-vivid);
  flex-shrink: 0;
  opacity: 0.6;
}

.dd a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.dd a.archived {
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

.dd a.archived::before {
  background: rgba(255,255,255,0.3);
}

/* hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem 0.4rem;
  flex-direction: column;
  gap: 5px;
  align-self: center;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  height: 240px;
  overflow: hidden;
  background: var(--navy);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 1.4s ease, transform 0.45s ease;
}

.hero-panel:hover .hero-img { transform: scale(1.07); }

.hero-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-panel:nth-child(1) .hero-ph { background: linear-gradient(145deg,#0a1e3a,#0d3060); }
.hero-panel:nth-child(2) .hero-ph { background: linear-gradient(145deg,#0d2548,#102e5e); }
.hero-panel:nth-child(3) .hero-ph { background: linear-gradient(145deg,#0a1c36,#0e2a56); }

.hero-ph-icon { font-size: 2.2rem; opacity: 0.18; color: #fff; }
.hero-ph-text { color: rgba(255,255,255,0.25); font-size: 0.75rem; text-align: center; line-height: 1.5; }

/* ─── PAGE LAYOUT ────────────────────────────────────────── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 1.75rem;
  align-items: start;
}

/* ─── PAGE HEADER (for inner pages) ─────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2rem 0 1.75rem;
  border-bottom: 3px solid var(--accent-vivid);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.page-header .breadcrumb {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.page-header .breadcrumb a:hover { color: #fff; }

/* ─── MAIN CONTENT ───────────────────────────────────────── */
.main-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  margin-top: 0.65rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-vivid) 0%, var(--accent-pale) 100%);
  border-radius: 2px;
}

.sub-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.6rem;
}

.main-content p {
  color: var(--text-mid);
  font-size: 0.94rem;
  margin-bottom: 0.85rem;
  text-align: justify;
  hyphens: auto;
}

/* ─── PROFESSOR / MEMBER BLOCK ───────────────────────────── */
.professor-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 0.5rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.professor-block:last-child { border-bottom: none; }

.professor-portrait { flex-shrink: 0; }

.portrait-img,
.portrait-ph {
  width: 130px;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--border-mid);
  display: block;
}

.portrait-ph {
  background: linear-gradient(135deg, #dde5f0 0%, #c2d0e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.4;
}

.portrait-caption {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.professor-info { flex: 1; min-width: 0; }

.professor-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.professor-info .prof-title {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.prof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.75rem 0 1rem;
}

.prof-meta a,
.prof-meta span {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.prof-meta a:hover { color: var(--accent); }

.prof-meta .icon { font-size: 0.9rem; }

.prof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.prof-tag {
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.prof-publications h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-list li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 2px solid var(--accent-pale);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

/* ─── SIDEBAR ────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sb-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.sb-head {
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1rem;
}

.sb-links {
  list-style: none;
  padding: 0.5rem 0;
}

.sb-links li a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  color: var(--text-mid);
  text-decoration: none;
  line-height: 1.45;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.sb-links li a:hover {
  background: var(--accent-pale);
  color: var(--accent);
  border-left-color: var(--accent-vivid);
}

.sb-links li + li { border-top: 1px solid var(--border); }

/* ─── STATS STRIP (Home) ─────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
}

.stat-item {
  background: var(--white);
  padding: 1.1rem 1rem;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

/* ─── DISCIPLINE PAGE ────────────────────────────────────── */
.disc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.disc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.disc-badge {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.disc-badge.active { background: #166534; }
.disc-badge.archived { background: #7f1d1d; }
.disc-badge.level-lic { background: var(--accent); }
.disc-badge.level-master { background: var(--gold); }

/* ─── ARCHIVE NOTICE ─────────────────────────────────────── */
.archive-notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.archive-notice .notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }

.archive-notice p {
  font-size: 0.87rem;
  color: var(--warn-text);
  margin: 0;
  text-align: left;
}

/* ─── ACCORDION (materiale didactice) ────────────────────── */
.accordion { margin-top: 1.25rem; }

.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
  gap: 0.75rem;
}

.acc-trigger:hover { background: var(--accent-pale); }

.acc-trigger.open { background: var(--navy); color: #fff; }

.acc-trigger .acc-icon {
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.acc-trigger.open .acc-icon { transform: rotate(180deg); }

.acc-trigger .acc-count {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  margin-left: auto;
  white-space: nowrap;
}

.acc-body {
  display: none;
  padding: 0.75rem 1.1rem 1rem;
  background: var(--white);
}

.acc-body.open { display: block; }

.acc-semester {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0.85rem 0 0.45rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
}

.acc-semester:first-child { margin-top: 0; }

.pdf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--border);
}

.pdf-list li:last-child { border-bottom: none; }

.pdf-list a {
  font-size: 0.87rem;
  color: var(--accent);
  text-decoration: none;
  flex: 1;
  line-height: 1.4;
  transition: color 0.15s;
}

.pdf-list a:hover { color: var(--accent-hover); text-decoration: underline; }

.pdf-list .pdf-icon {
  font-size: 1rem;
  color: #dc2626;
  flex-shrink: 0;
}

.pdf-list .pdf-num {
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 1.4rem;
  text-align: right;
}

.placeholder-note {
  font-size: 0.84rem;
  color: var(--text-light);
  font-style: italic;
  padding: 0.5rem 0;
}

/* ─── LABORATOR PAGE ─────────────────────────────────────── */
.lab-list {
  margin: 0.5rem 0 1.25rem 1.4rem;
  padding: 0;
}

.lab-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}


.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.lab-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy);
  aspect-ratio: 4/3;
  position: relative;
}

.lab-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lab-img-card:hover img { transform: scale(1.05); }

.lab-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0a1e3a, #0d3060);
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  text-align: center;
}

/* ─── MEDIA PAGE ─────────────────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.2s;
}

.media-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.media-thumb {
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb .play-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.8);
}

.media-card-title {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ─── CERCETARE PAGE ─────────────────────────────────────── */
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
  background: var(--white);
  border-left: 4px solid var(--accent-vivid);
  transition: box-shadow 0.2s;
}

.project-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.08); }

.project-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.project-card .proj-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.project-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  margin: 0;
  text-align: left;
}

/* ─── PUBLICATION LIST ───────────────────────────────────── */
.pub-list {
  margin: 0.5rem 0 1.5rem 1.4rem;
  padding: 0;
}

.pub-list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  padding-left: 0.3rem;
}

.pub-list li a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.pub-list li a:hover { text-decoration: underline; }

/* ─── CONTACT PAGE ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent-pale);
}

.contact-block p,
.contact-block a {
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  line-height: 1.7;
  display: block;
}

.contact-block a:hover { color: var(--accent); }

.contact-map { padding: 0; overflow: hidden; }

.contact-info-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  background: var(--accent-pale);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info-person {
  padding: 0.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ci-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.ci-details { display: flex; align-items: baseline; gap: 0.5rem; }

.ci-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  white-space: nowrap;
  min-width: 3.5rem;
}

.ci-details a {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
}

.ci-details a:hover { color: var(--accent); text-decoration: underline; }

.ci-divider {
  height: 1px;
  background: rgba(59,130,246,0.2);
  margin: 0 1.4rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p,
.footer-contact p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-title h1 { font-size: 1rem; }
  .site-title p { display: none; }

  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--navy-mid);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 400;
    border-top: 2px solid var(--accent-vivid);
    padding-bottom: 0.5rem;
  }

  .nav-list.open { display: flex; }

  .nav-list > li > a {
    height: auto;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 0;
  }

  .hamburger { display: flex; }

  .dd {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
  }

  .dd.mobile-open { display: block; }

  .hero { grid-template-columns: repeat(3, 1fr); height: 160px; gap: 3px; }
  .hero-panel:nth-child(4),
  .hero-panel:nth-child(5),
  .hero-panel:nth-child(6) { display: none; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.25rem; text-align: center; }

  .professor-block { flex-direction: column; }
  .portrait-img, .portrait-ph { width: 100px; height: 130px; }

  .disc-header { flex-direction: column; }
}

@media (max-width: 480px) {
  .header-inner { gap: 0.75rem; }
  .logos .logo-ph:last-child { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .main-content { padding: 1.25rem 1rem; }
}
