/* blueprint2Rise — the contractor workshop band, and the interest form behind its
   first button. The event carries its own orange; it is scoped to .b2r and .b2r-dialog
   so the rest of the site keeps the navy / teal / mint palette.

   Contrast note: white on this orange is only 2.9:1, so the orange button takes navy
   text (5.4:1) and orange is used on navy for everything else (5.4:1). */

.b2r {
  --b2r-orange: #fc6c18;
  --b2r-orange-hi: #ff8038;
  --b2r-blue: #8ec2f0;
  --b2r-panel: #0a1c33;
  --b2r-soft: #c3d4e8;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 clamp(48px, 7vw, 96px);
  padding: clamp(40px, 6vw, 78px) 0 clamp(34px, 5vw, 60px);
  background: var(--b2r-panel);
  color: #fff;
}

/* Blueprint paper: a fine grid, a heavier one over it, and a glow behind the copy. */
.b2r::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 22% 8%, #14365e 0%, rgba(20, 54, 94, 0) 62%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .06) 0 1px, transparent 1px 220px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .06) 0 1px, transparent 1px 220px);
}
.b2r::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -30px;
  width: min(360px, 42vw);
  aspect-ratio: 320 / 420;
  background: url("palm.svg") no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}

.b2r-inner {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
  grid-template-areas: "copy" "media" "topics";
}
@media (min-width: 900px) {
  .b2r-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    grid-template-areas: "copy media" "topics topics";
    column-gap: clamp(36px, 4.4vw, 68px);
  }
}

.b2r-copy { grid-area: copy; }
.b2r-media { grid-area: media; }
.b2r-topics { grid-area: topics; }

