/* ===========================================================
   Backyard Barista — Direction 05
   Flat editorial system. One ink weight, one accent, hairline
   rules, no gradients, no shadows, no rounded corners.

   Rule of the system: the page is a grid of ruled boxes. Photos
   are the ONLY things allowed to carry color and texture, which
   is why host photos look better here than in the old warm
   theme — nothing competes with them.

   Every class name from the previous stylesheet is preserved,
   so no PHP or markup was touched to ship this. To roll back,
   point layout.php's <link> at assets/style.css again.
   =========================================================== */

:root {
  --bg:        #fbfaf8;   /* paper the page sits on */
  --paper:     #ffffff;   /* card / panel fill */
  --ink:       #111111;   /* all structure + body text */
  --mid:       #555555;   /* secondary text */
  --muted:     #8a8a8a;   /* labels, metadata */
  --accent:    #c8511f;   /* the single accent — marks + fills */
  --accent-ink:#a8430f;   /* accent for small text: darker, legible */
  --rule:      #111111;   /* structural hairline */
  --rule-soft: #e2ded8;   /* internal divider */
  --fill:      #f3f1ed;   /* neutral inactive fill */
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* kept so any stray var() reference still resolves */
  --radius: 0;
  --shadow: none;
  --cream: #fbfaf8;
  --line: #e2ded8;
  --espresso: #111111;
  --caramel: #c8511f;
  --caramel-dark: #a8430f;
  --leaf: #2f6b3a;
  --leaf-bg: #eef3ee;
  --closed-bg: #f3f1ed;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

main { max-width: 1120px; margin: 0 auto; padding: 30px 30px 90px; }

a { color: var(--accent-ink); text-underline-offset: 2px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: 2.2rem; letter-spacing: -.04em; line-height: .98; }
h2 {
  margin-top: 2.6rem; font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 0; border-top: 1px solid var(--rule);
  padding: 10px 0 0;
}
h3 { font-size: 1.05rem; }

code { background: var(--fill); padding: 1px 5px; border-radius: 0; font-size: .85em; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.prewrap { white-space: pre-wrap; }
.inline { display: inline; }

/* ---------- header ----------
   Was a solid espresso bar. Now a hairline masthead: the rule
   under it is the same 1px #111 that draws every card below,
   so the page reads as one ruled sheet from top to bottom. */
.site-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding: 16px 30px 13px;
  background: var(--bg); color: var(--ink);
  border-bottom: 1px solid var(--rule);
  max-width: 1120px; margin: 0 auto;
}
.brand {
  font-size: 1rem; font-weight: 700; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink);
}
.brand b { color: var(--accent); font-weight: 700; }
.site-head nav { display: flex; gap: 20px; align-items: center; }
.site-head nav a {
  color: var(--ink); text-decoration: none;
  font-size: .78rem; letter-spacing: .04em;
}
.site-head nav a:hover { color: var(--accent); }
.linklike {
  background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0;
  font: inherit; font-size: .78rem; letter-spacing: .04em;
}
.linklike:hover { color: var(--accent); }

/* ---------- flash + nudge ---------- */
.flash {
  background: var(--bg); color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 11px 30px; text-align: center; font-size: .85rem;
  max-width: 1120px; margin: 0 auto;
}
.nudge {
  background: var(--bg); color: var(--ink);
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 12px 30px; display: flex; gap: 12px;
  align-items: center; justify-content: center; flex-wrap: wrap;
  font-size: .85rem;
  max-width: 1120px; margin: 0 auto;
}

/* ---------- buttons ----------
   Flat rectangles. The accent fill is the only saturated block
   on the page, which is what makes a CTA findable without a
   shadow or a gradient doing the work. */
.btn {
  display: inline-block; background: var(--accent); border: 1px solid var(--accent);
  color: #fff; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 600;
  letter-spacing: .03em; padding: 9px 18px; border-radius: 0; text-decoration: none;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-sm { padding: 6px 13px; font-size: .74rem; }
.btn-wide { width: 100%; padding: 12px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-open { background: var(--ink); border-color: var(--ink); }
.btn-open:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- hero + search ---------- */
.hero { padding: 40px 0 6px; }
.hero h1 { font-size: 2.9rem; letter-spacing: -.04em; line-height: .95; max-width: 15ch; margin: 0 0 10px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--mid); max-width: 56ch; font-size: .95rem; }
.search {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin: 26px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--rule);
}
.search input[type=search] {
  width: min(420px, 90vw); padding: 10px 14px;
  border: 1px solid var(--rule); border-radius: 0; font: inherit; font-size: .9rem;
  background: var(--paper);
}
.chk { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; font-size: .85rem; }

