/* ============================================================
   AL AKBAR — Modern CSS Reset
   Based on Andy Bell's modern reset + Josh Comeau's custom reset.
   ============================================================ */

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

/* Remove default margin & padding */
* {
  margin: 0;
  padding: 0;
}

/* Prevent font-size inflation on mobile */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

/* Core body defaults */
body {
  min-height: 100vh;
  line-height: var(--leading-normal, 1.6);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove list styles */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Headings and interactive elements get their line-height from typography */
h1, h2, h3, h4,
button, input, label {
  line-height: var(--leading-snug, 1.3);
}

/* Balance headings */
h1, h2, h3, h4 {
  text-wrap: balance;
}

/* Body text: nice readable wrapping */
p, li, figcaption {
  text-wrap: pretty;
  max-inline-size: 75ch;
}

/* Anchor defaults */
a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

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

/* Inherit fonts on form controls */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* Textarea default */
textarea:not([rows]) {
  min-height: 10em;
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-gold, #C2954A);
  outline-offset: 3px;
}

/* Remove all animations and transitions for people who prefer not to see them */
@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;
  }
}
