:root {
  --bg: #ffffff;
  --alt: #f5f8fc;
  --text: #20242a;
  --muted: #626b77;
  --line: rgba(13, 45, 81, 0.12);
  --line-strong: rgba(13, 45, 81, 0.22);
  --blue: #1769c2;
  --blue-dark: #0a315f;
  --blue-deep: #061e3a;
  --blue-soft: #eaf3ff;
  --blue-wash: rgba(23, 105, 194, 0.1);
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(19, 58, 102, 0.08);
  --shadow-hover: 0 15px 34px rgba(19, 58, 102, 0.14);
  --radius: 18px;
  --wrap: min(1100px, calc(100% - 40px));
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: #cfe6ff;
  color: var(--blue-deep);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-notice {
  background: var(--blue-deep);
  color: white;
  font-size: 14px;
}

.top-notice__inner {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

.top-notice__text b {
  margin-right: 4px;
}

.top-notice__btn {
  flex: none;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  transition: background 160ms ease, border-color 160ms ease;
}

.top-notice__btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--blue);
  place-items: center;
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  width: 5px;
  border-radius: 4px;
  background: white;
  content: "";
  transform: rotate(-28deg);
}

.brand__mark::before {
  height: 23px;
  margin-left: -10px;
}

.brand__mark::after {
  height: 17px;
  margin-left: 8px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-link:hover {
  border-color: var(--line);
  background: white;
  color: var(--text);
}

.nav-link.active {
  border-color: rgba(23, 105, 194, 0.18);
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  place-items: center;
}

.nav-toggle svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

main {
  min-height: 55vh;
}

.section {
  padding: 34px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--alt);
}

.section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--blue);
}

.section__icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.section__title {
  margin: 0;
  font-size: 20px;
}

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

.muted {
  color: var(--muted);
}

.inline-link,
.see-more {
  color: var(--blue);
  font-weight: 600;
}

.inline-link:hover,
.see-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, filter 160ms ease;
}

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

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.btn.primary:hover {
  filter: brightness(0.95);
}

/* Home */
.hero--carousel {
  padding: 22px 0 10px;
  border-bottom: 1px solid var(--line);
}

.hero-carousel__viewport {
  position: relative;
  height: clamp(340px, 48vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(13, 45, 81, 0.08);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 6px 18px rgba(19, 58, 102, 0.08);
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-carousel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 20, 39, 0.78) 0%, rgba(6, 35, 69, 0.38) 58%, rgba(5, 25, 50, 0.14) 100%);
}

