@font-face {
  font-family: Pretendard;
  src: url('./fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #121a22;
  --muted: #5a6670;
  --paper: #f4f3ef;
  --white: #fff;
  --accent: #a2c8d5;
  --line: rgba(18, 26, 34, 0.18);
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, sans-serif;
}
body.menu-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: min(100% - 88px, 1640px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: -60px;
  left: 16px;
  background: #fff;
  padding: 10px;
}
.skip-link:focus {
  top: 12px;
}
.small-label,
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-header {
  position: relative;
  z-index: 80;
  background: #f5f4f0;
  color: var(--ink);
  border-bottom: 1px solid #d8d8d4;
}
.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.brand-symbol {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid currentColor;
}
.brand-symbol::before,
.brand-symbol::after {
  position: absolute;
  content: '';
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.brand-symbol::before {
  inset: 6px 6px 6px 6px;
}
.brand-symbol::after {
  inset: 12px 6px 6px 12px;
}
.brand-name {
  display: block;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.85;
}
.brand-period {
  color: #b7896b;
}
.brand-name small {
  display: block;
  margin-top: 7px;
  font-size: 7px;
  letter-spacing: 0.22em;
  font-weight: 700;
  white-space: nowrap;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 55px);
  height: 100%;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--ink);
  font-size: 16px;
  font-weight: 730;
  white-space: nowrap;
  transition: color 240ms ease;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: #427388;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.primary-nav a:hover,
.primary-nav a[aria-current] {
  color: #427388;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current]::after {
  transform: scaleX(1);
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-inquiry {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 240ms ease;
}
.header-inquiry:hover {
  color: #427388;
}
.header-inquiry span {
  font-size: 19px;
}
.menu-toggle {
  border: 0;
  border-left: 1px solid #bec7c8;
  background: transparent;
  color: var(--ink);
  min-width: 92px;
  height: 48px;
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: color 240ms ease;
}
.menu-toggle:hover,
.menu-toggle[aria-expanded='true'] {
  color: #427388;
}
.menu-toggle-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.menu-toggle-lines {
  display: grid;
  gap: 5px;
}
.menu-toggle i {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 260ms ease;
}
.menu-toggle[aria-expanded='true'] i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.all-menu {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  overflow: hidden;
  max-height: calc(100dvh - var(--header-h) - 38px);
  background: #e9e8e2;
  color: var(--ink);
  box-shadow: 0 25px 55px #09131b36;
  opacity: 0;
  transform: translateY(-24px) scaleY(0.94);
  transform-origin: top center;
  pointer-events: none;
  transition:
    transform 580ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease;
}
.all-menu.is-open {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}
.all-menu[hidden] {
  display: none;
}
.all-menu-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.56fr) minmax(0, 1.44fr);
  gap: 7%;
  padding-top: 62px;
  padding-bottom: 64px;
}
.menu-intro,
.menu-group {
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 500ms ease;
}
.all-menu.is-open .menu-intro,
.all-menu.is-open .menu-group {
  opacity: 1;
  transform: translateY(0);
}
.menu-group:nth-child(1) {
  transition-delay: 75ms;
}
.menu-group:nth-child(2) {
  transition-delay: 125ms;
}
.menu-group:nth-child(3) {
  transition-delay: 175ms;
}
.menu-group:nth-child(4) {
  transition-delay: 225ms;
}
.menu-intro span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #61808c;
}
.menu-intro p {
  margin: 20px 0 30px;
  font-size: clamp(27px, 2.2vw, 40px);
  font-weight: 460;
  line-height: 1.3;
  letter-spacing: -0.05em;
}
.menu-intro img {
  width: min(100%, 360px);
  height: 170px;
  object-fit: cover;
  border-radius: 5px 70px 5px 5px;
}
.menu-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-content: start;
}
.menu-group {
  border-top: 1px solid #82939a;
  padding: 24px 0 0;
}
.menu-group-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: clamp(19px, 1.6vw, 27px);
  font-weight: 600;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.menu-group-title em {
  font-size: 10px;
  font-style: normal;
  color: #6c8c99;
}
.menu-group-title b {
  font-size: 18px;
  font-weight: 400;
  opacity: 0;
  transform: translateX(-5px);
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}
.menu-group-title:hover b {
  opacity: 1;
  transform: translateX(0);
}
.menu-group-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 0 0 24px;
}
.menu-group-links a {
  color: #5d6b70;
  font-size: 13px;
}
.menu-group a:hover {
  color: #2c7188;
}

