/* ============================================================
   BDENNIS ENTERPRISES INC. — meridian design system
   Palette: deep ink / soft white / coral + steel ice
   All text uses solid colors — no transparency.
   ============================================================ */

:root {
  --bg: #0b0f14;
  --bg-2: #0e141c;
  --panel: #121926;
  --panel-2: #161f2e;
  --ink: #eef1f6;
  --muted: #9aa5b6;
  --faint: #64707f;
  --accent: #ff6b4a;
  --accent-deep: #e0512f;
  --accent-ink: #1d0c06;
  --ice: #8cc3de;
  --line: #212b3a;
  --line-soft: #182130;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ================= NAV DOCK ================= */
.navdock {
  position: sticky;
  top: 16px;
  z-index: 200;
  margin: 16px auto 0;
  max-width: var(--wrap);
  padding: 0 32px;
}
.navdock-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 60px;
  padding: 12px 12px 12px 26px;
}
.dock-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.dock-brand .dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.dock-brand small { display: block; font-size: 9.5px; letter-spacing: .2em; color: var(--faint); font-weight: 600; }
.dock-links { display: flex; gap: 28px; }
.dock-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 6px 0;
}
.dock-links a:hover { color: var(--ink); }
.dock-links a.on { color: var(--accent); }
.dock-cta {
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 12px 22px;
  border-radius: 40px;
}
.dock-cta:hover { background: var(--accent-deep); }
.dock-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.dock-toggle span { width: 16px; height: 2px; background: var(--ink); display: block; }

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 110px 0 0;
  overflow: hidden;
}
.hero-meridians {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, var(--bg-2) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent 0, transparent 118px, var(--line-soft) 118px, var(--line-soft) 119px);
  pointer-events: none;
}
.hero-center { position: relative; text-align: center; padding: 60px 32px 90px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 34px;
}
.kicker::before, .kicker::after {
  content: "";
  width: 30px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-lede {
  margin: 34px auto 0;
  max-width: 600px;
  font-size: 18.5px;
  color: var(--muted);
}
.hero-cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* rotating badge */
.badge-wrap { position: relative; height: 0; }
.badge {
  position: absolute;
  right: 8%;
  top: -60px;
  width: 150px; height: 150px;
  animation: spin 24s linear infinite;
}
.badge text {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .24em;
  fill: var(--muted);
}
.badge .core { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 17px 32px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-deep); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; transform: translateY(-2px); }

/* ================= CHAPTERS ================= */
.chapter { padding: 96px 0; border-top: 1px solid var(--line); position: relative; }
.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 58px;
}
.chapter-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
}
.chapter-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.chapter-head h2 em { color: var(--accent); font-style: italic; }
.chapter-head .sub {
  margin-left: auto;
  max-width: 340px;
  color: var(--muted);
  font-size: 14.5px;
  align-self: center;
}

