/* PRIMARYSYSTEM — white, thin and plain; the material carries the page.
   Accent only: a thin, wide face close to the logo (Gruppo) and a hairline running out from it, after the R20LITE cover. */
:root {
  --ink: #141414;
  --ink-2: #4a4a4a;
  --gray: #8a8a8a;
  --line: #e8e8e8;
  --line-2: #d2d2d2;
  --soft: #f4f4f4;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --accent: "Gruppo", "Pretendard Variable", Pretendard, sans-serif;
  --maxw: 1200px;
  --gut: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.7; font-weight: 400;
  letter-spacing: -0.005em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 6px 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.logo { display: block; aspect-ratio: 1463.3 / 111.9; background: currentColor;
  -webkit-mask: url("/assets/logo.svg") no-repeat center / contain; mask: url("/assets/logo.svg") no-repeat center / contain; }
.en { font-family: var(--accent); text-transform: uppercase; letter-spacing: .2em; font-weight: 400; }

/* eyebrow: accent word with a hairline running out to the right */
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-family: var(--accent); font-size: 14px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.eyebrow b { font-weight: 400; color: var(--gray); }

/* ---------- header ---------- */
.hd { border-bottom: 1px solid var(--line); background: #fff; }
.hd .wrap { display: flex; align-items: center; height: 84px; }
.hd .brand { width: 184px; flex: none; color: var(--ink); }
.hd .tagline { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); font-size: 13px; color: var(--gray); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .mail { font-size: 13px; color: var(--gray); margin-left: 6px; }
.menu { display: none; place-items: center; flex: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu svg { width: 24px; height: 24px; }
.menu path { transform-origin: 12px 12px; transition: transform .2s, opacity .2s; }
.menu[aria-expanded="true"] .menu-top { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
.menu[aria-expanded="true"] .menu-middle { opacity: 0; }
.menu[aria-expanded="true"] .menu-bottom { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }

/* ---------- controls ---------- */
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.link svg { width: 14px; height: 14px; }
.btn { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid var(--ink); background: #fff; font-size: 14px; transition: background .2s, color .2s; }
.btn span { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.btn .en { font-size: 13px; letter-spacing: .16em; border-left: 1px solid currentColor; padding: 0 14px; }
.btn svg { width: 14px; height: 14px; }
.btn:hover { background: var(--ink); color: #fff; }
.store { display: inline-flex; align-items: center; justify-content: center; gap: 11px; height: 44px; padding: 0 14px; border: 1px solid #202020; border-radius: 4px; background: #202020; color: #fff; line-height: 1; transition: background .2s; }
.store svg { width: 22px; height: 22px; flex: none; }
.store span { font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.store:hover { background: #383838; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; max-width: 420px; padding: 16px 16px 16px 22px;
  border: 1px solid var(--line-2); background: #fff; transition: border-color .2s; }
.dl b { display: block; font-size: 15px; font-weight: 600; }
.dl small { display: block; margin-top: 2px; font-size: 13px; color: var(--gray); }
.dl small .en { letter-spacing: .14em; }
.dl .ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.dl .ico svg { width: 16px; height: 16px; }
.dl:hover { border-color: var(--ink); }
.dl:hover .ico { background: var(--ink); color: #fff; }

/* ---------- hero slides ---------- */
.hero { padding-top: 28px; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
.media { position: relative; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media-product > img { transform: scale(1.284); }
.media-tech { background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 0; }
.media-tech svg { width: 100%; height: 100%; }
.media-tech .legend { position: absolute; left: 20px; bottom: 14px; padding: 5px 8px; background: rgba(255,255,255,.92); }
.media-works { display: grid; grid-template-columns: .75fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; background: #fff; }
.media-works img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.media-works .main { grid-row: 1 / 3; }
.arrows { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; display: flex; justify-content: space-between; align-items: center;
  pointer-events: none; z-index: 2; }
.arrows button { pointer-events: auto; width: 48px; height: 72px; border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.arrows svg { width: 18px; height: 36px; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff); }
.cap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; padding-top: 22px; }
.cap .kicker { margin: 0; font-size: 14px; color: var(--gray); display: flex; gap: 18px; }
.cap .kicker b { font-weight: 400; color: var(--ink); }
.cap h1, .cap h2 { margin: 8px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.45; }
.cap .note { margin: 4px 0 0; font-size: 13px; color: var(--gray); }
.cap .act { display: flex; align-items: center; gap: 22px; flex: none; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(80px, 10vw, 128px); }
.sec-head { margin-bottom: 36px; }
.sec-head h2, .page-head h1 { margin: 0; font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.45; }
.sec-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 42em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.two--wide { grid-template-columns: 5fr 7fr; }
.fig { margin: 0; }
.fig figcaption { margin-top: 10px; font-size: 13px; color: var(--gray); }
.fig figcaption .en { color: var(--ink-2); margin-right: 10px; letter-spacing: .14em; }

/* key figures (label left, value right) */
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 14px; }
.facts dd { margin: 0; font-family: var(--accent); font-size: 26px; letter-spacing: .04em; line-height: 1.2; text-align: right; }
.facts dd small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--gray); margin-left: 8px; }
.facts dd.ko { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.small { font-size: 13px; color: var(--gray); margin: 12px 0 0; }

/* numbered columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.cols li { border-top: 1px solid var(--ink); padding-top: 16px; }
.cols .n { display: block; font-family: var(--accent); font-size: 15px; letter-spacing: .14em; color: var(--gray); margin-bottom: 18px; }
.cols h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.cols p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.patent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 32px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.patent .en { font-size: 14px; color: var(--ink); }
.patent .num { font-family: var(--accent); font-size: 20px; letter-spacing: .08em; color: var(--ink); }

/* rows table */
.rows { width: 100%; border-collapse: collapse; font-size: 14.5px; border-top: 1px solid var(--ink); }
.rows th, .rows td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows th { width: 28%; font-weight: 600; padding-right: 16px; }
.rows td { color: var(--ink-2); }
.rows--info td { text-align: right; color: var(--ink); font-size: 16px; font-weight: 500; }
.rows--info th { font-weight: 400; color: var(--ink-2); }
.rows .en { font-size: 16px; letter-spacing: .1em; }

/* production record: heading and the PDF, nothing else */
.record { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.record .sec-head { margin: 0; }

/* product page */
.page-head { padding-top: clamp(48px, 6vw, 72px); }
.page-head .title { margin: 0; font-family: var(--accent); font-size: clamp(30px, 3.4vw, 42px); letter-spacing: .1em; line-height: 1.2; font-weight: 400; }
.page-head .lead { margin: 14px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.page-head .desc { margin: 10px 0 0; color: var(--ink-2); max-width: 40em; }
.page-head .act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.page-head .media { margin-top: 40px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; }
.tech-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.tech-list li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.tech-list .n { font-family: var(--accent); font-size: 15px; letter-spacing: .1em; color: var(--gray); }
.tech-list b { display: block; color: var(--ink); font-weight: 600; }
.diagram { border: 1px solid var(--line); padding: 18px; background: #fff; }
.tech-diagram { width: 100%; height: auto; display: block; }
.tech-diagram .px rect { fill: #ebebeb; }
.tech-diagram .grid { stroke: #dcdcdc; stroke-width: .6; fill: none; }
.tech-diagram .before { fill: none; stroke: #a3a3a3; stroke-width: 1.4; stroke-dasharray: 5 4; }
.tech-diagram .after { fill: none; stroke: var(--ink); stroke-width: 2; }
.tech-diagram .nodes-before circle { fill: #a3a3a3; }
.tech-diagram .nodes-after circle { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--gray); }
.legend i { display: inline-block; width: 18px; border-top: 1.5px solid; margin-right: 7px; vertical-align: 4px; }
.legend .p i { border: 0; width: 11px; height: 11px; background: #ebebeb; vertical-align: -1px; }
.legend .b i { border-color: #a3a3a3; border-top-style: dashed; }
.legend .a i { border-color: var(--ink); }

/* about: three real photographs in one square under the PDF */
.about-photos { width: 100%; max-width: 420px; height: auto; margin-top: 24px; }

/* history: a quiet central line with alternating branches */
.history { min-width: 0; }
.history .eyebrow { text-transform: none; font-size: 18px; font-weight: 400; letter-spacing: .16em; }
.history-list { position: relative; margin: 34px 0 0; padding: 0; list-style: none; }
.history-list::before { content: ""; position: absolute; top: 0; bottom: 38px; left: 50%; width: 1px; background: var(--line-2); }
.history-list li { position: relative; width: 50%; min-height: 104px; padding: 0 28px 28px 0; text-align: right; }
.history-list li:nth-child(even) { margin-left: 50%; padding: 0 0 28px 28px; text-align: left; }
.history-list li::before { content: ""; position: absolute; top: 14px; right: 0; width: 18px; height: 1px; background: var(--line-2); }
.history-list li::after { content: ""; position: absolute; top: 12px; right: -2px; width: 5px; height: 5px; background: var(--ink-2); }
.history-list li:nth-child(even)::before { right: auto; left: 0; }
.history-list li:nth-child(even)::after { right: auto; left: -2px; }
.history-list li:last-child { min-height: 0; padding-bottom: 0; }
.history-date { font-family: var(--accent); font-size: 21px; font-weight: 400; letter-spacing: .025em; line-height: 1.4; }
.history-period { font-size: 18px; }
.history-date time { white-space: nowrap; }
.history-list p { margin: 7px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.history-patent { display: block; margin-top: 2px; font-family: var(--accent); font-size: 19px; letter-spacing: .035em; white-space: nowrap; }

/* ---------- footer ---------- */
.ft { margin-top: clamp(80px, 10vw, 128px); border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 13px; color: var(--gray); }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.ft .brand { width: 132px; color: var(--ink); }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); }
.ft-links a:hover { color: var(--ink); }
.ft-links .pp { color: var(--ink); font-weight: 600; }
.ft-info { margin: 0; line-height: 1.9; }
.ft-info span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: var(--line-2); margin: 0 12px; }
.ft-info em { font-style: normal; color: var(--ink-2); margin-right: 6px; }
.ft-copy { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 16px; }
.ft-copy .lang { color: var(--gray); }
.ft-copy .lang:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hd .tagline { display: none; }
}
@media (max-width: 900px) {
  .two, .two--wide { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .cap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hd .wrap { height: 68px; position: relative; }
  .hd .brand { width: 156px; }
  .menu { display: grid; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; z-index: 20; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0 var(--gut) 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .mail { margin: 0; border-bottom: 0; }
  .hero { padding-top: 16px; }
  .arrows button { width: 36px; }
  .media-tech .legend { left: 10px; bottom: 8px; gap: 4px 10px; font-size: 10px; padding: 3px 5px; }
  .cap h1, .cap h2 { font-size: 19px; }
  .facts dd { font-size: 21px; }
  .rows th { width: 34%; }
  .ft-info span { display: block; }
  .ft-info span + span::before { content: none; }
  .ft-info br { display: none; }
}
@media (max-width: 560px) {
  .history-list li { padding-right: 22px; }
  .history-list li:nth-child(even) { padding-left: 22px; }
  .history-date { font-size: 19px; }
  .history-period { font-size: 17px; }
  .history-period time:last-child { display: block; }
  .history-patent { font-size: 17px; letter-spacing: 0; }
  .history-list p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .menu path { transition: none; } }
