/* just advising — marketing homepage
   Implements the two-artboard design handoff (SITE DESKTOP.dc.html / 1440
   and SITE MOBILE.dc.html / 390) collapsed into one responsive sheet.
   Everything above the MOBILE ONLY block is the desktop layout; the phone
   artboard's values live in that block, following the same ~760px
   breakpoint the rest of the design system already uses. */

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--ja-background);
  font-family: var(--font-sans);
  color: var(--ja-text);
}

a {
  color: var(--ja-main);
}
a:hover {
  color: var(--ja-accent);
}

/* Buttons used as accordion triggers cover a large tap area; suppress the
   browser's default grey tap-highlight rectangle so opening a panel doesn't
   flash a box over it first. */
.ja-topic-item,
.ja-value-panel,
.ja-work-card,
.ja-burger {
  -webkit-tap-highlight-color: transparent;
}

@keyframes jaFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes jaPop {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- header ---------- */

/* The sticky positioning lives on this wrapper (not .ja-header itself) so
   the mobile dropdown panel — a sibling of .ja-header, not a child, since
   it needs to break out of the header's row layout — stays pinned directly
   under the header and visible at any scroll position, instead of sitting
   wherever the header would have been in normal document flow. */
.ja-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
}

.ja-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px clamp(20px, 4vw, 48px);
  background: var(--ja-background);
  border-bottom: 1px solid var(--ja-hairline);
  transition: padding 240ms ease-out, background-color 240ms ease-out, border-color 240ms ease-out;
}

.ja-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.ja-logo img {
  height: clamp(38px, 3.4vw, 52px);
  width: auto;
  display: block;
  transition: height 240ms ease-out;
}

.ja-logo span {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(27px, 2.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  max-width: 400px;
  opacity: 1;
  transition: opacity 200ms ease-out, max-width 240ms ease-out;
}

.ja-logo em {
  font-style: italic;
}

.ja-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 2.5vw, 32px);
}

.ja-nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ja-text);
  text-decoration: none;
}
.ja-nav a:hover {
  color: var(--ja-main);
}

.ja-nav a.is-active {
  color: var(--ja-main);
  border-bottom: 1px solid var(--ja-accent);
  padding-bottom: 2px;
}

.ja-nav .ja-cta--nav {
  color: var(--ja-background);
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 44% 56% 38% 62% / 52% 40% 60% 48%;
}
.ja-nav .ja-cta--nav:hover {
  color: var(--ja-background);
}

@media (min-width: 761px) {
  .ja-header.is-scrolled {
    padding: 10px clamp(20px, 4vw, 48px);
    background: rgba(248, 245, 242, 0.82);
    border-bottom-color: rgba(227, 218, 208, 0.6);
  }
  .ja-header.is-scrolled .ja-logo img {
    height: clamp(30px, 2.4vw, 36px);
  }
  .ja-header.is-scrolled .ja-logo span {
    opacity: 0;
    max-width: 0;
  }
}

/* Hamburger and its panel — off until the mobile block turns them on. */
.ja-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: none;
  cursor: pointer;
  flex: none;
}

.ja-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ja-main);
  border-radius: 2px;
}

.ja-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ja-background);
  border-bottom: 1px solid var(--ja-hairline);
}

.ja-mobile-nav a {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ja-text);
  text-decoration: none;
  text-align: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ja-hairline);
}
.ja-mobile-nav a:last-child {
  border-bottom: none;
}
.ja-mobile-nav a:hover {
  color: var(--ja-main);
}
.ja-mobile-nav a.is-active {
  color: var(--ja-main);
}

/* Nav-link anchor targets: offset so the sticky header doesn't cover the
   top of the section when a nav link jumps here. */
#values,
#recognition,
#work-together {
  scroll-margin-top: 100px;
}

/* ---------- hero ---------- */

.ja-hero {
  position: relative;
  /* 460/62vh/760 plus a flat 77px so the second headline line added below
     doesn't eat into the surrounding whitespace (see .ja-hero-line2) —
     everything else in the hero keeps its exact original spacing. */
  min-height: clamp(calc(460px + 77px), calc(62vh + 77px), calc(760px + 77px));
  overflow: hidden;
}

.ja-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.ja-hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 72% 80% at 50% 50%,
    rgba(45, 29, 38, 0.88) 0%, rgba(45, 29, 38, 0.76) 45%,
    rgba(45, 29, 38, 0.48) 73%, rgba(45, 29, 38, 0.15) 100%);
}

.ja-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(248, 245, 242, 0) 0%, var(--ja-background) 100%);
}

