:root {
  --bg-top: #f1f9ff;
  --bg-mid: #f8fcff;
  --bg-bottom: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(248, 253, 255, 0.96);
  --line: rgba(36, 86, 132, 0.14);
  --text: #17253a;
  --muted: #4f6582;
  --accent: #6ab4ea;
  --accent-2: #e8cda6;
  --accent-3: #9b94cf;
  --danger: #d9a1ac;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 16px 34px rgba(89, 110, 146, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Sora", "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 13% 6%, rgba(89, 188, 255, 0.2), transparent 34%),
    radial-gradient(circle at 85% 2%, rgba(137, 210, 255, 0.2), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(199, 234, 255, 0.18), transparent 42%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 38%, var(--bg-bottom) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.016;
  background-image: radial-gradient(#2f6ea1 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

code {
  font-family: "Consolas", "SFMono-Regular", "Menlo", "Liberation Mono", monospace;
  font-size: 0.96em;
  font-weight: 600;
  color: #204366;
  background: rgba(106, 180, 234, 0.14);
  border: 1px solid rgba(36, 86, 132, 0.2);
  border-radius: 8px;
  padding: 0.08em 0.38em;
  display: inline-block;
  line-height: 1.3;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 999;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.phqmd-top-shell {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-right: auto;
  padding-right: 14px;
}

.phqmd-top-shell .brand {
  width: auto;
  justify-content: flex-start;
  font-size: clamp(0.95rem, 1.7vw, 1.5rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 6px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 2.05vw, 1.7rem);
  color: #111821;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.nav-links .search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .search-toggle:hover,
.nav-links .search-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a.active {
  border-color: var(--accent-3);
  color: var(--text);
  background: rgba(155, 148, 207, 0.16);
}

.nav-links .search-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.nav-links .search-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page {
  padding: 104px 0 28px;
}

body[data-page="phqmd"] .page,
body[data-page="phsd"] .page {
  padding-top: 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 249, 255, 0.92));
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 34px);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero h1,
h2,
h3,
.brand span {
  margin: 0;
}

.section-heading h2,
.subpage-head h1 {
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.05em;
  line-height: 0.95;
}

.hero h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.92rem, 5.45vw, 4.05rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: #111821;
  margin-bottom: 0;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
}

.hero-combo-logo {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: fit-content;
}

.hero-combo-logo img {
  width: clamp(68px, 8.4vw, 98px);
  height: auto;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
}

.button-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-with-logo {
  gap: 8px;
}

.btn-with-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.btn-quick-link {
  background: #ffffff;
  color: #1f415c;
  border: 1px solid rgba(31, 65, 92, 0.2);
  box-shadow: 0 6px 14px rgba(20, 43, 67, 0.16);
}

.btn-quick-link img {
  filter: drop-shadow(0 2px 4px rgba(15, 28, 45, 0.35));
}

.btn-quick-link:hover,
.btn-quick-link:focus-visible {
  border-color: rgba(49, 97, 137, 0.4);
  box-shadow: 0 9px 20px rgba(20, 43, 67, 0.22);
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-primary {
  background: linear-gradient(120deg, #c6e6fb, #aed8f3);
  color: #1f415c;
}

.btn-secondary {
  background: linear-gradient(120deg, #f8dfbe, #f2d1a6);
  color: #5f4225;
}

.btn-success {
  background: linear-gradient(120deg, #d4cff0, #c4bee7);
  color: #4b4573;
}

.btn-talks {
  background: linear-gradient(120deg, #d8d3f0, #c8c2e8);
  color: #4f4a78;
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
}

.btn-danger {
  background: linear-gradient(120deg, #f6c8d2, #efb9c5);
  color: #61303b;
}

.hero-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
}

.hero-aside ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
  font-size: 0.93rem;
}

.hero-main-gif {
  margin: 12px auto 0;
  width: min(100%, 640px);
}

.hero-main-gif img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stack-images {
  margin-top: 20px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.stack-images img {
  width: min(100%, 980px);
  margin-inline: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.stack-images img.plain-image {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-feature-band {
  margin-top: 18px;
  border: 1px solid rgba(31, 71, 118, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 250, 255, 0.94));
  box-shadow: 0 14px 28px rgba(97, 122, 160, 0.12);
  padding: clamp(16px, 3vw, 24px);
}

.hero-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(22, 78, 139, 0.16);
}

.hero-feature-title {
  margin: 0;
  font-family: "Bebas Neue", "Sora", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  color: #111821;
  text-shadow: 2px 2px 0 rgba(20, 53, 93, 0.18);
}

.hero-feature-logos {
  display: flex;
  flex: 0 0 auto;
}

.hero-feature-logo-shell {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-feature-logo-shell img {
  width: 96px;
  height: 56px;
  object-fit: contain;
}

.hero-feature-logo-combo img {
  width: 102px;
  height: 60px;
}

.hero-feature-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.hero-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-item {
  position: relative;
  min-height: 32px;
  padding-left: 40px;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.45;
  font-weight: 700;
  color: #111821;
}

.feature-item::before {
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 1.28rem;
  line-height: 1;
}

.feature-item.is-core::before {
  content: "\2713";
  color: #5b7bc8;
}

.feature-item.is-extended::before {
  content: "\25CB";
  color: #3654e6;
}

.feature-blue {
  color: #3b6db7;
}

.feature-red {
  color: #d78590;
}

.feature-green {
  color: #7e74bb;
}

.hero-highlights {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.hero-carousel-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
}

.hero-carousel-card > .button-row {
  justify-content: center;
}

.hero-highlight-content h3 {
  margin: 0;
  font-size: 1.24rem;
}

.hero-highlight-content p {
  margin-top: 7px;
  color: var(--muted);
}

.highlight-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-carousel {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: stretch;
}

.carousel-control {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 10px;
}

.carousel-slide-group {
  display: grid;
  gap: 14px;
}

.carousel-slide-inner {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px;
}

.carousel-slide-publication {
  display: grid;
  gap: 14px;
  align-items: start;
}

.carousel-slide-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.carousel-slide-copy span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.carousel-slide-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.carousel-slide-figure img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  background: #fff;
}

.carousel-slide-figure figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 0.77rem;
  color: var(--muted);
}

.carousel-slide-talk {
  min-height: 186px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.carousel-slide-talk strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
}

.carousel-slide-talk span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.carousel-slide-link {
  margin-top: 2px;
  font-size: 0.84rem;
}

.carousel-dots {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(79, 101, 130, 0.42);
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, #22d3ee, #0891b2);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-slide-link:hover,
.carousel-slide-link:focus-visible {
  color: var(--accent);
}

.carousel-slide-link::after {
  background: currentColor;
}

.carousel-slide-link:hover::after,
.carousel-slide-link:focus-visible::after {
  width: 100%;
}

.carousel-slide-link {
  color: var(--muted);
}

.logos-row {
  margin-top: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.logo-link:hover,
.logo-link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.logo-link img {
  width: auto;
  height: 38px;
}

.layout {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 26px);
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 5vw, 3.1rem);
}

.section-note {
  color: var(--muted);
  margin-top: 7px;
}

.section-text {
  color: var(--muted);
  display: grid;
  gap: 14px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.site-nav-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}
.phsd-history-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(32, 66, 104, 0.16);
  background: #ffffff;
}

.phsd-history-photos.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .phsd-history-photos.two {
    grid-template-columns: 1fr;
  }
}

.card h3 {
  font-size: 1.12rem;
  margin: 0;
}

.card p {
  margin-top: 7px;
  color: var(--muted);
}

.subpage-head {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 255, 0.94));
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.subpage-head h1 {
  font-size: clamp(2rem, 6.4vw, 4.4rem);
  margin-bottom: 8px;
}

.subpage-head p {
  color: var(--muted);
  max-width: 70ch;
}

.subpage-head h1.phqmd-main-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.06;
  font-size: clamp(1.8rem, 4.4vw, 3.35rem);
  margin: 0;
}

.phqmd-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.phqmd-title-logo {
  width: clamp(42px, 5.8vw, 68px);
  height: clamp(42px, 5.8vw, 68px);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 8px rgba(20, 43, 67, 0.18));
}
.profile-grid {
  display: grid;
  gap: 14px;
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 14px;
}

.profile-photo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(23, 37, 58, 0.14);
  margin-bottom: 10px;
}

