:root {
  --black: #111111;
  --white: #ffffff;
  --off-white: #f7f7f4;
  --gold: #c9a227;
  --gold-dark: #a8861f;
  --gold-light: #e8d06a;
  --gold-gradient: linear-gradient(135deg, #f0dc7a 0%, #d4af37 38%, #c9a227 62%, #8f7018 100%);
  --text: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #e5e5e5;
  --max-width: 720px;
  --header-height: 64px;
  --box-radius: 14px;
}

*,
*::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:not(.page-home)::before {
  content: '';
  position: fixed;
  left: 50%;
  top: 50%;
  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;
}

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

.page-home .home-logo {
  position: fixed;
  left: max(8px, calc(50% - (var(--max-width) / 2) - min(46vw, 540px) - 24px));
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 540px);
  height: min(96vh, 900px);
  background: url('/images/bldlne-logo.png') center center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

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

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

.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);
}

.site-nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: #e8d06a;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__cta:hover {
  color: var(--black);
  background: var(--gold-light);
  border-color: var(--gold);
}

.site-nav__cta--primary {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: transparent;
}

.site-nav__cta--primary:hover {
  color: var(--black);
  filter: brightness(1.05);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    var(--gold-gradient) border-box;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-btn:hover {
  filter: brightness(1.03);
}

.hero-btn--primary {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--black);
}

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 {
  border: 2px solid transparent;
  border-radius: var(--box-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    var(--gold-gradient) border-box;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.14);
  transform: translateY(-1px);
}

.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 {
  border: 2px solid transparent;
  border-radius: var(--box-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    var(--gold-gradient) border-box;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

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

.transparency-card {
  border: 2px solid transparent;
  border-radius: var(--box-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    var(--gold-gradient) border-box;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.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) {
  body:not(.page-home)::before {
    width: min(130vw, 520px);
    height: min(130vw, 560px);
    opacity: 0.2;
  }

  .page-home .home-logo {
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(92vw, 480px);
    height: min(72vh, 560px);
    opacity: 0.16;
  }
}

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

  .site-nav {
    width: 100%;
  }

  .site-nav-actions {
    width: 100%;
    margin-left: 0;
  }

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