/* =====================================================================
   Direction C, "Plain English".
   Lilac paper, indigo ink, a coral action colour, and one bold sans
   (Plus Jakarta Sans, since 2.2.0; weights are set at the end of
   scenes.css). Loaded last: it sets the
   tokens, the type, and the page pieces that belong to this direction.
   ===================================================================== */

:root {
	--c-paper: #F4F2FC;
	--c-ink: #1D1750;
	--c-body: #47417A;
	--c-muted: #6B6694;
	--c-primary: #5759E3;
	--c-primary-dark: #4244C4;
	--c-peri: #6A6CF0;
	--c-teal: #5759E3;
	--c-accent: #FF6A55;
	--c-accent-dark: #F0503A;
	--c-on-accent: #1D1750;
	--c-mint: #BDEBD6;
	--c-green: #58C9A0;
	--c-border: #DAD5F0;
	--c-surface: #F4F2FC;
	--c-surface-2: #E9E5FA;
	--c-on-dark: #D8D4F0;
	--c-on-dark-2: #A9A4D0;
	--c-ink-deep: #120E38;
	--c-screen: #F7F6FD;
	--c-ok: #1F6B4C;

	--tint-sun: #FFE9DC;
	--tint-mint: #D9F3E7;
	--tint-sky: #E3E4FD;
	--tint-peach: #FFDDD6;

	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1280px;
	--radius: 18px;
	--radius-sm: 12px;
	--radius-lg: 26px;
	--shadow-sm: 0 1px 2px rgba(29, 23, 80, .06);
	--shadow-md: 0 14px 30px -16px rgba(29, 23, 80, .3);
	--shadow-lg: 0 30px 60px -36px rgba(29, 23, 80, .55);
}

/* ---- Type: the serif has one weight, so headings never go bold ---- */
html { font-synthesis-weight: none; }
body { font-family: var(--font-body); color: var(--c-body); }
h1, h2, h3, h4, .hm-h1, .pg-h1 { font-family: var(--font-head); font-weight: 400 !important; letter-spacing: -.02em !important; color: var(--c-ink); }
.hm-h1 { font-size: clamp(2.9rem, 7.2vw, 6.6rem); line-height: .95; margin-bottom: 1.6rem; }
.pg-h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: .98; max-width: 16ch; }
.pg-hero--plain .pg-h1 { max-width: 20ch; }
.hm-head { max-width: 50rem; }
.hm-head h2, .fx-copy h2, .fx-copy h3, .hm-audit h2, .c-diff-copy h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1; }
.hm-head p { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--c-body); max-width: 40rem; margin-inline: auto; }
.hm-head--left p { margin-inline: 0; }
.hm-lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--c-body); }
.hm-pain-item h3, .hm-step h3, .hm-days-item h3, .hm-fit-col h3, .pg-value h3, .pg-case h3, .c-point h3, .pg-plan-note h3, .hm-svc h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.08; }
.hm-ind-name, .pg-svc-name, .hm-plan-name { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; line-height: 1.08; letter-spacing: -.02em; }
.wp-block-details summary, .hm-q summary { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.015em; }
.hm-band-text { font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.05; }
.hm-plan-price strong { font-family: var(--font-head); font-weight: 400; }
/* Small labels inside the illustrations read better in the sans face. */
.hm-board-title, .mini-top strong, .hm-doc-top strong, .xp-screen strong { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.mini-stat b { font-size: 2.1rem; }

/* ---- Header ---- */
.site-header { background: rgba(244, 242, 252, .9); }
.brand-text { gap: .55rem; }
.brand-name { font-family: var(--font-head); font-weight: 400; font-size: 1.75rem; letter-spacing: -.01em; color: var(--c-ink); }
.brand-mark { position: relative; flex: none; width: 26px; height: 14px; background: none; border-radius: 0; }
.brand-mark svg { display: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; }
.brand-mark::before { left: 0; background: var(--c-accent); }
.brand-mark::after { left: 11px; background: var(--c-peri); mix-blend-mode: multiply; }
.nav-menu a { color: var(--c-ink); }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--c-primary); }

