/* VIM.BIZ — dark studio aesthetic inspired by design-service landing pages */
:root {
  --bg: #18171c;
  --bg-2: #1f1e24;
  --ink: #ffffff;
  --muted: #a8a6b0;
  --line: rgba(255, 255, 255, 0.1);
  --soft: #2a2831;
  --accent: #ffffff;
  --glow: rgba(180, 160, 255, 0.18);
  --font-display: "Outfit", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, var(--glow), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0.85rem auto 0;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  background: rgba(24, 23, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.brand img {
  display: block;
  border-radius: 50%;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover { color: #fff; }

.nav a.is-active {
  color: #3ecf8e;
}

#cases,
#services,
#why,
#partner,
#contact {
  scroll-margin-top: 5.5rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang {
  display: inline-flex;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang button.is-active {
  background: #fff;
  color: #18171c;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
.btn-light { background: #fff; color: #18171c; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(7.5rem, 14vh, 9.5rem) 1.25rem 2.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  animation: rise 0.85s var(--ease) both;
}

.hero-lede {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.85s var(--ease) 0.08s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.85rem;
  animation: rise 0.85s var(--ease) 0.14s both;
}

.hero-trust {
  margin: 1.2rem 0 0;
  color: #7c7986;
  font-size: 0.88rem;
}

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

.showcase {
  width: min(1200px, 100%);
  margin: 0 auto 1rem;
  padding: 0 1rem 2rem;
  perspective: 1400px;
}

.showcase-stage {
  position: relative;
  height: clamp(280px, 42vw, 460px);
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateZ(-4deg);
  animation: stageIn 1s var(--ease) 0.2s both;
}

@keyframes stageIn {
  from { opacity: 0; transform: rotateX(18deg) rotateZ(-4deg) translateY(40px); }
  to { opacity: 1; transform: rotateX(12deg) rotateZ(-4deg) translateY(0); }
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: #111;
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-a { width: 38%; height: 72%; left: 4%; top: 8%; }
.shot-b { width: 34%; height: 64%; left: 34%; top: 0; z-index: 2; }
.shot-c { width: 22%; height: 78%; right: 4%; top: 6%; }
.shot-d { width: 26%; height: 48%; left: 18%; bottom: 0; z-index: 3; }
.shot-e { width: 24%; height: 42%; left: 48%; bottom: 4%; }
.shot-f { width: 22%; height: 40%; right: 8%; bottom: 0; }

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 1.25rem;
}

.intro { text-align: center; }

.pill {
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
}

.intro .section-lede { margin-left: auto; margin-right: auto; }

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 0;
}

.features article {
  padding: 1.35rem 1.2rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.features .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(220, 210, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #3a3650, #1b1a22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
}

.features .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.2rem;
}

.features .i-bolt::after {
  width: 0;
  height: 0;
  border: 0;
  border-left: 0.45rem solid transparent;
  border-right: 0.45rem solid transparent;
  border-bottom: 0.85rem solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
}

.features .i-embed::after { border-radius: 50%; }
.features .i-out::after {
  width: 0.85rem;
  height: 0.85rem;
  transform: rotate(45deg);
  border-radius: 0.12rem;
}

.features h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  text-decoration: none;
  background: #111;
}

.work-card.tall { grid-row: span 2; }
.work-card.wide { grid-column: span 2; }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.work-card:hover img { transform: scale(1.04); }

.work-meta {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 0.9rem;
}

.work-meta strong { font-weight: 600; }
.work-meta span { color: rgba(255, 255, 255, 0.7); }

.svc-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.svc-list article {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.svc-list span {
  color: #9b93d8;
  font-weight: 600;
  font-size: 0.9rem;
}

.svc-list h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.svc-list p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.why-grid article {
  padding: 1.4rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.why-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
}

.markets {
  margin-top: 2.25rem;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
}

.markets-label {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.market-chips span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: #fff;
}

.markets-note {
  margin: 0.95rem 0 0;
  color: #7c7986;
  font-size: 0.88rem;
}

.partner-logos {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  min-height: 148px;
  padding: 1.2rem 1rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.partner-logo:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.partner-markbox {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-markbox img {
  display: block;
  margin: 0 auto;
  max-width: min(180px, 100%);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.partner-markbox-row {
  gap: 0.55rem;
}

.partner-markbox-row .partner-mark {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.partner-markbox-row .partner-word {
  max-width: 128px;
  max-height: 40px;
}

.partner-cap {
  display: block;
  width: 100%;
  margin: 0;
  color: #8b8894;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .partner-logos { grid-template-columns: 1fr; }
}

.partner .section-lede a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner-card {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.partner-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.partner-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.partner-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-grid-solo {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.contact-card,
.enquiry {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.contact-card > p {
  margin: 0;
  color: var(--muted);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.cities span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.enquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.enquiry label { display: grid; gap: 0.35rem; }
.enquiry .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.enquiry .full,
.enquiry .btn.full { grid-column: 1 / -1; }
.enquiry span { font-size: 0.8rem; color: var(--muted); }

.enquiry input,
.enquiry textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: #fff;
  background: #121116;
  outline: none;
}

.enquiry input:focus,
.enquiry textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #c7c0ff;
  font-size: 0.9rem;
}

.cta-final {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 1.25rem 4rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-final h2 {
  margin: 0 auto 1.6rem;
  max-width: 16ch;
}

.footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .work-card.wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .showcase-stage { transform: rotateX(8deg) rotateZ(-2deg); height: 340px; }
}

@media (max-width: 720px) {
  .nav, .top-actions .btn-sm { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    background: #1f1e24;
    border: 1px solid var(--line);
    border-radius: 1rem;
    margin-left: 0;
  }
  .nav.is-open a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
    color: #fff;
  }
  .topbar { width: calc(100% - 1.5rem); }
  .menu-btn { display: block; }
  .topbar { position: fixed; }
  .features,
  .why-grid,
  .work-grid { grid-template-columns: 1fr; }
  .work-card.tall,
  .work-card.wide { grid-row: auto; grid-column: auto; }
  .work-grid { grid-auto-rows: 220px; }
  .enquiry { grid-template-columns: 1fr; }
  .showcase-stage {
    height: 280px;
    transform: none;
  }
  .shot-a { width: 55%; height: 55%; left: 0; top: 0; }
  .shot-b { width: 48%; height: 50%; left: 42%; top: 8%; }
  .shot-c { width: 34%; height: 58%; right: 0; top: 28%; }
  .shot-d, .shot-e, .shot-f { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
  body { padding-top: 0; }
  .hero { padding-top: 2.5rem; }
}
