/* ===== Design Tokens (캄스 브랜드 톤: 따뜻한 피치·코랄·브라운) ===== */
:root {
  --cream:    #fbf5ee;
  --cream-2:  #f4e7dc;
  --peach:    #f6d9c8;
  --ink:      #4a3b32;
  --ink-soft: #7d6b5f;
  --coral:    #e98a6b;   /* 카드 따옴표 코랄 */
  --coral-d:  #d9714f;
  --gold:     #c79a6a;
  --line:     #ecddd0;
  --white:    #fffdfa;
  --shadow:   0 18px 40px -22px rgba(74, 59, 50, .35);
  --serif:    "Gowun Batang", serif;
  --sans:     "Gowun Dodum", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 20px 0; transition: all .35s ease; }
.nav.is-scrolled { background: rgba(251, 245, 238, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 11px 0; }
.nav__inner { max-width: 1140px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--coral); color: #fff; border-radius: 11px; font-family: var(--serif); font-weight: 700; font-size: 19px; box-shadow: var(--shadow); overflow: hidden; }
.nav__mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.nav__name { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.nav__name em { display: block; font-style: normal; color: var(--coral-d); font-size: 11px; letter-spacing: .3px; font-family: var(--sans); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); position: relative; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--coral); transition: width .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 130px 28px 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 520px at 80% 20%, rgba(246, 217, 200, .6), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(233, 138, 107, .14), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__eyebrow { font-family: var(--serif); color: var(--coral-d); letter-spacing: 2px; font-size: 14px; margin-bottom: 18px; }
.hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.3; letter-spacing: -1px; margin-bottom: 24px; }
.hero__lead { color: var(--ink-soft); font-size: clamp(1rem, 2.2vw, 1.14rem); margin-bottom: 36px; }
.hero__lead b { color: var(--coral-d); font-weight: 700; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: 24px; box-shadow: 0 30px 60px -26px rgba(74,59,50,.5); border: 6px solid #fff; }
.hero__art-cap { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap;
  background: #fff; color: var(--ink); font-family: var(--serif); font-size: 14px; padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow); }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-size: 15px; transition: transform .25s, box-shadow .25s, background .25s, color .25s; border: 1.5px solid transparent; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(217,113,79,.65); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }

/* ===== Section shared ===== */
.section__head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section__tag { font-family: var(--serif); letter-spacing: 3px; font-size: 12px; color: var(--coral-d); }
.section__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 10px 0; }
.section__desc { color: var(--ink-soft); }
.section__head--light .section__title, .section__head--light .section__tag, .section__head--light .section__desc { color: var(--cream); }
.section__head--light .section__desc { opacity: .85; }
.section__head--light .section__tag { opacity: .9; }

/* ===== About ===== */
.about { max-width: 1080px; margin: 0 auto; padding: 110px 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; }
.about__photo img { border-radius: 22px; box-shadow: var(--shadow); border: 6px solid #fff; }
.about__text p { color: var(--ink-soft); margin-bottom: 14px; }
.about__text b { color: var(--ink); }
.about__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.about__chips li { background: var(--peach); color: var(--coral-d); font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.about__quote { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); border-left: 3px solid var(--coral); padding-left: 18px; margin-top: 22px; line-height: 1.6; }

/* ===== Values ===== */
.values { background: linear-gradient(180deg, var(--coral) 0%, var(--coral-d) 100%); padding: 100px 28px; }
.values__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard { background: rgba(255,253,250,.97); border-radius: 18px; padding: 32px 24px; box-shadow: var(--shadow); transition: transform .3s; }
.vcard:hover { transform: translateY(-8px); }
.vcard__num { font-family: var(--serif); font-size: 28px; color: var(--peach); font-weight: 700; }
.vcard h3 { font-family: var(--serif); font-size: 1.2rem; margin: 6px 0 10px; }
.vcard p { color: var(--ink-soft); font-size: .93rem; }

/* ===== Pillars ===== */
.pillars { max-width: 1080px; margin: 0 auto; padding: 110px 28px; }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.pillar:hover { transform: translateY(-8px); }
.pillar img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pillar__body { padding: 26px 28px 30px; }
.pillar__body h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 10px; color: var(--coral-d); }
.pillar__body p { color: var(--ink-soft); }

/* ===== Art & English ===== */
.ae { background: var(--cream-2); padding: 110px 28px; }
.ae__inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.ae__text p { color: var(--ink-soft); margin: 14px 0; }
.ae__text b { color: var(--ink); }
.ae__quote { font-family: var(--serif); font-size: 1.3rem; color: var(--coral-d); margin-top: 20px; line-height: 1.5; }
.ae__photo img { border-radius: 22px; box-shadow: var(--shadow); border: 6px solid #fff; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== Records ===== */
.records { max-width: 1140px; margin: 0 auto; padding: 110px 28px; }
.records__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rec { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.rec:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -24px rgba(74,59,50,.4); }
.rec__date { font-family: var(--serif); font-size: 12px; color: var(--coral-d); letter-spacing: 1px; }
.rec h3 { font-family: var(--serif); font-size: 1.18rem; margin: 8px 0 10px; line-height: 1.45; }
.rec p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.rec__go { margin-top: 16px; color: var(--coral-d); font-size: 14px; font-weight: 600; }

/* ===== Channels ===== */
.channels { background: linear-gradient(180deg, var(--ink) 0%, #352a23 100%); padding: 100px 28px; }
.channels__grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel { display: flex; align-items: center; gap: 16px; background: rgba(255,253,250,.97); border-radius: 18px; padding: 22px 22px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.channel:hover { transform: translateY(-6px); }
.channel:hover .channel__arrow { transform: translateX(6px); }
.channel__svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: var(--coral-d); stroke-width: 1.8; }
.channel__txt { display: flex; flex-direction: column; min-width: 0; }
.channel__name { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; }
.channel__handle { color: var(--ink-soft); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
.channel__arrow { margin-left: auto; font-size: 1.3rem; color: var(--coral-d); transition: transform .3s; }

/* ===== Footer ===== */
.footer { background: #2c231d; color: var(--cream); text-align: center; padding: 58px 28px 44px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.12rem; margin-bottom: 14px; }
.footer__mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--coral); border-radius: 9px; font-size: 17px; color: #fff; }
.footer__copy { font-family: var(--serif); opacity: .8; margin-bottom: 22px; }
.footer__links { display: flex; gap: 12px; justify-content: center; align-items: center; margin-bottom: 24px; }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--coral); }
.footer__fine { opacity: .5; font-size: 12px; }

/* ===== Custom cursor (정밀 포인터 기기에서만) ===== */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("cursor.svg") 5 4, auto; }
  a, button, .btn, .rec, .channel, .pillar, .vcard, [role="button"] {
    cursor: url("cursor.svg") 5 4, pointer;
  }
}

/* 마우스 파티클 & 클릭 이펙트 (JS가 생성) */
.fx-particle {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  border-radius: 50%; will-change: transform, opacity;
}
.fx-ripple {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; border: 2px solid var(--coral);
  transform: translate(-50%, -50%); will-change: transform, opacity;
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner, .about, .ae__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto; }
  .about__photo { max-width: 360px; margin: 0 auto; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .records__grid { grid-template-columns: 1fr 1fr; }
  .channels__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .values__grid, .pillars__grid, .records__grid { grid-template-columns: 1fr; }
  .about, .pillars, .records, .ae, .values, .channels { padding: 70px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
