/* CV. Mitra Viktory Logam - company profile
   Theme: locked dark. Charcoal surfaces, brass accent from the logo. */

:root {
  --bg: #f5f6f7;
  --bg-2: #ffffff;
  --bg-3: #eceef1;
  --line: rgba(20, 24, 30, 0.09);
  --line-strong: rgba(20, 24, 30, 0.18);
  --text: #15181c;
  --text-2: #4a515b;
  --text-3: #6b727c;
  --brass: #d4a93c;
  --brass-2: #e2b94c;
  --brass-text: #8a6410;
  --brass-dim: rgba(212, 169, 60, 0.16);
  --on-brass: #1a1405;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --on-photo: #f6f3ec;
  --shadow: 0 1px 2px rgba(20, 24, 30, 0.04), 0 8px 24px rgba(20, 24, 30, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.h-display { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.h-section { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.h-card { font-size: 1.25rem; }
.lead { font-size: 1.1rem; color: var(--text-2); max-width: 58ch; }
.muted { color: var(--text-2); }
.accent { color: var(--brass-text); }
.max-ch { max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--brass); color: var(--on-brass); border-color: var(--brass); }
.btn-primary:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-text); }
.btn i { font-size: 1.15em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.04em; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.93rem; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-links a[aria-current="page"] { color: var(--brass-text); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
}
.nav-toggle i { font-size: 1.4rem; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--brass-text); }
.mobile-menu .btn { margin: 16px 20px; width: calc(100% - 40px); justify-content: center; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 768px) { section { padding: 104px 0; } }
.section-head { margin-bottom: 40px; }
.section-head p { margin-top: 14px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero (home): full-bleed photo like an industrial landing */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; padding: 72px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,18,18,0.94) 0%, rgba(18,18,18,0.80) 38%, rgba(18,18,18,0.35) 68%, rgba(18,18,18,0.15) 100%);
}
.hero h1 { max-width: 22ch; color: var(--on-photo); text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero .lead { margin-top: 20px; color: #d9d3c7; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 1024px) { .hero { min-height: 88vh; padding: 96px 0; } .hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1.08; } }
@media (max-width: 767px) { .hero-bg { object-position: 60% center; } .hero::before { background: linear-gradient(to top, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.6) 55%, rgba(18,18,18,0.45) 100%); } }

/* Industry strip */
.industry-grid { display: grid; gap: 0; }
.industry-item { padding: 28px 0; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: flex-start; }
.industry-item i { font-size: 1.9rem; color: var(--brass-text); flex: none; margin-top: 2px; }
.industry-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.industry-item p { color: var(--text-2); font-size: 0.97rem; }
@media (min-width: 768px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-item { border-top: 0; border-left: 1px solid var(--line); padding: 8px 28px; flex-direction: column; gap: 14px; }
  .industry-item:first-child { border-left: 0; padding-left: 0; }
}

/* Product bento (home) */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.bento-item {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-3); aspect-ratio: 1; isolation: isolate;
}
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-item:hover img { transform: scale(1.04); }
.bento-item .cap { color: var(--text);
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .bento-item { aspect-ratio: auto; }
  .bento-item.wide { grid-column: span 2; }
  .bento-item.tall { grid-row: span 2; }
}

