/* ============================================================
   MYK INC. — mykinc.co.kr 리뉴얼
   디자인 토큰: CAPTURE_SPEC §2 (다크그레이 #242323 + 베이지 #DBB89A)
   ============================================================ */
:root {
  --bg: #242323;
  --bg-deep: #1B1A1A;
  --bg-card: #2E2C2C;
  --beige: #DBB89A;
  --olive: #CFCB86;
  --white: #FFFFFF;
  --cream: #D8D5D2;
  --paper: #F9F9F9;
  --font-body: 'Nunito Sans', 'Noto Sans KR', Arial, sans-serif;
  --font-display: 'Poppins', Arial, sans-serif;
  --font-sub: 'Barlow', Arial, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 90%); margin: 0 auto; }
.container.narrow { width: min(860px, 90%); }
.center { text-align: center; }
.center-text { text-align: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(36, 35, 35, 0);
  transition: background .4s ease, box-shadow .4s ease;
}
.site-header.scrolled {
  background: rgba(27, 26, 26, .95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.header-inner {
  height: var(--header-h);
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.nav-link {
  font-family: var(--font-sub);
  font-size: 13px; letter-spacing: .18em; font-weight: 400;
  color: var(--paper);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--beige); border-color: var(--beige); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--paper); transition: transform .3s, opacity .3s;
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(27,26,26,.5), rgba(27,26,26,.8));
}
.hero-content { position: relative; text-align: center; padding: 0 16px; }
.display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 58px);
  letter-spacing: .24em;
  line-height: 1.25;
  color: var(--paper);
  text-transform: uppercase;
}
.eyebrow {
  margin-top: 28px;
  font-family: var(--font-sub); font-size: 13px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--beige);
}
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--beige); font-size: 26px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- section title ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 500; text-transform: uppercase;
  font-size: clamp(19px, 2.6vw, 27px);
  letter-spacing: .3em; text-align: center;
  color: var(--paper);
  margin-bottom: 24px;
}
.sub-title {
  font-family: var(--font-sub); letter-spacing: .2em; font-size: 13px;
  color: var(--beige); text-transform: uppercase; margin-bottom: 40px;
}
.lead {
  font-size: 17px; line-height: 2; color: var(--paper);
  margin-bottom: 40px;
}

/* ---------- about ---------- */
.about { padding: 120px 0; background: var(--bg); }
.about .en {
  font-size: 17px; font-weight: 300; line-height: 1.9;
  color: var(--paper); margin-bottom: 26px;
}
.about .ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14.5px; font-weight: 300; line-height: 2;
  color: var(--cream); margin-bottom: 16px;
}

/* ---------- brands ---------- */
.brands { padding: 110px 0 0; background: var(--bg-deep); }
.brand-block { padding: 90px 0; }
.brand-block.alt { background: var(--bg); }
.split {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: center;
}
.split.rev .brand-text { order: 1; }
.split.rev .brand-img { order: 2; }
.brand-img img {
  width: 100%; height: 520px; object-fit: cover;
  filter: saturate(.92);
}
.brand-logo { height: 54px; width: auto; margin-bottom: 26px; }
.brand-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--beige); margin-bottom: 24px;
}
.brand-text .ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13.5px; font-weight: 300; line-height: 1.95;
  color: var(--cream); margin-bottom: 18px;
}
.brand-text .en {
  font-size: 14.5px; line-height: 1.85;
  color: rgba(249,249,249,.85); margin-bottom: 26px;
}
.brand-info { list-style: none; margin-bottom: 28px; }
.brand-info li {
  display: flex; gap: 14px; margin-bottom: 9px;
  font-family: var(--font-sub); font-size: 13px; font-weight: 300;
}
.brand-info li span {
  flex: 0 0 72px; color: var(--beige); font-size: 10.5px;
  letter-spacing: .18em; padding-top: 3px;
}
.brand-info a:hover { color: var(--beige); }

.site-btn {
  display: inline-block;
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .22em;
  color: var(--beige); border: 1px solid var(--beige);
  padding: 12px 30px;
  transition: background .3s, color .3s;
}
.site-btn:hover { background: var(--beige); color: var(--bg-deep); }
.site-btn.solid { background: var(--beige); color: var(--bg-deep); }
.site-btn.solid:hover { background: var(--paper); }

.mexi-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 40px;
}
.mexi-strip img {
  width: 100%; height: 240px; object-fit: cover;
}

