/* OhMars — warna & font ikut D:\Claude\branding\ohmars */
:root {
  --black: #07040d;
  --ink: #0f0919;
  --purple: #8b5cf6;
  --purple-deep: #6d28d9;
  --purple-light: #c9a8ff;
  --white: #f6f2ff;
  --muted: rgba(246, 242, 255, .68);
  --faint: rgba(246, 242, 255, .45);
  --line: rgba(246, 242, 255, .14);
  --card: rgba(20, 12, 36, .62);
  --gutter: 16px;
  --max: 1200px;
  --display: 'Unbounded', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black); color: var(--white);
  font-family: var(--mono); font-size: 15px; line-height: 1.7;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
strong { color: var(--white); font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.grad {
  background: linear-gradient(180deg, #e9dcff 0%, #a77bff 48%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--purple-light);
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--purple); box-shadow: 0 0 12px var(--purple); }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.035em; }
h1 { font-weight: 900; font-size: clamp(2.35rem, 7.4vw, 5.6rem); margin: 22px 0 26px; }
h2 { font-weight: 900; font-size: clamp(1.8rem, 4.6vw, 3.4rem); margin-top: 16px; }
h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.25; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
  background: linear-gradient(180deg, #9d74ff, var(--purple-deep));
  box-shadow: 0 0 0 1px rgba(201, 168, 255, .35) inset, 0 10px 30px -10px rgba(139, 92, 246, .8);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(201, 168, 255, .6) inset, 0 14px 34px -10px rgba(139, 92, 246, 1); }
.btn-ghost { background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--purple-light) inset; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 4, 13, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -.035em; line-height: 1; }
/* Planet ganti huruf O, ukuran sama macam logo-wordmark.html. */
.brand-o { width: .95em; height: .95em; margin: 0 .02em 0 .24em; flex: none; overflow: visible; }
.menu { display: flex; align-items: center; gap: 30px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.menu a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 759px) {
  .menu-btn { display: inline-flex; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: rgba(7, 4, 13, .96); border-bottom: 1px solid var(--line);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; min-height: 48px; }
  .nav.menu-open { background: rgba(7, 4, 13, .96); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0 90px;
  background:
    radial-gradient(60vw 50vw at 78% 45%, rgba(139, 92, 246, .30), transparent 62%),
    radial-gradient(55vw 40vw at 0% 110%, rgba(88, 28, 135, .45), transparent 70%);
}
.frame { position: absolute; inset: 84px 20px 20px; border: 1px solid var(--line); pointer-events: none; }
.tick { position: absolute; width: 16px; height: 16px; border: 0 solid var(--white); }
.tick.tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.tick.tr { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; }
.tick.bl { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; }
.tick.br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }
.ghost {
  position: absolute; left: 4vw; bottom: -.24em; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-size: 22vw; line-height: 1; letter-spacing: -.02em;
  color: rgba(246, 242, 255, .035); white-space: nowrap;
}
.grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; mix-blend-mode: overlay; pointer-events: none; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 2; }
.lead { max-width: 34em; color: var(--muted); font-size: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 479px) { .cta .btn { flex: 1 1 100%; } }

.hero-art { position: relative; aspect-ratio: 1; }
.orbit { width: 100%; height: 100%; overflow: visible; }
.floaty { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }

.meta-line { position: relative; margin-top: 40px; font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--faint); }

@media (max-width: 859px) {
  .hero { padding-top: 96px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(68%, 340px); margin: 0 auto -8px; }
  .frame { inset: 76px 8px 8px; }
  .ghost { font-size: 25vw; }
}

