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

:root {
  --ink: #171813;
  --paper: #f3f0e7;
  --warm: #e6e0d3;
  --orange: #f86a3a;
  --violet: #b3a3e6;
  --line: rgba(23, 24, 19, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, Arial, sans-serif;
  word-break: keep-all;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link {
  position: absolute;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  gap: 3px;
  transform: rotate(-14deg);
}

.brand-mark i {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 2px;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  background: var(--ink);
}

.brand-type {
  position: relative;
  display: block;
  padding-bottom: 9px;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 1;
}

.brand-type > span,
.footer-wordmark > span {
  color: var(--orange);
}

.brand-type small {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(1.5rem, 3vw, 4rem);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 0.7rem 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  content: '';
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-contact,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0.95rem 1.2rem;
  border-radius: 100px;
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 750;
  transition:
    color 0.3s,
    background 0.3s,
    transform 0.3s;
}

.header-contact:hover,
.pill-link:hover {
  color: var(--ink);
  background: var(--orange);
  transform: translateY(-3px);
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  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;
  top: 100%;
  right: 0;
  left: 0;
  padding: 4rem 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 30px 50px #0003;
}

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

.all-menu-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 2fr;
  gap: 5rem;
}

.menu-lead > span,
.eyebrow,
.menu-groups h2 {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.menu-lead p {
  font-size: clamp(26px, 3vw, 45px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.menu-lead > a {
  display: inline-flex;
  gap: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid currentColor;
}

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

.menu-groups h2 {
  margin: 0 0 1.8rem;
  color: var(--orange);
}

.menu-groups a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 15px;
}

.menu-groups a:hover {
  color: var(--orange);
}

.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
}

.site-footer {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.footer-upper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(60px, 10vw, 180px);
  padding-block: clamp(5rem, 8vw, 9rem);
}

.footer-upper .eyebrow {
  color: var(--orange);
}

.footer-upper h2 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(32px, 3.3vw, 58px);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 1.22;
}

.footer-invite p {
  max-width: 470px;
  color: #bdc3ba;
  line-height: 1.75;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  min-width: 235px;
  margin-top: 2rem;
  padding: 1rem 1.3rem;
  color: var(--ink);
  background: #d5ef92;
  font-weight: 700;
}

.footer-link:hover {
  background: white;
}

.footer-paths {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.footer-paths > span {
  margin-bottom: 1.5rem;
  color: #d5ef92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-paths a {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid #ffffff44;
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 650;
}

.footer-paths a:hover {
  color: #d5ef92;
}

.footer-mid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ffffff36;
}

.footer-wordmark {
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.footer-wordmark small {
  display: block;
  margin-top: 0.8rem;
  font-size: 10px;
  letter-spacing: 0.3em;
}

.footer-mid nav,
.footer-legal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  font-size: 12px;
}

.footer-mid a:hover,
.footer-legal a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2rem 0 3rem;
  color: #c4c4bb;
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
}

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

.footer-legal > div {
  justify-content: end;
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .wrap {
    width: min(100% - 36px, 1600px);
  }

  .header-inner {
    min-height: 70px;
  }

  .primary-nav {
    display: none;
  }

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

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

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

  .footer-upper,
  .footer-mid {
    align-items: start;
  }

  .footer-upper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-mid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .brand-type {
    font-size: 27px;
  }

  .header-contact {
    display: none;
  }

  .all-menu {
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: 2.5rem 0;
  }

  .footer-upper h2 {
    font-size: clamp(31px, 8vw, 48px);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

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

  .footer-legal > div {
    justify-content: start;
  }
}

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

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