:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --ink: #17211b;
  --muted: #5c6860;
  --line: #ded8c7;
  --panel: #ffffff;
  --ucy-orange: #f28c00;
  --ucy-yellow: #fab400;
  --ucy-green: #8a9600;
  --accent: var(--ucy-green);
  --accent-strong: #5f6f00;
  --warm: var(--ucy-orange);
  --soft: #f5efd6;
  --shadow: 0 20px 55px rgba(23, 33, 27, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

html[lang="el"] body {
  font-family:
    "Segoe UI", "Noto Sans", Arial, ui-sans-serif, system-ui, sans-serif;
}

html[lang="el"] h1,
html[lang="el"] h2,
html[lang="el"] h3,
html[lang="el"] .signal-grid strong,
html[lang="el"] .top-nav a,
html[lang="el"] .button,
html[lang="el"] .profile-links a,
html[lang="el"] .media-link-grid a {
  font-weight: 800;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 223, 215, 0.85);
  background: rgba(247, 246, 241, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ucy-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-photo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 2px solid rgba(138, 150, 0, 0.24);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: 54% 24%;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.top-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
}

.top-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 8px;
}

.language-switcher button.active {
  background: var(--ucy-orange);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 220px);
  padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px) 44px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ucy-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5.75rem);
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.3vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p,
.platform-list p,
.contact-band p,
.tool-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.top-logo-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 42px);
  padding: 34px clamp(20px, 5vw, 72px) 0;
  align-items: center;
}

.top-logo-band img {
  width: 100%;
  height: clamp(120px, 18vw, 220px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(16px, 2.5vw, 28px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--ucy-green);
  background: var(--ucy-green);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--ucy-orange);
}

.hero-panel {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
  border: 1px solid rgba(217, 223, 215, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(138, 150, 0, 0.15), rgba(250, 180, 0, 0.22), rgba(242, 140, 0, 0.12)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.signal-grid {
  display: grid;
  gap: 12px;
}

.signal-grid div {
  border: 1px solid rgba(217, 223, 215, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.93rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 72px) 58px;
  align-items: center;
}

.logo-strip img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.collaborations-section {
  background: #fbfaf5;
}

.collaboration-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(23, 33, 27, 0.08);
}

.collaboration-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.collaboration-table th,
.collaboration-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.collaboration-table th {
  background: #f4f0dc;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collaboration-table tbody tr:hover {
  background: rgba(250, 180, 0, 0.08);
}

.collaboration-table td:first-child {
  width: 78px;
}

.collaboration-table img {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 6px;
}

.collaboration-table td:nth-child(2) {
  min-width: 250px;
  color: var(--accent-strong);
  font-weight: 900;
}

.collaboration-table td:nth-child(3) {
  color: var(--muted);
}

.collaboration-table a {
  color: var(--ucy-green);
  font-weight: 900;
  text-decoration: none;
}

.collaboration-table a:hover {
  text-decoration: underline;
}

.section {
  padding: 74px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tool-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.tool-card p {
  flex: 1;
}

.tool-card a,
.card-note {
  color: var(--ucy-green);
  font-weight: 900;
  text-decoration: none;
}

.tool-card a:hover {
  text-decoration: underline;
}

.media-card {
  min-height: 240px;
}

.media-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.media-link-grid a {
  border: 1px solid rgba(138, 150, 0, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--ucy-green);
  font-weight: 900;
  padding: 9px 12px;
  text-decoration: none;
}

.media-link-grid a:hover {
  border-color: var(--ucy-orange);
  background: var(--soft);
}

.card-note {
  display: inline-flex;
}

.status {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(242, 140, 0, 0.28);
  border-radius: 999px;
  background: #fff6d8;
  color: #8a5600;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
}

.platform-list {
  display: grid;
  gap: 14px;
}

.platform-list div {
  border-left: 4px solid var(--ucy-orange);
  background: rgba(255, 255, 255, 0.72);
  padding: 4px 0 4px 18px;
}

.platform-list p {
  margin-bottom: 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #f4f0dc;
}

.placeholder-section {
  padding-block: 48px;
}

.project-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(23, 33, 27, 0.08);
}

.project-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.project-table caption {
  caption-side: top;
  padding: 16px 18px;
  color: var(--muted);
  text-align: left;
}

.project-table th,
.project-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.project-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f0dc;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-table tbody tr:hover {
  background: rgba(250, 180, 0, 0.08);
}

.project-table td:first-child {
  color: var(--accent-strong);
  font-weight: 900;
  white-space: nowrap;
}

.project-table td:nth-child(2),
.project-table td:nth-child(3) {
  font-weight: 800;
}

.project-table td:nth-child(6) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.project-table a {
  color: var(--ucy-green);
  font-weight: 900;
  text-decoration: none;
}

.project-table a:hover {
  text-decoration: underline;
}

.funder-badge,
.funder-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 6px 6px 0;
  border: 1px solid rgba(138, 150, 0, 0.25);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
}

.funder-logo-text {
  border-radius: 8px;
  background: #fff;
  text-transform: none;
}

.funder-logo-text img {
  width: 56px;
  height: 26px;
  object-fit: contain;
}

.contact-band div {
  max-width: 760px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.profile-links a {
  border: 1px solid rgba(138, 150, 0, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--ucy-green);
  font-weight: 900;
  padding: 9px 12px;
  text-decoration: none;
}

.profile-links a:hover {
  border-color: var(--ucy-orange);
  background: var(--soft);
}

.publications-list {
  display: grid;
  gap: 38px;
}

.publication-stack {
  display: grid;
  gap: 14px;
}

.publication-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.publication-card h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.publication-card p {
  color: var(--muted);
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.publication-meta span,
.abstract-label {
  width: fit-content;
  border: 1px solid rgba(138, 150, 0, 0.25);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
}

.publication-authors {
  margin-bottom: 14px;
  font-weight: 800;
}

.abstract-label {
  margin-bottom: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .tool-grid,
  .logo-strip,
  .top-logo-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header,
  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .header-controls {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.03;
  }

  .tool-grid,
  .logo-strip,
  .top-logo-band {
    grid-template-columns: 1fr;
  }

  .logo-strip img {
    height: 72px;
  }

  .section {
    padding-block: 56px;
  }
}