/* ---------- card grid ----------
   Gap is zero and the rules are shared: the grid carries the
   top+left hairline, each card carries right+bottom. That is
   what produces a single continuous ledger instead of a tray
   of floating tiles. */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 0; margin-top: 26px;
  border-left: 1px solid var(--rule); border-top: 1px solid var(--rule);
}
.card {
  background: var(--paper);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  border-radius: 0; box-shadow: none; overflow: hidden;
  text-decoration: none; color: var(--ink); display: block;
  transition: background .12s ease;
}
.card:hover { background: #fdfcfa; transform: none; }
.card:hover h3 { color: var(--accent); }
.card-img {
  aspect-ratio: 8/5; background: var(--fill);
  border-bottom: 1px solid var(--rule); overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noimg {
  display: grid; place-items: center; height: 100%;
  font-size: 2.4rem; opacity: .3; filter: grayscale(1);
}
.card-body { padding: 13px 16px 15px; }
.card-body h3 { margin: .35rem 0 .2rem; font-size: 1.05rem; letter-spacing: -.02em; }
.card-body p { margin: .15rem 0; font-size: .83rem; color: var(--mid); line-height: 1.4; }
.card-body p.small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.card-toprow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ---------- badges & pills ----------
   All one shape: no fill, hairline box, uppercase micro-type.
   State is carried by the word and by whether the accent dot
   is lit — not by six different pastel backgrounds. */
.badge, .pill {
  display: inline-block;
  font: 600 .64rem/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 0; border: 1px solid var(--rule); color: var(--ink);
  background: transparent; white-space: nowrap;
}
.badge-open { color: var(--accent-ink); border-color: var(--accent); }
.badge-closed { color: var(--muted); border-color: var(--rule-soft); }
.rating { color: var(--ink); font-size: .8rem; letter-spacing: -.01em; }
.pill { color: var(--mid); border-color: var(--rule-soft); }
.pill-pending { color: var(--ink); border-color: var(--rule); }
.pill-accepted, .pill-completed { color: var(--accent-ink); border-color: var(--accent); }
.pill-ready { color: #fff; background: var(--accent); border-color: var(--accent); }
.pill-declined, .pill-cancelled { color: var(--muted); border-color: var(--rule-soft); text-decoration: line-through; }
.badge-ver { color: var(--ink); }
.badge-est { color: var(--accent-ink); border-color: var(--accent); }
.badge-new { color: var(--muted); border-color: var(--rule-soft); }
.badge-tier { color: var(--mid); border-style: dashed; }

/* ---------- pitch row ---------- */
.pitch {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0; margin-top: 54px;
  border-left: 1px solid var(--rule); border-top: 1px solid var(--rule);
}
.pitch div {
  background: var(--paper); border: 0;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  border-radius: 0; padding: 4px 22px 18px;
}
.pitch h3 { font-size: .95rem; }
.pitch p { font-size: .86rem; color: var(--mid); }

/* ---------- listing page ---------- */
.listing-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; margin: 22px 0; background: var(--rule); border: 1px solid var(--rule); }
.gallery.single { grid-template-columns: 1fr; }
.gallery img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: 0; display: block; }
.cols { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 0; } }
.panel {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 0;
  box-shadow: none; padding: 2px 18px 16px; margin-bottom: 18px;
}
.panel h3 { margin-bottom: .4rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tags { list-style: none; padding: 0; margin: .4rem 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  background: transparent; border: 1px solid var(--rule-soft); border-radius: 0;
  padding: 2px 9px; font-size: .74rem; color: var(--mid);
}
.hours { width: 100%; font-size: .85rem; }
.hours td { padding: 3px 0; border-bottom: 1px solid var(--rule-soft); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--muted); }

