/* ===================================================================
   TKM — Home Page Styles
   =================================================================== */

/* --- Hero Video --- */
.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-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 {
  padding: 120px 0 60px;
}
.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);
}
.suite-bg-identity {
  background-image: url("https://images.unsplash.com/photo-1626785774573-4b799315345d?auto=format&fit=crop&w=1400&q=80");
}
.suite-bg-cinematic {
  background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?auto=format&fit=crop&w=1400&q=80");
}
.suite-bg-sonic {
  background-image: url("https://images.unsplash.com/photo-1511379938547-c1f69419868d?auto=format&fit=crop&w=1400&q=80");
}
.suite-bg-tech {
  background-image: url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1400&q=80");
}

/* --- Marquee --- */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
  overflow: hidden;
  display: flex;
  background: 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: 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: var(--bg-alt);
  overflow: hidden;
}
.work-container {
  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;
}
.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;
  background: var(--bg);
}
.sig-pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sig-big-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 28vw;
  font-weight: 300;
  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;
  }
  .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: 34vw;
  }
  .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;
  }
  .suite-desc {
    display: none;
  }
  .suite-item {
    padding: 32px 0;
  }
  .suite-content {
    gap: 12px;
  }
  .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: 44vw;
  }
  .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) {
  .work-item {
    height: min(45vh, 280px);
  }
  .home-vision-section,
  .suite-section,
  .home-contact-section {
    padding: 56px 0;
  }
  .home-work-header {
    padding: 48px 0 24px;
  }
}
