/*
 * Home page (design: "Lithyem Home v4"). Loaded only on pages using templates/home.php.
 * Values are the design's own. This page uses a larger gap between sections than the rest of the site
 * (160px, 88px on phones) and sets all its serif text in the display face, as the design file does.
 */

/* The design leaves 160px above the footer. The footer brings the site's normal section gap; the padding adds the rest. */
.home__page { --home-gap: 160px; padding-bottom: calc(160px - var(--section)); }

.home__section { padding-top: var(--home-gap); }
/* The first section sits closer to the hero's white band than sections sit to each other. */
.home__section--first { padding-top: calc(var(--home-gap) * .6); }

/* Hidden panels stay hidden even where a class below sets their display. */
.home__page [hidden] { display: none; }

/* ---------- Hero ---------- */
.home__hero-head { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; pointer-events: none; }
.home__hero-head:focus { outline: none; } /* focus target for the skip link only */

.home__hero-title { font: 400 clamp(72px, 11.5vw, 190px)/.96 var(--display); letter-spacing: -.035em; margin: 0; max-width: 11ch; }
.home__hero-title em { color: var(--red); }
.home__hero-line { display: block; }

/* Where the animated field ends: 14px under the headline. It has no size and shows nothing. */
.home__hero-fade { position: absolute; left: 0; bottom: 50px; width: 0; height: 0; }