.site-footer {
  background: #111920;
  color: #f6f6f2;
  overflow: hidden;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5%;
  padding-top: 110px;
  padding-bottom: 100px;
}
.footer-start h2 {
  margin: 30px 0 50px;
  font-size: clamp(52px, 5.8vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  font-weight: 700;
}
.footer-start h2 em {
  font-style: normal;
  color: var(--accent);
}
.footer-round-link {
  display: inline-flex;
  gap: 45px;
  align-items: center;
  border-radius: 100px;
  padding: 17px 21px;
  border: 1px solid #ffffff9e;
  font-size: 14px;
  font-weight: 700;
}
.footer-round-link span {
  font-size: 20px;
}
.footer-round-link:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.footer-side {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-contact {
  display: grid;
  gap: 11px;
}
.footer-contact span {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 800;
}
.footer-contact a:first-of-type {
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.footer-contact a:last-of-type {
  font-size: 15px;
}
.footer-side nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 18px 40px;
  font-size: 14px;
}
.footer-side nav a:hover {
  color: var(--accent);
}
.footer-brand {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  border-top: 1px solid #ffffff55;
  padding-top: 28px;
  padding-bottom: 30px;
}
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-name strong {
  display: block;
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 850;
  line-height: 0.85;
  letter-spacing: -0.085em;
}
.footer-brand-name strong span {
  color: #b7896b;
}
.footer-brand-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid currentColor;
}
.footer-brand-mark::before,
.footer-brand-mark::after {
  position: absolute;
  content: '';
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.footer-brand-mark::before {
  inset: 7px 7px 7px 7px;
}
.footer-brand-mark::after {
  inset: 15px 7px 7px 15px;
}
.footer-wordmark small {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.footer-brand p {
  color: #b7c0c5;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.7;
  letter-spacing: 0.16em;
}
.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid #ffffff44;
  padding-top: 28px;
  padding-bottom: 36px;
  font-size: 11px;
  line-height: 1.8;
  color: #b7c0c5;
}
.footer-legal a:hover {
  color: #fff;
}
.websave-company-info p {
  margin: 0;
}
.footer-legal-links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  white-space: nowrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1120px) {
  .primary-nav {
    gap: 24px;
  }
  .header-inquiry {
    display: none;
  }
  .all-menu-inner {
    display: block;
  }
  .menu-intro {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }
  .wrap {
    width: min(100% - 36px, 1640px);
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .brand-symbol {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-name small {
    font-size: 7px;
  }
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    width: 45px;
    min-width: 45px;
    height: 45px;
    padding: 0;
    border-left: 0;
  }
  .menu-toggle-label {
    display: none;
  }
  .all-menu {
    position: fixed;
    top: calc(var(--header-h) + 38px);
    bottom: 0;
    max-height: none;
    overflow-y: auto;
  }
  .all-menu-inner {
    display: block;
    padding-top: 16px;
    padding-bottom: 50px;
  }
  .menu-groups {
    display: block;
  }
  .menu-group {
    padding: 22px 0 24px;
    border-top-color: #a9b4b5;
  }
  .menu-group-title {
    font-size: 27px;
  }
  .menu-group-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 16px;
    padding-left: 24px;
  }
  .footer-main {
    display: block;
    padding-top: 75px;
    padding-bottom: 70px;
  }
  .footer-start h2 {
    font-size: clamp(45px, 11vw, 72px);
  }
  .footer-side {
    margin-top: 70px;
    gap: 52px;
  }
  .footer-brand {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
  .footer-brand-name strong {
    font-size: clamp(38px, 10vw, 52px);
  }
  .footer-legal {
    flex-direction: column;
    gap: 20px;
  }
  .footer-legal-links {
    flex-wrap: wrap;
  }
}
