@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
/* Scope Theme - Tailwind CSS Custom Properties */
:root {
  /* Typography */
  --font-family-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-family-mono: 'Montserrat Mono', 'Courier New', monospace;
  --font-weight-bold: 700;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  /* Colors */
  --color-primary: #1a365d;
  --color-secondary: #553c9a;
  --color-accent: #f7fafc;
  --color-background: #ffffff;
  --color-foreground: #1a202c;
  --color-muted: #f7fafc;
  --color-muted-foreground: #6b7280;

  /* Scope specific colors */
  --color-scope-blue: #1a365d;
  --color-scope-gold: #f7fafc;
  --color-scope-purple: #553c9a;
  --color-scope-light: #f7fafc;
  --color-scope-dark: #1a202c;

  /* Navbar */
  --navbar-bg-scrolled: #ffffff;
  --navbar-bg-unscrolled: transparent;
  --navbar-text-scrolled: #000000;
  --navbar-text-unscrolled: #ffffff;
  --navbar-link-hover: #f7fafc;
  --navbar-button-bg-scrolled: #000000;
  --navbar-button-bg-unscrolled: #f7fafc;
  --navbar-button-text-scrolled: #ffffff;
  --navbar-button-text-unscrolled: #000000;

  /* Footer */
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --footer-link-hover: #f7fafc;
  --footer-border: rgba(255, 255, 255, 0.1);

  /* Layout */
  --section-padding: 5rem;
  --container-padding: 2rem;

  /* Animations */
  --animation-fade-in: fade-in 0.5s ease-out;
  --animation-slide-in: slide-in 0.5s ease-out;
}

html {
  scroll-behavior: smooth;
}

/* Typography classes */
.custom-h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  animation: var(--animation-fade-in);
  text-transform: uppercase;

  @media (min-width: 768px) {
    font-size: 3.75rem;
    line-height: 1;
  }

  @media (min-width: 1024px) {
    font-size: 4.5rem;
    line-height: 1;
  }
}

.custom-h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.custom-h3 {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: var(--font-weight-bold);
}

.custom-h4 {
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.25rem;
}

.custom-p {
  font-size: 1.125rem;
  line-height: 1.625;
}

.custom-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  margin-bottom: 2rem;
  /* text-transform: uppercase; */
  animation: var(--animation-fade-in);
}

.custom-section-title {
  font-size: 2rem;
  line-height: 2.3rem;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
}

@media (min-width: 768px) {
  .custom-section-title {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 768px) {
  .custom-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* Navbar classes */
.custom-navbar-header {
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.custom-navbar-header.scrolled {
  background-color: var(--navbar-bg-scrolled);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.custom-navbar-header.unscrolled {
  background-color: var(--navbar-bg-unscrolled);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.custom-navbar-logo.scrolled {
  color: var(--navbar-text-scrolled);
}

.custom-navbar-logo.unscrolled {
  color: var(--navbar-text-unscrolled);
  filter: invert(1);
}

.custom-navbar-link.scrolled {
  color: var(--navbar-text-scrolled);
}

.custom-navbar-link.scrolled:hover {
  color: rgba(0, 0, 0, 0.9);
}

.custom-navbar-link.unscrolled {
  color: var(--navbar-text-unscrolled);
}

.custom-navbar-link.unscrolled:hover {
  color: var(--color-scope-gold);
}

.custom-navbar-button.scrolled {
  background-color: var(--navbar-button-bg-scrolled);
  color: var(--navbar-button-text-scrolled);
}

.custom-navbar-button.scrolled:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.custom-navbar-button.unscrolled {
  background-color: var(--navbar-button-bg-unscrolled);
  color: var(--navbar-button-text-unscrolled);
}

.custom-navbar-button.unscrolled:hover {
  background-color: rgba(247, 250, 252, 0.9);
}

/* Footer classes */
.custom-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.custom-footer-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.custom-footer-link {
  transition: padding-left 0.2s ease-in-out;
}

.custom-footer-link:hover {
  padding-left: 5px;
}

.custom-footer-social-link {
  transition: scale 0.2s ease-in-out;
}
.custom-footer-social-link:hover {
  scale: 1.1;
}

.custom-footer-border {
  border-top: 1px solid var(--footer-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .custom-footer-border {
    flex-direction: row;
  }
}

.custom-footer-logo {
  height: 1.5rem;
  filter: invert(1);
}

.custom-footer-copyright {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Layout classes */
.custom-section {
  padding: var(--section-padding) 0;
}

.custom-container {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (max-width: 768px) {
  .custom-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .custom-footer {
    img {
      height: 1.5rem;
    }
  }

  .custom-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.bleeding-container {
  max-width: calc(100% + 4rem);
  margin-left: -2rem;
}

/* Article page specific classes */
.custom-article-hero {
  position: relative;
  height: 70vh;
  width: 100%;
  overflow: hidden;
}

.custom-article-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #000000;
}

.custom-article-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.custom-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

.custom-article-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .custom-article-hero-content {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.custom-article-hero-inner {
  max-width: 56rem;
}

.custom-article-title {
  color: white;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: var(--animation-fade-in);
}

@media (min-width: 768px) {
  .custom-article-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .custom-article-title {
    font-size: 4.5rem;
    line-height: 1;
  }
}

.custom-article-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 2rem;
  animation: var(--animation-fade-in);
}

@media (min-width: 768px) {
  .custom-article-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.custom-article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--color-scope-gold);
  animation: var(--animation-fade-in);
}

.custom-article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-article-content {
  padding: 4rem 1rem;
  background-color: white;
}

@media (min-width: 768px) {
  .custom-article-content {
    padding: 2rem 0rem;
  }
}

.custom-article-content-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.custom-article-share {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 1.5rem;
}

.custom-article-share-text {
  color: rgba(0, 0, 0, 0.6);
}

.custom-article-prose {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.custom-article-heading {
  color: #000000;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #000000;
  padding-left: 1.5rem;
}

.custom-article-image {
  margin-top: 3rem;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.custom-article-image-caption {
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.custom-article-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.custom-article-list-item {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.125rem;
  display: flex;
  align-items: flex-start;
}

.custom-article-list-bullet {
  color: var(--color-scope-gold);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.custom-article-quote {
  border-left: 4px solid var(--color-scope-gold);
  padding-left: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: #f9fafb;
  border-radius: 0 0.5rem 0.5rem 0;
}

.custom-article-quote-text {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.custom-article-quote-author {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

.custom-article-divider {
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-top: 2px solid rgba(247, 250, 252, 0.3);
}

/* General classes */

.bg-off-white {
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(248, 248, 248, 1) 100%);
}

.bg-off-black {
  background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(15, 15, 15, 1) 100%);
}

.step-number {
  position: relative;
  border: 2px solid #333333;
}

/* connector line to the next step */
.step-card:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 14rem; /* adjust spacing between steps */
  height: 2px;
  background: #333333;
}

/* arrow head pointing to the next step */
.step-card:not(:last-child) .step-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 14rem);
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #333333;
}

.step-card:last-of-type .step-number {
  background: #333333;
  color: white;
}

@media (max-width: 1024px) {
  .step-card:not(:last-child) .step-number::after {
    width: 10rem;
  }
  .step-card:not(:last-child) .step-number::before {
    left: calc(100% + 10rem);
  }
}

@media (max-width: 768px) {
  .step-card {
    align-self: center;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .step-card:not(:last-child) .step-number::after {
    display: none;
  }
  .step-card:not(:last-child) .step-number::before {
    display: none;
  }
}