.home__pitch { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.home__pitch-text { font: 300 19px/1.55 var(--sans); color: var(--body); margin: 0; max-width: 600px; text-wrap: pretty; }
.home__pitch-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.home__btn-line { padding: 16px 26px; border: 1px solid rgba(30, 27, 24, .35); transition: border-color .2s, color .2s; }
.home__btn-line:hover { border-color: var(--ink); }

/* ---------- Services: rows that fill with white from the left on hover. The number sits in a narrow column so the title starts near the left edge. ---------- */
.home__svc, .home__svc:visited, .home__svc:hover { color: var(--ink); }
.home__svc { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 48px; gap: 40px; align-items: center; padding: 30px 28px; border-bottom: 1px solid rgba(30, 27, 24, .2); overflow: hidden; }
.home__svc-wipe { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.home__svc-num { position: relative; font: 400 12px var(--mono); color: var(--muted); padding-left: 0; white-space: nowrap; transition: padding .4s; }
.home__svc-title { position: relative; font: 400 clamp(36px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.015em; }
.home__svc-text { position: relative; font: 300 17px/1.55 var(--sans); color: var(--body); max-width: 580px; }
.home__svc-arrow { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(30, 27, 24, .3); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; font: 300 18px var(--sans); transition: background .3s, color .3s; }

.home__svc:hover .home__svc-wipe, .home__svc:focus-visible .home__svc-wipe { transform: scaleX(1); }
.home__svc:hover .home__svc-num, .home__svc:focus-visible .home__svc-num { padding-left: 10px; }
.home__svc:hover .home__svc-title, .home__svc:focus-visible .home__svc-title { font-style: italic; }
.home__svc:hover .home__svc-arrow, .home__svc:focus-visible .home__svc-arrow { border-color: var(--red); background: var(--red); color: #fff; }

/* ---------- Moving strip of target names ---------- */
/* The moving strip sits on a white band, so the space around it reads as a band and not as a gap. */
.home__marquee { margin-top: calc(var(--home-gap) * .6); padding: 44px 0; overflow: hidden; background: #fff; border-top: 1px solid rgba(30, 27, 24, .12); border-bottom: 1px solid rgba(30, 27, 24, .12); }
.home__marquee + .home__section { padding-top: calc(var(--home-gap) * .6); }
.home__marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; font: 400 64px/1 var(--display); letter-spacing: -.01em; }
.home__marquee-item { display: flex; gap: 48px; align-items: center; }
.home__marquee-item .is-italic { font-style: italic; }
.home__marquee-dot { width: 14px; height: 14px; background: var(--red); border-radius: 3px; display: block; }

/* ---------- Outcomes: a big number, pinned to the top of its column, that shows which row is in the
   middle of the screen ---------- */
.home__outcomes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
/* It starts level with the first row's title (the rows have 44px of space above their text) and stays
   that far from the top of the screen while the list scrolls past. Signed-in visitors have the
   WordPress toolbar across the top, so it sits below that. */
.home__outcomes-side { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); align-self: start; padding-top: 44px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.home__outcomes-window { height: .86em; overflow: hidden; font: 400 clamp(180px, 20vw, 300px)/.86 var(--display); letter-spacing: -.04em; color: var(--red); }
.home__outcomes-reel { will-change: transform; }
.home__outcomes-reel > div { height: .86em; }
.home__outcomes-dots { display: flex; gap: 6px; }
.home__outcomes-dots span { height: 3px; border-radius: 2px; width: 8px; background: rgba(30, 27, 24, .22); transition: width .3s, background .3s; }
.home__outcomes-dots .is-active { width: 28px; background: var(--red); }

.home__outcomes-list { display: flex; flex-direction: column; }
.home__outcome { padding: 44px 0; border-bottom: 1px solid rgba(30, 27, 24, .2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: baseline; transition: opacity .4s; }
/* Rows only dim once the script is following the scroll; without it every row stays fully visible. */
.home__outcomes.is-live .home__outcome { opacity: .32; }
.home__outcomes.is-live .home__outcome.is-active { opacity: 1; }
.home__outcome-title { font: 400 44px/1.02 var(--display); letter-spacing: -.01em; transition: color .4s; }
.home__outcome.is-active .home__outcome-title { font-style: italic; color: var(--red); }
.home__outcome-text { font: 300 16.5px/1.6 var(--sans); color: var(--body); text-wrap: pretty; }

/* ---------- Automation targets: a two-column list with a card that follows the pointer ---------- */
.home__targets-cta { padding: 16px 24px; box-shadow: 0 10px 24px -12px rgba(191, 46, 26, .7); }
/* On the dark card the usual hover (ink) would vanish into the card, so the button turns white and lifts. */
.home__promo .home__targets-cta { transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.home__promo .home__targets-cta:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 255, 255, .55); }

/* Dark card under the list: says what the button leads to, with the button beside it. */
.home__promo { margin-top: 56px; background: var(--ink); color: var(--paper); border-radius: var(--radius-dark); padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.home__promo-copy { display: contents; }
.home__promo-head { display: flex; flex-direction: column; gap: 14px; }
.home__promo-title { margin: 0; font: 400 clamp(32px, 3.2vw, 46px)/1.05 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.home__promo-title em { color: var(--red-on-dark); }
.home__promo-body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.home__promo-text { margin: 0; font: 300 17px/1.6 var(--sans); color: rgba(241, 237, 229, .82); text-wrap: pretty; }

/* With a sample result: the words stack on the left and the sample sits in its own panel on the right. */
.home__promo--sample { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; padding: 48px; }
.home__promo--sample .home__promo-copy { display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 1180px) {
	.home__promo--sample { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.home__targets { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.home__targets-card { position: absolute; left: 0; top: 0; width: 320px; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .2s; background: var(--red); color: #fff; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 50px -20px rgba(120, 30, 15, .6); }
.home__targets-card.is-on { opacity: 1; }
.home__targets-card-num { font: 400 12px var(--mono); opacity: .8; }
.home__targets-card-text { font: 300 15.5px/1.5 var(--sans); }

.home__target { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(30, 27, 24, .2); cursor: default; color: var(--ink); transition: color .2s; }
.home__target:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.home__target.is-active { color: var(--red); }
.home__target-num { font: 400 12px var(--mono); width: 26px; color: var(--muted); }
.home__target-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.home__target-title { font: 400 40px/1.05 var(--display); letter-spacing: -.01em; transition: transform .3s; }
.home__target.is-active .home__target-title { font-style: italic; transform: translateX(12px); }
.home__target-text { display: none; font: 300 15px/1.55 var(--sans); color: var(--body); }

/* ---------- Case studies: cards that stack as the page scrolls, each with tabs ---------- */
.home__cases { display: flex; flex-direction: column; gap: 70vh; }

.home__case {
	--case-bg: #fff;
	--case-fg: var(--ink);
	--case-border: rgba(30, 27, 24, .15);
	--case-accent: var(--red);
	--case-line: rgba(30, 27, 24, .18);
	--case-frame: var(--paper);
	position: sticky; top: var(--case-top, 30px); background: var(--case-bg); color: var(--case-fg); border-radius: 22px; padding: 36px 40px; height: min(calc(100vh - 120px), 780px); min-height: 640px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 48px; box-shadow: 0 -24px 50px -34px rgba(30, 27, 24, .55); border: 1px solid var(--case-border);
}
.home__case--dark { --case-bg: var(--ink); --case-fg: var(--paper); --case-border: var(--ink); --case-accent: var(--red-on-dark); --case-line: rgba(241, 237, 229, .2); --case-frame: #2B2723; }
.home__case--sand { --case-bg: #E4DED2; --case-border: rgba(30, 27, 24, .12); }

.home__case-side { display: flex; flex-direction: column; gap: 22px; min-height: 0; }
.home__case-meta { display: flex; justify-content: space-between; font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.home__case-label { opacity: .7; }
.home__case-count { color: var(--case-accent); }
.home__case-title { font: 400 clamp(34px, 3.2vw, 48px)/1 var(--display); letter-spacing: -.015em; margin: 0; text-wrap: balance; }

.home__case-tabs { display: flex; flex-direction: column; margin-top: auto; border-top: 1px solid var(--case-line); }
.home__case-tab { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--case-line); font: 400 28px/1 var(--display); color: var(--case-accent); transition: color .2s, padding .25s; }
.home__case-tab:hover { opacity: .7; }
.home__case-tab:focus-visible { outline: 2px solid var(--case-accent); outline-offset: 2px; }
.home__case-tab[aria-selected="true"] { padding-left: 12px; font-style: italic; color: var(--case-fg); }
.home__case-tab-icon { font: 400 14px var(--mono); }
/* With no tabs (a case study with only a summary) the link still sits at the bottom of the card. */
.home__case-meta + .home__case-title + .home__case-more { margin-top: auto; }

.home__case-more, .home__case-more:visited { white-space: nowrap; font: 500 14px var(--sans); color: var(--case-accent); }
.home__case-more:hover { color: var(--case-accent); }

/* The panel scrolls by itself only when a tab's content is taller than the card. Scrolling is never held
   inside it (no overscroll-behavior), so a trackpad over the card keeps moving the page. */
.home__case-main { position: relative; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
/* The fade at the bottom edge shows only while there is more to scroll to (set by tpl-home.js). */
.home__case-main.has-more { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); }

/* Drawn inside the box: the fade above would hide an outline outside it. */
.home__case-main:focus-visible { outline: 2px solid var(--case-accent); outline-offset: -2px; }

.home__case-panel { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding-bottom: 28px; }
.home__case-panel--overview { min-height: 0; height: 100%; gap: 20px; padding-bottom: 0; }
.home__case-panel--solution { gap: 24px; }

.home__case-shot { flex: 1; min-height: 0; border-radius: 14px; padding: 12px; background: var(--case-frame); }
.home__case-shot > div { height: 100%; border-radius: 8px; overflow: hidden; background: var(--case-frame); }
.home__case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.home__case-summary { font: 300 17px/1.55 var(--sans); margin: 0; opacity: .88; }

.home__case-lead { font: 400 clamp(26px, 2.4vw, 34px)/1.18 var(--display); margin: 0; text-wrap: pretty; }
.home__case-lead--small { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }

.home__case-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: auto; }
.home__case-point { border-top: 1px solid var(--case-line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.home__case-point-label { font: 400 12px var(--mono); color: var(--case-accent); }
.home__case-point-title { font: 500 16px/1.3 var(--sans); }
.home__case-point-text { font: 300 14.5px/1.55 var(--sans); opacity: .82; }

.home__case-built { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: auto; }
.home__case-built-item { border-top: 1px solid var(--case-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.home__case-built-title { font: 500 15.5px/1.3 var(--sans); }
.home__case-built-num { font: 400 12px var(--mono); color: var(--case-accent); margin-right: 8px; }
.home__case-built-text { font: 300 13.5px/1.55 var(--sans); opacity: .82; }

.home__case-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.home__case-stat { border-top: 1px solid var(--case-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.home__case-stat-value { font: 400 60px/.9 var(--display); letter-spacing: -.02em; }
.home__case-stat-label { font: 500 15px/1.3 var(--sans); }
.home__case-stat-text { font: 300 13.5px/1.5 var(--sans); opacity: .78; }
.home__case-quote { margin: auto 0 0; font: italic 400 26px/1.25 var(--display); }
.home__case-quote-by { display: block; margin-top: 10px; font: 400 13px var(--sans); font-style: normal; opacity: .7; }

/* ---------- Video ---------- */
.home__video, .home__video:visited, .home__video:hover { color: var(--ink); }
.home__video { position: relative; display: block; border-radius: 20px; padding: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(30, 27, 24, .45); transform-origin: 50% 0; cursor: pointer; }
.home__video-img { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 8; background: repeating-linear-gradient(135deg, #E6E1D7 0 10px, #EAE5DC 10px 20px); }
.home__video-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* While the video plays the frame takes the video's own shape, so nothing is cut off or boxed in. */
.home__video.is-playing .home__video-img { aspect-ratio: 16 / 9; background: #000; }
.home__video-play { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 0 0 14px rgba(191, 46, 26, .18); will-change: transform; }
.home__video-play-icon { font: 400 28px var(--sans); margin-left: 4px; }
.home__video-play-time { font: 400 11px var(--mono); letter-spacing: .08em; }

.home__video-foot { display: flex; justify-content: space-between; gap: 24px; padding: 22px 4px 0; flex-wrap: wrap; font: 500 15px var(--sans); }
.home__video-caption { color: var(--muted); font-weight: 400; }
.home__video-links { display: flex; gap: 28px; flex-wrap: wrap; }
.home__video-links a { white-space: nowrap; }
.home__video-links a.is-accent, .home__video-links a.is-accent:visited { color: var(--red); }

/* ---------- Solutions: three cards ---------- */
.home__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home__way { border-radius: 20px; padding: 30px; min-height: 400px; display: flex; flex-direction: column; gap: 18px; border: 1px solid; transition: transform .3s, box-shadow .3s; }
.home__way:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(30, 27, 24, .5); }
.home__way--white, .home__way--white:visited, .home__way--white:hover { background: #fff; color: var(--ink); border-color: rgba(30, 27, 24, .14); }
.home__way--red, .home__way--red:visited, .home__way--red:hover { background: var(--red); color: #fff; border-color: var(--red); }
.home__way--dark, .home__way--dark:visited, .home__way--dark:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.home__way-tag { white-space: nowrap; align-self: flex-start; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 5px 10px; opacity: .85; }
.home__way-title { font: 400 44px/1 var(--display); letter-spacing: -.015em; margin-top: 32px; }
.home__way-text { font: 300 15.5px/1.55 var(--sans); opacity: .85; }
.home__way-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 500 15px var(--sans); }
.home__way-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; }

.home__more, .home__more:visited { display: inline-flex; margin-top: 24px; font: 500 15px var(--sans); color: var(--red); }

/* ---------- About and numbers ---------- */
.home__about { display: flex; flex-direction: column; gap: 24px; max-width: 1080px; }
.home__about-body { display: flex; flex-direction: column; gap: 28px; }
.home__about-text { font: 400 clamp(28px, 2.7vw, 40px)/1.2 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: pretty; }
.home__about-link, .home__about-link:visited { font: 500 15px var(--sans); color: var(--red); }

.home__numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; border-top: 1px solid var(--ink); }
.home__number { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.home__number-value { font: 400 clamp(72px, 7.6vw, 124px)/.9 var(--display); letter-spacing: -.03em; color: var(--ink); }
.home__number-value.is-accent { color: var(--red); }
.home__number-label { font: 300 15px/1.45 var(--sans); color: var(--body); max-width: 240px; }

/* ---------- Client quotes ---------- */
.home__quotes { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
/* The section's label: red, a size up from the other small labels, with a short rule on each side,
   so it is not lost above the large quote. */
.home__quotes > .eyebrow { display: flex; align-items: center; gap: 18px; font-size: 14px; letter-spacing: .16em; color: var(--red); }
.home__quotes > .eyebrow::before, .home__quotes > .eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .55; }
.home__quotes-text { margin: 0; font: 400 clamp(28px, 3vw, 44px)/1.2 var(--display); letter-spacing: -.01em; text-wrap: balance; min-height: 7.5em; display: flex; align-items: center; justify-content: center; }
.home__quotes-nav { display: flex; align-items: center; gap: 28px; }
.home__quotes-arrow { all: unset; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(30, 27, 24, .3); display: flex; align-items: center; justify-content: center; font: 300 18px var(--sans); }
.home__quotes-arrow:hover { background: var(--ink); color: var(--paper); }
.home__quotes-arrow:focus-visible, .home__quotes-dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.home__quotes-by { display: flex; flex-direction: column; gap: 4px; min-width: 300px; }
.home__quotes-name { font: 500 16px var(--sans); }
.home__quotes-role { font: 400 14px var(--sans); color: var(--muted); }
.home__quotes-dots { display: flex; gap: 8px; }
.home__quotes-dots button { all: unset; cursor: pointer; height: 6px; border-radius: 3px; width: 12px; background: rgba(30, 27, 24, .25); transition: width .3s; }
.home__quotes-dots button.is-active { width: 36px; background: var(--red); }

/* ---------- Consultation: dark card, copy and button on the left, numbered list on the right ---------- */
.home__consult { background: var(--ink); color: var(--paper); border-radius: 26px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; }
.home__consult-copy { display: flex; flex-direction: column; gap: 24px; }
.home__consult-title { font: 400 clamp(48px, 5vw, 80px)/.95 var(--display); letter-spacing: -.025em; margin: 0; }
.home__consult-title em { color: var(--red-on-dark); }
.home__consult-text { font: 300 17px/1.55 var(--sans); color: var(--body-on-dark); margin: 0; }
.home__consult-cta { align-self: flex-start; margin-top: auto; }
.home__consult-cta:hover { background: var(--paper); color: var(--ink); }

.home__consult-list { display: flex; flex-direction: column; }
.home__consult-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid rgba(241, 237, 229, .18); }
.home__consult-item > div { display: flex; flex-direction: column; gap: 6px; }
.home__consult-num { font: 400 30px/1 var(--display); color: var(--red-on-dark); }
.home__consult-item-title { font: 400 26px/1.1 var(--display); }
.home__consult-item-text { font: 300 14.5px/1.55 var(--sans); color: var(--muted-on-dark); }

/* ---------- Questions ---------- */
.home__faq { border-bottom: 1px solid rgba(30, 27, 24, .2); }
.home__faq-q { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 24px; padding: 26px 0; align-items: baseline; }
.home__faq-q:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.home__faq-num { font: 400 12px var(--mono); color: var(--muted); }
.home__faq-text { font: 400 30px/1.12 var(--display); color: var(--ink); transition: color .2s; }
.home__faq-plus { font: 300 26px var(--sans); text-align: right; color: var(--red); transition: transform .3s; }
.home__faq-q[aria-expanded="true"] .home__faq-text { font-style: italic; color: var(--red); }
.home__faq-q[aria-expanded="true"] .home__faq-plus { transform: rotate(45deg); }
.home__faq-a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 24px; padding: 0 0 32px; }
.home__faq-a p { grid-column: 2; margin: 0; font: 300 17px/1.6 var(--sans); color: var(--body); max-width: 680px; }

/* ---------- Reduced motion: nothing slides or eases ---------- */
@media (prefers-reduced-motion: reduce) {
	.home__svc-wipe, .home__svc-num, .home__svc-arrow, .home__outcome, .home__outcome-title, .home__outcomes-dots span, .home__target, .home__target-title, .home__targets-card, .home__case-tab, .home__way, .home__quotes-dots button, .home__faq-text, .home__faq-plus { transition: none; }
	.home__way:hover { transform: none; }
	.home__promo .home__targets-cta { transition: none; }
	.home__promo .home__targets-cta:hover { transform: none; }
}

/* ---------- Phones (the design's own rules, at its 760px breakpoint) ---------- */
@media (max-width: 760px) {
	.home__page { --home-gap: 88px; }

	.home__hero-eyebrow { font-size: 10.5px; letter-spacing: .08em; }
	.home__hero-title { font-size: clamp(48px, 14vw, 72px); }
	.home__pitch { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.home__pitch-actions { justify-content: flex-start; }

	.home__svc { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; margin: 0 -16px; row-gap: 10px; }
	.home__svc-num, .home__svc:hover .home__svc-num, .home__svc:focus-visible .home__svc-num { padding-left: 0; }
	.home__svc-arrow { display: none; }

	.home__outcomes { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.home__outcomes-side { display: none; }
	.home__outcome { grid-template-columns: minmax(0, 1fr); padding: 28px 0; row-gap: 12px; }
	.home__outcomes.is-live .home__outcome { opacity: 1; }

	.home__targets-cta { white-space: normal; }
	.home__promo { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 22px; margin-top: 36px; }
	.home__promo--sample { gap: 32px; padding: 28px 22px; }
	.home__targets { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.home__targets-card { display: none; }
	.home__target { gap: 14px; padding: 18px 0; }
	.home__target-title { font-size: 28px; }
	.home__target.is-active .home__target-text { display: block; }

	.home__cases { gap: 20px; }
	.home__case { position: relative; top: auto; height: auto; min-height: 0; padding: 24px 20px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.home__case-main { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; }
	.home__case-shot { flex: none; aspect-ratio: 4 / 3; }
	.home__case-points, .home__case-built { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }

	.home__ways { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.home__way { min-height: 0; padding: 26px; }

	.home__numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.home__quotes-by { min-width: 0; }

	.home__consult { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; gap: 32px; }

	.home__faq-q, .home__faq-a { grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 12px; }
	.home__faq-text { font-size: 22px; }
}