.hero-carousel__overlay {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.hero-carousel__overlay--minimal {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.hero-carousel__kicker {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-carousel__headline {
  color: white;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-carousel__sub {
  max-width: 69ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.7;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.hero-carousel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-carousel__slide--contain {
  --pad-x: 22px;
  --bar-h: 82px;
  --bar-bottom: 16px;
  display: flex;
  padding: 16px var(--pad-x) calc(var(--bar-h) + 30px) var(--pad-x);
  align-items: center;
  justify-content: center;
  background: white;
}

.hero-carousel__slide--contain .hero-carousel__img {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-carousel__slide--contain .hero-carousel__shade {
  display: none;
}

.hero-carousel__slide--contain .hero-carousel__overlay {
  right: var(--pad-x);
  bottom: var(--bar-bottom);
  left: var(--pad-x);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.hero-carousel__paper-title {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--bar-h);
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(4, 23, 44, 0.9);
  color: white;
  font-weight: 600;
  line-height: 1.5;
}

.hero-carousel__learn-more {
  position: static;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 14px;
  align-items: center;
  border: 1px solid rgba(23, 105, 194, 0.35);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(23, 105, 194, 0.22);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.hero-carousel__btn {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(3, 20, 39, 0.34);
  color: white;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-carousel__btn:hover {
  background: rgba(3, 20, 39, 0.5);
}

.hero-carousel__btn--prev {
  left: 14px;
}

.hero-carousel__btn--next {
  right: 14px;
}

.hero-carousel__dots {
  display: flex;
  margin-top: 10px;
  justify-content: center;
  gap: 8px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 45, 81, 0.36);
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}

.hero-carousel__dot.is-active {
  background: var(--blue);
  transform: scale(1.14);
}

.callout {
  padding: 22px;
}

.quote {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  font-size: 16px;
  line-height: 1.75;
}

.callout p {
  margin: 0;
  line-height: 1.75;
}

.see-more {
  display: inline-block;
  margin-top: 12px;
}

.news {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: grid;
  padding: 14px;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.news-thumb {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(220px 90px at 30% 30%, rgba(23, 105, 194, 0.17), transparent 60%), linear-gradient(180deg, white, #eef5fc);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.news-date {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.news-text {
  line-height: 1.6;
}

.research-banner {
  position: relative;
  height: 220px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(900px 300px at 20% 20%, rgba(23, 105, 194, 0.2), transparent 60%), radial-gradient(800px 260px at 80% 70%, rgba(8, 49, 95, 0.1), transparent 55%), linear-gradient(180deg, white, #eef5fc);
  box-shadow: var(--shadow);
}

.research-banner::before,
.research-banner::after {
  position: absolute;
  border: 2px solid rgba(23, 105, 194, 0.2);
  border-radius: 50%;
  content: "";
}

.research-banner::before {
  width: 260px;
  height: 260px;
  top: -95px;
  right: 11%;
}

.research-banner::after {
  width: 115px;
  height: 115px;
  right: 28%;
  bottom: -44px;
}

.research-banner__copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 7%;
  max-width: 560px;
  transform: translateY(-50%);
}

.research-banner__copy span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-banner__copy h3 {
  margin: 8px 0 7px;
  color: var(--blue-dark);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}

.research-banner__copy p {
  margin: 0;
  color: var(--muted);
}

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

.research-mini-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.research-mini-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.research-mini-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 17px;
}

.research-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Shared inner-page titles */
.page-title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(36px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-align: center;
}

.page-title-section {
  padding: 28px 0 18px;
}

/* Members */
.team-section-title {
  margin: 34px 0 18px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.team-section-title:first-child {
  margin-top: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 40px;
}

.team-grid--pi {
  max-width: 860px;
  grid-template-columns: 1fr;
}

.profile {
  display: grid;
  grid-template-columns: 165px 1fr;
  align-items: center;
  gap: 30px;
}

.profile-photo {
  display: grid;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f8fbff 0%, #e4effb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 26px rgba(19, 58, 102, 0.14);
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  place-items: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo--pi img {
  object-position: center 10%;
}

.profile-body {
  min-width: 0;
}

.profile-name-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.profile-name {
  color: #2b2f36;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.profile-name-row a {
  color: var(--blue);
}

.profile-role,
.profile-current {
  margin-top: 7px;
  color: #424a54;
  font-size: 15px;
}

.profile-email {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  overflow-wrap: anywhere;
}

.profile-research {
  display: flex;
  margin-top: 9px;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-tag {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid rgba(23, 105, 194, 0.12);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.15;
}

.alumni-note {
  margin: -7px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Research */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.research-item {
  display: grid;
  min-height: 260px;
  padding: 6px 0;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 16px;
}

.research-media {
  position: relative;
  display: grid;
  width: 180px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(13, 45, 81, 0.08);
  border-radius: 16px;
  background: radial-gradient(circle at 28% 24%, #f9fcff, #e7f1fb);
  box-shadow: var(--shadow);
  color: var(--blue);
  place-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.research-media::before,
.research-media::after {
  position: absolute;
  border: 1px solid rgba(23, 105, 194, 0.16);
  border-radius: 50%;
  content: "";
}

.research-media::before {
  width: 125px;
  height: 125px;
}

.research-media::after {
  width: 82px;
  height: 82px;
}

.research-media:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.research-media svg {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.research-heading {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: rgba(23, 105, 194, 0.55);
  text-underline-offset: 3px;
}

.research-bullets {
  margin: 0;
  padding-left: 18px;
  color: #444d57;
  line-height: 1.7;
}

.research-bullets li {
  margin: 3px 0;
}

/* Publications */
.pub-nav {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.pub-nav a {
  text-decoration: underline;
  text-decoration-color: rgba(13, 45, 81, 0.28);
  text-underline-offset: 3px;
}

.pub-nav span {
  padding: 0 8px;
  opacity: 0.55;
}

.pub-section-title {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.pub-year {
  margin: 27px 0 10px;
  color: #2b2f36;
  font-size: 18px;
  font-weight: 800;
}

.pub-list {
  display: grid;
  gap: 12px;
}

.pub-item {
  display: grid;
  padding: 14px 16px;
  grid-template-columns: 124px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.pub-item__thumb {
  width: 124px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--alt);
}

.pub-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-item__title {
  margin-bottom: 5px;
  font-weight: 800;
  line-height: 1.4;
}

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

.pub-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pub-item__authors {
  margin-bottom: 3px;
  color: #444d57;
  line-height: 1.55;
}

.pub-item__venue {
  color: var(--muted);
  line-height: 1.55;
}

.pub-note {
  color: var(--blue);
  font-weight: 700;
}

.empty-state {
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

/* Gallery */
.gallery-wrap {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.gallery-intro {
  max-width: 620px;
  margin: -4px auto 28px;
  color: var(--muted);
  text-align: center;
}

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

.gallery-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.gallery-carousel {
  min-width: 0;
}

.gallery-viewport {
  position: relative;
  display: grid;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(13, 45, 81, 0.09);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  place-items: center;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-img {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  object-fit: cover;
}

.gallery-img:focus-visible {
  outline: 3px solid white;
  outline-offset: -6px;
}

.gallery-btn {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 1px solid rgba(13, 45, 81, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 14px rgba(6, 30, 58, 0.12);
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-btn:hover {
  background: white;
}

.gallery-btn--prev {
  left: 10px;
}

.gallery-btn--next {
  right: 10px;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  background: radial-gradient(circle at 30% 28%, rgba(23, 105, 194, 0.18), transparent 34%), linear-gradient(145deg, #fbfdff, #eaf3fb);
  color: var(--blue);
  place-items: center;
}

.gallery-placeholder::before,
.gallery-placeholder::after {
  position: absolute;
  border: 1px solid rgba(23, 105, 194, 0.14);
  border-radius: 50%;
  content: "";
}

.gallery-placeholder::before {
  width: 210px;
  height: 210px;
  top: -92px;
  right: -40px;
}

.gallery-placeholder::after {
  width: 120px;
  height: 120px;
  bottom: -45px;
  left: -20px;
}

.gallery-placeholder svg {
  width: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.gallery-placeholder span {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-dots {
  display: flex;
  margin-top: 8px;
  justify-content: center;
  gap: 8px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 45, 81, 0.28);
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--blue);
}

.gallery-caption {
  color: #2b2f36;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.gallery-lightbox {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(2, 13, 27, 0.9);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.gallery-lightbox__stage {
  position: relative;
  display: grid;
  max-width: 94vw;
  max-height: 92vh;
  justify-items: center;
  gap: 12px;
}

.gallery-lightbox__image {
  max-width: 94vw;
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.gallery-lightbox__caption {
  margin: 0;
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.gallery-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(2, 13, 27, 0.68);
  color: white;
  cursor: pointer;
  font-size: 29px;
  line-height: 1;
  place-items: center;
}

.gallery-lightbox__close:hover {
  background: rgba(2, 13, 27, 0.9);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
  gap: 16px;
}

.contact-right {
  display: grid;
  gap: 16px;
}

.contact-card {
  border-radius: var(--radius);
}

.contact-h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.contact-lead {
  margin: 0 0 10px;
  line-height: 1.75;
}

.contact-hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-steps {
  margin: 0;
  padding-left: 20px;
}

.contact-steps > li {
  margin: 12px 0;
}

.contact-step-title {
  margin-bottom: 8px;
  font-weight: 800;
}

.contact-list {
  margin: 0;
  padding-left: 18px;
  color: #444d57;
  line-height: 1.75;
}

.contact-kv {
  display: grid;
  padding: 10px 0;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.contact-kv:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.contact-k {
  color: #2b2f36;
  font-weight: 800;
}

.contact-v {
  color: #444d57;
  line-height: 1.7;
}

.contact-map {
  position: relative;
  height: 260px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--alt);
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: white;
}

.footer__inner {
  display: flex;
  padding: 20px 0;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer__inner p:first-child {
  max-width: 760px;
}

@media (max-width: 980px) {
  .grid3 {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-item {
    min-height: 0;
    grid-template-columns: 170px 1fr;
  }

  .research-media {
    width: 170px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: none;
    width: min(320px, calc(100% - 40px));
    padding: 10px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-hover);
    flex-direction: column;
  }

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

  .nav-link {
    width: 100%;
    padding: 10px 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: min(100% - 28px, 1100px);
  }

  .top-notice__inner {
    align-items: flex-start;
  }

  .top-notice__text {
    padding-top: 4px;
  }

  .brand__sub {
    display: none;
  }

  .hero--carousel {
    padding-top: 14px;
  }

  .hero-carousel__viewport {
    height: 470px;
  }

  .hero-carousel__slide:first-child .hero-carousel__img {
    object-position: 63% center;
  }

  .hero-carousel__overlay {
    right: 18px;
    left: 18px;
  }

  .hero-carousel__headline {
    font-size: 38px;
  }

  .hero-carousel__sub {
    font-size: 14px;
  }

  .hero-carousel__slide--contain {
    --pad-x: 16px;
    --bar-h: 156px;
  }

  .hero-carousel__paper-title {
    padding: 13px 12px;
    font-size: 13px;
  }

  .news-item {
    grid-template-columns: 76px 1fr;
  }

  .research-banner__copy {
    right: 7%;
  }

  .team-grid {
    row-gap: 32px;
  }

  .profile {
    grid-template-columns: 120px 1fr;
    gap: 18px;
  }

  .profile-photo {
    width: 112px;
    height: 112px;
  }

  .pub-item {
    grid-template-columns: 1fr;
  }

  .pub-item__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-viewport {
    height: 270px;
  }

  .gallery-lightbox__image {
    max-height: 78vh;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 28px 0;
  }

  .header__inner {
    min-height: 68px;
  }

  .top-notice__inner {
    font-size: 12px;
  }

  .top-notice__btn {
    font-size: 11px;
  }

  .hero-carousel__viewport {
    height: 440px;
  }

  .hero-carousel__btn {
    width: 38px;
    height: 38px;
  }

  .hero-carousel__headline {
    font-size: 33px;
  }

  .hero-carousel__actions .btn {
    min-height: 39px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    min-height: 48px;
  }

  .research-banner {
    height: 245px;
  }

  .research-item {
    grid-template-columns: 1fr;
  }

  .research-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .contact-kv {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   MILAB DISTINCTIVE REDESIGN
   Visual language: machine grid / editorial blocks / restrained blue
========================================================= */
/*
 * The distinctive redesign is retained below for reference, but disabled so
 * the original rounded blue-and-white design above is used again.
 */
@supports (display: milab-distinctive-design) {
:root {
  --bg: #f7f8fa;
  --alt: #eef1f4;
  --text: #101820;
  --muted: #64707d;
  --line: rgba(16, 24, 32, 0.12);
  --line-strong: rgba(16, 24, 32, 0.26);
  --blue: #315f8f;
  --blue-dark: #24486c;
  --blue-deep: #0d1b2a;
  --blue-soft: #e8eef4;
  --blue-wash: rgba(49, 95, 143, 0.08);
  --signal: #cbd8e5;
  --cyan: #9db3c8;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(7, 19, 33, 0.09);
  --shadow-hover: 0 24px 54px rgba(7, 19, 33, 0.16);
  --radius: 0 24px 0 24px;
  --wrap: min(1180px, calc(100% - 64px));
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(10, 20, 34, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 34, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: Roboto, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  overflow: hidden;
}

::selection {
  background: var(--signal);
  color: var(--blue-deep);
}

.top-notice {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.top-notice::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(7, 19, 33, 0.08) 8px 10px);
  content: "";
  pointer-events: none;
}

.top-notice__inner {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 5px 0;
}

.top-notice__text b {
  display: inline-block;
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid rgba(7, 19, 33, 0.28);
}

.top-notice__btn {
  padding: 5px 13px;
  border: 1px solid var(--blue-deep);
  border-radius: 0;
  background: var(--blue-deep);
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-notice__btn:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.site-header {
  top: 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 20, 34, 0.12);
  background: rgba(243, 246, 248, 0.9);
  box-shadow: 0 8px 30px rgba(7, 19, 33, 0.04);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.header__inner {
  min-height: 88px;
}

.brand {
  gap: 16px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  overflow: visible;
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 6px 6px 0 var(--blue);
}

.brand__mark::before,
.brand__mark::after {
  width: 5px;
  border-radius: 0;
  background: var(--blue-deep);
  transform: rotate(-28deg);
}

.brand__mark::before {
  height: 25px;
  margin-left: -10px;
}

.brand__mark::after {
  height: 18px;
  margin-left: 9px;
}

.brand__title {
  color: var(--blue-deep);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  border: 0;
  border-radius: 2px;
  color: #485466;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-link::before {
  position: absolute;
  top: 50%;
  left: 5px;
  width: 5px;
  height: 5px;
  background: var(--signal);
  content: "";
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  border: 0;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.nav-link.active {
  padding-left: 19px;
  border: 0;
  background: var(--blue-deep);
  color: white;
}

.nav-link.active::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.section {
  padding: 76px 0;
}

.section.alt {
  position: relative;
  border: 0;
  background: var(--blue-deep);
  color: white;
}

.section.alt::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  pointer-events: none;
}

.section.alt > .wrap {
  position: relative;
}

.section__head {
  margin-bottom: 26px;
  gap: 15px;
}

.section__icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 5px 5px 0 var(--blue);
  color: var(--blue-deep);
}

.section.alt .section__icon {
  border-color: var(--signal);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.18);
}

.section__title {
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.card {
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 10px 10px 0 rgba(49, 95, 143, 0.12);
}

.btn {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid white;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.btn.primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--blue-deep);
  box-shadow: 5px 5px 0 var(--blue);
}

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

.btn.primary:hover {
  filter: none;
  box-shadow: 7px 7px 0 var(--blue);
}

.inline-link,
.see-more {
  color: var(--blue);
  text-decoration-thickness: 1px;
}

/* Home: editorial hero */
.hero--carousel {
  position: relative;
  padding: 38px 0 42px;
  border: 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(49, 95, 143, 0.12), transparent 24%),
    linear-gradient(180deg, #edf1f4 0%, var(--bg) 100%);
}

.hero--carousel::before {
  position: absolute;
  top: 38px;
  left: max(18px, calc((100vw - 1320px) / 2));
  color: rgba(7, 19, 33, 0.34);
  content: "MACHINE / VISION / INTELLIGENCE";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
}

.hero-carousel__viewport {
  height: clamp(500px, 54vw, 640px);
  border: 1px solid var(--blue-deep);
  border-radius: 0 54px 0 54px;
  background: var(--blue-deep);
  box-shadow: 18px 18px 0 rgba(49, 95, 143, 0.13);
}

.hero-carousel__viewport::after {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  width: 76px;
  height: 76px;
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
  content: "";
  pointer-events: none;
}

.hero-carousel__img {
  filter: saturate(0.88) contrast(1.04);
}

.hero-carousel__shade {
  background:
    linear-gradient(90deg, rgba(2, 10, 20, 0.9) 0%, rgba(2, 10, 20, 0.5) 53%, rgba(2, 10, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(2, 10, 20, 0.5), transparent 50%);
}

.hero-carousel__overlay {
  right: 54px;
  bottom: 46px;
  left: 54px;
}

.hero-carousel__overlay--minimal {
  gap: 14px;
}

.hero-carousel__kicker {
  display: inline-flex;
  padding: 6px 9px;
  align-items: center;
  background: var(--signal);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: none;
}

.hero-carousel__headline {
  max-width: 900px;
  color: white;
  font-size: clamp(56px, 6.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero-carousel__sub {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.hero-carousel__actions {
  margin-top: 5px;
}

.hero-carousel__slide--contain {
  --pad-x: 46px;
  --bar-h: 94px;
  --bar-bottom: 34px;
  padding: 24px var(--pad-x) calc(var(--bar-h) + 62px);
  background-color: #eef2f5;
  background-image:
    linear-gradient(rgba(49, 95, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 143, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-carousel__paper-canvas {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1060px);
  height: 100%;
  min-height: 0;
  padding: clamp(14px, 2vw, 28px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.18);
  border-radius: 0 28px 0 28px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(13, 27, 42, 0.14);
}

.hero-carousel__slide--contain .hero-carousel__img {
  max-width: 100%;
  max-height: 100%;
  filter: none;
}

.hero-carousel__slide--contain .hero-carousel__overlay {
  align-items: stretch;
  gap: 10px;
}

.hero-carousel__paper-title {
  display: flex;
  padding: 18px 22px;
  align-items: center;
  border: 1px solid var(--blue-deep);
  border-radius: 0 18px 0 18px;
  background: rgba(7, 19, 33, 0.96);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.hero-carousel__paper-title--stacked {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.hero-carousel__learn-more {
  min-width: 120px;
  padding: 12px 17px;
  justify-content: center;
  border: 1px solid var(--blue-deep);
  border-radius: 0;
  background: var(--signal);
  box-shadow: none;
  color: var(--blue-deep);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-carousel__btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  background: rgba(7, 19, 33, 0.7);
  color: var(--signal);
}

.hero-carousel__btn--prev {
  left: 18px;
}

.hero-carousel__btn--next {
  right: 18px;
}

.hero-carousel__dots {
  margin-top: 22px;
  gap: 6px;
}

.hero-carousel__dot {
  width: 28px;
  height: 5px;
  border-radius: 0;
  background: rgba(7, 19, 33, 0.2);
}

.hero-carousel__dot.is-active {
  width: 52px;
  background: var(--blue);
  transform: none;
}

.callout {
  position: relative;
  padding: 40px 44px;
  overflow: hidden;
}

.callout::after {
  position: absolute;
  top: -48px;
  right: -34px;
  width: 150px;
  height: 150px;
  border: 28px solid var(--blue-soft);
  border-radius: 50%;
  content: "";
}

.quote {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  color: var(--blue-deep);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.callout p,
.callout .see-more {
  position: relative;
  z-index: 1;
}

.see-more {
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
}

.news {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.news-item {
  min-height: 112px;
  padding: 22px 0;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: padding 180ms ease, background 180ms ease;
}

.news-item:hover {
  padding-right: 22px;
  padding-left: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.news-thumb {
  min-height: 62px;
  border: 1px solid rgba(203, 216, 229, 0.48);
  border-radius: 0 16px 0 16px;
  background: transparent;
  color: var(--signal);
  letter-spacing: 0.12em;
}

.news-date {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

/* Inner page masthead */
.page-title-section {
  position: relative;
  padding: 82px 0 72px;
  overflow: hidden;
  background: var(--blue-deep);
  color: white;
}

.page-title-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 35%, rgba(157, 179, 200, 0.14), transparent 18%),
    linear-gradient(125deg, transparent 58%, rgba(49, 95, 143, 0.16) 58% 72%, transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  content: "";
}

.page-title-section .wrap {
  position: relative;
}

.page-title-section .wrap::after {
  position: absolute;
  right: 0;
  bottom: -36px;
  width: 160px;
  height: 44px;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  content: "";
}

.page-title {
  color: white;
  font-size: clamp(60px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-align: left;
}

.page-title::before {
  display: block;
  margin-bottom: 18px;
  color: var(--signal);
  content: "MILAB / INDEX";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1;
}

.pub-nav {
  position: absolute;
  right: 0;
  bottom: 2px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pub-nav a:hover {
  color: var(--signal);
}

/* Members: modular identity cards */
.team-section-title {
  display: flex;
  margin: 62px 0 24px;
  align-items: center;
  gap: 14px;
  color: var(--blue-deep);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.team-section-title::before {
  width: 13px;
  height: 13px;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--signal);
  content: "";
}

.team-section-title:first-child {
  margin-top: 0;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-grid--pi {
  max-width: none;
  grid-template-columns: 1fr;
}

.profile {
  position: relative;
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 0 24px 0 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 7px 7px 0 rgba(49, 95, 143, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.profile::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 7px;
  background: var(--signal);
  content: "";
}

.profile:hover {
  border-color: var(--blue);
  box-shadow: 10px 10px 0 rgba(49, 95, 143, 0.12);
  transform: translate(-2px, -2px);
}

.profile-photo {
  width: 112px;
  height: 126px;
  border: 0;
  border-radius: 0 18px 0 18px;
  background: var(--blue-soft);
  box-shadow: none;
  color: var(--blue-deep);
  font-size: 22px;
}

.profile-photo img {
  filter: saturate(0.9);
}

.profile-name {
  color: var(--blue-deep);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.profile-name-row a {
  color: var(--blue);
}

.profile-role,
.profile-current {
  color: #3f4b5b;
  font-size: 13px;
}

.profile-email {
  color: var(--muted);
  font-size: 12px;
}

.profile-research {
  margin-top: 10px;
  gap: 5px;
}

.profile-tag {
  padding: 4px 7px;
  border: 1px solid rgba(49, 95, 143, 0.16);
  border-radius: 2px;
  background: var(--blue-soft);
  color: #193a97;
  font-size: 10px;
  font-weight: 700;
}

.team-grid--pi .profile {
  min-height: 250px;
  padding: 30px 38px;
  grid-template-columns: 180px 1fr;
  border-color: var(--blue-deep);
  background:
    linear-gradient(110deg, var(--blue-deep) 0 64%, #102951 64% 100%);
  box-shadow: 12px 12px 0 var(--signal);
}

.team-grid--pi .profile::after {
  width: 25%;
  height: 10px;
  background: var(--blue);
}

.team-grid--pi .profile-photo {
  width: 180px;
  height: 190px;
  border: 2px solid var(--signal);
  border-radius: 0 28px 0 28px;
}

.team-grid--pi .profile-name {
  color: white;
  font-size: 32px;
}

.team-grid--pi .profile-name-row a,
.team-grid--pi .profile-role,
.team-grid--pi .profile-email {
  color: rgba(255, 255, 255, 0.78);
}

.team-grid--pi .profile-tag {
  border-color: rgba(203, 216, 229, 0.36);
  background: var(--signal);
  color: var(--blue-deep);
}

/* Research: numbered capability matrix */
.research-grid {
  counter-reset: research-item;
  gap: 22px;
}

.research-item {
  position: relative;
  min-height: 300px;
  padding: 38px 34px;
  overflow: hidden;
  grid-template-columns: 145px 1fr;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--blue-deep);
  border-radius: 0 32px 0 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 10px 10px 0 rgba(49, 95, 143, 0.08);
  counter-increment: research-item;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.research-item::before {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(49, 95, 143, 0.16);
  content: "0" counter(research-item);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.research-item:hover {
  box-shadow: 15px 15px 0 rgba(49, 95, 143, 0.13);
  transform: translate(-3px, -3px);
}

.research-item:nth-child(2),
.research-item:nth-child(3) {
  background: var(--blue-deep);
  color: white;
}

.research-item:nth-child(2)::before,
.research-item:nth-child(3)::before {
  color: rgba(203, 216, 229, 0.18);
}

.research-media {
  width: 145px;
  border: 0;
  border-radius: 0;
  background: var(--signal);
  box-shadow: 7px 7px 0 var(--blue);
  clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%);
  color: var(--blue-deep);
}

.research-media::before,
.research-media::after {
  border-color: rgba(7, 19, 33, 0.18);
}

.research-media:hover {
  box-shadow: 9px 9px 0 var(--blue);
}

.research-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: clamp(23px, 2.4vw, 32px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-decoration: none;
}

.research-bullets {
  position: relative;
  z-index: 1;
  padding: 0;
  color: #445062;
  list-style: none;
  line-height: 1.55;
}

.research-bullets li {
  position: relative;
  margin: 6px 0;
  padding-left: 15px;
}

.research-bullets li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.research-item:nth-child(2) .research-heading,
.research-item:nth-child(3) .research-heading {
  color: var(--signal);
}

.research-item:nth-child(2) .research-bullets,
.research-item:nth-child(3) .research-bullets {
  color: rgba(255, 255, 255, 0.78);
}

.research-item:nth-child(2) .research-bullets li::before,
.research-item:nth-child(3) .research-bullets li::before {
  background: var(--cyan);
}

/* Publications: research index */
.pub-section-title {
  display: flex;
  margin: 0 0 42px;
  padding-bottom: 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--blue-deep);
  color: var(--blue-deep);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-section-title::after {
  width: 72px;
  height: 8px;
  background: var(--signal);
  box-shadow: 6px 0 0 var(--blue);
  content: "";
}

.pub-year {
  margin: 58px 0 12px;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.pub-list {
  gap: 0;
  border-top: 1px solid var(--blue-deep);
}

.pub-item {
  position: relative;
  padding: 24px 14px;
  grid-template-columns: 168px 1fr;
  align-items: center;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: padding 180ms ease, background 180ms ease;
}

.pub-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.pub-item:hover {
  padding-right: 24px;
  padding-left: 26px;
  background: rgba(255, 255, 255, 0.85);
}

.pub-item:hover::before {
  opacity: 1;
}

.pub-item__thumb {
  width: 168px;
  height: 102px;
  border: 1px solid var(--line-strong);
  border-radius: 0 15px 0 15px;
  background: white;
}

.pub-item__title {
  margin-bottom: 7px;
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1.32;
}

.pub-link {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  align-items: center;
  background: var(--signal);
  color: var(--blue-deep);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-2px);
}

.pub-link::after {
  margin-left: 3px;
  content: "↗";
}

.pub-link:hover {
  color: var(--blue);
  text-decoration: none;
}

.pub-item__authors {
  color: #3e4a5b;
  font-size: 14px;
}

.pub-item__venue {
  color: #697586;
  font-size: 13px;
}

.pub-note {
  color: var(--blue);
}

/* Gallery: uniform visual archive — new entries need no sizing rules */
.gallery-wrap {
  width: min(1320px, calc(100% - 64px));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 24px;
}

.gallery-tile,
.gallery-tile:nth-child(n),
.gallery-tile:last-child:nth-child(odd) {
  min-width: 0;
  grid-column: auto;
  gap: 14px;
}

.gallery-viewport,
.gallery-tile:nth-child(n) .gallery-viewport,
.gallery-tile:last-child:nth-child(odd) .gallery-viewport {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--blue-deep);
  border-radius: 0 32px 0 32px;
  background: var(--blue-deep);
  box-shadow: 10px 10px 0 rgba(49, 95, 143, 0.11);
}

.gallery-img {
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.gallery-viewport:hover .gallery-img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.025);
}

.gallery-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 4px 4px 0 var(--blue);
  color: var(--blue-deep);
}

.gallery-btn:hover {
  background: white;
}

.gallery-dots {
  margin-top: 15px;
  justify-content: flex-start;
  gap: 5px;
}

.gallery-dot {
  width: 22px;
  height: 4px;
  border-radius: 0;
  background: rgba(7, 19, 33, 0.22);
}

.gallery-dot.is-active {
  width: 38px;
  background: var(--blue);
}

.gallery-caption {
  position: relative;
  padding: 0 0 0 18px;
  color: var(--blue-deep);
  font-size: 19px;
  letter-spacing: -0.025em;
  text-align: left;
}

.gallery-caption::before {
  position: absolute;
  top: 0.45em;
  bottom: 0.2em;
  left: 0;
  width: 5px;
  background: var(--signal);
  box-shadow: 4px 0 0 var(--blue);
  content: "";
}

.gallery-placeholder {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--blue-deep);
  background-size: 32px 32px;
  color: var(--signal);
}

.gallery-placeholder span {
  color: rgba(255, 255, 255, 0.55);
}

.gallery-lightbox__image {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0 24px 0 24px;
}

.gallery-lightbox__close {
  border-color: var(--signal);
  border-radius: 2px;
  background: var(--signal);
  color: var(--blue-deep);
}

/* Contact: dark application console */
.contact-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
}

.contact-card {
  border-radius: 0 28px 0 28px;
}

.contact-grid > .contact-card {
  position: relative;
  padding: 40px;
  overflow: hidden;
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  box-shadow: 12px 12px 0 var(--blue);
  color: white;
}

.contact-grid > .contact-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 12px;
  background: var(--signal);
  content: "";
}

.contact-grid > .contact-card .contact-h2 {
  color: var(--signal);
  font-size: 34px;
}

.contact-grid > .contact-card .muted,
.contact-grid > .contact-card .contact-list {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid > .contact-card .contact-hr {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-steps {
  padding-left: 24px;
}

.contact-steps > li {
  margin: 24px 0;
  padding-left: 8px;
}

.contact-steps > li::marker {
  color: var(--signal);
  font-weight: 800;
}

.contact-step-title {
  color: white;
  font-size: 17px;
}

.contact-right {
  gap: 22px;
}

.contact-right .contact-card {
  padding: 28px;
  border: 1px solid var(--blue-deep);
  box-shadow: 8px 8px 0 rgba(49, 95, 143, 0.18);
}

.contact-h2 {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.contact-kv {
  padding: 15px 0;
  grid-template-columns: 76px 1fr;
  border-color: var(--line-strong);
}

.contact-k {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-v {
  font-size: 14px;
}

.contact-map {
  height: 300px;
  border: 1px solid var(--blue-deep);
  border-radius: 0 20px 0 20px;
  box-shadow: none;
  filter: grayscale(0.18) contrast(1.03);
}

.site-footer {
  margin-top: 0;
  border: 0;
  background: var(--blue-deep);
}

.footer__inner {
  min-height: 120px;
  padding: 34px 0;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__inner p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.footer__inner p:last-child {
  color: var(--signal);
  font-weight: 700;
}

@media (max-width: 1120px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-item {
    padding: 30px 26px;
    grid-template-columns: 120px 1fr;
    gap: 21px;
  }

  .research-media {
    width: 120px;
  }
}

@media (max-width: 860px) {
  :root {
    --wrap: min(100% - 36px, 1180px);
  }

  .header__inner {
    min-height: 76px;
  }

  .nav-toggle {
    display: grid;
    border: 1px solid var(--blue-deep);
    border-radius: 2px;
    background: var(--signal);
    color: var(--blue-deep);
    box-shadow: 4px 4px 0 var(--blue);
  }

  .site-nav {
    top: calc(100% + 10px);
    right: 18px;
    padding: 8px;
    border: 1px solid var(--signal);
    border-radius: 0 18px 0 18px;
    background: var(--blue-deep);
    box-shadow: 10px 10px 0 rgba(49, 95, 143, 0.25);
  }

  .nav-link,
  .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-link.active {
    background: var(--signal);
    color: var(--blue-deep);
  }

  .hero--carousel::before {
    display: none;
  }

  .hero-carousel__viewport {
    border-radius: 0 36px 0 36px;
  }

  .hero-carousel__overlay {
    right: 34px;
    left: 34px;
  }

  .page-title-section {
    padding: 66px 0 58px;
  }

  .pub-nav {
    position: static;
    margin-top: 26px;
    text-align: left;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-item {
    min-height: 260px;
    grid-template-columns: 145px 1fr;
  }

  .research-media {
    width: 145px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 18px;
  }

  .gallery-tile,
  .gallery-tile:nth-child(n),
  .gallery-tile:last-child:nth-child(odd) {
    grid-column: span 1;
  }

  .gallery-viewport,
  .gallery-tile:nth-child(n) .gallery-viewport,
  .gallery-tile:last-child:nth-child(odd) .gallery-viewport {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: min(100% - 28px, 1180px);
  }

  .top-notice__inner {
    min-height: 42px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .top-notice::after {
    display: none;
  }

  .top-notice__text b {
    margin-right: 4px;
    padding-right: 4px;
  }

  .top-notice__btn {
    padding: 5px 8px;
    font-size: 10px;
  }

  .header__inner {
    min-height: 72px;
  }

  .brand {
    gap: 13px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    box-shadow: 4px 4px 0 var(--blue);
  }

  .section {
    padding: 54px 0;
  }

  .hero--carousel {
    padding: 20px 0 30px;
  }

  .hero-carousel__viewport {
    height: 520px;
    border-radius: 0 26px 0 26px;
    box-shadow: 9px 9px 0 rgba(49, 95, 143, 0.12);
  }

  .hero-carousel__viewport::after {
    top: 12px;
    right: 12px;
    width: 45px;
    height: 45px;
  }

  .hero-carousel__slide:first-child .hero-carousel__img {
    object-position: center;
  }

  .hero-carousel__overlay {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .hero-carousel__headline {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 0.97;
  }

  .hero-carousel__sub {
    font-size: 13px;
  }

  .hero-carousel__slide--contain {
    --pad-x: 17px;
    --bar-h: 176px;
    --bar-bottom: 18px;
    padding: 18px var(--pad-x) calc(var(--bar-h) + 42px);
  }

  .hero-carousel__slide--contain .hero-carousel__overlay {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .hero-carousel__paper-title {
    min-height: 126px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .hero-carousel__learn-more {
    min-height: 42px;
  }

  .hero-carousel__btn {
    top: 42%;
    width: 40px;
    height: 40px;
  }

  .callout {
    padding: 30px 25px;
  }

  .quote {
    font-size: 27px;
  }

  .news-item {
    padding: 20px 0;
    grid-template-columns: 82px 1fr;
    gap: 13px;
  }

  .news-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .news-thumb {
    min-height: 56px;
    font-size: 10px;
  }

  .news-text {
    font-size: 14px;
  }

  .page-title-section {
    padding: 55px 0 48px;
  }

  .page-title {
    font-size: clamp(48px, 16vw, 68px);
  }

  .page-title-section .wrap::after {
    right: 4px;
    bottom: -24px;
    width: 80px;
    height: 26px;
  }

  .team-section-title {
    margin-top: 48px;
    font-size: 24px;
  }

  .profile {
    min-height: 150px;
    padding: 17px;
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .profile-photo {
    width: 92px;
    height: 108px;
  }

  .team-grid--pi .profile {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 112px 1fr;
    gap: 18px;
    box-shadow: 7px 7px 0 var(--signal);
  }

  .team-grid--pi .profile-photo {
    width: 112px;
    height: 132px;
  }

  .team-grid--pi .profile-name {
    font-size: 24px;
  }

  .research-item {
    min-height: 0;
    padding: 29px 23px;
    grid-template-columns: 100px 1fr;
    gap: 18px;
  }

  .research-media {
    width: 100px;
  }

  .research-heading {
    padding-right: 25px;
    font-size: 23px;
  }

  .research-bullets {
    font-size: 13px;
  }

  .pub-section-title {
    margin-bottom: 30px;
  }

  .pub-year {
    margin-top: 42px;
  }

  .pub-item {
    padding: 20px 0;
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }

  .pub-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .pub-item__thumb {
    width: 110px;
    height: 78px;
  }

  .pub-item__title {
    font-size: 15px;
  }

  .pub-item__authors,
  .pub-item__venue {
    font-size: 11px;
  }

  .gallery-wrap {
    width: min(100% - 28px, 1320px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .gallery-viewport,
  .gallery-tile:nth-child(n) .gallery-viewport,
  .gallery-tile:last-child:nth-child(odd) .gallery-viewport {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .contact-grid > .contact-card {
    padding: 28px 23px;
    box-shadow: 7px 7px 0 var(--blue);
  }

  .contact-grid > .contact-card .contact-h2 {
    font-size: 28px;
  }

  .contact-right .contact-card {
    padding: 23px;
    box-shadow: 6px 6px 0 rgba(49, 95, 143, 0.18);
  }

  .footer__inner {
    min-height: 145px;
    align-items: flex-start;
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .team-grid--pi .profile {
    grid-template-columns: 92px 1fr;
  }

  .team-grid--pi .profile-photo {
    width: 92px;
    height: 116px;
  }

  .team-grid--pi .profile-name {
    font-size: 21px;
  }

  .profile {
    grid-template-columns: 82px 1fr;
  }

  .profile-photo {
    width: 82px;
    height: 100px;
  }

  .research-item {
    grid-template-columns: 1fr;
  }

  .research-media {
    width: 104px;
  }
}
}

/* Content features added after the original design remain active. */
.hero-carousel__slide--contain {
  display: grid;
  padding: 16px var(--pad-x);
  align-items: stretch;
  justify-content: stretch;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.hero-carousel__slide--contain .hero-carousel__overlay {
  position: static;
  width: 100%;
}

.hero-carousel__paper-canvas {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1060px);
  height: auto;
  min-height: 0;
  padding: clamp(14px, 2vw, 26px);
  align-items: center;
  align-self: stretch;
  justify-content: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-carousel__paper-title--stacked {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 720px) {
  .hero-carousel__slide--contain .hero-carousel__overlay {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-carousel__slide--contain .hero-carousel__learn-more {
    justify-content: center;
  }
}

/* Simplified identity slide: typography, whitespace, and one brand line only. */
.hero-carousel__slide--identity {
  display: flex;
  padding: 44px clamp(68px, 8vw, 96px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle 220px at var(--network-x, 78%) var(--network-y, 42%), rgba(23, 105, 194, 0.13), transparent 72%),
    linear-gradient(112deg, #f3f6f9 0%, #edf3f8 62%, #e2edf8 100%);
  box-shadow: inset 0 0 70px rgba(13, 45, 81, 0.055);
}

.hero-carousel__slide--identity::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  content: "";
  pointer-events: none;
}

.hero-carousel__slide--identity::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  background-image: radial-gradient(circle, rgba(23, 105, 194, 0.22) 0.8px, transparent 0.9px);
  background-position: 7px 7px;
  background-size: 28px 28px;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, black 54%, black 100%);
  mask-image: linear-gradient(90deg, transparent 6%, black 54%, black 100%);
}

.hero-identity__network {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.hero-carousel__slide--identity .hero-identity__content {
  position: relative;
  z-index: 2;
  inset: auto;
  width: min(100%, 800px);
  max-width: 800px;
  align-items: flex-start;
  justify-content: center;
  gap: 13px;
}

.hero-carousel__slide--identity .hero-carousel__kicker {
  padding: 0;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hero-carousel__slide--identity .hero-carousel__headline {
  color: var(--blue-deep);
  font-size: clamp(54px, 6vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-shadow: none;
}

.hero-carousel__slide--identity .hero-carousel__sub {
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-shadow: none;
}

.hero-carousel__slide--identity .hero-carousel__actions {
  margin-top: 3px;
}

.hero-carousel__slide--identity .hero-carousel__actions .btn:not(.primary) {
  border-color: var(--line-strong);
  background: white;
  color: var(--blue-dark);
}

.hero-carousel__slide--identity .hero-identity__fields {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-top: 13px;
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.hero-identity__fields span {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 11px;
  align-items: center;
  border: 1px solid rgba(23, 105, 194, 0.16);
  border-radius: 999px;
  background: white;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.hero-identity__fields span::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero-carousel__slide--identity ~ .hero-carousel__btn {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(3, 20, 39, 0.34);
  color: white;
}

@media (max-width: 720px) {
  .hero-carousel__slide--identity {
    padding: 30px 66px;
  }

  .hero-carousel__slide--identity .hero-identity__content {
    width: 100%;
  }

  .hero-carousel__slide--identity .hero-carousel__headline {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero-carousel__slide--identity .hero-carousel__sub {
    max-width: 30ch;
    font-size: 13px;
  }

  .hero-carousel__slide--identity .hero-identity__fields {
    max-width: 100%;
    margin-top: 7px;
    padding-top: 12px;
  }

  .hero-identity__fields span {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 10px;
  }

  .hero-identity__network {
    opacity: 0.38;
  }
}

@media (max-width: 420px) {
  .hero-carousel__slide--identity {
    padding-right: 62px;
    padding-left: 62px;
  }

  .hero-carousel__slide--identity .hero-carousel__headline {
    font-size: 38px;
  }

  .hero-carousel__slide--identity .hero-carousel__actions {
    gap: 7px;
  }

  .hero-carousel__slide--identity .hero-carousel__actions .btn {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 12px;
  }
}
