/* ===================================================================
   Kineor  Home Page Styles
   =================================================================== */

/* --- Hero Video --- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 24%,
    rgba(0, 0, 0, 0.1) 46%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

[data-theme="light"] .hero::before {
  background: linear-gradient(
    to bottom,
    rgba(241, 236, 227, 0.92) 0%,
    rgba(241, 236, 227, 0.44) 24%,
    rgba(241, 236, 227, 0.18) 46%,
    rgba(241, 236, 227, 0.68) 100%
  );
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: grayscale(100%) contrast(1.15);
}
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

.home-vision-section {
  padding: 150px 0;
}
.home-vision-row {
  row-gap: 2.5rem;
}
.home-vision-copy-col {
  z-index: 1;
}
.home-vision-media-col {
  padding-left: clamp(16px, 3vw, 56px);
}
.home-vision-media-col .clip-wrap,
.home-vision-media-col .clip-inner {
  width: 100%;
}
.home-title-vision {
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.home-title-capabilities,
.home-title-archive,
.home-title-signature {
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.home-work-header {
  position: relative;
  z-index: 20;
  padding: 120px 0 60px;
  background: var(--bg);
  isolation: isolate;
}
.home-signature-content {
  position: relative;
  z-index: 2;
}
.home-signature-inner {
  max-width: 850px;
  margin: 0 auto;
}
.home-signature-image-wrap {
  max-width: 750px;
  margin: 0 auto;
}
.home-signature-image {
  width: 100%;
  display: block;
}
.home-contact-section {
  padding: 180px 0;
}
.home-title-contact {
  font-size: clamp(3rem, 10vw, 7.5rem);
}
.home-stats-row {
  align-items: stretch;
}
.home-stat-item {
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.home-stat-item .stat-label {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.suite-bg-identity {
  background-image: url("/images/creative-design.webp");
}
.suite-bg-cinematic {
  background-image: url("/images/brand-books.webp");
}
.suite-bg-sonic {
  background-image: url("/images/music-sonic.webp");
}
.suite-bg-tech {
  background-image: url("/images/code-tech.webp");
}

/* --- Marquee --- */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
  overflow: hidden;
  display: flex;
  background:
    radial-gradient(
      ellipse 60% 100% at 50% 50%,
      rgba(185, 150, 84, 0.03),
      transparent
    ),
    var(--bg);
}
[data-theme="light"] .marquee-wrap {
  background:
    radial-gradient(
      ellipse 60% 100% at 50% 50%,
      rgba(96, 73, 38, 0.03),
      transparent
    ),
    var(--bg);
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 300;
  padding: 0 60px;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}
.marquee-item span {
  color: var(--accent);
  font-style: italic;
}

/* --- Vision Image --- */
.vision-img-wrap {
  overflow: hidden;
}
.vision-img {
  width: 100%;
  height: clamp(300px, 50vw, 600px);
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 1.2s ease,
    transform 1.2s var(--ease);
  transform-origin: center;
}
.clip-wrap:hover .vision-img,
.vision-img-wrap:hover .vision-img,
.vision-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* --- Creation Suite --- */
.suite-section {
  padding: 150px 0;
  background:
    radial-gradient(
      ellipse 50% 40% at 80% 20%,
      rgba(185, 150, 84, 0.04),
      transparent
    ),
    radial-gradient(
      ellipse 50% 40% at 10% 80%,
      rgba(185, 150, 84, 0.03),
      transparent
    ),
    var(--bg);
}
[data-theme="light"] .suite-section {
  background:
    radial-gradient(
      ellipse 50% 40% at 80% 20%,
      rgba(96, 73, 38, 0.035),
      transparent
    ),
    radial-gradient(
      ellipse 50% 40% at 10% 80%,
      rgba(96, 73, 38, 0.025),
      transparent
    ),
    var(--bg);
}
.suite-item {
  border-bottom: 1px solid var(--border);
  padding: 65px 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.suite-item:first-child {
  border-top: 1px solid var(--border);
}
.suite-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.suite-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  transition:
    color 0.7s var(--ease),
    transform 0.7s var(--ease);
  line-height: 0.9;
}
[data-theme="light"] .suite-title {
  color: rgba(18, 13, 9, 0.5);
}
.suite-item:hover .suite-title {
  color: var(--accent);
  transform: translateX(35px);
}
.suite-desc {
  max-width: 440px;
  opacity: 0;
  transform: translateY(25px);
  transition: 0.7s var(--ease);
  text-align: right;
}
.suite-item:hover .suite-desc {
  opacity: 1;
  transform: translateY(0);
}
.suite-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.7s ease;
  filter: grayscale(100%) brightness(0.18);
}
.suite-item:hover .suite-bg {
  opacity: 0.5;
}

