/* Home refinement, November 2026. Scoped so directory and profile pages keep their design. */
.juris-site .jh-home {
  --jh-paper: #f3efe7;
  --jh-muted: #405563;
  --jh-gold: #966400;
  --jh-ease: cubic-bezier(.23, 1, .32, 1);
  --jh-soft-teal: #edf7f7;
}
/* Give the home-page wordmark more presence without crowding the mobile controls. */
.juris-site.juris-home .topbar .brand img { width: 300px; height: 56px; }
@media (max-width: 959px) {
  .juris-site.juris-home .topbar .brand img { width: clamp(168px, calc(100vw - 152px), 240px); height: auto; }
}
html:has(.jh-home) { scroll-behavior: auto; }
.juris-site .jh-home ::selection { color: #fff; background: var(--jh-teal-dark); }
.juris-site .jh-home :is(h1,h2,h3) { letter-spacing: -.035em; }
.juris-site .jh-home .jh-heading h2 { font-weight: 700; }
.juris-site .jh-home .jh-heading-centered { text-align: left; }

/* A warmer opening, with the existing portrait and search as the main action. */
.juris-site .jh-home .jh-hero { padding: 48px 0 32px; background: #e5f1e9; }
.juris-site .jh-home .jh-hero-grid { grid-template-columns: 1.08fr 1fr; gap: 48px; }
.juris-site .jh-home .jh-hero-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.juris-site .jh-home .jh-hero-copy h1 span { color: var(--jh-teal-dark); font: normal 700 1em/1.25 var(--jh-font); letter-spacing: -.035em; }
.juris-site .jh-home .jh-hero-copy > p { max-width: 480px; font-size: 18px; line-height: 1.7; }
.juris-site .jh-home .jh-hero-media { overflow: hidden; border-radius: 12px; }
.juris-site .jh-home .jh-hero-media img { height: 376px; border-radius: 0; object-position: 56% 46%; }
.juris-site .jh-home .jh-search {
  margin-top: 32px; padding: 24px; gap: 28px;
  border: 0; border-radius: 12px; background: var(--jh-ink);
  box-shadow: none;
}
.juris-site .jh-home .jh-search-field > .jh-icon { color: #a1e4e5; }
.juris-site .jh-home .jh-search-field strong { font-size: 14px; color: #fff; }
.juris-site .jh-home .jh-search-field input {
  background: #fff; border-color: #fff; caret-color: var(--jh-teal-dark); text-overflow: ellipsis;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.juris-site .jh-home .jh-search-field input::placeholder { color: #546779; }
.juris-site .jh-home .jh-search-field input:focus { background: #fff; border-color: var(--jh-teal); }
.juris-site .jh-home .jh-popular { margin-top: 16px; padding-left: 0; gap: 4px 12px; }
.juris-site .jh-home .jh-popular > span { margin-right: 4px; color: var(--jh-muted); font-weight: 400; }
.juris-site .jh-home .jh-popular a {
  min-height: 36px; padding: 4px 14px; border: 1px solid #d1dcd9; border-radius: 24px;
  color: var(--jh-teal-dark); background: #f8fcf9; text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

/* Keep the existing grid while giving the portraits and names more presence. */
.juris-site .jh-home .jh-profiles { padding: 64px 0 40px; }
.juris-site .jh-home .jh-profile { padding: 0; border: 1px solid var(--jh-line); border-radius: 12px; background: var(--jh-white); overflow: hidden; }
.juris-site .jh-home .jh-profile-media { height: 240px; border-radius: 0; background: #e5eeea; }
.juris-site .jh-home .jh-profile-content { position: relative; padding: 24px; }
.juris-site .jh-home .jh-profile-video { position: absolute; top: 0; right: 24px; z-index: 2; margin: 0; transform: translateY(-50%); }
.juris-site .jh-home .jh-profile h3 { font-weight: 700; min-height: 52px; }
.juris-site .jh-home .jh-profile h3 a { display: inline-flex; min-height: 44px; align-items: flex-start; }
.juris-site .jh-home .jh-profile-initials { background: transparent; color: var(--jh-teal-dark); font: 700 48px/1 var(--jh-font); }
.juris-site .jh-home .jh-sponsored { background: var(--jh-teal-dark); border: 0; color: #fff; padding: 5px 10px; font-weight: 600; }
.juris-site .jh-home .jh-profile-city { color: var(--jh-muted); }
.juris-site .jh-home .jh-profile .jh-button { justify-content: space-between; padding: 14px 0 0; border: 0; border-top: 1px solid #cbd7d3; border-radius: 0; background: transparent; color: var(--jh-teal-dark); box-shadow: none; }
.juris-site .jh-home .jh-profile .jh-button .jh-icon { margin-left: auto; }

/* The three routes read from left to right, with direct, quiet affordances. */
.juris-site .jh-home .jh-journeys { padding: 40px 0 56px; }
.juris-site .jh-home .jh-journey-grid { gap: 24px; }
.juris-site .jh-home .jh-journey {
  display: grid; grid-template-columns: 48px 1fr 20px; align-content: start;
  gap: 8px 16px; padding: 24px 0; text-align: left; border-radius: 0;
  border-top: 1px solid var(--jh-line);
}
.juris-site .jh-home .jh-journey + .jh-journey::before { content: none; }
.juris-site .jh-home .jh-journey-icon {
  grid-column: 1; grid-row: 1/3; width: 48px; height: 48px; margin: 0;
  border-radius: 8px; background: var(--jh-soft-teal);
}
.juris-site .jh-home .jh-journey-icon .jh-icon { width: 24px; height: 24px; }
.juris-site .jh-home .jh-journey h3 { grid-column: 2; margin: 0; font-weight: 700; }
.juris-site .jh-home .jh-journey p { grid-column: 2; margin: 0; max-width: none; }
.juris-site .jh-home .jh-journey-arrow { grid-column: 3; grid-row: 1; color: var(--jh-teal); }
.juris-site .jh-home .jh-journey-arrow .jh-icon { width: 20px; height: 20px; }

.juris-site .jh-home .jh-domains { padding-top: 64px; }
.juris-site .jh-home .jh-domain-group { padding-block: 36px; }
.juris-site .jh-home .jh-group-intro h3 { font-weight: 700; }
.juris-site .jh-home .jh-group-intro > .jh-icon { width: 36px; height: 36px; }
.juris-site .jh-home .jh-domain {
  background: #f2f8f4; border-color: var(--jh-line); border-radius: 8px;
  transition: transform 180ms var(--jh-ease), background-color 180ms ease, border-color 180ms ease;
}
.juris-site .jh-home .jh-domain > .jh-icon:first-child { width: 26px; height: 26px; }
.juris-site .jh-home .jh-domain:last-child:nth-child(odd) { grid-column: 1 / -1; }
.juris-site .jh-home .jh-domain small { font-size: 14px; }
.juris-site .jh-home .jh-network { background: var(--jh-soft-teal); border-radius: 12px; padding: 28px 32px 32px; }
.juris-site .jh-home .jh-metrics strong { color: var(--jh-teal-dark); font-weight: 600; font-size: clamp(25px,2.5vw,36px); letter-spacing: -.035em; font-variant-numeric: lining-nums; }
.juris-site .jh-home .jh-editorial { padding-block: 64px; }
.juris-site .jh-home .jh-editorial h2 { font-size: clamp(30px,3.1vw,44px); font-weight: 600; line-height: 1.2; }
.juris-site .jh-home .jh-editorial li { padding-block: 8px; font-size: 16px; }
.juris-site .jh-home .jh-editorial li > span { border-color: #5d8c9d; }
.juris-site .jh-home .jh-testimonials { background: var(--jh-paper); padding-block: 64px; }
.juris-site .jh-home .jh-review { padding: 28px; border: 0; border-radius: 12px; }
.juris-site .jh-home .jh-review blockquote { color: var(--jh-ink); font-size: 16px; }
.juris-site .jh-home .jh-review-avatar { background: var(--jh-soft-teal); color: var(--jh-teal-dark); }
.juris-site .jh-home .jh-faq { padding-block: 72px; }
.juris-site .jh-home .jh-faq-list { gap: 0; border-top: 1px solid var(--jh-line); }
.juris-site .jh-home .jh-faq-item { border: 0; border-bottom: 1px solid var(--jh-line); border-radius: 0; }
.juris-site .jh-home .jh-faq-item summary { min-height: 80px; padding-inline: 16px; font-size: 15px; }
.juris-site .jh-home .jh-faq-item[open] { background: var(--jh-soft-teal); }
.juris-site .jh-home .jh-faq-item[open] summary { color: var(--jh-teal-dark); }
.juris-site .jh-home .jh-faq-item p { font-size: 15px; }
.juris-site .jh-home .jh-pro-cta { padding-block: 64px; background: var(--jh-teal-dark); }
.juris-site .jh-home .jh-pro-cta h2 { font-weight: 700; color: #fff; }
.juris-site .jh-home .jh-pro-cta p { color: #d8efed; }
.juris-site .jh-home .jh-pro-cta .jh-button { color: var(--jh-teal-dark); background: #fff; }

/* Motion is feedback: no scroll listeners, hidden sections or new dependencies. */
.juris-site .jh-home .jh-button {
  transition: transform 160ms var(--jh-ease), background-color 160ms ease, color 160ms ease;
}
.juris-site .jh-home :is(.jh-profile,.jh-journey) { transition: transform 180ms var(--jh-ease), border-color 180ms ease; }
.juris-site .jh-home :is(.jh-text-link,.jh-button,.jh-domain) > .jh-icon:last-child,
.juris-site .jh-home .jh-journey-arrow { transition: transform 180ms var(--jh-ease); }
.juris-site .jh-home .jh-profile-media img { transition: transform 240ms var(--jh-ease); }
.juris-site .jh-home .jh-text-link { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.juris-site .jh-home .jh-button:active { transform: scale(.98); }
.juris-site .jh-home .jh-button:focus-visible,
.juris-site .jh-home a:focus-visible,
.juris-site .jh-home summary:focus-visible { transition: none; }
@media (hover: hover) and (pointer: fine) {
  .juris-site .jh-home .jh-button:hover { transform: translateY(-1px); box-shadow: none; }
  .juris-site .jh-home .jh-button:active { transform: scale(.98); }
  .juris-site .jh-home :is(.jh-profile,.jh-journey,.jh-domain):hover { transform: translateY(-2px); }
  .juris-site .jh-home .jh-profile:hover { border-color: #8eadaa; }
  .juris-site .jh-home .jh-profile-media:hover img { transform: scale(1.025); }
  .juris-site .jh-home .jh-profile .jh-button:hover { color: var(--jh-ink); background: transparent; }
  .juris-site .jh-home .jh-domain:hover { background: var(--jh-teal-dark); border-color: var(--jh-teal-dark); color: #fff; }
  .juris-site .jh-home .jh-domain:hover :is(small,.jh-icon) { color: #fff; }
  .juris-site .jh-home .jh-popular a:hover { background: var(--jh-soft-teal); border-color: var(--jh-teal); }
  .juris-site .jh-home :is(.jh-text-link,.jh-button,.jh-domain):hover > .jh-icon:last-child,
  .juris-site .jh-home .jh-journey:hover .jh-journey-arrow { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .juris-site .jh-home .jh-hero-copy { animation: jh-home-arrive 520ms var(--jh-ease) both; }
  @keyframes jh-home-arrive { from { opacity: .82; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1199px) {
  .juris-site .jh-home .jh-hero-grid { gap: 32px; }
  .juris-site .jh-home .jh-hero-copy h1 { font-size: 40px; }
  .juris-site .jh-home .jh-hero-copy > p { font-size: 17px; }
  .juris-site .jh-home .jh-hero-media img { height: 320px; }
  .juris-site .jh-home .jh-profile-content { padding: 20px; }
  .juris-site .jh-home .jh-profile-media { height: 208px; }
  .juris-site .jh-home .jh-journey { grid-template-columns: 40px 1fr; gap: 12px; }
  .juris-site .jh-home .jh-journey-icon { width: 40px; height: 40px; }
  .juris-site .jh-home .jh-journey-arrow { display: none; }
}
@media (max-width: 959px) {
  .juris-site .jh-home .jh-hero { padding-top: 40px; }
  .juris-site .jh-home .jh-hero-grid { gap: 24px; }
  .juris-site .jh-home .jh-hero-copy h1 { font-size: 30px; }
  .juris-site .jh-home .jh-hero-media img { height: 288px; }
  .juris-site .jh-home .jh-search { gap: 20px; }
  .juris-site .jh-home .jh-profile-media { height: 240px; }
  .juris-site .jh-home .jh-profile h3 { min-height: 0; }
  .juris-site .jh-home .jh-journey { grid-template-columns: 1fr; }
  .juris-site .jh-home .jh-journey-icon { grid-row: auto; }
  .juris-site .jh-home .jh-journey :is(h3,p) { grid-column: 1; }
  .juris-site .jh-home .jh-review { padding: 20px; }
}
@media (max-width: 699px) {
  .juris-site .jh-home .jh-hero { padding: 32px 0 24px; }
  .juris-site .jh-home .jh-hero-grid { grid-template-columns: 1fr; }
  .juris-site .jh-home .jh-hero-copy h1 { font-size: clamp(28px,7.7vw,44px); line-height: 1.3; margin-bottom: 18px; }
  .juris-site .jh-home .jh-hero-copy > p { font-size: 16px; }
  .juris-site .jh-home .jh-search { margin-top: 24px; padding: 20px 16px; gap: 18px; }
  .juris-site .jh-home .jh-search-field strong { font-size: 13px; }
  .juris-site .jh-home .jh-popular { gap: 8px; font-size: 13px; }
  .juris-site .jh-home .jh-popular > span { width: 100%; margin-bottom: 0; }
  .juris-site .jh-home .jh-popular a { min-height: 44px; padding-inline: 12px; }
  .juris-site .jh-home .jh-profiles { padding: 40px 0 24px; }
  .juris-site .jh-home .jh-profile-media { height: 240px; }
  .juris-site .jh-home .jh-profile-content { padding: 24px; }
  .juris-site .jh-home .jh-journeys { padding: 24px 0 32px; }
  .juris-site .jh-home .jh-journey-grid { gap: 0; }
  .juris-site .jh-home .jh-journey { grid-template-columns: 40px 1fr; border-bottom: 0; padding-block: 20px; }
  .juris-site .jh-home .jh-journey-icon { grid-row: 1/3; }
  .juris-site .jh-home .jh-journey :is(h3,p) { grid-column: 2; }
  .juris-site .jh-home .jh-domains { padding-top: 40px; }
  .juris-site .jh-home .jh-domain-group { padding-block: 28px; }
  .juris-site .jh-home .jh-domain small { font-size: 13px; }
  .juris-site .jh-home .jh-network { padding: 24px; }
  .juris-site .jh-home :is(.jh-editorial,.jh-testimonials,.jh-pro-cta) { padding-block: 40px; }
  .juris-site .jh-home .jh-faq { padding-block: 48px; }
  .juris-site .jh-home .jh-faq-item summary { padding-inline: 12px; font-size: 14px; }
  .juris-site .jh-home .jh-faq-item p { padding-inline: 12px; }
  .juris-site .jh-home .jh-review { padding: 24px; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .juris-site .jh-home :is(.jh-button,.jh-profile,.jh-journey,.jh-domain),
  .juris-site .jh-home .jh-profile-media img,
  .juris-site .jh-home :is(.jh-text-link,.jh-button,.jh-domain) > .jh-icon:last-child,
  .juris-site .jh-home .jh-journey-arrow { transform: none !important; }
}

@media (max-width: 359px) {
  .juris-site .jh-home .jh-hero { padding-top: 24px; }
  .juris-site .jh-home .jh-hero-copy h1 { font-size: 28px; margin-bottom: 14px; }
  .juris-site .jh-home .jh-hero-copy > p { line-height: 1.6; }
  .juris-site .jh-home .jh-search { margin-top: 20px; padding: 16px; gap: 14px; }
}

/* The form stays legible on its stronger surface, including keyboard focus. */
.juris-site .jh-home .jh-search :is(input,button):focus-visible { outline-color: #a1e4e5; }
.juris-site .jh-home .jh-pro-cta .jh-button:focus-visible { outline-color: #fff; }
.juris-site .jh-home .jh-profile-media:focus-visible { outline-offset: -5px; }
@media (hover: hover) and (pointer: fine) {
  .juris-site .jh-home .jh-pro-cta .jh-button:hover { background: #d8efed; }
}

/* Keep the supplied film fully visible, including its illustrated search bar. */
.juris-site .jh-home .jh-hero-media.jh-hero-video { position: relative; display: block; grid-row: auto; }
.juris-site .jh-home .jh-hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #e5f1e9; }
.juris-site .jh-home .jh-video-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid #c4d8d1; border-radius: 8px; background: #fff; color: var(--jh-ink); font: 600 12px/1.4 var(--jh-body); cursor: pointer; }
.juris-site .jh-home .jh-video-toggle:hover { background: #edf7f5; }
.juris-site .jh-home .jh-video-toggle:focus-visible { outline: 3px solid var(--jh-teal-dark); outline-offset: 3px; }
.juris-site .jh-home .jh-video-toggle[hidden] { display: none; }
