/* home — from draft v3 index.html. Hero = hero-3d, 주요 소식 = home-news, 기술 = tabs, 솔루션 = carousel. */
.dp-home {
  --ink: #14171c; --sub: #5a616d; --mute: #8a919c; --line: #e6e8ec; --strong: #cdd1d7; --bg2: #f6f7f9;
  --fr-line: #e6e8ec;
  --tk-cell: -1px 0 0 0 #e6e8ec, 0 -1px 0 0 #e6e8ec, -1px -1px 0 0 #e6e8ec;
  --ease: cubic-bezier(0.2, 0, 0, 1); --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --grp-h: 720px; /* --sec-h, --hero-h, --gut come from <html> (scale-v1.js, draft v3) */
  position: relative;
}
.dp-home *, .dp-home ::before, .dp-home ::after { box-sizing: border-box; }
.dp-home ul { margin: 0; padding: 0; list-style: none; }
.dp-home a, .dp-home button { transition-duration: 0.24s; transition-timing-function: var(--ease-out); }
.dp-home h1, .dp-home h2, .dp-home h3, .dp-home p, .dp-home li, .dp-home span { text-wrap: pretty; }
.dp-home a svg { flex-shrink: 0; }

/* ---- Frame, sections, section head ---- */
.dp-home .wrap { position: relative; width: 1240px; max-width: calc(100% - 48px); margin: 0 auto; }
.dp-home > section { position: relative; z-index: 1; }
.dp-home .sec { position: relative; background: transparent; box-shadow: inset 0 1px 0 var(--fr-line); }
.dp-home .frame { display: flex; flex-direction: column; justify-content: center; height: var(--sec-h); overflow: hidden; }
.dp-home .sh { display: grid; grid-template-columns: 715px 400px; justify-content: space-between; align-items: end; }
.dp-home .sh__t { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -1px; }
.dp-home .sh__r { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.dp-home .btn--ghost { gap: 4px; color: var(--ink); }
.dp-home .tlink { display: inline-flex; align-items: center; gap: 4px; min-width: max-content; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dp-home .tlink svg { transition: transform 0.32s var(--ease-out); }
.dp-home .tlink:hover svg { transform: translateX(4px); }
@media (min-width: 1248px) {
  .dp-home .wrap { max-width: none; }
  .dp-home .frame:not(.prod) { justify-content: flex-start; padding-top: calc((var(--sec-h) - var(--grp-h)) / 2); }
  .dp-home .sh { grid-template-columns: 683px 400px; height: 96px; padding: 0 24px; }
}
@media (max-width: 1247px) {
  .dp-home { --gut: 24px; }
  .dp-home .frame { height: auto; padding: 112px 0; }
  .dp-home .sh { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 40px; }
}

/* ---- Carousel controls (home-news, solutions): "01 / 07  ‹ ›" ---- */
.dp-home .carousel__controls { gap: 12px; }
.dp-home .carousel__status { order: -1; min-width: 0; margin-right: 8px; color: var(--ink); font-size: 15px; line-height: 24px; font-weight: 600; }
.dp-home .carousel__current { font-weight: 600; }
.dp-home .carousel__btn { width: 44px; height: 44px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.dp-home .carousel__btn svg { width: 20px; height: 20px; stroke-width: 2; }
.dp-home .carousel__btn:disabled { opacity: 0.35; color: var(--ink); }
/* Shared track: starts at the frame's content edge, bleeds to the right edge, hairline grid. */
.dp-home .now__track, .dp-home .so__track {
  gap: 0; margin-top: 48px; margin-left: calc(var(--gut) + 23px); padding: 1px var(--gut) 1px 1px;
  box-shadow: inset 1px 0 0 var(--fr-line), inset 0 1px 0 var(--fr-line), inset 0 -1px 0 var(--fr-line);
  scroll-padding-left: 1px;
}

/* ---- Hero (hero-3d) ---- */
.dp-home .hero-3d { display: flex; align-items: flex-end; height: var(--hero-h); }
.dp-home .hero-3d__content { padding-bottom: 104px; }
.dp-home .hero-t { font-size: 56px; line-height: 68px; font-weight: 700; letter-spacing: -0.02em; color: #fff; word-break: keep-all; }
.dp-home .hero-d { margin: 20px 0 32px; color: #b3c0cb; font-size: 18px; line-height: 28px; word-break: keep-all; }
.dp-home .hero-3d .btn--primary { background: linear-gradient(180deg, #ff7d1f 0%, #ff6a00 52%, #f45f00 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(160, 56, 0, 0.22), 0 1px 2px rgba(20, 23, 28, 0.1), 0 8px 16px -8px rgba(255, 106, 0, 0.55); color: #fff; }
.dp-home .hero-3d .btn--primary:hover { background: linear-gradient(180deg, #ff7414 0%, #f56400 52%, #e45700 100%); }
.dp-home .hero-3d .btn--primary:hover svg { transform: translateX(4px); }

/* ---- 주요 소식 (home-news renders .card items) ---- */
.dp-home #h-now .now__track { min-height: 508px; }
.dp-home #h-now .card { flex: 0 0 310px; width: 310px; }
.dp-home #h-now .card__link { position: relative; display: flex; flex-direction: column; gap: 0; height: 506px; overflow: hidden; background: #fff; box-shadow: var(--tk-cell); color: var(--ink); }
.dp-home #h-now .card__media { flex: 0 0 280px; height: 280px; aspect-ratio: auto; background: #f3f5f7; }
.dp-home #h-now .card__media img { transition: transform 0.8s var(--ease-out); }
.dp-home #h-now .card__body { flex: 1 1 0%; gap: 0; padding: 24px; transition: background-color 0.4s var(--ease); }
.dp-home #h-now .card__link:hover .card__body { background: #fafbfc; }
.dp-home #h-now .card__meta { display: contents; }
.dp-home #h-now .card__meta > :not(.card__date) { order: 0; align-self: flex-start; }
.dp-home #h-now .card__type, .dp-home #h-now .card__platform { color: var(--sub); font-size: 13px; line-height: 20px; font-weight: 700; }
.dp-home #h-now .card__title { order: 1; margin-top: 8px; font-size: 18px; line-height: 28px; font-weight: 700; -webkit-line-clamp: 3; line-clamp: 3; }
.dp-home #h-now .card__link:hover .card__title { text-decoration: none; }
.dp-home #h-now .card__venue, .dp-home #h-now .card__summary { display: none; }
.dp-home #h-now .card__date { order: 2; display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--mute); font-size: 13px; line-height: 20px; }
.dp-home #h-now .card__type + .card__date::before { content: none; }
.dp-home #h-now .card__date::after {
  content: ""; width: 16px; height: 16px; background: var(--ink); transition: transform 0.32s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dp-home #h-now .card__link:hover .card__date::after { transform: translateX(4px); }
.dp-home #h-now .home-news__error { margin-left: calc(var(--gut) + 24px); }
.dp-home .now__foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 32px; }
@media (min-width: 1248px) {
  .dp-home .now__foot { padding: 0 24px; }
}

/* ---- Products ---- */
.dp-home #h-products.prod { justify-content: center; padding: 90px 0; }
.dp-home #h-products .mt { display: flex; flex-direction: column; gap: 48px; padding: 0 24px; }
.dp-home .mt-head { display: flex; flex-direction: column; gap: 24px; }
.dp-home .mt-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 24px; box-shadow: inset 0 -1px 0 var(--ink); }
.dp-home .mt-head__tt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.dp-home .mt-head__t { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -1px; color: var(--ink); }
.dp-home .mt-head__en { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #3b4ef0; }
.dp-home .mt-head__d { font-size: 18px; line-height: 28px; color: var(--sub); }
.dp-home .mt-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 40px; font-size: 15px; line-height: 24px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.dp-home .mt-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.dp-home .mt-link:hover svg { transform: translateX(4px); }
.dp-home .mt-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dp-home .mt-pc { display: flex; }
.dp-home .mt-pc__a { display: flex; flex-direction: column; gap: 16px; width: 100%; color: inherit; text-decoration: none; }
.dp-home .mt-pc__p { position: relative; display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden; }
.dp-home .mt-pc__b { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; }
.dp-home .mt-pc__no { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #cc4e00; }
.dp-home .mt-pc__t { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.dp-home .mt-pc__a:hover .mt-pc__t { text-decoration: underline 1px; text-underline-offset: 4px; }
.dp-home .mt-pc__d { margin-bottom: 8px; font-size: 14px; line-height: 20px; color: var(--sub); }
.dp-home .mt-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding: 16px 0 24px; box-shadow: inset 0 -1px 0 var(--strong); }
.dp-home .mt-tags__k { margin-right: 4px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--mute); }
.dp-home .mt-tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; background: #f0f1f3; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--sub); white-space: nowrap; }

/* Dotted placeholder behind product / solution images */
.dp-home .mt-pc__p, .dp-home .so__p {
  background-color: #f5f6f8; background-image: radial-gradient(circle, #dde0e5 0, #dde0e5 1px, transparent 1.5px);
  background-size: 24px 24px; background-position: 12px 12px;
}
.dp-home .mt-pc__img, .dp-home .so__img, .dp-home .tp__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.dp-home .mt-pc__a:hover .mt-pc__img { transform: scale(1.04); }

/* ---- Technology (tabs) ---- */
.dp-home #h-tech .tts, .dp-home #h-tech .tps { margin-left: 24px; margin-right: 24px; }
.dp-home #h-tech .tts { display: flex; flex-wrap: nowrap; gap: 0; margin-top: 48px; box-shadow: inset 0 -1px 0 var(--fr-line); }
.dp-home #h-tech .tt { position: relative; display: flex; flex-shrink: 0; align-items: center; gap: 12px; height: 72px; margin-right: 40px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--mute); font-size: 18px; line-height: 28px; font-weight: 700; white-space: nowrap; transition: color 0.3s var(--ease); }
.dp-home #h-tech .tt:hover, .dp-home #h-tech .tt[aria-selected="true"] { background: none; box-shadow: none; color: var(--ink); }
.dp-home #h-tech .tt__ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg2); color: var(--sub); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.dp-home #h-tech .tt__ic .f { fill: currentcolor; stroke: none; }
.dp-home #h-tech .tt[aria-selected="true"] .tt__ic { background: #3d4ef0; color: #fff; }
.dp-home .tps { position: relative; height: 504px; box-shadow: 0 0 0 1px var(--fr-line); }
.dp-home #h-tech .tp { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: 596px 596px; }
.dp-home #h-tech .tp[hidden] { display: none; }
.dp-home .tp__ill { position: relative; overflow: hidden; background: #f5f6f8; }
.dp-home .tp__seq { position: absolute; inset: 0; display: block; animation: tpIn2 0.8s var(--ease-out) 0.16s both; }
.dp-home .tp__seq img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.dp-home .tp__seq .tp__f { opacity: 0; animation: tpF 4.8s linear infinite; }
.dp-home .tp__seq .tp__f:nth-child(2) { animation-delay: 1.2s; }
.dp-home .tp__seq .tp__f:nth-child(3) { animation-delay: 2.4s; }
.dp-home .tp__seq .tp__f:nth-child(4) { animation-delay: 3.6s; }
.dp-home .tp__b { display: flex; flex-direction: column; padding: 48px 24px; background: #fff; box-shadow: -1px 0 0 0 var(--fr-line); }
.dp-home .tp__n { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }
.dp-home .tp__d { max-width: 524px; margin-top: 16px; font-size: 16px; line-height: 26px; color: var(--sub); }
.dp-home .tp__fs { display: grid; grid-template-columns: 172px 172px 172px; gap: 20px 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.dp-home .tp__fs li { display: flex; flex-direction: column; gap: 4px; }
.dp-home .tp__fs b { font-size: 16px; line-height: 24px; font-weight: 700; }
.dp-home .tp__fs span { font-size: 14px; line-height: 20px; color: var(--sub); }
.dp-home .tp__b .tlink { align-self: flex-start; margin-top: 24px; }
@keyframes tpF { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 29%, 100% { opacity: 0; } }
@keyframes tpIn2 { 0% { transform: translate(12px, 12px); } 100% { transform: none; } }

/* ---- Solutions (carousel) + logos ---- */
.dp-home .so { width: 310px; }
.dp-home .so a { position: relative; display: flex; flex-direction: column; height: 430px; overflow: hidden; background: #fff; box-shadow: var(--tk-cell); color: var(--ink); text-decoration: none; }
.dp-home .so__p { display: block; height: 248px; overflow: hidden; }
.dp-home .so a:hover .so__img { transform: scale(1.03); }
.dp-home .so__b { display: flex; flex: 1 1 0%; flex-direction: column; padding: 24px; transition: background-color 0.4s var(--ease); }
.dp-home .so a:hover .so__b { background: #fafbfc; }
.dp-home .so__n { font-size: 20px; line-height: 28px; font-weight: 700; }
.dp-home .so__d { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--sub); }
.dp-home .so__f { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 16px; font-size: 13px; line-height: 20px; }
.dp-home .so__fl { flex: 0 0 auto; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--mute); }
.dp-home .so__fp { font-weight: 600; color: var(--ink); }

.dp-home .tk-grid { display: grid; box-shadow: 0 0 0 1px var(--fr-line); }
.dp-home .tk-grid > * { position: relative; background: #fff; box-shadow: var(--tk-cell); }
.dp-home #h-portfolio .lgs { grid-template-columns: 310px 882px; height: 96px; margin: 48px 24px 0; }
.dp-home .lgs__t { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 24px; box-shadow: inset -1px 0 0 var(--fr-line); color: var(--ink); font-size: 14px; line-height: 20px; }
.dp-home .lgs__t b { font-size: 15px; line-height: 24px; font-weight: 700; }
.dp-home .lgs__view { display: flex; align-items: center; height: 96px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.dp-home .lgs__track { display: flex; align-items: center; width: max-content; height: 96px; padding-left: 48px; animation: marq 48s linear infinite; }
.dp-home .lgs__view:hover .lgs__track { animation-play-state: paused; }
.dp-home .lg { flex: 0 0 auto; margin-right: 72px; background: #a3a9b2; mask-size: 100% 100%; mask-repeat: no-repeat; transition: background-color 0.3s var(--ease); }
.dp-home .lg:hover { background: var(--ink); }
.dp-home .lg--kb { width: 163px; height: 27px; mask-image: url("/p/home/logo-kb-28d037ef64.webp"); }
.dp-home .lg--kriss { width: 78px; height: 40px; mask-image: url("/p/home/logo-kriss-7768e8d3b5.webp"); }
.dp-home .lg--abl { width: 150px; height: 29px; mask-image: url("/p/home/logo-abl-efac82b7d9.webp"); }
.dp-home .lg--lgcns { width: 136px; height: 32px; mask-image: url("/p/home/logo-lgcns-e7960d9426.webp"); }
.dp-home .lg--ktcloud { width: 134px; height: 33px; mask-image: url("/p/home/logo-ktcloud-e7e346b7e5.webp"); }
.dp-home .lg--skhynix { width: 78px; height: 40px; mask-image: url("/p/home/logo-skhynix-4090b92a37.webp"); }
.dp-home .lg--nhncloud { width: 172px; height: 22px; mask-image: url("/p/home/logo-nhncloud-c0ddf60606.webp"); }
.dp-home .lg--sbs { width: 90px; height: 38px; mask-image: url("/p/home/logo-sbs-73a2c9ae15.webp"); }
@keyframes marq { 100% { transform: translateX(-50%); } }

/* ---- Awards ---- */
.dp-home .aws { display: grid; grid-template-columns: 772px 400px; gap: 20px; height: 576px; margin: 48px 24px 0; }
.dp-home .aws__kv { display: block; width: 772px; height: 576px; object-fit: cover; background: #f3f4f6; }
.dp-home .aws__p { display: flex; flex-direction: column; padding: 24px; background: #0f1318; color: #fff; }
.dp-home .aws__top { display: flex; flex-direction: column; align-items: flex-start; }
.dp-home .aws__m { font-size: 13px; line-height: 20px; font-weight: 700; color: #ff8a3d; }
.dp-home .aws__t { margin-top: 16px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -1px; color: #fff; }
.dp-home .aws__s { margin-top: 8px; font-size: 18px; line-height: 28px; font-weight: 600; color: #ffb27a; }
.dp-home .aws__go {
  display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; height: 48px; margin-top: 24px; padding: 0 24px; border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%); box-shadow: inset 0 0 0 1px #d9dde3, inset 0 1px 0 #fff, 0 1px 2px rgba(20, 23, 28, 0.06), 0 6px 14px -10px rgba(20, 23, 28, 0.28);
  color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.dp-home .aws__go:hover { background: linear-gradient(180deg, #fff 0%, #eef0f3 100%); box-shadow: inset 0 0 0 1px #c3c8d0, inset 0 1px 0 #fff, 0 2px 4px rgba(20, 23, 28, 0.08), 0 10px 20px -12px rgba(20, 23, 28, 0.36); }
.dp-home .aws__go svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.dp-home .aws__go:hover svg { transform: translateX(4px); }
.dp-home .aws__l { display: flex; flex-direction: column; margin-top: auto; }
.dp-home .aws__r { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 0; box-shadow: inset 0 1px 0 0 #2c333c; }
.dp-home .aws__r:last-child { padding-bottom: 0; }
.dp-home .aws__r span { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--mute); }
.dp-home .aws__r b { overflow: hidden; font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; white-space: nowrap; text-overflow: ellipsis; }

/* ---- Contact CTA ---- */
.dp-home .ctab { position: relative; z-index: 1; display: flex; align-items: center; height: 512px; overflow: hidden; background: #06121b; }
.dp-home .ctab__mark { position: absolute; top: 50%; left: calc(50% + 260px); width: 549px; height: 760px; transform: translateY(-50%); pointer-events: none; }
.dp-home .ctab__mark svg { display: block; width: 100%; height: 100%; fill: #8fa3b5; opacity: 0.14; }
.dp-home .ctab__in { position: relative; width: 1192px; max-width: calc(100% - 48px); margin: 0 auto; }
.dp-home .ctab__c { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 586px; }
.dp-home .ctab__t { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -1px; color: #fff; background-image: linear-gradient(#fff 20%, #a3a9b2 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dp-home .ctab__d { max-width: 680px; font-size: 18px; line-height: 28px; color: #b4bdca; }
.dp-home .ctab__b { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.dp-home .ctab__p {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 8px;
  background: linear-gradient(180deg, #ff7d1f 0%, #ff6a00 52%, #f45f00 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(160, 56, 0, 0.22), 0 1px 2px rgba(20, 23, 28, 0.1), 0 8px 16px -8px rgba(255, 106, 0, 0.55);
  color: #fff; font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.dp-home .ctab__p:hover { background: linear-gradient(180deg, #ff7414 0%, #f56400 52%, #e45700 100%); }
.dp-home .ctab__g { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; height: 40px; color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dp-home .ctab__g svg { transition: transform 0.25s var(--ease); }
.dp-home .ctab__g:hover svg { transform: translateX(4px); }

/* ---- Narrower than the frame ---- */
@media (max-width: 1247px) {
  .dp-home #h-portfolio .lgs { grid-template-columns: 240px minmax(0, 1fr); }
  .dp-home #h-tech .tp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-home .tp__fs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dp-home .aws { grid-template-columns: minmax(0, 1fr) 400px; }
  .dp-home .aws__kv { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dp-home * { transition-duration: 0s; }
  .dp-home .tp__seq, .dp-home .tp__seq .tp__f, .dp-home .lgs__track { animation: none; }
  .dp-home .lgs__view { overflow-x: auto; }
}
/* clip, not hidden (kept from the earlier scroll-driven picture reveal) */
.dp-home #h-tech, .dp-home #h-tech .tp__ill { overflow: clip; }

/* ---- Section motion (draft v3 home, GSAP values; reveal component). Easings: power4.out ≈ (.23,1,.32,1),
   power3.out ≈ (.165,.84,.44,1), power1.out ≈ (.25,.46,.45,.94). Animations (not transitions) so the hover
   transitions of the same elements stay as they are. ---- */
/* hero title: characters rise in on load, 0.9 s each, 25 ms apart, after 0.15 s */
.dp-home .reveal-line { display: block; overflow: hidden; padding-bottom: 6px; margin-bottom: -6px; }
.dp-home .reveal-line > span { display: inline-block; }
.dp-home .hero-t .reveal-w { display: inline-block; white-space: nowrap; }
.dp-home .hero-t .reveal-ch { display: inline-block; }
.dp-home .hero-t.is-ready:not(.is-in) .reveal-ch { opacity: 0; translate: 0 110%; }
.dp-home .hero-t.is-in .reveal-ch { animation: hmRise 0.9s cubic-bezier(0.23, 1, 0.32, 1) calc(150ms + var(--i) * 25ms) backwards; }
@keyframes hmRise { from { opacity: 0; translate: 0 110%; } to { opacity: 1; translate: none; } }

/* section titles: line by line from below the line mask (0.9 s, 80 ms apart) when the top passes 88% of the
   screen; hidden again when scrolled back above that line */
.dp-home .sh__t.is-ready:not(.is-in) .reveal-line > span { translate: 0 110%; }
.dp-home .sh__t.is-in .reveal-line > span { animation: hmLine 0.9s cubic-bezier(0.23, 1, 0.32, 1) calc(var(--i) * 80ms) backwards; }
.dp-home .sh__t.is-ready.is-out .reveal-line > span { animation: hmLine 0.9s cubic-bezier(0.23, 1, 0.32, 1) reverse; }
@keyframes hmLine { from { translate: 0 110%; } to { translate: none; } }

/* blocks (controls, carousels, tabs, logos, awards): up 32 px and in, 0.8 s, 80 ms between blocks that come in
   together; out again in 0.3 s when scrolled back */
.dp-home .rv.is-ready:not(.is-in) { opacity: 0; translate: 0 32px; }
.dp-home .rv.is-in { animation: hmBlock 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) calc(var(--reveal-n, 0) * 80ms) backwards; }
.dp-home .rv.is-ready.is-out { animation: hmBlockOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
@keyframes hmBlock { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: none; } }
@keyframes hmBlockOut { from { opacity: 1; translate: none; } to { opacity: 0; translate: 0 32px; } }

/* products: the line under the title draws from the left (1.1 s after 0.1 s); cards rise 48 px, 0.9 s, 80 ms apart */
.dp-home .mt-head__row.is-ready { box-shadow: none; background: linear-gradient(var(--ink), var(--ink)) left bottom / 100% 1px no-repeat; transition: background-size 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s; }
.dp-home .mt-head__row.is-ready:not(.is-in) { background-size: 0% 1px; transition: none; }
.dp-home .mt-cards.is-ready:not(.is-in) .mt-pc { opacity: 0; translate: 0 48px; }
.dp-home .mt-cards.is-in .mt-pc { animation: hmCard 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) backwards; }
.dp-home .mt-cards.is-ready.is-out .mt-pc { animation: hmCard 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) reverse; }
.dp-home .mt-cards .mt-pc:nth-child(2) { animation-delay: 80ms; }
.dp-home .mt-cards .mt-pc:nth-child(3) { animation-delay: 160ms; }
.dp-home .mt-cards .mt-pc:nth-child(4) { animation-delay: 240ms; }
.dp-home .mt-cards.is-ready.is-out .mt-pc { animation-delay: 0s; }
@keyframes hmCard { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: none; } }

/* pictures: each fades in (0.9 s) and settles from 104% (1.2 s) once on screen. The frames of the technology
   loop keep their own animation. */
.dp-home [data-reveal-img]:not(.tp__f):not(.is-in) { opacity: 0; scale: 1.04; }
.dp-home [data-reveal-img]:not(.tp__f).is-in { animation: hmImgFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards, hmImgScale 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes hmImgFade { from { opacity: 0; } }
@keyframes hmImgScale { from { scale: 1.04; } }

@media (prefers-reduced-motion: reduce) {
  .dp-home .hero-t .reveal-ch, .dp-home .reveal-line > span, .dp-home .rv, .dp-home .mt-cards .mt-pc, .dp-home [data-reveal-img] { animation: none; }
}
