@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@300;500;700&family=Space+Grotesk:wght@300;400;500;600&family=Source+Sans+3:wght@300;400;500;600&family=Source+Serif+4:wght@400;600;700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/academicons@1.9.4/css/academicons.min.css");

:root {
  --hcc-ink: #1f2933;
  --hcc-ink-soft: #35424b;
  --hcc-sand: #f7f2ea;
  --hcc-cream: #fffaf3;
  --hcc-teal: #2f6f6a;
  --hcc-teal-dark: #255956;
  --hcc-coral: #e07a5f;
  --hcc-gold: #f2c66d;
  --hcc-card: #ffffff;
  --hcc-border: #e6dfd4;
  --hcc-shadow: 0 22px 48px rgba(26, 33, 37, 0.16);
}

body {
  color: var(--hcc-ink) !important;
  background-color: var(--hcc-cream) !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--hcc-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600 !important;
}

a, a:link, a:visited {
  color: var(--hcc-teal) !important;
  text-decoration: none !important;
}

a:hover, a:active {
  color: var(--hcc-teal-dark) !important;
  text-decoration: underline !important;
}

.subtitle, h3.subtitle {
  color: var(--hcc-ink-soft) !important;
}

.about-entity,
.about-contents {
  text-align: left !important;
}

pre, code {
  background-color: #f4f1ec !important;
  border: 1px solid #e5dfd7 !important;
}

blockquote {
  border-left: 4px solid var(--hcc-teal) !important;
  padding-left: 1em !important;
  color: var(--hcc-ink-soft) !important;
}

.hcc-hero {
  background: linear-gradient(135deg, #f8efe1 0%, #f3f6f4 50%, #fbf1e9 100%);
  border: 1px solid var(--hcc-border);
  border-radius: 28px;
  padding: 3rem 3rem 2.5rem;
  margin: 1rem 0 3rem;
  box-shadow: var(--hcc-shadow);
}

.hcc-hero-bg {
  background: linear-gradient(135deg, rgba(248, 239, 225, 0.85) 0%, rgba(243, 246, 244, 0.85) 50%, rgba(251, 241, 233, 0.85) 100%),
              url("images/hero-light.png") center/cover no-repeat;
}

.hcc-hero-blend .hcc-hero-media {
  display: flex;
  align-items: stretch;
}

.hcc-hero-blend .hcc-hero-image {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 32px rgba(26, 33, 37, 0.18);
  background: url("images/hero-light.png") center/cover no-repeat;
  min-height: 260px;
}

.hcc-hero-watermark {
  position: relative;
  overflow: hidden;
}

.hcc-hero-watermark-image {
  position: absolute;
  inset: 0;
  background: url("images/hero-light.png") center/cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hcc-hero-watermark .hcc-hero-grid {
  position: relative;
  z-index: 1;
}

.hcc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.hcc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--hcc-ink-soft);
  margin-bottom: 0.8rem;
}

.hcc-title {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  margin: 0 0 1rem;
}

.hcc-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--hcc-ink-soft);
  margin-bottom: 1.5rem;
}

.hcc-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hcc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--hcc-teal);
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hcc-button:hover {
  background: var(--hcc-teal-dark);
  color: #ffffff !important;
  text-decoration: none !important;
}

.hcc-button.ghost {
  background: transparent;
  border: 1px solid var(--hcc-teal);
  color: var(--hcc-teal) !important;
}

.hcc-button.ghost:hover {
  border-color: var(--hcc-teal-dark);
  color: var(--hcc-teal-dark) !important;
}

.hcc-social {
  display: flex;
  gap: 0.8rem;
  font-size: 1.4rem;
}

.hcc-social a {
  color: var(--hcc-ink) !important;
}

.hcc-hero-media img {
  width: 100%;
  border-radius: 22px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 32px rgba(26, 33, 37, 0.18);
}

.hcc-hero-caption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--hcc-ink-soft);
}

.hcc-section {
  margin: 3rem 0;
}

