/* Variables */
:root {
  --background-rgb: 14, 14, 14;
  --bs-emphasis-color-rgb: 14, 14, 14;
  --bs-black-rgb: 14, 14, 14;
  --foreground-rgb: 238, 238, 238;
  --red-color: #CD0001;
  --orange-color: #FF4200;
  --kraft-color: #EFBA70;
  --yellow-color: #FFCD11;
  --green-color: #269317;
  --blue-color: #1462F8;
  --clay-color: #DCD7D3;
  --type-size-base: 1rem;
  --type-size-small: 0.75rem;
  --type-size-medium: 1.5rem;
  --type-size-large: 2rem;
}

html {
  scroll-behavior: smooth;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: var(--type-size-base);
}

.blog-date {
  line-height: 0;
}

#body {
  font-family: 'FK Grotesk Neue', sans-serif;
  line-height: 1.5em;
  color: rgb(var(--foreground-rgb));
  background-color: rgb(var(--background-rgb));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  /* position: sticky; */
  top: 0;
  z-index: 1000;
  background-color: rgb(var(--background-rgb));
}

.navbar-brand {
  position: relative;
  left: -2px;
}

.navbar-brand svg {
  height: 35px;
  width: auto;
  fill: rgb(var(--foreground-rgb));
}

.navbar-brand:hover svg {
  fill: var(--yellow-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M24 6L6 24'/%3e%3c/svg%3e");
}

.navbar-nav {
  gap: 1rem;
}

/* Links and Buttons */
.nav-link {
  color: rgb(var(--foreground-rgb)) !important;
  text-decoration: none;
  padding: 0.5rem 1.0rem 0.4rem 1.0rem !important;
  transition: all 0s ease;
  display: flex;
  align-items: center;
  height: 40px;
  font-weight: 500;
  font-size: var(--type-size-base);
  border-radius: 2px;
}

.nav-link:hover {
  background-color: rgb(var(--foreground-rgb));
  color: rgb(var(--background-rgb)) !important;
}

.nav-link.btn {
  background-color: var(--yellow-color);
  color: rgb(var(--background-rgb)) !important;
  font-size: var(--type-size-base);
  font-weight: 500;
  text-decoration: none;
  height: 40px;
  display: flex;
  align-items: center;
  border-radius: 2px;
  margin-left: 0.7em !important;
}

.nav-link.btn:hover {
  background-color: rgb(var(--foreground-rgb));
  color: rgb(var(--background-rgb)) !important;
}

.nav-link.btn span {
  position: relative;
  top: -1px;
}

a {
  text-decoration: underline;
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
  color: rgb(var(--foreground-rgb));
  display: inline-block;
}

a:hover {
  text-decoration-color: var(--yellow-color);
}

img {
  mix-blend-mode: screen;
}

/* Video Components */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-container {
  width: 100%;
  position: relative;
  background-color: #000000;
  margin: 0 auto;
  aspect-ratio: 16/9;
  margin-bottom: 2rem;
}

.video-embed-container video {

  border-radius: 4px;
}

.video-embed-container-vertical {
  width: 100%;
  position: relative;
  background-color: #000000;
  margin: 0 auto;
  aspect-ratio: 9/16;
  margin-bottom: 2rem;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: white;
  text-align: left;
}

.video-link h1 {
  font-size: 1.8rem;
  margin-left: 0.2rem;
  line-height: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  text-decoration: none;
}

.video-link h2 {
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
  font-size: var(--type-size-medium);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
  margin-left: 0.3rem;
  padding: 0.6rem 1rem 0.5rem 1rem;
  border: 1px solid rgba(var(--foreground-rgb), 1.0);
  border-radius: 8px;
  display: inline-block;
}

a.video-link {
  text-decoration: none;
  color: rgb(var(--foreground-rgb));
  display: inline-block;
  padding: 30px 30px;
}

a.video-link:hover h2 {
  background-color: rgb(var(--foreground-rgb));
  color: rgb(var(--background-rgb));
}

.social-icons {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 2;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(var(--foreground-rgb), 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgb(var(--foreground-rgb));
  color: rgb(var(--background-rgb));
}

.social-icon i {
  font-size: 20px;
}

.responsive-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: 100vw !important;
}

/* Content Sections */
.content-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(var(--foreground-rgb), 0.25);
  align-items: start;
  width: 100%;
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}

