:root {
  --night: #0b0d12;
  --night-2: #12151c;
  --ivory: #f6f3ec;
  --ivory-2: #ece7dc;
  --ink: #14161b;
  --gold: #d6b36e;
  --gold-deep: #9a7532;
  --text-dark: #4b4e57;
  --text-light: #b4b6bd;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(20, 22, 27, .12);
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.en { color: var(--text-dark); font-size: .92em; }
.dark .en { color: var(--text-light); }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); margin-bottom: 10px; }
.dark .eyebrow { color: var(--gold); }

/* header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 28px; height: auto; }
.brand__word { height: 17px; width: auto; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: #e9e6df; text-decoration: none; }
.nav a:hover { color: var(--gold); }

/* hero */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,.2), rgba(11,13,18,.85)); }
.hero__content { position: relative; padding: 120px 24px 96px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 18px; }
.hero__lead { font-size: 18px; max-width: 640px; color: #e9e6df; }
.hero__lead.en { color: var(--text-light); margin-top: 8px; font-size: 16px; }

/* sections */
.section { padding: 88px 0; }
.section h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 6px; }
.section h2 + .en { margin-bottom: 28px; font-size: 18px; }
.dark { background: var(--night); color: #f1eee7; }
.alt { background: var(--ivory-2); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cols p + p { margin-top: 14px; }
.about__figure img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* products */
.app { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden; }
.app__media img { width: 100%; height: 100%; object-fit: cover; }
.app__body { padding: 32px; }
.app__body h3 { font-size: 28px; margin-bottom: 4px; }
.app__body h3 small { font-size: 16px; font-weight: 500; color: var(--text-light); margin-left: 6px; }
.app__body p { margin-top: 12px; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 3px 10px; border: 1px solid var(--line-dark); border-radius: 99px; color: var(--text-light); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--line { border: 1px solid var(--line-dark); color: #f1eee7; }
.btn:hover { opacity: .88; }
.note { margin-top: 28px; font-size: 15px; color: var(--text-light); }

/* company info */
.info { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 16px; }
.info th, .info td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line-light); }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; }
.info th { width: 30%; font-weight: 600; background: #faf8f3; }
.info th span, .info td span { display: block; font-weight: 400; color: var(--text-dark); font-size: 14px; }

/* contact */
.contact__mail { font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--gold); text-decoration: none; }

/* footer */
.footer { background: var(--night); color: var(--text-light); font-size: 14px; padding: 40px 0; border-top: 1px solid var(--line-dark); }
.footer p + p { margin-top: 4px; }
.footer a { color: #e9e6df; }
.footer__links { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }

/* legal page */
.legal { max-width: 800px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal h2 { font-size: 20px; margin: 36px 0 8px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.legal p, .legal li { margin-top: 8px; }
.legal .meta { color: var(--text-dark); font-size: 15px; }
.legal .langs { margin-top: 16px; font-size: 15px; }

@media (max-width: 800px) {
  .nav { display: none; }
  .cols, .app { grid-template-columns: 1fr; gap: 28px; }
  .app { gap: 0; }
  .app__body { padding: 24px; }
  .section { padding: 64px 0; }
  .hero__content { padding: 88px 24px 72px; }
  .info th, .info td { display: block; width: 100%; }
  .info th { border-bottom: 0; padding-bottom: 4px; }
  .info td { padding-top: 4px; }
}

/* added sections */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: 14px; padding: 28px; }
.card__no { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 22px; }
.card h3 { font-size: 20px; margin: 6px 0 10px; }
.card p + p { margin-top: 10px; }
.sub { font-size: 22px; margin: 56px 0 20px; }
.sub span { font-size: 16px; font-weight: 500; color: var(--text-light); margin-left: 6px; }
.gcard { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; font-size: 15px; }
.gcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gcard img.px { image-rendering: pixelated; }
.gcard > div { padding: 18px 20px 22px; }
.gcard h4 { margin: 0 0 6px; font-size: 18px; }
.gcard h4 small { font-weight: 500; font-size: 13px; color: var(--text-light); margin-left: 4px; }
.gcard p + p { margin-top: 6px; }
.gcard .plat { color: var(--gold); font-size: 13px; margin-top: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gold); }
.timeline li { display: flex; gap: 24px; padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline b { min-width: 72px; }
.timeline em { display: block; font-style: normal; color: var(--text-dark); font-size: 15px; }
.note a, .legal a { color: inherit; }
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 6px 0 0; }
@media (max-width: 800px) { .grid3 { grid-template-columns: 1fr; } }
