/* Home page styles — scoped to .home-* components */

.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-graphite);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-graphite-40);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-7);
  max-width: var(--container-max);
}

.home-hero__title {
  margin: 0;
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  letter-spacing: var(--text-display-letter-spacing);
  text-transform: uppercase;
  color: var(--color-white);
  max-width: 100%;
}

.home-hero__intro {
  margin: 0;
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-white);
  max-width: 560px;
}

.home-hero__cta {
  margin: 0;
}

.home-hero__lighting-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  border-left: var(--border-subtle);
  background-color: rgba(32, 37, 43, 0.6);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero__lighting-diagram {
  position: relative;
  width: 240px;
  height: 400px;
}

.home-hero__lighting-line {
  position: absolute;
  display: block;
  background-color: var(--color-cobalt);
  height: 2px;
  width: 100%;
  left: 0;
}

.home-hero__lighting-line--1 {
  top: 60px;
}

.home-hero__lighting-line--2 {
  top: 200px;
  background-color: var(--color-signal-orange);
}

.home-hero__lighting-line--3 {
  top: 340px;
}

.home-hero__lighting-dot {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-cobalt);
}

.home-hero__lighting-dot--1 {
  top: 52px;
  left: 40px;
}

.home-hero__lighting-dot--2 {
  top: 52px;
  right: 40px;
  background-color: var(--color-signal-orange);
}

.home-hero__lighting-dot--3 {
  top: 192px;
  left: 80px;
  background-color: var(--color-signal-orange);
}

.home-hero__lighting-dot--4 {
  top: 332px;
  right: 80px;
}

.home-hero__poker-detail {
  position: absolute;
  left: 48px;
  bottom: 48px;
  width: 200px;
  height: 150px;
  object-fit: cover;
  z-index: 2;
  border: 1px solid var(--color-steel-20);
}

.home-strategy {
  background-color: var(--color-graphite);
}

.home-strategy__title {
  margin: 0 0 var(--space-6);
  color: var(--color-white);
}

.home-strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-strategy__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--color-deep-navy);
  border: var(--border-subtle);
  min-width: 0;
}

.home-strategy__card:hover {
  border-color: var(--color-cobalt);
  transform: translateY(-2px);
}

.home-strategy__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.home-strategy__card-title {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

.home-strategy__card-text {
  margin: 0;
  color: var(--color-steel);
  max-width: 320px;
}

.home-process {
  background-color: var(--color-off-white);
  color: var(--color-graphite);
}

.home-process__title {
  margin: 0 0 var(--space-6);
  color: var(--color-graphite);
}

.home-process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-process__step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  min-width: 0;
}

.home-process__number {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--color-cobalt);
  flex-shrink: 0;
  width: 2.5rem;
}

.home-process__content {
  min-width: 0;
}

.home-process__step-title {
  margin: 0 0 var(--space-2);
  color: var(--color-graphite);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

.home-process__step-text {
  margin: 0;
  color: var(--color-graphite);
  max-width: 400px;
}

.home-transformations {
  background-color: var(--color-graphite);
}

.home-transformations__title {
  margin: 0 0 var(--space-6);
  color: var(--color-white);
}

.home-transformations__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.home-transformations__card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-5);
  padding: 0;
  overflow: hidden;
  background-color: var(--color-deep-navy);
  border: var(--border-subtle);
  min-width: 0;
}

.home-transformations__card:hover {
  border-color: var(--color-cobalt);
  transform: translateY(-2px);
}

.home-transformations__media {
  min-width: 0;
}

.home-transformations__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.home-transformations__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
  min-width: 0;
}

.home-transformations__card-title {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

.home-transformations__card-text {
  margin: 0;
  color: var(--color-steel);
  max-width: 400px;
}

.home-lighting {
  background-color: var(--color-graphite);
}

.home-lighting__title {
  margin: 0 0 var(--space-6);
  color: var(--color-white);
}

.home-lighting__layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-5);
  align-items: start;
}

