/* dtc365.com — ink & brass
   ------------------------------------------------------------------ */

:root{
  --ink:        #0F1620;
  --ink-raised: #151F2B;
  --ink-sunk:   #0B111A;
  --line:       #22303F;
  --line-soft:  #1A2531;

  --brass:      #C89B3C;
  --brass-dim:  #7E6428;
  --brass-glow: rgba(200,155,60,.14);

  --text:       #E7ECF3;
  --text-mid:   #A8B4C4;
  --text-dim:   #6E7C8D;

  --good:       #74C99A;
  --warn:       #E0A458;
  --bad:        #E0776A;

  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --disp:  'Space Grotesk', var(--sans);
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r: 10px;
}

*{ box-sizing: border-box; }

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

body{
  margin:0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 420px at 82% -8%, var(--brass-glow), transparent 62%);
  background-repeat: no-repeat;
}

a{ color: inherit; }

.wrap{
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
}

.brand{
  font-family: var(--disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--text);
}
.brand .dot{ color: var(--brass); }

.nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 14px;
  color: var(--text-mid);
}
.nav-links a{
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover{ color: var(--text); border-bottom-color: var(--brass-dim); }

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

.hero{
  position: relative;
  padding: 76px 0 58px;
  overflow: hidden;
}

.hero h1{
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  max-width: 17ch;
}

.hero p.lede{
  font-size: 17px;
  color: var(--text-mid);
  max-width: 56ch;
  margin: 0;
}

.hero .rule{
  width: 54px;
  height: 3px;
  background: var(--brass);
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-ghost{
  position: absolute;
  right: -14px;
  top: 6px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(150px, 26vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero .wrap{ position: relative; z-index: 1; }

/* ---------- sections ---------- */

.section{ padding: 34px 0; }

.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 26px;
}
.section-head h2{
  font-family: var(--disp);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}
.section-head span{
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- tool list ---------- */

.tools{
  display: grid;
  gap: 14px;
}

.tool{
  display: block;
  text-decoration: none;
  background: var(--ink-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 22px 24px;
  position: relative;
}

.tool h3{
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}

.tool p{
  margin: 0;
  color: var(--text-mid);
  font-size: 14.5px;
  max-width: 62ch;
}

.tool.live{
  border-color: var(--line);
  border-left: 3px solid var(--brass);
}
.tool.live:hover{ background: #1A2634; }
.tool.live:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }

.tool.soon{ opacity: .62; }
.tool.soon h3{ color: var(--text-mid); }

.status{
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.status.ready{ color: var(--brass); }

/* ---------- note strip ---------- */

.note{
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--ink-sunk);
  padding: 26px 28px;
  margin: 10px 0 0;
}
.note h2{
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.note p{
  margin: 0 0 10px;
  color: var(--text-mid);
  font-size: 14.5px;
  max-width: 68ch;
}
.note p:last-child{ margin-bottom: 0; }

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

.foot{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  margin-top: 46px;
  padding: 22px 0 42px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ================= calculator page ================= */

.tool-head{ padding: 52px 0 30px; }
.tool-head h1{
  font-family: var(--disp);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.tool-head p{
  color: var(--text-mid);
  max-width: 64ch;
  margin: 0;
  font-size: 16px;
}

.calc{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px){
  .calc{ grid-template-columns: 1fr; }
}

.panel{
  background: var(--ink-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 24px;
}
.panel h2{
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -.01em;
}

.field{ margin-bottom: 22px; }
.field:last-child{ margin-bottom: 0; }

.field-top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.field-top label{ font-size: 14.5px; color: var(--text); }
.field-top .val{
  font-family: var(--mono);
  font-size: 14px;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.hint{
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 7px 0 0;
}

.err{
  display: none;
  font-size: 12.5px;
  color: var(--bad);
  margin: 7px 0 0;
}
.err.show{ display: block; }

input[type=range]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
  margin: 6px 0 0;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brass);
  cursor: pointer;
  border: 3px solid var(--ink-raised);
  box-shadow: 0 0 0 1px var(--brass-dim);
}
input[type=range]::-moz-range-thumb{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brass);
  cursor: pointer;
  border: 3px solid var(--ink-raised);
}
input[type=range]:focus-visible{ outline: 2px solid var(--brass); outline-offset: 4px; }

.num-row{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.num-row .cur{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
input[type=number]{
  flex: 1;
  background: var(--ink-sunk);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  width: 100%;
}
input[type=number]:focus{ outline: none; border-color: var(--brass-dim); }
input[type=number]:focus-visible{ outline: 2px solid var(--brass); outline-offset: 1px; }

/* ---------- gauge (signature element) ---------- */

.gauge-wrap{ text-align: left; margin-bottom: 24px; }

.gauge-num{
  font-family: var(--mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.gauge-num.good{ color: var(--good); }
.gauge-num.bad{ color: var(--bad); }

.gauge-sub{
  font-size: 13px;
  color: var(--text-dim);
  margin: 8px 0 16px;
}

#gaugeSvg{ width: 100%; height: 22px; display: block; }

.gauge-scale{
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ---------- stats ---------- */

.stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
}
.stat{
  background: var(--ink-raised);
  padding: 15px 16px;
}
.stat .k{
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.stat .v{
  font-family: var(--mono);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.verdict{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  border: 1px solid var(--line);
  background: var(--ink-sunk);
}
.verdict.good{ border-color: rgba(116,201,154,.32); }
.verdict.bad{ border-color: rgba(224,119,106,.32); }

/* ---------- analysis ---------- */

.analysis{ margin-top: 18px; }

.reads{
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.read{
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--brass-dim);
  border-radius: 8px;
  background: var(--ink-raised);
  padding: 16px 18px;
}
.read .k{
  font-size: 13.5px;
  color: var(--text);
  margin: 0 0 5px;
  font-weight: 500;
}
.read .d{
  font-size: 14px;
  color: var(--text-mid);
  margin: 0;
  max-width: 68ch;
}
.read .d b{
  font-family: var(--mono);
  font-weight: 500;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* ================= about page ================= */

.nav-links a.active{
  color: var(--text);
  border-bottom-color: var(--brass);
}

.about-head{
  padding: 62px 0 36px;
}
.namerow{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.about-head h1{
  font-family: var(--disp);
  font-size: clamp(32px, 5.5vw, 46px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0;
}
.about-role{
  font-size: 17px;
  color: var(--text-mid);
  max-width: 54ch;
  margin: 0 0 26px;
}

.btn-li{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 15px;
  font-size: 14.5px;
}
.btn-li svg{
  width: 17px;
  height: 17px;
  fill: var(--brass);
  flex: none;
}
.btn-li:hover{
  border-color: var(--brass-dim);
  background: #1A2634;
}
.btn-li:focus-visible{
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.prose p{
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-mid);
  max-width: 66ch;
  margin: 0 0 16px;
}
.prose p:last-child{ margin-bottom: 0; }

.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pill{
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

.cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink-sunk);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brass);
  border-radius: var(--r);
  padding: 24px 26px;
}
.cta h2{
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.cta p{
  margin: 0;
  font-size: 14.5px;
  color: var(--text-mid);
  max-width: 54ch;
}
.cta-link{
  flex: none;
  text-decoration: none;
  color: var(--ink);
  background: var(--brass);
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 20px;
  border-radius: 8px;
}
.cta-link:hover{ background: #D8AB4C; }
.cta-link:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }

/* ================= unit economics waterfall ================= */

.stats-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px){ .stats-4{ grid-template-columns: 1fr 1fr; } }

.wf{
  background: var(--ink-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px 22px;
}

.wf-row{
  display: grid;
  grid-template-columns: 132px 1fr 84px 52px 150px;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}
@media (max-width: 820px){
  .wf-row{ grid-template-columns: 108px 1fr 78px 46px; }
  .wf-note{ display: none; }
}

.wf-name{
  font-size: 13.5px;
  color: var(--text-mid);
}

.wf-track{
  height: 13px;
  background: var(--ink-sunk);
  border-radius: 3px;
  overflow: hidden;
}
.wf-fill{
  height: 100%;
  border-radius: 3px;
  min-width: 2px;
}
.b-aov{ background: var(--text-dim); }
.b-cost{ background: var(--brass-dim); }
.b-cm1{ background: #9C7C33; }
.b-cm2{ background: var(--brass); }
.b-cm3{ background: var(--good); }
.b-neg{ background: var(--bad); }
.wf-fill.neg{ background: var(--bad); }

.wf-num{
  font-family: var(--mono);
  font-size: 13.5px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.wf-num.neg{ color: var(--bad); }

.wf-pct{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wf-note{
  font-size: 12px;
  color: var(--text-dim);
}

.back{
  display: inline-block;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 14px;
}
.back::before{ content: "\2190"; margin-right: 7px; color: var(--brass); }
.back:hover{ color: var(--text); }


/* ================= reporting dashboard ================= */

.tabs{
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 22px;
}
.tab{
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 9px 4px;
  margin-bottom: -1px;
  cursor: pointer;
}
.tab:hover{ color: var(--text); }
.tab.active{ color: var(--text); border-bottom-color: var(--brass); }
.tab:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }
.tab + .tab{ margin-left: 14px; }

.range{
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0 0 18px;
}

textarea#paste{
  width: 100%;
  min-height: 150px;
  background: var(--ink-sunk);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 12px;
  resize: vertical;
  margin-top: 12px;
}
textarea#paste:focus{ outline: none; border-color: var(--brass-dim); }
textarea#paste:focus-visible{ outline: 2px solid var(--brass); outline-offset: 1px; }

.btns{ display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.btn{
  appearance: none;
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 9px 16px;
  cursor: pointer;
}
.btn:hover{ border-color: var(--brass-dim); background: #1A2634; }
.btn:focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; }
.btn.primary{ background: var(--brass); border-color: var(--brass); color: var(--ink); font-weight: 500; }
.btn.primary:hover{ background: #D8AB4C; }

.ok{ font-size: 12.5px; color: var(--good); margin: 11px 0 0; }
#perr{ display: block; }

.cols{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.col{
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-mid);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 4px 9px;
}

.sect{ margin-top: 30px; }
.sect-h{
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.sect-h h2{
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 13px;
}

.card{
  background: var(--ink-raised);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 15px 15px 11px;
}
.card h3{
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 3px;
}
.card svg{ display: block; width: 100%; height: auto; }
.gl{ stroke: var(--line-soft); stroke-width: 1; }
.ax{ fill: var(--text-dim); font-family: var(--mono); font-size: 8.5px; }

.legend{ display: flex; flex-wrap: wrap; gap: 9px; margin-top: 9px; }
.legend .lg{
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-mid);
}
.legend .sw{ width: 9px; height: 9px; border-radius: 2px; flex: none; }

/* ---------- reporting: plot + hover tooltip ---------- */

.card h3{ margin-bottom: 10px; }

.plot{ position: relative; }

.gl{ stroke: var(--line-soft); stroke-width: 1; }
.guide{ stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 3 3; }
.ax{ fill: var(--text-dim); font-family: var(--mono); font-size: 8.5px; }

.nodata{
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  margin: 0;
  padding: 26px 0;
  text-align: center;
}

.tip{
  position: absolute;
  top: 4px;
  min-width: 130px;
  background: var(--ink-sunk);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  pointer-events: none;
  z-index: 3;
}
.tip .tm{
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brass);
  margin-bottom: 6px;
}
.tip .tr{
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.7;
}
.tip .tl{ color: var(--text-mid); flex: 1; white-space: nowrap; }
.tip .tv{
  font-family: var(--mono);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- reporting: editable grid ---------- */

.gridbar{ margin-bottom: 14px; }
.gridbar .hint{ margin-top: 10px; }

.sheet-wrap{
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--ink-raised);
}

table.sheet{
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
  white-space: nowrap;
}
table.sheet th{
  position: sticky;
  top: 0;
  background: var(--ink-sunk);
  color: var(--text-mid);
  font-weight: 500;
  font-size: 11.5px;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line-soft);
  z-index: 2;
}
table.sheet th .u{ color: var(--text-dim); }
table.sheet th.sticky,
table.sheet td.sticky{
  position: sticky;
  left: 34px;
  z-index: 3;
  background: var(--ink-sunk);
}
table.sheet th.sticky{ z-index: 4; }

table.sheet td{
  padding: 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
table.sheet td.rowh,
table.sheet th.rowh{
  position: sticky;
  left: 0;
  width: 34px;
  min-width: 34px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  background: var(--ink-sunk);
  padding: 0 6px;
  z-index: 3;
}
table.sheet th.rowh{ z-index: 5; }

table.sheet input{
  width: 118px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 8px 10px;
  font-variant-numeric: tabular-nums;
}
table.sheet td.sticky input{
  width: 84px;
  font-family: var(--sans);
  color: var(--text);
}
table.sheet input:focus{
  outline: none;
  background: #1A2634;
  box-shadow: inset 0 0 0 1px var(--brass-dim);
}

.pastebox{
  margin-top: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--ink-raised);
  padding: 14px 16px;
}
.pastebox summary{
  cursor: pointer;
  font-size: 14px;
  color: var(--text-mid);
}
.pastebox summary:hover{ color: var(--text); }
.pastebox[open] summary{ margin-bottom: 8px; color: var(--text); }

/* ---------- about: iceberg ---------- */

.berg{
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}

.berg-above{ background: var(--ink-raised); padding: 26px 22px 22px; }
.berg-below{ background: var(--ink-sunk);   padding: 26px 22px 22px; }

.bgrid{
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  gap: 0;
  align-items: center;
}

.berg-art svg{ display: block; width: 100%; height: auto; }
.berg-art.deep svg{ filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }

.berg-t1{
  fill: var(--text);
  font-family: var(--disp);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
}

.blabels{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blabels li{
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.35;
  position: relative;
}
.blabels.left  li{ text-align: right; padding-right: 54px; }
.blabels.right li{ text-align: left;  padding-left: 54px; }

/* ::before is the leader rule, ::after the dot that meets the ice */
.blabels li::before{
  content: "";
  position: absolute;
  top: .62em;
  height: 1px;
  width: 38px;
  background: var(--brass-dim);
}
.blabels li::after{
  content: "";
  position: absolute;
  top: calc(.62em - 2.5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.blabels.left  li::before{ right: 8px; }
.blabels.left  li::after { right: 0; }
.blabels.right li::before{ left: 8px; }
.blabels.right li::after { left: 0; }

.waterline{
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-dim) 12%, var(--brass-dim) 88%, transparent);
}
.waterline span{
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  background: var(--ink);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.berg-foot{
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--ink-raised);
  text-align: center;
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
}
.berg-foot span{ color: var(--brass); margin: 0 2px; }

@media (max-width: 660px){
  .bgrid{ grid-template-columns: 1fr; gap: 16px; }
  .berg-art{ order: -1; max-width: 190px; margin: 0 auto 4px; }
  .blabels.left li,
  .blabels.right li{ text-align: left; padding-left: 54px; padding-right: 0; }
  .blabels.left li::before{ left: 8px; right: auto; }
  .blabels.left li::after { left: 0;  right: auto; }
  .berg-foot{ font-size: 12.5px; }
}


@media (max-width: 560px){
  .namerow{ gap: 12px; }
  .namerow .btn-li{ font-size: 13.5px; padding: 8px 15px 8px 13px; }
}
