:root {
  --blue: #1b2473;
  --ink: #1f1f1f;
  --muted: #969696;
  --section-gray: #a7a7a7;
  --contact-blue: #589ed1;
  --line: rgba(27, 36, 115, 0.14);
  --header-height: 100px;
  --desktop-frame: 1440px;
  --desktop-content: 1280px;
  --business-content: 1250px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink);
  font-family: "Roboto", "Noto Sans KR", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  position: relative;
  width: 100%;
  height: var(--header-height);
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  top: 30px;
  left: clamp(24px, 4.1667vw, 60px);
  width: 213px;
  height: 40px;
  z-index: 2;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
}

.site-nav {
  position: absolute;
  top: 0;
  right: clamp(24px, 4.3056vw, 62px);
  display: flex;
  align-items: center;
  height: 100px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.72em;
  text-transform: uppercase;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: opacity 180ms ease;
}

.site-nav__link:nth-of-type(1) {
  width: 80px;
}

.site-nav__link:nth-of-type(2) {
  width: 143px;
}

.site-nav__link:nth-of-type(3) {
  width: 127px;
}

.site-nav__divider {
  width: 1px;
  height: 14px;
  margin: 0 24px;
  background: var(--muted);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav-mobile__item:hover,
.site-nav-mobile__item:focus-visible,
.contact a:hover,
.contact a:focus-visible,
.site-footer__links button:hover,
.site-footer__links button:focus-visible {
  opacity: 0.58;
}

.site-nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 10px;
  width: 270px;
  height: 100px;
  grid-template-columns: repeat(3, 90px);
  z-index: 2;
}

.site-nav-mobile__item {
  display: block;
  width: 90px;
  height: 100px;
  background-image: url("assets/figma/header-mobile.png");
  background-repeat: no-repeat;
  background-size: 719px 100px;
  transition: opacity 180ms ease;
}

.site-nav-mobile__item--home {
  background-position: -439px 0;
}

.site-nav-mobile__item--business {
  background-position: -529px 0;
}

.site-nav-mobile__item--contact {
  background-position: -619px 0;
}

.hero {
  position: relative;
  padding-top: var(--header-height);
  background: #ffffff;
}

.hero__desktop,
.hero__mobile {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.hero__desktop {
  aspect-ratio: 1440 / 881;
  height: auto;
  overflow: hidden;
}

.hero__mobile {
  display: none;
}

.hero__copy {
  position: absolute;
  text-align: center;
  z-index: 3;
}

.hero__desktop .hero__copy {
  top: 10.7832%;
  left: 50%;
  width: min(50%, 720px);
  transform: translateX(-50%);
}

.hero__title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(52px, 5.5556vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero__company {
  margin: 16px 0 0;
  color: #000000;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(18px, 2.0833vw, 30px);
  font-weight: 500;
  line-height: 1;
}

.hero__image-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
  isolation: isolate;
}

.hero__band {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18.1612%;
  background: #969696;
}

.hero__image {
  position: absolute;
  height: auto;
}

.hero__image {
  bottom: 0;
  right: 0;
  /* Anchor to right */
  width: 171.11%;
  /* 1024/1440 */
  left: auto;
  /* Remove left 0 */
}



.principles {
  min-height: 740px;
  background: #969696;
  color: #ffffff;
}

.principles__inner {
  width: min(calc(100% - 120px), 1050px);
  margin: 0 auto;
  padding: 172px 0 252px;
}

.principles__title {
  width: min(100%, 749px);
  margin: 0 auto;
  text-align: center;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 120px;
}

.principle-card {
  margin-top: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: 192px;
  padding: 0 18px;
  text-align: center;
}

.principle-card:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 76px;
  left: 0;
  width: 1px;
  height: 105.5px;
  background: rgba(255, 255, 255, 0.5);
}

.principle-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
}

.principle-card__icon img {
  width: 100%;
  height: auto;
}

.principle-card p {
  width: min(100%, 237px);
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
}

.business {
  position: relative;
  min-height: 900px;
  padding: 183px 0 182px;
  background: #ffffff;
  overflow: hidden;
}

.business__backdrop {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1442px, 100vw);
  height: 661px;
  transform: translateX(-50%);
  border-radius: 42px 42px 0 0;
  background-image: url("assets/figma/bg4.png");
  background-size: cover;
  background-position: center;
}

