:root {
  --background: #ffffff;
  --foreground: #000000;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --primary: #000000;
  --primary-foreground: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(220px, 58vw, 520px);
  max-width: 88vw;
  max-height: 42vh;
  height: auto;
  display: block;
  margin: 0 auto 22px;
  object-fit: contain;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
}

.section { padding: 84px 0; }
.section-light { background: var(--background); }
.section-muted { background: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 12px;
}

p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 1.08rem;
}

.embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #ededed;
  color: #4a4a4a;
  cursor: pointer;
  font-weight: 600;
}

.tab.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.video-grid.shorts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card { cursor: pointer; }
.card-inline { cursor: default; }

.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.thumb.landscape { aspect-ratio: 16 / 9; }
.thumb.vertical { aspect-ratio: 9 / 16; }

.thumb.platform-tiktok {
  background: linear-gradient(135deg, #0f0f10 0%, #ff0050 55%, #00f2ea 100%);
}

.thumb.platform-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 55%, #fcb045 100%);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}

.card:hover .thumb img { transform: scale(1.04); }

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 33px;
  background: rgba(0, 0, 0, 0.24);
}

.title {
  margin: 9px 6px 0;
  text-align: center;
  line-height: 1.4;
  color: var(--foreground);
  font-size: .95rem;
}

.short-inline-embed {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-inline-embed blockquote {
  width: 100%;
  margin: 0 auto !important;
}

.short-poster {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.short-poster img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.short-load-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: var(--background);
}

.contact-form button {
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact-feedback {
  min-height: 20px;
  font-size: .9rem;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info a {
  display: block;
  color: var(--foreground);
  margin: 8px 0;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-title {
  color: var(--foreground);
  font-weight: 700;
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.copyright {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted-foreground);
  font-size: .93rem;
}

.copyright .credit-duo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #111 !important;
  background-image: linear-gradient(120deg, #000 0%, #1a1a1a 35%, #2b2b2b 50%, #1a1a1a 65%, #000 100%) !important;
}

.copyright .credit-animated {
  display: inline-block;
  color: #fff !important;
  font-weight: 400;
  animation-name: credit-down;
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
}

.copyright .credit-handle {
  color: #fff !important;
  font-weight: 400;
  display: inline-block;
  animation-name: credit-up;
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
}

.copyright .credit-sep {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.copyright .credit-animated:hover,
.copyright .credit-handle:hover {
  color: #fff !important;
}

@keyframes credit-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes credit-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal.social-mode .modal-backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(980px, 92vw);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
}

.modal-frame-wrap { aspect-ratio: 16 / 9; }
#video-frame { width: 100%; height: 100%; border: 0; }
.external-embed {
  width: 100%;
  height: 100%;
  display: none;
  overflow: auto;
  padding: 8px;
}

.modal-content.social-mode {
  width: min(720px, 94vw);
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.modal-content.social-mode .modal-frame-wrap {
  aspect-ratio: auto;
  height: min(80vh, 860px);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content.social-mode .external-embed {
  height: auto;
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-content.social-mode .external-embed blockquote {
  margin: 0 auto !important;
}

.modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 22px;
  z-index: 80;
}

.modal-close:hover {
  background: #000;
  color: #fff;
}

.modal.social-mode .modal-close {
  position: fixed;
  top: 14px;
  right: 14px;
}

.open-link {
  display: inline-block;
  margin-top: 10px;
  color: #d1d5db;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid.shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-logo {
    width: clamp(220px, 72vw, 420px);
    max-height: 34vh;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: clamp(200px, 82vw, 340px);
    margin-bottom: 16px;
    max-height: 30vh;
  }
}