/* ---- copy ---- */
.b2r-from {
  margin: 0 0 18px;
  color: var(--b2r-soft);
  font-size: .82rem;
  line-height: 1.55;
  letter-spacing: .02em;
  max-width: 44ch;
}
.b2r-from strong { color: #fff; font-weight: 600; }

.b2r-chip {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(252, 108, 24, .5);
  border-radius: 999px;
  background: rgba(252, 108, 24, .12);
  color: var(--b2r-orange-hi);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.b2r-name {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.b2r-name .b2r-brace { color: var(--b2r-blue); font-weight: 400; }
.b2r-name .b2r-rise { color: var(--b2r-orange); }
.b2r-name .b2r-with {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: .46em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
}

.b2r-copy h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.b2r-sub {
  margin: 0 0 20px;
  max-width: 48ch;
  color: var(--b2r-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.b2r-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  font-weight: 500;
  color: #fff;
}
.b2r-facts li { display: flex; align-items: center; gap: 14px; }
.b2r-facts li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--b2r-orange);
}

.b2r-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}
.b2r-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 13px 22px;
  font: 600 .96rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.b2r-btn-primary { background: var(--b2r-orange); border-color: var(--b2r-orange); color: var(--navy); }
.b2r-btn-primary:hover { background: var(--b2r-orange-hi); border-color: var(--b2r-orange-hi); }
.b2r-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.b2r-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.b2r-btn:focus-visible { outline: 3px solid var(--b2r-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .b2r-btn:hover { transform: translateY(-1px); }
}

.b2r-note { margin: 0; color: var(--b2r-soft); font-size: .87rem; line-height: 1.55; }
.b2r-venue {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: var(--b2r-soft);
  font-size: .85rem;
}
.b2r-venue span { color: var(--b2r-orange-hi); font-weight: 600; }

/* ---- photo ---- */
.b2r-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(2, 10, 22, .55);
}
.b2r-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- topic strip ---- */
.b2r-topics {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: clamp(20px, 2.6vw, 28px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  list-style: none;
}
.b2r-topics li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.35;
}
.b2r-topics svg {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(252, 108, 24, .45);
  border-radius: 10px;
  background: rgba(252, 108, 24, .12);
  color: var(--b2r-orange-hi);
  box-sizing: border-box;
}

/* ---- interest form ---- */
.b2r-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(6, 26, 53, .35);
}
.b2r-dialog::backdrop { background: rgba(6, 21, 39, .62); }
.b2r-dialog-head {
  position: relative;
  padding: 22px 54px 18px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px 14px 0 0;
}
.b2r-dialog-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: #fff;
}
.b2r-dialog-head p { margin: 6px 0 0; color: #c5cfdd; font-size: .86rem; line-height: 1.5; }
.b2r-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.b2r-form { display: grid; gap: 14px; padding: 22px 24px 24px; }
.b2r-form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.b2r-form input,
.b2r-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  font: 400 16px/1.3 var(--sans);
  color: var(--ink);
  background: var(--white);
}
.b2r-form input:focus-visible,
.b2r-form select:focus-visible { outline: 3px solid var(--mint); outline-offset: 1px; }
.b2r-two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .b2r-two { grid-template-columns: 1fr; } }
.b2r-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.b2r-form-note { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.b2r-form-error { margin: 0; color: #a0322c; font-size: .86rem; font-weight: 500; }
.b2r-form-error:empty { display: none; }
.b2r-submit {
  border: 0;
  border-radius: 9px;
  background: var(--b2r-orange, #fc6c18);
  color: var(--navy);
  padding: 13px 18px;
  font: 600 .96rem var(--sans);
  cursor: pointer;
}
.b2r-submit:hover { background: #ff8038; }
.b2r-submit:disabled { opacity: .6; cursor: wait; }
.b2r-done { padding: 26px 24px 28px; text-align: center; }
.b2r-done img { width: 96px; height: auto; margin: 0 auto 12px; display: block; }
.b2r-done h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.24rem; font-weight: 500; }
.b2r-done p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

@media print { .b2r { background: none; color: #000; } }

/* ---------- the details page: how the day runs, and what people leave with ---------- */
section.b2r-detail { padding-block: clamp(34px, 5vw, 56px) 0; }

.b2r-detail {
  --b2r-orange: #fc6c18;
  --b2r-orange-ink: #b34a08;   /* orange dark enough for body text on paper (4.9:1) */
}
.b2r-detail h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--navy);
}
.b2r-detail > p {
  margin: 0 0 26px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.65;
}

/* The day, as one customer moving through it. */
.b2r-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.b2r-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.b2r-steps li:last-child { border-bottom: 1px solid var(--line); }
.b2r-steps .b2r-step-no {
  font: 600 .84rem/1 var(--sans);
  letter-spacing: .06em;
  color: var(--b2r-orange-ink);
  padding-top: 4px;
}
.b2r-steps h3 { margin: 0 0 5px; font-size: 1.04rem; font-weight: 600; color: var(--navy); }
.b2r-steps p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.b2r-steps .b2r-step-money {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(252, 108, 24, .12);
  color: var(--b2r-orange-ink);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .b2r-steps li { grid-template-columns: 1fr; gap: 6px; }
  .b2r-steps .b2r-step-no { padding-top: 0; }
}

/* What you leave with. */
.b2r-take {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.b2r-take li {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--b2r-orange);
  border-radius: var(--radius);
  background: var(--white);
}
.b2r-take strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 1rem; }
.b2r-take span { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* Hermes saying the practical bit. */
.b2r-aside {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 34px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.b2r-aside img { flex: none; width: 74px; height: auto; }
.b2r-aside p { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.6; }
.b2r-aside p strong { color: var(--navy); }
@media (max-width: 560px) {
  .b2r-aside { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* One more way onto the list, at the end of the pitch. */
.b2r-detail-cta { margin: 28px 0 0; }

/* ---------- who is running the day ---------- */
.b2r-host { padding-block: clamp(34px, 5vw, 56px) 0; }
.b2r-host-copy { max-width: 64ch; }
.b2r-host-copy .eyebrow { color: var(--b2r-orange-ink, #b34a08); }
.b2r-host-copy h2 { margin: 6px 0 12px; }
.b2r-host-copy p { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.b2r-host-credential {
  display: inline-block;
  margin-top: 4px;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.b2r-host-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.b2r-host-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f0efea;
}
/* Three tall portraits stacked would run the page on; on a phone they become
   landscape bands instead, cropped to keep his face in frame. */
@media (max-width: 620px) {
  .b2r-host-shots { grid-template-columns: 1fr; gap: 12px; }
  .b2r-host-shots img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; }
}