.home-lighting__diagram {
  background-color: var(--color-deep-navy);
  border: var(--border-subtle);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.home-lighting__svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

.home-lighting__description {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.home-lighting__text {
  margin: 0;
  color: var(--color-steel);
  max-width: 400px;
}

.home-gaming {
  background-color: var(--color-graphite);
}

.home-gaming__title {
  margin: 0 0 var(--space-6);
  color: var(--color-white);
}

.home-gaming__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.home-gaming__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--color-deep-navy);
  border: var(--border-subtle);
  min-width: 0;
}

.home-gaming__card:hover {
  border-color: var(--color-cobalt);
  transform: translateY(-2px);
}

.home-gaming__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.home-gaming__card-title {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

.home-gaming__card-text {
  margin: 0;
  color: var(--color-steel);
  max-width: 280px;
}

.home-gaming__note {
  margin: 0;
  color: var(--color-steel);
  max-width: 600px;
}

.home-stats {
  background-color: var(--color-off-white);
  color: var(--color-graphite);
}

.home-stats__title {
  margin: 0 0 var(--space-6);
  color: var(--color-graphite);
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-stats__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.home-stats__value {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-stats__value--cobalt {
  color: var(--color-cobalt);
}

.home-stats__value--orange {
  color: var(--color-signal-orange);
}

.home-stats__label {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  text-transform: uppercase;
  color: var(--color-steel);
  max-width: 200px;
}

.home-testimonials {
  background-color: var(--color-graphite);
}

.home-testimonials__title {
  margin: 0 0 var(--space-6);
  color: var(--color-white);
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-testimonials__quote {
  margin: 0;
  padding: var(--space-4);
  background-color: var(--color-deep-navy);
  border: var(--border-subtle);
  border-left: var(--border-emphasis-cobalt);
  min-width: 0;
}

.home-testimonials__text {
  margin: 0 0 var(--space-3);
  color: var(--color-white);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  max-width: 600px;
}

.home-testimonials__attribution {
  margin: 0;
  color: var(--color-steel);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  text-transform: uppercase;
}

.home-reel {
  background-color: var(--color-graphite);
  padding-block: var(--space-7) 0;
}

.home-reel__header {
  padding-inline: var(--container-padding-mobile);
  margin-bottom: var(--space-5);
}

.home-reel__title {
  margin: 0 0 var(--space-3);
  color: var(--color-white);
}

.home-reel__description {
  margin: 0;
  color: var(--color-steel);
  max-width: 600px;
}

.home-reel__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.home-reel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}

.home-gaming-chapter {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-graphite);
}

.home-gaming-chapter__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-gaming-chapter__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-gaming-chapter__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-graphite-40);
}

.home-gaming-chapter__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-7);
  max-width: var(--container-max);
}

.home-gaming-chapter__title {
  margin: 0;
  color: var(--color-white);
}

.home-gaming-chapter__text {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  max-width: 500px;
}

.home-contact {
  background-color: var(--color-off-white);
  color: var(--color-graphite);
}

.home-contact__title {
  margin: 0 0 var(--space-6);
  color: var(--color-graphite);
}

.home-contact__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-6);
  align-items: start;
}

.home-contact__info {
  min-width: 0;
}

.home-contact__info-title {
  margin: 0 0 var(--space-3);
  color: var(--color-graphite);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

.home-contact__info-text {
  margin: 0;
  color: var(--color-graphite);
  max-width: 300px;
}

.home-contact__info-text a {
  color: var(--color-cobalt);
}

.home-contact__info-text a:hover {
  color: var(--color-signal-orange);
}

.home-contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  min-width: 0;
}

.home-contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.home-contact__field--full {
  grid-column: 1 / -1;
}

