.csd-back {
  padding: 32px 0 0;
}

.csd-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.csd-back a:hover {
  color: var(--color-primary);
}

.csd-back svg {
  width: 16px;
  height: 16px;
}

#csd-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, var(--color-primary-soft) 0%, transparent 100%);
}

#csd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/patterns/network-grid.svg");
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.15;
  pointer-events: none;
}

:root:not([data-theme="dark"]) #csd-hero::before {
  filter: invert(1);
  opacity: 0.22;
}

#csd-hero > .container {
  position: relative;
  z-index: 1;
}

.csd-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.csd-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#csd-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

#csd-hero h1 {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

#csd-hero .lede {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

#csd-hero .btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

#csd-video {
  padding: 8px 0 56px;
}

.csd-video-card {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--color-bg-alt);
}

.csd-video-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.csd-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-fast);
}

.csd-video-card:hover .csd-video-play {
  background: rgba(0, 0, 0, 0.25);
}

.csd-video-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.csd-video-card:hover .csd-video-play span {
  transform: scale(1.08);
  background: var(--color-primary);
}

.csd-video-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  color: var(--color-primary-hover);
}

.csd-video-card:hover .csd-video-play svg {
  color: #fff;
}

#csd-about {
  padding: 8px 0 56px;
  background: var(--color-bg-alt);
}

.csd-about-inner {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 48px;
}

.csd-about-inner h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
}

.csd-about-inner p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

#csd-gallery {
  padding: 56px 0;
}

#csd-gallery h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 40px;
}

.csd-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.csd-shot-wrap {
  max-width: 950px;
  margin: 0 auto;
}

.csd-shot-caption {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.csd-shot-text {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
}

.csd-shot-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.csd-shot-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.csd-shot {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.csd-shot:hover {
  border-color: var(--color-primary);
}

.csd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast);
}

.csd-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.csd-lightbox-scroll {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow-y: auto;
  padding: 80px 24px 48px;
}

.csd-lightbox-frame {
  max-width: min(1100px, 100%);
  margin: 0 auto;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.csd-lightbox-frame.csd-no-transition {
  transition: none;
}

.csd-lightbox-frame.csd-shift-left {
  opacity: 0;
  transform: translateX(-42px);
}

.csd-lightbox-frame.csd-shift-right {
  opacity: 0;
  transform: translateX(42px);
}

.csd-lightbox-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.csd-lightbox-caption {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
}

.csd-lightbox-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.csd-lightbox-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.csd-lightbox-close {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.csd-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.csd-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.csd-lightbox-nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.csd-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.csd-lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.csd-lightbox-prev {
  left: 20px;
}

.csd-lightbox-next {
  right: 20px;
}

html.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .csd-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .csd-lightbox-prev {
    left: 8px;
  }

  .csd-lightbox-next {
    right: 8px;
  }
}

@media (max-width: 600px) {
  .csd-lightbox-scroll {
    padding: 20px;
  }

  .csd-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

.csd-shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.csd-shot-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
}

.csd-shot img {
  width: 100%;
  height: auto;
  display: block;
}

#csd-docs {
  padding: 56px 0;
  background: var(--color-bg-alt);
}

#csd-docs h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

#csd-fair {
  padding: 56px 0;
}

#csd-fair h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

.csd-fair-video {
  display: block;
  max-width: 900px;
  margin: 0 auto 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--color-bg-alt);
}

.csd-fair-video img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.csd-fair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.csd-fair-photo {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.csd-fair-photo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.csd-fair-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.csd-docs-note {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.csd-docs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.csd-doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.csd-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.csd-doc-icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
}

.csd-doc-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.csd-doc-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.csd-doc-card:hover span {
  color: var(--color-primary);
}

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

@media (max-width: 560px) {
  .csd-docs-grid {
    grid-template-columns: 1fr;
  }
}

#csd-cta {
  padding: 8px 0 96px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.csd-cta-inner {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 40px;
}

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

@media (max-width: 560px) {
  .csd-gallery-grid {
    grid-template-columns: 1fr;
  }
}

#csd-testimonial {
  padding: 8px 0 56px;
}

.csd-testimonial-inner {
  display: flex;
  justify-content: center;
}

.csd-testimonial-card {
  max-width: 640px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.csd-testimonial-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
  border: 3px solid var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
}

.csd-testimonial-quote p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin: 0 0 14px;
}

.csd-testimonial-quote p:last-child {
  margin-bottom: 24px;
}

.csd-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.csd-testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
}

.csd-testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.csd-testimonial-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.csd-testimonial-linkedin:hover {
  background: #0a66c2;
  color: #fff;
}

.csd-testimonial-linkedin svg {
  width: 16px;
  height: 16px;
}
