.lgvd-quick-hidden {
  display: none !important;
}

.lgvd-menu-trigger {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 9999;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(216, 181, 106, 0.44);
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.82);
  color: #f5ead2;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.lgvd-menu-trigger__lines,
.lgvd-menu-trigger__lines::before,
.lgvd-menu-trigger__lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.lgvd-menu-trigger__lines {
  position: relative;
}

.lgvd-menu-trigger__lines::before,
.lgvd-menu-trigger__lines::after {
  position: absolute;
  left: 0;
}

.lgvd-menu-trigger__lines::before {
  top: -6px;
}

.lgvd-menu-trigger__lines::after {
  top: 6px;
}

.lgvd-menu-trigger[aria-expanded="true"] .lgvd-menu-trigger__lines {
  background: transparent;
}

.lgvd-menu-trigger[aria-expanded="true"] .lgvd-menu-trigger__lines::before {
  transform: translateY(6px) rotate(45deg);
}

.lgvd-menu-trigger[aria-expanded="true"] .lgvd-menu-trigger__lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.lgvd-menu-panel {
  position: fixed;
  top: calc(max(16px, env(safe-area-inset-top)) + 58px);
  right: 16px;
  z-index: 9998;
  display: block;
  width: min(318px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(216, 181, 106, 0.32);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(13, 13, 14, 0.97), rgba(2, 2, 3, 0.94));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.lgvd-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.lgvd-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 9997;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.lgvd-menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lgvd-menu-panel__head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px 13px;
}

.lgvd-menu-panel__eyebrow {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lgvd-menu-panel__title {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.lgvd-menu-panel__links {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.lgvd-menu-panel__link {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 14px;
  text-decoration: none;
}

.lgvd-menu-panel__link:first-child {
  border-color: rgba(216, 181, 106, 0.5);
  background: rgba(216, 181, 106, 0.16);
  color: #f7e6bd;
}

.lgvd-menu-panel__label {
  font-size: 14px;
  font-weight: 700;
}

.lgvd-menu-panel__hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.lgvd-showcase-player {
  isolation: isolate;
}

.lgvd-showcase-player > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lgvd-showcase-player::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.56));
  content: "";
}

.lgvd-showcase-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.lgvd-showcase-play span {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 999px;
  background: rgba(216, 181, 106, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}

.lgvd-showcase-play span::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #050505;
  content: "";
}

.lgvd-showcase-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.lgvd-showcase-cover__tag {
  align-self: flex-start;
  border: 1px solid rgba(216, 181, 106, 0.48);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #f1d99a;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.lgvd-showcase-cover__title {
  color: #fff;
  font-size: clamp(24px, 7vw, 42px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.72);
}