.home-contact__field label {
  font-size: var(--text-label-size);
  line-height: var(--text-label-line-height);
  font-weight: var(--text-label-weight);
  letter-spacing: var(--text-label-letter-spacing);
  text-transform: uppercase;
  color: var(--color-graphite);
}

.home-contact__field input,
.home-contact__field select,
.home-contact__field textarea {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-graphite);
  border: 1px solid var(--color-steel);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  min-height: 44px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.home-contact__field textarea {
  min-height: 120px;
  resize: vertical;
}

.home-contact__field input:focus,
.home-contact__field select:focus,
.home-contact__field textarea:focus {
  border-color: var(--color-signal-orange);
  outline: none;
}

.home-contact__error {
  margin: 0;
  color: var(--color-signal-orange);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
}

.home-contact__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
}

.home-contact__success {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-lime);
  font-weight: 600;
}

.home-final-cta {
  background-color: var(--color-graphite);
}

.home-final-cta__title {
  margin: 0 0 var(--space-4);
  color: var(--color-white);
}

.home-final-cta__button {
  margin: 0;
}

@media (min-width: 768px) {
  .home-hero__content {
    padding-inline: var(--container-padding-desktop);
  }

  .home-reel__header {
    padding-inline: var(--container-padding-desktop);
  }

  .home-gaming-chapter__content {
    padding-inline: var(--container-padding-desktop);
  }
}

@media (max-width: 1023px) {
  .home-hero__lighting-panel {
    width: 240px;
  }

  .home-hero__lighting-diagram {
    width: 180px;
  }

  .home-hero__poker-detail {
    left: 24px;
    bottom: 24px;
    width: 160px;
    height: 120px;
  }

  .home-strategy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-strategy__card:last-child {
    grid-column: 1 / -1;
  }

  .home-transformations__card {
    grid-template-columns: 1fr;
  }

  .home-transformations__image {
    aspect-ratio: 16 / 9;
  }

  .home-lighting__layout {
    grid-template-columns: 1fr;
  }

  .home-lighting__diagram {
    min-height: 300px;
  }

  .home-gaming__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gaming__card:last-child {
    grid-column: 1 / -1;
  }

  .home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 70vh;
    align-items: flex-end;
  }

  .home-hero__content {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .home-hero__title {
    font-size: 1.75rem;
  }

  .home-hero__intro {
    font-size: 1rem;
  }

  .home-hero__lighting-panel,
  .home-hero__poker-detail {
    display: none;
  }

  .home-strategy__grid {
    grid-template-columns: 1fr;
  }

  .home-strategy__card:last-child {
    grid-column: auto;
  }

  .home-process__list {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-process__step {
    gap: var(--space-3);
  }

  .home-process__number {
    font-size: 2rem;
    width: 2rem;
  }

  .home-transformations__card {
    grid-template-columns: 1fr;
  }

  .home-transformations__image {
    aspect-ratio: 4 / 3;
  }

  .home-lighting__layout {
    grid-template-columns: 1fr;
  }

  .home-lighting__diagram {
    min-height: 250px;
  }

  .home-gaming__grid {
    grid-template-columns: 1fr;
  }

  .home-gaming__card:last-child {
    grid-column: auto;
  }

  .home-stats__grid {
    grid-template-columns: 1fr;
  }

  .home-testimonials__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-reel__strip {
    grid-template-columns: 1fr;
  }

  .home-gaming-chapter {
    min-height: 60vh;
  }

  .home-gaming-chapter__content {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .home-gaming-chapter__text {
    font-size: 1rem;
  }

  .home-contact__layout {
    grid-template-columns: 1fr;
  }

  .home-contact__form {
    grid-template-columns: 1fr;
  }

  .home-contact__field--full,
  .home-contact__submit,
  .home-contact__success {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-strategy__card,
  .home-transformations__card,
  .home-gaming__card {
    transition: none;
  }

  .home-strategy__card:hover,
  .home-transformations__card:hover,
  .home-gaming__card:hover {
    transform: none;
  }
}
