:root {
  --container: 1100px;
  --pad: 16px;
  --r: 18px;
  --b: 1px solid rgba(0, 0, 0, .12)
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: var(--b);
  padding: 12px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0
}

.brand {
  font-weight: 800;
  text-decoration: none;
  color: inherit
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.nav__link {
  text-decoration: none;
  color: inherit;
  opacity: .85
}

.nav__link:hover {
  opacity: 1
}

.burger {
  display: none;
  align-items: center;
  gap: 6px;
  border: var(--b);
  background: #fff;
  border-radius: 999px;
  padding: 10px
}

.burger__line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 49
}

.mobile {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  border-left: var(--b);
  z-index: 50;
  padding: 12px
}

.mobile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 12px
}

.mobile__close {
  border: var(--b);
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1
}

.nav--mobile {
  flex-direction: column;
  gap: 10px
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0;
  border-top: var(--b);
  background: #fff
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px
}

.footer__bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--b);
  opacity: .75
}

@media (max-width:860px) {
  .nav--desktop {
    display: none
  }

  .burger {
    display: inline-flex
  }

  .footer__grid {
    grid-template-columns: 1fr
  }
}

/* Mobile adjustments: reduce footer logo and brand size */
@media (max-width: 860px) {
  footer svg {
    width: 18px !important;
    height: 18px !important;
  }

  .brand a,
  .brand span {
    font-size: 1rem !important;
    line-height: 1;
  }

  /* Reduce prominent footer headings (e.g. .text-2xl) on small screens */
  footer .text-2xl {
    font-size: 1rem !important;
  }
}

/* footer extras */
.footer__extras {
  margin-top: 16px;
}

.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.footer-social__icon {
  display: block;
}

.footer__poemWrap {
  max-width: 520px;
}

.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto
}

.brand-logo * {
  vector-effect: non-scaling-stroke
}

/* Header logo sizing adjustments */
header svg,
.brand-logo {
  width: 20px;
  height: 20px;
}

.brand {
  gap: 8px;
}

/* Utility color classes */
.bg-dark {
  background: #062f6d;
}

/* Text color utilities */
.text-dark {
  color: #050B14;
}

.text-\[\#050B14\] {
  color: #050B14;
}

/* Mobile modal panel sizing */
#mobile-modal {
  align-items: flex-end;
  justify-content: flex-start;
}

#mobile-modal .container {
  max-width: min(420px, 92vw);
  width: 100%;
  margin-left: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Gold color utilities and spacing helpers (named + original-tailwind-like selectors) */
/* Named class */
.bg-gold {
  background: #FFD700;
}

/* Support existing bracketed class names like bg-[#FFD700] and hover:bg-[#FFD700] */
.bg-\[\#FFD700\] {
  background: #FFD700;
}

.hover\:bg-\[\#FFD700\]:hover,
.hover\:bg-gold:hover {
  background: #FFD700;
}

/* Padding helpers (match Tailwind scale: 1 = 0.25rem) */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

button {
  text-align: center;
}

.pt-16 {
  padding-top: 56px;
}

.pb-8 {
  padding-bottom: 8px;
}

.gap-3 {
  gap: 12px;
}

nav {
  padding-top: 30px;
  padding-bottom: 30px;
}

.spacing-tenpt {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Extra small screens: further reduce footer logo & brand */
@media (max-width: 460px) {

  footer .brand-logo,
  footer svg {
    width: 16px !important;
    height: 16px !important;
  }

  footer .brand {
    gap: 6px;
  }

  footer .brand a,
  footer .brand span {
    font-size: 0.95rem !important;
  }

  footer .text-2xl {
    font-size: 0.95rem !important;
  }
}

/* Button and utility classes requested */
.btn,
a.btn,
button.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  font-weight: 600;
}

.btn-gold,
a.btn-gold,
button.btn-gold,
.btn.btn-gold {
  background: #FFD700 !important;
  color: #050B14 !important;
  font-weight: 700;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.25rem !important;
  border: none;
}

.px-10 {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.card-lg {
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.10);
  overflow: hidden;
  background: inherit;
}

.text-lg {
  font-size: 1.125rem !important;
  line-height: 1.5 !important;
}

.uppercase {
  text-transform: uppercase;
}

.text-gold {
  color: #FFD700;
}