/* ---- Buttons: coral is the one action colour ---- */
.btn, .wp-block-button .wp-block-button__link, .nav-menu a, .header-phone, .pg-bill-btn, .field label, .audit-form button, input, select, textarea, button { font-family: var(--font-body); }
.btn, .wp-block-button .wp-block-button__link { font-weight: 700; letter-spacing: 0; }
.nav-menu a { font-weight: 500; }
.btn-accent, .btn-accent:hover, .wp-block-button.is-style-accent .wp-block-button__link, .wp-block-button.is-style-accent .wp-block-button__link:hover { box-shadow: none; }
.wp-block-button.is-style-ghost .wp-block-button__link { --btn-bg: transparent; border-color: rgba(29, 23, 80, .25); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--c-ink-deep); }
.hm-band .wp-block-button__link:hover, .hm-band .btn-accent:hover { background: var(--c-ink-deep); }

/* ---- Homepage hero ---- */
.c-hero { background: var(--c-paper); padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.c-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.c-hero .hm-lead { max-width: 34rem; }
.c-hero .hm-facts { margin-top: 2rem; }
.hm-facts li::before { background: var(--c-primary); }

/* The report card and the sheets behind it */
.c-stack { position: relative; max-width: 30rem; width: 100%; justify-self: end; }
.c-stack::before { content: ""; position: absolute; inset: 6% -5% -5% 8%; border-radius: var(--radius-lg); background: var(--c-peri); rotate: 4deg; }
.c-stack::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; right: -9%; top: -11%; border-radius: 50%; background: var(--c-mint); }
.xp.mini.c-report { position: relative; z-index: 1; margin: 0; border: 0; border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.4vw, 2.1rem); box-shadow: var(--shadow-lg); font-size: .92rem; }
.c-report-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border); }
.c-report-top strong { font-family: var(--font-head); font-weight: 400; font-size: 1.65rem; color: var(--c-ink); letter-spacing: -.01em; }
.c-report-top span { font-size: .8rem; font-weight: 600; color: var(--c-primary); }
.c-report-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: 1.25rem 0; }
.c-report-nums b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.c-report-nums span { font-size: .88rem; color: var(--c-body); }
.c-report-src { list-style: none; display: grid; gap: .65rem; margin: 0; padding: 0; font-weight: 600; color: var(--c-ink); }
.c-report-src li { display: grid; grid-template-columns: 4.6rem 1fr 2.4rem; align-items: center; gap: .65rem; }
.c-report-src div { height: 10px; }
.c-report-src i { display: block; height: 100%; border-radius: 999px; background: var(--c-peri); opacity: 1; }
.c-report-src li:nth-child(2) i { background: var(--c-accent); }
.c-report-src li:nth-child(3) i { background: var(--c-green); }
.c-report-src em { font-style: normal; text-align: right; }
.c-report-foot { margin: 1.1rem 0 0; font-size: .8rem; color: var(--c-muted); }

