/* Homepage phone layout. Loaded only on the homepage below the pager breakpoint.
   Sections follow content height; desktop presentation stays in main.css. */
body.home .acon-main { overflow-x: clip; }

body.home .acon-main > .acon-section:not(.acon-section--hero) {
	height: auto;
	min-height: 0;
	max-height: none;
	padding: var(--home-section-space) 0;
	scroll-margin-top: var(--acon-header-height);
	scroll-snap-align: none;
}
body.home .acon-main .acon-section__index { display: none; }
body.home .acon-main :is(.acon-title, .about-intro__title, .partners-v3__title) {
	font-size: var(--home-title-size);
	line-height: 1.28;
	letter-spacing: -.025em;
	max-width: 100%;
	margin: 0;
	text-wrap: pretty;
}
body.home .acon-main .acon-kicker {
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: .12em;
	gap: 10px;
	margin: 0 0 16px;
}
body.home .acon-main .acon-kicker::before { flex: 0 0 24px; width: 24px; }
body.home .acon-main :is(.acon-text, .about-intro__text, .partners-v3__intro) {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	margin-top: 18px;
}
body.home .acon-main .acon-section__inner {
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}
body.home .acon-main :is(.acon-button, .hero-btn, .about-intro__cta, .field-row__go) {
	min-height: 48px;
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: .06em;
	box-shadow: none;
}

