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

:root {
  --ink: #182025;
  --night: #11181d;
  --paper: #f6f2eb;
  --cream: #ece5d9;
  --copper: #bd8461;
  --muted: #6d7372;
  --line: rgba(23, 32, 37, 0.18);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: Pretendard, sans-serif;
}

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

button {
  cursor: pointer;
}

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

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

figure,
h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -70px;
  left: 20px;
  padding: 12px 18px;
  color: white;
  background: #111;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
  letter-spacing: -0.12em;
  padding-right: 5px;
}

.brand-symbol span {
  color: var(--copper);
}

.brand-type {
  display: block;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.085em;
}

.brand-type > span,
.footer-identity > a span {
  color: var(--copper);
}

.brand-type small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 3vw, 55px);
  flex: 1;
}

.primary-nav a {
  position: relative;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

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

.header-order {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  transition:
    color 0.3s,
    background 0.3s;
}

.header-order:hover {
  color: white;
  background: var(--ink);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 43px;
  height: 43px;
  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 {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  color: var(--paper);
  background: #182025;
  box-shadow: 0 18px 25px #0003;
}

.all-menu[hidden] {
  display: none;
}

.all-menu-inner {
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 8vw;
  padding-block: 72px 90px;
}

.menu-lead > span,
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.menu-lead p {
  margin: 25px 0;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.07em;
}

.menu-lead a {
  border-bottom: 1px solid #fff9;
  padding-bottom: 6px;
  font-size: 13px;
}

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

.menu-groups h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid #fff5;
  color: #c99370;
  font-size: 15px;
}

.menu-groups a {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 0;
  color: #e5e2dc;
  font-size: 14px;
}

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

.site-footer {
  color: #e9e6de;
  background: #11181d;
}

.footer-scene {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.footer-scene-image,
.footer-scene-shade {
  position: absolute;
  inset: 0;
}

.footer-scene-image {
  background: url('./images/room.webp') center 50% / cover;
}

.footer-scene-shade {
  background: linear-gradient(90deg, #11181df0, #11181d85 62%, #11181d24);
}

.footer-scene-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 640px;
  padding-block: 100px;
}

.footer-eyebrow {
  color: #d8a27e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.footer-scene h2 {
  margin: 35px 0 45px;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.07em;
}

.footer-scene h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.footer-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-width: 270px;
  padding-bottom: 13px;
  border-bottom: 1px solid white;
  font-size: 15px;
  font-weight: 700;
}

.footer-invite span {
  font-size: 24px;
  font-weight: 400;
}

.footer-information {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.5fr;
  gap: 8vw;
  padding-block: 80px;
}

.footer-identity > a {
  font-size: 55px;
  font-weight: 800;
  letter-spacing: -0.085em;
}

.footer-identity p,
.footer-address p {
  margin: 17px 0 0;
  color: #c6c7c0;
  font-size: 14px;
  line-height: 1.8;
}

.footer-address > span {
  color: #c99370;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.footer-address small {
  display: block;
  margin-top: 10px;
  color: #a3a9a8;
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-block: 30px 55px;
  border-top: 1px solid #fff3;
  color: #aeb6b5;
  font-size: 11px;
  line-height: 1.7;
}

.footer-legal p {
  margin: 0;
}

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

.footer-legal-links a {
  display: inline-block;
  margin: 8px 0 0 18px;
}

@media (max-width: 1050px) {
  .primary-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .all-menu-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 72px;
  }

  .wrap {
    width: min(100% - 34px, 1480px);
  }

  .brand-symbol {
    width: 35px;
    height: 35px;
    font-size: 23px;
  }

  .brand-type {
    font-size: 23px;
  }

  .brand-type small {
    font-size: 7px;
  }

  .header-order {
    display: none;
  }

  .all-menu {
    max-height: calc(100svh - var(--header-height));
    overflow: auto;
  }

  .all-menu-inner {
    padding-block: 35px 55px;
  }

  .menu-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-scene,
  .footer-scene-content {
    min-height: 520px;
  }

  .footer-scene-shade {
    background: linear-gradient(90deg, #11181deb, #11181da9);
  }

  .footer-information {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding-block: 55px;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-identity > a {
    font-size: 46px;
  }

  .footer-legal {
    display: block;
    padding-block: 25px 40px;
  }

  .footer-legal-links {
    margin-top: 24px;
    text-align: left;
  }

  .footer-legal-links a {
    margin-left: 0;
    margin-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