/* The five trades as a line of serif links */
.c-trades-band { background: var(--c-paper); border-top: 1px solid var(--c-border); padding-block: 1.5rem 2rem; }
p.c-trades { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem clamp(1.1rem, 3vw, 2.75rem); font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.35rem); line-height: 1.2; }
p.c-trades a { color: var(--c-ink); border-bottom: 1.5px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
p.c-trades a:hover { color: var(--c-primary); border-color: currentColor; }

/* ---- Sound familiar ---- */
.hm-pain-grid { gap: 1rem; max-width: none; }
.hm-pain-item { padding: clamp(1.4rem, 2.4vw, 2rem); border: 0; border-radius: var(--radius-lg); background: var(--c-paper); }
.hm-pain-item:nth-child(4n+2) { background: var(--tint-peach); }
.hm-pain-item:nth-child(4n+3) { background: var(--tint-mint); }
.hm-pain-item:nth-child(4n) { background: var(--tint-sky); }
.hm-pain-item h3 { margin-bottom: .6rem; }
.hm-pain-item p { color: var(--c-body); margin: 0; }

/* ---- Services as a plain-English list ---- */
.c-services { background: var(--c-paper); }
.c-terms { border-top: 1.5px solid var(--c-ink); }
.c-term { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 13rem; gap: .5rem clamp(1.25rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.25rem, 2.4vw, 1.9rem) clamp(.5rem, 1.5vw, 1.25rem); border-bottom: 1px solid var(--c-border); transition: background .25s var(--ease); position: relative; }
.c-term:hover { background: #fff; }
.c-term-name { margin: 0; font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.02; }
.c-term-name a { color: inherit; }
.c-term-name a::before { content: ""; position: absolute; inset: 0; }
.c-term:hover .c-term-name a { color: var(--c-primary); }
p.c-term-plain { margin: 0; font-size: 1.15rem; line-height: 1.45; color: var(--c-ink); }
p.c-term-for { margin: .45rem 0 0; font-size: .95rem; color: var(--c-muted); }
p.c-term-for a { position: relative; z-index: 1; color: var(--c-primary-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(87, 89, 227, .3); text-underline-offset: 3px; }
p.c-term-for a:hover { text-decoration-color: currentColor; }
p.c-term-price { margin: 0; justify-self: end; background: #fff; border: 1px solid var(--c-border); color: var(--c-ink); font-weight: 600; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; white-space: nowrap; }
.c-term:hover p.c-term-price { background: var(--tint-mint); border-color: transparent; }

/* ---- Feature rows and explainers ---- */
.fx-panel { border-radius: var(--radius-lg); }
.fx-copy > p { color: var(--c-body); }
.xp-phone { background: var(--c-ink); }
.xp-screen { background: var(--c-screen); }

/* ---- Industry cards ---- */
.hm-industries { background: var(--c-paper); }
.hm-ind { padding: .6rem .6rem 1.4rem; border-radius: var(--radius-lg); border-color: transparent; background: #fff; }
.hm-ind .hm-ind-photo { border-radius: 20px; margin: 0 0 .7rem; }
.hm-ind .hm-ind-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.hm-ind:hover .hm-ind-photo img { scale: 1.04; }
.hm-ind > :not(.hm-ind-photo) { padding-inline: .7rem; }
.hm-ind-go a, .hm-plan-more a { color: var(--c-primary-dark); }

/* ---- Band, table, steps, days, plans ---- */
.hm-band { background: var(--c-accent); }
.wp-block-table.hm-table table { border-radius: var(--radius-lg); }
.hm-table th { font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; }
.hm-step { border-top-color: var(--c-ink); }
.hm-step::before { background: var(--c-ink); color: #fff; font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; }
.hm-days { background: var(--c-paper); }
.hm-days-item { border: 0; }
p.hm-days-when { background: var(--c-peri); }
.hm-plan.is-rec { border-color: var(--c-ink); }
.hm-fit-col.is-yes { background: var(--tint-mint); }

/* ---- Audit form ---- */
.hm-audit { background: var(--c-ink); color: var(--c-on-dark); }
.hm-audit .hm-facts li::before { background: var(--c-accent); }

/* ---- Inner page hero ---- */
.pg-hero { background: var(--c-paper); overflow: hidden; }
.pg-hero-grid { grid-template-columns: 1.1fr .9fr; }
.c-hero-media { position: relative; margin: 0 4% 6% 0; }
.c-hero-media::before { content: ""; position: absolute; inset: 7% -5% -6% 9%; border-radius: var(--radius-lg); background: var(--c-peri); rotate: 3deg; }
.c-hero-media::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; right: -8%; top: -9%; border-radius: 50%; background: var(--c-mint); }
.c-hero-media .pg-hero-media { position: relative; z-index: 1; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.c-hero-media .pg-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.c-float { position: absolute; z-index: 2; left: -7%; bottom: -8%; width: min(19rem, 72%); background: #fff; border-radius: 20px; padding: 1.1rem 1.25rem 1.2rem; box-shadow: var(--shadow-lg); rotate: -2deg; }
p.c-float-title { margin: 0 0 .7rem; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.1; color: var(--c-ink); }
.c-float-list { list-style: none; display: grid; gap: .45rem; margin: 0; padding: 0; font-weight: 600; font-size: .93rem; color: var(--c-ink); }
.c-float-list li { display: flex; align-items: center; gap: .55rem; background: var(--c-paper); border-radius: 999px; padding: .45rem .85rem; }
.c-float-list li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--c-primary); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.c-float--search .c-float-list li::before { -webkit-mask-image: var(--i-search); mask-image: var(--i-search); }

/* ---- Service page: the three things we do ---- */
.c-point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.c-point { border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.4vw, 2.1rem); background: var(--tint-sky); }
.c-point:nth-child(3n+2) { background: var(--tint-peach); }
.c-point:nth-child(3n) { background: var(--tint-mint); }
.c-point h3 { margin-bottom: .6rem; }
.c-point p { margin: 0; color: var(--c-body); }

/* ---- Service page: what makes this trade different ---- */
.pg-diff { background: var(--c-ink); }
.c-diff-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.c-diff-copy h2 { color: #fff; margin-bottom: 1.25rem; }
.c-diff-copy p { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--c-on-dark); }
.c-diff-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; rotate: 2deg; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); }
.c-diff-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Other inner-page pieces ---- */
.pg-services { background: var(--c-paper); }
.pg-svc { border-color: transparent; border-radius: var(--radius); }
.pg-chips { border-radius: var(--radius-lg); }
.pg-plan-note { border-radius: var(--radius-lg); }
.pg-strip { background: var(--c-paper); }
.pg-jobs li { border-radius: var(--radius); }
.site-footer { background: var(--c-ink); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.c-hero-grid, .pg-hero-grid, .c-diff-grid { grid-template-columns: 1fr; }
	.c-stack { justify-self: start; margin: .5rem 5% 1.5rem 0; }
	.c-hero-media { margin: 0 5% 12% 0; max-width: 38rem; }
	.c-float { left: 4%; }
	.c-term { grid-template-columns: minmax(0, 1fr) auto; }
	.c-term-body { grid-column: 1 / -1; grid-row: 2; }
	.c-point-grid { grid-template-columns: 1fr; }
	.c-diff-photo { rotate: 0deg; }
}
@media (max-width: 760px) {
	.hm-pain-grid { grid-template-columns: 1fr; }
	.c-report-nums { gap: .4rem; }
	.c-term { grid-template-columns: 1fr; padding-inline: 0; }
	p.c-term-price { justify-self: start; grid-row: 3; }
	.c-term-body { grid-row: 2; }
	.c-float { position: relative; left: auto; bottom: auto; width: auto; margin: -2.5rem 0 0 1rem; rotate: 0deg; }
	.c-hero-media { margin: 0 4% 1rem 0; }
	.hm-head, .hm-head p { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.c-term, .hm-ind .hm-ind-photo img { transition: none; }
}

/* ---- Small corrections ---- */
.wp-block-table.hm-table th { font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; letter-spacing: -.01em; }
.c-report-foot { margin-top: 1.4rem; }
.pg-jobs li, .pg-chips li, .mini-label { font-family: var(--font-body); }
.pg-jobs li { font-weight: 600; }
.hm-report-grid .xp.mini { margin: 0; padding: clamp(1.1rem, 2vw, 1.75rem); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: .98rem; }
.c-diff-copy p { font-family: var(--font-head); font-size: clamp(1.4rem, 2.1vw, 1.8rem); line-height: 1.28; letter-spacing: -.01em; }
.pg-svc-grid--compact .pg-svc-name, .pg-contact a, .pg-contact li { font-family: var(--font-body); }
.pg-svc-grid--compact .pg-svc-name { font-weight: 600; font-size: .98rem; letter-spacing: 0; line-height: 1.25; }
.post-card .entry-title, .post-card h2, .post-card h3, .widget-title, .widget h2 { font-size: 1.6rem; line-height: 1.1; }
.wp-block-search__button, .search-submit { background: var(--c-ink); color: #fff; border: 0; border-radius: 999px; font-family: var(--font-body); font-weight: 600; }

/* ---- Section rhythm on the homepage: white, paper, and one dark moment ---- */
.hm-compare, .hm-days, .hm-fit, .hm-report { background: #fff; }
.hm-pricing, .hm-faq { background: var(--c-paper); }
.hm-steps { background: var(--c-ink); }
.hm-steps .hm-head h2 { color: #fff; }
.hm-steps .hm-step { border-top: 0; }
.hm-days-item { background: var(--tint-sky); }
.hm-days-item:nth-child(3n+2) { background: var(--tint-peach); }
.hm-days-item:nth-child(3n) { background: var(--tint-mint); }
p.hm-days-when { background: var(--c-ink); }
.hm-days-item ul li::before, .hm-days-item .wp-block-list li::before { background: var(--c-ink); }
.wp-block-table.hm-table thead th { font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; letter-spacing: -.01em; }
.hm-faq-list .wp-block-details summary { font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.015em; }
@media (max-width: 760px) { .wp-block-table.hm-table thead th { font-size: 1.15rem; } }

/* =====================================================================
   Step-by-step section: four steps that advance on their own, with a
   phone that shows the matching screen. Without JavaScript every step is
   readable and the phone shows the first screen.
   ===================================================================== */
.jr-section { background: var(--c-paper); }
.jr { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); background: #fff; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-md); }
.jr-main { padding: clamp(1.5rem, 4vw, 3.75rem); min-width: 0; }
.jr-main h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1; margin: 0 0 1rem; max-width: 16ch; }
p.jr-lead { margin: 0; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--c-body); max-width: 40rem; }
.jr-steps { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); counter-reset: jr; }
.jr-step { position: relative; counter-increment: jr; overflow: hidden; padding: 1.15rem 1.1rem 1.4rem 4.5rem; border-radius: 22px; cursor: pointer; transition: background .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.jr-step::before { content: counter(jr); position: absolute; left: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1.5px solid var(--c-border); font-weight: 700; font-size: 1rem; color: var(--c-primary); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.jr-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c-primary); transform: scaleX(0); transform-origin: left center; }
.jr-step:hover { background: var(--c-paper); }
.jr-step:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.jr-step.is-on { background: var(--tint-sky); }
.jr-step.is-on::before { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.jr-step.is-on::after { transform: none; }
.jr-step.is-run::after { animation: jr-bar var(--jr-time, 5.2s) linear both; }
@keyframes jr-bar { from { transform: scaleX(0); } to { transform: none; } }
p.jr-when { margin: 0 0 .25rem; font-weight: 700; font-size: .85rem; color: var(--c-primary-dark); }
.jr-step h3 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.08; }
.jr-step p:not(.jr-when) { margin: 0; color: var(--c-body); font-size: 1rem; line-height: 1.5; }
.jr-main .wp-block-buttons { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* The phone side */
.jr-side { position: relative; display: grid; place-items: center; padding: clamp(1.5rem, 3vw, 2.5rem) 1rem; background: var(--c-ink); overflow: hidden; }
.jr-side::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; bottom: -12%; border-radius: 50%; background: var(--c-accent); opacity: .9; }
.jr-side::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: -14%; top: -8%; border-radius: 50%; border: 2px solid var(--c-peri); }
.jr-device { position: relative; z-index: 1; }
.jr-phone { width: min(16.5rem, 74vw); }
.jr-screens { position: relative; height: 100%; background: var(--c-screen); border-radius: 1.9rem; overflow: hidden; }
.jr-screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .5rem; padding: 2.7rem .85rem .9rem; font-size: .8rem; line-height: 1.3; color: var(--c-muted); text-align: left; opacity: 0; visibility: hidden; transform: translateX(7%); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.jr-screen.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.jr.is-ready .jr-screen.is-on .jr-i { animation: jr-in .45s var(--ease) both; animation-delay: calc(var(--d) * 1s + .15s); }
@keyframes jr-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.jr-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.jr-seg i { height: 3px; border-radius: 3px; background: var(--c-surface-2); }
.jr-seg i.is-done, .jr-seg i.is-now { background: var(--c-primary); }
.jr-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: .35rem 0 .2rem; }
.jr-top strong { font-family: var(--font-body); font-weight: 700; font-size: .98rem; color: var(--c-ink); }
.jr-top span { font-size: .7rem; font-weight: 700; color: var(--c-primary-dark); background: var(--tint-sky); padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.jr-card { background: #fff; border: 1px solid var(--c-border); border-radius: .9rem; padding: .3rem .7rem; }
.jr-line { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--c-surface-2); color: var(--c-ink); font-weight: 600; }
.jr-line:last-child { border-bottom: 0; }
.jr-line em { font-style: normal; font-size: .68rem; font-weight: 700; padding: .18rem .5rem; border-radius: 999px; background: var(--tint-sun); color: #8A2A14; }
.jr-line em.is-bad { background: var(--tint-peach); }
.jr-line em.is-ok { background: var(--tint-mint); color: var(--c-ok); }
.jr-note { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; margin-top: .2rem; background: var(--tint-mint); color: var(--c-ok); font-weight: 700; font-size: .72rem; padding: .35rem .7rem; border-radius: 999px; }
.jr-biz { display: flex; align-items: center; gap: .6rem; padding: .7rem; }
.jr-ava { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c-accent); box-shadow: inset -.6rem 0 0 var(--c-peri); }
.jr-biz strong { display: block; color: var(--c-ink); font-size: .9rem; }
.jr-biz span { font-size: .72rem; }
.jr-tick { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--c-border); border-radius: .8rem; padding: .55rem .7rem; color: var(--c-ink); font-weight: 600; }
.jr-tick i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--tint-mint); }
.jr-tick i::after { content: ""; position: absolute; inset: 4px; background: var(--c-ok); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.jr-search { display: flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--c-border); border-radius: 999px; padding: .5rem .7rem; color: var(--c-ink); font-weight: 600; }
.jr-search svg { flex: none; color: var(--c-primary); }
.jr-ad { padding: .7rem; }
.jr-ad small { display: block; font-size: .64rem; font-weight: 700; color: var(--c-ink); }
.jr-ad strong { display: block; color: var(--c-primary-dark); font-size: .86rem; margin: .1rem 0; }
.jr-ad span { display: block; font-size: .7rem; }
.jr-ad b { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; background: var(--c-accent); color: var(--c-on-accent); font-size: .72rem; padding: .4rem .75rem; border-radius: 999px; }
.jr-toast { display: flex; align-items: center; gap: .55rem; margin-top: auto; background: var(--c-ink); color: var(--c-on-dark); border-radius: .9rem; padding: .6rem .7rem; }
.jr-toast svg { flex: none; color: var(--c-accent); }
.jr-toast strong { display: block; color: #fff; font-size: .82rem; }
.jr-toast span { font-size: .7rem; }
.jr-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .7rem .5rem; text-align: center; }
.jr-nums b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--c-ink); }
.jr-nums span { font-size: .68rem; }
.jr-bar { display: grid; grid-template-columns: 3.6rem 1fr; align-items: center; gap: .5rem; font-weight: 600; color: var(--c-ink); font-size: .74rem; }
.jr-bar div { height: 8px; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.jr-bar i { display: block; height: 100%; border-radius: 999px; background: var(--c-peri); }
.jr-bar:nth-of-type(odd) i { background: var(--c-accent); }

@media (max-width: 1100px) {
	.jr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.jr-steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.jr { grid-template-columns: 1fr; border-radius: 24px; }
	.jr-side { order: -1; padding-block: 1.5rem; }
	.jr-phone { width: min(13.5rem, 62vw); }
	.jr-main h2 { max-width: none; }
	.jr-step { padding: 1rem .9rem 1.2rem 4rem; }
	.jr-step::before { left: .9rem; top: 1rem; width: 2.25rem; height: 2.25rem; }
	/* On a phone only the active step shows its text, so the phone above stays in view. */
	.jr.is-ready .jr-step:not(.is-on) p:not(.jr-when) { display: none; }
	.jr-main .wp-block-buttons .wp-block-button, .jr-main .wp-block-buttons .wp-block-button__link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.jr-screen, .jr-step, .jr-step::before { transition: none; }
	.jr.is-ready .jr-screen.is-on .jr-i, .jr-step.is-run::after { animation: none; }
}

/* =====================================================================
   Motion layer: cards that stack as you scroll,
   the services hub, the turning badge, and scroll-linked drift on the
   decorative shapes and photos. Everything stands still with reduced motion.
   ===================================================================== */

/* ---- Services hub ---- */
.hub { position: relative; aspect-ratio: 5 / 2; margin: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-line { stroke: var(--c-peri); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; opacity: .55; animation: hub-flow 1.4s linear infinite; }
.hub-line.is-active { stroke: var(--c-accent); opacity: 1; stroke-width: 2.5; }
@keyframes hub-flow { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
.hub-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-items: center; align-content: center; gap: .3rem; width: clamp(8.5rem, 15vw, 11.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--c-ink); color: var(--c-accent); text-align: center; box-shadow: 0 0 0 10px #fff, var(--shadow-lg); }
.c-services .hub-core { box-shadow: 0 0 0 10px var(--c-paper), var(--shadow-lg); }
.hub-core strong { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1; color: #fff; letter-spacing: -.01em; }
.hub-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--c-accent); animation: hub-ping 2.8s var(--ease) infinite; }
@keyframes hub-ping { 0% { transform: scale(.92); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.hub-node { position: absolute; z-index: 1; translate: -50% -50%; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; background: #fff; border: 1.5px solid var(--c-border); border-radius: 999px; padding: .6rem 1.05rem .6rem .75rem; font-weight: 600; font-size: .98rem; color: var(--c-ink); box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease); animation: hub-node 5.6s var(--ease) infinite; animation-delay: calc(var(--i) * .7s); }
.hub-node svg { flex: none; color: var(--c-primary); }
a.hub-node:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); color: var(--c-ink); translate: -50% calc(-50% - 3px); }
.hub-node.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); animation: none; }
.hub-node.is-active svg { color: var(--c-on-accent); }
@keyframes hub-node { 0%, 10%, 100% { box-shadow: var(--shadow-sm); } 4% { box-shadow: 0 0 0 5px rgba(106, 108, 240, .22); } }

/* ---- Turning badge on hero photos ---- */
.c-hero-media:has(.c-badge)::after { content: none; }
.c-badge { position: absolute; z-index: 2; width: 28%; aspect-ratio: 1; right: -9%; top: -11%; border-radius: 50%; background: var(--c-mint); display: grid; place-items: center; }
.c-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: c-turn 22s linear infinite; }
.c-badge text { font-family: var(--font-body); font-weight: 700; font-size: 9.6px; letter-spacing: .09em; fill: var(--c-ink); text-transform: uppercase; }
.c-badge-core { display: grid; place-items: center; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--c-ink); color: var(--c-accent); }
.c-badge-core svg { width: 55%; height: 55%; }
@keyframes c-turn { to { transform: rotate(360deg); } }

