/* 13 closing band. Owner: expense-band + closing builder.
   Warm-tone rebrand: a Summit Blue band (.section--summit) with the elevation pattern; the big V outline in Oatmeal, its
   pen and tip glow Sandstone; the advisor card is a white rounded card (the book's cards). Buttons: white with Summit
   text (6.24:1) beside the white ghost button; the Sandstone CTA is not used on Summit (the two fills are too close). */
.closing { overflow: hidden; }
.closing .stop { color: var(--oatmeal); }   /* Sandstone on Summit is 2.78:1; Oatmeal is 4.54:1 */
.closing__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 64px;
}
.closing__copy { position: relative; z-index: 1; flex: 1 1 480px; min-width: 0; max-width: 640px; }
.closing__lede { margin-top: 22px; max-width: 30em; font-size: 18px; color: rgba(255, 255, 255, .84); }  /* 4.96:1 */
.closing__actions { margin-top: 34px; }
.closing__btn { background: var(--white); color: var(--summit); }
.closing__btn:hover { background: var(--oatmeal-soft); color: var(--summit-deep); }
.closing .closing__btn:focus-visible { outline-color: var(--white); }

/* the advisor card, with the big line-art V centred behind it (the card sits in the V: arms above, tip below) */
.closing__aside { position: relative; flex: 0 1 380px; min-width: 0; }
.closing__v {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 121%;
  max-width: none; /* site.css caps svg at 100% of its box; this one is meant to be wider than the card */
  height: auto;
  transform: translate(-50%, -50%);
  overflow: visible; /* the glow at the tip may spill past the viewBox; the band clips it */
}
.closing__v-lines { stroke: var(--oatmeal); stroke-opacity: .6; }
.closing__v-hot { stroke: var(--sandstone-soft); }   /* the pen's hot trail: pale Sandstone, the brightest line */
.closing__card {
  position: relative;
  padding: 20px 22px 22px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-panel);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
/* the card is a light surface inside an .on-dark band: put the shared classes back to their light variants */
.closing__card .tag { background: var(--white); border-color: var(--line-scale); color: var(--charcoal); }
.closing__card .label { color: var(--muted); }
.closing__card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.closing__advisor { display: flex; align-items: center; gap: 16px; }
.closing__avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--summit-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--summit) 25%, transparent);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--summit);   /* 5.6:1 on Summit soft */
}
.closing__who { min-width: 0; }
.closing__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--ink); }
.closing__role { font-size: 14px; color: var(--text); }
.closing__next {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.closing__next .label { letter-spacing: .14em; }
.closing__time {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--summit);
}
/* stacked (phones): the V matches the card's width and the band keeps room under it for the tip and its glow */
@media (max-width: 720px) {
  .closing { padding-bottom: calc(var(--section-y) + 64px); }
  .closing__v { width: 100%; transform: translate(-50%, -54%); }
  .closing__aside { margin-top: 64px; }   /* room for the V's arms above the card, clear of the buttons */
}