.ja-hero-content {
  position: relative;
  z-index: 1;
  min-height: clamp(calc(460px + 77px), calc(62vh + 77px), calc(760px + 77px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 8vh, 80px) clamp(20px, 5vw, 64px);
  max-width: min(1200px, 86vw);
  margin: 0 auto;
}

.ja-hero-content h1 {
  font-family: var(--font-serif);
  color: var(--ja-background);
  font-weight: 400;
  margin: 0 0 24px;
}
.ja-hero-line1,
.ja-hero-line2 {
  display: block;
  font-size: min(58px, 5vw);
  line-height: 1.1;
  white-space: nowrap;
}
.ja-hero-line1 {
  /* Matches .ja-hero-content h1's own 24px margin-bottom, so the gap
     between the two headline lines equals the gap from the headline
     to the subhead below it. */
  margin-bottom: 24px;
}

.ja-hero-sub {
  font-family: var(--font-sans);
  color: var(--ja-background);
  font-size: max(16px, min(24px, 2.2vw));
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: none;
}

.ja-location {
  display: block;
  margin-top: 12px;
  font-size: min(17px, 1.9vw);
  color: var(--ja-background);
}

.ja-hero-spacer {
  height: 48px;
}

/* ---------- section 1: value proposition ---------- */

.ja-just-advice {
  background: var(--ja-background);
  padding: 16px clamp(20px, 5vw, 40px) clamp(72px, 10vw, 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.ja-just-advice-line1 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
  max-width: 100%;
  text-align: center;
}
.ja-jline1-group {
  display: block;
  white-space: nowrap;
}
.ja-jline1-em {
  display: block;
}
.ja-jline1-em em,
.ja-jline1-group em {
  font-style: italic;
}

.ja-just-advice-line2 {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.6;
  margin: 0;
  max-width: min(1300px, 92vw);
  text-align: center;
}
.ja-just-advice-line2 em {
  font-style: italic;
}

/* ---------- section 2: values ---------- */

.ja-values {
  background: var(--ja-background);
  padding: 48px clamp(20px, 5vw, 64px) clamp(72px, 10vw, 112px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.ja-values-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
}
.ja-values-leaf--left {
  left: min(-28px, -2.4vw);
  top: 4px;
  width: clamp(236px, 20vw, 380px);
  opacity: 0.5;
  transform: rotate(-18deg);
}
.ja-values-leaf--right {
  right: min(-24px, -2vw);
  top: 16px;
  width: clamp(204px, 18vw, 340px);
  opacity: 0.45;
  transform: rotate(28deg) scaleX(-1);
}

.ja-values-headline {
  position: relative;
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(25px, 3.2vw, 46px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0 auto;
  width: max-content;
  max-width: min(1000px, 90vw);
  text-align: left;
}
.ja-values-headline-row {
  display: block;
}
.ja-cycling-word {
  display: inline-block;
  min-width: 9.2em;
  text-align: left;
  color: var(--ja-accent);
  font-style: italic;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease-out, transform 260ms ease-out;
}
.ja-cycling-word.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
}

.ja-value-block {
  position: relative;
  margin-top: 24px;
  width: min(1280px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ja-value-block + .ja-value-block {
  margin-top: 8px;
}

.ja-value-panel {
  cursor: pointer;
  outline: none;
  width: min(1000px, 80vw);
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  padding: clamp(30px, 3.2vw, 46px) clamp(60px, 7vw, 110px);
  border: 2px solid var(--ja-main-tint);
  background: transparent;
  border-radius: var(--rd);
  transform: translateX(0);
  appearance: none;
  font: inherit;
  color: inherit;
  transition: border-radius 420ms cubic-bezier(0.22, 0.68, 0.32, 1),
    background-color 300ms ease-out, border-color 300ms ease-out,
    transform 360ms cubic-bezier(0.22, 0.68, 0.32, 1);
}
.ja-value-panel.is-open {
  border-color: var(--ja-main);
  background: rgba(209, 195, 209, 0.34);
  border-radius: var(--rd-open);
  transform: translateX(clamp(6px, 0.8vw, 14px));
}

.ja-value-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
}

.ja-value-panel-title {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.ja-value-panel.is-open .ja-marker {
  width: clamp(18px, 1.6vw, 24px);
  height: clamp(18px, 1.6vw, 24px);
}

.ja-value-wrap {
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 460ms cubic-bezier(0.22, 0.68, 0.32, 1);
}
.ja-value-block.is-open .ja-value-wrap {
  grid-template-rows: 1fr;
}

.ja-value-row {
  display: flex;
  min-height: 0;
  overflow: hidden;
  gap: clamp(16px, 2.4vw, 40px);
  justify-content: center;
  align-items: stretch;
  padding-top: 0;
  transition: padding-top 460ms cubic-bezier(0.22, 0.68, 0.32, 1);
}
.ja-value-block.is-open .ja-value-row {
  padding-top: clamp(16px, 1.8vw, 26px);
}

.ja-value-sub {
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  box-sizing: border-box;
  aspect-ratio: 1 / 0.72;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2% 4.5%;
  border: 2px solid transparent;
  background: transparent;
  border-radius: var(--rd);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 560ms cubic-bezier(0.22, 0.68, 0.32, 1),
    border-color 300ms ease-out, background-color 420ms ease-out;
}
.ja-value-sub h4 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
}
.ja-value-sub p {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
  text-align: center;
}

.ja-value-block.is-open .ja-value-sub {
  border-color: var(--ja-support);
  background: var(--ja-support-tint);
  clip-path: circle(88% at 50% 50%);
}
.ja-value-block.is-open .ja-value-sub--a,
.ja-value-block.is-open .ja-value-sub--c {
  transition-delay: 0ms, 0ms, 220ms;
}
.ja-value-block.is-open .ja-value-sub--b,
.ja-value-block.is-open .ja-value-sub--d {
  transition-delay: 140ms, 140ms, 360ms;
}

.ja-value-vs {
  flex: 0 0 auto;
  align-self: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ja-main);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1;
  opacity: 0;
  transition: opacity 320ms ease-out;
}
.ja-value-block.is-open .ja-value-vs {
  opacity: 1;
  transition-delay: 380ms;
}

/* ---------- shared: accordion trigger marker (plus/minus) ---------- */

.ja-marker {
  flex: 0 0 auto;
  display: block;
  overflow: visible;
  width: clamp(11px, 1vw, 15px);
  height: clamp(11px, 1vw, 15px);
  transition: width 340ms cubic-bezier(0.22, 0.68, 0.32, 1),
    height 340ms cubic-bezier(0.22, 0.68, 0.32, 1);
}
.ja-marker path {
  fill: none;
  stroke: var(--ja-support);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 260ms ease-out;
}
.is-open .ja-marker {
  width: clamp(16px, 1.4vw, 22px);
  height: clamp(16px, 1.4vw, 22px);
}
.is-open .ja-marker path {
  stroke: var(--ja-accent);
}

/* ---------- section 3: recognition ---------- */

.ja-recognition {
  background: var(--ja-background);
  padding: 8px clamp(20px, 5vw, 48px) 56px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.ja-recognition-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.ja-recognition-group h2 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(23px, 2.8vw, 40px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.ja-pebble-row {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(34px, 4.6vw, 66px);
  justify-content: center;
  align-items: center;
  padding: 58px 0;
}

.ja-pebble {
  position: relative;
  flex: 0 0 auto;
  width: clamp(214px, 18vw, 300px);
  height: clamp(214px, 18vw, 300px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 22px;
  border: 2px solid;
  border-radius: var(--rd);
  background-size: cover;
  background-position: center;
  animation: jaFade 0.9s ease-out both;
}
.ja-pebble--main {
  border-color: var(--ja-main);
  background-color: var(--ja-main-tint);
  background-image:
    radial-gradient(ellipse 76% 58% at 50% 50%, rgba(209, 195, 209, 0.86) 0%, rgba(209, 195, 209, 0.72) 55%, rgba(209, 195, 209, 0) 100%),
    linear-gradient(rgba(209, 195, 209, 0.5), rgba(209, 195, 209, 0.5)),
    var(--photo);
}
.ja-pebble--text {
  border-color: var(--ja-text);
  background-color: var(--ja-text-tint);
  background-image:
    radial-gradient(ellipse 76% 58% at 50% 50%, rgba(232, 218, 178, 0.86) 0%, rgba(232, 218, 178, 0.72) 55%, rgba(232, 218, 178, 0) 100%),
    linear-gradient(rgba(232, 218, 178, 0.5), rgba(232, 218, 178, 0.5)),
    var(--photo);
}

.ja-pebble p {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.ja-dot {
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  border: 2px solid;
  border-radius: var(--rd);
  animation: jaPop 0.45s ease-out both;
}
.ja-pebble--main .ja-dot {
  background: var(--ja-main-tint);
  border-color: var(--ja-main);
}
.ja-pebble--text .ja-dot {
  background: var(--ja-text-tint);
  border-color: var(--ja-text);
}

.ja-recognition-closing {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.3;
  font-weight: 400;
  margin: 56px 0 0;
  text-align: center;
}

.ja-such-as {
  display: flex;
  justify-content: center;
  margin: -18px 0 -34px;
}
.ja-such-as img {
  width: clamp(96px, 10vw, 148px);
  height: auto;
  display: block;
  transform: translateX(clamp(140px, 16vw, 300px));
}

@media (prefers-reduced-motion: reduce) {
  .ja-pebble,
  .ja-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- section 4: topic rows ---------- */

.ja-topics {
  background: var(--ja-background);
  padding: 0 clamp(12px, 2.5vw, 32px) 72px;
  max-width: min(1560px, 97vw);
  margin: 0 auto;
}

.ja-topic-list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 14px);
}

.ja-topic-row {
  display: grid;
  align-items: stretch;
  gap: clamp(14px, 1.6vw, 28px);
  grid-template-columns: minmax(0, 0.26fr) minmax(0, 0.74fr);
}

.ja-topic-item {
  cursor: pointer;
  outline: none;
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: block;
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: center;
  padding: clamp(30px, 3vw, 44px) clamp(40px, 4.5vw, 70px);
  border: 2px solid var(--ja-main-tint);
  background: transparent;
  border-radius: var(--rd);
  transition: border-radius 420ms cubic-bezier(0.22, 0.68, 0.32, 1),
    background-color 300ms ease-out, border-color 300ms ease-out;
}
.ja-topic-item.is-open {
  border-color: var(--ja-main);
  background: rgba(209, 195, 209, 0.34);
  border-radius: var(--rd-open);
}

.ja-topic-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 22px);
}

.ja-topic-item h3 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
}

.ja-topic-intro {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.65;
  margin: 14px auto 0;
  max-width: 34ch;
  text-align: center;
}

.ja-topic-detail {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ja-topic-circle-row {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.1vw, 18px);
  min-width: 0;
  width: 100%;
  height: 80%;
}

.ja-topic-circle {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  height: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1vw, 18px) clamp(8px, 0.8vw, 14px);
  border: 2px solid transparent;
  background: transparent;
  border-radius: var(--rd);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 520ms cubic-bezier(0.22, 0.68, 0.32, 1),
    border-color 280ms ease-out, background-color 400ms ease-out;
}
.ja-topic-circle p {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  text-align: center;
}

.ja-topic-row.is-open .ja-topic-circle {
  border-color: var(--ja-support);
  background: rgba(138, 154, 91, 0.14);
  clip-path: circle(120% at 50% 50%);
}
.ja-topic-row.is-open .ja-topic-circle:nth-child(1) { transition-delay: 0ms, 0ms, 180ms; }
.ja-topic-row.is-open .ja-topic-circle:nth-child(2) { transition-delay: 100ms, 100ms, 280ms; }
.ja-topic-row.is-open .ja-topic-circle:nth-child(3) { transition-delay: 200ms, 200ms, 380ms; }
.ja-topic-row.is-open .ja-topic-circle:nth-child(4) { transition-delay: 300ms, 300ms, 480ms; }

.ja-topics-closing {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(23px, 2.8vw, 40px);
  line-height: 1.4;
  font-weight: 400;
  margin: 64px auto 0;
  border: 2px solid var(--ja-main);
  border-radius: 64% 36% 58% 42% / 46% 62% 38% 54%;
  padding: clamp(56px, 5vw, 84px) clamp(64px, 6vw, 110px);
  max-width: min(1010px, 76vw);
  text-align: center;
}
.ja-topics-closing em {
  display: block;
  font-style: italic;
  margin-top: 0.6em;
}

/* ---------- shared: CTA pebble ---------- */

.ja-cta {
  display: block;
  width: max-content;
  max-width: 100%;
  text-align: center;
  background: var(--ja-accent);
  border: 2px solid var(--ja-accent);
  color: var(--ja-background);
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}
.ja-cta:hover {
  background: var(--ja-accent-strong);
  border-color: var(--ja-accent-strong);
  color: var(--ja-background);
}

.ja-cta--topics {
  margin: 40px auto 0;
  padding: 26px 44px;
  font-size: 17px;
  border-radius: 52% 14% 46% 18% / 44% 52% 38% 48%;
}
.ja-cta--values {
  margin-top: 40px;
  padding: 26px 44px;
  font-size: 17px;
  border-radius: 18% 48% 20% 54% / 50% 40% 52% 44%;
}
.ja-cta--work {
  margin-top: 8px;
  padding: 26px 44px;
  font-size: 17px;
  border-radius: 46% 20% 54% 16% / 40% 50% 42% 54%;
}

/* ---------- section 5: engagement models ---------- */

.ja-work-together {
  background: var(--ja-background);
  padding: 8px clamp(20px, 5vw, 64px) clamp(72px, 10vw, 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.ja-work-together h2 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(25px, 3.2vw, 46px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.ja-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 3vw, 48px);
  width: 100%;
  max-width: min(1400px, 92vw);
  margin: 0 auto;
  align-items: stretch;
}

.ja-work-card {
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  appearance: none;
  font: inherit;
  color: inherit;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(36px, 2.8vw, 54px) clamp(56px, 5vw, 90px) clamp(52px, 4vw, 76px);
  background: none;
  border: none;
}

.ja-work-card--onetime {
  border: 2px solid var(--ja-main-tint);
  background: transparent;
  border-radius: var(--rd);
  transition: border-radius 420ms cubic-bezier(0.22, 0.68, 0.32, 1),
    background-color 300ms ease-out, border-color 300ms ease-out;
}
.ja-work-card--onetime.is-open {
  border-color: var(--ja-main);
  background: rgba(209, 195, 209, 0.34);
  border-radius: var(--rd-open);
}

.ja-work-blob {
  position: absolute;
  left: 0;
  top: -40px;
  width: 100%;
  height: calc(100% + 72px);
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.ja-work-blob path {
  fill: transparent;
  stroke: var(--ja-main-tint);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: fill 300ms ease-out, stroke 300ms ease-out;
}
.ja-work-card--ongoing.is-open .ja-work-blob path {
  fill: rgba(209, 195, 209, 0.34);
  stroke: var(--ja-main);
}

.ja-work-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 22px);
}

.ja-work-card h3 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
}

.ja-work-intro {
  position: relative;
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.7;
  margin: 0;
  text-align: center;
  width: 100%;
  display: block;
}
.ja-work-card.is-open .ja-work-intro {
  display: none;
}

.ja-work-panel {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}
.ja-work-card.is-open .ja-work-panel {
  display: flex;
}

.ja-work-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.ja-work-block h4 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
}
.ja-work-block p {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  margin: 4px 0 0;
  text-align: center;
}

