/* ═══════════════════════════════════════════════════════════════════════════
   Windows 98 Authentic Base Styles
   ═══════════════════════════════════════════════════════════════════════════ */

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "MS Sans Serif", "Segoe UI", Tahoma, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: #000;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

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

/* ── Win98 3D Borders ──────────────────────────────────────────────────── */

.w98-raised {
  box-shadow:
    inset -1px -1px 0 #000000,
    inset  1px  1px 0 #ffffff,
    inset -2px -2px 0 #808080,
    inset  2px  2px 0 #dfdfdf;
}

.w98-sunken {
  box-shadow:
    inset -1px -1px 0 #ffffff,
    inset  1px  1px 0 #808080,
    inset -2px -2px 0 #dfdfdf,
    inset  2px  2px 0 #404040;
}

.w98-raised-thin {
  box-shadow:
    inset -1px -1px 0 #808080,
    inset  1px  1px 0 #ffffff;
}

.w98-sunken-thin {
  box-shadow:
    inset -1px -1px 0 #ffffff,
    inset  1px  1px 0 #808080;
}

/* ── Win98 Button ──────────────────────────────────────────────────────── */

.w98-btn {
  background: #c0c0c0;
  border: none;
  padding: 3px 10px;
  font-family: inherit;
  font-size: inherit;
  cursor: default;
  min-height: 26px;
  box-shadow:
    inset -1px -1px 0 #000000,
    inset  1px  1px 0 #ffffff,
    inset -2px -2px 0 #808080,
    inset  2px  2px 0 #dfdfdf;
}

.w98-btn:active,
.w98-btn-pressed {
  box-shadow:
    inset -1px -1px 0 #ffffff,
    inset  1px  1px 0 #000000,
    inset -2px -2px 0 #dfdfdf,
    inset  2px  2px 0 #808080;
  padding: 4px 9px 2px 11px;
}

/* ── Win98 Title Bar Button ────────────────────────────────────────────── */

.w98-title-btn {
  width: 20px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c0c0c0;
  border: none;
  cursor: default;
  padding: 0;
  flex-shrink: 0;
  box-shadow:
    inset -1px -1px 0 #404040,
    inset  1px  1px 0 #ffffff,
    inset -2px -2px 0 #808080,
    inset  2px  2px 0 #dfdfdf;
}

.w98-title-btn:active {
  box-shadow:
    inset -1px -1px 0 #ffffff,
    inset  1px  1px 0 #404040;
  padding-top: 1px;
  padding-left: 1px;
}

/* ── Win98 Input Field ─────────────────────────────────────────────────── */

.w98-input {
  background: #ffffff;
  border: none;
  padding: 3px 6px;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  box-shadow:
    inset -1px -1px 0 #ffffff,
    inset  1px  1px 0 #808080,
    inset -2px -2px 0 #dfdfdf,
    inset  2px  2px 0 #404040;
}

/* ── Scrollbar ─────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: #c0c0c0; }
::-webkit-scrollbar-corner { background: #c0c0c0; }
::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  box-shadow:
    inset -1px -1px 0 #000000,
    inset  1px  1px 0 #ffffff,
    inset -2px -2px 0 #808080,
    inset  2px  2px 0 #dfdfdf;
}
::-webkit-scrollbar-button {
  background: #c0c0c0;
  width: 16px;
  height: 16px;
  display: block;
  box-shadow:
    inset -1px -1px 0 #000000,
    inset  1px  1px 0 #ffffff,
    inset -2px -2px 0 #808080,
    inset  2px  2px 0 #dfdfdf;
}

/* ── Selection ─────────────────────────────────────────────────────────── */

::selection {
  background: #000080;
  color: #ffffff;
}

/* ── Mobile ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }

  .w98-title-btn {
    width: 26px;
    height: 22px;
  }
}

/* -- Contact form -------------------------------------------------------- */

.contact-form { padding: 12px 16px; }
.contact-field { margin-bottom: 10px; }
.contact-field label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 2px; }
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 4px 6px;
  font-family: inherit;
  font-size: 13px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #fff;
}
.contact-field textarea { resize: vertical; min-height: 80px; }
.contact-submit {
  padding: 4px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.contact-status { margin-top: 8px; font-size: 12px; }
.contact-status.success { color: #008000; }
.contact-status.error { color: #c00; }
.contact-form .g-recaptcha { margin: 10px 0; }
