/* =========================================================
   CIMMER · shared product-area stylesheet
   Inherits the homepage's editorial-luxury system.
   ========================================================= */

:root {
  --ink:          #14110e;
  --ink-soft:     #2a2520;
  --paper:        #f4f1ea;
  --paper-deep:   #ebe6dc;
  --paper-warm:   #efeae0;
  --grey-warm:    #7a726a;
  --grey-line:    #d9d1c4;
  --gold:         #b89968;
  --gold-soft:    rgba(184,153,104,0.45);
  --crimson:      #d81920;
  --serif:  "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --kr:     "Noto Serif KR", "Cormorant Garamond", serif;
  --sans:   "Manrope", "Noto Serif KR", -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(24px, 5vw, 96px);
  --max-w:  1640px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--kr);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.frame {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ——— NAV (matches main page, but solid by default on inner pages) ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: rgba(244,241,234,0.92);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--grey-line);
  color: var(--ink);
  transition: background 400ms var(--ease-in-out);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  letter-spacing: 0.32em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.nav__brand .bar {
  width: 22px; height: 3px; background: var(--crimson);
  display: inline-block;
  position: absolute;
  top: -10px; left: 0;
}
.nav__menu {
  display: flex; gap: clamp(20px, 2.4vw, 40px);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
}
.nav__menu a.is-active { color: var(--gold); }
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0%;
  background: currentColor;
  transition: width 600ms var(--ease-out-expo);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }
.nav__utility {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 24px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.nav__utility .lang { opacity: 0.7; }
.nav__utility .lang.is-active { opacity: 1; font-weight: 600; }
.nav__utility .divider { width: 1px; height: 12px; background: currentColor; opacity: 0.3; }
.nav__cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
  letter-spacing: 0.22em;
  transition: background 200ms, color 200ms;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__menu, .nav__utility .lang, .nav__utility .divider { display: none; }
}

/* ——— SECTION HEAD / TAGS ——— */
.section-tag {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--grey-warm);
}
.section-tag .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
}
.section-tag .rule { width: 36px; height: 1px; background: currentColor; opacity: 0.5; }

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}
.h-display em { font-style: italic; font-weight: 300; color: var(--gold); }

.kr-body {
  font-family: var(--kr);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 2;
  color: var(--ink-soft);
  word-break: keep-all;
}

/* ——— BREADCRUMB ——— */
.crumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-warm);
  display: flex; align-items: center; gap: 14px;
}
.crumb a:hover { color: var(--gold); }
.crumb .sep { opacity: 0.4; }
.crumb .here { color: var(--ink); }

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 18px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 600ms var(--ease-out-expo);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 600ms var(--ease-out-expo);
  z-index: -1;
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }

/* ——— LINK CTA ——— */
.cta-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 6px;
}
.cta-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transition: transform 600ms var(--ease-out-expo);
  transform-origin: right;
}
.cta-link:hover::after { transform: scaleX(0); transform-origin: left; }

/* ——— PAGE HEADER ——— */
.page-head {
  padding: clamp(140px, 18vh, 200px) 0 clamp(50px, 7vh, 80px);
  border-bottom: 1px solid var(--grey-line);
}
.page-head__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.page-head__title { margin-top: 24px; max-width: 16ch; }
.page-head__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-warm);
  text-align: right;
  line-height: 2;
}
@media (max-width: 780px) {
  .page-head__inner { grid-template-columns: 1fr; }
  .page-head__meta { text-align: left; }
}

/* ——— FOOTER ——— */
.footer {
  background: var(--ink);
  color: rgba(244,241,234,0.65);
  padding: clamp(80px, 10vh, 120px) 0 40px;
  margin-top: clamp(80px, 10vh, 140px);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,241,234,0.12);
}
.footer__brand { display: flex; flex-direction: column; gap: 24px; }
.footer__logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.18em;
  color: var(--paper);
  position: relative;
}
.footer__logo .accent {
  width: 26px; height: 4px; background: var(--crimson);
  position: absolute; left: 0; top: -10px;
}
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(244,241,234,0.85);
  max-width: 32ch;
  line-height: 1.5;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 22px;
}
.footer__col li {
  font-family: var(--kr);
  font-size: 14px;
  line-height: 2.2;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.45);
}
.footer__bottom .right { display: flex; gap: 28px; }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ——— REVEAL ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 80ms; }
.reveal--d2 { transition-delay: 160ms; }
.reveal--d3 { transition-delay: 240ms; }
.reveal--d4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