/* Process steps */
.steps { display: grid; gap: 28px; counter-reset: step; }
.step { display: grid; gap: 16px; }
.step img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.step h3 { font-size: 1.2rem; display: flex; align-items: baseline; gap: 12px; }
.step h3::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--brass-text);
}
.step p { color: var(--text-2); font-size: 0.97rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Feature split */
.split { display: grid; gap: 36px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split-media { aspect-ratio: 4 / 5; }
.split-media img { height: 100%; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
}
.points { display: grid; gap: 22px; margin-top: 32px; }
.point { display: flex; gap: 16px; }
.point i { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--brass-dim); color: var(--brass-text); display: grid; place-items: center; font-size: 1.3rem; }
.point h3 { font-size: 1.05rem; margin-bottom: 4px; }
.point p { color: var(--text-2); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(212, 169, 60, 0.20), rgba(212, 169, 60, 0.05) 60%), #fff;
  border: 1px solid rgba(212, 169, 60, 0.45); border-radius: 14px;
  padding: 40px 28px; display: grid; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 48px 56px; } }
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-band p { margin-top: 10px; color: var(--text-2); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero (inner pages) */
.page-hero { background: #15181c; position: relative; padding: 80px 0 72px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; z-index: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,18,18,0.9), rgba(18,18,18,0.5)); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--on-photo); font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 16ch; }
.page-hero .lead { margin-top: 16px; }
@media (min-width: 1024px) { .page-hero { padding: 112px 0 104px; } }

/* Product catalog */
.catalog { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.product { background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1.12rem; }
.product-body p { color: var(--text-2); font-size: 0.93rem; flex: 1; }
.product-body .tag { font-size: 0.78rem; font-weight: 700; color: var(--brass-text); letter-spacing: 0.02em; }
.product-body a { margin-top: 8px; font-weight: 700; font-size: 0.9rem; color: var(--brass-text); display: inline-flex; align-items: center; gap: 6px; }

/* Material comparison */
.materials { display: grid; gap: 18px; }
@media (min-width: 768px) { .materials { grid-template-columns: 1fr 1fr; gap: 24px; } }
.material { padding: 28px; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow); border: 1px solid var(--line); }
.material h3 { font-size: 1.35rem; margin-bottom: 10px; }
.material p { color: var(--text-2); }
.material ul { margin-top: 16px; display: grid; gap: 8px; }
.material li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.material li i { color: var(--brass-text); margin-top: 4px; }

/* Facilities */
.facilities { display: grid; gap: 16px; }
@media (min-width: 768px) { .facilities { grid-template-columns: repeat(3, 1fr); } }
.facility { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.facility img { width: 100%; height: 100%; object-fit: cover; }
.facility div { color: #fff; position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(to top, rgba(10,10,10,0.9), rgba(10,10,10,0)); }
.facility h3 { font-size: 1.15rem; margin-bottom: 4px; }
.facility p { color: rgba(255,255,255,0.82); font-size: 0.92rem; }

/* Gallery */
.masonry { columns: 2; column-gap: 12px; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }
.masonry a { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3); }
@media (min-width: 768px) { .masonry a { margin-bottom: 16px; } }
.masonry img { width: 100%; transition: transform 0.5s var(--ease), opacity 0.3s; }
.masonry a:hover img { transform: scale(1.03); }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 8, 0.94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox button {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); cursor: pointer; font-size: 1.3rem;
}
.lightbox figcaption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--text-2); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: border-color 0.2s; }
.contact-card:hover { border-color: var(--brass); }
.contact-card i { font-size: 1.6rem; color: var(--brass-text); flex: none; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.contact-card span { color: var(--text-2); font-size: 0.93rem; }
.form { box-shadow: var(--shadow); display: grid; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font: inherit; font-size: 0.97rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.field small { color: var(--text-3); font-size: 0.82rem; }
.form .btn { justify-content: center; }
.map-placeholder {
  margin-top: 40px; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--bg-2);
  min-height: 260px; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--text-2);
}
.map-placeholder i { font-size: 2rem; color: var(--brass-text); margin-bottom: 10px; }
.map-embed { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Team / about */
.about-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.about-grid img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about-grid img:nth-child(2) { margin-top: 36px; }
.values { display: grid; gap: 0; margin-top: 8px; }
.value { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--text-2); font-size: 0.97rem; }
@media (min-width: 768px) { .value { grid-template-columns: 220px 1fr; gap: 24px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }
.site-footer .brand img { height: 72px; }
.site-footer p { color: var(--text-2); font-size: 0.95rem; margin-top: 16px; max-width: 40ch; }
.site-footer h4 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer li a { color: var(--text-2); font-size: 0.95rem; }
.site-footer li a:hover { color: var(--brass-text); }
.site-footer li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.site-footer li i { color: var(--brass-text); margin-top: 4px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--text-3); font-size: 0.85rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 14px;
  border-radius: 999px; background: #25d366; color: #06290f; font-weight: 700; font-family: var(--font-display);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float i { font-size: 1.5rem; }
.wa-float span { display: none; }
@media (min-width: 768px) { .wa-float span { display: inline; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bento-item img, .masonry img, .btn, .wa-float { transition: none; }
}

/* Light theme: text that sits on photos */
.page-hero .lead { color: rgba(246, 243, 236, 0.85); }
.hero .btn-ghost, .page-hero .btn-ghost { color: var(--on-photo); border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { color: var(--brass-2); border-color: var(--brass-2); }
.page-hero { border-bottom: 0; }
.site-footer { background: #fff; }

/* SEO pages: FAQ, breadcrumb, product detail */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brass-text); flex: none; transition: transform 0.25s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); font-size: 0.97rem; max-width: 65ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--text-3); margin-bottom: 28px; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--brass-text); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
.product-detail { padding-top: 40px; }
.pd-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pd-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-uses { display: grid; gap: 8px; margin-top: 12px; }
.pd-uses li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.pd-uses li i { color: var(--brass-text); margin-top: 5px; }
.product-detail .tag, .product-body .tag { font-size: 0.78rem; font-weight: 700; color: var(--brass-text); letter-spacing: 0.02em; }
.product-body h3 a:hover { color: var(--brass-text); }
.product-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.product-links a { font-weight: 700; font-size: 0.9rem; color: var(--brass-text); display: inline-flex; align-items: center; gap: 6px; }
.product-links a + a { color: var(--text-2); }
@media (min-width: 1024px) { .catalog.catalog-3 { grid-template-columns: repeat(3, 1fr); } }
