/* -------------------------------------------------- */
/* RESET & BASE                                       */
/* -------------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #070711;
  --bg-soft: #0b0b18;
  --bg-elevated: #0f0f1c;
  --text: #f5f5f5;
  --muted: #a5a5b5;
  --accent: #f4a84a;
  --accent-soft: rgba(244, 168, 74, 0.18);
  --border-soft: rgba(255, 255, 255, 0.07);
}

html,
body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #121220 0%, var(--bg) 55%, #030308 100%);
  color: var(--text);
  line-height: 1.6;
}

/* -------------------------------------------------- */
/* HERO AREA                                          */
/* -------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  cursor: pointer;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  background: #000;
}

.hero-black {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 2;
  opacity: 1;
  transition: opacity 1.6s ease-out;
}

.hero-black--fade {
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 65%, rgba(0,0,0,0.5), transparent 55%),
    linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 48%, rgba(0,0,0,0) 72%),
    linear-gradient(to top, rgba(0,0,0,0.55), transparent 40%);
  z-index: 3;
}

.hero-inner {
  position: absolute;
  inset: 0;
  padding: 8vw 6vw;
  z-index: 4;
  pointer-events: none;
}

/* -------------------------------------------------- */
/* HERO LOGO                                          */
/* -------------------------------------------------- */

.hero-logo {
  position: absolute;
  top: 5vh;
  left: 6vw;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: auto;
  transition:
    opacity 1.5s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.hero-logo.visible {
  opacity: 0.95;
}

/* bubble-style treatment applied at end of intro */
.hero-logo-bubble {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), rgba(0,0,0,0.6));
  box-shadow:
    0 18px 40px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.12);
}

.hero-logo-bubble:hover {
  transform: translateY(-1px);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.18);
}

.vm-mark {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.vm-wordmark {
  opacity: 0.85;
}

/* -------------------------------------------------- */
/* HERO INTRO LINES                                   */
/* -------------------------------------------------- */

.hero-line {
  position: absolute;
  opacity: 0;
  font-weight: 300;
  letter-spacing: 0.01em;
  transition: opacity 1.2s ease;
  max-width: 28rem;
}

.hero-line.visible {
  opacity: 1;
}

.hero-line-1 {
  right: 8vw;
  bottom: 16vh;
  text-align: right;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
}

.hero-line-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
}

.hero-line-3 {
  top: 40%;
  left: 69%;
  transform: translate(-50%, -50%);
  text-align: left;
  max-width: 32rem;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
}

/* -------------------------------------------------- */
/* SCROLL HINT                                        */
/* -------------------------------------------------- */

.hero-scroll-hint {
  position: absolute;
  left: 6vw;
  bottom: 8vh;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-scroll-hint.visible {
  opacity: 0.7;
}

.hero-scroll-hint .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  animation: pulse 1.4s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0;   }
}

/* -------------------------------------------------- */
/* MAIN LAYOUT                                        */
/* -------------------------------------------------- */

main {
  background: transparent;
}

.section {
  padding: 4.5rem 1.5rem 3.75rem;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.1rem;
}

.section p {
  color: var(--muted);
}

/* ABOUT – cave background + cinematic letterbox fade */

.section-about {
  border-top: 1px solid var(--border-soft);
  background:
    /* cinematic letterbox fade from hero into cave */
    linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.85) 120px, transparent 260px),
    url("../images/CAVE.jpg") center/cover no-repeat,
    radial-gradient(circle at top, rgba(244,168,74,0.06), transparent 60%);
}

/* ABOUT text card – shifted right, soft black glass haze */

.about-inner {
  max-width: 780px;
  margin-left: auto;
  margin-right: 6vw;
  padding: 2.4rem 2.7rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.06);
}

.section-about p + p {
  margin-top: 0.8rem;
}

/* -------------------------------------------------- */
/* SERVICES                                           */
/* -------------------------------------------------- */

.section-services {
  border-top: 1px solid var(--border-soft);
  position: relative;
  background:
    linear-gradient(to bottom, rgba(7,7,17,0.96), rgba(5,5,12,0.98)),
    url("../images/2016-08-05%2018.34.15.jpg") center/cover fixed no-repeat;
}