.profile-card h3 {
  margin: 0 0 6px;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.link-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.simple-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.simple-list.two-col {
  display: block;
  column-count: 2;
  column-gap: 28px;
}

.simple-list.two-col li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.talk-list,
.pub-list {
  display: grid;
  gap: 14px;
}

.pub-row {
  display: grid;
  gap: 14px;
  align-items: start;
}

.pub-main {
  min-width: 0;
}

.pub-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(252, 254, 255, 0.96);
  padding: 8px;
}

.pub-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(32, 66, 104, 0.16);
  background: #ffffff;
}

.pub-figure figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.talk-title,
.pub-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.talk-meta,
.pub-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pub-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

details {
  margin-top: 10px;
  border: 1px dashed rgba(32, 66, 104, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(250, 253, 255, 0.96);
}

summary {
  cursor: pointer;
  color: var(--accent-3);
  font-weight: 600;
}

details p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.years a {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.years a:hover,
.years a:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}


.license-card {
  background: linear-gradient(160deg, rgba(224, 238, 248, 0.88), rgba(244, 250, 255, 0.96));
  border: 1px solid rgba(98, 137, 173, 0.28);
  margin-bottom: 18px;
}

.license-card p {
  color: var(--text);
}
.request-note {
  color: var(--muted);
}

.privacy-note {
  margin-top: 10px;
  border: 1px solid rgba(36, 86, 132, 0.18);
  border-radius: 10px;
  background: rgba(241, 250, 255, 0.92);
  color: #365474;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 10px 12px;
}

.request-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(14px, 3vw, 20px);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.req {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 10px 11px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(79, 101, 130, 0.86);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.check input {
  width: auto;
  margin-top: 3px;
}

body.search-open {
  overflow: hidden;
}

.site-search[hidden] {
  display: none;
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: start center;
  padding: 84px 14px 14px;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 37, 59, 0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.site-search-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  padding: 14px;
  max-height: min(78vh, 700px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
}

.site-search-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.site-search-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-search-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--muted);
}

.site-search-input {
  width: 100%;
  border-radius: 10px;
}

.site-search-results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  overflow-y: auto;
}