.content-section h2 {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 1rem;
}

.section-description {
  grid-column: 3 / 13;
  color: #ffffff;
  line-height: 1.5;
  font-size: 1.3em;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.section-content {
  width: 100%;
}

.section-content p {
  font-size: var(--type-size-medium);
  line-height: 1.25;
  font-weight: 300;
  max-width: 61ch;
  /* grid-column: 1 / 9; */
}

.section-content p a {
  font-size: var(--type-size-medium);
  line-height: 1.25;
  font-weight: 400;
}

/* Blog Styles */
.blog-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  border-top: 1px solid rgba(var(--foreground-rgb), 0.25);
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.blog-header {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-header h1 {
  font-size: var(--type-size-base);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.blog-header p {
  color: rgba(var(--foreground-rgb), 0.5);
}

.blog-content {
  grid-column: 3 / -1;
}

.blog-intro {
  font-size: var(--type-size-medium);
  max-width: 50ch;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
  width: 80%;
}

.blog-text {
  font-size: var(--type-size-base);
  line-height: 1.5;
  padding-bottom: 1rem;
  max-width: 70ch;
  font-weight: 300;
}

.blog-text a {
  color: var(--yellow-color);
}

.blog-text.footnote-size {
  font-size: var(--type-size-small);
  max-width: 80ch;
  line-height: 1.5;
}

.blog-text.footnote-size a {
  font-size: var(--type-size-small);
}

.blog-text li {
  font-size: var(--type-size-base);
  line-height: 1.5;
  font-weight: 300;
}

.blog-text li.footnote-size {
  font-size: var(--type-size-small);
}

.blog-text li.footnote-size a {
  font-size: var(--type-size-small);
}

.blog-video {
  margin-bottom: 1.5rem;
  width: 80%;
}

.blog-video.float-right {
  float: right;
  width: 45%;
  margin: 0 0 1rem 2rem;
  clear: right;
}

/* Blog V2 Styles */
.blog-v2-border {
  width: 100%;
  max-width: calc(1450px - 2rem);
  margin: 0 auto;
  border-top: 1px solid rgba(var(--foreground-rgb), 0.2);
}

.blog-v2-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 1rem;
  padding-bottom: 3rem;
  font-size: 1.5rem;
}

.blog-v2-menu {
  grid-column: 1 / 4;
  display: flex;
  flex-direction: column;
  padding-right: 3rem;
}

.blog-v2-menu h1 a {
  margin-top: calc(5rem + 4px);
  font-size: 1.1rem;
  color: rgba(var(--foreground-rgb), 0.7);
  font-weight: 400;
  text-decoration: none;
}

.blog-v2-menu h1 a:hover {
  color: rgba(var(--foreground-rgb), 1.0);
}

.blog-v2-title {
  grid-column: 4 / 12;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 5rem;
  margin-bottom: 1rem;
  max-width: 38ch;
  color: rgba(255,255,255,1);
}

.blog-v2-title .alt-title-color {
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
}

.blog-v2-title .alt-glyphs {
  color: rgba(255,255,255,1);
  font-weight: 500;
}

.blog-v2-title strong {
  font-weight: 600;
  font-size: 2rem;
}

.blog-v2-subtitle {
  grid-column: 4 / 12;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.6);
}

.blog-v2-authors {
  grid-column: 4 / 12;
  font-size: 1.1rem;
  letter-spacing: 0.25px;
}

.blog-v2-date {
  grid-column: 4 / 12;
  font-size: 1.0rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3rem;
  letter-spacing: 0.25px;
}

.blog-v2-teaser {
  grid-column: 4 / 10;
  width: 90%;
  margin-bottom: 2rem;
  margin-left: -0.5rem;
}

.blog-v2-header {
  grid-column: 1 / 4;
  display: flex;
  flex-direction: column;
  padding-right: 3rem;
  letter-spacing: 0.25px;
}

.blog-v2-header h1 {
  font-size: 0.9rem;
  line-height: 1.6rem;
  margin: 0;
  font-weight: 400;
}

.blog-v2-header h1:hover {
  text-decoration: underline;
}

.blog-v2-header p {
  font-size: 0.9rem;
  color: rgba(var(--foreground-rgb), 0.5);
  margin: 0;
  padding-left: 1rem;
}

.blog-v2-header p:hover {
  text-decoration: underline;
  color: rgba(var(--foreground-rgb), 0.9);
}

.blog-v2-intro {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 300;
  position: relative;
}

.blog-v2-content {
  grid-column: 4 / 10;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #eee;
}

.blog-v2-content a {
  color: rgba(var(--foreground-rgb), 0.7);
  font-size: inherit;
  text-decoration-color: rgba(var(--foreground-rgb), 0.3);
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  display: inline;
  hyphens: auto;
}

.blog-v2-content a:hover {
  color: inherit;
  font-size: inherit;
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
}

.alt-glyphs {
  font-feature-settings: "zero" 1, "case" 1;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.blog-v2-content img {
  grid-column: 4 / 12;
  width: 100%;
}

.blog-intro-image {
  float: right;
  width: calc(35% + 5.5rem) !important;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  margin-right: -5.5rem;
  border-radius: 4px;
  margin-top: 0.3rem;
}

.blog-v2-content video {
  grid-column: 4 / 12;
  width: 100%;
}

.blog-v2-video {
  border-radius: 4px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.blog-v2-video.playing {
  opacity: 1;
}

/* Main Video Container */
.main-video-container {
  grid-column: 4 / 12;
  position: relative;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  pointer-events: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.3);
}

.video-play-button.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Video Gallery Styles */
.video-gallery-container {
  grid-column: 4 / 12;
  margin-top: 2rem;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
}

.video-gallery img,
.video-gallery video {
  grid-column: auto;
}

.gallery-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  transition: none;
  border: 2px solid transparent;
  opacity: 0.75;
}

.gallery-video:hover {
  opacity: 1;
  transform: scale(1);
  border: 3px solid #ffffff;
}

.gallery-video.active {
  opacity: 1;
  border: 3px solid #FFCD11;
}

.blog-v2-caption {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(var(--foreground-rgb), 0.7);
}

.blog-v2-content h1 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}

