/* Dusk Dream - shared stylesheet. Static, no external resources, no animation. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #1b1526;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #f5efe6;
  background-color: #1b1526;
  background-image: linear-gradient(
    to bottom,
    #1b1526 0%,
    #2e1f3a 42%,
    #5a3550 80%,
    #8c4a4a 100%
  );
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: #e8b27a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid #e8b27a;
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 14px;
  background: #1b1526;
  color: #f5efe6;
  z-index: 10;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* Layout ------------------------------------------------------------ */

.site-header,
main,
.site-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5efe6;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand .logo {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: #c9bfd2;
  font-size: 15px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"] {
  color: #f5efe6;
  border-bottom-color: #e8b27a;
}

main {
  flex: 1 0 auto;
  padding-top: 28px;
  padding-bottom: 48px;
}

/* Cards ------------------------------------------------------------- */

.card {
  background: rgba(27, 21, 38, 0.84);
  border: 1px solid rgba(232, 178, 122, 0.16);
  border-radius: 12px;
  padding: 28px 30px;
  margin: 0 0 20px;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  font-weight: 600;
  color: #f5efe6;
}

h1 {
  font-size: 32px;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  margin: 30px 0 10px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}

p {
  margin: 0 0 14px;
}

.muted {
  color: #c9bfd2;
}

ul.plain,
ol.plain {
  margin: 0 0 14px;
  padding-left: 22px;
}

ul.plain li,
ol.plain li {
  margin-bottom: 6px;
}

.lead {
  font-size: 20px;
  color: #c9bfd2;
}

/* Home: dusk skyline band (inline SVG, decorative, sits behind text) -- */

.skyline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.skyline svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-main {
  padding-top: 120px;
}

/* Footer ------------------------------------------------------------ */

.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(27, 21, 38, 0.82);
  border-top: 1px solid rgba(232, 178, 122, 0.55);
  color: #c9bfd2;
  font-size: 15px;
  text-align: center;
}

.site-footer-inner {
  padding-top: 24px;
  padding-bottom: 26px;
}

.site-footer p,
.site-footer address {
  margin: 0 0 4px;
  font-style: normal;
  line-height: 1.6;
}

.site-footer .footer-name {
  color: #f5efe6;
  font-weight: 600;
}

/* Small screens ----------------------------------------------------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 20px;
  }

  .card {
    padding: 22px 20px;
  }

  .lead {
    font-size: 18px;
  }

  .home-main {
    padding-top: 110px;
  }
}

/* Motion: nothing in this stylesheet animates. The block below keeps any
   future transition or animation disabled for users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
