/* ============================================================
   PT. Putra Bulian Properti — Corporate Microsite
   Built: 2026-05-05  ·  Editorial / institutional aesthetic
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--fg-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 720px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin: 0 0 16px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1.5px;
  background: var(--brand-red);
  transform: translateY(-50%);
}
.eyebrow-amber { color: var(--brand-amber-deep); }
.eyebrow-amber::before { background: var(--brand-amber-deep); }
.eyebrow-blue { color: var(--brand-blue); }
.eyebrow-blue::before { background: var(--brand-blue); }
.eyebrow-on-ink { color: var(--brand-amber); }
.eyebrow-on-ink::before { background: var(--brand-amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-15);
  letter-spacing: 0.005em;
  border-radius: 4px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-red);
  color: var(--fg-on-red);
}
.btn-primary:hover { background: var(--brand-red-deep); }
.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-raised); border-color: var(--ink); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; }
@media (min-width: 720px) { .brand-logo { height: 40px; } }

.primary-nav {
  display: none;
  gap: 28px;
  font-size: var(--fs-15);
  font-weight: 500;
}
.primary-nav a {
  color: var(--fg-2);
  position: relative;
  padding: 6px 0;
  transition: color 140ms ease;
}
.primary-nav a:hover { color: var(--fg-1); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 960px) { .primary-nav { display: flex; } }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  transition: border-color 140ms ease;
}
.lang-toggle:hover { border-color: var(--ink); }
.lang { transition: color 140ms ease; }
.lang.active { color: var(--fg-1); font-weight: 700; }
.lang-sep { color: var(--fg-muted); }

/* Mobile burger */
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--fg-1);
}
@media (min-width: 960px) { .nav-burger { display: none; } }

/* Mobile nav drawer */
.mobile-nav-open .primary-nav {
  display: flex;
  position: absolute;
  top: 72px;
  left: 0; right: 0;
  flex-direction: column;
  gap: 0;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.12);
}
.mobile-nav-open .primary-nav a {
  padding: 16px 24px;
  font-size: var(--fs-16);
  border-bottom: 1px solid var(--line);
}
.mobile-nav-open .primary-nav a:last-child { border-bottom: 0; }
.mobile-nav-open .primary-nav a::after { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--paper);
  padding: 80px 0 96px;
}
@media (min-width: 720px) { .hero { padding: 112px 0 128px; } }
@media (min-width: 1200px) { .hero { padding: 144px 0 168px; } }

.hero-inner { max-width: 980px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 32px;
}
.hero-line-1 { display: block; }
.hero-line-2 {
  display: block;
  color: var(--brand-red);
}
@media (min-width: 720px) { .hero-title { margin-bottom: 40px; } }

.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--line) 0%, var(--line-strong) 50%, var(--line) 100%);
}

/* ============================================================
   SECTIONS — paper / sunk / ink rhythm
   ============================================================ */
.section {
  padding: 80px 0;
}
@media (min-width: 720px) { .section { padding: 104px 0; } }
@media (min-width: 1200px) { .section { padding: 128px 0; } }

.section-paper { background: var(--paper); }
.section-sunk  { background: var(--paper-sunk); }
.section-ink   { background: var(--ink); color: var(--fg-inverted); }

.section-head { max-width: 920px; margin-bottom: 56px; }
@media (min-width: 720px) { .section-head { margin-bottom: 72px; } }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 20px;
  max-width: 26ch;
}
.section-title.on-ink { color: var(--paper); }

.section-lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 68ch;
  margin: 0;
}