.blog-v2-content h1:hover::before {
  content: '# ';
  position: absolute;
  left: -1.5rem;
  color: rgba(var(--foreground-rgb), 0.4);
  transition: color 0.2s ease;
}

.blog-v2-content h1:hover::before:hover {
  color: var(--yellow-color);
}

.blog-v2-content h2 {
  font-size: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}

.blog-v2-content h3 {
  font-size: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 400;
  position: relative;
  line-height: 1.5em;
  color: rgba(var(--foreground-rgb), 0.7);
}

.blog-v2-content i {
  font-size: 1.1rem;
  font-style: italic;
}

.blog-v2-content h2:hover::before {
  content: '# ';
  position: absolute;
  left: -1.5rem;
  color: rgba(var(--foreground-rgb), 0.4);
  transition: color 0.2s ease;
}

.blog-v2-content h2:hover::before:hover {
  color: var(--yellow-color);
}


.blog-v2-content ul {
  margin-top: 1rem;
  font-size: inherit;
  list-style-type: disc;
}

.blog-v2-content ul li {
  font-size: inherit;
  position: relative;
  left: -0.3rem;
  color: rgba(var(--foreground-rgb), 0.7);
}

.blog-v2-content ul li::marker {
  color: rgba(var(--foreground-rgb), 0.25);
}

.blog-v2-content ul strong {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(var(--foreground-rgb), 1.0);
}

.blog-v2-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 0;
  font-size: 1rem;
  font-variant-numeric: tabular-nums lining-nums;
  table-layout: fixed;
  min-width: 560px;
}

.blog-v2-table th,
.blog-v2-table td {
  padding: 8px 12px 5px 12px;
  border: none;
  border-right: 1px solid rgba(var(--foreground-rgb), 0.15);
  text-align: left;
  font-size: 1rem;
}

.blog-v2-table th {
  background-color: rgba(var(--foreground-rgb), 0.1);
  font-weight: 500;
  font-size: 1rem;
  border-right: 1px solid rgba(var(--background-rgb), 0.75);
}