/* Hero: the navigation has its own row, so every slide count fits. */
body.home .acon-main > .acon-section--hero { height: auto; min-height: 0; max-height: none; padding: var(--acon-header-height) 0 0; background: #195c90; }
body.home .hero-swiper { position: relative; inset: auto; width: 100%; }
body.home .hero-swiper > .swiper-wrapper { height: auto; align-items: stretch; }
body.home .hero-slide { height: auto; }
body.home .hero-slide__bg {
	position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9;
	background-size: cover; background-repeat: no-repeat; background-color: #061a30;
	transform: none !important; filter: none !important;
}
body.home .hero-slide__video { object-fit: cover; }
body.home .hero-slide::after, body.home .hero-slide__panels { display: none; }
body.home .hero-slide__inner {
	height: auto;
	align-content: start;
	padding: 28px 0 24px;
}
body.home .acon-main .hero-slide__title {
	font-size: clamp(34px, 9.5vw, 46px);
	line-height: 1.18;
	letter-spacing: -.03em;
	margin: 0;
}
body.home .hero-slide .acon-text { line-height: 1.65; color: #f0f4f8; }
body.home .hero-slide .acon-actions { margin-top: 24px; }
body.home .hero-btn { width: 100%; padding: 14px 18px; justify-content: space-between; }
body.home .hero-ui { position: relative; inset: auto; margin: 0 auto; padding: 16px 0 24px; }
body.home .hero-ui__current { color: #fff; }
body.home .hero-ui__nav { gap: 12px; min-width: 0; align-items: center; }
body.home .hero-arrow { flex: 0 0 44px; width: 44px; height: 44px; }
body.home .hero-bullets { flex: 1; min-width: 0; gap: 6px; justify-content: center; }
body.home .hero-bullet {
	flex: 1 1 0;
	min-width: 0;
	max-width: 44px;
	height: 44px;
	transform: none;
	border-radius: 0;
	background: linear-gradient(#ffffff55, #ffffff55) center / 100% 3px no-repeat;
}
body.home .hero-bullet__fill { top: 20px; bottom: auto; height: 3px; }
body.home .hero-progress { display: none; }

body.home .about-intro__shell { gap: 28px; }
body.home .about-intro__slogan { font-size: 18px; line-height: 1.6; margin-top: 20px; }
body.home .about-intro__slogan span + span { font-size: 12px; margin-top: 4px; }
body.home .about-intro__link { min-height: 52px; gap: 8px; font-size: 14px; }
body.home .about-intro__cta { display: flex; justify-content: space-between; padding: 14px 18px; }
body.home .about-intro__visual {
	height: auto;
	aspect-ratio: 1043 / 1402;
	max-width: 460px;
	justify-self: center;
	border-radius: 6px;
	box-shadow: none;
}
body.home .about-intro__visual > img { object-fit: contain; object-position: center; }
body.home .about-intro__since { padding: 14px 18px; gap: 5px; }
body.home .about-intro__since strong { font-size: 36px; }
body.home .acon-main > .news-v2 { border-top: 1px solid #ffffff24; }
body.home .news-v2__head-row { gap: 16px; }
body.home .news-v2__all { min-height: 44px; }
body.home .news-feature__link { grid-template-rows: auto auto; }
body.home .news-feature__media { aspect-ratio: 16 / 10; min-height: 0; }
body.home .news-feature__photo { position: absolute; inset: 0; }
body.home .news-v2__bignum { display: none; }
body.home .news-feature__body { padding: 18px; gap: 10px; }
body.home .news-feature__title { font-size: 18px; line-height: 1.5; -webkit-line-clamp: 3; }
body.home .news-feature__excerpt { font-size: 13px; line-height: 1.65; -webkit-line-clamp: 2; }
body.home .news-card__link { grid-template-columns: 100px minmax(0, 1fr); }
body.home .news-card__body { padding: 12px; gap: 8px; }
body.home .news-card__title { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 3; }
body.home .news-card__excerpt { display: none; }

/* Compact service cards: consistent title alignment and two-column links. */
body.home .acon-section--services { background: #f5f8fb; }
body.home .acon-section--services :is(.acon-section__bg, .acon-section__shade) { display: none; }
body.home .acon-section--services::before, body.home .acon-section--services::after { display: none; }
body.home .acon-main .fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
body.home .acon-main .field-row { padding: 22px 18px; gap: 18px; box-shadow: none; border: 1px solid #dce5ec; border-radius: 6px; background: #fff; }
body.home .field-row::before, body.home .field-row::after { display: none; }
body.home .field-row__head { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
body.home .field-row__divider, body.home .field-row__titleicon { display: none; }
body.home .field-row__no { font-size: 25px; line-height: 1.3; }
body.home .field-row__title { font-size: 20px; line-height: 1.35; }
body.home .field-row__tagline { font-size: 13px; line-height: 1.6; margin-top: 6px; }
body.home .field-row__text { color: #526174; font-weight: 400; line-height: 1.75; }
body.home .field-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.home .field-tag { min-width: 0; min-height: 44px; padding: 8px; gap: 7px; font-size: 11px; line-height: 1.45; white-space: normal; }
body.home .field-tag__icon { flex: 0 0 14px; width: 14px; }
body.home .field-row__go { width: 100%; justify-content: space-between; }
body.home .field-row__go-label { padding: 12px; line-height: 1.5; font-size: 11px; }
body.home .field-row__go-icon { flex: 0 0 46px; height: 46px; }

body.home .acon-main > .acon-section--capability { background: #edf3f7; }
body.home .acon-main .capability-visual { display: block; height: auto; }
body.home .capability-visual__photo { width: 100%; max-height: none; aspect-ratio: 4 / 3; box-shadow: none; }
body.home .acon-main .skill-card { position: relative; inset: auto; width: 100%; margin: 16px 0 0; padding: 20px; box-shadow: none; }
body.home .skill-card__title { font-size: 16px; line-height: 1.5; }
body.home .skill-chart { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
body.home .skill-chart__pie { width: 104px; }
body.home .skill-chart__pie span { font-size: 17px; }
body.home .skill-chart__legend li { gap: 7px; font-size: 11px; grid-template-columns: 9px minmax(0, 1fr) auto; }
body.home .skill-chart__legend strong { font-size: 15px; }
body.home .capability-checklist { grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.home .capability-checklist__item { font-size: 14px; }

/* Project image and copy occupy separate rows on phones. All panels share a
   grid cell so long project names establish height without covering controls. */
body.home .acon-main > .projects-v2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; background: #0c304f; }
body.home .projects-v2__inner { display: contents; }
body.home :is(.projects-v2__stage, .projects-v2__body, .projects-v2__foot) { width: calc(100% - 2 * var(--acon-shell-gutter)); margin: 0 auto; }
body.home .projects-v2__stage { position: relative; inset: auto; grid-area: 1 / 1; height: auto; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
body.home .projects-v2__slide { inset: 0; transform: none; }
body.home .projects-v2__scrim, body.home .projects-v2__grain { display: none; }
body.home .projects-v2__body { grid-area: 2 / 1; grid-template-columns: minmax(0, 1fr); gap: 24px; }
body.home .projects-v2__info { display: grid; min-height: 0; }
body.home .projects-v2__panel { position: relative; inset: auto; grid-area: 1 / 1; visibility: hidden; transform: none; gap: 10px; }
body.home .projects-v2__panel.is-active { visibility: visible; }
body.home .projects-v2__panel .acon-kicker { margin-bottom: 0; }
body.home .projects-v2__name { font-size: clamp(26px, 7vw, 32px); line-height: 1.25; letter-spacing: -.025em; }
body.home .projects-v2__sub { font-size: 14px; }
body.home .projects-v2__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 8px; padding-top: 18px; }
body.home .projects-v2__meta div { padding: 0; border: 0; min-width: 0; }
body.home .projects-v2__meta dt { font-size: 9px; letter-spacing: .1em; color: #b0c5d7; }
body.home .projects-v2__meta dd { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
body.home .projects-v2__rail { flex-direction: row; gap: 10px; max-height: none; overflow-x: auto; padding: 2px 0 10px; scroll-snap-type: x proximity; }
body.home .projects-v2__thumb { flex: 0 0 230px; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; min-width: 0; padding: 10px; scroll-snap-align: start; transform: none; }
body.home .projects-v2__thumb-img { width: 56px; height: 48px; }
body.home .projects-v2__thumb-name { font-size: 12px; }
body.home .projects-v2__foot { grid-area: 3 / 1; padding-top: 18px; }
body.home .projects-v2__arrow { width: 44px; height: 44px; }

body.home .acon-main > .partners-v3 { min-height: 0; padding: var(--home-section-space) 0; }
body.home .partners-v3__inner { min-height: 0; padding: 0; gap: 28px; }
body.home .partners-v3__head { text-align: left; }
body.home .partners-v3__intro { margin: 18px 0 0; }
body.home .partners-v3__rails { gap: 8px; }
body.home .partners-v3__logo { height: 88px; padding: 12px; }

@media (max-width: 359px) {
	body.home .skill-chart { grid-template-columns: minmax(0, 1fr); }
	body.home .skill-chart__pie { width: 120px; }
	body.home .field-tag { font-size: 10px; }
	body.home .news-card__link { grid-template-columns: 84px minmax(0, 1fr); }
}