.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0,0,0,0.65), transparent 60%),
    linear-gradient(to bottom, rgba(7,7,17,0.85), rgba(7,7,17,0.98));
  mix-blend-mode: normal;
}

.section-services .section-inner {
  position: relative;
  z-index: 1;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), rgba(0,0,0,0.95)),
    linear-gradient(135deg, rgba(244,168,74,0.08), transparent 55%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 24px 45px rgba(0,0,0,0.75);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), rgba(0,0,0,0.94)),
    linear-gradient(135deg, rgba(244,168,74,0.16), transparent 60%);
}

.service-card-media {
  position: relative;
  height: 160px;
  margin: -1.6rem -1.6rem 1.1rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(3,3,8,0.15), rgba(3,3,8,0.9));
}

.service-card-body {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.service-card p {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.85rem;
}

.service-card li + li {
  margin-top: 0.3rem;
}

/* Service card specific imagery */
.service-card--vp .service-card-media {
  background-image: url("../images/Tales_of_the_Unexpected.jpg");
}

.service-card--splat .service-card-media {
  background-image: url("../images/ces_radiancefields_hero.png");
}

.service-card--ai .service-card-media {
  background-image: url("../images/Planet_of_the_Apes_Andy_Serkis.jpg");
}

/* -------------------------------------------------- */
/* PROOF STRIP + FEATURE                              */
/* -------------------------------------------------- */

.section-proof {
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #10101c, var(--bg-soft) 55%, var(--bg) 100%);
}

.proof-inner {
  display: grid;
  gap: 2.5rem;
}

.proof-left p {
  max-width: 26rem;
}

.proof-left .proof-feature-card {
  margin-top: 1.8rem;
}

.proof-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Featured card */

.proof-feature-card {
  position: relative;
  display: block;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #181824, #050509 65%);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 22px 48px rgba(0,0,0,0.7);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.proof-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.85);
  border-color: rgba(244,168,74,0.45);
  background: radial-gradient(circle at top, #202034, #050509 70%);
}

.proof-feature-media img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.proof-feature-content {
  padding: 1.4rem 1.6rem 1.5rem;
}

.proof-feature-tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.proof-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.proof-feature-text {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.proof-feature-points {
  list-style: none;
  padding-left: 0;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.proof-feature-points li + li {
  margin-top: 0.25rem;
}

.proof-feature-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
}

/* Existing small proof tiles with imagery */

.proof-grid {
  display: grid;
  gap: 1.4rem;
}

.proof-item {
  border-radius: 1.1rem;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), rgba(0,0,0,0.96)),
    linear-gradient(135deg, rgba(244,168,74,0.12), transparent 65%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
}

.proof-item-media {
  height: 120px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.proof-item-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,10,0.05), rgba(5,5,10,0.9));
}

.proof-item-body {
  padding: 1.3rem 1.4rem 1.3rem;
}

.proof-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.proof-item p {
  font-size: 0.9rem;
}

/* Proof tile specific imagery */
.proof-item--feature .proof-item-media {
  background-image: url("../images/Once_upon_a_Time_Lake_Crane.jpg");
}

.proof-item--led .proof-item-media {
  background-image: url("../images/Jenson_Stage_CES_Atrium.jpg");
}

.proof-item--ai .proof-item-media {
  background-image: url("../images/");
}

/* -------------------------------------------------- */
/* CONTACT                                            */
/* -------------------------------------------------- */