.blog-v2-table th:last-of-type,
.blog-v2-table td:last-of-type {
  border-right: none;
}

.blog-v2-table tr {
  border-bottom: 1px solid rgba(var(--foreground-rgb), 0.15);
}

.blog-v2-table tr:last-of-type {
  border-bottom: none;
}

.col1 {
  width: 37%;
}

.col2, .col3, .col4 {
  width: 21%;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  outline: 1px solid rgba(var(--foreground-rgb), 0.15);
  border-radius: 2px;
  margin-top: 2rem;
}

.table-scroll .blog-v2-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Footnote styling */
.footnote-ref {
  font-size: 0.7em;
  font-weight: 300;
  color: rgba(var(--foreground-rgb), 0.7);
  text-decoration: none;
  cursor: pointer;
}

.footnote {
  position: absolute;
  width: auto;
  font-size: 0.9rem;
  padding: 0.5rem;
  line-height: 1.4;
  border-radius: 4px;
  z-index: 1000;
  opacity: 1;
  margin-left: 3rem;
  pointer-events: auto;
  color: rgba(var(--foreground-rgb), 0.7);
  display: inline;
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
  letter-spacing: 0.25px;
}

.footnote a {
  font-size: 0.9rem;
  display: inline;
}

.footnote.visible {
  opacity: 1;
  pointer-events: auto;
}

.footnote:hover {
  opacity: 1;
}

.footnote-number {
  font-weight: 600;
  margin-right: 0.25rem;
  font-size: 0.7rem;
}

.footnote sup {
  font-weight: 400;
}

a.footnote {
  text-decoration: none;
}

a.footnote span {
  text-decoration: underline;
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
  font-size: 0.9rem;
}

a.footnote:hover span {
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
  color: rgba(var(--foreground-rgb), 1);
}

.blog-v2-cite-box {
  font-family: 'SF Mono';
  color: rgba(var(--foreground-rgb), 0.7);
  background-color: rgba(var(--foreground-rgb), 0.06);
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-radius: 2px;
}

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