.site-search-results li {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(250, 253, 255, 0.98);
}

.site-search-results a {
  display: block;
  padding: 9px 10px;
}

.site-search-results strong {
  display: block;
  color: var(--text);
  font-size: 0.93rem;
}

.site-search-results span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-search-empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 2px;
}

footer {
  margin-top: 20px;
  padding: 10px 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

footer a {
  color: #3f5f86;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover,
footer a:focus-visible {
  color: #2a4567;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.phqmd-subbanner-wrap {
  position: sticky;
  top: 84px;
  z-index: 980;
  margin: 12px 0 14px;
}

#phqmd-about,
#phqmd-publications,
#phqmd-talks,
#phqmd-results,
#phsd-about,
#phsd-publications,
#phsd-talks,
#phsd-links {
  scroll-margin-top: 170px;
}
.phqmd-subbanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
}

.phqmd-subbanner-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.phqmd-subbanner-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.phqmd-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phqmd-subnav a {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.86);
}

.phqmd-subnav a:hover,
.phqmd-subnav a:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}

.phqmd-about-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.phqmd-logo {
  width: min(160px, 100%);
  margin: 4px auto 8px;
  filter: drop-shadow(0 6px 14px rgba(20, 43, 67, 0.2));
}

.phqmd-result-grid {
  display: grid;
  gap: 14px;
}

