/* Gadget / PEOPLE × CREATIVE × AI — scoped for the corporate homepage */
.g-hero {
  --g-blue: #008fbc;
  --g-ink: #031d45;
  --g-muted: #506479;
  --g-gutter: clamp(24px, 3.8vw, 72px);
}

.g-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 60px;
  padding: 17px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.g-hero .btn span {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s;
}

.g-hero .btn:hover span {
  transform: translate(3px, -2px);
}

.g-hero .btn:hover {
  transform: translateY(-2px);
}

.g-hero .btn-primary {
  background: linear-gradient(100deg, #008dbb, #0097bf);
  color: #fff;
  box-shadow: none;
}

.g-hero .btn-primary:hover {
  background: #007ba3;
  box-shadow: 0 8px 24px #008fbc22;
}

.g-hero .btn-outline {
  border-color: var(--g-blue);
  background: #ffffffd9;
  color: var(--g-ink);
}

.g-hero .btn-outline:hover {
  background: #e5f8ff;
}

.g-hero .hero-stage {
  position: relative;
  min-height: 620px;
  height: clamp(620px, 45vw, 790px);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.g-hero .hero-visual {
  position: absolute;
  inset: 0 0 0 38%;
  overflow: hidden;
  z-index: -1;
  background: #f4f7fb;
}

.g-hero .hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #fff 0%, #ffffffa8 5%, #ffffff00 15%),
    linear-gradient(0deg, #ffffff30, transparent 20%);
  z-index: 2;
}

.g-hero .scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s ease;
  visibility: hidden;
}

.g-hero .scene.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.g-hero .scene.is-leaving {
  visibility: visible;
}

.g-hero .scene img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.02);
}

.g-hero .scene.is-active img {
  animation: g-hero-zoom 8s linear both;
}

.g-hero .scene.is-leaving img {
  transform: scale(1.06);
}

.g-hero .hero-copy {
  padding: clamp(48px, 4.8vw, 90px) 0 28px var(--g-gutter);
  position: relative;
  pointer-events: none;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.g-hero .hero-copy a {
  pointer-events: auto;
}

.g-hero .eyebrow {
  color: var(--g-blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  margin: 0 0 28px;
}

.g-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.23;
}

.g-hero .headline-intro {
  display: block;
  font-size: clamp(35px, 4.05vw, 66px);
  white-space: nowrap;
}

.g-hero .headline-blue {
  display: block;
  color: var(--g-blue);
  font-size: clamp(66px, 6.2vw, 102px);
  letter-spacing: -0.06em;
  line-height: 1.12;
  margin-top: 8px;
}

.g-hero .hero-description {
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.9;
  letter-spacing: -0.025em;
  font-weight: 650;
  margin: 28px 0 30px;
}

.g-hero .hero-description span {
  font-size: 0.88em;
  font-weight: 500;
}

.g-hero .mobile-break {
  display: none;
}

.g-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.g-hero .scroll-link {
  display: inline-block;
  box-sizing: content-box;
  position: relative;
  z-index: 4;
  width: 16px;
  flex: 0 0 auto;
  margin: 0 16px 0 0;
  padding: 2px 8px 72px;
  overflow: hidden;
  color: var(--g-ink);
  font-family: Arial, "Josefin Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: opacity 0.2s;
}

.g-hero .scroll-link:before,
.g-hero .scroll-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 64px;
  margin-left: -1px;
}

.g-hero .scroll-link:before {
  background: #ddd;
}

