*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #000;
  color: #fff;
  font-family: "Jost", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* TICKER */
.ticker-wrap {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 107, 0, 0.06);
  border-bottom: 1px solid rgba(255, 107, 0, 0.12);
  overflow: hidden;
  height: 2rem;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.55);
  padding: 0 2rem;
}
.ticker-track .sep {
  color: rgba(255, 107, 0, 0.25);
  padding: 0 0.2rem;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: calc(5rem + 0.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-left: 3rem;
  padding-right: 0;
  padding-bottom: 8rem;
  position: relative;
  overflow: hidden;
}

/* subtle bg dot */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 107, 0, 0.06) 1px,
    transparent 1px
  );
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 60% 80% at 30% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(
    ellipse 60% 80% at 30% 50%,
    black,
    transparent
  );
  pointer-events: none;
}

/* LEFT */
.hero-left {
  position: relative;
  z-index: 2;
  padding-right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0.5rem;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ff6b00;
  margin-bottom: 1.8rem;
  margin-left: 0;
  opacity: 0;
  animation: up 0.7s 0.2s ease forwards;
  align-self: flex-start;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #ff6b00;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

.eyebrow-text {
  display: inline-block;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

h1 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
  margin-left: 0;
  align-self: flex-start;
}
h1 .clip {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
h1 .w {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
h1 .clip:nth-child(1) .w {
  animation-delay: 0.3s;
}
h1 .clip:nth-child(2) .w {
  animation-delay: 0.45s;
}
h1 .clip:nth-child(3) .w {
  animation-delay: 0.6s;
}
@keyframes wordUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

h1 .dim {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}
h1 .ora {
  color: #ff6b00;
}

.hero-desc {
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--color-white);
  max-width: 400px;
  margin-bottom: 2.2rem;
  margin-left: 0;
  opacity: 0;
  animation: up 0.7s 0.9s ease forwards;
  align-self: flex-start;
}
.hero-desc strong {
  color: var(--color-white);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 0.7s 1.05s ease forwards;
  align-self: flex-start;
}
.btn-fill {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 2.4rem;
  background: var(--color-primary);
  color: var(--color-on-primary) !important;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
  white-space: nowrap;
}
.btn-fill:hover {
  background: var(--bg);
  color: var(--color-primary) !important;
  border-color: var(--primary);
}

.btn-fill svg {
  color: var(--color-on-primary);
  transition: transform 0.2s;
}
.btn-fill:hover svg {
  color: var(--color-primary);
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.4rem;
  background: transparent;
  color: var(--color-white) !important;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-white-25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.btn-ghost:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: var(--primary) !important;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
         RIGHT — UNIQUE ANIMATION PANEL
      ══════════════════════════════════════ */
.hero-right {
  position: relative;
  height: calc(100vh - 7rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central glowing core */
.core {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.9) 0%,
    rgba(255, 107, 0, 0.3) 50%,
    transparent 75%
  );
  box-shadow:
    0 0 60px rgba(255, 107, 0, 0.5),
    0 0 120px rgba(255, 107, 0, 0.2);
  z-index: 5;
}
.core-inner {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffb347 40%, #ff6b00 100%);
}
.core-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.6);
}
.core-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ff6b00;
  border-radius: 50%;
}

/* Orbit paths */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.1);
}
.orbit-1 {
  width: 240px;
  height: 240px;
}
.orbit-2 {
  width: 380px;
  height: 380px;
  border-color: rgba(255, 107, 0, 0.07);
  border-style: dashed;
}
.orbit-3 {
  width: 520px;
  height: 520px;
  border-color: rgba(255, 255, 255, 0.04);
}