.hcc-section-title {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.hcc-section-lead {
  max-width: 52rem;
  color: var(--hcc-ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.hcc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.hcc-card {
  background: var(--hcc-card);
  border: 1px solid var(--hcc-border);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 24px rgba(26, 33, 37, 0.08);
}

.hcc-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.hcc-card p {
  margin: 0;
  color: var(--hcc-ink-soft);
}

.hcc-list {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.hcc-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.hcc-list p {
  margin: 0;
  color: var(--hcc-ink-soft);
}

.hcc-link {
  font-weight: 600;
  color: var(--hcc-teal) !important;
}

.hcc-contact {
  background: #f4efe5;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--hcc-border);
}

.hcc-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
}

.hcc-contact-page {
  width: min(100%, 1320px);
  max-width: none;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: 3rem;
  row-gap: 0;
  align-items: start;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  padding-bottom: 0;
}

#quarto-content.page-layout-full main#quarto-document-content.column-page {
  width: 100%;
  max-width: none !important;
}

body:has(.hcc-contact-page) #quarto-content.page-layout-full main#quarto-document-content.column-page {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body:has(.hcc-contact-page) #quarto-content.quarto-container.page-layout-full {
  padding-bottom: 0 !important;
}

.hcc-contact-copy {
  max-width: 28rem;
}

.hcc-contact-success {
  grid-template-columns: 1fr;
  row-gap: 0;
}

.hcc-contact-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.98;
}

.hcc-contact-lead {
  margin: 0 0 1.2rem;
  color: var(--hcc-ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

.hcc-contact-copy p:last-child {
  margin-bottom: 0;
}

.hcc-contact-form-panel {
  padding: 1.8rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 242, 0.98) 100%);
  box-shadow: 0 20px 42px rgba(16, 24, 32, 0.08);
}

.hcc-contact-form-title {
  margin: 0 0 1.15rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.hcc-contact-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 0;
}

.hcc-contact-form label {
  margin-bottom: -0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.hcc-contact-form input,
.hcc-contact-form textarea {
  padding: 0.8rem 0.95rem 0.8rem 0.15rem;
  border-radius: 12px;
  border: 1px solid var(--hcc-border);
  background: #ffffff;
  font-size: 1rem;
  text-align: left;
}

.hcc-contact-form input::placeholder,
.hcc-contact-form textarea::placeholder {
  color: var(--hcc-teal);
  opacity: 0.85;
}

.hcc-contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.hcc-contact-form input:focus,
.hcc-contact-form textarea:focus {
  outline: 2px solid rgba(47, 111, 106, 0.3);
  border-color: var(--hcc-teal);
}

.hcc-contact-form .hcc-button {
  justify-self: start;
  margin-top: 0.2rem;
}

.hcc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 1.05rem;
}

.contact-inline + .contact-inline {
  margin-top: 0.55rem;
}

.contact-icon {
  font-size: 1.15rem;
  color: var(--hcc-teal) !important;
}

.contact-logo-wrap {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  min-height: 0;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 0;
}

.contact-logo {
  display: block;
  width: auto;
  max-width: min(100%, 9.5rem);
  height: auto;
  background: transparent;
  transform: translateY(1.2rem);
}

.about-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.about-title-row img {
  height: 56px;
  width: auto;
  display: block;
}

.about-title-row h1 {
  margin: 0;
  font-size: 2rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

.about-title-text {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  margin: 0.15rem 0 0;
  color: var(--hcc-ink-soft);
  font-size: 1rem;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.12);
  margin: 0;
  object-fit: cover;
}

.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 2.5rem;
  align-items: start;
}

.about-columns > * {
  width: auto !important;
  min-width: 0;
}

.about-column {
  text-align: justify;
}

