/* Muve — Search. Art that lives only here: the search that finds a page we built (hero), one month of work (story),
   the 52-post journal wall (Richardson), the monthly report. Shared effects come from fx.css. */
/* 11/19: the hero search illustration is .srx (was .sx, which collided with the site-search dropdown .sx in assist.css). */

/* ---------- hero ---------- */
.sr-hero { display: block; min-height: 0; padding-bottom: clamp(56px, 9vw, 150px); }
.sr-hero .crumb { position: relative; z-index: 1; padding-top: var(--s-3); }
.sr-hero .phero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; padding-block: clamp(20px, 4vh, 48px) clamp(16px, 3vh, 32px); }
.sr-hero .phero__kicker { margin-bottom: clamp(14px, 2vh, 24px); }
.sr-hero .phero__lede { margin-top: clamp(14px, 2vh, 24px); }
.sr-hero .phero__cta { margin-top: clamp(18px, 2.6vh, 30px); }

.srx { position: relative; width: 100%; max-width: 500px; margin-left: auto; display: grid; gap: 14px; }
.srx__box { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 60px; padding: 0 22px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .12), var(--sh-2); }
.srx__q { font-size: var(--text-lg); line-height: 1.2; white-space: nowrap; overflow: hidden; }
.srx__box .ic { width: 20px; height: 20px; color: var(--ink-3); }
.srx__caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--amber-ink); }
.srx.is-live .srx__caret { animation: caret 1s steps(1) infinite; }
.srx__hit { display: grid; gap: 6px; padding: 18px 20px 16px; border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; border-left: 6px solid var(--brand-own, var(--amber)); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); visibility: hidden; clip-path: inset(0 0 100% 0); translate: 0 22px; transition: clip-path var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out), visibility 0s linear var(--t-panel); }
.srx__hit.is-shown, html:not(.js) .srx__hit { visibility: visible; clip-path: inset(-80px -80px -80px -80px); translate: 0 0; transition-delay: 0s; }
.srx__site { display: flex; align-items: center; gap: 9px; font: 400 .75rem/1.2 var(--mono); color: var(--ink-2); }
.srx__site i { width: 16px; height: 16px; background: var(--brand-ink-own, var(--amber-ink)); flex: none; }
.srx__title { font-size: var(--text-xl); line-height: 1.15; letter-spacing: -.02em; color: var(--blue-ink); }
.srx__desc { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); min-height: 2.9em; }
.srx__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(11, 27, 51, .1); font-size: .875rem; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .srx__hit.is-shown:hover { translate: 0 -4px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), 0 2px 5px rgba(11, 27, 51, .1), 0 34px 60px -24px rgba(61, 48, 238, .4); } .srx__hit:hover .arrow { width: 22px; } }
.srx__hit:focus-visible { translate: 0 -4px; background: var(--white); color: var(--ink); }
.srx__hit:focus-visible .arrow { width: 22px; }
.srx__tag { justify-self: start; padding: 8px 10px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1); }