/* Orbiting project bubbles */
.orb-item {
  position: absolute;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bubble cards that orbit */
.bubble {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 0.75rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 107, 0, 0.05);
  transition: border-color 0.2s;
  pointer-events: auto;
  cursor: default;
  backdrop-filter: blur(12px);
}
.bubble:hover {
  border-color: rgba(255, 107, 0, 0.5);
}
.bubble-icon {
  width: 26px;
  height: 26px;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.12);
  flex-shrink: 0;
}
.bubble-icon svg {
  width: 13px;
  height: 13px;
  color: #ff6b00;
}
.bubble-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.bubble-sub {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* Scan line */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 0, 0.3),
    transparent
  );
  pointer-events: none;
  z-index: 20;
  top: 0;
}

/* corner brackets on right panel */
.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 6;
}
.corner-tl {
  top: 1.5rem;
  left: 1.5rem;
  border-top: 2px solid rgba(255, 107, 0, 0.4);
  border-left: 2px solid rgba(255, 107, 0, 0.4);
}
.corner-tr {
  top: 1.5rem;
  right: 1.5rem;
  border-top: 2px solid rgba(255, 107, 0, 0.4);
  border-right: 2px solid rgba(255, 107, 0, 0.4);
}
.corner-bl {
  bottom: 1.5rem;
  left: 1.5rem;
  border-bottom: 2px solid rgba(255, 107, 0, 0.4);
  border-left: 2px solid rgba(255, 107, 0, 0.4);
}
.corner-br {
  bottom: 1.5rem;
  right: 1.5rem;
  border-bottom: 2px solid rgba(255, 107, 0, 0.4);
  border-right: 2px solid rgba(255, 107, 0, 0.4);
}

/* crosshair lines through center */
.crosshair-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 107, 0, 0.05);
  pointer-events: none;
  z-index: 1;
  top: 50%;
}
.crosshair-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 107, 0, 0.05);
  pointer-events: none;
  z-index: 1;
  left: 50%;
}

/* BOTTOM STATS */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  padding-left: 3rem;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* background: rgba(0, 0, 0, 0.85); */
  background: var(--s);
  backdrop-filter: blur(12px);
  z-index: 50;
  opacity: 0;
  animation: up 0.5s 1.5s ease forwards;
}
.hs {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  transition: background 0.25s;
  cursor: default;
}
.hs:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.hs:hover {
  background: rgba(255, 107, 0, 0.04);
}
.hs:hover .hs-n {
  color: #ff6b00;
}
.hs-n {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  transition: color 0.2s;
}
.hs-n span {
  font-size: 1em;
  margin-left: 0.3em;
  color: #ff6b00;
}
.hs-l {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  /* color: rgba(255, 255, 255, 0.3); */
}

@media (max-width: 900px) {
  .ticker-wrap {
    top: var(--nav-h);
    height: 1.8rem;
  }

  .ticker-track span {
    font-size: 0.55rem;
    padding: 0 1.2rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 0;
    overflow: visible;
    position: relative;
  }
  .hero-left {
    padding-right: 0;
    padding-bottom: 2rem;
    text-align: center;
    align-items: center;
  }
  .hero-left h1 {
    text-align: center;
    align-self: center;
  }
  .hero-left .eyebrow {
    align-self: center;
  }
  .hero-left .hero-desc {
    text-align: center;
    align-self: center;
  }
  .hero-left .hero-btns {
    align-self: center;
    justify-content: center;
  }
  .hero-right {
    display: flex;
    height: 340px;
    margin-bottom: 2rem;
  }
  .hero-stats {
    position: relative;
    grid-template-columns: 1fr 1fr;
    left: auto;
    right: auto;
    bottom: auto;
    padding-left: 0;
    margin-top: 2rem;
  }

  .hs {
    align-items: center;
    text-align: center;
  }

  .hs:not(:last-child)::after {
    display: none;
  }

  .hero-btns {
    margin-bottom: 2rem;
  }

  /* Projects grid: 2 columns on tablet */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── PROJECTS SECTION ── */
.projects {
  padding: 6rem 3rem 8rem;
  position: relative;
}

.section-header {
  max-width: 600px;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.4rem;
  white-space: nowrap;
}

.section-header h2 span {
  display: inline;
  background: linear-gradient(115deg, #ff6b00 0%, rgba(255, 155, 60, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--w50);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 2 columns on tablet */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── SINGLE CARD ── */
.card {
  position: relative;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--s);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--o20);
}

/* Image — fills top half by default, shrinks to top half on hover */
.card-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform-origin: top center;
  transition:
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.55s var(--ease),
    transform 0.55s var(--ease);
  filter: brightness(0.55) saturate(0.85);
  z-index: 1;
}