.about-photo-wrap {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.about-photo-wrap .about-photo {
  max-height: 520px;
}

.about-icon-links {
  display: flex;
  gap: 0.75rem;
  font-size: 1.3rem;
  margin-top: 2rem;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  white-space: nowrap;
}

.about-icon-links a {
  color: var(--hcc-teal) !important;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.about-icon-links .rg-icon {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.about-icon-links i {
  font-size: 1.3rem;
  line-height: 1;
}

.about-icon-links-boxed {
  display: block;
  overflow-x: visible;
  white-space: normal;
}

.about-icon-links-boxed p {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0;
}

.about-icon-links-boxed .about-icon-card {
  border: 1px solid var(--hcc-border);
  border-radius: 10px;
  background: #ffffff;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hcc-teal) !important;
  text-decoration: none !important;
  min-width: 0;
}

.about-icon-links-boxed .about-icon-card:hover {
  border-color: var(--hcc-teal);
  background: #f6fbfa;
  text-decoration: none !important;
}

.about-icon-links-boxed .about-icon-card i,
.about-icon-links-boxed .about-icon-card .rg-icon {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
}

.about-logo-icon {
  height: 22px;
  width: auto;
  display: block;
}

.navbar-brand img {
  max-height: 3rem !important;
  height: 3rem;
  width: auto;
}

.footer-legal-links {
  white-space: nowrap;
}

.footer,
.nav-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.nav-footer-left p {
  white-space: nowrap;
  font-size: clamp(0.72rem, 1.65vw, 1rem);
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hcc-hero {
    padding: 2.4rem 2rem;
  }

  .hcc-hero-grid {
    grid-template-columns: 1fr;
  }

  .hcc-hero-media {
    order: -1;
  }

  .hcc-contact-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hcc-contact-copy {
    max-width: none;
  }

  .nav-footer-left p {
    font-size: clamp(0.72rem, 2vw, 0.95rem);
  }
}

@media (max-width: 1100px) {
  .hcc-contact-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hcc-contact-copy {
    max-width: none;
  }

  .contact-inline {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
  }

  .contact-inline > a:last-child {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .about-icon-links-boxed p {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-icon-links-boxed .about-icon-card {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .about-title-row {
    flex-wrap: wrap;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-column {
    text-align: left;
  }

  .about-column-photo {
    max-width: 18rem;
    margin-inline: auto;
  }

  .about-photo-wrap {
    justify-content: center;
  }

  .about-photo-wrap .about-photo {
    width: min(100%, 18rem);
    max-height: none;
  }

  .about-icon-links-boxed .about-icon-card {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hcc-hero {
    padding: 2rem 1.5rem;
  }

  .hcc-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hcc-contact-links {
    flex-direction: column;
  }

  .hcc-contact-form-panel {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .contact-inline {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .contact-inline > a:last-child {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.nb-home {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.hailights-page #title-block-header.quarto-title-block.default .quarto-title-banner {
  background:
    linear-gradient(135deg, rgba(8, 14, 26, 0.58) 0%, rgba(12, 22, 38, 0.48) 45%, rgba(20, 34, 56, 0.56) 100%),
    url("images/Futuristic city of light and AI.png") center 35% / cover no-repeat;
  border-radius: 20px;
  margin: 0 0 1.5rem;
  padding: 4.2rem 1.8rem;
  border: 1px solid #d8dde5;
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.14);
}

.hailights-page #title-block-header .quarto-title {
  display: none;
}

.hailights-page #title-block-header .quarto-title .title {
  display: block;
  width: min(100%, 34rem);
  height: clamp(4.75rem, 11vw, 7.5rem);
  margin: 0;
  background: url("images/hai-lights-logo-white.png") left center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.hailights-banner-logo-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.1rem;
}

.hailights-banner-logo {
  display: block;
  width: auto;
  max-width: min(100%, 9.5rem);
  height: auto;
}

body.hailights-page #quarto-content.quarto-container.page-layout-full {
  min-height: auto !important;
  padding-bottom: 0 !important;
}

body.hailights-page #quarto-content.page-rows-contents {
  grid-template-rows:
    [content-top] max-content
    [content-bottom] max-content
    [page-bottom] !important;
}

body.hailights-page #quarto-content.page-layout-full main#quarto-document-content.column-page-left {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.hailights-page footer.footer {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  body.hailights-page .hailights-banner-logo-wrap {
    transform: translateX(clamp(4rem, 7vw, 7rem));
  }
}

@media (max-width: 991.98px) {
  body.hailights-page #quarto-content.page-rows-contents {
    grid-template-rows:
      [content-top] max-content
      [content-bottom] max-content
      [page-bottom] !important;
  }

  body.hailights-page #quarto-content.page-layout-full main#quarto-document-content.column-page-left {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.hailights-page .quarto-listing {
    margin-bottom: 0 !important;
  }

  body.hailights-page .quarto-post {
    margin-bottom: 0.9rem !important;
  }

  body.hailights-page .hailights-banner-logo-wrap {
    transform: none;
    margin-top: 0.25rem;
    margin-bottom: 0.1rem;
  }
}



.nb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 3.5rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #e6e8eb;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  margin-left: -1rem;
  margin-right: -1rem;
}

.nb-hero-copy h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  margin: 0 0 0.6rem;
  color: #111827;
}

.nb-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.nb-hero-subtitle {
  font-size: 1.1rem;
  color: #374151;
  margin: 0 0 1.6rem;
  line-height: 1.6;
}

.nb-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #111827;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.nb-button:hover {
  background: #0b0f18;
}

.nb-button.ghost {
  background: transparent;
  color: #111827 !important;
  border: 1px solid #111827;
}

.nb-button.ghost:hover {
  border-color: #0b0f18;
  color: #0b0f18 !important;
}

.nb-hero-media img {
  width: 100%;
  border-radius: 22px;
  border: none;
  box-shadow: none;
}

.nb-hero-media .nb-hero-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.16);
}

.nb-trust {
  margin: 2.5rem 0 1.5rem;
}

.nb-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.nb-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  font-weight: 600;
  color: #111827;
}

.nb-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin: 2.5rem 0;
}

.nb-feature h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.nb-feature p {
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
}

