/* ============================================================
   Bright layer, the lighter homepage design.
   Joe chose it as THE homepage on 2026-10-22 (index.html).
   Loaded AFTER styles.css, on the homepage only. The other
   pages still open with the navy page-hero; rolling the lighter
   treatment across them is a separate, unrequested step.
   ============================================================ */

:root {
  --paper:    #fffdf9;   /* lightest warm white, above the fold */
  --tint:     #f6efe4;   /* soft warm tint for panels           */
  --line-2:   #ece4d5;
}

/* ---------- Light hero ---------- */
.hero-light {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 62%, var(--cream-2) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* faint lone star watermark, warm instead of the old dark one */
.hero-light::before {
  content: "";
  position: absolute; right: -80px; top: -60px; width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(201, 150, 47, .13), transparent 68%);
  pointer-events: none;
}
.hero-light .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px;
  align-items: end; padding-top: 48px;
}
.hero-copy { align-self: center; padding-bottom: 48px; }
.hero-light .eyebrow { color: var(--sunset); }
.hero-light h1 { color: var(--ink); max-width: 15ch; }
.hero-light h1 .accent { color: var(--sunset); }
.hero-light p.lede { font-size: 1.22rem; max-width: 46ch; color: var(--ink-soft); }

/* the human line, promoted out of the attorneys page */
.hero-promise {
  margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--gold);
  font-family: "Libre Baskerville", Georgia, serif; font-size: 1.08rem;
  line-height: 1.5; color: var(--ink);
}

.hero-light .hero-trust {
  color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  font-size: .88rem; align-items: start;
}
.hero-light .hero-trust strong { font-size: 1.4rem; margin-bottom: 2px; }
.hero-light .hero-trust strong { color: var(--ink); }

/* photo column: Joe stands on the base of the section, on a navy plinth.
   The container is constrained to the photo's own width so the navy panel
   below is positioned against the photo and not against the grid column,
   which is wider and would leave the navy hanging out to the left. */
.hero-photo {
  position: relative; align-self: end;
  width: 100%; max-width: 430px; margin-left: auto;
}

/* navy block behind and below the photo. Brings the brand color back into the
   hero so the lighter palette does not read as washed out, and gives the photo
   something to sit on instead of floating in cream. */
/* REMOVED 2026-08-20: a navy block behind the photo. Tried centered (read as a
   border starting halfway down) and offset down-right (read as a stray
   rectangle). Both looked like mistakes. The photo carries itself, and the
   navy stat band lower down supplies the brand weight the hero was reaching
   for. Do not reintroduce a decorative block here without a better idea. */

/* height:auto is load-bearing. The <img> carries width/height attributes, and
   without it the attribute height wins and the photo renders squeezed. */