.card:hover .card-img {
  height: 50%;
  filter: brightness(0.7) saturate(0.7);
}

/* gradient on image bottom edge */
.card-img-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to top, var(--s) 0%, transparent 100%);
  z-index: 2;
  transition: opacity 0.4s var(--ease);
}

.card:hover .card-img-overlay {
  opacity: 0;
}

/* always-visible title block at bottom */
.card-always {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 2rem;
  z-index: 3;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s var(--ease);
}

.card:hover .card-always {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.card-number {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.45rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

/* description panel — slides up into bottom half */
.card-hover {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 2rem 2rem;
  background: var(--s);
  z-index: 4;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-hover {
  transform: translateY(0);
}

.card-hover-num {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-hover-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  margin-bottom: 0.8rem;
}

.card-hover-divider {
  width: 36px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 1rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease) 0.25s;
}

.card:hover .card-hover-divider {
  transform: scaleX(1);
}

.card-hover-desc {
  font-size: 0.875rem;
  color: var(--color-white);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1.5rem;
}

.card-hover-buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.card-hover-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.25s var(--ease);
}

.card-hover-cta-demo {
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  transition: all 0.25s var(--ease);
}

.card-hover-cta-demo:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
}

.card-hover-cta-demo svg {
  stroke: currentColor;
}

.card-hover-cta:hover {
  gap: 0.9rem;
}

.card-hover-cta svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  transition: transform 0.25s var(--ease);
}

.card-hover-cta:hover svg {
  transform: translateX(4px);
}

/* ── REVEAL ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger cards */
.card.reveal {
  transform: translateY(50px);
}
.card.reveal.in-view {
  transform: translateY(0);
}

/* ── TABLET (768px) ── */
@media (max-width: 768px) {
  /* Hero centering for mobile */
  .hero-left {
    text-align: center;
    align-items: center;
  }

  .eyebrow {
    align-self: center;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
  }

  .eyebrow-dot {
    width: 8px !important;
    height: 8px !important;
    background: #ff6b00 !important;
    display: inline-block !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
  }

  h1 {
    text-align: center;
    align-self: center;
  }

  .hero-desc {
    text-align: center;
    align-self: center;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    align-self: center;
  }

  .btn-fill,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    font-size: 0.65rem;
    padding: 0.85rem 1.2rem;
  }

  .projects {
    padding: 3.5rem 1.2rem 4.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Card: flex column so image + panel stack naturally */
  .card {
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    transform: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55) !important;
    transition: none !important;
  }

  /* Image: pulled out of position:absolute into normal flow */
  .card-img {
    position: relative !important;
    width: 100% !important;
    height: 210px !important;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.85) !important;
    transition: none !important;
    flex-shrink: 0;
    border-radius: 14px 14px 0 0;
  }

  .card-img-overlay {
    display: none !important;
  }
  .card-always {
    display: none !important;
  }

  /* Info panel: always visible */
  .card-hover {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.4rem 1.4rem 1.6rem;
    background: #0d0d0d;
    border-radius: 0 0 14px 14px;
    flex: 1;
  }

  .card-hover-divider {
    transform: scaleX(1) !important;
    transition: none !important;
    margin-bottom: 0.85rem;
  }

  .card-hover-num {
    font-size: 0.6rem;
    margin-bottom: 0.35rem;
  }

  .card-hover-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .card-hover-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.55);
  }

  .card-hover-buttons {
    display: flex;
    gap: 0.7rem;
    width: 100%;
  }

  .card-hover-cta {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 6px;
    font-size: 0.6rem;
    background: rgba(255, 107, 0, 0.07);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .card-hover-cta:hover {
    gap: 0.5rem;
  }

  .card-hover-cta-demo {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 0.8rem;
    font-size: 0.6rem;
    white-space: nowrap;
  }
}