.nb-quote-callout {
  position: relative;
  max-width: none;
  margin: 3rem calc(50% - 46vw) 2.4rem;
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem);
  box-sizing: border-box;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(47, 111, 106, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f6f1e7 100%);
  border: 1px solid #e6ddcf;
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.08);
}

.nb-quote-kicker {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
}

.nb-home-quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
  color: #17212b;
}

.nb-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-weight: 700;
  color: #2f6f6a !important;
}

.nb-quote-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.nb-quote-link:hover::after {
  transform: translateX(2px);
}

.nb-publications {
  position: relative;
  max-width: none;
  margin: 3rem calc(50% - 46vw) 1rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem);
  box-sizing: border-box;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(11, 15, 24, 0.06), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, #f3efe6 100%);
  border: 1px solid #e7dece;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  overflow-x: clip;
}

.nb-publications-intro {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  color: #4b5563;
  line-height: 1.6;
  display: none;
}

.nb-publication-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, 48%);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.35rem 0 1rem;
  scroll-snap-type: none;
  scroll-padding-inline: 0;
  scrollbar-width: thin;
  scrollbar-color: #b9c0ca transparent;
}

.nb-publication-slider::-webkit-scrollbar {
  height: 0.65rem;
}

.nb-publication-slider::-webkit-scrollbar-thumb {
  background: #c3cad3;
  border-radius: 999px;
}

.nb-publication-card {
  scroll-snap-align: none;
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.nb-slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.nb-slider-button {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(16, 24, 32, 0.08);
}

.nb-slider-button:hover {
  background: #ffffff;
  border-color: #9ca3af;
}

.nb-slider-controls-bottom {
  justify-content: center;
}

.nb-publication-page {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  padding: 0.45rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 242, 0.98) 100%);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.09);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nb-publication-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.45rem;
  background: var(--nb-publication-accent, #111827);
}

.nb-publication-page::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.2rem;
  width: 3.4rem;
  height: 4.4rem;
  border-radius: 0 0.95rem 0 0.95rem;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.02));
  opacity: 0.55;
}

.nb-publication-card:hover .nb-publication-page {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(16, 24, 32, 0.14);
}

.nb-publication-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.nb-publication-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
}

.nb-publication-card.thesis {
  --nb-publication-accent: #356859;
}

.nb-publication-card.dissertation {
  --nb-publication-accent: #8f4c2b;
}

.nb-publication-card.patent {
  --nb-publication-accent: #1f5f78;
}

.nb-publications-footer {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.nb-publications-footer p {
  margin: 0;
  color: #4b5563;
  display: none;
}

.nb-interests {
  margin: 2.5rem 0 0;
}

.nb-interests h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0 0 1rem;
  color: #111827;
  text-align: center;
}

.nb-interest-grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 0.9rem;
}

.nb-interest-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #e5ddd0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f2e9 100%);
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.06);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: #111827;
}

.nb-webinars {
  margin: 1.5rem 0 0;
}

.nb-webinars h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0 0 1rem;
  color: #111827;
  text-align: center;
}

.nb-webinar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.nb-webinar-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid #e5ddd0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f2e9 100%);
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.06);
  overflow: hidden;
}

.nb-webinar-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
}

@media (max-width: 900px) {
  .nb-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .nb-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    padding: 3.25rem 2.4rem;
    margin-left: 0;
    margin-right: 0;
  }

  .nb-hero-media {
    width: 100%;
    max-width: 24rem;
    justify-self: end;
  }

  .nb-publications {
    margin: 3rem 0 1rem;
    padding: 2rem 1.5rem;
  }

  .nb-interest-grid {
    grid-template-columns: repeat(4, max-content);
  }

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

  .nb-quote-callout {
    margin: 2.4rem 0 2rem;
    padding: 1.7rem 1.6rem;
  }

  .nb-publication-slider {
    grid-auto-columns: minmax(16rem, 68%);
  }

  .nb-publication-page {
    aspect-ratio: 4 / 5;
  }

  .nb-publication-preview {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .nb-hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }

  .nb-hero-media {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .nb-features {
    grid-template-columns: 1fr;
  }

  .nb-hero {
    padding: 2.6rem 1.5rem;
  }

  .nb-publication-slider {
    grid-auto-columns: minmax(14rem, 82%);
  }

  .nb-interest-grid {
    grid-template-columns: repeat(2, max-content);
  }

  .nb-webinar-grid {
    grid-template-columns: 1fr;
  }

  .nb-quote-callout {
    padding: 1.45rem 1.2rem;
  }

  .nb-publication-page {
    aspect-ratio: 4 / 5;
    padding: 0.35rem;
  }

  .nb-publication-preview {
    height: 100%;
  }
}
