/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f6fa;
  --surface: rgba(255, 255, 255, 0.94);
  --text: #203246;
  --muted: #627387;
  --line: rgba(83, 104, 128, 0.20);
  --line-strong: rgba(83, 104, 128, 0.34);
  --primary: #294d78;
  --primary-soft: #edf3fa;
  --shadow: 0 14px 32px rgba(30, 49, 71, 0.08);
  --shadow-soft: 0 8px 18px rgba(30, 49, 71, 0.06);
  --radius-page: 18px;
  --radius-card: 12px;
  --radius-media: 10px;
  --content-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(180deg, #e8eef5 0%, var(--bg) 28%, #f7f9fc 100%);
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #193654;
}

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

.page-shell {
  width: 100%;
  padding: 28px 18px 40px;
}

.page-card {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 26px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-page);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding-bottom: 6px;
}

.hero-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.site-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.lang-button {
  border: 0;
  padding: 8px 13px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--primary);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
  gap: 26px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.name {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #16283c;
}

.hero-intro p:last-child,
.section-content p:last-child,
.page-footer p:last-child {
  margin-bottom: 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(41, 77, 120, 0.16);
  border-radius: 10px;
  background: var(--primary-soft);
  font-weight: 700;
}

.hero-photo-wrap {
  padding-left: 10px;
}

.hero-photo {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.section {
  margin-top: 30px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #193149;
}

.section-flat {
  padding-top: 2px;
}

.section-content {
  color: var(--text);
}

.section-flat .section-content,
.section-flat .info-list {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.project-grid {
  display: grid;
  gap: 16px;
}

.project-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 77, 120, 0.30);
  box-shadow: 0 14px 26px rgba(30, 49, 71, 0.09);
}

.project-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: #e8eef5;
  aspect-ratio: 4 / 3;
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease;
}

.project-image-motion {
  opacity: 0;
}

.project-card:hover .project-image-motion {
  opacity: 1;
}

.project-card:hover .project-image-still {
  opacity: 0;
}

.project-title {
  margin-bottom: 6px;
  font-size: 1.16rem;
  font-weight: 700;
  color: #1b324a;
}

.project-venue {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.98rem;
}

.project-meta {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.6;
}

.project-meta a {
  font-weight: 700;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.info-list-flat {
  display: block;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: start;
  padding: 12px 0;
}

.info-list-compact .info-row {
  padding: 8px 0;
}

.info-row + .info-row {
  border-top: 1px solid rgba(83, 104, 128, 0.12);
}

.info-main {
  min-width: 0;
}

.info-time {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.page-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .page-card {
    padding: 22px;
  }

  .hero-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    padding-left: 0;
  }

  .hero-photo {
    margin-left: 0;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .info-time {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 16px 12px 28px;
  }

  .page-card {
    padding: 18px;
    border-radius: 14px;
  }

  .hero-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switch {
    align-self: flex-end;
  }

  .section {
    margin-top: 26px;
  }
}