/* ---- Explainer rows become cards that stack while you scroll ---- */
@media (min-width: 1025px) and (min-height: 700px) {
	.container:has(> .fx + .fx) > .fx { position: sticky; top: calc(5.75rem + var(--n, 0) * .9rem); background: var(--c-paper); border-radius: 32px; padding: clamp(1rem, 2vw, 1.75rem); transform-origin: 50% 0; will-change: transform; }
	.container:has(> .fx + .fx) > .fx + .fx { margin-top: 1.5rem; }
	.admin-bar .container:has(> .fx + .fx) > .fx { top: calc(7.75rem + var(--n, 0) * .9rem); }
	.container:has(> .fx + .fx) > .fx .fx-panel { min-height: 27rem; }
}

/* ---- Scroll-linked drift (browsers that support it) ---- */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.c-stack::before, .c-hero-media::before { animation: c-drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
		.c-stack::after { animation: c-float-up linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
		.pg-strip-item img, .hm-fit-photo img, .c-diff-photo img, .pg-story-photo img { animation: c-pan linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		.jr-device { animation: c-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
		.hub-core { animation: c-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
		.hm-band-text { animation: c-slide linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
	}
}
@keyframes c-drift { to { rotate: 9deg; translate: 2% 8%; } }
@keyframes c-float-up { to { translate: 0 -45%; } }
@keyframes c-pan { from { scale: 1.14; translate: 0 -4%; } to { scale: 1.14; translate: 0 4%; } }
@keyframes c-rise { from { translate: 0 56px; opacity: .4; } to { translate: 0 0; opacity: 1; } }
@keyframes c-grow { from { scale: .7; } to { scale: 1; } }
@keyframes c-slide { from { translate: -5% 0; } to { translate: 0 0; } }

@media (max-width: 860px) {
	.hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
	.hub-lines { display: none; }
	.hub-core { position: relative; left: auto; top: auto; translate: none; grid-column: 1 / -1; justify-self: center; width: 8.5rem; margin-bottom: .75rem; }
	.hub-node { position: static; translate: none; white-space: normal; font-size: .92rem; }
	a.hub-node:hover { translate: none; }
	.c-badge { width: 24%; right: -4%; top: -8%; }
}
@media (prefers-reduced-motion: reduce) {
	.hub-line, .hub-ring, .hub-node, .c-badge > svg { animation: none; }
}
