:root {
  --bg: #0a0a0f;
  --text: #edf3ff;
  --muted: #9aa7bb;
  --blue: #4da1ff;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body.no-overflow {
  overflow: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  font: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  max-width: 65ch;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 clamp(20px, 5vw, 60px);
  background: #111424d9;
  border-bottom: 1px solid #4da1ff0d;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-logo {
  width: 45px;
  height: 45px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.main-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 300ms ease;
}

body.nav-disabled .main-nav a,
body.nav-disabled .hamburger {
  pointer-events: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

/* Main content */
main {
  padding-top: 70px;
}

/* Sections */
main > section {
  position: relative;
  padding: clamp(4.2rem, 8.4vw, 7rem) clamp(20px, 5vw, 60px);
  overflow: hidden;
}

.section-label {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: #11142455;
  z-index: -1;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 161, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 161, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero p {
  font-size: 1.125rem;
  margin: 0 auto 2rem;
  color: var(--text);
  max-width: 700px;
}

#scroll-nudge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(40, 48, 93, 0.72);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  animation: scroll-nudge-pulse 1.8s ease-in-out infinite;
  transition:
    opacity 1.5s linear,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  -webkit-transition:
    opacity 1.5s linear,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  -moz-transition:
    opacity 1.5s linear,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  -o-transition:
    opacity 1.5s linear,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

#scroll-nudge span {
  display: block;
  font-size: 1.5rem;
  font: initial;
  line-height: 1;
  transform: rotate(-90deg);
}

#scroll-nudge:hover,
#scroll-nudge:focus-visible {
  background: rgba(40, 48, 93, 0.9);
  border-color: rgba(255, 255, 255, 0.62);
}

#scroll-nudge:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.76);
  outline-offset: 4px;
}

@keyframes scroll-nudge-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #scroll-nudge {
    animation: none;
  }
}

.opaque {
  visibility: hidden;
  opacity: 0;
}
.non-opaque {
  visibility: visible;
  opacity: 1;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid rgba(0, 9, 112, 0);
  border-radius: 32px;
  background: #28305dd9;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 320ms ease;
}

