:root {
  --cream: #FEFBF4;
  --cream-2: #FFF4E2;
  --orange: #F68B2C;
  --orange-d: #DE7417;
  --brown: #6B3519;
  --brown-2: #8A5A3B;
  --soil: #F3D9BE;
  --leaf: #DDEFC8;
  --berry: #FBD9DE;
  --sky: #D6EBF8;
  --yellow: #FFC93C;
  --line: #EEDFC9;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(107, 53, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .btn, .badge, .eyebrow, .sticker, figcaption, .role {
  font-family: "Jua", "Noto Sans KR", sans-serif;
  font-weight: 400;
}

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

/* ---------- 헤더 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 251, 244, .9);
  backdrop-filter: blur(10px);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(107, 53, 25, .08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 30px; width: auto; }
.links { display: flex; gap: 6px; }
.links a {
  font-family: "Jua", sans-serif; font-size: 18px;
  text-decoration: none; padding: 8px 16px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.links a:hover { background: var(--cream-2); color: var(--orange-d); }
.menu-btn { display: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; font-size: 19px; text-decoration: none;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 5px 0 var(--orange-d);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--orange-d); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--orange-d); }
.btn-ghost { border: 2px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--orange); }
.btn.is-disabled { background: #E9D9C4; color: var(--brown-2); box-shadow: 0 5px 0 #D6C2A8; cursor: default; transform: none; }

/* ---------- 히어로 ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding: 48px 0 110px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 6px 16px 6px 10px; font-size: 17px; color: var(--orange-d);
}
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.22; margin: 0 0 20px; letter-spacing: -.01em; }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 14px;
  background: var(--yellow); opacity: .45; border-radius: 8px; z-index: -1;
}
.lead { font-size: 18px; color: var(--brown-2); max-width: 30em; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; justify-self: center; width: min(380px, 100%); }
.blob {
  position: absolute; inset: 8% -14% -6% -14%;
  background: radial-gradient(circle at 50% 45%, #FFD9A8 0%, rgba(255, 217, 168, 0) 70%);
  z-index: 0;
}
.hero-mark {
  position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 8px solid #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  animation: bob 3.2s ease-in-out infinite;
}
.hero-mark img { width: 62%; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; fill: var(--cream); }

.sec-title { font-size: clamp(30px, 4vw, 42px); margin: 0 0 6px; text-align: center; }
.sec-sub { text-align: center; color: var(--brown-2); margin: 0 0 40px; }

/* ---------- 팀 ---------- */
.team { background: var(--cream); padding: 100px 0; }
.members { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 28px; justify-content: center; }
.member {
  background: #fff; border: 2px solid var(--line); border-radius: 32px;
  padding: 36px 28px 30px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.member:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.member:nth-child(2):hover { transform: translateY(-6px) rotate(.6deg); }
.avatar {
  width: 128px; height: 128px; border-radius: 50%; background: var(--bg);
  margin: 0 auto 16px; display: grid; place-items: center;
}
.avatar img { width: 78px; height: 78px; }
.member h3 { font-size: 32px; margin: 0; }
.role { color: var(--orange-d); font-size: 18px; margin: 0 0 12px; }
.bio { color: var(--brown-2); margin: 0; font-size: 15.5px; }

/* ---------- 문의 ---------- */
.contact { padding: 0 0 100px; background: var(--cream); }
.contact-in {
  background: var(--orange); color: #fff; border-radius: 36px; text-align: center;
  padding: 56px 24px; position: relative; overflow: hidden;
}
.contact-in > img { margin: 0 auto 8px; filter: brightness(0) invert(1); opacity: .95; }
.contact-in h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }
.contact-in p { margin: 0 0 28px; opacity: .95; }
.btn-mail { background: #fff; color: var(--orange-d); box-shadow: 0 5px 0 rgba(0, 0, 0, .12); }
.btn-mail:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0, 0, 0, .12); }
.btn-mail:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.contact-in .mail-addr { margin: 18px 0 0; font-size: 15px; opacity: .9; user-select: all; }

/* ---------- 푸터 ---------- */
.foot { background: var(--brown); color: #F3E3D0; padding: 32px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot img { height: 26px; width: auto; filter: brightness(0) invert(.93) sepia(.25); }
.foot p { margin: 0; font-size: 14px; }

/* ---------- 등장 효과 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-art { width: min(240px, 64%); }
}
@media (max-width: 680px) {
  .menu-btn {
    display: grid; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .menu-btn span { width: 24px; height: 3px; background: var(--brown); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 8px 16px 16px; box-shadow: 0 12px 20px rgba(107, 53, 25, .1);
    display: none;
  }
  .nav.open .links { display: flex; }
  .links a { padding: 12px 16px; }
  .brand img { height: 24px; }
  .members { grid-template-columns: 1fr; }
  .foot-in { justify-content: center; text-align: center; }
}