.blog-nav-link {
  flex: 0 0 auto;
  display: inline-block;
  padding: 0.25rem 0.5rem 0.15rem 0.5rem;
  border-radius: 2px;
  text-decoration: none;
  color: rgba(var(--foreground-rgb), 0.7);
  font-weight: 400;
  font-size: 1rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

a.blog-nav-link:hover {
  background: rgba(var(--foreground-rgb), 0.75);
  color: rgba(var(--background-rgb), 1.0) !important;
}

.blog-nav-prev {
  text-align: left;
  flex: 1;
  margin-right: auto;
  position: relative;
  left: -0.5rem;
}

.blog-nav-top {
  text-align: center;
  flex: 1;
}

.blog-nav-next {
  text-align: right;
  flex: 1;
  margin-left: auto;
  position: relative;
  right: -0.5rem;
}

/* SFMono-Regular, 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; */


.blog-menu-title {
  grid-column: 4 / 12;
  line-height: 1.25;
  margin-top: 5rem;
  margin-bottom: 1rem;
  max-width: 30ch;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.5px;
}

.blog-menu-title strong {
  font-weight: 600;
  font-size: 2.2rem;
}

.blog-menu-description {
  grid-column: 4 / 12;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.blog-menu-article-link {
  grid-column: 4 / 10;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.blog-menu-article-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.blog-menu-article-link:hover .blog-menu-article {
  background-color: rgba(var(--foreground-rgb), 0.15);
}

.blog-menu-article {
  font-size: 1.1rem;
  background-color: rgba(var(--foreground-rgb), 0.1);
  border-radius: 4px;
  padding: 1rem;
  padding-right: 2rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.blog-menu-article h1 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.blog-menu-article h2 {
  font-size: 1.0rem;
  line-height: 1.5;
  color: rgba(var(--foreground-rgb), 0.7);
  margin-bottom: 0;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.blog-menu-article p {
  font-size: 1.0rem;
  color: rgba(var(--foreground-rgb), 0.7);
  margin-bottom: 0;
  font-weight: 400;
}

/* Video Examples */
.video-examples {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: start;
}

.video-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
}

.video-grid-2x2 video {
  grid-column: auto;
  width: 100%;
  display: block;
  border-radius: 4px;
}

.video-padded {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
}

.video-padded video {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.video-grid-1x2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
}

.video-grid-1x2 .video-cell {
  height: 430px;
  overflow: hidden;
  border-radius: 4px;
}

.video-grid-1x2 .video-cell iframe {
  height: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
}

.video-grid-1x2 .video-cell video {
  grid-column: auto;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.video-description {
  padding-left: 1rem;
  width: 80%;
}

.video-description h2 {
  font-size: var(--type-size-medium);
  font-weight: 400;
  line-height: 1.25;
}

.video-description p {
  font-size: var(--type-size-base);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.blog-description {
  grid-column: 3 / 13;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-article {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.article-title {
  grid-column: 1 / 9;
  color: rgb(var(--foreground-rgb));
  font-weight: 400;
  line-height: 1.8rem;
  font-size: var(--type-size-medium);
  margin-top: 0.2rem;
}

.article-link {
  text-decoration: none;
}

.article-link .article-title {
  text-decoration-color: rgba(var(--foreground-rgb), 0.5);
}

.article-link:hover .article-title {
  text-decoration: underline;
  text-decoration-color: var(--yellow-color);
  text-underline-offset: 3px;
}

.article-link:hover {
  background-color: rgba(var(--foreground-rgb), 0.03);
}

.article-date {
  grid-column: 9 / -1;
  color: rgba(var(--foreground-rgb), 0.5);
  font-size: var(--type-size-base);
  font-weight: 400;
  text-align: right;
  line-height: 1.25rem;
}

.article-description {
  grid-column: 1 / 9;
  font-size: var(--type-size-base);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  width: 100%;
  color: rgba(var(--foreground-rgb), 0.7);
}

.article-image {
  grid-column: 1 / -1;
  font-size: var(--type-size-medium);
  width: 50ch;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.about-content-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 1rem;
  /* border-top: 1px solid #ffffff; */
  align-items: start;
  width: 100%;
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}

.about-content-section h2 {
  grid-column: 1 / -1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.8rem;
  line-height: 1.25;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.about-content-section h3 {
  grid-column: 1 / -1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.8rem;
  line-height: 1.25;
  font-weight: 400;
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.about-symbol {
  grid-column: 1 / -1;
  width: 40px;
  height: auto;
  margin: 2rem auto 1rem;
  display: block;
}

.about-section-description {
  grid-column: 3 / 11;
  color: rgb(var(--foreground-rgb));
  line-height: 1.5;
  font-size: 1.3em;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.about-section-content {
  width: 100%;
}

.about-section-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 2rem;
}

.about-section-content p a {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(var(--foreground-rgb), 0.7);
}


.about-section-content p a:hover {
  color: rgb(var(--foreground-rgb));
}

/* Investor Gallery Section */
.investor-gallery-section {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.investor-panel {
  background-color: rgba(var(--foreground-rgb), 0.05);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}

.investor-panel:hover {
  background-color: rgba(var(--foreground-rgb), 0.08);
}

.investor-panel img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .about-section-description {
    grid-column: 2 / 12;
  }

  .investor-gallery-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-section-description {
    grid-column: 1 / -1;
  }

  .investor-gallery-section {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .investor-panel {
    padding: 1.5rem;
  }
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  margin-top: 3rem;
}

.contact-section p {
  font-size: 1.1rem;
  color: rgb(var(--foreground-rgb));
  font-weight: 400;
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-actions .nav-link span {
  position: relative;
  top: -1px;
}

/* Footer */
.site-footer {
  width: 100%;
  background-color: var(--background-rgb);
  padding-bottom: 2rem;
  flex-shrink: 0;
}

.footer-wrapper {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
}

.front-page-footer {
  border-top: 1px solid rgba(var(--foreground-rgb), 0.2);
}

.footer-logo {
  height: 24px;
  display: flex;
  align-items: center;
}

.footer-logo svg {
  height: 24px;
  width: auto;
  fill: rgb(var(--foreground-rgb));
}

.footer-logo:hover svg {
  fill: var(--yellow-color);
}

.footer-copyright {
  color: rgba(var(--foreground-rgb), 0.5);
  font-size: 1rem;
  font-weight: 400;
  line-height: 30px;
}

.footer-social-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.footer-social-icon:hover {
  background-color: rgb(var(--foreground-rgb));
  color: rgb(var(--background-rgb));
}

.footer-social-icon i {
  font-size: 20px;
}

/* Utility Classes */
.section-separator {
  height: 1px;
  background-color: rgba(var(--foreground-rgb), 0.25);
  width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 1199px) {
  .content-section {
    grid-template-columns: repeat(8, 1fr);
  }

  .section-header {
    grid-column: 1 / 3;
  }

  .section-description {
    grid-column: 3 / -1;
  }
}

@media screen and (max-width: 991px) {
  .content-section {
    grid-template-columns: repeat(6, 1fr);
  }

  .section-header {
    grid-column: 1 / 2;
  }

  .section-description {
    grid-column: 2 / -1;
  }
}

/* Mobile-only table font size (under Bootstrap md) */
@media (max-width: 767.98px) {
  .blog-v2-table th,
  .blog-v2-table td {
    font-size: 0.78rem;
  }
}

  /* Mobile behavior for citations */
  @media (max-width: 767.98px) {
    /* Hide margin footnotes on mobile */
    .footnote {
      display: none !important;
      position: static !important;
      width: auto !important;
      top: auto !important;
      left: auto !important;
    }

    /* Make the <sup> look tappable */
    .footnote-ref {
      cursor: pointer;
    }

    /* Inline bubble that appears after tapping the <sup> */
    .inline-footnote {
      display: block;
      margin: 0 .25em 0 .25em;
      padding: .5em .75em;
      font-size: 0.95em;
      line-height: 1.4;
      border-left: 3px solid #aaa;
      background: rgba(238, 238, 238, 0.06);
      border-radius: .25rem;
    }
  }


/* --- Cite box copy affordance --- */
.blog-v2-cite-box {
  position: relative;
  padding-right: 2.5rem; /* make room for the button */
}

.cite-copy-btn {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  color: rgb(238,238,238);
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease, transform .08s ease;
}

.blog-v2-cite-box:hover .cite-copy-btn,
.blog-v2-cite-box:focus-within .cite-copy-btn {
  opacity: 1;
}

.cite-copy-btn:focus {
  outline: 2px solid rgba(255,255,255,.45);
  outline-offset: 2px;
}

.cite-copy-btn:active {
  transform: scale(0.96);
}

.cite-copy-icon {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.cite-copied-badge {
  position: absolute;
  top: .6rem;
  right: 3.2rem;
  font-size: .8rem;
  opacity: 0;
  user-select: none;
  transition: opacity .18s ease;
}

.blog-v2-cite-box.copied .cite-copied-badge {
  opacity: 1;
}


@media screen and (max-width: 767px) {
  .content-section,
  .blog-container {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1rem;
  }

  .section-header,
  .blog-header {
    grid-column: 1;
  }

  .section-description,
  .blog-content {
    grid-column: 1;
  }

  .blog-article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .article-title {
    grid-column: 1;
  }

  .article-date {
    grid-column: 1;
    text-align: left;
    margin-top: 0.25rem;
  }

  .footer-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-copyright {
    margin-top: 0.5rem;
  }

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

  .video-description {
    padding-left: 0;
  }

  .blog-v2-menu {
    display: none;
  }

  .blog-v2-menu h1 {
    margin-top: 2rem;
  }

  .blog-v2-title {
    grid-column: 1 / -1;
  }

  .blog-v2-subtitle {
    grid-column: 1 / -1;
  }

  .blog-v2-authors {
    grid-column: 1 / -1;
  }

  .blog-v2-date {
    grid-column: 1 / -1;
  }

  .blog-v2-teaser {
    grid-column: 1 / -1;
    width: 100%;
  }

  .blog-v2-header {
    display: none;
  }

  .blog-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .blog-nav-link {
    text-align: center;
    width: 100%;
  }

  .blog-nav-prev,
  .blog-nav-top,
  .blog-nav-next {
    text-align: center;
  }

  .blog-v2-content {
    grid-column: 1 / -1;
  }

  .blog-intro-image {
    float: none;
    width: 100% !important;
    margin: 0 0 1.5rem 0;
  }

  .footnote {
    display: None;
  }

  .blog-menu-title {
    grid-column: 1 / -1;
  }

  .blog-menu-article-link {
    grid-column: 1 / -1;
  }

  .blog-menu-article {
    grid-column: 1 / -1;
  }

  .blog-header h1 {
    font-size: var(--type-size-medium);
  }

  .blog-video {
    width: 100%;
  }

  .blog-video.float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }

  .video-text-overlay {
    padding: 20px;
  }

  .large-text {
    font-size: 1.5rem;
    line-height: 1.7rem;
    opacity: 1;
  }

  .small-text {
    font-size: 1.2rem;
    opacity: 1;
  }

  .social-icons {
    top: 15px;
    right: 15px;
    bottom: auto;
  }

  .blog-intro {
    font-size: 1.5rem;
    line-height: 2.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    width: 100%;
  }

  .blog-text {
    font-size: 1rem;
    line-height: 1.4rem;
    padding-bottom: 1rem;
    width: 100%;
  }

  .blog-video {
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .blog-video.float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }

  .video-description {
    padding-left: 0;
    width: 100%;
  }

  .video-description h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-top: 1rem;
  }

  .video-description p {
    font-size: 1rem;
    line-height: 1.4rem;
    margin: 0;
  }

  .section-description {
    grid-column: 1;
    width: 100%;
  }

  .section-content {
    width: 100%;
  }

  .contact-section {
    width: 100%;
  }

  .contact-panel-content {
    width: 100%;
    max-width: none;
    padding: 1rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    height: 100vh;
    height: 100dvh;
  }
}

/* Fonts */
@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Thin.woff2') format('woff2'),
       url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Thin.woff') format('woff'),
       url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-ThinItalic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-ThinItalic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Light.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Light.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-LightItalic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-LightItalic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Regular.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Regular.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Italic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Italic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Medium.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Medium.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-MediumItalic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-MediumItalic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Bold.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Bold.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-BoldItalic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-BoldItalic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-Black.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-Black.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('assets/fonts/FK Grotesk Neue Full Family/woff2/FKGroteskNeue-BlackItalic.woff2') format('woff2'),
    url('assets/fonts/FK Grotesk Neue Full Family/woff/FKGroteskNeue-BlackItalic.woff') format('woff'),
    url('assets/fonts/FK Grotesk Neue Full Family/ttf/FKGroteskNeue-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Contact Panel */
.contact-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    transition: right 0.3s ease;
}

.contact-panel.active {
    right: 0;
}

.contact-panel-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-panel-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    background: rgb(var(--background-rgb));
    padding: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: rgb(var(--foreground-rgb));
    overscroll-behavior: contain;
}

.contact-panel-content.active {
    transform: translateX(0);
}

.contact-panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1;
    color: rgb(var(--foreground-rgb));
}

.contact-panel-close:hover {
    color: var(--yellow-color);
}

/* JotForm specific styles */
.jotform-form {
    background: transparent !important;
    color: rgb(var(--foreground-rgb)) !important;
}

.jotform-form input,
.jotform-form textarea,
.jotform-form select {
    background: rgba(var(--foreground-rgb), 0.1) !important;
    color: rgb(var(--foreground-rgb)) !important;
    border: 1px solid rgba(var(--foreground-rgb), 0.2) !important;
}

.jotform-form label {
    color: rgb(var(--foreground-rgb)) !important;
}

.jotform-form .form-submit-button {
    background: var(--yellow-color) !important;
    color: rgb(var(--background-rgb)) !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
}

.jotform-form .form-submit-button:hover {
    background: rgb(var(--foreground-rgb)) !important;
}

@media screen and (max-width: 767px) {
    .contact-panel-content {
        width: 100%;
        max-width: none;
        padding: 1rem;
        padding-top: 3rem;
        padding-bottom: 2rem;
        height: 100vh;
        height: 100dvh;
    }
}

.pipedriveWebForms {
  overflow-y: auto !important;
}