.hero-photo img {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 30px 70px rgba(15, 27, 45, .22);
}
.hero-badge {
  position: absolute; left: -10px; bottom: 40px; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 14px 18px 14px 14px;
  display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero-badge svg { width: 30px; height: 30px; flex: none; }
.hero-badge span { font-size: .93rem; line-height: 1.35; color: var(--ink); font-weight: 600; }

/* ---------- Light replacements for the dark slabs ---------- */
.section-paper { background: var(--paper); }
.section-tint  { background: var(--tint); }

/* the old .section-ink treatment, inverted to light */
/* sits between two warm bands, so it runs brighter to keep them apart */
.section-light-cta { background: var(--paper); border-block: 1px solid var(--line); }
.section-light-cta .eyebrow { color: var(--sunset); }
.section-light-cta h2 { color: var(--ink); }
.section-light-cta .lead { color: var(--ink-soft); }

/* stat band, was navy, now hairlines on warm white */
.stats-light { background: var(--paper); border-block: 1px solid var(--line); }
.stats-light .stat strong { color: var(--sunset); }
.stats-light .stat span { color: var(--muted); }
.stats-light .stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Note from Joe ---------- */
.note {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 44px; max-width: 780px; margin-inline: auto;
}
.note p { font-size: 1.08rem; color: var(--ink-soft); }
.note p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.note .signoff { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.note .signoff strong {
  display: block; font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem; color: var(--ink);
}
.note .signoff span {
  display: block; color: var(--sunset); font-weight: 700;
  font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 3px;
}

/* ---------- Ask a Question band ---------- */
.ask-band { border-block: 1px solid var(--line); }
.ask-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.ask-band .eyebrow { color: var(--sunset); }
.ask-band .lead { color: var(--ink-soft); }
.ask-note { font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.ask-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.ask-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ask-examples li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 14px 18px;
  font-family: "Libre Baskerville", Georgia, serif; font-size: .96rem;
  line-height: 1.45; color: var(--ink-soft);
}

@media (max-width: 900px) {
  .ask-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Promise panel (replaces the navy pull-quote box) ---------- */
.promise-panel {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px; text-align: center; box-shadow: none;
  display: flex; flex-direction: column; justify-content: center; aspect-ratio: auto;
}
.promise-panel .bp-star { width: 54px; height: 54px; margin: 0 auto 18px; display: block; }
.promise-panel p {
  font-family: "Libre Baskerville", Georgia, serif; font-size: 1.3rem;
  line-height: 1.4; color: var(--ink); margin: 0 0 14px;
}
.promise-panel span {
  color: var(--sunset); font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: .78rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .hero-copy { padding-bottom: 34px; }
  /* cap the CONTAINER, never the img, so the navy panel stays glued to the photo */
  .hero-photo { max-width: 340px; margin-inline: auto; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: 24px; }
  .note { padding: 30px 26px; }
}
@media (max-width: 680px) {
  .hero-photo { max-width: 280px; }
  .hero-badge { position: static; transform: none; margin: 18px auto 0; }
  .stats-light .stat + .stat { border-left: 0; }
}

/* ============================================================
   2026-10-21 additions, borrowed from the Einstein preview:
   hero highlights line, reviews carousel, office card with map.
   ============================================================ */

/* ---------- Hero highlights (under the headline) ---------- */
.hero-highlights {
  list-style: none; margin: 18px 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-highlights li {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: .82rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.hero-highlights li::before {
  content: ""; width: 12px; height: 12px; flex: none;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.hero-highlights a { color: inherit; text-decoration: none; }
.hero-highlights a:hover { color: var(--sunset); }

/* ---------- Reviews carousel ---------- */
.rv-summary { margin-top: 6px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.rv-summary .rv-stars { margin-right: 6px; }
.rv-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }

.rv-carousel { position: relative; }
.rv-track {
  list-style: none; margin: 0; padding: 6px 2px 18px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  align-items: start;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-card {
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 22px 18px;
}
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--tint); color: var(--ink); font-weight: 700; font-size: 1.05rem;
  border: 1px solid var(--line-2);
}
.rv-who strong { display: block; color: var(--ink); font-size: .98rem; }
.rv-who span { display: block; color: var(--muted); font-size: .8rem; }
.rv-text {
  margin: 8px 0 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-card.open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more {
  margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--sunset); font-weight: 700; font-size: .88rem;
}
.rv-nav {
  position: absolute; top: 40%; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.rv-nav:hover { color: var(--sunset); }
.rv-prev { left: -20px; }
.rv-next { right: -20px; }

/* ---------- Office card + map ---------- */
.office-band { border-top: 1px solid var(--line); }
.office-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: stretch; }
.office-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 36px;
}
.office-card .eyebrow { color: var(--sunset); }
.office-card h2 { margin-bottom: 10px; }
.office-status {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 700;
}
.office-status.is-open { background: #e6f4ea; color: #1e6b34; }
.office-status.is-closed { background: var(--tint); color: var(--ink-soft); }
.office-card address { font-style: normal; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.office-facts { margin: 0 0 22px; display: grid; gap: 10px; }
.office-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.office-facts dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.office-facts dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.office-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.office-map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); min-height: 340px; background: var(--tint);
}
.office-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

@media (max-width: 900px) {
  .rv-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .office-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .rv-track { grid-auto-columns: 86%; }
  .rv-nav { display: none; }
  .office-card { padding: 26px 22px; }
  .office-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Memberships & recognition (2026-10-21) ---------- */
.badge-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0; }
.badge-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px;
  justify-content: center;
}
.badge-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
}
.badge-mark {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif; font-weight: 700; font-size: .9rem; letter-spacing: .5px;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--gold);
}
.badge-text { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.badge-text strong { color: var(--ink); font-size: .92rem; }
@media (max-width: 900px) {
  .badge-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Explore row (2026-10-22) ---------- */
.explore-band { background: var(--paper); padding: 4px 0 30px; border-bottom: 1px solid var(--line); }
.explore-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.explore-row a {
  display: flex; align-items: center; gap: 12px; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s;
}
.explore-row a:hover { border-color: var(--gold); transform: translateY(-2px); }
.explore-row svg { width: 26px; height: 26px; flex: none; color: var(--sunset); }
.explore-row strong { display: block; font-size: .98rem; }
.explore-row span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.explore-row span strong { color: var(--ink); }
.badge-band { border-bottom: 0; }

/* ---------- Ask + Know Your Pay (2026-10-22) ---------- */
.ask-watch { border-block: 1px solid var(--line); }
.ask-watch .eyebrow { color: var(--sunset); }
.ask-watch .lead { color: var(--ink-soft); }
.ask-watch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.ask-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 30px; display: grid; gap: 8px;
}
.ask-box label { font-weight: 600; font-size: .95rem; color: var(--ink); margin-top: 6px; }
.ask-box textarea, .ask-box input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.ask-box textarea:focus, .ask-box input:focus { outline: 2px solid var(--sunset); border-color: var(--sunset); }
.ask-box .btn { margin-top: 10px; width: 100%; }
.ask-fine { font-size: .8rem; color: var(--muted); line-height: 1.45; margin: 6px 0 0; }
.watch h3 { margin: 0 0 14px; font-family: "Libre Baskerville", Georgia, serif; color: var(--ink); }
.watch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 16px; }
.watch-pair .vid-play, .watch-pair .vid-mic { transform: translate(-50%, -50%) scale(.75); }
.watch-pair .vid-title { font-size: .92rem; margin-top: 8px; }

@media (max-width: 900px) {
  .explore-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-watch-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .explore-row { grid-template-columns: 1fr; gap: 10px; }
  .ask-box { padding: 22px 20px; }
}
