/* ============================================================
   DXR HOLDINGS LLC — css/style.css
   Dark warm charcoal theme with deep apricot-gold accents.
   ============================================================ */

:root {
  --charcoal: #141210;
  --panel: #221D16;
  --ivory: #F6F1E8;
  --gold: #C79A3B;
  --pale-gold: #E9D5A8;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory);
  background-color: var(--charcoal);
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--pale-gold); }

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ivory);
  font-weight: 700;
}

/* ---------- Bond navigation ---------- */

.bond-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #141210;
  border-bottom: 1px solid #C79A3B;
  transition: box-shadow 0.3s ease;
}
.bond-nav.nav-scrolled { box-shadow: 0 12px 28px #000000; }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-glyph {
  width: 14px;
  height: 14px;
  background-color: #C79A3B;
  flex: 0 0 14px;
}
.brand-text { display: block; }
.brand-wordmark {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #F6F1E8;
  line-height: 1;
}
.brand-caption {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #C79A3B;
  text-transform: uppercase;
  margin-top: 4px;
}

.bond-links { display: flex; gap: 12px; align-items: center; }

.bond-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  background-color: #221D16;
  border: 1px solid #C79A3B;
  color: #F6F1E8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
}
.bond-link::before,
.bond-link::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 4px;
  height: 1px;
  background-color: #C79A3B;
}
.bond-link::before { left: 3px; }
.bond-link::after { right: 3px; }
.bond-link:hover { color: #E9D5A8; }
.bond-link.active {
  background-color: #C79A3B;
  color: #141210;
}
.bond-link.active::before,
.bond-link.active::after { background-color: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: #221D16;
  border: 1px solid #C79A3B;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background-color: #E9D5A8;
}

/* ---------- Chart hero ---------- */

.chart-hero {
  background-color: #141210;
  padding: 96px 24px 0;
}
.hero-content { max-width: 1200px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background-color: #C79A3B;
  color: #141210;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.chart-hero h1 {
  font-size: 54px;
  line-height: 1.12;
  margin: 28px 0 20px;
  max-width: 820px;
}
.hero-subcopy {
  font-size: 18px;
  max-width: 660px;
  color: #F6F1E8;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { background-color: #C79A3B; color: #141210; }
.btn-gold:hover { background-color: #E9D5A8; color: #141210; }
.btn-outline { background-color: transparent; color: #E9D5A8; border-color: #C79A3B; }
.btn-outline:hover { background-color: #221D16; color: #F6F1E8; }

.chart-graphic { max-width: 1200px; margin: 72px auto 0; padding-bottom: 96px; }
.chart-track { position: relative; height: 150px; }
.chart-bar { position: absolute; left: 0; height: 8px; background-color: #C79A3B; }
.chart-bar.b1 { top: 130px; width: 22%; }
.chart-bar.b2 { top: 100px; width: 46%; }
.chart-bar.b3 { top: 70px; width: 74%; }
.chart-bar.b4 { top: 40px; width: 100%; }
.chart-dot {
  position: absolute;
  top: 27px;
  left: calc(100% - 11px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #C79A3B;
}
.chart-baseline { position: relative; height: 1px; background-color: #C79A3B; }
.axis-tick {
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background-color: #C79A3B;
}
.axis-tick.t1 { left: 25%; }
.axis-tick.t2 { left: 72%; }
.chart-captions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #E9D5A8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Shared section scaffolding ---------- */

.section-block { padding: 88px 24px; }

.section-head { max-width: 1200px; margin: 0 auto 44px; }
.eyebrow {
  color: #E9D5A8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 40px;
  line-height: 1.2;
  margin: 12px 0 0;
  max-width: 760px;
}
.section-lead { color: #F6F1E8; max-width: 720px; margin: 18px 0 0; }

/* ---------- Asset rows ---------- */

.asset-rows-inner { max-width: 1200px; margin: 0 auto; }
.asset-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 38px 0;
  border-top: 1px solid #C79A3B;
}
.asset-row:first-of-type { border-top: 0; }
.bond-rect {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-color: #C79A3B;
  margin-top: 6px;
}
.bond-rect::before,
.bond-rect::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1px;
  background-color: #141210;
}
.bond-rect::before { top: 3px; left: 3px; }
.bond-rect::after { bottom: 3px; right: 3px; }
.asset-text { flex: 1 1 auto; }
.asset-text h3 { font-size: 24px; margin: 0 0 10px; }
.asset-text p { margin: 0; color: #F6F1E8; max-width: 860px; }
.asset-chip {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 6px;
  background-color: #C79A3B;
  color: #141210;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
}

/* ---------- Allocation rows ---------- */

.allocation-inner { max-width: 1200px; margin: 0 auto; }
.allocation-row {
  display: grid;
  grid-template-columns: 180px 1fr 300px 80px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid #C79A3B;
}
.allocation-row:first-of-type { border-top: 0; }
.allocation-label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F6F1E8;
}
.allocation-track {
  position: relative;
  height: 18px;
  background-color: #221D16;
  border: 1px solid #C79A3B;
}
.allocation-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #C79A3B;
}
.allocation-note { margin: 0; font-size: 14px; color: #E9D5A8; }
.allocation-percent {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: #C79A3B;
}

/* ---------- Value rows ---------- */

.value-inner { max-width: 1200px; margin: 0 auto; }
.value-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 38px 0;
  border-top: 1px solid #C79A3B;
}
.value-row:first-of-type { border-top: 0; }
.value-num {
  flex: 0 0 72px;
  font-family: var(--font-head);
  font-size: 36px;
  line-height: 1;
  color: #E9D5A8;
}
.value-text { flex: 1 1 auto; }
.value-text h3 { font-size: 24px; margin: 0 0 10px; }
.value-text p { margin: 0; color: #F6F1E8; max-width: 860px; }
.value-chip {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 6px;
  background-color: #C79A3B;
  color: #141210;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
}

/* ---------- Homepage CTA band ---------- */

.home-cta {
  text-align: center;
  padding: 96px 24px;
  border-top: 1px solid #C79A3B;
  background-color: #141210;
}
.home-cta h2 { font-size: 38px; margin: 0; }
.home-cta p { max-width: 680px; margin: 18px auto 30px; color: #F6F1E8; }

/* ---------- Bond footer ---------- */

.bond-footer {
  background-color: #141210;
  border-top: 1px solid #C79A3B;
  padding: 56px 24px 30px;
}
.footer-row-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a {
  color: #F6F1E8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a:hover { color: #E9D5A8; }
.footer-contact { margin: 0; color: #E9D5A8; font-size: 14px; }
.footer-row-2 {
  max-width: 1200px;
  margin: 40px auto 0;
  border-top: 1px solid #C79A3B;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-bond-rect {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background-color: #C79A3B;
}
.footer-legal {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 13px;
  color: #F6F1E8;
}
.footer-legal a { color: #E9D5A8; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- Services page ---------- */

.services-hero {
  background-color: #141210;
  padding: 88px 24px 72px;
}
.services-hero .inner { max-width: 1200px; margin: 0 auto; }
.services-hero h1 { font-size: 46px; margin: 16px 0 18px; max-width: 800px; }
.services-hero p { max-width: 720px; color: #F6F1E8; margin: 0; }

.service-section { padding: 72px 24px; border-top: 1px solid #C79A3B; background-color: #141210; }
.service-section .inner { max-width: 1200px; margin: 0 auto; }
.service-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.service-num {
  font-family: var(--font-head);
  font-size: 22px;
  color: #E9D5A8;
}
.service-section h2 { font-size: 30px; margin: 0; }
.service-section p { color: #F6F1E8; max-width: 920px; margin: 0 0 14px; }

.process-overview { padding: 72px 24px; border-top: 1px solid #C79A3B; background-color: #141210; }
.process-overview .inner { max-width: 1200px; margin: 0 auto; }
.process-overview h2 { font-size: 32px; margin: 0 0 32px; }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { background-color: #221D16; border: 1px solid #C79A3B; padding: 24px; }
.process-step-num { display: block; font-family: var(--font-head); font-size: 26px; color: #C79A3B; margin-bottom: 10px; }
.process-step h3 { font-size: 18px; margin: 0 0 8px; }
.process-step p { margin: 0; font-size: 14px; color: #E9D5A8; }

.cta-band {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid #C79A3B;
  background-color: #141210;
}
.cta-band h2 { font-size: 34px; margin: 0; }
.cta-band p { max-width: 640px; margin: 16px auto 28px; color: #F6F1E8; }

/* ---------- Contact page ---------- */

.contact-hero { background-color: #141210; padding: 88px 24px 60px; }
.contact-hero .inner { max-width: 1200px; margin: 0 auto; }
.contact-hero h1 { font-size: 46px; margin: 16px 0 18px; }
.contact-hero p { max-width: 720px; color: #F6F1E8; margin: 0; }

.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form label {
  display: block;
  font-weight: 700;
  color: #F6F1E8;
  margin: 0 0 6px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  background-color: #221D16;
  border: 1px solid #C79A3B;
  color: #F6F1E8;
  font-size: 16px;
  font-family: var(--font-body);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  padding: 14px 30px;
  background-color: #C79A3B;
  color: #141210;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-status { display: none; margin-top: 16px; font-weight: 600; color: #E9D5A8; }
.form-status.ok { display: block; }

.contact-details h2 { font-size: 26px; margin: 0 0 20px; }
.contact-detail { margin-bottom: 24px; }
.contact-detail h3 { font-size: 16px; margin: 0 0 6px; color: #E9D5A8; }
.contact-detail p { margin: 0; color: #F6F1E8; }

.faq-section { padding-bottom: 80px; }
.faq-section h2 { font-size: 30px; margin: 0 0 24px; }
.faq-item { background-color: #221D16; border: 1px solid #C79A3B; margin-bottom: 14px; }
.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  color: #E9D5A8;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.faq-answer { display: none; padding: 0 22px 20px; color: #F6F1E8; }
.faq-answer p { margin: 0; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .allocation-row { grid-template-columns: 150px 1fr 80px; }
  .allocation-note { grid-column: 2 / 4; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .bond-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #141210;
    border-top: 1px solid #C79A3B;
    border-bottom: 1px solid #C79A3B;
    padding: 18px 24px 24px;
  }
  .bond-nav.nav-open .bond-links { display: flex; }
  .bond-link { text-align: center; width: 100%; }
  .chart-hero h1 { font-size: 40px; }
  .section-head h2 { font-size: 32px; }
  .allocation-row { grid-template-columns: 1fr; gap: 10px; }
  .allocation-percent { text-align: left; }
  .value-num { flex-basis: 48px; }
}

@media (max-width: 620px) {
  .chart-hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .asset-row { flex-wrap: wrap; }
  .asset-chip { margin-left: 48px; }
  .value-row { flex-wrap: wrap; }
  .value-chip { margin-left: 98px; }
  .process-row { grid-template-columns: 1fr; }
  .section-block { padding: 64px 20px; }
  .chart-graphic { padding-bottom: 64px; }
  .footer-row-2 { flex-wrap: wrap; }
  .services-hero h1, .contact-hero h1 { font-size: 34px; }
}