/* --- Horizontal Portfolio --- */
.work-wrapper {
  position: relative;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 60%,
      rgba(185, 150, 84, 0.04),
      transparent
    ),
    var(--bg-alt);
  overflow: hidden;
  z-index: 10;
  isolation: isolate;
}
[data-theme="light"] .work-wrapper {
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 60%,
      rgba(96, 73, 38, 0.035),
      transparent
    ),
    var(--bg-alt);
}
.work-container {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
}
.work-track {
  display: flex;
  gap: 40px;
  padding: 0 12vw;
  will-change: transform;
}
.work-item {
  flex: 0 0 68vw;
  height: 72vh;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition:
    opacity 0s,
    transform 0s;
}
.work-item.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 1.2s var(--ease),
    transform 1.2s var(--ease);
}
.work-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px 45px;
  background: linear-gradient(transparent, var(--overlay-bg));
  transform: translateY(20px);
  opacity: 0;
  transition: 0.6s var(--ease);
}
.work-item:hover .work-overlay {
  opacity: 1;
  transform: translateY(0);
}
.work-overlay h3 {
  font-size: 1.6rem;
  font-family: var(--font-serif);
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 8px;
  color: var(--overlay-text);
}
.work-overlay p {
  font-size: 0.72rem;
  color: var(--accent);
  font-family: var(--font-sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0;
}

/* --- Signature Pinned --- */
.sig-wrapper {
  position: relative;
  min-height: 250vh;
  z-index: 5;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(
      ellipse 50% 30% at 50% 40%,
      rgba(185, 150, 84, 0.05),
      transparent
    ),
    var(--bg);
}
[data-theme="light"] .sig-wrapper {
  background:
    radial-gradient(
      ellipse 50% 30% at 50% 40%,
      rgba(96, 73, 38, 0.04),
      transparent
    ),
    var(--bg);
}
.sig-pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  background: var(--bg);
}
.sig-big-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  white-space: nowrap;
}
[data-theme="light"] .sig-big-text {
  color: rgba(26, 26, 26, 0.04);
}
.capability-reveal {
  position: absolute;
  opacity: 0;
  transform: translateY(35px);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.cap-left {
  left: 10%;
}
.cap-right {
  right: 10%;
}
.cap-1 {
  top: 22%;
}
.cap-2 {
  top: 50%;
}
.cap-3 {
  top: 78%;
}

/* --- Mobile --- */
@media (max-width: 1200px) {
  .work-item {
    flex: 0 0 74vw;
    height: 66vh;
  }
  .work-track {
    padding: 0 8vw;
  }
}
@media (max-width: 992px) {
  .home-vision-section,
  .suite-section {
    padding: 110px 0;
  }
  .home-vision-media-col {
    padding-left: 0;
  }
  .home-stat-item {
    min-height: 150px;
  }
  .work-container {
    height: auto;
    padding: 72px 0;
  }
  .work-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0 24px;
    transform: none !important;
  }
  .work-item {
    flex: none;
    width: 100%;
    height: min(58vh, 440px);
  }
  .work-overlay {
    opacity: 1;
    transform: none;
    padding: 28px 24px;
  }
  .sig-wrapper {
    min-height: auto;
  }
  .sig-pinned {
    position: relative;
    height: auto;
    padding: 120px 0;
  }
  .sig-big-text {
    font-size: clamp(6rem, 24vw, 12rem);
  }
  .capability-reveal {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    display: block;
    white-space: normal;
    margin: 0 0 12px;
    letter-spacing: 0.3em;
  }
  .cap-left,
  .cap-right,
  .cap-1,
  .cap-2,
  .cap-3 {
    left: auto;
    right: auto;
    top: auto;
  }
  .suite-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .suite-desc {
    text-align: left;
    opacity: 1;
    transform: none;
    max-width: 100%;
  }
  .marquee-item {
    padding: 0 30px;
  }
  .home-work-header {
    padding: 80px 0 40px;
  }
}
@media (max-width: 768px) {
  .home-vision-section,
  .suite-section,
  .home-contact-section {
    padding: 70px 0;
  }
  .home-stat-item {
    min-height: 132px;
  }
  .home-stat-item .stat-label {
    max-width: 100%;
  }
  .home-vision-media-col {
    padding-left: 0;
    padding-right: 0;
  }
  .suite-desc {
    display: none;
  }
  .suite-item {
    padding: 32px 0;
  }
  .suite-content {
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  .suite-title {
    text-align: center;
    width: 100%;
  }
  .work-container {
    padding: 50px 0;
  }
  .work-item {
    height: min(50vh, 360px);
  }
  .work-track {
    padding: 0 16px;
    gap: 18px;
  }
  .work-overlay {
    padding: 22px 18px;
  }
  .work-overlay h3 {
    font-size: 1.2rem;
  }
  .work-overlay p {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }
  .sig-pinned {
    padding: 70px 0;
  }
  .sig-big-text {
    font-size: clamp(5rem, 30vw, 9.5rem);
  }
  .capability-reveal {
    font-size: 0.56rem;
    letter-spacing: 0.22em;
  }
  .marquee-wrap {
    padding: 40px 0;
  }
  .marquee-item {
    padding: 0 20px;
  }
  .home-work-header {
    padding: 60px 0 30px;
  }
  .home-signature-inner {
    max-width: 100%;
  }
  .home-signature-image-wrap {
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .home-stat-item {
    min-height: 116px;
  }
  .work-item {
    height: min(45vh, 280px);
  }
  .home-vision-section,
  .suite-section,
  .home-contact-section {
    padding: 56px 0;
  }
  .home-work-header {
    padding: 48px 0 24px;
  }
}