/* ---------- philosophy ---------- */
.philosophy { padding: 120px 0; background: var(--bg); }
.value-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(219,184,154,.12);
  padding: 28px 18px; text-align: center;
  width: 200px; min-height: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: border-color .3s;
}
.value-card:hover { border-color: var(--beige); }
.value-card em {
  display: block; font-style: normal;
  font-family: var(--font-display); font-weight: 600;
  color: var(--beige); font-size: 13px; letter-spacing: .2em;
  margin-bottom: 14px;
}
.value-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: .12em; line-height: 1.5;
  color: var(--paper); margin-bottom: 10px;
}
.value-card p {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px; color: var(--cream);
}

/* ---------- careers ---------- */
.careers { padding: 120px 0; background: var(--bg-deep); }
.careers .lead { }
.careers-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 30px 0 40px;
}
.careers-cols > div {
  background: var(--bg-card);
  border: 1px solid rgba(219,184,154,.12);
  padding: 32px 26px;
}
.careers-cols h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: .26em; color: var(--beige);
  margin-bottom: 18px;
}
.careers-cols ul { list-style: none; }
.careers-cols li {
  font-family: var(--font-sub); font-size: 13px; font-weight: 300;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.careers-cols li:last-child { border-bottom: 0; }
.apply-note {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13.5px; color: var(--cream); text-align: center;
  margin-bottom: 32px;
}
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); padding: 100px 0 40px; border-top: 1px solid rgba(219,184,154,.1); }
.footer-inner { text-align: center; }
.footer-contact { list-style: none; margin-bottom: 48px; }
.footer-contact li {
  display: flex; gap: 16px; justify-content: center;
  font-family: var(--font-sub); font-size: 14px; font-weight: 300;
  margin-bottom: 10px;
}
.footer-contact li span {
  color: var(--beige); font-size: 11px; letter-spacing: .18em; padding-top: 3px;
}
.footer-contact a:hover { color: var(--beige); }
.footer-brand-links {
  display: flex; gap: 40px; justify-content: center; align-items: center;
  margin-bottom: 40px;
}
.footer-brand-links img { height: 40px; width: auto; opacity: .8; transition: opacity .3s; }
.footer-brand-links a:hover img { opacity: 1; }
.social { display: flex; gap: 22px; justify-content: center; }
.social a { color: var(--cream); transition: color .3s; }
.social a:hover { color: var(--beige); }
.copyright {
  margin-top: 40px; font-family: var(--font-sub);
  font-size: 11px; letter-spacing: .14em; color: rgba(216,213,210,.45);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .brand-text { order: 1; }
  .split.rev .brand-img { order: 2; }
  .brand-img img { height: 320px; }
  .value-card { width: calc(50% - 9px); }
  .careers-cols { grid-template-columns: 1fr; }
  .mexi-strip { grid-template-columns: 1fr; }
  .mexi-strip img { height: 200px; }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(27, 26, 26, .98);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
  }
  .main-nav.open { max-height: 400px; box-shadow: 0 14px 30px rgba(0,0,0,.5); }
  .main-nav .nav-link {
    padding: 16px 6vw; border-bottom: 1px solid rgba(216,213,210,.08);
  }
  .nav-toggle { display: block; margin-left: auto; }
  .header-inner { gap: 16px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about, .philosophy, .careers { padding: 80px 0; }
  .brand-block { padding: 60px 0; }
}
@media (max-width: 520px) {
  .brand img { height: 32px; }
  .footer-brand-links { gap: 24px; }
  .footer-brand-links img { height: 30px; }
  .about, .philosophy, .careers { padding: 64px 0; }
  .brand-block { padding: 48px 0; }
  .lead { font-size: 15.5px; line-height: 1.9; }
  .about .en { font-size: 15.5px; line-height: 1.85; }
  .about .ko { font-size: 14px; line-height: 1.9; }
  .brand-text .en { font-size: 15px; line-height: 1.85; }
  .brand-text .ko { font-size: 14px; line-height: 1.9; }
  .brand-info li { font-size: 13.5px; }
  .section-title { letter-spacing: .22em; }
  .value-card { padding: 24px 14px; min-height: 150px; }
  .brand-img img { height: 260px; }
  .footer-contact li { flex-wrap: wrap; row-gap: 2px; font-size: 14.5px; }
}
