/* ==========================================================================
   Inner pages: Services, About (loaded only on those templates)
   ========================================================================== */

/* Shared page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 50% at 80% 40%, rgba(200, 240, 49, .09), transparent 70%); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.page-hero__copy { display: grid; gap: 26px; justify-items: start; }
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5.1vw, 4.5rem); line-height: 1.0; letter-spacing: -0.03em; }
.accent-line { display: block; color: var(--accent); }

.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 9px 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .93rem; transition: box-shadow .2s, color .2s; }
.jump a:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

/* Services: price ladder */
.ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 10px; height: clamp(300px, 34vw, 420px); }
.ladder__step {
	position: relative; height: var(--h); min-height: 120px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
	padding: 14px 12px; border-radius: 16px 16px 6px 6px;
	background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
	transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.ladder__step:last-child { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.ladder__step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent); }
.ladder__step:last-child:hover { box-shadow: none; }
.ladder__price { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1; letter-spacing: -0.02em; }
.ladder__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.ladder__step:last-child .ladder__price small { color: rgba(15, 16, 13, .7); }
.ladder__label { font-size: .8rem; font-weight: 500; line-height: 1.25; color: var(--muted); }
.ladder__step:last-child .ladder__label { color: var(--accent-ink); }
.js .ladder[data-reveal] .ladder__step { transform: scaleY(.2); transform-origin: bottom; opacity: 0; transition: transform .8s var(--ease), opacity .5s; transition-delay: calc(var(--i) * 90ms); }
.js .ladder[data-reveal].is-in .ladder__step { transform: none; opacity: 1; }
.js .ladder[data-reveal] { opacity: 1; transform: none; }

/* Services: which one fits */
.fit { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.fit__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.fit__list { margin: 0; border-top: 1px solid var(--line); }
.fit__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fit__row dt { color: var(--ink); font-size: 1.05rem; max-width: 52ch; }
.fit__row dd { margin: 0; }
.fit__row dd a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.fit__row dd a .icon { transition: transform .2s var(--ease); }
.fit__row dd a:hover .icon { transform: translateX(3px); }

/* Services: how a promotion works */
.howto { display: grid; gap: 14px; counter-reset: how; margin-top: 4px; }
.howto li { position: relative; padding-left: 40px; color: var(--muted); counter-increment: how; }
.howto li::before { content: counter(how); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: var(--r-pill); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-size: .8rem; font-weight: 700; }
.howto strong { color: var(--ink); }

/* Services: FAQ */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; }
.faq__intro a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { color: var(--muted); padding: 0 56px 24px 0; max-width: 64ch; }

/* About: portrait */
.portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); }
.portrait::before { content: ""; position: absolute; inset: 10% -14% 0; background: radial-gradient(closest-side, rgba(200, 240, 49, .28), transparent); filter: blur(30px); }
.portrait__frame {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-phone); overflow: hidden;
	background:
		radial-gradient(120% 80% at 50% 110%, rgba(200, 240, 49, .3), transparent 60%),
		repeating-linear-gradient(-45deg, rgba(241, 239, 231, .03) 0 2px, transparent 2px 14px),
		var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
	display: grid; place-items: center;
	transform: rotate(-2deg);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__initials { font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 14vw, 10rem); letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.portrait__tag { position: absolute; left: -10%; bottom: 14%; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-card); background: rgba(24, 26, 21, .94); box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -24px rgba(0, 0, 0, .8); }
.portrait__tag strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.portrait__tag span { color: var(--muted); font-size: .85rem; }
.portrait__stat { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }
.portrait__stat .icon { width: 18px; height: 18px; }
.portrait__stat--tt { right: -8%; top: 12%; background: var(--accent); color: var(--accent-ink); transform: rotate(4deg); }
.portrait__stat--ig { right: -4%; top: 30%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transform: rotate(-3deg); }

.proof__row--even { grid-template-columns: repeat(3, 1fr); }
.proof__row--even .proof__item:first-child { padding-left: 0; }
.proof__num--accent { color: var(--accent); }

/* About: story */
.story { padding-block: var(--section); }
.story__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__title { position: sticky; top: calc(var(--header-h) + 32px); }
.story__body { display: grid; gap: 22px; max-width: 64ch; }
.story__body p { color: var(--muted); font-size: 1.08rem; }
.story__body .story__lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.story__quote { margin: 12px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.story__quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--ink); }

/* About: values bento */
.values { padding-block: var(--section); background: var(--surface); border-block: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.value { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); min-height: 220px; }
.value--wide { grid-column: span 2; }
.value p { color: var(--muted); max-width: 52ch; }
.value--accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.value--accent p { color: rgba(15, 16, 13, .78); }
.value--line { background: transparent; box-shadow: inset 0 0 0 1px var(--accent); }
.value__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.015em; }
.value__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.value__link .icon { transition: transform .2s var(--ease); }
.value__link:hover .icon { transform: translateX(3px); }

@media (max-width: 960px) {
	.page-hero__grid, .fit, .faq__grid, .story__grid { grid-template-columns: 1fr; }
	.faq__intro, .story__title { position: static; }
	.ladder { height: 300px; }
	.values__grid { grid-template-columns: 1fr 1fr; }
	.value--wide { grid-column: 1 / -1; }
	.portrait { width: min(80%, 360px); margin-top: 16px; }
}
@media (max-width: 600px) {
	.ladder { grid-auto-flow: row; grid-auto-columns: auto; height: auto; gap: 8px; }
	.ladder__step { height: auto; min-height: 0; flex-direction: row; align-items: center; width: calc(55% + var(--h) * .45); }
	.ladder__price small { display: inline; margin: 0 0 0 4px; }
	.fit__row { grid-template-columns: 1fr; gap: 10px; }
	.values__grid { grid-template-columns: 1fr; }
	.proof__row--even { grid-template-columns: 1fr; }
	.proof__row--even .proof__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
	.proof__row--even .proof__item:last-child { border-bottom: 0; }
	.portrait__tag { left: -4%; }
	.portrait__stat--tt { right: -4%; }
	.portrait__stat--ig { right: 0; }
	.qa p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.js .ladder[data-reveal] .ladder__step { transform: none; opacity: 1; transition: none; }
	.portrait__frame, .portrait__stat { transform: none; }
}

/* Founder photo on About */
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__frame.has-photo { background: var(--surface); }
.photo-credit--portrait { position: relative; margin-top: 14px; text-align: right; padding-right: 4%; }
