/*
 * ANPS Agency: home.css (front page only, handle `anps-home`, also an editor style)
 * =============================================================================
 * Ported from design/html/home-desktop.html (1920) and home-mobile.html (390).
 * Every homepage section is a core/group with class `hm` + `hm-<section>`
 * (patterns/home-*.php); rules are scoped to those classes so the editor style
 * does not leak into other pages. The CTA band (#start) is shared: cta.css.
 *
 * Home-only art:  .dv .dvw .w1-6 .s1-6 .led .dl .wv1-3 .chk .fri .pkk
 *                 .ist .isl .isr .isb .stk, .stc 11px, clip 10 % / 6 %.
 */

.hm .hm-rule {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--line);
}

/* Whole card clickable through the heading link (accessible name = the heading). */
.hm .svc h3 a {
	color: inherit;
}

.hm .svc h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hm .svc h3 a:focus-visible {
	outline: none;
}

.hm .svc:focus-within::before {
	transform: scaleY(1);
}

.hm .svc:has(h3 a:focus-visible) {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

.hm .add-arw .arw,
.hm .add-arw .arw svg {
	width: 20px;
	height: 16px;
}

/* Section labels that are headings (outline) keep the label metrics. */
.hm h2.label {
	line-height: normal;
}

/* --------------------------------------------------------------- art ----- */

.hm .stc {
	font-size: 11px;
	fill: color-mix(in srgb, var(--cream) 55%, transparent);
}

.hm .stk {
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: 12px;
	font-weight: 500;
	fill: var(--black);
}

.hm .ist {
	fill: var(--py);
	stroke: var(--black);
	stroke-width: 1;
}

.hm .isl {
	fill: color-mix(in srgb, var(--py) 86%, var(--ink));
	stroke: var(--black);
	stroke-width: 1;
}

.hm .isr {
	fill: color-mix(in srgb, var(--py) 74%, var(--ink));
	stroke: var(--black);
	stroke-width: 1;
}

/* The design's block tops are pure white in every scheme. */
.hm .isb {
	fill: white;
	stroke: var(--black);
	stroke-width: 1;
}

.hm .pkk {
	fill: none;
	stroke: var(--black);
	stroke-width: 6;
	stroke-linecap: round;
	stroke-dasharray: 0.1 130;
	animation: pk 4s linear infinite;
}

/* Device rail (dark band). */
.hm .dv {
	stroke: var(--art);
	stroke-width: 1;
	animation: devOn 12s 2.4s infinite;
}

.hm .dv .df {
	fill: var(--dark);
}

.hm .dv .dn {
	fill: none;
}

.hm .led {
	fill: var(--olive);
	stroke: none;
}

.hm .dv .led {
	animation: ledOn 12s 2.4s infinite;
}

.hm .dl {
	font-family: var(--wp--preset--font-family--instrument-sans);
	font-size: 13px;
	font-weight: 500;
	fill: color-mix(in srgb, var(--cream) 62%, transparent);
	animation: lblOn 12s 2.4s infinite;
}

.hm .s2,
.hm .s2 .led {
	animation-delay: 4.4s;
}

.hm .s3,
.hm .s3 .led {
	animation-delay: 6.4s;
}

.hm .s4,
.hm .s4 .led {
	animation-delay: 8.4s;
}

.hm .s5,
.hm .s5 .led {
	animation-delay: 10.4s;
}

.hm .s6,
.hm .s6 .led {
	animation-delay: 12.4s;
}

.hm .dvw {
	transform-box: fill-box;
	animation: upIn 0.9s var(--out) both;
}

.hm .w1 {
	animation-delay: calc(var(--ld-base) + 0.3s);
}

.hm .w2 {
	animation-delay: calc(var(--ld-base) + 0.4s);
}

.hm .w3 {
	animation-delay: calc(var(--ld-base) + 0.5s);
}

.hm .w4 {
	animation-delay: calc(var(--ld-base) + 0.6s);
}

.hm .w5 {
	animation-delay: calc(var(--ld-base) + 0.7s);
}

.hm .w6 {
	animation-delay: calc(var(--ld-base) + 0.8s);
}

.hm .wv1 {
	animation: wave 1.8s infinite;
}

.hm .wv2 {
	animation: wave 1.8s 0.3s infinite;
}

.hm .wv3 {
	animation: wave 1.8s 0.6s infinite;
}

.hm .chk {
	stroke-dasharray: 44;
	animation: draw 3.2s ease-in-out infinite;
}

.hm .fri {
	animation: blinkY 2s infinite;
}

@keyframes devOn {
	0%,
	14% {
		stroke: var(--yline);
	}

	17%,
	100% {
		stroke: var(--art);
	}
}

@keyframes ledOn {
	0%,
	14% {
		fill: var(--yline);
	}

	17%,
	100% {
		fill: var(--olive);
	}
}

@keyframes lblOn {
	0%,
	14% {
		fill: var(--yline);
	}

	17%,
	100% {
		fill: color-mix(in srgb, var(--cream) 62%, transparent);
	}
}

@keyframes wave {
	0%,
	100% {
		opacity: 0.25;
	}

	50% {
		opacity: 1;
	}
}

@keyframes draw {
	0%,
	15% {
		stroke-dashoffset: 44;
	}

	45%,
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes blinkY {
	0%,
	100% {
		fill: var(--dark);
	}

	50% {
		fill: var(--yline);
	}
}

/* Stronger clip reveal than the global one (design: 10 % / 6 %). */
@keyframes hmClipIn {
	from {
		clip-path: inset(10% 6% 10% 6%);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

@supports (animation-timeline: view()) {
	.hm .clip {
		animation-name: hmClipIn;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.no-sda.io .hm .clip:not(.in) {
		clip-path: inset(10% 6% 10% 6%);
	}
}

/* Final (still) state: the Laravel app is the highlighted device, as in the design. */
@media (prefers-reduced-motion: reduce) {
	.hm .dv.s1 {
		stroke: var(--yline);
	}

	.hm .pkk {
		display: none;
	}
}

.editor-styles-wrapper .hm :is(.dv, .dvw, .led, .dl, .wv1, .wv2, .wv3, .chk, .fri, .pkk) {
	animation: none !important;
}

/* ------------------------------------------------------- mobile type ----- */

@media (max-width: 600px) {
	.hm .d1 {
		font-size: 46px;
		line-height: 1.05;
		letter-spacing: -0.045em;
	}

	.hm .d2 {
		font-size: 36px;
		line-height: 1.1;
		letter-spacing: -0.04em;
	}

	.hm .p16 {
		line-height: 1.4;
	}

	.hm .stc {
		fill: color-mix(in srgb, var(--cream) 60%, transparent);
	}

	.hm .stk {
		font-size: 14px;
	}

	/* The 390 design wraps section headings freely (no fixed line breaks). */
	.hm :is(h2, h3) .ln,
	.hm :is(h2, h3) .ln > span {
		display: inline;
	}

	.hm :is(h2, h3) .ln + .ln::before {
		content: " ";
	}

	.hm .hm-panel-sub br,
	.hm .hm-step-h br {
		display: none;
	}
}

/* ------------------------------------------------------------------ hero -- */

.hm-hero {
	padding-top: 96px;
	background: var(--py);
}

.hm-hero-in {
	align-items: end;
	padding-top: 120px;
	padding-bottom: 104px;
}

.hm-hero h1 {
	grid-column: 1 / span 7;
}

.hm-hero-side {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.hm .hm-hero-cta {
	display: flex;
	align-items: center;
	gap: 32px;
}

@media (max-width: 600px) {
	.hm-hero {
		padding-top: 72px;
	}

	.hm-hero-in {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.hm-hero-side {
		gap: 24px;
	}

	.hm .hm-hero-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.hm .hm-hero-cta > .btn {
		flex: none;
	}

	.hm .hm-hero-cta .tl {
		align-self: flex-start;
	}
}

/* ------------------------------------------------------------- dark band -- */

.hm-band {
	overflow: hidden;
	background: var(--dark);
	color: var(--cream);
}

.hm-band-in {
	min-height: 740px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.hm-band-l {
	grid-column: 1 / span 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hm-band-intro {
	font-weight: 500;
}

.hm .hm-band-list {
	max-width: 320px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-band-list li {
	padding: 14px 0;
	border-top: 1px solid var(--lined);
	font-size: 18px;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.hm-band-art {
	grid-column: 4 / span 9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hm-band-art svg {
	width: 100%;
	max-width: 1240px;
	height: auto;
}

.hm-rail {
	position: relative;
	display: flex;
	flex-direction: column;
}

.hm-rail::before {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 30px;
	width: 12px;
	border-right: 1px solid var(--art);
	border-left: 1px solid var(--art);
}

.hm-rail-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 10px 0;
}

.hm-rail-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 56px;
	border: 1px solid var(--art);
	border-radius: 3px;
}

.hm-rail-tx {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hm-rail-n {
	font-size: 16px;
	font-weight: 500;
}

.hm-rail-d {
	font-size: 13px;
	color: var(--cream2);
}

.hm-rail-row.is-on .hm-rail-ic {
	border-color: var(--yline);
}

.hm-rail-row.is-on .hm-rail-n {
	color: var(--yline);
}

@media (max-width: 600px) {
	.hm-band-in {
		display: block;
		min-height: 0;
		padding: 28px 20px 32px;
	}

	.hm-band-l {
		justify-content: flex-start;
		gap: 28px;
	}

	.hm-band-intro {
		font-size: 16px;
		line-height: 1.4;
	}

	.hm .hm-band-list {
		max-width: none;
	}

	.hm-band-list li {
		padding: 12px 0;
		font-size: 16px;
		line-height: 1.4;
	}
}

/* ----------------------------------------------------------------- trust -- */

.hm-trust {
	background: var(--g1);
}

.hm-trust-top {
	align-items: center;
	padding: 48px 0;
	border-bottom: 1px solid var(--line);
}

.hm-trust-h {
	grid-column: 1 / span 2;
	font-weight: 500;
}

.hm .hm-marq {
	grid-column: 3 / span 10;
	padding: 18px 0;
	border-left: 1px solid var(--line);
}

.hm-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 24px;
	padding: 56px 0 88px;
}

.hm-stat {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-left: 28px;
	border-left: 1px solid var(--line);
}

.hm-stat .p18 {
	color: var(--ink2);
}

@media (max-width: 600px) {
	.hm-trust {
		padding: 36px 0 48px;
	}

	.hm-trust-top {
		display: block;
		padding: 0;
		border: 0;
	}

	.hm-trust-h {
		line-height: 1.4;
	}

	.hm .hm-marq {
		margin: 24px -20px 0;
		padding: 12px 0;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
		border-left: 0;
	}

	.hm-stats {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 32px 0 0;
	}

	.hm-stat {
		gap: 6px;
		padding-left: 16px;
	}

	.hm-stat .p18 {
		font-size: 16px;
		line-height: 1.4;
	}
}

/* -------------------------------------------------------------- services -- */

.hm-services {
	background: var(--paper);
}

.hm-services > .wrap {
	padding-top: 160px;
	padding-bottom: 160px;
}

.hm-head {
	align-items: start;
	padding-bottom: 64px;
	border-bottom: 1px solid var(--line);
}

.hm-head .label {
	grid-column: 1 / span 3;
}

.hm-head h2 {
	grid-column: 7 / span 6;
}

.hm-bento {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(4, clamp(290px, 19vw, 360px)) auto;
	gap: 16px;
	margin-top: 56px;
}

.hm .hm-bento .svc {
	padding: 32px;
}

.svc-laravel {
	grid-area: 1 / 1 / span 2 / span 7;
}

.svc-go {
	grid-area: 1 / 8 / span 1 / span 5;
}

.svc-realtime {
	grid-area: 2 / 8 / span 1 / span 5;
}

.svc-mobile {
	grid-area: 3 / 1 / span 1 / span 5;
}

.svc-ai {
	grid-area: 3 / 6 / span 2 / span 7;
}

.svc-seo {
	grid-area: 4 / 1 / span 1 / span 5;
}

.svc-wordpress {
	grid-area: 5 / 1 / span 1 / span 12;
}

.hm .svc-lg {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hm .svc-sm {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.svc-art {
	display: flex;
	flex-grow: 1;
	overflow: hidden;
	border-radius: 2px;
}

.svc-art .zoom {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.svc-art svg {
	width: 100%;
	height: 100%;
}

.svc-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.svc-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.hm .svc-lg .svc-h,
.hm .svc-wide .svc-h {
	font-size: clamp(40px, 3vw, 56px);
}

.svc-num {
	padding-bottom: 10px;
}

.svc-text {
	max-width: 620px;
	color: var(--ink2);
}

.svc-ai .svc-text {
	max-width: 640px;
}

.svc-wordpress .svc-text {
	max-width: 560px;
}

.svc-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.hm .svc-tags {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.svc-tags li {
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: border-color 0.3s;
}

.svc:hover .svc-tags li {
	border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.svc-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.svc-ic {
	flex: none;
	width: 160px;
	height: 112px;
	border-radius: 2px;
}

.svc-ic svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hm .svc-wide {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px 24px;
	align-items: stretch;
}

.svc-col {
	grid-column: 1 / span 5;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding-right: 16px;
}

.svc-wide .svc-title {
	align-items: flex-start;
	gap: 24px;
}

.svc-wide .svc-num {
	padding: 14px 0 0;
}

.svc-wide .svc-art {
	grid-column: 6 / span 7;
	min-height: 340px;
}

@media (max-width: 600px) {
	.hm-services > .wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.hm-head {
		display: block;
		padding-bottom: 32px;
	}

	.hm-head h2 {
		margin-top: 20px;
	}

	.hm-bento {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-top: 24px;
	}

	.hm .hm-bento .svc {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 20px;
		padding: 20px;
	}

	.svc-lg .svc-art {
		flex: none;
		align-items: center;
		justify-content: center;
		height: 190px;
		padding: 12px;
	}

	.svc-ai .svc-art {
		height: 170px;
	}

	.svc-art .zoom {
		padding: 0;
	}

	.hm .svc-lg .svc-h {
		font-size: 32px;
	}

	.svc-title {
		gap: 0;
	}

	.svc-num {
		padding-bottom: 0;
	}

	.svc-body {
		gap: 20px;
	}

	.svc-text {
		font-size: 16px;
		line-height: 1.4;
	}

	.svc-foot {
		padding-top: 14px;
	}

	.svc-tags li {
		padding: 6px 8px;
		font-size: 12px;
	}

	.svc-head {
		gap: 16px;
	}

	.hm .svc-sm .svc-h,
	.hm .svc-wide .svc-h {
		font-size: 24px;
		line-height: 1.1;
		letter-spacing: -0.035em;
	}

	.svc-ic {
		width: 112px;
		height: 80px;
	}

	/* The 390 icons are the same drawings without corner nodes and packets. */
	.svc-ic :is(circle.nodec, .pk) {
		display: none;
	}

	.svc-col {
		gap: 20px;
		padding-right: 0;
	}

	.svc-wide .svc-title {
		gap: 16px;
	}
}

/* ----------------------------------------------------------------- about -- */

.hm-about {
	background: var(--g1);
}

.hm-about > .wrap {
	padding-top: 160px;
}

.hm-about-top {
	align-items: end;
}

.hm-about-top h2 {
	grid-column: 1 / span 7;
}

.hm-about-art {
	grid-column: 9 / span 4;
	height: 360px;
	overflow: hidden;
	border-radius: 2px;
}

.hm-about-art svg,
.hm-panel-art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hm-diff {
	position: relative;
	margin-top: 112px;
	padding: 40px 0 160px;
}

.hm-diff .label {
	grid-column: 1 / span 3;
}

.hm-diff-p {
	grid-column: 7 / span 6;
}

@media (max-width: 600px) {
	.hm-about > .wrap {
		padding-top: 80px;
		padding-bottom: 64px;
	}

	.hm-about-top {
		display: flex;
		flex-direction: column;
		gap: 32px;
	}

	.hm .hm-about-top h2 {
		font-size: 44px;
	}

	.hm-about-art {
		height: 230px;
	}

	.hm-diff {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin-top: 32px;
		padding: 24px 0 0;
	}

	.hm .hm-diff-p {
		font-size: 22px;
		line-height: 1.25;
	}
}

/* -------------------------------------------------------------- panels ---- */

.hm-stack {
	position: relative;
}

.hm-panel {
	position: sticky;
	min-height: 680px;
	color: var(--cream);
	box-shadow: 0 -1px 0 color-mix(in srgb, var(--cream) 10%, transparent), 0 -30px 60px rgba(0, 0, 0, 0.18);
}

.hm-panel-1 {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
	background: var(--dark3);
}

.hm-panel-2 {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 184px);
	background: var(--dark2);
}

.hm-panel-3 {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 272px);
	background: var(--dark);
}

.hm-panel > .wrap {
	padding-top: 24px;
}

.hm-panel-l {
	grid-column: 1 / span 7;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 420px;
}

.hm-panel-sub {
	font-weight: 500;
}

.hm .hm-panel-art {
	grid-column: 8 / span 5;
	height: 420px;
	background-color: transparent;
}

.hm-panel-foot {
	align-items: start;
	margin-top: 40px;
	padding: 36px 0 48px;
	border-top: 1px solid var(--lined);
}

.hm-panel-text {
	grid-column: 1 / span 6;
}

.hm .hm-panel-link {
	grid-column: 8 / span 5;
	padding-left: 28px;
	border-left: 1px solid var(--lined);
}

@media (max-width: 600px) {
	.hm-panel {
		min-height: 0;
		box-shadow: 0 -1px 0 color-mix(in srgb, var(--cream) 10%, transparent), 0 -20px 40px rgba(0, 0, 0, 0.18);
	}

	.hm-panel-1 {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 64px);
	}

	.hm-panel-2 {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 120px);
	}

	.hm-panel-3 {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 176px);
	}

	.hm-panel > .wrap {
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 14px 20px 32px;
	}

	.hm-panel-top,
	.hm-panel-l,
	.hm-panel-foot {
		display: contents;
	}

	.hm .hm-panel-sub {
		font-size: 16px;
		line-height: 1.4;
	}

	.hm .hm-panel-art {
		height: 200px;
		border: 1px solid var(--lined);
	}

	.hm .hm-panel-text {
		padding-top: 20px;
		border-top: 1px solid var(--lined);
		font-size: 18px;
		line-height: 1.3;
	}

	.hm .hm-panel-link {
		padding-left: 0;
		border-left: 0;
	}
}

/* ------------------------------------------------------------- process ---- */

.hm-process {
	position: relative;
	z-index: 2;
	background: var(--paper);
}

.hm-process > .wrap {
	padding-top: 160px;
	padding-bottom: 160px;
}

.hm-proc-top {
	position: relative;
}

.hm-proc-l {
	grid-column: 1 / span 5;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 860px;
	padding: 28px 48px 0 0;
	border-right: 1px solid var(--line);
}

.hm .hm-proc-cta {
	display: flex;
}

.hm-stack-box {
	grid-column: 6 / span 7;
	display: flex;
	height: 832px;
	margin-top: 28px;
	overflow: hidden;
	background: var(--py);
}

.hm-stack-art {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
	overflow: hidden;
}

.hm-stack-art svg {
	width: 100%;
	max-width: 720px;
	height: 100%;
}

.hm-layers-wrap {
	display: flex;
	flex: none;
	width: 220px;
	border-left: 1px solid var(--line);
}

.hm .hm-layers {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-layers li {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}

.hm-layers li:last-child {
	border-bottom: 0;
}

.ly-n {
	font-size: 16px;
	font-weight: 500;
}

.ly-t {
	font-size: 18px;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.ly-d {
	font-size: 14px;
	color: var(--ink2);
}

.hm-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 128px;
}

.hm-step {
	display: flex;
	flex-direction: column;
	min-height: 400px;
	padding: 28px;
	border-radius: 4px;
	background: var(--g1);
}

.hm-step-n {
	font-size: 48px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.045em;
}

.hm .hm-step-h {
	margin-top: auto;
}

.hm-step-ic {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 28px 0 22px;
}

.hm-step-line {
	flex-grow: 1;
	height: 1px;
	background: var(--line);
}

.hm-step-ic svg {
	flex: none;
	width: 24px;
	height: 24px;
}

.hm-step-p {
	color: var(--ink2);
}

@media (max-width: 600px) {
	.hm-process > .wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.hm-proc-top {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.hm-proc-top > .hm-rule {
		display: none;
	}

	.hm-proc-l {
		display: contents;
	}

	.hm .hm-proc-p {
		font-size: 24px;
		line-height: 1.25;
	}

	.hm-stack-box {
		display: block;
		height: auto;
		margin-top: 0;
	}

	.hm-stack-art {
		display: block;
		padding: 12px 0;
	}

	.hm-stack-art svg {
		display: inline;
		width: 350px;
		max-width: 100%;
		height: auto;
	}

	.hm-layers-wrap {
		position: relative;
		display: block;
		width: auto;
		border-left: 0;
	}

	.hm .hm-layers {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-top: 1px solid var(--line);
	}

	.hm-layers li {
		display: block;
		padding: 12px 16px;
		font-size: 14px;
	}

	.hm-layers li:nth-child(odd) {
		border-right: 1px solid var(--line);
	}

	.ly-n {
		font-size: 14px;
	}

	.ly-t {
		font-size: 14px;
		line-height: normal;
	}

	.ly-d {
		display: none;
	}

	.hm-one-team {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 50%;
		padding: 12px 16px;
		font-size: 14px;
		color: var(--ink2);
	}

	.hm-steps {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-top: 40px;
	}

	.hm-step {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 16px;
		min-height: 0;
		padding: 20px;
	}

	.hm-step-n {
		font-size: 32px;
		letter-spacing: -0.04em;
	}

	.hm-step-ic {
		grid-row: 1;
		grid-column: 2;
		align-self: start;
		margin: 0;
	}

	.hm-step-line {
		display: none;
	}

	.hm-step-ic svg {
		width: 22px;
		height: 22px;
	}

	.hm .hm-step-h,
	.hm-step-p {
		grid-column: 1 / -1;
		margin: 0;
	}

	.hm .hm-step-p {
		padding-top: 14px;
		border-top: 1px solid var(--line);
		font-size: 16px;
		line-height: 1.4;
	}
}

/* ---------------------------------------------------------------- work ---- */

.hm-work {
	background: var(--yfill);
}

.hm-work > .wrap {
	padding-top: 160px;
	padding-bottom: 160px;
}

.hm-work-top {
	align-items: end;
}

.hm-work-l {
	grid-column: 1 / span 7;
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.hm-work-r {
	grid-column: 9 / span 4;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hm-otg {
	position: relative;
	margin-top: 64px;
	padding-top: 56px;
}

.hm-otg-art {
	grid-column: 1 / span 5;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 640px;
	padding: 32px;
	overflow: hidden;
	border-radius: 2px;
}

.hm-otg-art svg {
	width: 100%;
	height: 100%;
}

.hm-otg-r {
	grid-column: 6 / span 7;
	display: flex;
	flex-direction: column;
	padding-left: 32px;
	border-left: 1px solid var(--line);
}

.hm-otg-meta {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hm-badge {
	padding: 6px 10px;
	border-radius: 3px;
	background: var(--ink);
	color: var(--cream);
	font-size: 15px;
	font-weight: 500;
}

.hm-domain {
	font-size: 15px;
	color: var(--ink2);
}

.hm .hm-otg-h {
	margin-top: 28px;
}

.hm-otg-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	column-gap: 24px;
	margin-top: 40px;
}

.hm-otg-grid .hm-otg-p {
	grid-column: 1 / span 4;
}

.hm .hm-otg-feats {
	grid-column: 5 / span 3;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	font-size: 15px;
	list-style: none;
}

.hm-otg-feats li {
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.hm-otg-feats li:last-child {
	border-bottom: 1px solid var(--line);
}

.hm-otg-stat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
	padding-top: 48px;
}

.hm .hm-otg-n {
	font-size: clamp(72px, 5.6vw, 108px);
}

.hm-otg-l {
	font-weight: 500;
}

.hm .hm-otg-links {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-top: 40px;
}

.hm-wcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 56px;
}

.hm .hm-wcard {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 28px;
	background: var(--py);
}

.hm-wcard-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hm .hm-wcard-h {
	font-size: 22px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.03em;
}

.hm-wcard-kind {
	font-size: 14px;
	color: var(--ink2);
}

.hm-wcard-p {
	color: var(--ink2);
}

.hm-wcard-foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.hm .hm-wcard-n {
	font-size: 48px;
}

.hm-wcard-l {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 500;
}

@media (max-width: 600px) {
	.hm-work > .wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.hm-work-top {
		display: block;
	}

	.hm-work-l {
		gap: 32px;
	}

	.hm .hm-work-l h2 {
		font-size: 36px;
		line-height: 1.1;
		letter-spacing: -0.04em;
	}

	.hm-work-r {
		margin-top: 16px;
	}

	.hm-work-r .p18 {
		line-height: 1.4;
	}

	.hm-otg {
		display: flex;
		flex-direction: column;
		margin-top: 32px;
		padding-top: 0;
	}

	.hm-otg > .hm-rule {
		display: none;
	}

	.hm-otg-art {
		display: block;
		height: auto;
		padding: 12px;
	}

	.hm-otg-art svg {
		display: block;
		height: auto;
	}

	.hm-otg-r {
		padding-left: 0;
		border-left: 0;
	}

	.hm .hm-otg-r > .hm-otg-meta {
		gap: 10px;
		margin-top: 20px;
	}

	.hm-badge {
		padding: 5px 8px;
		font-size: 13px;
	}

	.hm-domain {
		font-size: 13px;
	}

	.hm .hm-otg-h {
		margin-top: 14px;
		font-size: 32px;
	}

	.hm-otg-grid {
		display: block;
		margin-top: 12px;
	}

	.hm .hm-otg-p {
		line-height: 1.4;
	}

	.hm-otg-stat {
		gap: 0;
		margin-top: 24px;
		padding-top: 0;
	}

	.hm .hm-otg-n {
		font-size: 48px;
	}

	.hm .hm-otg-l {
		line-height: 1.4;
	}

	.hm .hm-otg-links {
		margin-top: 12px;
	}

	.hm-wcards {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-top: 36px;
	}

	.hm .hm-wcard {
		gap: 12px;
		padding: 20px;
	}

	.hm-wcard-top {
		align-items: baseline;
	}

	.hm .hm-wcard-h {
		font-size: 20px;
	}

	.hm-wcard-kind {
		font-size: 13px;
	}

	.hm-wcard-foot {
		display: block;
		padding-top: 12px;
	}

	.hm-wcard-foot .arw {
		display: none;
	}

	.hm .hm-wcard-n {
		font-size: 30px;
	}

	.hm-wcard-l {
		margin-top: 2px;
		font-size: 13px;
	}

	.hm .hm-work-more {
		margin-top: 28px;
	}
}

/* --------------------------------------------------------- testimonial ---- */

.hm-quote {
	background: var(--paper);
}

.hm-quote > .wrap {
	padding-top: 160px;
	padding-bottom: 120px;
}

.hm-quote-in {
	position: relative;
	padding-bottom: 120px;
}

.hm-quote-art {
	height: 720px;
	overflow: hidden;
	border-radius: 2px;
}

.hm-quote-art svg {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0.75;
}

.hm .hm-quote-card {
	position: absolute;
	right: 6%;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 120px;
	width: min(680px, 46%);
	margin: 0;
	padding: 48px;
	border: 0;
	border-radius: 2px;
	background: var(--black);
	color: var(--cream);
}

.hm .hm-quote-card p {
	margin: 0;
}

.hm .hm-quote-card cite {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-size: 15px;
	font-style: normal;
	line-height: normal;
	color: var(--cream2);
}

.hm-quote-card cite strong {
	font-weight: 500;
	color: var(--cream);
}

.hm-quote-card cite br {
	display: none;
}

@media (max-width: 600px) {
	.hm-quote > .wrap {
		padding-top: 80px;
		padding-bottom: 40px;
	}

	.hm-quote-in {
		padding-bottom: 0;
	}

	.hm-quote-art {
		height: 260px;
	}

	.hm .hm-quote-card {
		position: relative;
		right: auto;
		bottom: auto;
		gap: 48px;
		width: auto;
		margin: -80px 0 0 24px;
		padding: 28px 24px;
	}

	.hm .hm-quote-card .p28 {
		font-size: 20px;
		line-height: 1.25;
	}

	.hm .hm-quote-card cite {
		font-size: 14px;
	}
}

/* ----------------------------------------------------------------- faq ---- */

.hm-faq {
	background: var(--paper);
}

.hm-faq > .wrap {
	padding-top: 40px;
	padding-bottom: 160px;
}

.hm .hm-faq-head {
	padding-bottom: 0;
	border-bottom: 0;
}

.hm-faq-body {
	position: relative;
	align-items: start;
	margin-top: 64px;
	padding-top: 56px;
}

.hm-faq-arts {
	grid-column: 1 / span 5;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hm-faq-arts > div {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 360px;
	border-radius: 2px;
}

.hm-faq-a1 {
	background-color: var(--g1);
}

.hm .hm-faq-list {
	grid-column: 7 / span 6;
}

@media (max-width: 600px) {
	.hm-faq > .wrap {
		padding-top: 60px;
		padding-bottom: 80px;
	}

	.hm .hm-faq-head h2 {
		padding-bottom: 28px;
		border-bottom: 1px solid var(--line);
	}

	.hm-faq-body {
		display: block;
		margin-top: 0;
		padding-top: 0;
	}

	.hm-faq-body > .hm-rule {
		display: none;
	}
}