.phqmd-result-card .section-note {
  margin-top: 10px;
}

.phqmd-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.phqmd-table-card {
  margin-top: 12px;
}

.phqmd-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

.phqmd-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.phqmd-table th,
.phqmd-table td {
  border: 1px solid var(--line);
  padding: 8px;
  vertical-align: top;
  font-size: 0.86rem;
  color: var(--muted);
}

.phqmd-table th {
  color: var(--text);
  background: rgba(239, 248, 255, 0.92);
  text-align: left;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    align-items: start;
  }

  .hero-feature-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phqmd-about-layout {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .profile-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .carousel-slide-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .carousel-slide-group-talks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carousel-slide-publication {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 14px;
  }

  .pub-row {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .pub-figure {
    width: 290px;
    justify-self: end;
  }

  .phqmd-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 760px) {
  .phqmd-title-row {
    align-items: flex-start;
    gap: 14px;
  }

  .phqmd-title-logo {
    width: 40px;
    height: 40px;
  }

  .phqmd-subbanner-wrap {
    top: 112px;
  }

  #phqmd-about,
  #phqmd-publications,
  #phqmd-talks,
  #phqmd-results {
    scroll-margin-top: 220px;
  }

  .phqmd-subbanner {
    flex-direction: column;
    align-items: flex-start;
  }

  .phqmd-subnav {
    width: 100%;
  }

  .site-header {
    top: 8px;
  }

  .container {
    width: min(1140px, calc(100% - 1rem));
  }

  .nav-shell {
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
  }

  .phqmd-top-shell {
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
  }

  .phqmd-top-shell .brand {
    width: auto;
    justify-content: flex-start;
    font-size: clamp(0.98rem, 4.2vw, 1.25rem);
  }

.brand {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .page {
    padding-top: 130px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .hero-title-row {
    flex-wrap: wrap;
  }

  .site-nav-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature-head {
    flex-direction: column;
  }

  .hero-feature-logos {
    justify-content: flex-start;
  }

  .hero-feature-logo-shell {
    padding: 0;
  }

  .hero-feature-logo-shell img {
    width: 82px;
    height: 46px;
  }

  .hero-feature-logo-combo img {
    width: 82px;
    height: 46px;
  }

  .hero-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .carousel-slide {
    padding: 8px;
  }

  .carousel-control {
    font-size: 1.22rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .nav-links a,
  .btn,
  .logo-link,
  .carousel-track,
  .carousel-control,
  .carousel-dot {
    transition: none;
    transform: none;
    opacity: 1;
  }
}































body[data-page="phqmd"] .subpage-head + .section,
body[data-page="phqmd"] .section + .section,
body[data-page="phsd"] .subpage-head + .section,
body[data-page="phsd"] .section + .section,
body[data-page="manual"] .subpage-head + .section,
body[data-page="manual"] .section + .section {
  margin-top: 10px;
}

body[data-page="phqmd"] .reveal,
body[data-page="phqmd"] .reveal.visible,
body[data-page="phsd"] .reveal,
body[data-page="phsd"] .reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}


.phsd-about-card {
  display: grid;
  gap: 14px;
}

.phsd-about-media {
  display: grid;
  gap: 14px;
  align-items: start;
  margin: 2px 0;
}

.phsd-about-media-text {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
}

.phsd-about-media-text p {
  margin-top: 10px;
}

.phsd-download-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.phsd-media-main img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.phsd-about-media .pub-figure {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.phsd-publication-list {
  gap: 14px;
}

.phsd-publication-list .card {
  background: rgba(255, 255, 255, 0.82);
}

.phsd-publication-list .pub-title {
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  line-height: 1.2;
}

.phsd-pub-item-title {
  margin: 2px 0 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.3;
  font-weight: 700;
}

.phsd-publication-list .pub-meta {
  margin-top: 7px;
  line-height: 1.45;
}

.phsd-publication-list .pub-actions {
  margin-top: 8px;
}

.phsd-publication-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.9));
}

