:root {
  --navy: #111827;
  --blue: #1e3a5f;
  --blue-soft: #284b72;
  --ivory: #f7f3ea;
  --paper: #fffaf0;
  --gold: #b08d57;
  --text: #263244;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Geologica", sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 0;
  right: 0;
}

.nav {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  color: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #d7bd85);
  color: var(--navy);
  font-family: "Geologica", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(176, 141, 87, 0.26), transparent 28%),
    linear-gradient(135deg, #101827 0%, #162c49 48%, #0b1220 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.55;
}

.hero::after {
  content: "VIENNA · ATHENS · BERLIN · EUROPE";
  position: absolute;
  right: -70px;
  bottom: 70px;
  transform: rotate(-90deg);
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.35em;
  font-size: 12px;
  font-weight: 700;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #e6d1a8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Geologica", sans-serif;
  line-height: 1.03;
  color: inherit;
}

h1 {
  font-size: clamp(56px, 9vw, 116px);
  max-width: 880px;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 720px;
  font-size: clamp(19px, 2vw, 25px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 18px 44px rgba(176, 141, 87, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 700px;
}

.meta-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.meta-card strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
}

.meta-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.portrait-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.portrait {
  min-height: 520px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.78)),
    url("assets/brigkos.webp") center/cover;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.portrait-caption {
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 20px;
  backdrop-filter: blur(14px);
}

.portrait-caption p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

section {
  padding: 110px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 54px;
}

.section-label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(40px, 5vw, 68px);
  color: var(--navy);
  letter-spacing: -0.035em;
}

.about-title {
  font-size: clamp(28px, 3.5vw, 48px);
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
  align-items: stretch;
}

.paper-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
}

.paper-card p + p {
  margin-top: 18px;
}

.quote-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.quote-card::after {
  content: "IB";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: "Geologica", sans-serif;
  font-size: 210px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.quote-card .quote {
  position: relative;
  z-index: 1;
  font-family: "Geologica", sans-serif;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.quote-card .small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin-top: 28px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.focus-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 210px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.09);
}

.focus-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0e8d8;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 34px;
}

.focus-card h3 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 12px;
}

.focus-card p {
  color: var(--muted);
  font-size: 15px;
}

.publications {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.publications h2,
.publications .section-head p {
  color: var(--white);
}

.publications .section-head p {
  color: rgba(255, 255, 255, 0.64);
}

.publication-list {
  display: grid;
  gap: 16px;
}

.publication-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.pub-year {
  color: var(--gold);
  font-family: "Geologica", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.publication-item h3 {
  font-size: 25px;
  margin-bottom: 8px;
}

.publication-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.pub-link {
  white-space: nowrap;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.timeline-wrap {
  position: relative;
  padding-left: 34px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 28px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 5px solid var(--ivory);
}

.timeline-date {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.timeline-item h3 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
}

.profile-links {
  background: linear-gradient(135deg, #fdf8ed, #f1e7d6);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.link-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link-card h3 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 10px;
}

.link-card p {
  color: var(--muted);
  font-size: 14px;
}

.link-card span {
  margin-top: 24px;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.contact {
  padding-bottom: 60px;
}

.contact-card {
  background:
    radial-gradient(circle at top right, rgba(176, 141, 87, 0.28), transparent 32%),
    linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  border-radius: 36px;
  padding: 56px;
  max-width: 900px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  font-size: 18px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-link::after {
  content: "";
  width: 34px;
  height: 1px;
  margin-left: 12px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.contact-link:hover::after {
  width: 52px;
}

.footer {
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(17, 24, 39, 0.96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .nav-cta {
    display: inline-flex;
    width: fit-content;
  }

  .hero-grid,
  .section-head,
  .about-panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 420px;
  }

  .hero-meta,
  .focus-grid,
  .links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .publication-item,
  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    gap: 10px;
  }

  .brand span:last-child {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: 130px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: 58px;
  }

  section {
    padding: 74px 0;
  }

  .hero-meta,
  .focus-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .paper-card,
  .quote-card,
  .contact-card {
    padding: 28px;
  }

  .publication-item {
    padding: 22px;
  }

  .timeline-wrap {
    padding-left: 22px;
  }

  .timeline-item::before {
    left: -30px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