.ja-underline {
  display: block;
  width: clamp(120px, 60%, 220px);
  height: 8px;
  overflow: visible;
}
.ja-underline path {
  fill: none;
  stroke: var(--ja-support);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ---------- section 6: disclosures footer ---------- */

.ja-disclosures {
  background: var(--ja-text);
  padding: 72px clamp(20px, 5vw, 64px) 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ja-disclosures-donkey {
  position: absolute;
  right: clamp(8px, 3vw, 40px);
  top: 24px;
  width: clamp(200px, 26vw, 340px);
  height: auto;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ja-disclosures-name {
  font-family: var(--font-serif);
  color: var(--ja-background);
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  margin: 0;
  position: relative;
}

.ja-disclosures-email {
  font-family: var(--font-sans);
  color: var(--ja-background);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: -8px 0 18px;
  position: relative;
}
.ja-disclosures-email a {
  color: inherit;
  text-decoration: none;
}

.ja-disclosure-copy {
  font-family: var(--font-sans);
  color: var(--ja-background);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.75;
  margin: 0;
  max-width: min(1100px, 84vw);
  position: relative;
}

.ja-disclosures-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(248, 245, 242, 0.28);
}
.ja-disclosures-links a {
  font-family: var(--font-sans);
  color: var(--ja-background);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 245, 242, 0.5);
  padding-bottom: 2px;
  transition: border-color 200ms ease-out;
}
.ja-disclosures-links a:hover {
  border-bottom-color: var(--ja-background);
}

/* ==========================================================================
   Aligning Values page (aligning-values.html) — intro, elephant-herd
   emissions block (_HpElephants), and the closing "do something" pebble.
   Unchanged by this revision; carried over from the previous stylesheet.
   ========================================================================== */

.ja-av-intro {
  padding: 64px clamp(20px, 5vw, 64px) 8px;
  max-width: min(720px, 90vw);
  margin: 0 auto;
}

.ja-av-intro h1 {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 20px;
}

.ja-av-intro p {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
}

/* 4,400 elephants as 67 rows of repeating background tiles, 66 per full
   row. Sized in percentages against a 772px cap so it renders as designed
   on desktop and scales down intact on a phone; aspect-ratio derives row
   height from the tile's 1.314 ratio. */
.ja-ghg {
  background: var(--ja-background);
  padding: 72px clamp(20px, 5vw, 64px) 80px;
}

.ja-ghg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin: 0 0 48px;
}