/* ---------- menu + orders tables ---------- */
.menu { width: 100%; border-collapse: collapse; margin: .6rem 0; }
.menu td { padding: 9px 6px; border-bottom: 1px solid var(--rule-soft); font-size: .9rem; }
.menu .price { text-align: right; color: var(--mid); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu .qty { width: 72px; }
.menu .qty input { width: 64px; padding: 5px; font: inherit; }
.menu .total td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--rule); }
.order-extra { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.order-extra input[type=text] {
  flex: 1; min-width: 220px; padding: 9px 13px;
  border: 1px solid var(--rule); border-radius: 0; font: inherit;
}
.orders {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 0; box-shadow: none;
}
.orders th {
  text-align: left; background: transparent; padding: 9px 12px;
  font: 600 .64rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--rule);
}
.orders td { padding: 10px 12px; border-top: 1px solid var(--rule-soft); vertical-align: top; font-size: .88rem; }

/* ---------- reviews ---------- */
.review { border-bottom: 1px solid var(--rule-soft); padding: 12px 0; }
.review p { margin: .3rem 0 0; font-size: .9rem; }
.note {
  background: transparent; border: 0; border-left: 2px solid var(--accent);
  border-radius: 0; padding: 2px 0 2px 14px; color: var(--mid); font-size: .88rem;
}

/* ---------- forms ---------- */
.authbox {
  max-width: 420px; margin: 40px auto; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 0; padding: 6px 28px 28px; box-shadow: none;
}
.editwrap { max-width: 720px; margin: 0 auto; }
fieldset {
  border: 1px solid var(--rule); border-radius: 0; background: var(--paper);
  margin: 20px 0; padding: 14px 20px 20px;
}
legend {
  font: 600 .68rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 0 8px;
}
label { display: block; margin: 14px 0 4px; font-size: .88rem; }
input[type=text], input[type=email], input[type=password], input[type=url],
input[type=number], input[type=search], textarea, select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 0;
  font: inherit; font-size: .9rem; background: #fff; margin-top: 4px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
textarea { resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0; }
.checks .chk { margin: 0; }
.checks input { width: auto; margin: 0; }
.chk input { width: auto; }
.hoursgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; }
.menurow { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.thumbrow { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { position: relative; }
.thumb img { width: 110px; height: 78px; object-fit: cover; border-radius: 0; border: 1px solid var(--rule); }
.thumb-x {
  position: absolute; top: -7px; right: -7px; background: var(--ink); color: #fff;
  border: 0; border-radius: 0; width: 20px; height: 20px; cursor: pointer; line-height: 1;
  font-size: .8rem;
}

/* ---------- host dashboard ---------- */
.rowhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.hostcard {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 0;
  padding: 14px 20px; margin: 14px 0; box-shadow: none;
}
.hostcard h3 { margin: .2rem 0; }
.hostcard-actions { display: flex; gap: 10px; align-items: center; }
.actions { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }

.empty {
  background: var(--paper); border: 1px dashed var(--rule-soft); border-radius: 0;
  padding: 30px; text-align: center; color: var(--muted); font-size: .9rem;
}
.site-foot {
  text-align: center; color: var(--muted); font-size: .78rem;
  padding: 26px 30px; border-top: 1px solid var(--rule);
  max-width: 1120px; margin: 0 auto;
}
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); }
.footlinks {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  letter-spacing: .1em; text-transform: uppercase; font-size: .66rem;
}

