:root {
  --black: #111111;
  --white: #ffffff;
  --off-white: #f7f7f4;
  --gold: #c9a227;
  --gold-dark: #a8861f;
  --text: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #e5e5e5;
  --max-width: 720px;
  --header-height: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--off-white);
  position: relative;
  min-height: 100vh;
}

body.page-home {
  background-color: var(--off-white);
}

.home-main {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.home-logo {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: min(115vw, 680px);
  height: min(115vw, 720px);
  background: url('/images/bldlne-logo.png') center center / contain no-repeat;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.home-content {
  position: relative;
  z-index: 1;
}

.page-home .hero,
.page-home .transparency-card,
.page-home .card {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.page-home .card:hover {
  background: rgba(255, 255, 255, 0.4);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.brand:hover {
  color: var(--gold);
}

.brand__wordmark {
  display: block;
  width: 148px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.page-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--black);
}

.page-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

section {
  margin-bottom: 28px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--black);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}

p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

p.emphasis {
  font-weight: 600;
  color: var(--text);
}

ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
}

.email-link {
  font-weight: 600;
  word-break: break-all;
}

.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.card h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
  font-size: 1.05rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.hero {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.hero__wordmark {
  display: block;
  width: min(200px, 72vw);
  height: auto;
  aspect-ratio: 340 / 69;
  object-fit: contain;
  margin: 0 auto 20px;
}

.transparency-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.transparency-card__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}

.transparency-section + .transparency-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.transparency-section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
}

.transparency-section p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--black);
  color: var(--text-muted);
  margin-top: 24px;
  padding: 24px 20px;
  font-size: 0.875rem;
  text-align: center;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.site-footer__copyright {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .home-logo {
    width: min(130vw, 520px);
    height: min(130vw, 560px);
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
  }

  .brand__wordmark {
    width: 120px;
    height: 24px;
  }
}
