/*
Theme Name: Reform Select
Author: Reform Select
Description: リフォーム会社比較・一括見積もりサービス向けのです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: reform-select
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--mint-050: #f3fbf8;
	--mint-100: #ddf5ec;
	--mint-200: #bcebdc;
	--mint-500: #25a987;
	--mint-600: #168f71;
	--coral-400: #ff735f;
	--coral-500: #f65b46;
	--charcoal: #263330;
	--charcoal-soft: #4d5b57;
	--cream: #fffdf8;
	--beige: #f3f1eb;
	--white: #fff;
	--border: #dbe6e1;
	--shadow-sm: 0 8px 24px rgba(38, 51, 48, .08);
	--shadow-md: 0 18px 50px rgba(24, 108, 87, .14);
	--radius-sm: 12px;
	--radius-md: 22px;
	--radius-lg: 32px;
	--container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--charcoal);
	background: var(--cream);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 920px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: #fff; z-index: 99999; }
.sp-only { display: none; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid rgba(38, 51, 48, .08);
	backdrop-filter: blur(16px);
}
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.04em; white-space: nowrap; }
.brand__mark { position: relative; width: 42px; height: 42px; border: 4px solid var(--mint-500); border-top: 0; border-radius: 3px 3px 8px 8px; transform: translateY(3px); display: grid; place-items: center; color: var(--coral-400); }
.brand__mark::before, .brand__mark::after { content: ""; position: absolute; top: -9px; width: 28px; height: 4px; background: var(--mint-500); border-radius: 4px; }
.brand__mark::before { left: -4px; transform: rotate(-38deg); }
.brand__mark::after { right: -4px; transform: rotate(38deg); }
.brand__mark span { font-size: 25px; font-weight: 900; transform: translateY(-1px); }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 52px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { position: relative; font-weight: 700; font-size: 14px; }
.primary-nav__list a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--mint-500); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.primary-nav__list a:hover::after, .primary-nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 10px; }
.menu-toggle__line { display: block; height: 2px; margin: 6px 0; background: var(--charcoal); border-radius: 2px; transition: transform .2s, opacity .2s; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 54px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 800; line-height: 1.3; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(37, 169, 135, .25); outline-offset: 3px; }
.button--small { min-height: 44px; padding-inline: 19px; font-size: 14px; }
.button--primary { width: 100%; color: #fff; background: linear-gradient(135deg, var(--coral-400), var(--coral-500)); box-shadow: 0 10px 24px rgba(246, 91, 70, .24); border: 0; }
.button--primary:hover { box-shadow: 0 14px 32px rgba(246, 91, 70, .34); }
.button--back { color: var(--charcoal-soft); background: var(--beige); }
.button--white { color: var(--mint-600); background: #fff; box-shadow: var(--shadow-sm); }
.primary-nav__cta { color: var(--coral-500); background: #fff; border-color: var(--coral-400); }

.hero { position: relative; overflow: hidden; padding: 58px 0 64px; background: radial-gradient(circle at 10% 4%, var(--mint-100) 0, rgba(221, 245, 236, .65) 10%, transparent 27%), linear-gradient(120deg, var(--cream), #fafffd); }
.hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -90px; border-radius: 50%; background: var(--mint-100); opacity: .72; }
.hero__decor { position: absolute; pointer-events: none; opacity: .65; }
.hero__decor--one { right: 2%; top: 20px; width: 150px; height: 90px; background-image: radial-gradient(var(--mint-200) 2px, transparent 2px); background-size: 16px 16px; }
.hero__decor--two { left: 0; bottom: 10px; width: 120px; height: 120px; background-image: radial-gradient(var(--mint-200) 2px, transparent 2px); background-size: 16px 16px; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .88fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.hero__content { padding-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; padding: 9px 18px; color: var(--mint-600); background: rgba(255, 255, 255, .7); border: 2px solid var(--mint-500); border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.eyebrow span { font-size: 11px; }
.hero h1 { margin: 0; font-size: clamp(42px, 4.35vw, 68px); line-height: 1.28; letter-spacing: -.065em; font-weight: 900; }
.hero h1 em { position: relative; z-index: 1; color: var(--coral-500); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; z-index: -1; height: 14px; border-radius: 10px; background: var(--mint-200); transform: rotate(-1deg); }
.hero__lead { margin: 20px 0 22px; font-size: 18px; font-weight: 800; letter-spacing: .02em; }

.before-after { position: relative; overflow: hidden; width: min(100%, 610px); aspect-ratio: 16 / 7.2; border-radius: var(--radius-md); background: var(--beige); box-shadow: var(--shadow-sm); }
.before-after__image { position: absolute; inset: 0; }
.before-after__image img { width: 100%; height: 100%; object-fit: cover; }
.before-after__image span { position: absolute; top: 12px; padding: 5px 10px; color: #fff; background: rgba(38, 51, 48, .78); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.before-after__image--before span { left: 12px; }
.before-after__image--after { clip-path: inset(0 0 0 52%); }
.before-after__image--after span { right: 12px; background: var(--mint-600); }
.before-after__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; }
.before-after__handle { position: absolute; top: 50%; left: 52%; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; color: var(--mint-600); background: #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, .16); transform: translate(-50%, -50%); font-weight: 900; }
.before-after__handle::before { content: ""; position: absolute; z-index: -1; top: -220px; bottom: -220px; width: 3px; background: #fff; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding: 14px 10px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(37, 169, 135, .15); border-radius: 18px; box-shadow: var(--shadow-sm); }
.hero__trust div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; border-right: 1px solid var(--border); }
.hero__trust div:last-child { border-right: 0; }
.hero__trust strong { color: var(--mint-600); font-size: 22px; line-height: 1.25; }
.hero__trust span { color: var(--charcoal-soft); font-size: 11px; font-weight: 700; }

.matching-card { position: relative; padding: clamp(24px, 3vw, 38px); background: rgba(255, 255, 255, .96); border: 1px solid rgba(37, 169, 135, .14); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.matching-card__header { text-align: center; }
.matching-card__header p { margin: 0; font-size: clamp(21px, 2vw, 28px); font-weight: 900; line-height: 1.45; }
.matching-card__header span { display: inline-block; margin-top: 5px; color: var(--mint-600); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.form-progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 340px; margin: 20px auto 24px; }
.form-progress::before { content: ""; position: absolute; top: 18px; right: 17%; left: 17%; height: 3px; background: var(--mint-100); }
.form-progress > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #9aaba6; font-weight: 700; }
.form-progress span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--mint-100); border-radius: 50%; }
.form-progress small { font-size: 10px; }
.form-progress .is-current, .form-progress .is-done { color: var(--mint-600); }
.form-progress .is-current span { color: #fff; background: var(--mint-500); box-shadow: 0 0 0 6px var(--mint-100); }
.form-progress .is-done span { color: #fff; background: var(--mint-600); }
.matching-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.matching-form legend { width: 100%; margin-bottom: 16px; font-weight: 800; text-align: center; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: form-in .28s ease both; }
@keyframes form-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 8px; background: var(--mint-050); border: 2px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; transition: .15s; }
.choice-grid input:checked + span { color: var(--mint-600); background: var(--mint-100); border-color: var(--mint-500); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(37, 169, 135, .25); }
.field-label { display: block; margin: 10px 0 5px; font-size: 13px; font-weight: 800; }
.field-label span { margin-left: 5px; padding: 2px 6px; color: #fff; background: var(--coral-400); border-radius: 4px; font-size: 9px; }
.matching-form input[type="text"], .matching-form input[type="tel"], .matching-form input[type="email"], .matching-form select, .matching-form textarea {
	width: 100%; padding: 13px 14px; color: var(--charcoal); background: #fff; border: 1px solid #cbd8d3; border-radius: 10px; appearance: none;
}
.matching-form select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--charcoal-soft) 50%), linear-gradient(135deg, var(--charcoal-soft) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.matching-form textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-choice { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; font-size: 13px; }
.inline-choice input { accent-color: var(--mint-500); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-size: 12px; }
.consent input { margin-top: 5px; accent-color: var(--mint-500); }
.consent a { color: var(--mint-600); text-decoration: underline; }
.form-actions { display: grid; grid-template-columns: 92px 1fr; gap: 10px; margin-top: 18px; }
.button--submit { padding-inline: 12px; font-size: 14px; }
.matching-card__secure { margin: 14px 0 0; color: var(--charcoal-soft); font-size: 11px; font-weight: 600; text-align: center; }
.form-notice { margin: 16px 0; padding: 14px 16px; border-radius: var(--radius-sm); text-align: center; }
.form-notice strong { display: block; }
.form-notice p { margin: 2px 0 0; font-size: 12px; }
.form-notice--success { color: #126b56; background: #dcf7ed; }
.form-notice--error { color: #992f22; background: #ffebe7; }

.logo-strip { padding: 17px 0; background: var(--charcoal); color: rgba(255, 255, 255, .82); }
.logo-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.logo-strip span { border-right: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.logo-strip span:last-child { border: 0; }
.section { padding: clamp(74px, 8vw, 120px) 0; }
.section-kicker { margin: 0 0 10px; color: var(--mint-600); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-align: center; }
.section-title { margin: 0 0 46px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.45; letter-spacing: -.04em; text-align: center; }
.section-title em { color: var(--coral-500); font-style: normal; }
.section-title--left, .section-heading-row .section-kicker { text-align: left; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 42px; }
.section-heading-row .section-title { margin: 0; }
.text-link { color: var(--mint-600); font-weight: 800; border-bottom: 1px solid; }

.problems { background: var(--beige); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-grid article { position: relative; padding: 38px 30px 32px; background: #fff; border-radius: var(--radius-md); text-align: center; box-shadow: 0 4px 0 rgba(38, 51, 48, .06); }
.problem-grid article > span { position: absolute; top: 16px; left: 20px; color: #cbd5d1; font-size: 12px; font-weight: 900; }
.problem-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; color: var(--coral-500); background: #fff0ec; border-radius: 50%; font-size: 34px; font-weight: 900; }
.problem-grid h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.55; }
.problem-grid p { margin: 0; color: var(--charcoal-soft); font-size: 14px; }

.solution { background: #fff; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { position: relative; overflow: hidden; min-height: 380px; padding: 34px; background: var(--mint-050); border: 1px solid var(--mint-200); border-radius: var(--radius-md); }
.solution-card:nth-child(2) { background: #fff7f4; border-color: #ffd2ca; }
.solution-card__number { color: var(--mint-600); font-weight: 900; letter-spacing: .12em; }
.solution-card:nth-child(2) .solution-card__number { color: var(--coral-500); }
.solution-card h3 { margin: 18px 0 13px; font-size: 23px; line-height: 1.55; }
.solution-card p { position: relative; z-index: 1; margin: 0; color: var(--charcoal-soft); font-size: 14px; }
.solution-card__visual { position: absolute; right: -14px; bottom: -28px; display: grid; place-items: center; width: 150px; height: 150px; color: var(--mint-500); background: var(--mint-100); border-radius: 50%; font-size: 64px; font-weight: 900; opacity: .72; }
.solution-card:nth-child(2) .solution-card__visual { color: var(--coral-500); background: #ffe3dd; }

.works { background: var(--mint-050); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { overflow: hidden; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.work-card > img { width: 100%; height: 240px; object-fit: cover; }
.work-card--adviser > img { object-fit: contain; object-position: center bottom; background: linear-gradient(135deg, var(--mint-100), #fff); }
.work-card__body { padding: 24px; }
.work-card__body > span { display: inline-block; padding: 4px 10px; color: var(--mint-600); background: var(--mint-100); border-radius: 999px; font-size: 11px; font-weight: 800; }
.work-card h3 { min-height: 60px; margin: 12px 0 18px; font-size: 18px; line-height: 1.65; }
.work-card__body p { color: var(--charcoal-soft); font-size: 14px; }
.work-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.work-card dl div { display: flex; gap: 8px; font-size: 13px; }
.work-card dt { color: var(--charcoal-soft); }
.work-card dd { margin: 0; font-weight: 800; }

.cost { background: #fff; }
.cost-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.cost-table { width: 100%; min-width: 690px; border-collapse: collapse; }
.cost-table th, .cost-table td { padding: 20px 24px; border-bottom: 1px solid var(--border); text-align: left; }
.cost-table thead th { color: var(--charcoal-soft); background: var(--beige); font-size: 12px; }
.cost-table tbody tr:last-child th, .cost-table tbody tr:last-child td { border-bottom: 0; }
.cost-table tbody th { font-size: 16px; }
.cost-table td { color: var(--charcoal-soft); }
.cost-table strong { color: var(--coral-500); font-size: 24px; }
.cost-table a { display: inline-block; padding: 7px 13px; color: var(--mint-600); background: var(--mint-100); border-radius: 8px; font-weight: 800; font-size: 12px; }
.cost__note { color: #77837f; font-size: 12px; }

.flow { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.flow::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(var(--mint-200) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.flow .container { position: relative; }
.flow .section-kicker { color: var(--mint-200); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-grid article { position: relative; padding: 28px 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-md); }
.flow-grid article:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; color: var(--mint-500); background: #fff; border-radius: 50%; transform: translateY(-50%); font-weight: 900; }
.flow-grid article > span { color: var(--mint-200); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.flow-grid article > div { margin: 18px 0; font-size: 38px; color: var(--mint-200); }
.flow-grid h3 { margin: 0 0 8px; font-size: 19px; }
.flow-grid p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 13px; }

.voices { background: var(--beige); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-grid blockquote { margin: 0; padding: 30px; background: #fff; border-radius: var(--radius-md); }
.stars { color: #f4b544; letter-spacing: .12em; }
.voice-grid blockquote > p { min-height: 130px; color: var(--charcoal-soft); font-size: 14px; }
.voice-grid footer { padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 700; }

.faq { background: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--mint-050); border: 1px solid var(--border); border-radius: 16px; }
.faq-list summary { display: flex; align-items: center; gap: 16px; padding: 21px 24px; list-style: none; cursor: pointer; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; margin-left: auto; color: var(--mint-600); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span, .faq-list details > div > span { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 900; }
.faq-list summary span { color: #fff; background: var(--mint-500); }
.faq-list details > div { display: flex; gap: 16px; padding: 0 24px 22px; }
.faq-list details > div > span { color: var(--coral-500); background: #ffe6e1; }
.faq-list details p { margin: 3px 0 0; color: var(--charcoal-soft); }

.final-cta { position: relative; overflow: hidden; padding: 70px 0; color: #fff; background: linear-gradient(135deg, var(--mint-600), var(--mint-500)); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 280px; height: 280px; border: 2px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.final-cta::before { top: -190px; left: -70px; }
.final-cta::after { right: -120px; bottom: -190px; }
.final-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.final-cta h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.45; letter-spacing: -.04em; }
.final-cta p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }
.final-cta__actions { display: grid; gap: 16px; }
.final-cta__phone { display: flex; flex-direction: column; align-items: center; font-size: 28px; font-weight: 900; line-height: 1.3; }
.final-cta__phone small { font-size: 11px; font-weight: 600; }

.site-footer { color: rgba(255, 255, 255, .75); background: #1c2825; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .7fr; gap: 56px; padding-top: 58px; padding-bottom: 48px; }
.brand--footer { color: #fff; }
.site-footer__copy { max-width: 420px; font-size: 13px; }
.site-footer__label { margin: 0; font-size: 12px; }
.site-footer__phone { display: block; color: #fff; font-size: 26px; font-weight: 900; }
.site-footer__hours { margin: 0; font-size: 11px; }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li + li { margin-top: 9px; }
.site-footer__links a { font-size: 13px; }
.site-footer__bottom { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 10px; text-align: center; }
.mobile-fixed-cta { display: none; }

.content-page { min-height: 60vh; padding-top: 80px; padding-bottom: 100px; }
.entry-card { margin-bottom: 28px; padding: 36px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.entry-title { margin-top: 0; line-height: 1.4; }
.entry-content { color: var(--charcoal-soft); }
.entry-content a { color: var(--mint-600); text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
	.problem-grid article, .solution-card, .work-card, .flow-grid article, .voice-grid blockquote {
		opacity: 0;
		transform: translateY(20px);
		transition: opacity .55s ease, transform .55s ease;
	}
	.problem-grid article.is-visible, .solution-card.is-visible, .work-card.is-visible, .flow-grid article.is-visible, .voice-grid blockquote.is-visible {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1050px) {
	.primary-nav__list { gap: 14px; }
	.primary-nav__list a { font-size: 12px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 32px; }
	.hero h1 { font-size: clamp(40px, 5vw, 56px); }
	.solution-card { padding: 26px; }
}

@media (max-width: 900px) {
	.container { width: min(calc(100% - 36px), var(--container)); }
	.menu-toggle { display: block; position: relative; z-index: 102; }
	.menu-open .menu-toggle__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.menu-open .menu-toggle__line:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.primary-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 30px; visibility: hidden; opacity: 0; background: rgba(255, 253, 248, .98); transition: .2s; }
	.primary-nav.is-open { visibility: visible; opacity: 1; }
	.primary-nav__list { flex-direction: column; gap: 24px; }
	.primary-nav__list a { font-size: 18px; }
	.hero { padding-top: 36px; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__content { padding-top: 0; }
	.before-after { max-width: 680px; }
	.matching-card { max-width: 650px; margin-inline: auto; }
	.problem-grid, .solution-grid, .work-grid, .voice-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
	.solution-card { min-height: 300px; }
	.work-card { display: grid; grid-template-columns: 42% 58%; }
	.work-card > img { height: 100%; min-height: 280px; }
	.work-card h3 { min-height: 0; }
	.flow-grid { grid-template-columns: repeat(2, 1fr); }
	.flow-grid article:nth-child(2)::after { display: none; }
	.final-cta__inner { grid-template-columns: 1fr; text-align: center; }
	.final-cta .eyebrow { margin-inline: auto; }
	.final-cta__actions { max-width: 480px; width: 100%; margin-inline: auto; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid nav { grid-column: 1 / -1; }
	.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
	.site-footer__links li + li { margin: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15px; padding-bottom: 68px; }
	.container { width: min(calc(100% - 28px), var(--container)); }
	.site-header__inner { min-height: 68px; }
	.brand { gap: 9px; font-size: 19px; }
	.brand__mark { width: 34px; height: 34px; border-width: 3px; }
	.brand__mark::before, .brand__mark::after { top: -7px; width: 22px; height: 3px; }
	.brand__mark span { font-size: 19px; }
	.hero { padding: 28px 0 42px; }
	.hero__grid { gap: 26px; }
	.eyebrow { margin-bottom: 13px; padding: 7px 13px; font-size: 11px; }
	.hero h1 { font-size: clamp(33px, 10.5vw, 46px); line-height: 1.3; }
	.hero h1 em { white-space: normal; }
	.hero h1 em::after { height: 10px; bottom: 2px; }
	.hero__lead { margin: 14px 0 17px; font-size: 15px; }
	.before-after { aspect-ratio: 16 / 9.2; border-radius: 16px; }
	.hero__trust { margin-top: 12px; padding: 10px 4px; }
	.hero__trust strong { font-size: 17px; }
	.hero__trust span { font-size: 9px; }
	.matching-card { padding: 22px 18px; border-radius: 24px; }
	.matching-card__header p { font-size: 20px; }
	.form-progress { margin-block: 16px 20px; }
	.choice-grid { gap: 8px; }
	.choice-grid span { min-height: 48px; font-size: 12px; }
	.field-pair { grid-template-columns: 1fr; gap: 0; }
	.form-actions { grid-template-columns: 78px 1fr; }
	.logo-strip { overflow: hidden; }
	.logo-strip__inner { display: flex; width: 100%; overflow-x: auto; gap: 0; scrollbar-width: none; }
	.logo-strip span { min-width: 190px; }
	.section { padding: 68px 0; }
	.section-title { margin-bottom: 32px; font-size: 29px; }
	.sp-only { display: block; }
	.problem-grid, .solution-grid, .work-grid, .voice-grid { gap: 15px; }
	.problem-grid article { padding: 30px 22px 24px; }
	.solution-card { min-height: 285px; }
	.section-heading-row { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
	.section-heading-row .section-title { font-size: 30px; }
	.work-card { display: block; }
	.work-card > img { height: 220px; min-height: 0; }
	.work-card__body { padding: 20px; }
	.cost-table th, .cost-table td { padding: 16px; }
	.flow-grid { grid-template-columns: 1fr; }
	.flow-grid article:not(:last-child)::after { display: grid; top: auto; right: 50%; bottom: -19px; transform: translateX(50%) rotate(90deg); }
	.voice-grid blockquote > p { min-height: 0; }
	.faq-list summary { gap: 10px; padding: 18px 15px; font-size: 14px; }
	.faq-list details > div { gap: 10px; padding: 0 15px 18px; font-size: 13px; }
	.faq-list summary span, .faq-list details > div > span { width: 30px; height: 30px; }
	.final-cta { padding: 58px 0; }
	.final-cta h2 { font-size: 29px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
	.site-footer__grid nav { grid-column: auto; }
	.mobile-fixed-cta { position: fixed; right: 12px; bottom: 10px; left: 12px; z-index: 99; display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 52px; color: #fff; background: linear-gradient(135deg, var(--coral-400), var(--coral-500)); border-radius: 999px; box-shadow: 0 10px 30px rgba(246, 91, 70, .36); font-weight: 900; }
	.mobile-fixed-cta span { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--coral-500); background: #fff; border-radius: 50%; font-size: 11px; }
	.content-page { padding-top: 44px; }
	.entry-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