/* ── SMALL PHONES (480px) ── */
@media (max-width: 480px) {
  .ticker-wrap {
    height: 1.6rem;
  }

  .ticker-track span {
    font-size: 0.5rem;
    padding: 0 1rem;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-left {
    padding-right: 0;
    padding-bottom: 1.5rem;
    padding-top: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .hs {
    padding: 1.2rem 1rem;
    align-items: center;
    text-align: center;
  }

  .hs:not(:last-child)::after {
    display: none;
  }

  .hs-n {
    font-size: 1.4rem;
  }

  .hs-l {
    font-size: 0.58rem;
  }

  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 1.2rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
  }

  .hero-btns {
    width: 100%;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
  }

  .btn-fill,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    font-size: 0.65rem;
    padding: 0.9rem 1.2rem;
  }

  .projects {
    padding: 2.5rem 0.9rem 3.5rem;
  }

  .section-header h2 {
    font-size: 1.55rem;
    text-align: center;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  .cards-grid {
    gap: 1rem;
  }

  .card-img {
    height: 185px !important;
  }

  .card-hover {
    padding: 1.2rem 1.2rem 1.4rem;
  }

  .card-hover-title {
    font-size: 1.1rem;
  }

  /* Stack buttons on very small screens */
  .card-hover-buttons {
    flex-direction: column;
    gap: 0.55rem;
  }
  .card-hover-cta,
  .card-hover-cta-demo {
    width: 100%;
    justify-content: center;
  }
}

/* ─── CTA ─── */
.cta-strip {
  padding: 6rem 0;
  background: var(--s);
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 0, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-inner .sec-label {
  justify-content: center;
}
.cta-title {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 1.4rem;
}
.cta-title span {
  display: block;
  background: linear-gradient(115deg, #ff6b00 0%, rgba(255, 155, 60, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-body {
  font-size: 1.05rem;
  color: var(--color-white);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: row;
}

/* CTA responsive styles */
@media (max-width: 860px) {
  .cta-inner {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Mobile CTA buttons - vertical stack, full width */
  .cta-btns {
    display: flex;
    flex-direction: column !important;
    gap: 1rem;
    width: 100%;
  }

  .btn-p,
  .btn-g {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 380px) {
  .cta-btns {
    flex-direction: column !important;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .btn-p,
  .btn-g {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
}
/* CTA Button Styles */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.4rem;
  background: #ff6b00;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #ff6b00;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
}
.btn-p:hover {
  background: transparent;
  color: var(--color-primary) !important;
}
.btn-p svg {
  transition: transform 0.2s;
}
.btn-p:hover svg {
  transform: translateX(4px);
}
.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.4rem;
  background: transparent;
  color: var(--color-white);
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-white-25);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s,
    transform 0.2s;
}
.btn-g:hover {
  border-color: #ff6b00;
  color: #ff6b00;
  background: rgba(255, 255, 255, 0.05);
}
/* Section Label with Orange Dot */
.sec-label {
  display: inline-flex;
  text-align: center;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff6b00;
  margin-bottom: 1.1rem;
}
.sec-label::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b00;
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 107, 0, 0);
  }
}

/* ── Hero-right visible on mobile, smaller height ── */
@media (max-width: 560px) {
  .hero-right {
    display: flex;
    height: 260px;
    margin-bottom: 1rem;
  }
}
