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

:root {
  --paper: #f3f0ea;
  --paper-deep: #e7e0d7;
  --ink: #302b29;
  --muted: #756c65;
  --clay: #987562;
  --line: #d6cec4;
  --dark: #2c2927;
  --demo-height: 36px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
em {
  font-style: normal;
}
::selection {
  background: #d3b29f;
  color: var(--ink);
}
.wrap {
  width: min(100% - 96px, 1540px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 50px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: var(--demo-height);
  border-bottom: 1px solid rgba(65, 53, 48, 0.16);
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 10px;
  white-space: nowrap;
}
.brand-script,
.footer-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}
.brand-period,
.footer-brand > span {
  color: var(--clay);
}
.brand-caption {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 56px);
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
}
.primary-nav a {
  position: relative;
  padding-block: 34px;
  white-space: nowrap;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 1px;
  background: var(--clay);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current='page']::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 750;
  transition:
    background 0.3s,
    color 0.3s;
}
.header-contact:hover {
  background: var(--ink);
  color: white;
}
.menu-toggle {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}
.menu-toggle span {
  width: 17px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s;
}
.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.all-menu[hidden] {
  display: none;
}
.all-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: #e9e3da;
  box-shadow: 0 25px 40px rgba(47, 40, 35, 0.1);
  animation: menu-enter 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.all-menu-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9vw;
  padding-block: 64px 74px;
}
.all-menu-note p {
  margin-top: 32px;
  font-family: Georgia, Pretendard, serif;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.38;
}
.all-menu-note a {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.all-menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 50px;
}
.all-menu-group {
  padding-top: 12px;
  border-top: 1px solid #baa99d;
}
.all-menu-group h2 {
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 13px;
}
.all-menu-group a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 6px;
  font-size: 18px;
  font-weight: 600;
}
.all-menu-group a span {
  font-weight: 400;
  opacity: 0.45;
}
.all-menu-group a:hover {
  color: var(--clay);
}
.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 18px;
}
.nojs-nav a {
  text-decoration: underline;
}

.site-footer {
  background: #242321;
  color: #f2ede6;
}
.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  padding-block: 116px 105px;
  border-bottom: 1px solid #53504c;
}
.footer-top .eyebrow {
  color: #bea18e;
}
.footer-top h2 {
  margin-top: 30px;
  font-size: clamp(44px, 5.2vw, 86px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.07em;
  word-break: keep-all;
}
.footer-top h2 em {
  color: #bfa58f;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(250px, 100%);
  padding: 19px 0;
  border-bottom: 1px solid #c1b5aa;
  font-size: 17px;
  font-weight: 600;
}
.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 64px 48px;
}
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 60px;
}
.footer-brand small {
  margin-left: 15px;
  font-family: Pretendard, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.18em;
}
.footer-middle nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px 28px;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 34px 50px;
  border-top: 1px solid #53504c;
  color: #bdb7ae;
  font-size: 12px;
  line-height: 1.9;
}
.websave-company-info a,
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal {
  text-align: right;
}
.footer-legal > div {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 12px;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.motion-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: min(100% - 52px, 1540px);
  }
  .primary-nav {
    gap: 20px;
    font-size: 12px;
  }
  .header-contact {
    display: none;
  }
  .footer-middle {
    align-items: start;
    flex-direction: column;
  }
  .footer-middle nav {
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  :root {
    --demo-height: 30px;
  }
  .wrap {
    width: min(100% - 36px, 1540px);
  }
  .header-inner {
    min-height: 70px;
  }
  .brand-script {
    font-size: 32px;
  }
  .brand-caption {
    font-size: 8px;
  }
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .all-menu {
    position: fixed;
    top: calc(var(--demo-height) + 70px);
    bottom: 0;
    overflow-y: auto;
  }
  .all-menu-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 35px 70px;
  }
  .all-menu-note p {
    margin-top: 20px;
  }
  .all-menu-note a {
    margin-top: 18px;
  }
  .all-menu-links {
    gap: 28px 20px;
  }
  .all-menu-group a {
    font-size: 15px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    padding-block: 80px 60px;
  }
  .footer-top h2 {
    font-size: clamp(40px, 10vw, 58px);
  }
  .footer-middle {
    padding-block: 48px 35px;
  }
  .footer-brand {
    font-size: 48px;
  }
  .footer-middle nav {
    gap: 12px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  .footer-legal {
    text-align: left;
  }
  .footer-legal > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
