:root {
  --brand: #8B6F47;
  --brand-dark: #6E5536;
  --brand-light: #D8B894;
  --brand-50: #faf7f2;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --bg: #ffffff;
  --bg-alt: #faf7f2;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: var(--ink-800);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* -------- Nav -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__brand-text {
  font-weight: 700;
  font-size: 17px;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a { color: var(--ink-600); transition: color .2s; }
.nav__links a:hover { color: var(--brand); }
.nav__portal {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
}
.nav__portal:hover { background: var(--brand-dark); color: #fff !important; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.75) sepia(0.25) brightness(0.95);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,18,10,0.82) 0%, rgba(50,36,22,0.65) 40%, rgba(139,111,71,0.62) 100%),
    radial-gradient(900px 500px at 90% 0%, rgba(216,184,148,0.22), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(139,111,71,0.30), transparent 65%);
}
.hero__content {
  position: relative;
  padding: 120px 24px 140px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero__content { padding: 140px 40px 160px; text-align: left; max-width: 920px; }
}
.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  margin: 16px 0 20px;
  letter-spacing: -0.03em;
}
.hero__title .accent {
  background: linear-gradient(90deg, var(--brand-light), #f5dbb8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .hero__cta { justify-content: flex-start; }
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}
.hero__scroll span {
  display: block;
  width: 4px; height: 8px;
  border-radius: 2px;
  background: #fff;
  margin: 6px auto 0;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(10px); opacity: 1; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 11px;
  color: var(--brand);
}
.eyebrow.light { color: var(--brand-light); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 32px rgba(139, 111, 71, 0.45);
}
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* -------- Sections -------- */
.section {
  padding: 100px 0;
}
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section__head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section__head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 10px 0 12px;
  font-weight: 800;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-600);
  margin: 0;
}

/* -------- Grid -------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

/* About */
.prose p { margin: 0 0 14px; color: var(--ink-700); font-size: 17px; line-height: 1.8; }
.prose .muted { color: var(--ink-500); font-size: 14px; margin-top: 28px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  padding: 28px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.04);
}
.stat__n {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__l {
  margin-top: 10px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
}

/* -------- Cards -------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: 32px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
  border-color: var(--brand-light);
}
.card__icon { font-size: 28px; margin-bottom: 14px; }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.card p { color: var(--ink-600); font-size: 14.5px; margin: 0; line-height: 1.7; }

/* -------- Banner -------- */
.banner {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  color: #fff;
}
.banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.7) brightness(0.8);
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,18,10,0.88) 0%, rgba(50,36,22,0.72) 60%, rgba(139,111,71,0.55) 100%);
}
.banner__content {
  position: relative;
  max-width: 820px;
}
.banner__title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 12px 0 18px;
}
.banner__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
}

/* -------- Team -------- */
.team-note {
  margin-top: 32px;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px dashed var(--brand-light);
  text-align: center;
}
.team-note a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-light); text-underline-offset: 4px; }

/* -------- Contact -------- */
.contact-card {
  padding: 28px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.contact-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--ink-500);
  margin: 0 0 12px;
}
.contact-card p {
  margin: 0 0 12px;
  color: var(--ink-800);
  font-size: 16px;
  font-weight: 500;
}
.contact-link {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 16px;
  border-bottom: 2px solid var(--brand-light);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.contact-link:hover { color: var(--brand); border-color: var(--brand); }

.grid-2 .contact-card { height: 100%; }

/* -------- Footer -------- */
.footer {
  background: #17110a;
  color: #d8cfc3;
  padding: 80px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.2fr 1fr; } }
.footer__brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer__brand img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  background: #fff;
  padding: 4px;
  border-radius: 8px;
}
.footer__name { font-size: 16px; font-weight: 700; color: #fff; }
.footer__sub { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 14px;
}
.footer__cols h4 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li { margin-bottom: 8px; }
.footer__cols a { color: #d8cfc3; transition: color .2s; }
.footer__cols a:hover { color: var(--brand-light); }
.footer__bottom {
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