.business__inner {
  position: relative;
  width: min(calc(100% - 190px), var(--business-content));
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.business-card {
  display: grid;
  grid-template-columns: minmax(0, 852px) minmax(0, 368px);
  align-items: center;
  gap: 30px;
  min-height: 173px;
}

.business-card__media {
  position: relative;
  height: 173px;
  overflow: hidden;
}

.business-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-card__overlay {
  display: none;
}

.business-card__content h3 {
  margin: 0;
  color: var(--blue);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.business-card__content p {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.2;
}

.service {
  min-height: 800px;
  padding-top: 186px;
  background: #ffffff;
  text-align: center;
}

.service--design {
  min-height: 800px;
}

.service--modeling {
  min-height: 800px;
}

.service--field {
  min-height: 800px;
}

.service__copy {
  width: min(calc(100% - 120px), var(--desktop-content));
  margin: 0 auto;
}

.service__title {
  margin: 0;
  color: var(--blue);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
}

.service__lead {
  margin: 17px auto 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.service__list {
  margin: 23px auto 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1.2;
}

.service__media {
  margin-top: 73px;
}

.service--modeling .service__media {
  margin-top: 42px;
}

.service--field .service__media {
  margin-top: 91px;
}

.service__media img {
  width: 100%;
  height: auto;
}

.organization {
  min-height: 2000px;
  padding: 372px 0 341px;
  background: #ffffff;
  text-align: center;
}

.organization__inner {
  width: min(calc(100% - 120px), 1118px);
  margin: 0 auto;
}

.organization__title {
  margin: 0;
  color: var(--blue);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
}

.organization__lead {
  margin: 17px auto 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.organization__chart {
  margin-top: 45px;
}

.organization__chart img {
  width: min(100%, 990px);
  margin: 0 auto;
}

.organization__note {
  margin: 90px 0 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.organization__certificates {
  display: grid;
  grid-template-columns: repeat(2, 373px);
  justify-content: center;
  gap: 16px;
  margin-top: 41px;
}


.contact {
  min-height: 630px;
  padding: 115px 0 159px;
  background: var(--contact-blue);
  color: #ffffff;
  text-align: center;
}

.contact__inner {
  width: min(calc(100% - 120px), 915px);
  margin: 0 auto;
}

.contact__title {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
}

.contact__list {
  display: grid;
  gap: 26px;
  margin-top: 43px;
}

.contact__item h3 {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.contact__item p {
  margin: 14px 0 0;
}

.contact__item a,
.contact__desktop-line,
.contact__mobile-line {
  color: #ffffff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.contact__mobile-line {
  display: none;
}

.site-footer {
  background: #ffffff;
}

.site-footer__inner {
  width: min(calc(100% - 120px), 1031px);
  margin: 0 auto;
  padding: 50px 0 86px;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.site-footer__logo {
  display: block;
  width: 204px;
  padding-top: 2px;
}

.site-footer__logo img {
  width: 100%;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer__links span {
  width: 1px;
  height: 8.5px;
  background: var(--muted);
}

.site-footer__info {
  margin-top: 11px;
  display: grid;
}

.site-footer__info p {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.legal-modal__panel {
  position: relative;
  width: min(860px, calc(100% - 48px));
  max-height: min(90vh, 1500px);
  margin: max(32px, 4vh) auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 38px 24px;
  border-bottom: 1px solid rgba(27, 36, 115, 0.35);
}

.legal-modal__header h2 {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.legal-modal__close {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
}

.legal-modal__close::before,
.legal-modal__close::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 2px;
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
}

.legal-modal__close::before {
  transform: rotate(45deg);
}

.legal-modal__close::after {
  transform: rotate(-45deg);
}

.legal-modal__body {
  padding: 30px 40px 44px;
  overflow-y: auto;
  color: #646464;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;
  line-height: 1.42;
}

.legal-modal__body p {
  margin: 0 0 18px;
}

.legal-modal__body p:last-child {
  margin-bottom: 0;
}

.legal-modal__body .modal-spacer {
  margin-top: 30px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 727px) {
  :root {
    --mobile-frame-width: min(100vw, 719px);
    --mobile-header-height: calc(var(--mobile-frame-width) * 100 / 719);
    --mobile-gutter: clamp(16px, 4.45vw, 32px);
    --mobile-section-gutter: clamp(22px, 7.65vw, 55px);
    --header-height: var(--mobile-header-height);
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 20px);
  }

  [id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
  }

  .site-header__inner {
    width: var(--mobile-frame-width);
    height: var(--header-height);
  }

  .site-header__logo {
    top: calc(var(--header-height) * 26 / 100);
    left: calc(var(--mobile-frame-width) * 32 / 719);
    width: calc(var(--mobile-frame-width) * 276 / 719);
    height: calc(var(--header-height) * 48 / 100);
    background-image: url("assets/figma/header-mobile.png");
    background-repeat: no-repeat;
    background-size: var(--mobile-frame-width) var(--header-height);
    background-position:
      calc(var(--mobile-frame-width) * -32 / 719) calc(var(--header-height) * -26 / 100);
  }

  .site-header__logo img {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav-mobile {
    display: grid;
    right: calc(var(--mobile-frame-width) * 10 / 719);
    width: calc(var(--mobile-frame-width) * 270 / 719);
    height: var(--header-height);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    padding-top: var(--header-height);
  }

  .hero__desktop {
    display: none;
  }

  .hero__mobile {
    display: block;
    width: min(100%, 719.5px);
    aspect-ratio: 719.5 / 900;
    height: auto;
    overflow: hidden;
  }

  .hero__copy--mobile {
    align-items: center;
    /* Center horizontally for mobile */
    text-align: center;
    /* Center text aligning */
    top: 9.4444%;
    left: 11.6748%;
    width: 80.6393%;
  }

  .hero__title--mobile {
    font-size: clamp(28px, 8.6208vw, 62px);
    line-height: 1.1;
  }

  .hero__company--mobile {
    margin-top: clamp(12px, 2.9207vw, 21px);
    font-size: clamp(18px, 3.8929vw, 28px);
    font-weight: 400;
    text-align: center;
  }



  .hero__image--mobile {
    bottom: 0;
    right: 0;
    /* Anchor to right for mobile if needed, or left/width 100%? The mobile image is 1024x829. Let's make it span nicely. */
    left: 0;
    width: 100%;
    margin: 0 auto;
  }


  .principles {
    min-height: auto;
  }

  .principles__inner {
    width: min(calc(100% - (var(--mobile-gutter) * 2)), 590px);
    padding: clamp(80px, 15.3vw, 110px) 0 clamp(88px, 18vw, 132px);
  }

  .principles__title {
    width: 100%;
    font-size: clamp(24px, 4.8679vw, 35px);
    line-height: 1.2;
  }

  .principles__grid {
    width: min(100%, 506px);
    margin: clamp(50px, 10vw, 80px) auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 8vw, 70px) clamp(14px, 4.8vw, 28px);
  }

  .principle-card {
    min-height: auto;
    padding: 0;
    gap: clamp(10px, 2.8vw, 14px);
  }

  .principle-card__icon {
    width: clamp(44px, 8.3449vw, 60px);
    height: clamp(44px, 8.3449vw, 60px);
  }

  .principle-card p {
    font-size: clamp(17px, 3.3379vw, 24px);
    line-height: 1.6;
  }

  .principle-card::before {
    display: none;
  }

  .principle-card:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 58px;
    right: -14px;
    width: 1px;
    height: 84px;
    background: rgba(255, 255, 255, 0.5);
  }

  .business {
    min-height: auto;
    padding: 0;
  }

  .business__backdrop {
    display: none;
  }

  .business__inner {
    width: 100%;
    gap: 0;
  }

  .business-card {
    display: block;
    position: relative;
    min-height: auto;
  }

  .business-card__media {
    height: auto;
    aspect-ratio: 719 / 272;
  }

  .business-card__overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
  }

  .business-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(20px, 6.3978vw, 46px);
    text-align: center;
  }

  .business-card__content h3 {
    color: #ffffff;
    font-size: clamp(26px, 5.5633vw, 40px);
  }

  .business-card__content p {
    margin-top: clamp(6px, 1.8vw, 10px);
    color: #ffffff;
    font-size: clamp(18px, 3.8943vw, 28px);
  }

  .service {
    min-height: auto;
    padding: clamp(88px, 18vw, 120px) 0 clamp(92px, 18vw, 124px);
  }

  .service--modeling {
    min-height: auto;
  }

  .service--field {
    min-height: auto;
  }

  .service__copy {
    width: min(calc(100% - (var(--mobile-section-gutter) * 2)), 629px);
  }

  .service__title {
    font-size: clamp(30px, 6.1196vw, 44px);
  }

  .service__lead {
    margin-top: clamp(10px, 2.2vw, 14px);
    font-size: clamp(20px, 4.3115vw, 31px);
    line-height: 1.22;
  }

  .service__list {
    width: min(100%, 442px);
    margin-top: clamp(16px, 4.2vw, 24px);
    font-size: clamp(18px, 4.1725vw, 30px);
    line-height: 1.4;
  }

  .service--design .service__media {
    margin-top: clamp(36px, 8vw, 56px);
  }

  .service--modeling .service__media {
    margin-top: clamp(36px, 8vw, 56px);
  }

  .service--field .service__media {
    margin-top: clamp(36px, 8vw, 56px);
  }

  .organization {
    min-height: auto;
    padding: clamp(96px, 19vw, 132px) 0 clamp(96px, 20vw, 140px);
  }

  .organization__inner {
    width: min(calc(100% - (var(--mobile-section-gutter) * 2)), 669px);
  }

  .organization__title {
    font-size: clamp(30px, 6.1196vw, 44px);
  }

  .organization__lead {
    width: min(100%, 619px);
    margin-top: clamp(10px, 2.2vw, 14px);
    font-size: clamp(20px, 4.3115vw, 31px);
    line-height: 1.22;
  }

  .organization__chart {
    margin-top: clamp(22px, 5vw, 32px);
  }

  .organization__chart img {
    width: 100%;
  }

  .organization__note {
    width: min(100%, 580px);
    margin: clamp(34px, 8vw, 50px) auto 0;
    font-size: clamp(20px, 4.3115vw, 31px);
    line-height: 1.22;
  }

  .organization__certificates {
    grid-template-columns: repeat(2, minmax(0, 208px));
    gap: 9px;
    margin-top: clamp(24px, 5vw, 32px);
  }

  .contact {
    min-height: auto;
    padding: clamp(76px, 15vw, 104px) 0;
  }

  .contact__inner {
    width: min(calc(100% - (var(--mobile-section-gutter) * 2)), 609px);
  }

  .contact__title {
    font-size: clamp(30px, 6.1196vw, 44px);
  }

  .contact__list {
    gap: clamp(20px, 5vw, 28px);
    margin-top: clamp(28px, 7vw, 40px);
  }

  .contact__item h3 {
    font-size: clamp(24px, 4.7288vw, 24px);
  }

  .contact__item p {
    margin-top: 12px;
  }

  .contact__item a,
  .contact__desktop-line,
  .contact__mobile-line {
    font-size: clamp(18px, 4.0334vw, 19px);
    line-height: 1.35;
  }

  .contact__desktop-line {
    display: none;
  }

  .contact__mobile-line {
    display: block;
  }

  .site-footer__inner {
    width: min(calc(100% - (var(--mobile-section-gutter) * 2)), 614px);
    padding: clamp(72px, 14vw, 96px) 0 clamp(76px, 15vw, 104px);
    grid-template-columns: 1fr;
    gap: clamp(22px, 5vw, 28px);
    justify-items: center;
    text-align: center;
  }

  .site-footer__logo {
    width: clamp(190px, 41.7246vw, 300px);
  }

  .site-footer__links {
    justify-content: center;
    gap: 10px;
    font-size: clamp(18px, 3.8943vw, 18px);
    line-height: 1.28;
    flex-wrap: wrap;
  }

  .site-footer__links span {
    height: clamp(12px, 2.5035vw, 18px);
  }

  .site-footer__info {
    margin-top: clamp(16px, 4vw, 24px);
    gap: 6px;
  }

  .site-footer__info p {
    font-size: clamp(14px, 2.7816vw, 20px);
    line-height: 1.6;
  }

  .legal-modal__panel {
    width: min(640px, calc(100% - 32px));
    margin: 24px auto;
    border-radius: 24px;
  }

  .legal-modal__header {
    padding: 24px 24px 20px;
  }

  .legal-modal__header h2 {
    font-size: 26px;
  }

  .legal-modal__body {
    padding: 24px;
    font-size: 16px;
  }

  .site-nav-mobile__item {
    width: 100%;
    height: 100%;
    background-size: var(--mobile-frame-width) var(--header-height);
  }

  .site-nav-mobile__item--home {
    background-position: calc(var(--mobile-frame-width) * -439 / 719) 0;
  }

  .site-nav-mobile__item--business {
    background-position: calc(var(--mobile-frame-width) * -529 / 719) 0;
  }

  .site-nav-mobile__item--contact {
    background-position: calc(var(--mobile-frame-width) * -619 / 719) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}