/* home page only */
main { display: flex; flex-direction: column; align-items: center; overflow: clip; }
main > section { width: 100%; position: relative; overflow: clip; }

/* hero */
.hero { padding: 0 var(--pad) 250px; display: flex; flex-direction: column; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(var(--c5) 0%, var(--c1) 100%); }
.hero-head { position: relative; width: 100%; max-width: 1552px; height: var(--vh); display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: clip; }
.hero-h1 { position: relative; z-index: 5; max-width: 1070px; width: 100%; text-align: center; color: var(--white); }
.scatter { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 24px; }
.sc1 { grid-column: 1; display: flex; align-items: center; justify-content: center; z-index: 3; }
.sc6 { grid-column: 4; display: flex; align-items: center; justify-content: center; z-index: 2; }
.sc25 { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.sc25 .tl { justify-self: start; align-self: start; }
.sc25 .tr { justify-self: end; align-self: start; }
.sc25 .bl { justify-self: start; align-self: end; }
.sc25 .br { justify-self: end; align-self: end; }
.sc { width: 90px; height: 120px; will-change: transform; }
.sc figure { width: 90px; height: 120px; border-radius: 10px; overflow: clip; }
.sc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 810px) and (max-width: 1199.98px) {
  .hero { padding-bottom: 90px; }
  .hero-head { height: 720px; }
  .hero-h1 { max-width: 900px; }
  .scatter { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 60px 80px; }
  .sc1, .sc6 { display: none; }
  .sc25 { display: contents; }
}
@media (max-width: 809.98px) {
  .hero { padding-bottom: 90px; }
  .hero-head { height: 670px; }
  .scatter { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 60px 8px; }
  .sc1, .sc6 { display: none; }
  .sc25 { display: contents; }
}

/* about */
.about { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad) 150px; }
.about-c { grid-column: 2 / 4; padding: 0 8px; display: flex; flex-direction: column; gap: 40px; align-items: center; position: relative; z-index: 1; }
.para { width: 100%; display: flex; justify-content: center; overflow: clip; }
.para p { max-width: 800px; width: 100%; text-align: center; }
@media (max-width: 809.98px) { .about-c { grid-column: 1 / 5; } }

/* work */
.work { padding: 150px var(--pad); display: flex; flex-direction: column; align-items: center; gap: 120px; }
.work-head { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.work-head-c { grid-column: 2 / 4; padding: 0 8px; display: grid; grid-template-columns: 1fr 1fr; row-gap: 40px; }
.work-title { grid-column: 1 / 3; text-align: center; }
.work-tags { grid-column: 1; display: flex; flex-direction: column; }
.work-seeall { grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.work-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 120px; }
@media (max-width: 809.98px) {
  .work { gap: 60px; }
  .work-head-c { grid-column: 1 / 5; row-gap: 20px; }
  .work-grid { row-gap: 60px; }
}

/* services */
.services { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--pad) 100px; }
.sv-sticky { position: sticky; top: 0; z-index: 2; width: 100%; height: var(--vh); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding-bottom: 32px; overflow: clip; }
.sv-label { padding: 0 8px; }
.sv-sticky.lbl { z-index: 0; margin-bottom: calc(-1 * var(--vh) - 24px); pointer-events: none; }
.ghost { visibility: hidden; }
.sv-names { width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.sv-name { width: 100%; text-align: center; opacity: 0.35; }
.sv-desc { position: absolute; left: 0; right: 0; bottom: 32px; padding: 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); }
.sv-desc-c { grid-column: 2 / 4; display: flex; flex-direction: column; align-items: center; }
.sv-desc p { max-width: 500px; width: 100%; text-align: center; will-change: transform; }
.sv-img { position: relative; z-index: 1; width: 100%; height: var(--vh); display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 16px; padding: 0 8px; overflow: clip; align-content: start; }
.sv-img .im { grid-column: 1; aspect-ratio: 4 / 3; border-radius: 12px; overflow: clip; }
.sv-img.right .im { grid-column: 4; }
.sv-img figure, .sv-img img { width: 100%; height: 100%; }
.sv-img img { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 809.98px) {
  .services { gap: 60px; padding-bottom: 120px; }
  .sv-sticky.lbl { margin-bottom: calc(-1 * var(--vh) - 60px); }
  .sv-label .t-link { font-size: 14px; line-height: 16.8px; letter-spacing: -0.21px; }
  .sv-desc-c { grid-column: 1 / 5; }
  .sv-img .im { grid-column: 1 / 3; }
  .sv-img.right .im { grid-column: 3 / 5; }
}
