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

:root {
  --ink: #20231f;
  --charcoal: #191c1a;
  --paper: #f3f0e9;
  --soft: #e7e3d9;
  --line: #c9c7be;
  --muted: #666963;
  --accent: #bb9870;
  --wrap: 1460px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(calc(100% - 80px), var(--wrap));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 500;
  top: -80px;
  left: 12px;
  padding: 12px 18px;
  background: white;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow,
.section-index {
  display: inline-block;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.16em;
}
.line-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-width: 205px;
  padding: 0 0 14px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 680;
  transition:
    color 0.25s,
    gap 0.25s;
}
.line-link:hover {
  color: #936d4e;
  gap: 73px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(243, 240, 233, 0.97);
  border-bottom: 1px solid #d2cec5;
  backdrop-filter: blur(18px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
}
.brand-mark {
  display: block;
  position: relative;
  width: 39px;
  height: 39px;
  border: 1px solid var(--ink);
}
.brand-mark i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.brand-mark i:first-child {
  top: 6px;
  right: 5px;
}
.brand-mark i:last-child {
  bottom: 5px;
  left: 6px;
}
.brand-word {
  font-size: 25px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.075em;
}
.brand-word > span,
.footer-identity a span {
  color: var(--accent);
}
.brand-word small {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.24em;
}
.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(22px, 2.3vw, 40px);
}
.primary-nav a {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  font-size: 13px;
  font-weight: 700;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current]::after {
  right: 0;
}
.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}
.header-inquiry {
  font-size: 13px;
  font-weight: 740;
  white-space: nowrap;
}
.header-inquiry span {
  margin-left: 12px;
}
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 100px;
  height: 44px;
  padding: 0 34px 0 16px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.menu-toggle i {
  position: absolute;
  right: 12px;
  width: 13px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.25s,
    top 0.25s;
}
.menu-toggle i:nth-of-type(1) {
  top: 17px;
}
.menu-toggle i:nth-of-type(2) {
  top: 25px;
}
.menu-toggle[aria-expanded='true'] i:nth-of-type(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded='true'] i:nth-of-type(2) {
  top: 21px;
  transform: rotate(-45deg);
}
.all-menu {
  position: absolute;
  inset: 100% 0 auto;
  min-height: min(660px, calc(100dvh - 86px));
  background: var(--paper);
  box-shadow: 0 26px 50px #171b1733;
}
.all-menu[hidden] {
  display: none;
}
.all-menu-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 140px);
  padding-block: 45px 55px;
}
.all-menu-lead > span {
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.18em;
}
.all-menu-lead p {
  font-size: clamp(27px, 3.5vw, 54px);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.065em;
  margin: 20px 0 28px;
}
.all-menu-lead img {
  width: 68%;
  height: 220px;
  object-fit: cover;
}
.menu-group {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.menu-group:last-child {
  border-bottom: 1px solid var(--line);
}
.menu-group > span {
  color: #9d8063;
  font-size: 11px;
  font-weight: 730;
}
.menu-group-title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.06em;
}
.menu-group-title b {
  font-size: 15px;
  font-weight: 400;
  transition: transform 0.25s;
}
.menu-group-title:hover b {
  transform: translate(4px, -4px);
}
.menu-group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 13px;
}
.menu-group-links a {
  color: var(--muted);
  font-size: 12px;
}
.menu-group-links a:hover,
.menu-group-links a[aria-current] {
  color: #9d8063;
}

.site-footer {
  background: #171a18;
  color: #f8f7f2;
}
.footer-upper {
  display: grid;
  grid-template-columns: 1fr 43%;
  gap: 8%;
  padding-block: clamp(80px, 9vw, 150px);
}
.footer-question {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.footer-question .eyebrow {
  color: #bba484;
}
.footer-question h2 {
  margin: auto 0 42px;
  font-size: clamp(35px, 4.3vw, 70px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.068em;
}
.footer-question a {
  display: flex;
  justify-content: space-between;
  min-width: 240px;
  padding: 13px 0;
  border-bottom: 1px solid #cfc8b7;
  font-size: 14px;
  font-weight: 650;
}
.footer-photo {
  position: relative;
  height: clamp(300px, 30vw, 465px);
  overflow: hidden;
}
.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.footer-photo:hover img {
  transform: scale(1.05);
}
.footer-photo span {
  position: absolute;
  bottom: 16px;
  right: 19px;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.14em;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  gap: 45px;
  border-top: 1px solid #ffffff42;
  padding-block: 44px 35px;
}
.footer-identity a {
  font-size: 32px;
  font-weight: 830;
  letter-spacing: -0.08em;
}
.footer-identity p {
  margin-top: 12px;
  color: #babeb8;
  font-size: 12px;
  line-height: 1.6;
}
.footer-bottom nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.footer-legal {
  justify-self: end;
  color: #babeb8;
  font-size: 11px;
  line-height: 1.8;
}
.footer-legal p {
  margin: 0;
}
.footer-legal > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 14px;
}
.footer-legal a:hover,
.footer-bottom nav a:hover {
  color: white;
}

@media (max-width: 1050px) {
  .primary-nav {
    gap: 15px;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .footer-legal {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .footer-legal > div:last-child {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 36px), var(--wrap));
  }
  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }
  .primary-nav,
  .header-inquiry {
    display: none;
  }
  .menu-toggle {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }
  .menu-toggle span {
    display: none;
  }
  .menu-toggle i {
    right: 15px;
  }
  .all-menu {
    height: calc(100dvh - 107px);
    min-height: 0;
    overflow-y: auto;
  }
  .all-menu-inner {
    display: block;
    padding-block: 28px 55px;
  }
  .all-menu-lead p {
    font-size: 30px;
  }
  .all-menu-lead img {
    width: 100%;
    height: 150px;
    margin-bottom: 28px;
  }
  .menu-group {
    padding: 17px 0;
  }
  .menu-group-title {
    font-size: 22px;
  }
  .footer-upper {
    display: block;
    padding-block: 72px;
  }
  .footer-question h2 {
    margin: 28px 0 35px;
  }
  .footer-photo {
    margin-top: 55px;
  }
  .footer-bottom {
    gap: 25px;
  }
}
@media (max-width: 500px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-word {
    font-size: 22px;
  }
  .brand-word small {
    font-size: 7px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom nav {
    margin-block: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-legal > div:last-child {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