.lgvd-showcase-cover__meta {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lgvd-showcase-portfolio {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  border: 1px solid rgba(216, 181, 106, 0.42);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(216, 181, 106, 0.14), rgba(255, 255, 255, 0.025));
  color: #f7e6bd;
  padding: 12px 16px;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.lgvd-showcase-portfolio:hover {
  border-color: rgba(245, 226, 182, 0.84);
  background: rgba(216, 181, 106, 0.2);
  transform: translateY(-2px);
}

.lgvd-showcase-portfolio__eyebrow {
  color: rgba(247, 230, 189, 0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.lgvd-showcase-portfolio__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff7e5;
  font-size: 14px;
  font-weight: 800;
}

.lgvd-showcase-portfolio__action span {
  color: #d8b56a;
  font-size: 18px;
  line-height: 1;
}

.lgvd-course-entry {
  display: flex;
  max-width: 540px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(216, 181, 106, 0.38);
  border-radius: 14px;
  background: rgba(216, 181, 106, 0.07);
  color: #fff7e5;
  padding: 10px 10px 10px 14px;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.lgvd-course-entry::before {
  width: 3px;
  align-self: stretch;
  border-radius: 99px;
  background: linear-gradient(180deg, #f5df9e, #a9782c);
  content: "";
  opacity: 0.85;
}

.lgvd-course-entry:hover {
  border-color: rgba(245, 226, 182, 0.76);
  background: rgba(216, 181, 106, 0.13);
  transform: translateY(-2px);
}

.lgvd-course-entry__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.lgvd-course-entry__eyebrow {
  color: rgba(247, 230, 189, 0.6);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.lgvd-course-entry__title {
  overflow: hidden;
  color: #fff7e5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lgvd-course-entry__action {
  color: #d8b56a;
  font-size: 11px;
  font-weight: 700;
}

.lgvd-course-entry__action span {
  margin-left: 5px;
  font-size: 15px;
  line-height: 1;
}

.lgvd-course-entry img {
  width: 78px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(247, 230, 189, 0.18);
  border-radius: 8px;
  object-fit: cover;
}

.lgvd-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.lgvd-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lgvd-video-modal__frame {
  position: relative;
  width: min(420px, 92vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(216, 181, 106, 0.36);
  border-radius: 22px;
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lgvd-video-modal.is-open .lgvd-video-modal__frame {
  transform: none;
}

.lgvd-video-modal__frame iframe,
.lgvd-video-modal__frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.lgvd-video-modal__slot {
  position: relative;
  width: 100%;
  height: 100%;
}

.lgvd-video-modal__slot.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #d8b56a;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: lgvd-loader 850ms linear infinite;
}

.lgvd-video-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.lgvd-long-term-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
  border: 1px solid rgba(216, 181, 106, 0.38);
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(216, 181, 106, 0.11), rgba(255, 255, 255, 0.025) 48%, rgba(216, 181, 106, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 25px 28px;
}

.lgvd-long-term-plan__eyebrow {
  margin: 0;
  color: rgba(241, 217, 154, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.lgvd-long-term-plan h3 {
  margin: 6px 0 0;
  color: #fff7e5;
  font-size: 1.2rem;
  font-weight: 700;
}

.lgvd-long-term-plan__intro > p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.lgvd-long-term-plan__table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lgvd-long-term-plan__table > div {
  min-width: 0;
  padding: 0 16px;
}

.lgvd-long-term-plan__table > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lgvd-long-term-plan dt {
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.lgvd-long-term-plan dd {
  margin: 7px 0 0;
  color: #f7e6bd;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.lgvd-long-term-plan__action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(216, 181, 106, 0.56);
  border-radius: 999px;
  background: rgba(216, 181, 106, 0.15);
  color: #fff1c9;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.lgvd-long-term-plan__action:hover {
  border-color: rgba(255, 241, 201, 0.9);
  background: rgba(216, 181, 106, 0.24);
  transform: translateY(-1px);
}

#faq [data-lgvd-faq-card] {
  position: relative;
  transition: border-color 180ms ease, background-color 180ms ease;
}

#faq [data-lgvd-faq-card].is-open {
  border-color: rgba(216, 181, 106, 0.34);
  background: rgba(216, 181, 106, 0.045);
}

.lgvd-faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.lgvd-faq-trigger > span:first-child {
  padding-right: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.lgvd-faq-trigger__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(216, 181, 106, 0.28);
  border-radius: 999px;
  color: #d8b56a;
  font-size: 18px;
  line-height: 1;
}

#faq [data-lgvd-faq-card].is-open .lgvd-faq-trigger__icon {
  font-size: 0;
}

#faq [data-lgvd-faq-card].is-open .lgvd-faq-trigger__icon::after {
  content: "−";
  font-size: 18px;
}

#faq [data-lgvd-faq-answer] {
  max-height: 0;
  margin-top: 0 !important;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, margin-top 220ms ease, opacity 180ms ease;
}

#faq [data-lgvd-faq-answer][hidden] {
  display: none !important;
}

#faq [data-lgvd-faq-card].is-open [data-lgvd-faq-answer] {
  max-height: 220px;
  margin-top: 10px !important;
  opacity: 1;
}

.lgvd-contact-title-line {
  display: inline;
}

@media (prefers-reduced-motion: no-preference) {
  .lgvd-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 460ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--lgvd-reveal-delay, 0ms);
  }

  .lgvd-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes lgvd-loader {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lgvd-menu-panel,
  .lgvd-menu-scrim,
  .lgvd-video-modal,
  .lgvd-video-modal__frame,
  .lgvd-course-entry,
  .lgvd-showcase-portfolio,
  .lgvd-long-term-plan__action {
    transition: none;
  }

  .lgvd-video-modal__slot.is-loading::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  #top > .relative > header {
    padding-top: 20px;
  }

  #top > .relative > section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #top > .relative > section:first-of-type {
    padding-top: 34px !important;
  }

  #top > .relative > section:first-of-type > div:nth-child(2) {
    gap: 28px !important;
  }

  #top > .relative > section:first-of-type > div:first-child > p {
    font-size: 9px !important;
    letter-spacing: 0.18em !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  #top h1 {
    font-size: 2rem !important;
    line-height: 1.22 !important;
  }

  #top h1 > span:nth-child(2) > span {
    display: block;
  }

  #top h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }

  #top > .relative > section:first-of-type [class*="max-w-[290px]"] {
    max-width: 100% !important;
  }

  #top > .relative > section:first-of-type [class*="aspect-[9/16]"] {
    aspect-ratio: 4 / 5 !important;
  }

  #top > .relative > section:first-of-type [class*="mt-12"][class*="grid-cols-2"] {
    margin-top: 32px !important;
    gap: 10px !important;
  }

  #top > .relative > section:first-of-type [class*="grid-cols-2"] > div {
    min-height: 76px;
    padding: 13px !important;
  }

  #services > div:nth-child(2) {
    gap: 14px !important;
    margin-top: 28px !important;
  }

  #services > div:nth-child(2) > div {
    border-radius: 16px !important;
    padding: 20px !important;
  }

  #services > div:nth-child(2) h3 {
    font-size: 1.15rem !important;
  }

  #services > div:nth-child(2) > div > p,
  #services > div:nth-child(2) li {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  #services > div:nth-child(2) > div > div:last-child {
    margin-top: 20px !important;
    padding-top: 16px !important;
  }

  #services > div:nth-child(2) > div > div:last-child a:first-child {
    width: 100%;
    min-height: 48px;
  }

  #services > div:nth-child(2) > div > div:last-child a + a {
    align-self: flex-start;
    margin-top: 2px;
  }

  .lgvd-long-term-plan {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
    border-radius: 16px;
    padding: 21px 20px;
  }

  .lgvd-long-term-plan h3 {
    font-size: 1.15rem;
  }

  .lgvd-long-term-plan__intro > p:last-child {
    font-size: 13px;
    line-height: 1.7;
  }

  .lgvd-long-term-plan__table {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .lgvd-long-term-plan__table > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
  }

  .lgvd-long-term-plan__table > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .lgvd-long-term-plan dd {
    margin: 0;
    text-align: right;
  }

  .lgvd-long-term-plan__action {
    width: 100%;
    min-height: 48px;
  }

  #fit > div:nth-child(2) {
    gap: 14px !important;
  }

  #fit > div:nth-child(2) > div {
    border-radius: 16px !important;
    padding: 20px !important;
  }

  #process > div:nth-child(2),
  #faq > div:nth-child(2) {
    margin-top: 28px !important;
    gap: 12px !important;
  }

  #faq [data-lgvd-faq-card] {
    padding: 20px !important;
  }

  #faq .lgvd-faq-trigger > span:first-child {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  #contact > div {
    border-radius: 18px !important;
    padding: 24px !important;
  }

  #contact h2 {
    white-space: normal !important;
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
  }

  #contact h2 .lgvd-contact-title-line {
    display: block;
  }

  #contact a {
    min-height: 50px;
  }

  /* Keep mobile content visible even if the static-page reveal script is delayed. */
  #top .opacity-0 {
    opacity: 1 !important;
  }

  #top .translate-y-8 {
    transform: none !important;
  }

  .lgvd-menu-trigger {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lgvd-showcase-portfolio {
    min-height: 58px;
    margin-top: 14px;
    border-radius: 13px;
    padding: 11px 14px;
  }

  .lgvd-showcase-portfolio__eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .lgvd-course-entry {
    gap: 12px;
    margin-top: 12px;
    border-radius: 13px;
    padding: 9px 9px 9px 12px;
  }

  .lgvd-course-entry__title {
    font-size: 12px;
  }

  .lgvd-course-entry img {
    width: 68px;
    height: 46px;
  }

  .lgvd-menu-panel {
    top: calc(max(12px, env(safe-area-inset-top)) + 52px);
    right: 12px;
    width: min(292px, calc(100vw - 24px));
  }

  .lgvd-showcase-cover {
    padding: 14px;
  }

  .lgvd-showcase-cover__title {
    font-size: 26px;
  }
}
