:root {
  --paper: #f1f0eb;
  --ink: #171714;
  --gray: #696862;
  --line: rgba(23, 23, 20, 0.16);
  --light: #f5f4ef;
  --shell: 1600px;
  --gutter: 56px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --font-sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button {
  color: inherit;
  font: inherit;
}

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

figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

::selection {
  background: var(--ink);
  color: var(--light);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--light);
  transition: background-color 280ms ease, color 280ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(241, 240, 235, 0.92);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.wordmark span:last-child {
  font-weight: 400;
}

.desktop-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 38px;
}

.nav-links {
  gap: 26px;
}

.desktop-nav a {
  position: relative;
  padding-block: 7px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 240ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav .nav-contact {
  display: inline-flex;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}

.desktop-nav .nav-contact span {
  transition: transform 200ms var(--ease);
}

.desktop-nav .nav-contact:hover span {
  transform: translate(3px, -3px);
}

.menu-button {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 26px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 112px var(--gutter) 36px;
  background: var(--paper);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 14px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  font-size: 27px;
  font-weight: 400;
}

.mobile-menu nav span {
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
}

.mobile-call {
  justify-self: start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 500;
}

.section {
  padding-block: 184px;
}

.editorial-label {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  margin-bottom: 80px;
  font-size: 12px;
  text-transform: uppercase;
}

.editorial-label span {
  color: var(--gray);
}

.editorial-label p {
  margin-bottom: 0;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 500;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}