/* ---------- one month, pinned ---------- */
.sr-month .story { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); }
.sr-month .story__step .t-body { margin-top: 12px; max-width: 44ch; font-size: var(--text-lg); line-height: 1.5; }
.sr-month .story__step .next { margin-top: 16px; }
.mo { padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 18px; overflow: hidden; }
.mo__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mo__name { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.mo__name .ic { width: 16px; height: 16px; }
.mo__cal { display: grid; gap: 6px; }
/* 11/20: the month is four labelled weeks, each lighting up as you read its step (no unlabelled cells) */
.mo__wk { --wk: var(--amber); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; }
.mo__wk[data-w="b"] { --wk: var(--orange); }
.mo__wk[data-w="c"] { --wk: var(--pink); }
.mo__wk[data-w="d"] { --wk: var(--green); }
.mo__wk span { font: 500 .75rem/1 var(--mono); color: var(--ink-2); }
.mo__wk b { position: relative; display: flex; align-items: center; min-height: 34px; padding: 0 12px; font-size: .875rem; font-weight: 500; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1); overflow: hidden; }
.mo__wk b::before { content: ""; position: absolute; inset: 0; background: var(--wk); opacity: 0; transform-origin: 0 50%; transform: scaleX(.2); transition: opacity var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out); }
.mo__wk b { isolation: isolate; } .mo__wk b::before { z-index: -1; }
.story[data-active="a"] .mo__wk[data-w="a"] b::before, .story[data-active="b"] .mo__wk:is([data-w="a"], [data-w="b"]) b::before, .story[data-active="c"] .mo__wk:is([data-w="a"], [data-w="b"], [data-w="c"]) b::before, .story[data-active="d"] .mo__wk b::before, .story:not([data-active]) .mo__wk[data-w="a"] b::before { opacity: 1; transform: none; }
.story[data-active="b"] .mo__wk[data-w="a"] b::before, .story[data-active="c"] .mo__wk:is([data-w="a"], [data-w="b"]) b::before, .story[data-active="d"] .mo__wk:is([data-w="a"], [data-w="b"], [data-w="c"]) b::before { opacity: .4; }
.mo__cards { display: grid; }
.mo__card { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; min-height: 168px; padding: 18px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1), var(--sh-1); opacity: 0; translate: 0 14px; transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.mo__card .label { color: var(--ink-2); }
.mo__card b { font-size: var(--text-xl); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.story[data-active="a"] .mo__card[data-w="a"], .story[data-active="b"] .mo__card[data-w="b"], .story[data-active="c"] .mo__card[data-w="c"], .story[data-active="d"] .mo__card[data-w="d"], .story:not([data-active]) .mo__card[data-w="a"] { opacity: 1; translate: 0 0; }
.mo__p { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.mo__wr { padding-left: 12px; border-left: 3px solid var(--orange); font-size: 1rem; line-height: 1.45; color: var(--ink); }
.mo__fx, .mo__rp { display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.mo__fx i { position: relative; width: 16px; height: 16px; box-shadow: inset 0 0 0 1.5px var(--ink-3); flex: none; }
.mo__fx i::after { content: ""; position: absolute; inset: 0; background: var(--pink-ink); clip-path: polygon(14% 52%, 28% 38%, 43% 53%, 73% 22%, 87% 36%, 43% 80%); opacity: 0; scale: .4; transition: opacity var(--t-panel) var(--ease-out), scale var(--t-panel) var(--ease-out); }
.mo__fx:nth-child(3) i::after { transition-delay: 220ms; } .mo__fx:nth-child(4) i::after { transition-delay: 440ms; }
.story[data-active="c"] .mo__fx i::after { opacity: 1; scale: 1; }
.mo__rp { padding: 8px 10px; background: color-mix(in srgb, var(--green) 14%, var(--white)); }
.mo__rp i { width: 10px; height: 10px; background: var(--green-ink); flex: none; }

/* ---------- the journal wall ---------- */
.sr-journal { --skew-bg: var(--white); }
.jr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(20px, 3.2vw, 48px); border-top: 5px solid var(--amber); }
.jr__num { display: grid; gap: 18px; justify-items: start; }
.jr__big { display: grid; gap: 6px; }
.jr__big b { font-size: clamp(6.5rem, 3rem + 11vw, 13rem); line-height: .8; letter-spacing: -.06em; font-weight: 300; color: var(--amber-ink); font-variant-numeric: lining-nums tabular-nums; margin-left: -.04em; }
.jr__big span { font-size: var(--text-xl); letter-spacing: -.02em; }
.jr__again { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .jr__again:hover { background: var(--amber-ink); color: #ffffff; } }
.jr__again:focus-visible { background: var(--amber-ink); color: #ffffff; }
.jr__shot { display: block; width: 100%; max-width: 440px; border-radius: 10px; overflow: hidden; background: var(--paper); color: var(--ink); text-decoration: none; border-top: 5px solid var(--brand-own, var(--amber)); box-shadow: 0 0 0 1px rgba(11, 27, 51, .1), var(--sh-1); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.jr__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0; }
.jr__shotcap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) { .jr__shot:hover { background: var(--ink); color: var(--paper); translate: 0 -4px; } }
.jr__shot:focus-visible { background: var(--ink); color: var(--paper); translate: 0 -4px; }
.jr__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; color: var(--ink-2); }
.jr__cap--b { margin-top: 26px; }
.jr__tiles { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
.jr__tiles i { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--paper-2); color: var(--ink-2); font: 500 .75rem/1 var(--mono); font-style: normal; isolation: isolate; }
.jr__tiles i::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--amber); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 420ms var(--ease-out); }
.jr__tiles i.is-in::before { transform: scaleY(1); }
.jr__tiles i.is-in { color: var(--ink); }
.jr__tiles i.is-real.is-in::before { background: var(--orange); }
.jr__tiles i.is-hot { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; }
html:not(.js) .jr__tiles i::before { transform: scaleY(1); }
.jr__posts a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 48px; padding: 8px 10px; border-top: 1px solid rgba(11, 27, 51, .1); text-decoration: none; font-size: .9375rem; line-height: 1.3; color: var(--ink); background: var(--white); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.jr__sq { width: 10px; height: 10px; background: var(--orange); }
@media (hover: hover) and (pointer: fine) { .jr__posts a:hover { background: var(--ink); color: var(--paper); } }
.jr__posts a:focus-visible { background: var(--ink); color: var(--paper); }
.jr__next { margin-top: 12px; }

/* ---------- the report ---------- */
.glowbox { position: relative; isolation: isolate; }
.sr-report__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sr-report__copy { display: grid; gap: 18px; justify-items: start; padding: clamp(22px, 4vw, 56px); }
.sr-report__copy .label { color: var(--hue-ink); }
.rep { background: var(--white); color: var(--ink); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); padding: clamp(16px, 2vw, 26px); display: grid; gap: 16px; }
.rep__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rep__title { font-size: var(--text-xl); letter-spacing: -.02em; }
.rep__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; background: var(--paper-2); border-radius: 12px; }
.rep__tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 253, 248, 0); color: var(--ink); font-size: .875rem; line-height: 1.15; text-align: left; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.rep__tab i { width: 10px; height: 10px; background: var(--hue-ink); flex: none; }
@media (hover: hover) and (pointer: fine) { .rep__tab:hover { background: var(--white); color: var(--ink); } }
.rep__tab:focus-visible { background: var(--white); color: var(--ink); }
.rep__tab[aria-pressed="true"] { background: var(--hue); color: var(--ink); font-weight: 500; box-shadow: var(--sh-1); }
.rep__tab[aria-pressed="true"] i { background: var(--ink); }
.rep__tab[data-hue="blue"][aria-pressed="true"] { color: #ffffff; }
.rep__tab[data-hue="blue"][aria-pressed="true"] i { background: #ffffff; }
.rep__list { min-height: 168px; }
.rep__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 54px; border-top: 1px solid rgba(11, 27, 51, .1); font-size: 1rem; line-height: 1.3; animation: rep-in 520ms var(--ease-out) both; }
.rep__list li:nth-child(2) { animation-delay: 90ms; } .rep__list li:nth-child(3) { animation-delay: 180ms; }
.rep__list li i { width: 12px; height: 12px; background: var(--hue); box-shadow: inset 0 0 0 1.5px var(--hue-ink); }
@keyframes rep-in { from { opacity: 0; transform: translateY(10px); } }
.rep__foot { font-size: .8125rem; color: var(--ink-2); padding-top: 12px; border-top: 2px solid var(--ink); }

/* ---------- questions + the rest of marketing ---------- */
.sr-ask__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.sr-ask__head { display: grid; gap: 22px; justify-items: start; }
.sr-ask__head h2 { text-wrap: balance; }
.sr-ask__head .label { color: var(--hue-ink); }
.sr-ask__list { padding: clamp(14px, 2.4vw, 32px); background: color-mix(in srgb, var(--amber) 9%, var(--white)); border-top: 5px solid var(--amber); }
.sr-ask__next { margin-top: 18px; }
.sibs { width: 100%; max-width: 380px; }
.sibs .label { color: var(--ink-2); margin-bottom: 10px; }
.sibs li { border-top: 1px solid rgba(11, 27, 51, .14); }
.sibs li:last-child { border-bottom: 1px solid rgba(11, 27, 51, .14); }
.sibs a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 48px; padding-inline: 8px; text-decoration: none; color: var(--ink); background: rgba(246, 243, 234, 0); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.sibs a > i:first-child { width: 10px; height: 10px; background: var(--hue-ink); }
@media (hover: hover) and (pointer: fine) { .sibs a:hover { background: var(--white); color: var(--hue-ink); } }
.sibs a:focus-visible { background: var(--white); color: var(--hue-ink); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .sr-hero .phero__grid { grid-template-columns: 1fr; }
  .sr-hero .mesh { inset: 46% 0 0 0; }
  .srx { margin-inline: auto; }
  .sr-month .story { grid-template-columns: 1fr; }
  .sr-month .story__pin { position: static; order: 2; margin-top: 28px; }
  /* no pinning on a phone: the whole month shows at once */
  .sr-month .story .mo__wk b::before { opacity: 1; transform: none; }
  .sr-month .story .mo__cards { gap: 10px; }
  .sr-month .story .mo__card { grid-area: auto; opacity: 1; translate: none; min-height: 0; }
  .sr-month .story .mo__fx i::after { opacity: 1; scale: 1; }
  .jr, .sr-report__grid, .sr-ask__grid { grid-template-columns: 1fr; }
  .sibs { max-width: none; }
  .jr__shot { order: 9; }
}
@media (max-width: 560px) {
  .jr__tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .mo__wk { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
  .srx__q { font-size: 1rem; white-space: normal; }
  .srx__box { padding: 12px 16px; gap: 10px; border-radius: 22px; }
  .rep__tabs { grid-template-columns: 1fr; }
  .rep__tab { justify-content: flex-start; padding-inline: 12px; }
}

/* on a phone the steps read as a coloured list */
@media (max-width: 900px) { .sr-month .story__step { padding-left: 16px; border-left: 4px solid var(--st, var(--hue)); } .sr-month .story__step:nth-child(1) { --st: var(--amber); } .sr-month .story__step:nth-child(2) { --st: var(--orange); } .sr-month .story__step:nth-child(3) { --st: var(--pink); } .sr-month .story__step:nth-child(4) { --st: var(--green); } }

/* a phone on its side: the headline and both buttons still fit the first screen */
@media (max-height: 500px) and (orientation: landscape) { .sr-hero .phero__kicker { display: none; } .sr-hero .crumb { padding-top: 8px; } .sr-hero .phero__grid { padding-block: 8px 12px; } .sr-hero .phero__h { font-size: 1.875rem; } .sr-hero .phero__lede { margin-top: 8px; font-size: 1rem; line-height: 1.4; max-width: none; } .sr-hero .phero__cta { margin-top: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .srx__hit, .mo__wk b::before, .mo__card, .mo__fx i::after, .jr__again, .jr__shot, .jr__tiles i::before, .jr__posts a, .rep__tab, .sibs a { transition: none; }
  .srx.is-live .srx__caret, .rep__list li { animation: none; }
  .srx__hit { visibility: visible; clip-path: none; translate: 0 0; }
}


/* ---------- next step: the ask on the left, the sibling services as cards on the right (11/19: these had no styles) ---------- */
.sr-next__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sr-next__copy { display: grid; gap: 22px; justify-items: start; }
.sr-next__copy .label { color: var(--hue-ink); }
.sr-next__copy > p { margin: 0; }
.sr-next__art { display: block; width: 200px; height: 40px; overflow: visible; }
.sr-next__art .nx { transform-box: fill-box; transform-origin: 50% 50%; animation: sr-nx 2.8s var(--ease-io) infinite; }
.sr-next__art .nx--2 { animation-delay: 140ms; } .sr-next__art .nx--3 { animation-delay: 280ms; } .sr-next__art .nx--4 { animation-delay: 420ms; } .sr-next__art .nx--5 { animation-delay: 560ms; }
@keyframes sr-nx { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -8px; } }
.rel { display: grid; gap: 14px; align-content: start; }
.rel > .label { color: var(--ink-2); }
.rel ul { display: grid; gap: 10px; }
.rel__c { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; row-gap: 3px; align-items: center; min-height: 44px; padding: 16px 18px; }
.rel__sq { grid-row: 1 / 3; align-self: start; width: 12px; height: 12px; margin-top: 6px; background: var(--hue); box-shadow: inset 0 0 0 1.5px var(--hue-ink); }
.rel__c b { grid-column: 2; font-size: var(--text-lg); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.rel__c > span { grid-column: 2; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.rel__c .arrow { grid-column: 3; grid-row: 1 / 3; color: var(--hue-ink); }
@media (hover: hover) and (pointer: fine) { .rel__c:hover b { color: var(--hue-ink); } }
.rel__c:focus-visible b { color: var(--hue-ink); }
.rel > .next { margin-top: 6px; }
@media (max-width: 900px) { .sr-next__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sr-next__art .nx { animation: none; } }

/* ---------- what you get: the monthly work beside its heading, each line with its own small picture (11/19: no styles before) ---------- */
.sr-kit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sr-kit__head { display: grid; gap: 18px; align-content: start; }
.sr-kit__head .label { color: var(--hue-ink); }
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.kit__r { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-1); }
.kit__r p { font-size: var(--text-lg); line-height: 1.4; color: var(--ink); }
@media (max-width: 900px) { .sr-kit__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kit { grid-template-columns: 1fr; } }

/* touch: breadcrumb links get a 44px target (same as products) */
@media (pointer: coarse) { .crumb a { display: inline-flex; align-items: center; min-height: 44px; } }
.rel__c:is(:hover, :focus-visible) .rel__sq { background: var(--hue-ink); }
