/* =============================================================================
   HYSEKT STUDIO — MAIN STYLE SHEET
   =============================================================================
   Unified styling for Motion Design, Long-Form Video, and Short-Form Content.
   Clean, modern, tactile aesthetic inspired by high-end design studios.
   Supports full Light and Dark mode with glass surfaces and ambient glows.
   ============================================================================= */

/* ====== HERO ====== */
.hero {
  padding: 170px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
  -webkit-filter: blur(50px);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 75%);
}

html.light .hero-glow {
  background:
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(239, 181, 123, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 25% 45%, rgba(239, 181, 123, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 75% 45%, rgba(239, 181, 123, 0.09) 0%, transparent 65%);
}

html.dark .hero-glow {
  background:
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(239, 181, 123, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 25% 45%, rgba(239, 181, 123, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 75% 45%, rgba(239, 181, 123, 0.07) 0%, transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

/* Micro Pill Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.hero-badge .badge-dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(239, 181, 123, 0.65);
  display: inline-block;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-badge .badge-text {
  color: var(--text);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(38px, 5.8vw, 76px);
  line-height: 1.08;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-title-accent {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  display: inline;
}

.hero-clapper {
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
  font-size: 0.85em;
  transform: rotate(-6deg);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 34px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.hero-cta .btn:hover svg {
  transform: translate(2px, -2px);
}

/* ====== HERO SHOWCASE — 4 VERTICAL CARDS (SCREENSHOT MATCH) ====== */
.hero-showcase {
  max-width: 1140px;
  margin: 56px auto 0;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.hero-card {
  aspect-ratio: 9 / 14;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  outline: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

html.dark .hero-card {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-card:hover,
.hero-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -10px rgba(0, 0, 0, 0.22);
  border-color: var(--border-strong);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.hero-card:hover img {
  transform: scale(1.05);
}

.hero-card-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0.88;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 2;
}

.hero-card-play svg {
  width: 18px;
  height: 18px;
  color: #121214;
  margin-left: 2px;
}

.hero-card:hover .hero-card-play {
  transform: translate(-50%, -50%) scale(1.06);
  opacity: 1;
  background: #ffffff;
}

.hero-card-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
  text-align: left;
}

.hero-card-tag {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
  .hero-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 540px) {
  .hero-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-card {
    border-radius: 20px;
  }
  .hero-card-title {
    font-size: 13px;
  }
  .hero-card-scrim {
    padding: 30px 12px 14px;
  }
}

/* ====== SECTION HEADERS ====== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-head h2 .serif {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.section-head p {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 360px;
  text-align: right;
}

.section-header.centered {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-header.centered h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-header.centered p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

.section-header.eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.section-header.eyebrow-row h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-header.eyebrow-row p {
  max-width: 440px;
  font-size: 15px;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-head,
  .section-header.eyebrow-row {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  .section-head p,
  .section-header.eyebrow-row p {
    text-align: left;
  }
}

/* ====== SERVICES — 3-COLUMN CAP CARDS ====== */
#services .cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

#services .cap {
  grid-column: span 4;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

html.dark #services .cap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0.6;
  transition: opacity 0.35s var(--ease);
}

#services .cap:hover {
  border-color: var(--accent-line);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

#services .cap:hover::before {
  opacity: 1;
}

#services .cap .cap-step {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
}

#services .cap .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(239, 181, 123, 0.08);
  border: 1px solid rgba(239, 181, 123, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 22px;
  color: var(--accent);
  transition: all 0.25s var(--ease);
}

#services .cap:hover .icon-box {
  background: rgba(239, 181, 123, 0.16);
  border-color: var(--accent);
  transform: translateY(-2px);
}

#services .cap .icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

#services .cap h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  color: var(--text);
}

#services .cap p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  flex-grow: 1;
}

.cap-features {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.cap-features li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  transition: all 0.2s var(--ease);
}

.cap:hover .cap-features li {
  border-color: var(--border-strong);
  color: var(--text);
}

@media (max-width: 990px) {
  #services .cap {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  #services .cap {
    grid-column: span 12;
  }
}