/* ---------- Facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7, 4, 13, .7); }
.facts-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-list li { display: flex; flex-direction: column; gap: 2px; padding: 26px 0 26px 24px; border-left: 1px solid var(--line); }
.facts-list li:first-child { border-left: 0; padding-left: 0; }
.facts-list b { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; }
.facts-list span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 759px) {
  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list li { padding: 18px 0 18px 16px; }
  .facts-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts-list b { font-size: 1.6rem; }
  .facts-list span { font-size: 11px; letter-spacing: .08em; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { margin-bottom: 44px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(201, 168, 255, .45); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 14px; }
.card .tags { margin-top: auto; padding-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-light); }
.icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: rgba(139, 92, 246, .16); fill: none; stroke: var(--purple-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-cta { text-decoration: none; background: linear-gradient(150deg, rgba(139, 92, 246, .38), rgba(42, 11, 87, .55)); border-color: rgba(201, 168, 255, .35); }
.card-cta h3 { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; }
.card-cta p:not(.label) { color: rgba(246, 242, 255, .8); }
.card-cta .arrow { margin-top: auto; font-size: 28px; line-height: 1; transition: transform .25s; }
.card-cta:hover .arrow { transform: translateX(6px); }
@media (max-width: 999px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 619px) { .services { grid-template-columns: 1fr; gap: 14px; } .card { padding: 22px; } }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--purple-light); color: var(--white); }
.filters button[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.note { margin-bottom: 32px; font-size: 13px; color: var(--faint); }

.gallery { columns: 3; column-gap: 20px; }
.item { break-inside: avoid; margin-bottom: 20px; }
.item[hidden] { display: none; }
.thumb {
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px;
  background: var(--ink); box-shadow: 0 0 0 1px var(--line);
}
.thumb img, .thumb video { width: 100%; height: auto; transition: transform .5s ease; }
.thumb:hover img, .thumb:hover video { transform: scale(1.035); }
.thumb::after {
  content: '+'; position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  background: rgba(7, 4, 13, .7); color: var(--white); opacity: 0; transition: opacity .25s;
}
.thumb:hover::after, .thumb:focus-visible::after { opacity: 1; }
.item figcaption { display: flex; flex-direction: column; padding: 10px 2px 0; line-height: 1.4; }
.item figcaption b { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.item figcaption span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 899px) { .gallery { columns: 2; column-gap: 14px; } .item { margin-bottom: 16px; } }
@media (max-width: 419px) {
  .gallery { column-gap: 10px; }
  .thumb { border-radius: 9px; }
  .item figcaption b { font-size: 12px; }
  .item figcaption span { font-size: 10px; letter-spacing: .04em; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-art {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, #3b1179, var(--black) 72%);
}
.about-art svg { width: 82%; margin-bottom: 14%; overflow: visible; }
.about-word { position: absolute; bottom: 7%; font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.035em; line-height: 1; }
.about-copy > p:not(.label) { margin-top: 20px; color: var(--muted); max-width: 38em; }
.about-copy h2 { margin-bottom: 4px; }
.specs { margin-top: 32px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--purple-light); padding-top: 3px; }
.specs dd { font-size: 14px; }
@media (max-width: 859px) {
  .about { grid-template-columns: 1fr; }
  .about-art { max-width: 360px; width: 100%; }
}
@media (max-width: 479px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-box {
  position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px); border-radius: 28px;
  border: 1px solid rgba(201, 168, 255, .3);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(139, 92, 246, .45), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(88, 28, 135, .5), transparent 70%),
    var(--ink);
}
.contact-box h2 { font-size: clamp(2rem, 6vw, 4.4rem); margin: 18px 0 20px; }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.contact-link {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 16px; text-decoration: none;
  background: rgba(7, 4, 13, .55); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.contact-link:hover { border-color: var(--purple-light); background: rgba(7, 4, 13, .8); }
.contact-link .k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--purple-light); }
.contact-link .v { font-family: var(--display); font-weight: 500; font-size: clamp(.9rem, 1.6vw, 1.1rem); overflow-wrap: anywhere; }
.copy { margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.copy:hover { color: var(--white); }
@media (max-width: 719px) { .contact-links { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 12px; letter-spacing: .1em; color: var(--faint); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Lightbox ---------- */
.lightbox {
  margin: auto; width: min(1200px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--black); color: var(--white);
}
.lightbox::backdrop { background: rgba(7, 4, 13, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-media { display: grid; place-items: center; background: #000; }
.lb-media img, .lb-media video { width: auto; max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.lb-cap { font-size: 13px; line-height: 1.4; min-width: 0; }
.lb-cap b { font-family: var(--display); font-weight: 500; }
.lb-cap span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lb-nav { display: flex; align-items: center; gap: 4px; flex: none; font-size: 12px; color: var(--faint); }
.lb-nav button { width: 40px; height: 40px; border-radius: 50%; font-size: 18px; color: var(--white); }
.lb-nav button:hover { background: rgba(246, 242, 255, .1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