.button:hover {
  background: rgba(77, 161, 255, 0.25);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* Services */
.services {
  background: rgba(10, 10, 15, 0.5);
}

.services-header {
  margin-bottom: 4rem;
  max-width: 900px;
}

.services-header h2 {
  color: var(--text);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(18, 24, 36, 0.6);
  transition: all 320ms ease;
}

.service-card:hover {
  border-color: rgba(77, 161, 255, 0.4);
  background: rgba(18, 24, 36, 0.9);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(77, 161, 255, 0.4);
  border-radius: 8px;
  background: rgba(77, 161, 255, 0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--blue);
}

/* Cases */
.cases {
  background: rgba(10, 10, 15, 0.5);
}

.cases h2 {
  color: var(--text);
  margin-bottom: 3rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.case-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(18, 24, 36, 0.6);
  overflow: hidden;
  transition: all 320ms ease;
}

.case-card:hover {
  border-color: rgba(77, 161, 255, 0.4);
  transform: translateY(-4px);
}

.case-img {
  background-size: cover;
  background-position: center;
}

.case-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-industry {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.case-outcome {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Stats */
.stats {
  background: rgba(10, 10, 15, 0.5);
}

.stats h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.stats-intro {
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 680px;
}

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

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.stat-item {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(18, 24, 36, 0.5);
}

.stat-number {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-number span {
  font-size: 0.45em;
  opacity: 0.7;
  margin-left: 2px;
}

.stat-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: left;
  margin: 0;
  max-width: 100%;
}

/* Outcomes Quote Section */
.outcomes-quote {
  background: rgba(14, 18, 30, 0.6);
}

.outcomes-quote h2 {
  color: var(--text);
  margin-bottom: 3rem;
}

.outcomes-quote-heading {
  color: var(--text);
  margin-bottom: 3rem;
  max-width: 80%;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .outcomes-quote-heading {
    max-width: 100%;
  }
}

.outcome-quote {
  padding: 2rem;
  border: 1px solid rgba(77, 161, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(77, 161, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
}

.outcome-quote p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  max-width: 100%;
  margin: 0;
}

.outcome-quote cite {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.outcome-quote cite a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.outcome-quote cite a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Process */
.process {
  background: rgba(10, 10, 15, 0.5);
  padding-bottom: 0;
}

.invisible {
  visibility: hidden;
}

.process h2 {
  color: var(--text);
  margin-bottom: 3rem;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.process-item {
  position: relative;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(77, 161, 255, 0.4);
  border-radius: 50%;
  background: rgba(77, 161, 255, 0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 1rem;
}

.process-item h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.process-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Contact */
.contact {
  background: rgba(10, 10, 15, 0.5);
  padding-bottom: 0;
}

.contact h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-intro {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 700px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
}

.contact-email {
  display: flex;
  align-items: flex-start;
}

.email-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  transition: opacity 300ms ease;
}

.email-link:hover {
  opacity: 0.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(18, 24, 36, 0.8);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 300ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(77, 161, 255, 0.4);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(237, 243, 255, 0.3);
}

.recaptcha-note {
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-error-message {
  min-height: 1.4em;
  margin: -0.75rem 0 0;
  color: #ff6b6b;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Modal */
.contact-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(92vw, 640px);
  max-height: min(88vh, 820px);
  padding: 0;
  border: 1px solid rgba(77, 161, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  overflow: auto;
  transform: translate(-50%, -50%);
}

.contact-modal::backdrop {
  background: rgba(5, 8, 15, 0.76);
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(14, 18, 30, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 100%;
  padding: 2rem;
  background: rgba(14, 18, 30, 0.82);
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.modal-loader[hidden] {
  display: none;
}

.modal-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: modal-loader-spin 800ms linear infinite;
}

.modal-thank-you {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  text-align: center;
}

.modal-thank-you h2 {
  margin: 0;
}

.modal-thank-you p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
}

@keyframes modal-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-modal h2 {
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-modal .contact-intro {
  margin-bottom: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  transition:
    background 250ms ease,
    transform 250ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(77, 161, 255, 0.2);
  outline: none;
  transform: translateY(-1px);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem clamp(20px, 5vw, 60px);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 250ms ease,
    opacity 250ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Scroll lines */
.scroll-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.scroll-lines svg {
  width: 100%;
  height: 100%;
}

.scroll-lines path {
  fill: none;
  stroke: #4ea6ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
  filter: drop-shadow(0px 4px 8px #2d8cff);
}

/* Responsive */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(10, 10, 15, 0.97);
    border-bottom: 1px solid rgba(77, 161, 255, 0.1);
    backdrop-filter: blur(12px);
    z-index: 199;
  }

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

  .main-nav a::after {
    bottom: -4px;
  }

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

  .services-container {
    grid-template-columns: 1fr;
  }

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

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

  .process-flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Carousel ─────────────────────────────────────────────────────────────── */

.cases {
  padding-bottom: 0;
}

.cases-header {
  padding: 0 clamp(20px, 5vw, 60px);
  margin-bottom: 3rem;
}

.cases-header h2 {
  color: var(--text);
}

/* Normal in-flow block — no pinning, no position tricks */
.gallery {
  position: relative;
  width: 100%;
  height: 600px;
}

.cards {
  position: absolute;
  width: 22rem;
  height: 30rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards li {
  position: absolute;
  top: 0;
  left: 0;
  width: 22rem;
  height: 30rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(77, 161, 255, 0.15);
  background: rgba(18, 24, 36, 0.9);
  transition: border-color 300ms ease;
}

.cards li:hover {
  border-color: rgba(77, 161, 255, 0.5);
}

.carousel-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.carousel-card-img {
  width: 100%;
  height: 45%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.carousel-card-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.carousel-industry {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.carousel-card-body h3 {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 600;
}

.carousel-card-body .case-outcome {
  font-size: 0.86rem;
  line-height: 1.45;
}

.carousel-card-link--cta:hover .carousel-cta-btn {
  background: rgba(77, 161, 255, 0.25);
  border-color: var(--blue);
}

.carousel-cta-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  max-width: 100%;
}

.carousel-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 10px 20px;
  border: 1px solid rgba(77, 161, 255, 0.4);
  border-radius: 32px;
  background: rgba(77, 161, 255, 0.1);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 300ms ease;
}

.carousel-actions {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 200;
}

.carousel-actions button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(77, 161, 255, 0.3);
  background: rgba(18, 24, 36, 0.85);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 300ms ease;
  backdrop-filter: blur(8px);
  user-select: none;
}

.carousel-actions button:hover {
  border-color: var(--blue);
  background: rgba(77, 161, 255, 0.15);
}

.drag-proxy {
  visibility: hidden;
  position: absolute;
}

/* Tools carousel */
.tool-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.tool-carousel-track {
  display: inline-flex; /* Keeps the track width tight around the cards */
  gap: 20px; /* Must match JS gap */
}

.tool {
  min-width: 300px;
  height: 200px;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Tools Section ────────────────────────────────────────────────────────── */

.tools-section {
  background: rgba(14, 18, 30, 0.6);
  overflow: hidden;
}

.tools-section h2 {
  color: var(--text);
  margin-bottom: 3rem;
}

.tool-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.tool-carousel-track {
  display: inline-flex;
  gap: 20px;
}

.tool-card {
  flex-shrink: 0;
  min-width: 180px;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: rgba(18, 24, 36, 0.6);
  text-align: center;
  transition:
    border-color 300ms ease,
    background 300ms ease;
}

.tool-card:hover {
  border-color: rgba(77, 161, 255, 0.35);
  background: rgba(18, 24, 36, 0.9);
}

.tool-card-logo {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.tool-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── About section — Option A: full-bleed photo, editorial text below ── */

.about-photo-band {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 2rem;
  overflow: visible;
}
.about-photo-band img {
  width: min(100%, 900px);
  height: auto;
  display: block;
  padding-top: 2rem;
}
/* fade the bottom edge into the page background */
.about-photo-band::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(calc(100% - 4rem), 900px);
  height: 58%;
  background: linear-gradient(to bottom, transparent, var(--bg, #060d1f));
  pointer-events: none;
  transform: translateX(-50%);
}

/* Text content below photo */
.about-body {
  padding: 3.5rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* First paragraph — full width, slightly larger */
.about-intro-para {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.15rem !important;
  line-height: 1.8;
  margin: 0 auto 3rem;
  max-width: 902px;
  text-align: center;
}
.about-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem 5rem;
}
@media (max-width: 780px) {
  .about-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.about-col p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}
.about-col a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.35);
  transition: border-color 0.2s;
}
.about-col a:hover {
  border-color: #2563eb;
}
.about-closing {
  grid-column: 1 / -1;
  font-style: italic;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 1.08rem !important;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.grecaptcha-badge {
  visibility: hidden;
}