.section-contact {
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(to bottom, var(--bg), #020207 80%);
  padding-bottom: 4.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #05050a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.5);
  background: #ffc676;
  border-color: #ffc676;
}

/* -------------------------------------------------- */
/* FOOTER                                             */
/* -------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.75;
  background: #020208;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  margin-left: 1rem;
  position: relative;
}

.site-footer a:first-child {
  margin-left: 0;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.site-footer a:hover::after {
  width: 100%;
}

/* -------------------------------------------------- */
/* HERO BOKEH BUBBLE MENU                             */
/* -------------------------------------------------- */

.hero-bokeh-menu {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* Base bubble look - hidden initially */
.bubble {
  position: absolute;
  border-radius: 50%;
  border: none;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0; /* Hidden during intro */

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: none;
  overflow: hidden; /* lets the image live inside the circle */

  transition:
    opacity 1.5s ease,
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* IMAGE LAYER INSIDE BUBBLES – per-button mapping */
.bubble::before {
  content: "";
  position: absolute;
  inset: -8%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.05);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* About – use former Services NVIDIA environment */
.bubble-1::before {
  background-image: url("../images/NVIDIA_ATRIUM_OUTSIDE.png");
}

/* Services – IMG_3792 */
.bubble-2::before {
  background-image: url("../images/IMG_3792.JPG");
}

/* Proof – IMG_3854 */
.bubble-3::before {
  background-image: url("../images/IMG_3854.JPG");
}

/* Contact – previous Proof image */
.bubble-4::before {
  background-image: url("../images/NVIDIA_CAMINO.png");
}

/* TEXT STYLING */
.bubble span {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 1rem;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.9),
    0 0 15px rgba(0,0,0,0.55);

  opacity: 0;
  transition: opacity 1.5s ease;
}

/* STATE: ACTIVE (Video finished) */
.hero-bokeh-menu.interactive .bubble {
  opacity: 1;
}

.hero-bokeh-menu.interactive .bubble span {
  opacity: 1;
}

/* when interactive, let the images breathe a bit */
.hero-bokeh-menu.interactive .bubble::before {
  opacity: 0.55;
}

/* Per-bubble "selected" look */
.bubble-active {
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), rgba(0,0,0,0.55));
  box-shadow:
    0 28px 60px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.15);
  transform: translate(-50%, -50%) scale(1.08);
}

/* HOVER STATE - small lift + slightly brighter images */
.hero-bokeh-menu.interactive .bubble:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.hero-bokeh-menu.interactive .bubble:hover::before {
  opacity: 0.85;
  transform: scale(1.04);
}

/* POSITIONS */
.bubble-1 {
  top: 18%;
  left: 64%;
  width: 16vw;
  height: 16vw;
  min-width: 120px;
  min-height: 120px;
}

.bubble-2 {
  top: 54%;
  left: 68%;
  width: 14vw;
  height: 14vw;
  min-width: 110px;
  min-height: 110px;
}

.bubble-3 {
  top: 33%;
  left: 38%;
  width: 14vw;
  height: 14vw;
  min-width: 110px;
  min-height: 110px;
}

.bubble-4 {
  top: 70%;
  left: 44%;
  width: 18vw;
  height: 18vw;
  min-width: 140px;
  min-height: 140px;
}

/* -------------------------------------------------- */
/* RESPONSIVE                                         */
/* -------------------------------------------------- */

@media (min-width: 768px) {
  .section {
    padding: 5rem 2rem 4.25rem;
  }

  .service-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .proof-inner {
    grid-template-columns: minmax(0,1.3fr) minmax(0,2fr);
    align-items: flex-start;
  }

  .proof-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 600px) {
  .hero-inner {
    padding: 10vh 6vw 8vh;
  }

  .hero-logo {
    top: 4vh;
    left: 6vw;
  }

  .hero-line-1 {
    right: 6vw;
    left: 6vw;
    text-align: left;
    bottom: 18vh;
  }

  .hero-line-2 {
    font-size: 1.4rem;
  }

  .hero-line-3 {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
  }

  .hero-scroll-hint {
    bottom: 6vh;
    left: 6vw;
  }

  .section {
    padding: 3.75rem 1.4rem 3.25rem;
  }

  /* Mobile: center the about card so it doesn't feel cramped */
  .about-inner {
    margin-right: auto;
    margin-left: auto;
    padding: 2rem 1.7rem;
  }

  .bubble span {
    font-size: 0.85rem;
  }

  .service-card-media {
    height: 140px;
  }

  .proof-feature-media img {
    max-height: 220px;
  }

  .proof-item-media {
    height: 110px;
  }
}
