@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Gmarket Sans";
  src: url("../fonts/GmarketSansMedium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #172127;
  --ink-soft: #3e4a50;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #d9ddda;
  --line-dark: rgba(255, 255, 255, 0.2);
  --charcoal: #18252c;
  --charcoal-2: #213039;
  --gold: #aa8a4d;
  --gold-light: #d8c18e;
  --pe-blue: #147fa5;
  --pe-blue-dark: #09516f;
  --danger: #a63b31;
  --container: 1400px;
  --container-text: 1160px;
  --header-height: 88px;
  --section-y: 132px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 40;
  --z-nav: 50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  z-index: calc(var(--z-nav) + 1);
  background: var(--charcoal);
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

::selection {
  color: var(--white);
  background: var(--pe-blue-dark);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

.container--text {
  width: min(calc(100% - 80px), var(--container-text));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: calc(var(--section-y) + 12px);
}

.section--white {
  background: var(--white);
}

.section--dark {
  color: var(--white);
  background: var(--charcoal);
}

.section--blue {
  color: var(--white);
  background: var(--pe-blue-dark);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--gold-light);
}

.display,
.section-title,
.page-title {
  font-family: "Gmarket Sans", "Pretendard", sans-serif;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.display {
  font-size: 78px;
}

.section-title {
  font-size: 54px;
}

.section-title--wide {
  max-width: 920px;
}

.section-lead {
  max-width: 650px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.75;
  text-wrap: pretty;
}

.section--dark .section-lead,
.section--blue .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 80px;
  align-items: end;
  margin-bottom: 76px;
}

.section-heading .section-lead {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: gap 240ms var(--ease), color 240ms ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 28px;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--gold {
  color: var(--ink);
  background: var(--gold-light);
}

.btn--gold:hover {
  background: var(--white);
}

.btn--dark {
  color: var(--white);
  background: var(--ink);
}

.btn--dark:hover {
  background: var(--gold);
}

.btn--line-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--line-light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.btn--line-dark {
  border-color: var(--ink);
}

.btn--line-dark:hover {
  color: var(--white);
  background: var(--ink);
}

.btn::after {
  content: "→";
  font-size: 18px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 280ms ease, background 280ms ease, border-color 280ms ease, height 280ms ease;
}

.site-header.is-scrolled {
  height: 74px;
  color: var(--ink);
  background: rgba(245, 246, 243, 0.96);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  width: min(calc(100% - 64px), 1560px);
  height: 100%;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: "Gmarket Sans", sans-serif;
  font-size: 15px;
  line-height: 1;
}

.brand__name {
  display: block;
  font-family: "Gmarket Sans", sans-serif;
  font-size: 17px;
  line-height: 1.1;
}

.brand__sub {
  display: block;
  margin-top: 5px;
  color: currentColor;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.header-contact__tel {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
}

.header-contact__quote {
  display: inline-flex;
  height: 46px;
  align-items: center;
  padding: 0 19px;
  color: var(--ink);
  background: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  transition: background 220ms ease, transform 220ms ease;
}

.header-contact__quote:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.site-header.is-scrolled .header-contact__quote:hover {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px 10px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 88dvh;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.home-hero__media,
.home-hero__media::after {
  position: absolute;
  inset: 0;
}

.home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__media::after {
  background:
    linear-gradient(90deg, rgba(9, 18, 23, 0.86) 0%, rgba(9, 18, 23, 0.55) 48%, rgba(9, 18, 23, 0.12) 100%),
    linear-gradient(0deg, rgba(9, 18, 23, 0.62) 0%, transparent 40%);
  content: "";
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 88dvh;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 142px;
}

.home-hero__kicker {
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
}

.home-hero h1 {
  max-width: 1040px;
  font-family: "Gmarket Sans", "Pretendard", sans-serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-hero h1 span {
  color: var(--gold-light);
}

.home-hero__desc {
  max-width: 650px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-status__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-status__item {
  min-height: 92px;
  padding: 23px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-status__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-status__item strong,
.hero-status__item span {
  display: block;
}

.hero-status__item strong {
  font-size: 15px;
  font-weight: 700;
}

.hero-status__item span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.page-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.page-hero__bg,
.page-hero__bg::after {
  position: absolute;
  inset: 0;
}

.page-hero__bg {
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: hero-settle 1.7s var(--ease) forwards;
}

.page-hero__bg::after {
  background: linear-gradient(90deg, rgba(13, 23, 29, 0.88) 0%, rgba(13, 23, 29, 0.42) 60%, rgba(13, 23, 29, 0.16) 100%);
  content: "";
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 160px;
  padding-bottom: 78px;
}

.page-hero__label {
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.page-title {
  max-width: 900px;
  font-size: 64px;
}

.page-hero__desc {
  max-width: 660px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

@keyframes hero-settle {
  to { transform: scale(1); }
}

.site-footer {
  color: var(--white);
  background: #111b20;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 80px;
  padding-top: 82px;
  padding-bottom: 72px;
}

.site-footer .brand {
  margin-bottom: 28px;
}

.site-footer__tagline {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}

.footer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
}

.footer-contact a,
.footer-contact p {
  font-size: 15px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.64);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.mobile-actions {
  display: none;
}

.quick-inquiry {
  --footer-overlap: 0px;
  position: fixed;
  right: 0;
  bottom: var(--footer-overlap);
  left: 0;
  z-index: 30;
  height: 88px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(15, 28, 35, 0.09);
  backdrop-filter: blur(14px);
}

.quick-inquiry__inner {
  display: grid;
  width: min(calc(100% - 64px), 1120px);
  height: 100%;
  grid-template-columns: auto minmax(160px, 1fr) minmax(160px, 1fr) minmax(240px, 1.45fr) 120px;
  gap: 12px;
  align-items: center;
  margin-inline: auto;
}

.quick-inquiry__phone {
  display: flex;
  min-width: 180px;
  gap: 9px;
  align-items: baseline;
  white-space: nowrap;
}

.quick-inquiry__phone span {
  color: #687279;
  font-size: 12px;
}

.quick-inquiry__phone a {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.quick-inquiry__field {
  min-width: 0;
}

.quick-inquiry__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.quick-inquiry__field input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #d8d4ca;
  border-radius: 7px;
  background: #f8f5ef;
  font-size: 13px;
}

.quick-inquiry__field input::placeholder {
  color: #7b7f7d;
  opacity: 1;
}

.quick-inquiry__field input:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(170, 138, 77, 0.16);
  outline-offset: 0;
}

.quick-inquiry__submit {
  height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease;
}

.quick-inquiry__submit:hover {
  background: var(--pe-blue-dark);
}

.quick-inquiry__status {
  position: absolute;
  right: 20px;
  bottom: 4px;
  color: var(--pe-blue-dark);
  font-size: 10px;
}

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

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

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }
.u-mt-28 { margin-top: 28px; }
.u-mt-36 { margin-top: 36px; }
.u-mt-44 { margin-top: 44px; }

@media (max-width: 1240px) {
  :root {
    --section-y: 108px;
  }

  .quick-inquiry__inner {
    width: calc(100% - 36px);
    grid-template-columns: auto minmax(140px, 1fr) minmax(140px, 1fr) minmax(200px, 1.35fr) 108px;
    gap: 9px;
  }

  .quick-inquiry__phone {
    min-width: 165px;
  }

  .quick-inquiry__phone a {
    font-size: 18px;
  }

  .site-header__inner {
    grid-template-columns: 220px 1fr auto;
  }

  .site-nav {
    gap: 20px;
  }

  .header-contact__tel {
    display: none;
  }

  .home-hero h1 {
    font-size: 64px;
  }

  .display {
    font-size: 64px;
  }

  .section-title {
    font-size: 48px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
    --section-y: 88px;
  }

  .quick-inquiry {
    display: none;
  }

  .container,
  .container--text {
    width: min(calc(100% - 48px), var(--container));
  }

  .site-header__inner {
    width: calc(100% - 36px);
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: var(--z-nav);
    display: flex;
    visibility: hidden;
    flex-direction: column;
    padding: 112px 34px 34px;
    color: var(--white);
    background: var(--charcoal);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 0s 320ms, opacity 300ms ease, transform 300ms var(--ease);
  }

  .nav-open .mobile-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-panel__links {
    display: grid;
    gap: 0;
  }

  .mobile-panel__links a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: "Gmarket Sans", sans-serif;
    font-size: 22px;
  }

  .mobile-panel__links a::after {
    content: "→";
  }

  .mobile-panel__contact {
    display: grid;
    gap: 12px;
    margin-top: auto;
  }

  .mobile-panel__contact a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 700;
  }

  .mobile-panel__contact a:last-child {
    color: var(--ink);
    background: var(--gold-light);
    border-color: var(--gold-light);
  }

  .home-hero,
  .home-hero__content {
    min-height: 84dvh;
  }

  .home-hero h1 {
    font-size: 54px;
  }

  .hero-status__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-status__item {
    min-height: 72px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --section-y: 72px;
  }

  body {
    padding-bottom: 66px;
    font-size: 15px;
  }

  .container,
  .container--text {
    width: calc(100% - 36px);
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__sub {
    font-size: 9px;
  }

  .home-hero,
  .home-hero__content {
    min-height: 78dvh;
  }

  .home-hero__content {
    justify-content: flex-end;
    padding-top: 110px;
    padding-bottom: 150px;
  }

  .home-hero__media::after {
    background: linear-gradient(0deg, rgba(9, 18, 23, 0.94) 0%, rgba(9, 18, 23, 0.38) 72%, rgba(9, 18, 23, 0.22) 100%);
  }

  .home-hero h1 {
    font-size: 39px;
    line-height: 1.28;
  }

  .home-hero__kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .home-hero__desc {
    margin-top: 22px;
    font-size: 16px;
  }

  .home-hero__actions {
    margin-top: 28px;
  }

  .home-hero__actions .btn {
    min-width: calc(50% - 6px);
    flex: 1;
    padding: 0 15px;
  }

  .hero-status__item:nth-child(n + 3) {
    display: none;
  }

  .hero-status__item strong {
    font-size: 13px;
  }

  .hero-status__item span {
    font-size: 10px;
  }

  .display {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .page-hero,
  .page-hero__content {
    min-height: 430px;
  }

  .page-hero__content {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .page-title {
    font-size: 42px;
  }

  .page-hero__desc {
    font-size: 15px;
  }

  .site-footer__top,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    gap: 46px;
    padding-top: 64px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    min-height: 90px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 66px;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 -10px 30px rgba(23, 33, 39, 0.16);
  }

  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-actions a:last-child {
    color: var(--ink);
    background: var(--gold-light);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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