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

:root {
  --paper: #f8f7f2;
  --cream: #eeeae1;
  --ink: #19392f;
  --ink-soft: #425b50;
  --forest: #18382f;
  --sage: #b5c7aa;
  --lime: #dce6c8;
  --line: rgba(25, 57, 47, 0.18);
  --muted: #6b786f;
  --gutter: clamp(22px, 4.7vw, 92px);
  --header-height: 84px;
  --demo: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--demo) + 16px);
}

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

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

button {
  cursor: pointer;
}

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

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

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

ul,
ol {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid #5c7f62;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: var(--forest);
  color: white;
}

.skip-link:focus {
  top: calc(var(--demo) + 12px);
}

.site-header {
  position: sticky;
  z-index: 90;
  top: var(--demo);
  height: var(--header-height);
  border-bottom: 1px solid rgba(25, 57, 47, 0.1);
  background: rgba(248, 247, 242, 0.95);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 300ms ease,
    background 300ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  box-shadow: 0 15px 38px rgba(25, 57, 47, 0.07);
  background: rgba(248, 247, 242, 0.99);
}

.header-inner,
.header-right,
.brand,
.primary-nav {
  display: flex;
  align-items: center;
}

.header-inner {
  height: 100%;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  flex-shrink: 0;
  gap: 11px;
  line-height: 1;
}

.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  transform: rotate(-14deg);
}

.brand-mark i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 10px 2px 10px 2px;
  background: #7fa180;
}

.brand-mark i:nth-child(1) {
  top: 1px;
  left: 11px;
}

.brand-mark i:nth-child(2) {
  top: 11px;
  right: 0;
  transform: rotate(90deg);
}

.brand-mark i:nth-child(3) {
  bottom: 0;
  left: 11px;
  transform: rotate(180deg);
}

.brand-mark i:nth-child(4) {
  top: 11px;
  left: 0;
  transform: rotate(270deg);
}

.brand-name,
.footer-logo {
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.095em;
}

.brand-name > span,
.footer-logo > span {
  color: #91ad7e;
}

.brand-name small,
.footer-logo small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.25em;
}

.primary-nav {
  align-self: stretch;
  justify-content: center;
  gap: clamp(24px, 3vw, 56px);
  margin-left: auto;
}

.primary-nav a {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
}

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

.header-right {
  gap: 22px;
  margin-left: clamp(10px, 2vw, 40px);
}

.header-visit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.visit-pulse,
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6e9f73;
  box-shadow: 0 0 0 4px rgba(110, 159, 115, 0.13);
}

.menu-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition:
    background 250ms ease,
    color 250ms ease;
}

.menu-button:hover,
.menu-open .menu-button {
  background: var(--forest);
  color: white;
}

.menu-button span {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 250ms ease;
}

.menu-open .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.all-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  overflow: auto;
  max-height: calc(100vh - var(--header-height) - var(--demo));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 26px 38px rgba(25, 57, 47, 0.1);
  animation: menu-in 350ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.all-menu-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 7%;
  padding-block: 56px 68px;
}

.all-menu-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.overline,
.section-label,
.section-side,
.page-kicker,
.all-menu-group h2 {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.all-menu-intro strong {
  margin-top: 42px;
  font-size: clamp(32px, 3.3vw, 54px);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.all-menu-intro p {
  max-width: 300px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.all-menu-intro > a {
  display: flex;
  justify-content: space-between;
  width: 270px;
  margin-top: 34px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.all-menu-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.all-menu-group {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-top: 10px;
}

.all-menu-group h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: #789078;
}

.all-menu-group a {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.all-menu-group a:hover {
  color: #66946a;
  transform: translateX(4px);
}

.all-menu-group a span {
  color: #92a995;
}

.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 16px;
}

.nojs-nav a {
  text-decoration: underline;
}

.site-footer {
  color: #edf2e8;
  background: #122d25;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 10%;
  padding-block: clamp(76px, 9vw, 150px) 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-invite {
  position: relative;
  width: min(680px, 65%);
}

.footer-invite .overline {
  color: #a9c4a8;
}

.footer-invite h2 {
  margin-top: 28px;
  font-size: clamp(44px, 5vw, 84px);
  font-weight: 490;
  line-height: 1.13;
  letter-spacing: -0.075em;
}

.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 73px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 27px;
  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms ease;
}

.round-link:hover {
  color: var(--forest);
  background: #e7efd9;
  transform: rotate(45deg);
}

.footer-nav {
  display: grid;
  align-content: end;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px 36px;
  min-width: 290px;
  padding-bottom: 5px;
}

.footer-nav a {
  font-size: 13px;
  color: #d3dfd2;
}

.footer-nav a:hover {
  color: white;
  text-decoration: underline;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  padding-block: 48px 62px;
}

.footer-logo {
  font-size: 50px;
  flex-shrink: 0;
}

.footer-logo small {
  margin-top: 7px;
}

.websave-company-info {
  max-width: 730px;
  display: grid;
  gap: 7px;
  color: #b7c8b8;
  font-size: 12px;
  line-height: 1.7;
}

.websave-company-info a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #a7baac;
  font-size: 11px;
  line-height: 1.6;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
  white-space: nowrap;
}

.footer-bottom a:hover {
  color: white;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 750ms ease,
    transform 850ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.motion-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .primary-nav,
  .header-visit {
    display: none;
  }

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

  .all-menu-intro strong {
    margin-top: 25px;
  }

  .all-menu-nav {
    gap: 25px;
  }
}

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

  .brand-name {
    font-size: 27px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .all-menu-inner {
    padding-block: 32px 42px;
  }

  .all-menu-intro {
    display: none;
  }

  .all-menu-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .all-menu-group a {
    font-size: 13px;
  }

  .footer-top,
  .footer-middle,
  .footer-bottom {
    display: block;
  }

  .footer-top {
    padding-block: 75px 50px;
  }

  .footer-invite {
    width: 100%;
  }

  .footer-invite h2 {
    font-size: clamp(42px, 10vw, 58px);
  }

  .footer-nav {
    margin-top: 50px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .footer-middle {
    padding-block: 40px 50px;
  }

  .footer-logo {
    display: inline-block;
    margin-bottom: 30px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    margin-top: 18px;
  }
}

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

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