/* =========================================================
   maapcrewactive.web.id
   Mengikuti gaya situs utama: kertas terang, tinta navy,
   biru logo sebagai aksen, garis tegas, tanpa gradient & glow.
   ========================================================= */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); }

:root {
  --bg: #f3f1ec;
  --surface: #fbfaf7;
  --border: #cfc8ba;
  --ink: #0b1f3a;
  --muted: #3b4a60;
  --brand: #0754a5;
  --brand-soft: #d3e2f4;

  --radius: 6px;
  --shadow: 4px 4px 0 var(--ink);
  --container: 1200px;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.35rem; font-weight: 700; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.topbar { border-bottom: 1.5px solid var(--ink); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }

.hero { padding: clamp(64px, 12vw, 140px) 0; }
.hero--center { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.hero--center .actions { justify-content: center; }
.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }

.section { padding: 0 0 clamp(64px, 10vw, 120px); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }

/* Halaman pengumuman pindah alamat */
.page-notice { min-height: 100vh; display: flex; flex-direction: column; }
.notice { flex: 1; display: grid; place-items: center; padding: clamp(48px, 10vw, 112px) 0; }
.notice__card { max-width: 760px; margin-inline: auto; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: clamp(24px, 5vw, 48px); }
.notice__card h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
.notice__card .lead { margin-bottom: 1.75rem; }
.notice__card strong { color: var(--ink); }

.move { display: flex; align-items: stretch; gap: 12px; margin: 0 0 2rem; }
.move__item { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.move__item--new { border-color: var(--brand); background: var(--brand-soft); }
.move__label { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.move__url { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.move__item--old .move__url { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.move__item--new .move__url { color: var(--brand); }
.move__arrow { align-self: center; font-family: var(--font-mono); font-size: 1.5rem; color: var(--ink); }

.redirect { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1.5px dashed var(--border); font-size: .95rem; color: var(--muted); }
.redirect[hidden] { display: none; }
.redirect strong { font-family: var(--font-mono); color: var(--ink); }
.redirect__cancel { font: inherit; font-weight: 600; color: var(--brand); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.redirect__cancel:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }

@media (max-width: 560px) {
  .move { flex-direction: column; }
  .move__arrow { transform: rotate(90deg); }
  .notice__card .actions .btn { flex: 1 1 100%; justify-content: center; }
}

.footer { border-top: 1.5px solid var(--ink); padding: 24px 0; font-size: .9rem; color: var(--muted); }
.footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
