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

:root {
  --ink: #263a30;
  --deep: #1c352a;
  --blue: #537d65;
  --sky: #e6eee5;
  --amber: #bd815c;
  --paper: #f6f2e9;
  --white: #fffdf8;
  --muted: #6e7d71;
  --line: #d8ded3;
  font-family: Pretendard, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.wrap {
  width: min(100% - 112px, 1510px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--deep);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(246, 242, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  color: #315e49;
}

.brand-symbol {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(-18deg);
}

.brand-type {
  position: relative;
  font-family: Georgia, serif;
  font-size: 37px;
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.brand-dot {
  color: var(--amber);
}

.brand-type small {
  display: block;
  margin-top: 7px;
  font-family: Pretendard, sans-serif;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.28em;
  text-align: right;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(20px, 2.8vw, 54px);
}

.primary-nav a {
  padding: 30px 0;
  font-size: 14px;
  font-weight: 680;
  transition: color 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: #a36544;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.header-contact span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition:
    color 0.3s,
    background 0.3s,
    transform 0.3s;
}

.header-contact:hover span {
  color: var(--white);
  background: var(--ink);
  transform: rotate(45deg);
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 1px solid #b3c1b1;
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.all-menu {
  position: absolute;
  inset: 86px 0 auto;
  z-index: 110;
  max-height: calc(100vh - 86px);
  overflow-y: auto;
  background: #e8eddf;
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 70px #253a3029;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.all-menu.is-open {
  opacity: 1;
  transform: translateY(0);
}

.all-menu-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 2fr;
  gap: 9%;
  padding-block: 72px 90px;
}

.menu-lead > span,
.small-label,
.section-index {
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.18em;
}

.menu-lead p {
  margin: 35px 0;
  font-size: clamp(30px, 3vw, 56px);
  font-weight: 520;
  line-height: 1.28;
  letter-spacing: -0.065em;
}

.menu-lead a {
  display: inline-flex;
  gap: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-weight: 760;
}

.menu-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.menu-groups h2 {
  margin: 2px 0 25px;
  padding-bottom: 17px;
  border-bottom: 1px solid #aebcad;
  font-size: 15px;
}

.menu-groups a {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin: 0 0 18px;
  color: #52675a;
  font-size: 14px;
}

.menu-groups a:hover {
  color: #a36544;
}

.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 16px;
}

.site-main {
  overflow: clip;
}

.site-footer {
  color: #edf1e9;
  background: #234335;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  padding-block: 108px 106px;
  border-bottom: 1px solid #ffffff3d;
}

.footer-top h2 {
  margin: 25px 0 0;
  font-size: clamp(42px, 5.6vw, 86px);
  font-weight: 580;
  line-height: 1.18;
  letter-spacing: -0.075em;
  word-break: keep-all;
}

.footer-top h2 em {
  color: #dce2a5;
  font-style: normal;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 35px;
  min-width: 230px;
  padding: 23px 0;
  border-bottom: 1px solid #edf1e9;
  font-size: 16px;
  font-weight: 700;
}

.footer-cta span {
  transition: transform 0.25s;
}

.footer-cta:hover span {
  transform: translate(5px, -5px);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-block: 55px 72px;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.footer-brand span {
  color: #dce2a5;
}

.footer-brand small {
  display: block;
  margin-top: -1px;
  font-family: Pretendard, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.footer-main p {
  margin: 25px 0 0;
  color: #b8c7ba;
  font-size: 15px;
  line-height: 1.7;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  gap: 17px 35px;
  align-content: start;
  font-size: 14px;
}

.footer-main nav a:hover,
.footer-legal a:hover {
  color: #dce2a5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 30px 45px;
  border-top: 1px solid #ffffff3d;
  color: #b5c5b6;
  font-size: 12px;
  line-height: 1.85;
}

.websave-company-info p,
.footer-legal p {
  margin: 0;
}

.footer-legal {
  text-align: right;
}

.footer-legal > div {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 8px;
}

@media (max-width: 1020px) {
  .wrap {
    width: min(100% - 56px, 1510px);
  }
  .primary-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .wrap {
    width: min(100% - 36px, 1510px);
  }
  .header-inner {
    height: 70px;
  }
  .brand-symbol {
    font-size: 29px;
  }
  .brand-type {
    font-size: 30px;
  }
  .header-contact {
    display: none;
  }
  .all-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
  }
  .all-menu-inner {
    display: block;
    padding-block: 36px;
  }
  .menu-lead p {
    margin: 18px 0;
  }
  .menu-groups {
    margin-top: 45px;
  }
  .footer-top,
  .footer-main,
  .footer-bottom {
    display: block;
  }
  .footer-top {
    padding-block: 75px 65px;
  }
  .footer-cta {
    margin-top: 30px;
  }
  .footer-main nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 45px;
  }
  .footer-legal {
    margin-top: 25px;
    text-align: left;
  }
  .footer-legal > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

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