:root {
  color-scheme: light;
  --ink: #1a291f;
  --text: #4c5b50;
  --paper: #f9faf5;
  --forest: #1d3429;
  --lime: #d8ed9b;
  --soft-green: #eaf0df;
  --line: #d9e1d5;
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid #527a38; outline-offset: 5px; }

.wrap {
  width: min(1192px, calc(100% - 112px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: var(--lime);
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  background: var(--paper);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: .015em;
}

.brand-mark {
  display: inline-grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: end;
  gap: 2px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--lime);
}

.brand-mark::before, .brand-mark::after {
  content: "";
  width: 5px;
  border-radius: 5px;
  background: var(--forest);
  transform: rotate(28deg);
}

.brand-mark::before { height: 12px; }
.brand-mark::after { height: 17px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: .9375rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

.site-nav a { padding-block: 10px; }
.site-nav a:hover { color: #4a6c3a; }

.site-nav .nav-contact {
  padding: 9px 17px 10px;
  border: 1px solid #b9c6b8;
  border-radius: 8px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.site-nav .nav-contact:hover { background: var(--soft-green); border-color: #8c9d89; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  align-items: center;
  min-height: 530px;
  padding-block: 78px 88px;
  background-color: #1c3327;
  background-image:
    linear-gradient(90deg, rgba(15, 33, 24, .93), rgba(17, 35, 26, .76) 31%, rgba(17, 35, 26, .25) 58%, rgba(17, 35, 26, .08)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center, center 56%;
  color: var(--paper);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 21px;
  color: #e0e9d7;
  font-size: .9375rem;
  font-weight: 650;
}

.hero-label::before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--lime);
}

.hero h1 {
  font-size: clamp(2.75rem, 5.05vw, 4.625rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.075em;
}

.hero h1 span { color: var(--lime); }

.hero-description {
  max-width: 31rem;
  margin-top: 26px;
  color: #e5ebe1;
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: -.025em;
  word-break: keep-all;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-button {
  margin-top: 31px;
  background: var(--lime);
  color: #233525;
}

.hero-button:hover { background: #e7f6ba; }
.hero :focus-visible, .contact :focus-visible { outline-color: var(--lime); }

.section { padding-block: 76px; }

.section-label {
  margin-bottom: 14px;
  color: #496643;
  font-size: .9375rem;
  font-weight: 750;
  letter-spacing: -.015em;
}

h2 {
  font-size: clamp(1.875rem, 3.05vw, 2.75rem);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -.066em;
  word-break: keep-all;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: 48px;
}

.about-copy, .service-card p, .contact-copy {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: -.03em;
  word-break: keep-all;
}

.about-copy { max-width: 29rem; padding-bottom: 2px; color: var(--text); }

.services {
  background: #edf1e8;
  border-block: 1px solid #e5eae1;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.service-card h3 {
  margin-top: 20px;
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -.05em;
}

.service-card p { margin-top: 8px; color: var(--text); }

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #e7efdb;
  color: #33523a;
}

.service-icon::before, .service-icon::after {
  position: absolute;
  content: "";
}

.strategy-icon::before {
  width: 23px;
  height: 23px;
  border: 1.5px solid;
  border-radius: 50%;
}

.strategy-icon::after {
  width: 11px;
  height: 11px;
  border: 1.5px solid;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 1.4px, transparent 1.6px);
}

.design-icon::before, .design-icon::after {
  width: 14px;
  height: 14px;
  border: 1.5px solid;
  border-radius: 2px;
  transform: translateY(-4px) rotate(45deg);
  background: #e7efdb;
}

.design-icon::before { transform: translateY(4px) rotate(45deg); }

.web-icon::before { width: 23px; height: 18px; border: 1.5px solid; border-radius: 3px; }
.web-icon::after { width: 21px; height: 1.5px; transform: translateY(-3px); background: currentColor; }

.contact {
  overflow: hidden;
  background-color: var(--forest);
  background-image: repeating-radial-gradient(ellipse 330px 270px at 91% 127%, transparent 0 31px, #ffffff12 32px 33px);
  color: var(--paper);
}

.contact .section-label { color: var(--lime); }

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-copy { max-width: 32rem; margin-top: 16px; color: #e0e8db; }
.contact-action { display: grid; justify-items: start; flex: 0 0 auto; gap: 8px; }
.contact-action small { font-size: .8125rem; color: #cfdbca; }

.contact-button { border-color: #a7bca1; color: var(--paper); }
.contact-button:hover { border-color: var(--lime); background: #304738; }

.email-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 13px;
  overflow: hidden;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.email-icon::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  inset: -6px auto auto 2px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.site-footer { padding-block: 24px; }
.site-footer p { font-size: .875rem; color: var(--text); }
.site-footer .wordmark { font-size: 1rem; }
.site-footer .brand-mark { width: 29px; height: 29px; }
.mobile-break { display: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .about-grid { gap: 24px; }
  .service-list { gap: 12px; }
  .service-card { padding: 21px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { flex-wrap: wrap; min-height: 66px; gap: 0; }
  .site-nav { flex-basis: 100%; justify-content: space-between; gap: 12px; padding: 6px 0 16px; }

  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #b9c6b8;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
  }

  .menu-icon {
    width: 15px;
    height: 9px;
    border-block: 1.5px solid;
    background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  }

  .hero {
    min-height: 475px;
    padding-block: 69px 73px;
    background-image:
      linear-gradient(90deg, rgba(15, 33, 24, .91), rgba(15, 33, 24, .65) 72%, rgba(15, 33, 24, .44)),
      url("assets/hero.jpg");
    background-position: center, 64% center;
  }

  .hero-description { max-width: 22rem; font-size: 1rem; }
  .desktop-break { display: none; }
  .mobile-break { display: initial; }
  .section { padding-block: 53px; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-copy { padding-bottom: 0; }
  .service-list { grid-template-columns: 1fr; margin-top: 22px; }
  .service-card h3 { margin-top: 13px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