.ja-ghg-pebble {
  font-family: var(--font-sans);
  color: var(--ja-text);
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
  background: var(--ja-main-tint);
  padding: 44px 40px;
  border-radius: 44px 18px 27px 52px / 58% 42% 54% 36%;
}

.ja-ghg-pebble sup {
  font-size: 0.62em;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
}

.ja-ghg-elephants {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: 30px;
  line-height: 1.3;
  margin: 0;
  align-self: center;
}

.ja-herd {
  display: flex;
  flex-direction: column;
  max-width: 772px;
}

.ja-herd-row {
  background-repeat: repeat-x;
  animation-name: ja-plot-row;
  animation-duration: 0.42s;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.ja-herd-row--full {
  width: 100%;
  aspect-ratio: 86.724; /* 66 tiles x 1.314 */
  background-size: calc(100% / 66) 100%;
}

.ja-herd-row--part {
  width: 66.6667%; /* the last row holds 44 of the 66 columns */
  aspect-ratio: 57.816; /* 44 tiles x 1.314 */
  background-size: calc(100% / 44) 100%;
}

.ja-eleph-purple { background-image: url(../assets/eleph-purple.png); }
.ja-eleph-brown  { background-image: url(../assets/eleph-brown.png); }
.ja-eleph-green  { background-image: url(../assets/eleph-green.png); }
.ja-eleph-orange { background-image: url(../assets/eleph-orange.png); }

@keyframes ja-plot-row {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ja-herd-row {
    animation: none !important;
    clip-path: none !important;
  }
}

.ja-footnote {
  font-family: var(--font-sans);
  color: var(--ja-text-soft);
  font-size: 13px;
  line-height: 1.5;
  margin: 20px 0 0;
}

.ja-footnote-source {
  font-family: var(--font-sans);
  color: var(--ja-text-soft);
  font-size: 11px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.ja-footnote-source sup {
  font-size: 0.78em;
  line-height: 0;
  vertical-align: super;
}

.ja-footnote-source a {
  color: var(--ja-text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ja-footnote-source a:hover {
  color: var(--ja-accent);
}

.ja-do-something {
  background: var(--ja-background);
  padding: 24px clamp(20px, 5vw, 64px) 96px;
  display: flex;
  justify-content: center;
}

.ja-do-something-box {
  width: 100%;
  background: var(--ja-support-tint);
  padding: 56px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 190px 120px 150px 230px / 62% 46% 58% 40%;
}

.ja-do-something-box p {
  font-family: var(--font-serif);
  color: var(--ja-main);
  font-size: 34px;
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
  text-align: center;
  text-wrap: pretty;
}

/* ==========================================================================
   MOBILE ONLY — the phone artboard (SITE MOBILE.dc.html, designed at 390).
   Nothing above this line changes, so desktop stays exactly as designed.
   Edit this block to change the mobile experience.
   ========================================================================== */

@media (max-width: 760px) {

  /* --- header: three links collapse into the hamburger --- */
  .ja-header {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 20px;
  }
  #values,
  #recognition,
  #work-together {
    scroll-margin-top: 80px;
  }
  .ja-logo {
    gap: 10px;
  }
  .ja-logo img {
    height: 32px;
  }
  .ja-logo span {
    font-size: 23px;
    max-width: 400px;
    opacity: 1;
  }
  .ja-nav {
    display: none;
  }
  .ja-burger {
    display: flex;
  }
  /* visible without JS; the inline `js` class lets us collapse it */
  .ja-mobile-nav {
    display: flex;
  }
  html.js .ja-mobile-nav {
    display: none;
  }
  html.js .ja-mobile-nav.is-open {
    display: flex;
  }
  .ja-mobile-nav .ja-cta--nav {
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 14px auto 18px;
    padding: 14px 28px;
    color: var(--ja-background);
    font-size: 16px;
    border-radius: 62px 24px 54px 28px / 46px 58px 30px 50px;
  }
  .ja-mobile-nav .ja-cta--nav:hover {
    color: var(--ja-background);
  }

  /* --- accordion markers: uniform 13px / 20px at every section --- */
  .ja-marker {
    width: 13px;
    height: 13px;
  }
  .is-open .ja-marker,
  .ja-value-panel.is-open .ja-marker {
    width: 20px;
    height: 20px;
  }

  /* --- hero: taller, centred, radial spotlight instead of a side sweep --- */
  .ja-hero,
  .ja-hero-content {
    /* 520/78vh/640 plus a flat 35px for the wrapped headline (now capped
       at 4 lines total, see .ja-hero-line1/.ja-hero-line2) — keeps every
       other gap in the hero identical to the single-line version. */
    min-height: clamp(calc(520px + 35px), calc(78vh + 35px), calc(640px + 35px));
  }
  .ja-hero img {
    object-position: 62% 42%;
  }
  .ja-hero-scrim {
    /* The 44% vertical radius is deliberate: it decays to transparent short
       of the top and bottom edges so the photo still shows there. */
    background: radial-gradient(ellipse 150% 44% at 50% 50%,
      rgba(45, 29, 38, 0.88) 0%, rgba(45, 29, 38, 0.82) 58%,
      rgba(45, 29, 38, 0.52) 80%, rgba(45, 29, 38, 0) 100%);
  }
  .ja-hero-fade {
    height: 96px;
  }
  .ja-hero-content {
    align-items: center;
    padding: clamp(40px, 10vw, 64px) clamp(24px, 6vw, 40px) 88px;
  }
  .ja-hero-content h1 {
    margin-bottom: 18px;
  }
  .ja-hero-line1,
  .ja-hero-line2 {
    /* Sized so the two-part headline wraps to at most 4 lines total down
       to a 320px-wide phone (usually 3: 2 for line1, 1 for line2). */
    font-size: clamp(24px, 7.4vw, 42px);
    line-height: 1.12;
  }
  .ja-hero-line1 {
    white-space: normal;
    /* Matches .ja-hero-content h1's own 18px margin-bottom, so the gap
       between the two headline lines equals the gap from the headline
       to the subhead below it. */
    margin-bottom: 18px;
  }
  .ja-hero-line2 {
    white-space: nowrap;
  }
  .ja-hero-sub {
    font-size: clamp(17px, 4.6vw, 21px);
    line-height: 1.55;
    margin-bottom: 0;
  }
  .ja-location {
    margin: 14px calc(clamp(24px, 6vw, 40px) * -1) 0;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.6;
    letter-spacing: -0.005em;
  }
  .ja-hero-spacer {
    display: none;
  }

  /* --- value proposition: every phrase its own centred line --- */
  .ja-just-advice-line1 {
    font-size: clamp(23px, 6.2vw, 44px);
  }
  .ja-jline1-group {
    white-space: normal;
  }
  .ja-jline1-group span {
    display: block;
  }
  .ja-just-advice-line2 {
    font-size: clamp(17px, 4.4vw, 27px);
    max-width: none;
  }

  /* --- values: leaves shrink and move below the headline, panels stack --- */
  .ja-values {
    padding: 48px clamp(24px, 5vw, 64px) clamp(72px, 10vw, 112px);
  }
  .ja-values-leaf--left {
    left: -12px;
    top: 26px;
    width: clamp(104px, 25vw, 280px);
    opacity: 0.42;
  }
  .ja-values-leaf--right {
    right: -8px;
    top: 40px;
    width: clamp(94px, 23vw, 250px);
    opacity: 0.38;
  }
  .ja-values-headline {
    font-size: clamp(23px, 6vw, 46px);
    width: 100%;
    max-width: min(340px, 90vw);
    text-align: center;
  }
  .ja-cycling-word {
    display: block;
    min-height: 1.3em;
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .ja-value-panel {
    width: 100%;
    padding: clamp(26px, 7vw, 46px) clamp(24px, 6vw, 60px);
    border-radius: var(--rm);
    transform: none;
  }
  .ja-value-panel.is-open {
    border-radius: var(--rm-open);
    transform: none;
  }
  .ja-value-panel-head {
    gap: clamp(12px, 3.5vw, 22px);
  }
  .ja-value-panel-title {
    font-size: clamp(21px, 5.4vw, 34px);
  }
  .ja-value-sub {
    max-width: none;
    aspect-ratio: 1 / 0.82;
    border-radius: var(--rm);
  }
  .ja-value-sub h4 {
    font-size: clamp(19px, 4.8vw, 26px);
  }
  .ja-value-sub p {
    font-size: clamp(16px, 4vw, 19px);
  }
  .ja-value-row {
    flex-direction: column;
    gap: 14px;
    padding-top: 0;
  }
  .ja-value-block.is-open .ja-value-row {
    padding-top: 16px;
  }
  .ja-value-block.is-open .ja-value-sub {
    clip-path: circle(92% at 50% 50%);
  }
  .ja-value-vs {
    font-size: clamp(17px, 4.4vw, 22px);
  }
  .ja-cta--values {
    padding: 22px clamp(26px, 7vw, 44px);
    line-height: 1.4;
    border-radius: 26px 56px 28px 60px / 46px 38px 48px 40px;
  }

  /* --- recognition: 2-up grid, px radii --- */
  .ja-recognition {
    padding: 8px clamp(24px, 5vw, 48px) 10px;
  }
  .ja-recognition-group h2 {
    font-size: clamp(23px, 6vw, 40px);
  }
  .ja-pebble-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 7vw, 34px);
    padding: 42px 0;
  }
  .ja-pebble {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: clamp(16px, 4vw, 26px) clamp(14px, 3.5vw, 22px);
    border-radius: var(--rm);
  }
  .ja-pebble p {
    font-size: clamp(15px, 3.9vw, 19px);
  }
  .ja-dot {
    border-radius: var(--rm);
  }
  .ja-recognition-closing {
    font-size: clamp(27px, 7vw, 50px);
    margin: 18px 0 0;
  }
  .ja-such-as {
    justify-content: flex-end;
    margin: -54px 0 0;
  }
  .ja-such-as img {
    width: clamp(92px, 24vw, 148px);
    transform: none;
  }

  /* --- topics: stacked panel + circles, px radii --- */
  .ja-topics {
    padding: 0 clamp(20px, 5vw, 28px) 64px;
    max-width: 100%;
  }
  .ja-topic-list {
    gap: 12px;
  }
  .ja-topic-row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .ja-topic-item {
    padding: clamp(24px, 6vw, 40px) clamp(24px, 6vw, 44px);
    border-radius: var(--rm);
  }
  .ja-topic-item.is-open {
    border-radius: var(--rm-open);
  }
  .ja-topic-head {
    gap: 14px;
  }
  .ja-topic-item h3 {
    font-size: clamp(20px, 5.2vw, 26px);
  }
  .ja-topic-intro {
    font-size: 16px;
    max-width: 100%;
    text-align: center;
  }
  .ja-topic-detail {
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 400ms cubic-bezier(0.22, 0.68, 0.32, 1);
  }
  .ja-topic-row.is-open .ja-topic-detail {
    grid-template-rows: 1fr;
  }
  .ja-topic-circle-row {
    flex-direction: column;
    min-height: 0;
    height: auto;
    gap: 12px;
    padding: 0;
    transition: padding 480ms cubic-bezier(0.22, 0.68, 0.32, 1);
  }
  .ja-topic-row.is-open .ja-topic-circle-row {
    padding: 14px 0 8px;
  }
  .ja-topic-circle {
    width: 100%;
    height: auto;
    min-height: 126px;
    padding: 18px 22px;
    border-radius: var(--rm);
  }
  .ja-topic-circle p {
    line-height: 1.55;
  }
  .ja-topic-row.is-open .ja-topic-circle:nth-child(1) { transition-delay: 0ms, 0ms, 200ms; }
  .ja-topic-row.is-open .ja-topic-circle:nth-child(2) { transition-delay: 110ms, 110ms, 310ms; }
  .ja-topic-row.is-open .ja-topic-circle:nth-child(3) { transition-delay: 220ms, 220ms, 420ms; }
  .ja-topic-row.is-open .ja-topic-circle:nth-child(4) { transition-delay: 330ms, 330ms, 530ms; }
  .ja-topics-closing {
    font-size: clamp(23px, 6vw, 40px);
    border-radius: 120px 68px 108px 78px / 86px 116px 72px 100px;
    padding: clamp(40px, 10vw, 84px) clamp(28px, 7vw, 110px);
    max-width: 100%;
    margin-top: 48px;
  }
  .ja-cta--topics {
    padding: 22px 30px;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 58px 20px 52px 24px / 48px 56px 42px 52px;
  }

  /* --- work together: single column, px radii --- */
  .ja-work-together {
    padding: 8px clamp(24px, 5vw, 64px) clamp(72px, 10vw, 112px);
  }
  .ja-work-together h2 {
    font-size: clamp(25px, 6.4vw, 46px);
  }
  .ja-work-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 7vw, 48px);
    max-width: 100%;
  }
  .ja-work-card {
    padding: clamp(34px, 8vw, 54px) clamp(28px, 8vw, 90px) clamp(44px, 10vw, 76px);
  }
  .ja-work-card--onetime {
    border-radius: var(--rm);
  }
  .ja-work-card--onetime.is-open {
    border-radius: var(--rm-open);
  }
  .ja-work-head {
    gap: clamp(12px, 3.5vw, 22px);
  }
  .ja-work-card h3 {
    font-size: clamp(22px, 5.6vw, 30px);
  }
  .ja-work-intro {
    font-size: clamp(16px, 4.1vw, 20px);
  }
  .ja-work-block h4 {
    font-size: clamp(18px, 4.6vw, 22px);
  }
  .ja-work-block p {
    font-size: clamp(16px, 4vw, 19px);
  }
  .ja-cta--work {
    padding: 22px clamp(26px, 7vw, 44px);
    line-height: 1.4;
    border-radius: 52px 24px 60px 20px / 44px 52px 46px 54px;
  }

  /* --- disclosures: donkey moves top-right, tighter, links wrap sooner --- */
  .ja-disclosures {
    padding: 64px clamp(24px, 5vw, 64px) 80px;
  }
  .ja-disclosures-donkey {
    right: -16px;
    top: 52px;
    width: clamp(110px, 30vw, 200px);
    opacity: 0.3;
  }
  .ja-disclosures-name {
    font-size: clamp(26px, 6.6vw, 46px);
  }
  .ja-disclosure-copy {
    font-size: 14px;
    max-width: 100%;
  }
  .ja-disclosures-links {
    gap: 16px 28px;
  }

  /* --- aligning values page (no phone artboard yet; kept usable) --- */
  .ja-ghg-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ja-ghg-pebble {
    padding: 34px 28px;
    font-size: 17px;
  }
  .ja-ghg-elephants {
    font-size: 24px;
  }
  .ja-do-something-box {
    padding: 40px 26px;
  }
  .ja-do-something-box p {
    font-size: 24px;
  }
}