.g-hero .scroll-link:after {
  background: var(--g-ink);
  animation: g-hero-sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

.g-hero .scroll-link:hover {
  opacity: 0.5;
}

.g-hero .ai-tags {
  position: absolute;
  right: 3%;
  top: 43%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.g-hero .ai-tags span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffffff0;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffffc9;
  border-radius: 30px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 25px #1026460b;
  animation: g-hero-float 5s ease-in-out infinite;
}

.g-hero .ai-tags span:nth-child(2) {
  animation-delay: -1.8s;
  margin-right: 12px;
}

.g-hero .ai-tags span:nth-child(3) {
  animation-delay: -3.2s;
}

.g-hero .ai-tags i {
  width: 5px;
  height: 5px;
  background: var(--g-blue);
  border-radius: 100%;
}

.g-hero .scene-caption {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  right: var(--g-gutter);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 1px 7px #0009;
}

.g-hero .scene-controls {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px var(--g-gutter);
  min-height: 132px;
  background: white;
  position: relative;
  z-index: 3;
}

.g-hero .scene-selectors {
  display: flex;
  gap: 30px;
  align-items: center;
}

.g-hero .scene-button {
  position: relative;
  white-space: nowrap;
  padding: 17px 0;
  font-size: 14px;
  font-weight: 700;
  color: #8390a3;
  border: 0;
  background: transparent;
  transition: color 0.3s;
}

.g-hero .scene-button span {
  font-family: Arial, sans-serif;
  margin-right: 8px;
  font-size: 12px;
}

.g-hero .scene-button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e8ecf2;
  transition: background 0.3s;
}

.g-hero .scene-button.is-active {
  color: var(--g-blue);
}

.g-hero .scene-button.is-active:after {
  background: var(--g-blue);
}

.g-hero .scene-button:hover {
  color: var(--g-blue);
}

.g-hero .playback {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.g-hero .scene-count {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #8d97aa;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.g-hero .scene-count b {
  font-weight: 700;
  color: var(--g-blue);
}

.g-hero .progress-track {
  width: 100px;
  height: 3px;
  background: #e5e9f0;
  border-radius: 3px;
  overflow: hidden;
}

.g-hero .progress-track span {
  display: block;
  background: var(--g-blue);
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
}

.g-hero .pause-button {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #e4eaf3;
  border-radius: 50%;
  font-size: 17px;
  color: var(--g-ink);
}

.g-hero .pause-button:hover {
  background: #e5f8ff;
}

.g-hero .scene-thumbnails {
  display: flex;
  gap: 13px;
}

.g-hero .scene-thumbnails button {
  background: none;
  border: 0;
  text-align: left;
  width: 118px;
  padding: 0;
}

.g-hero .scene-thumbnails img {
  display: block;
  aspect-ratio: 1.9;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 70% 45%;
  border-radius: 3px;
  transition: filter 0.3s;
}

.g-hero .scene-thumbnails button:hover img {
  filter: brightness(1.08);
}

.g-hero .scene-thumbnails span {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  padding-top: 7px;
}

.g-hero .scene-thumbnails i {
  font-style: normal;
  color: var(--g-blue);
}

.g-hero .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js-ready .g-hero .reveal {
  animation: g-hero-reveal 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.js-ready .g-hero h1.reveal {
  animation-delay: 0.12s;
}

.js-ready .g-hero .hero-description.reveal {
  animation-delay: 0.23s;
}

.js-ready .g-hero .hero-actions.reveal {
  animation-delay: 0.34s;
}

.g-hero.is-paused .hero-visual,
.g-hero.is-paused .hero-visual *,
.g-hero.is-paused .hero-visual *:before,
.g-hero.is-paused .hero-visual *:after,
.g-hero.is-paused .ai-tags,
.g-hero.is-paused .ai-tags * {
  animation-play-state: paused !important;
}

@keyframes g-hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.065); }
}

@keyframes g-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes g-hero-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes g-hero-sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@media (min-width: 1700px) {
  .g-hero {
    max-width: 1920px;
    margin-inline: auto;
  }

  .g-hero .hero-copy {
    padding-top: 80px;
  }
}

@media (max-width: 1200px) {
  .g-hero .scene-thumbnails button {
    width: 96px;
  }

  .g-hero .scene-controls {
    gap: 20px;
  }

  .g-hero .scene-selectors {
    gap: 20px;
  }

  .g-hero .playback {
    gap: 10px;
  }

  .g-hero .progress-track {
    width: 65px;
  }

  .g-hero .hero-actions .btn {
    font-size: 13px;
    padding: 15px 20px;
    gap: 15px;
  }

  .g-hero .hero-description {
    font-size: 16px;
  }

  .g-hero .hero-copy {
    width: 52%;
  }

  .g-hero .ai-tags {
    right: 2%;
  }

  .g-hero .hero-stage {
    min-height: 600px;
    height: 600px;
  }
}