/* ============================================================
   TENTANG KAMI
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 72px;
    align-items: start;
  }
}
.about-prose p {
  font-size: var(--fs-18);
  line-height: 1.65;
  color: var(--fg-2);
  margin-bottom: 1.2em;
  max-width: 60ch;
}
.about-prose p:last-child { margin-bottom: 0; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 0;
  padding: 32px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.about-facts .fact { margin: 0; }
.about-facts dt {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.about-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--fg-1);
  letter-spacing: -0.005em;
}
.about-facts dd.mono { font-family: var(--font-mono); font-size: var(--fs-15); font-weight: 500; }

/* Visi/Misi */
.visi-misi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
@media (min-width: 960px) {
  .visi-misi { grid-template-columns: 1fr 1.3fr; gap: 72px; }
}
.vm-text {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: 1.55;
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 50ch;
  margin: 0;
}
.vm-list {
  counter-reset: misi;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vm-list li {
  counter-increment: misi;
  position: relative;
  padding-left: 56px;
  font-size: var(--fs-18);
  line-height: 1.55;
  color: var(--fg-1);
  max-width: 60ch;
}
.vm-list li::before {
  content: "0" counter(misi);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-amber-deep);
  letter-spacing: 0.04em;
}

/* ============================================================
   PROYEK UNGGULAN
   ============================================================ */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 72px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .specs-grid { grid-template-columns: repeat(4, 1fr); } }

.spec {
  background: var(--paper-raised);
  padding: 32px 24px;
}
@media (min-width: 720px) { .spec { padding: 36px 28px; } }

.spec-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.spec-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.spec-unit {
  font-size: 0.42em;
  font-weight: 500;
  color: var(--fg-2);
  margin-left: 4px;
  letter-spacing: 0;
}
.spec-caption {
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--fg-3);
  margin: 0;
}

/* Phase timeline */
.phase-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 720px) { .phase-timeline { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.phase-item {
  background: var(--paper-raised);
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.phase-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: var(--danger-bg);
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.phase-meta {
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.phase-title {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--fg-1);
  margin: 0 0 8px;
}
.phase-status {
  font-size: var(--fs-15);
  color: var(--fg-2);
  margin: 0;
}

.permits-line {
  padding: 24px 28px;
  background: var(--paper-raised);
  border-left: 3px solid var(--brand-amber);
  border-radius: 2px;
}
.permits-text {
  margin: 0;
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 76ch;
}

/* ============================================================
   TATA KELOLA
   ============================================================ */
.boards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 960px) { .boards { grid-template-columns: 1fr 1fr; gap: 64px; } }

.board {}
.board-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.board-member {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.member-name {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.member-role {
  font-size: var(--fs-14);
  color: var(--fg-2);
}
.member-role.muted {
  color: var(--fg-3);
  font-style: italic;
}
.board-member.tbd .member-name { color: var(--fg-2); font-weight: 500; }

@media (min-width: 720px) {
  .board-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: baseline;
    gap: 24px;
  }
}

/* ============================================================
   KONTAK (ink section)
   ============================================================ */
.section-ink .section-lede,
.section-ink .contact-lede {
  color: rgba(253, 251, 246, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}

.contact-lead .section-title {
  margin-bottom: 24px;
  max-width: 22ch;
}
.contact-lede {
  font-size: var(--fs-18);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0;
}

.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--line-inverted);
  border-radius: 4px;
  padding: 32px;
}
.contact-row { padding: 20px 0; border-bottom: 1px solid var(--line-inverted); }
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { padding-bottom: 0; border-bottom: 0; }

.contact-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-amber);
  margin: 0 0 10px;
}
.contact-value {
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--paper);
  margin: 0;
}
.contact-link {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid rgba(253, 251, 246, 0.28);
  padding-bottom: 2px;
  transition: color 140ms ease, border-color 140ms ease;
}
.contact-link:hover { color: var(--brand-amber); border-color: var(--brand-amber); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--paper-sunk);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; align-items: center; gap: 32px; }
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 32px; width: auto; }
.footer-tagline {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--fg-2);
  font-style: italic;
  max-width: 36ch;
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-3);
  text-align: left;
}
@media (min-width: 720px) { .footer-meta { text-align: right; } }
.footer-meta p { margin: 0; line-height: 1.6; }

/* ============================================================
   Small refinements
   ============================================================ */
::selection { background: var(--brand-amber); color: var(--ink); }

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