@font-face {
  font-family: "Noto Sans KR";
  src: url("../media/fonts/noto-sans-kr-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  color: #0a2758;
  background: #07325d;
  font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
  --navy: #0a2758;
  --blue: #2366a7;
}

* { box-sizing: border-box; }
body { margin: 0; }
a, button { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #0b73be; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.light-icon { filter: brightness(0) invert(1); display: block; flex: none; }

.masthead { background: #f1f5fb; }
.masthead-inner {
  width: min(87.5%, 1440px);
  height: clamp(65px, 6.315vw, 97px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: block;
  width: clamp(148px, 16.4vw, 252px);
  aspect-ratio: 3.85;
  overflow: hidden;
  flex: none;
  mix-blend-mode: multiply;
}
.brand img { display: block; width: 104%; height: auto; margin-top: -16.1%; margin-left: -1.8%; }
nav { display: flex; align-items: center; gap: clamp(22px, 4.9vw, 76px); }
nav a {
  padding-block: 8px;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(15px, 1.54vw, 24px);
  font-weight: 750;
  letter-spacing: -.035em;
}
nav a:hover { color: var(--blue); }

.product {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1536 / 476;
  background-color: #c5d6e9;
}
.product-motion { position: absolute; inset: -7px; }
.product-art, .product-loop { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-loop { position: absolute; inset: 0; opacity: 0; }
.product[data-preview-playing] .product-loop { opacity: 1; }
.product[data-preview-playing] .product-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../media/concept-loop-waves.webp") center / cover no-repeat;
}
.preview-toggle {
  position: absolute;
  inset: auto clamp(14px, 3vw, 48px) clamp(13px, 2vw, 30px) auto;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #1e334fbf;
}
.preview-toggle:focus-visible { outline-color: #fff; }
.preview-toggle .pause-icon, .product[data-preview-playing] .preview-toggle .resume-icon { display: none; }
.product[data-preview-playing] .preview-toggle .pause-icon { display: block; }
.product-control { position: absolute; left: 52.28%; top: 48.1%; transform: translate(-50%, -50%); }
.watch {
  padding: 0;
  width: clamp(48px, 4.9vw, 76px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #14233761;
  color: #fff;
}
.watch img { width: 57%; height: auto; margin-inline-start: 5%; }
.watch:hover { background: #092248ad; }
.watch:focus-visible, .close-film:focus-visible, .company :focus-visible { outline-color: #fff; }

.business {
  padding: clamp(28px, 2.43vw, 37px) 0 clamp(36px, 3.5vw, 54px);
  background: #edf4fc url("../media/concept-business.webp") center / cover no-repeat;
}
.section-title {
  margin: 0 0 clamp(18px, 1.43vw, 22px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.1vw, 32px);
  color: var(--navy);
  font-size: clamp(27px, 2.6vw, 40px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.section-title::before, .section-title::after {
  content: "";
  width: clamp(40px, 7.3vw, 112px);
  border-top: 1px solid #769bc0;
}
.business-list {
  width: min(1202px, 78.3%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.43vw, 22px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.business-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, .65vw, 10px);
  min-height: clamp(132px, 11vw, 169px);
  padding: 12px 6px;
  border: 1px solid #fff;
  border-radius: clamp(14px, 1.48vw, 23px);
  background: #f7faff url("../media/concept-card.webp") right bottom / cover no-repeat;
  color: var(--navy);
  font-size: clamp(14px, 1.56vw, 24px);
  font-weight: 730;
  letter-spacing: -.045em;
  text-align: center;
  word-break: keep-all;
}
.service-icon {
  display: grid;
  width: 100%;
  height: clamp(54px, 5vw, 77px);
  place-items: center;
}
.service-icon img {
  display: block;
  width: min(var(--icon-width), 61%);
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.business-list li:nth-child(1) { --icon-width: clamp(68px, 5.4vw, 83px); }
.business-list li:nth-child(2) { --icon-width: clamp(75px, 6.25vw, 96px); }
.business-list li:nth-child(3) { --icon-width: clamp(74px, 5.95vw, 91px); }
.business-list li:nth-child(4) { --icon-width: clamp(88px, 7.4vw, 114px); }

.company {
  display: grid;
  min-height: clamp(93px, 8.14vw, 125px);
  padding: 24px 16px 35px;
  place-items: center;
  color: #fff;
  background: #07325d url("../media/concept-footer.webp") center / cover no-repeat;
}
.company-details {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px clamp(24px, 3.75vw, 58px);
  color: #fff;
  font-size: clamp(14px, 1.23vw, 19px);
  font-style: normal;
  letter-spacing: -.022em;
  line-height: 1.55;
}
.contact-item { display: flex; align-items: flex-start; gap: clamp(9px, 1.1vw, 17px); }
.contact-item img { width: clamp(18px, 1.54vw, 24px); height: auto; margin-top: .14em; }
.contact-item span { word-break: keep-all; }
.office-suite { white-space: nowrap; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

dialog {
  width: min(1110px, calc(100% - 32px));
  max-height: calc(100% - 36px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: #fff;
}
.film-surface { overflow: hidden; border-radius: 13px; background: #101e31; }
dialog[data-revealing] .film-surface { opacity: 0; }
dialog::backdrop { background: #07182bd9; }
.film-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; }
.film-header h2 { margin: 0; font-size: 16px; letter-spacing: -.03em; }
.close-film {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  width: 40px;
  height: 40px;
}
.close-film:hover { background: #ffffff16; }
.full-film { display: block; width: 100%; max-height: calc(100svh - 105px); background: #000; aspect-ratio: 16 / 9; }

@media (max-width: 760px) {
  .masthead-inner { width: calc(100% - 32px); }
  .brand { width: clamp(115px, 32vw, 165px); }
  nav { gap: clamp(12px, 3.1vw, 22px); }
  nav a { font-size: clamp(12px, 3.45vw, 17px); }
  .product { aspect-ratio: 2; }
  .product-art { object-position: 65% 50%; }
  .product-loop { object-position: center; }
  .product-control { left: 52%; top: 51%; }
  .watch { border-width: 2px; }
  .business-list { width: min(480px, calc(100% - 32px)); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-list li { min-height: 112px; font-size: clamp(14px, 3.75vw, 18px); }

  .company { padding-inline: 22px; place-items: center start; }
  .company-details { display: grid; gap: 12px; margin-inline: auto; }
}
@media (max-width: 340px) {
  .masthead-inner { width: calc(100% - 24px); gap: 10px; }
  .brand { width: 106px; }
  nav { gap: 10px; }
}
