/* Design A. Loaded by the two home pages only; shared page styles stay intact. */
html { background: #fff; scrollbar-gutter: auto; }
body[data-page="home"] {
  --accent: #2563eb;
  background: #fff;
}
body[data-page="home"] .home-container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
body[data-page="home"] main {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.home-skip {
  position: fixed;
  top: 8px;
  left: 24px;
  z-index: 2000;
  padding: 10px 18px;
  background: #fff;
  color: #0f172a;
  transform: translateY(-160%);
}
.home-skip:focus { transform: none; }
body[data-page="home"] :is(a, button, summary):focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}
body[data-page="home"] .hero :is(a, button):focus-visible {
  outline-color: #fff;
}
body[data-page="home"] .hero.hero-home {
  min-height: 580px;
  padding: 92px 0 34px;
  display: block;
  text-align: left;
  background: #0f172a;
  --hero-bg-a: url('../img/hero-home-1.jpg');
  --hero-bg-b: url('../img/hero-home-2.jpg');
  --home-overlay: linear-gradient(90deg, rgba(8, 18, 36, .88), rgba(8, 18, 36, .62) 50%, rgba(8, 18, 36, .22));
}
body[data-page="home"] .hero.hero-home::before {
  background-image: var(--home-overlay), var(--hero-bg-a);
}
body[data-page="home"] .hero.hero-home::after {
  background-image: var(--home-overlay), var(--hero-bg-b);
}
body[data-page="home"] .hero-home-inner {
  max-width: 1200px;
  padding: 0;
}
body[data-page="home"] .hero.hero-home .home-eyebrow {
  margin: 0 0 18px;
  color: #d0d9e6;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .015em;
  font-weight: 650;
  text-shadow: none;
}
body[data-page="home"] .hero.hero-home h1 {
  max-width: 850px;
  margin: 0 0 26px;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 700;
  text-shadow: none;
}
body[data-page="home"] .hero.hero-home .home-hero-description {
  margin: 0;
  color: #e2e8f0;
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -.015em;
  font-weight: 400;
  text-shadow: none;
}
.home-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 55px;
  padding: 12px 18px;
  border: 1px solid #8995a6;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  background: rgba(8,18,36,.16);
}
.home-button-primary { background: #2563eb; border-color: #2563eb; }
.home-button:hover { text-decoration: none; background: #162c4b; }
.home-button-primary:hover { background: #1d4ed8; }
.home-arrow { font-size: 23px; line-height: 1; font-weight: 400; }
.home-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  min-height: 28px;
  color: #fff;
  font-size: 12px;
}
.home-slide-number { min-width: 20px; font-variant-numeric: tabular-nums; }
.home-slide-dots { display: flex; gap: 10px; }
.home-slide-dot {
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.home-slide-dot::after {
  content: '';
  position: absolute;
  inset: 13px 0 auto;
  height: 2px;
  background: #7c8999;
}
.home-slide-dot[aria-current="true"] { width: 60px; }
.home-slide-dot[aria-current="true"]::after { background: #fff; }
.home-slide-pause {
  color: #e2e8f0;
  background: rgba(8,18,36,.45);
  border: 1px solid #7c8999;
  border-radius: 3px;
  font: inherit;
  padding: 5px 9px;
  cursor: pointer;
}
body[data-page="home"] section.home-business,
body[data-page="home"] section.home-projects {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-business-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 26px 0 30px;
  border-bottom: 1px solid #e2e8f0;
}
.home-business-list li { margin: 0; padding: 0 24px; border-right: 1px solid #e2e8f0; }
.home-business-list li:first-child { padding-left: 0; }
.home-business-list li:last-child { border-right: 0; padding-right: 0; }
.home-business-list a { display: block; color: #0f172a; font-weight: 700; }
.home-business-number { display: block; margin-bottom: 10px; color: #2563eb; font-size: 11px; }
.home-business-name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 18px; line-height: 1.45; }
.home-business-name .home-arrow { color: #526075; }
.home-business-list a:hover { color: #2563eb; text-decoration: none; }
body[data-page="home"] section.home-projects { padding: 50px 0 48px; }
.home-projects-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-section-label { margin: 0 0 7px; color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
body[data-page="home"] .home-projects h2 {
  margin: 0;
  padding: 0;
  color: #0f172a;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}
body[data-page="home"] .home-projects h2::before,
body[data-page="home"] .home-projects h2::after { content: none; }
.home-projects-lead { margin: 6px 0 34px; color: #526075; font-size: 16px; }
.home-projects-all { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; color: #526075; font-size: 14px; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.home-project a { display: block; color: #0f172a; }
.home-project a:hover { text-decoration: none; }
.home-project img { display: block; width: 100%; height: auto; aspect-ratio: 376 / 206; object-fit: cover; }
.home-project-year { display: block; margin: 18px 0 7px; color: #2563eb; font-size: 12px; font-weight: 650; }
.home-project h3 { margin: 0 0 8px; color: #0f172a; font-size: 21px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.home-project a:hover h3 { color: #2563eb; text-decoration: underline; text-underline-offset: 5px; }
.home-project p { margin: 0; color: #526075; font-size: 14px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
.home-projects-bottom { margin-top: 60px; padding-top: 18px; border-top: 1px solid #e2e8f0; }
.home-projects-bottom .home-projects-all { display: none; }
html[lang="en"] body[data-page="home"] .hero.hero-home h1 { font-size: 57px; max-width: 1000px; letter-spacing: -.04em; }
html[lang="en"] .home-business-name { font-size: 16px; }
@media (min-width: 769px) and (max-width: 1100px) {
  .home-business-list li { padding-inline: 14px; }
  .home-business-name { font-size: 16px; }
  .home-project-grid { gap: 24px; }
}
@media (max-width: 768px) {
  body[data-page="home"] .home-container { width: calc(100% - 48px); }
  body[data-page="home"] .hero.hero-home {
    min-height: 526px;
    padding: 44px 0 24px;
    --home-overlay: linear-gradient(180deg, rgba(8,18,36,.76), rgba(8,18,36,.63) 50%, rgba(8,18,36,.9));
  }
  body[data-page="home"] .hero.hero-home::before,
  body[data-page="home"] .hero.hero-home::after { background-position: center; }
  body[data-page="home"] .hero.hero-home .home-eyebrow { margin-bottom: 32px; font-size: 12px; }
  body[data-page="home"] .hero.hero-home h1 { margin: 0 0 34px; font-size: 39px; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
  body[data-page="home"] .hero.hero-home .home-hero-description { font-size: 19px; line-height: 1.7; }
  .home-actions { gap: 10px; margin-top: 46px; flex-wrap: nowrap; }
  .home-button { min-height: 50px; padding: 12px 16px; font-size: 14px; gap: 12px; }
  .home-button-primary { flex: 1; }
  .home-slider-controls { margin-top: 72px; gap: 8px; }
  .home-slide-dot { width: 25px; }
  .home-slide-dot[aria-current="true"] { width: 42px; }
  .home-slide-pause { margin-left: auto; }
  .home-business-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; padding: 6px 0 0; border: 0; }
  .home-business-list li,
  .home-business-list li:first-child,
  .home-business-list li:last-child { padding: 0; border: 0; border-bottom: 1px solid #e2e8f0; }
  .home-business-list a { padding: 18px 0 10px; }
  .home-business-number { display: none; }
  .home-business-name, html[lang="en"] .home-business-name { font-size: 14px; min-height: 27px; }
  .home-business-name .home-arrow { font-size: 20px; }
  body[data-page="home"] section.home-projects { padding: 72px 0 30px; }
  .home-section-label { font-size: 11px; margin-bottom: 5px; }
  body[data-page="home"] .home-projects h2 { font-size: 28px; }
  .home-projects-top > .home-projects-all { display: none; }
  .home-projects-lead { margin: 10px 0 30px; font-size: 14px; }
  .home-lead-desktop { display: none; }
  .home-project-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .home-project img { aspect-ratio: 2 / 1; }
  .home-project-year { margin-top: 14px; }
  .home-project h3 { font-size: 21px; }
  .home-project p { font-size: 14px; }
  .home-projects-bottom { margin-top: 64px; }
  .home-projects-bottom .home-projects-all { display: flex; color: #0f172a; font-size: 15px; font-weight: 700; }
  html[lang="en"] body[data-page="home"] .hero.hero-home h1 { font-size: clamp(30px, 8.5vw, 42px); letter-spacing: -.035em; }
  html[lang="en"] body[data-page="home"] .hero.hero-home .home-eyebrow { max-width: 330px; }
  html[lang="en"] .home-actions { flex-wrap: wrap; }
  html[lang="en"] .home-button-primary { flex: 0 1 auto; }
}
@media (max-width: 374px) {
  body[data-page="home"] .hero.hero-home h1 { font-size: 35px; }
  .home-button { padding-inline: 12px; gap: 8px; font-size: 13px; }
  .home-business-name { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *,
  body[data-page="home"] *::before,
  body[data-page="home"] *::after { transition: none !important; animation: none !important; }
}