/* ================= SERVICE PANELS ================= */
.panels { display: grid; gap: 20px; }
.panel {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 48px;
  align-items: center;
  transition: border-color .25s ease, transform .25s ease;
}
.panel:hover { border-color: var(--accent); transform: translateY(-3px); }
.panel .orb {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--accent);
}
.panel h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 12px; line-height: 1.15; }
.panel .cnt {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ice);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.panel p { color: var(--muted); font-size: 14.5px; }
.panel .go {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ================= QUOTE BAND ================= */
.quoteband {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 80px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quoteband::before {
  content: "\201C";
  position: absolute;
  top: -30px; left: 40px;
  font-family: var(--serif);
  font-size: 220px;
  color: var(--line);
  line-height: 1;
}
.quoteband blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.3;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.quoteband blockquote b { color: var(--accent); font-weight: 500; }
.quoteband cite {
  display: block;
  margin-top: 34px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}

/* ================= STAT RING ROW ================= */
.statring { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ring {
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--accent);
  transform: rotate(-35deg);
}
.ring b { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; }
.ring b i { color: var(--accent); font-style: normal; }
.ring span { margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ================= CARD GRID ================= */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ccard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 34px 42px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.ccard:hover { border-color: var(--accent); transform: translateY(-4px); }
.ccard .tag2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 20px;
}
.ccard h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.ccard p { color: var(--muted); font-size: 14.5px; flex: 1; }
.ccard .meta { margin-top: 26px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 700; }

/* ================= SPLIT ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.prose p { color: var(--muted); margin-bottom: 20px; font-size: 16px; }
.prose p strong { color: var(--ink); font-weight: 700; }

/* ================= FACT SHEET ================= */
.sheet { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sheet-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--line);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .k {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--faint);
  padding: 20px 26px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
.sheet-row .v { padding: 20px 26px; font-size: 15px; }
.sheet-row .v a { color: var(--accent); }
.sheet-row .v a:hover { color: var(--ink); }

/* ================= SERVICE CATALOG ================= */
.catalog { border-top: 1px solid var(--line); }
.catg { border-bottom: 1px solid var(--line); }
.catg-head {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
  padding: 32px 8px;
}
.catg-head .ball {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--accent);
}
.catg-head h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; flex: 1; }
.catg-head .n { font-size: 12px; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.catg-head .pm { font-size: 22px; color: var(--accent); font-weight: 300; transition: transform .25s ease; }
.catg.open .catg-head .pm { transform: rotate(45deg); }
.catg-body { display: none; padding: 6px 8px 42px 82px; }
.catg.open .catg-body { display: block; }
.catg-body .desc { color: var(--muted); max-width: 720px; margin-bottom: 26px; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 9px 18px;
  border-radius: 30px;
  transition: border-color .2s ease, color .2s ease;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ================= TIMELINE ================= */
.steps { position: relative; padding-left: 44px; }
.steps::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.step { position: relative; padding-bottom: 52px; }
.step:last-child { padding-bottom: 6px; }
.step::before {
  content: "";
  position: absolute;
  left: -39px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.step .ph {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ice);
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 640px; font-size: 15px; }
.step ul { margin: 14px 0 0 18px; color: var(--muted); font-size: 14.5px; }
.step li { margin-bottom: 6px; }
.step li::marker { color: var(--accent); }

/* ================= FORM ================= */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 16px; }

/* ================= LEGAL ================= */
.legal { max-width: 840px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  margin: 54px 0 16px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 16px; margin: 26px 0 10px; font-weight: 800; }
.legal p { color: var(--muted); margin-bottom: 15px; font-size: 15px; }
.legal ul { margin: 0 0 15px 22px; color: var(--muted); font-size: 15px; }
.legal li { margin-bottom: 7px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--ink); }
.stamp {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 18px;
  margin-bottom: 44px;
}

/* ================= PAGE HEAD ================= */
.pagehead { padding: 130px 0 80px; text-align: center; }
.crumbs {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 30px;
  font-weight: 700;
}
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--accent); }
.pagehead h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
}
.pagehead h1 em { color: var(--accent); font-style: italic; }
.pagehead .lede { margin: 30px auto 0; max-width: 640px; color: var(--muted); font-size: 18px; }

/* ================= CTA ================= */
.cta-band { text-align: center; padding: 100px 0; }
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
}
.cta-band h2 em { color: var(--accent); font-style: italic; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 26px auto 42px; font-size: 16.5px; }

/* ================= FOOTER ================= */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 0; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 54px;
}
.foot-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.foot-word span { color: var(--accent); font-style: italic; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 330px; }
.foot-col h4 {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 800;
  margin-bottom: 20px;
}
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 11px; }
.foot-col a:hover { color: var(--accent); }
.foot-col p b { color: var(--ink); display: block; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.foot-base {
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.foot-base a { color: var(--faint); margin-left: 20px; }
.foot-base a:hover { color: var(--accent); }

/* ================= REVEAL ================= */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.rv.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .panel { grid-template-columns: 80px 1fr; }
  .panel .go { grid-column: 2; }
  .panel .orb { width: 80px; height: 80px; font-size: 24px; }
  .panel p { grid-column: 2; }
  .statring { grid-template-columns: repeat(2, 1fr); }
  .cards3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chapter-head { flex-wrap: wrap; }
  .chapter-head .sub { margin-left: 0; }
}
@media (max-width: 780px) {
  .wrap { padding: 0 20px; }
  .navdock { padding: 0 16px; top: 10px; }
  .navdock-in { padding: 10px 10px 10px 18px; }
  .dock-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 90;
  }
  .dock-links.open { transform: none; }
  .dock-links a { font-size: 20px; }
  .dock-cta { display: none; }
  .dock-toggle { display: flex; }
  .hero { padding-top: 70px; }
  .badge { display: none; }
  .chapter { padding: 64px 0; }
  .quoteband { padding: 60px 30px; }
  .panel { padding: 34px 26px; grid-template-columns: 1fr; gap: 18px; }
  .catg-body { padding-left: 8px; }
  .sheet-row { grid-template-columns: 1fr; }
  .sheet-row .k { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .frow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