/* ---------- avatars & people ---------- */
.avatar { display: inline-block; border-radius: 0; object-fit: cover; vertical-align: middle; flex-shrink: 0; }
.avatar-sm { width: 26px; height: 26px; }
.avatar-md { width: 46px; height: 46px; }
.avatar-lg { width: 80px; height: 80px; }
.avatar-blank {
  background: var(--ink); color: #fff; text-align: center; font-family: var(--sans);
  font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
.avatar-sm.avatar-blank { font-size: .8rem; }
.avatar-md.avatar-blank { font-size: 1.1rem; }
.avatar-lg.avatar-blank { font-size: 1.9rem; }
.hostline { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.profilehead { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.profilehead h1 { margin: 0 0 .3rem; }
.reviewhead { display: flex; gap: 10px; align-items: center; }

.locked {
  background: transparent; border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: 0; padding: 14px 18px; margin: .8rem 0;
}
.locked p { margin: 0 0 .5rem; font-size: .88rem; }
.headsup { border-left-color: var(--ink); }
.ladder { list-style: none; padding: 0; margin: .5rem 0; }
.ladder li { padding: 6px 0; color: var(--muted); font-size: .88rem; border-bottom: 1px solid var(--rule-soft); }
.ladder li:last-child { border-bottom: 0; }
.ladder li.done { color: var(--accent-ink); }
.ladder li.todo { color: var(--ink); }
.flash-inline {
  background: transparent; color: var(--ink); border: 1px solid var(--accent);
  border-radius: 0; padding: 10px 16px; font-size: .88rem;
}
.listing-actions { display: flex; gap: 10px; align-items: center; }
.linklike-dark {
  background: none; border: 0; color: var(--accent-ink); font: inherit;
  cursor: pointer; padding: 0; text-decoration: underline;
}

/* ---------- swipe deck ----------
   Same rules as everything else: hairline box, square corners,
   no drop shadow. The card is legible as a card because it is
   the only thing on screen, not because it floats. */
.resultbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.viewtoggle {
  display: inline-flex; border: 1px solid var(--rule); border-radius: 0; overflow: hidden;
  background: var(--paper); font-family: var(--sans);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.viewtoggle a { padding: 7px 14px; text-decoration: none; color: var(--mid); border-right: 1px solid var(--rule); }
.viewtoggle a:last-child { border-right: 0; }
.viewtoggle a.on { background: var(--ink); color: #fff; }

.deckwrap { max-width: 430px; margin: 22px auto 0; }
.deck { position: relative; height: min(62vh, 540px); }
.deckcard {
  position: absolute; inset: 0; background: var(--paper); border: 1px solid var(--rule);
  border-radius: 0; box-shadow: none; overflow: hidden;
  display: flex; flex-direction: column; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: grab;
  transition: transform .18s ease, opacity .18s ease;
}
.deckcard.dragging { transition: none; cursor: grabbing; }
.deckcard-img { flex: 1; min-height: 0; background: var(--fill); position: relative; border-bottom: 1px solid var(--rule); }
.deckcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.deckcard-img .noimg { display: grid; place-items: center; height: 100%; font-size: 3.2rem; opacity: .3; filter: grayscale(1); }
.deckcard-body { padding: 14px 18px 16px; }
.deckcard-body h3 { margin: .4rem 0 .2rem; }
.deckcard-body p { margin: .15rem 0; font-size: .85rem; color: var(--mid); }

.deck-stamp {
  position: absolute; top: 22px;
  font: 700 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 0; border: 2px solid;
  opacity: 0; pointer-events: none; background: rgba(255, 255, 255, .92);
}
.stamp-go { left: 18px; color: var(--accent); border-color: var(--accent); transform: rotate(-6deg); }
.stamp-skip { right: 18px; color: var(--ink); border-color: var(--ink); transform: rotate(6deg); }

.deck-actions { display: flex; justify-content: center; align-items: flex-end; gap: 26px; margin-top: 20px; }
.deckbtn-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.deckbtn-wrap .small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deckbtn {
  border: 1px solid var(--rule); background: var(--paper); cursor: pointer; border-radius: 0;
  width: 58px; height: 58px; font-size: 1.3rem; box-shadow: none; color: var(--ink);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.deckbtn:hover { background: var(--ink); color: #fff; transform: none; }
.deckbtn-mini { width: 44px; height: 44px; font-size: .95rem; opacity: .75; }
.deckbtn-go { background: var(--accent); border-color: var(--accent); color: #fff; width: 70px; height: 70px; font-size: 1.6rem; }
.deckbtn-go:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.deck-hint { text-align: center; margin: 12px 0 0; font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.deck-empty p:first-child, .deck-empty-page p:first-child { font-size: 1rem; color: var(--ink); }

/* ---------- for hosts — the trust page ----------
   One narrow column. Still reads like a letter; now it reads
   like a letter set in a well-made book rather than a brochure. */
.hostwrap { max-width: 680px; margin: 0 auto; }
.hosthero { padding: 34px 0 6px; }
.hosthero h1 { font-size: 2.7rem; letter-spacing: -.04em; line-height: .96; margin-bottom: .5rem; }
.hosthero .lede { font-size: 1.02rem; color: var(--mid); max-width: 36em; margin: 0 0 1.6rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.3rem 0 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.3rem 3.1rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .12rem;
  width: auto; height: auto; border-radius: 0;
  background: transparent; color: var(--accent);
  font: 600 .78rem/1.4 var(--sans); letter-spacing: .08em; text-align: left;
}
.steps h3 { margin: 0 0 .25rem; }
.steps p { margin: 0; color: var(--mid); font-size: .9rem; }

.promises { list-style: none; padding: 0; margin: 1rem 0 0; }
.promises li {
  background: var(--paper); border: 1px solid var(--rule-soft); border-left: 2px solid var(--accent);
  border-radius: 0; padding: 11px 16px; margin-bottom: 8px; font-size: .9rem;
}

.rung {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 0;
  padding: 18px 22px; margin: 0 0 -1px; box-shadow: none;
}
.rung-n {
  flex: 0 0 auto; width: auto; height: auto; border-radius: 0;
  background: transparent; color: var(--accent);
  font: 700 .8rem/1.6 var(--sans); letter-spacing: .1em; text-align: left;
}
.rung h3 { margin: 0 0 .45rem; }
.rung p, .rung li { font-size: .9rem; color: var(--mid); }
.rung p:last-child, .rung ol:last-child, .rung ul:last-child { margin-bottom: 0; }
.rung ul, .rung ol { padding-left: 1.2rem; }
.rung li { margin: .3rem 0; }
.mini-h { margin-bottom: .3rem; font-weight: 700; color: var(--ink); }
.checklist li { margin: .5rem 0; }

.hostnote {
  background: transparent; border: 0; border-left: 2px solid var(--accent);
  border-radius: 0; padding: 2px 0 2px 14px; margin: 22px 0 0; color: var(--mid); font-size: .88rem;
}

.hostwrap details {
  background: var(--paper); border: 0; border-bottom: 1px solid var(--rule-soft);
  border-radius: 0; padding: 0; margin-bottom: 0;
}
.hostwrap details[open] { border-color: var(--rule-soft); }
.hostwrap summary {
  cursor: pointer; padding: 13px 0; font-weight: 600; font-size: .92rem;
  list-style-position: outside;
}
.hostwrap summary::marker { color: var(--accent); }
.hostwrap details p { margin: 0 0 14px; color: var(--mid); font-size: .9rem; }

.hostcta { margin-top: 2.8rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.hostcta h2 { border-top: 0; border-bottom: 0; margin-top: 0; }
.hostcta .btn { margin: 4px 6px 4px 0; }

/* ---------- host profile attributes (v0.4) ----------
   "Good to know" still outranks every other panel. It earns
   that by being the only panel with an accent rule on it. */
.req {
  font: 600 .6rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-ink); background: transparent; border: 1px solid var(--accent);
  border-radius: 0; padding: 3px 6px; vertical-align: 2px; margin-left: 6px;
}
.ask { margin: 16px 0; padding-top: 12px; border-top: 1px solid var(--rule-soft); }
.ask:first-of-type { border-top: 0; padding-top: 0; }
.ask > b { display: block; margin-bottom: 2px; font-size: .9rem; }
.ask p { margin: .2rem 0 0; font-size: .88rem; color: var(--mid); }

.panel-know { border-left: 3px solid var(--accent); }
.knowlist { list-style: none; padding: 0; margin: .4rem 0 0; }
.knowlist li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; font-size: .88rem; border-bottom: 1px solid var(--rule-soft);
}
.knowlist li:last-child { border-bottom: 0; }
.knowicon { flex: 0 0 1.4rem; text-align: center; font-size: .9rem; line-height: 1.5; filter: grayscale(1); opacity: .75; }

/* ---------- mobile ----------
   Below 640 the shared-hairline grid collapses to one column;
   the left/right rules would otherwise double up on every card. */
@media (max-width: 640px) {
  main { padding: 22px 18px 70px; }
  .site-head { padding: 14px 18px 12px; }
  .site-head nav { gap: 14px; }
  .hero { padding: 26px 0 4px; }
  .hero h1 { font-size: 2.1rem; }
  .hosthero h1 { font-size: 2rem; }
  .grid, .pitch { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .flash, .nudge, .site-foot { padding-left: 18px; padding-right: 18px; }
}