@media (max-width: 960px) {
  .g-hero .scene-thumbnails {
    display: none;
  }

  .g-hero .scene-controls {
    min-height: 100px;
  }

  .g-hero .headline-intro {
    font-size: 36px;
  }

  .g-hero .headline-blue {
    font-size: 70px;
  }

  .g-hero .hero-stage {
    height: 610px;
  }

  .g-hero .hero-visual {
    left: 27%;
  }

  .g-hero .hero-visual:after {
    background: linear-gradient(90deg, #fff 0%, #fffffff2 12%, #ffffff70 36%, transparent 55%);
  }

  .g-hero .hero-copy {
    padding-top: 70px;
    width: 58%;
  }

  .g-hero .hero-description {
    font-size: 15px;
  }

  .g-hero .ai-tags {
    top: auto;
    bottom: 50px;
  }

  .g-hero .ai-tags span {
    padding: 9px 12px;
    font-size: 10px;
  }
}

@media (max-width: 680px) {
  .g-hero {
    --g-gutter: 22px;
  }

  .g-hero .hero-stage {
    height: auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .g-hero .hero-copy {
    width: 100%;
    height: auto;
    padding: 35px var(--g-gutter) 24px;
    order: 0;
  }

  .g-hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 19px;
  }

  .g-hero .headline-intro {
    font-size: clamp(30px, 8vw, 48px);
  }

  .g-hero .headline-blue {
    font-size: clamp(53px, 14vw, 80px);
    line-height: 1.12;
    margin-top: 8px;
  }

  .g-hero .headline-blue br {
    display: none;
  }

  .g-hero .hero-description {
    font-size: 15px;
    line-height: 1.9;
    margin: 20px 0 22px;
  }

  .g-hero .hero-description span {
    font-size: 13px;
  }

  .g-hero .mobile-break {
    display: block;
  }

  .g-hero .hero-actions {
    gap: 10px;
    width: 100%;
    flex-direction: row;
  }

  .g-hero .hero-actions .btn {
    flex: 1;
    min-height: 49px;
    font-size: 12px;
    padding: 13px 11px;
    gap: 12px;
    border-radius: 5px;
  }

  .g-hero .hero-actions .btn span {
    font-size: 18px;
  }

  .g-hero .scroll-link {
    margin: 0 auto 8px;
    padding: 2px 8px 58px;
  }

  .g-hero .scroll-link:before,
  .g-hero .scroll-link:after {
    height: 52px;
  }

  .g-hero .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.28;
    z-index: 0;
    order: 1;
    isolation: isolate;
  }

  .g-hero .hero-visual:after {
    background: linear-gradient(180deg, #fff 0%, #ffffff00 17%);
    z-index: 2;
  }

  .g-hero .scene img {
    object-position: 63% 48%;
  }

  .g-hero .ai-tags {
    bottom: 24px;
    right: 15px;
    gap: 7px;
  }

  .g-hero .ai-tags span {
    padding: 7px 11px;
    font-size: 10px;
    animation: none;
  }

  .g-hero .ai-tags span:nth-child(2) {
    margin-right: 7px;
  }

  .g-hero .scene-caption {
    right: auto;
    left: 22px;
    bottom: 17px;
    font-size: 8px;
    letter-spacing: 0.15em;
  }

  .g-hero .scene-controls {
    padding: 12px var(--g-gutter) 17px;
    min-height: 0;
    gap: 10px;
    flex-wrap: wrap;
  }

  .g-hero .scene-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 0 10px;
    width: 100%;
  }

  .g-hero .scene-button {
    flex: 1 1 0;
    min-width: 0;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.35;
    padding: 12px 0 10px;
    white-space: normal;
    text-align: left;
    overflow: visible;
  }

  .g-hero .scene-button span {
    display: inline;
    font-size: 10px;
    margin-right: 3px;
  }

  .g-hero .playback {
    width: 100%;
    margin: 3px 0 0;
    justify-content: flex-end;
    gap: 13px;
  }

  .g-hero .progress-track {
    width: 64px;
  }

  .g-hero .pause-button {
    height: 32px;
    width: 32px;
    font-size: 14px;
  }

  .g-hero .scene-count {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-hero *,
  .g-hero *:before,
  .g-hero *:after {
    animation: none !important;
    transition: none !important;
  }

  .g-hero .scene img {
    transform: none !important;
  }
}
