/* GEMILANG JAM — ARCHETYPE: THE PINNED POSTER (PRECISION HOROLOGY) */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b1118;
  --surface: #131c26;
  --surface-alt: #1c2735;
  --azure: #4f759b;
  --brass: #d4b06a;
  --text: #f3f1ec;
  --muted: #9ea6b0;
  --font-display: 'Big Shoulders Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1240px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1, h2, h3, .brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
  max-width: 24ch;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 1.25rem 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-badge {
  font-size: 0.75rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* BUTTONS — PINNED POSTER GEOMETRY */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
  border: none;
}

.btn:hover {
  opacity: 0.9;
}

.btn-azure {
  background: var(--azure);
  color: var(--text);
}

.btn-brass {
  background: var(--brass);
  color: #0b1118;
}

.btn-outline {
  background: var(--surface-alt);
  color: var(--text);
}

/* HERO SECTION — THE PINNED POSTER ARCHETYPE */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.spec-strip {
  background: var(--surface);
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--brass);
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.spec-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.hero-media {
  position: relative;
}

.media-poster {
  background: var(--surface);
  overflow: hidden;
}

.media-poster img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* SECTION COMMON */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  margin-bottom: 3rem;
}

.section-lead {
  font-size: 1.15rem;
  max-width: 60ch;
}

/* THE LIVE THING: ESTIMATOR AKURASI & SIKLUS OVERHAUL */
.calc-card {
  background: var(--surface);
  padding: 2.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid #2d3e52; /* taste-skill-ignore: data-ui form input */
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.calc-select:focus, .calc-input:focus {
  outline: 2px solid var(--brass);
}

.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.calc-slider {
  flex: 1;
  accent-color: var(--brass);
}

.calc-num {
  width: 100px;
  text-align: right;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid #2d3e52; /* taste-skill-ignore: data-ui form input */
  color: var(--brass);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.calc-result-box {
  background: var(--bg);
  padding: 2rem;
  border-left: 4px solid var(--azure);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-metric {
  margin-bottom: 1.5rem;
}

.metric-title {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
  color: var(--brass);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.metric-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* SPECIMEN & HOROLOGY ARCHIVES */
.specimen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.specimen-card {
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.specimen-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.specimen-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  background: var(--surface-alt);
  padding: 0.75rem 1rem;
}

.specimen-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brass);
}

/* HOROLOGY SERVICE STEPS / LEDGER */
.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ledger-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.75rem 2rem;
  background: var(--surface-alt);
}

.ledger-badge {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--azure);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ledger-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* FAQ SPLIT */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  background: var(--surface);
  padding: 1.75rem;
  border-left: 3px solid var(--azure);
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

/* FOOTER */
.site-footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 2rem;
  background: var(--surface-alt);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* MOBILE NAV & TOGGLE */
.menu-btn {
  display: none;
  background: var(--surface-alt);
  border: none;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .media-poster img {
    height: 320px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .menu-btn {
    display: inline-block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 3px solid var(--brass);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}
