:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #16151A;
  --ink-2: #45434C;
  --muted: #7A7782;
  --line: #E7E3DB;
  --wish: #C8A24A;        /* the "wish" star */
  --onyu: #7A003C;        /* ONYU burgundy */
  --onyu-bg: #FFE6F1;
  --bwa: #E8452A;         /* BWA pencil red */
  --bwa-bg: #F3F0E8;
  --max: 1040px;
  --font: "Pretendard Variable", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 244, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .star { width: 22px; height: 22px; color: var(--wish); }
.brand small { font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.lang { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

/* hero */
.hero { padding: 110px 0 90px; text-align: center; position: relative; }
.hero .sparkles { position: absolute; inset: 0; pointer-events: none; }
.hero .sparkles svg { position: absolute; color: var(--wish); opacity: 0.55; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-top: 16px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--wish); }
.hero p.lead { margin: 24px auto 0; max-width: 34em; font-size: 19px; color: var(--ink-2); }

/* sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { margin-top: 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

/* brand cards */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 21, 26, 0.10); }
.card .art { height: 220px; display: flex; align-items: center; justify-content: center; }
.card.onyu .art { background: var(--onyu-bg); }
.card.onyu .art img { height: 170px; width: auto; }
.card.bwa .art { background: var(--bwa-bg); position: relative; }
.card.bwa .art::before, .card.bwa .art::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; background-color: #141311;
  background-image: linear-gradient(90deg, var(--bwa-bg) 0 12px, transparent 12px 30px); background-size: 30px 8px; background-repeat: repeat-x; background-position: 8px center;
}
.card.bwa .art::before { top: 0; }
.card.bwa .art::after { bottom: 0; }
.card.bwa .art img { height: 120px; width: 120px; border-radius: 26px; box-shadow: 0 10px 24px rgba(20, 19, 17, 0.15); }
.card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card.onyu .kind { color: var(--onyu); }
.card.bwa .kind { color: var(--bwa); }
.card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .go { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 15px; }
.card.onyu .go { color: var(--onyu); }
.card.bwa .go { color: var(--bwa); }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.value .icon { width: 30px; height: 30px; color: var(--wish); }
.value h3 { margin-top: 12px; font-size: 18px; font-weight: 800; }
.value p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* contact */
.contact { background: var(--ink); color: #F4F2EE; border-radius: 28px; padding: 54px 40px; text-align: center; }
.contact h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.contact p { margin-top: 12px; color: #C9C6CF; font-size: 17px; }
.contact-list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.contact-item { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px 20px; }
.contact-item .label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #A9A5B0; }
.contact-item a { display: inline-block; margin-top: 6px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); word-break: break-all; }
.contact-item a:hover { border-bottom-color: var(--wish); }

/* footer */
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 40px 20px 50px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: .7; transform: scale(1); } }
.hero .sparkles svg { animation: twinkle 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .sparkles svg { animation: none; }
}

@media (max-width: 820px) {
  .brands, .values, .contact-list { grid-template-columns: 1fr; }
  .contact { padding: 40px 22px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 12px; }
  .nav-links { gap: 14px; }
  .brand small { display: none; }
  .hero { padding: 72px 0 60px; }
  section { padding: 60px 0; }
}

/* never let one wide child push the page sideways on phones */
html { overflow-x: hidden; }
.brands > *, .values > *, .contact-list > * { min-width: 0; }
.lang { max-width: 112px; }
