/* =========================================================
   Memorial Rose Garden Zenkouji - Reset CSS
   ---------------------------------------------------------
   Purpose:
   - Normalize default browser styles
   - Create a stable base for wireframe implementation
   ========================================================= */

/* Box model reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Margin and padding reset */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
figcaption,
blockquote,
pre,
table,
th,
td {
  margin: 0;
  padding: 0;
}

/* Base document settings */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

/* List reset */
ul,
ol {
  list-style: none;
}

/* Link reset (wireframe base) */
a {
  color: inherit;
  text-decoration: none;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Table reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Form element reset */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

/* Accessibility: reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