.phsd-pub-divider {
  border: 0;
  border-top: 1px dashed rgba(32, 66, 104, 0.24);
  margin: 12px 0;
}

@media (min-width: 960px) {
  .phsd-about-media {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .phsd-about-media-reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}







.manual-cite-section .section-heading h2 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: 0;
  font-size: clamp(1.24rem, 2.2vw, 1.62rem);
  line-height: 1.25;
  font-weight: 700;
}

.manual-cite-list {
  gap: 18px;
}

.manual-cite-list .pub-title {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.2;
}

.manual-cite-list .phsd-pub-item-title {
  font-size: clamp(0.94rem, 1.08vw, 1.04rem);
  line-height: 1.3;
}

.manual-cite-list .pub-meta {
  font-size: 0.85rem;
}



.manual-cite-block {
  display: grid;
  gap: 8px;
}

.manual-cite-list .manual-cite-heading {
  margin: 0 0 2px 4px;
  font-size: clamp(1.18rem, 1.9vw, 1.48rem);
  line-height: 1.2;
}

body[data-page="team"] .team-head-compact {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 2px 4px;
}

body[data-page="team"] .team-head-compact h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  line-height: 0.95;
}

body[data-page="team"] .subpage-head + .section,
body[data-page="team"] .section + .section {
  margin-top: 10px;
}



body[data-page="dqpm"] .page {
  padding-top: 64px;
}

body[data-page="dqpm"] .subpage-head + .section,
body[data-page="dqpm"] .section + .section {
  margin-top: 10px;
}

body[data-page="dqpm"] .reveal,
body[data-page="dqpm"] .reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.dqpm-cta-row {
  justify-content: center;
  margin-top: 20px;
}

.dqpm-cta-btn {
  background: #ffffff !important;
  color: #1f415c;
  border: 1px solid rgba(31, 65, 92, 0.22);
  box-shadow: 0 8px 18px rgba(20, 43, 67, 0.18);
  padding: 18px 40px;
  font-size: 1.22rem;
  font-weight: 800;
  gap: 14px;
}

.dqpm-cta-btn:hover,
.dqpm-cta-btn:focus-visible {
  border-color: rgba(49, 97, 137, 0.42);
  box-shadow: 0 10px 22px rgba(20, 43, 67, 0.22);
}

.dqpm-cta-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 28, 45, 0.34));
}

@media (max-width: 760px) {
  .dqpm-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.12rem;
    padding: 16px 22px;
  }
}

.hero-feature-grid-single {
  grid-template-columns: 1fr;
}

.hero-feature-list-updated {
  gap: 14px;
}

.hero-feature-list-updated .feature-item.is-core::before {
  color: #0c8e2e;
}

.hero-feature-list-updated .feature-item.is-extended::before {
  color: #3a4ce1;
}

.hero-feature-list-updated .feature-group-start {
  margin-top: 8px;
}

.feature-blue-strong {
  color: #3845cc;
}

.feature-green-strong {
  color: #0f8f2f;
}

.feature-red-strong {
  color: #e51616;
}

.hero-feature-list-updated .feature-subline {
  margin: 0;
  padding-left: 40px;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.45;
  font-weight: 700;
  color: #111821;
}

.hero-feature-grid-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-feature-grid-double {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .simple-list.two-col {
    column-count: 1;
  }
}






.btn-inspire {
  background: linear-gradient(120deg, #d9d0f5, #c7baed);
  color: #3d2f67;
  border-color: rgba(96, 78, 155, 0.25);
}

.btn-inspire:hover,
.btn-inspire:focus-visible {
  border-color: rgba(96, 78, 155, 0.45);
  box-shadow: 0 10px 22px rgba(82, 63, 140, 0.22);
}