/* ====== PORTFOLIO CATEGORY RAILS & FILTERS ====== */
.category-rail {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  max-width: 620px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-card);
}

.cat-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  min-height: 48px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-btn:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.cat-btn:active {
  transform: scale(0.97);
}

.cat-btn.active {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

html.dark .cat-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.subfilter-rail {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.subfilter-rail.hidden {
  display: none !important;
}

.subfilter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-faint);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 20px;
  min-height: 38px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subfilter-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

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

.subfilter-btn.active {
  background: var(--bg-elevated);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#work .section-header.centered {
  margin-bottom: 32px;
}

#work .section-header.centered h2 {
  margin-bottom: 0;
}

#work .portfolio-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-faint);
  margin: 0 auto 32px;
  max-width: 580px;
}

@media (max-width: 680px) {
  .category-rail {
    max-width: 100%;
    padding: 4px;
    gap: 4px;
  }
  .cat-btn {
    font-size: 13.5px;
    padding: 10px 14px;
    min-height: 42px;
  }
  .subfilter-btn {
    font-size: 12.5px;
    padding: 8px 16px;
    min-height: 34px;
  }
}

/* ====== PORTFOLIO GRID SYSTEM ====== */
.portfolio-container {
  width: 100%;
}

.portfolio-grid {
  display: grid;
  gap: 24px;
  width: 100%;
}

.portfolio-grid.hidden {
  display: none !important;
}

/* 2-column grid for 16:9 videos (Motion & Long-form) */
.portfolio-grid.grid-landscape {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 4-column grid for vertical 9:16 videos (Shorts) */
.portfolio-grid.grid-portrait {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.portfolio-item.portrait {
  aspect-ratio: 9/16;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.25);
  transition: background 0.25s var(--ease);
  pointer-events: none;
}

.portfolio-play svg {
  width: 52px;
  height: 52px;
  color: #fff;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s var(--ease);
}

.portfolio-item.playable:hover .portfolio-play {
  background: rgba(10, 10, 11, 0.4);
}

.portfolio-item.playable:hover .portfolio-play svg {
  transform: scale(1.08);
}

.portfolio-item-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 100%);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-faint);
  font-size: 15px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* Responsive grid rules */
@media (max-width: 1024px) {
  .portfolio-grid.grid-portrait {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .portfolio-grid.grid-landscape {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-grid.grid-portrait {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .portfolio-item-meta {
    padding: 24px 14px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid.grid-portrait {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ====== PROCESS — 4 STEPS ====== */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1.2fr 2fr;
  align-items: center;
  gap: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.process-step:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.process-step .step-num {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  width: auto;
}

.process-step h3 {
  font-family: var(--sans);
  font-style: normal;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.process-step p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
}

/* ====== FAQ ACCORDIONS ====== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.active {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-family: var(--sans);
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 30px 24px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* ====== CONTACT & CAL.COM ====== */
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.contact-links a:hover {
  border-color: var(--accent-line);
  color: var(--text);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.contact-links a:active {
  transform: scale(0.97);
}

.contact-links a svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.contact-links a .link-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-links a .link-sub {
  font-size: 12.5px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

@media (max-width: 680px) {
  .contact-links {
    grid-template-columns: 1fr;
  }
}

.cal-embed {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 640px;
}

/* ====== UNIFIED VIDEO LIGHTBOX ====== */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

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

.video-lightbox-frame {
  position: relative;
  width: min(960px, 94vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.video-lightbox-frame.portrait-mode {
  aspect-ratio: 9/16;
  width: min(420px, 88vw, calc((100dvh - 160px) * 9 / 16));
  max-height: calc(100dvh - 160px);
  margin: 0 auto;
}

.video-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s var(--ease);
}

.video-lightbox-close:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.08);
}

.video-lightbox-iframe {
  width: 100%;
  height: 100%;
}

.video-lightbox-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-lightbox-meta {
  display: none;
}

/* ====== SITE FOOTER ====== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  margin-top: 40px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 680px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    align-items: flex-start;
  }
}

/* Defensive SVG & Shape styles */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.hero-card-play svg {
  width: 18px;
  height: 18px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-links a svg {
  width: 26px;
  height: 26px;
}
