/* === tokens.css === */
/* PRAMENO Design Tokens v1.0 */

/* Paperlogy — 9 weights (Thin 100 → Black 900) */
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-1Thin.woff2') format('woff2');       font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-3Light.woff2') format('woff2');      font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-4Regular.woff2') format('woff2');    font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-5Medium.woff2') format('woff2');     font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-6SemiBold.woff2') format('woff2');   font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-7Bold.woff2') format('woff2');       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-8ExtraBold.woff2') format('woff2');  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('/assets/fonts/Paperlogy-9Black.woff2') format('woff2');      font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* EZ Blue — Primary brand */
  --pr-ez-50:   #F0F8FF;
  --pr-ez-100:  #DBF0FF;
  --pr-ez-200:  #A8D8F5;
  --pr-ez-400:  #5BB8E8;
  --pr-ez-500:  #1A94CC;
  --pr-ez-600:  #0E75A8;
  --pr-ez-700:  #095580;
  --pr-ez-800:  #063854;
  --pr-ez-900:  #03202F;

  /* Reduction Teal — -mV, antioxidant */
  --pr-teal-50:  #E8F8F3;
  --pr-teal-100: #C0EEE1;
  --pr-teal-200: #7ED9C0;
  --pr-teal-400: #25B99A;
  --pr-teal-500: #0E9E84;
  --pr-teal-600: #087864;
  --pr-teal-700: #055549;
  --pr-teal-800: #033630;

  /* Vitality Amber — Accent */
  --pr-amber-50:  #FFF8EE;
  --pr-amber-100: #FFE4B0;
  --pr-amber-400: #F5A623;
  --pr-amber-600: #D4880E;

  /* Oxidation Coral — +mV only */
  --pr-coral-50:  #FFF0EB;
  --pr-coral-400: #E87A50;
  --pr-coral-600: #C4512A;

  /* Neutral Warm */
  --pr-neutral-50:  #FAF9F7;
  --pr-neutral-100: #F0EDE8;
  --pr-neutral-200: #DDD9D2;
  --pr-neutral-400: #A09B93;
  --pr-neutral-600: #6B665E;
  --pr-neutral-800: #3D3A34;
  --pr-neutral-900: #141210;

  /* Brand Mark Green — logo hexagonal accent (unified across logo-black + logo-white) */
  --pr-color-brand-mark: #009444;

  /* Abyss — dark sections */
  --pr-abyss-700: #1E3A52;
  --pr-abyss-800: #0D2035;
  --pr-abyss-900: #050E1A;

  /* Semantic */
  --pr-color-eyebrow:   var(--pr-ez-600); /* WCAG 4.5:1 on light bg */
  --pr-color-primary:   var(--pr-ez-800);
  --pr-color-secondary: var(--pr-ez-500);
  --pr-color-reduction: var(--pr-teal-500);
  --pr-color-accent:    var(--pr-amber-400);
  --pr-color-oxidation: var(--pr-coral-400);
  --pr-color-bg-light:  var(--pr-neutral-50);
  --pr-color-bg-dark:   var(--pr-abyss-900);
  --pr-color-text:      var(--pr-neutral-800);
  --pr-color-muted:     var(--pr-neutral-600);
  --pr-color-border:    var(--pr-neutral-200);

  /* Typography — 전체 Paperlogy 통일 (9 weights: 100~900) */
  --pr-font-display-en: 'Paperlogy', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --pr-font-display-ko: 'Paperlogy', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --pr-font-body-en:    'Paperlogy', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --pr-font-body-ko:    'Paperlogy', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --pr-font-data:       'Paperlogy', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;

  --pr-text-hero: clamp(44px, 6.4vw, 88px);
  --pr-text-7xl:  clamp(38px, 5vw, 72px);
  --pr-text-5xl:  clamp(30px, 3.6vw, 48px);
  --pr-text-4xl:  clamp(24px, 2.8vw, 36px);
  --pr-text-3xl:  clamp(20px, 2.2vw, 30px);
  --pr-text-2xl:  22px;
  --pr-text-xl:   18px;
  --pr-text-base: 15px;
  --pr-text-sm:   13.5px;
  --pr-text-xs:   12px;

  --pr-leading-tight:   1.0;
  --pr-leading-snug:    1.3;
  --pr-leading-base:    1.6;
  --pr-leading-relaxed: 1.8;

  --pr-tracking-tight: -0.02em;
  --pr-tracking-base:   0em;
  --pr-tracking-wide:   0.06em;
  --pr-tracking-label:  0.12em;

  /* Layout */
  --pr-max-width:         1280px;
  --pr-max-width-narrow:  920px;
  --pr-section-py:        clamp(64px, 8vw, 112px);
  --pr-gutter:            24px;

  /* Radius */
  --pr-radius-sm:   6px;
  --pr-radius-md:   10px;
  --pr-radius-lg:   16px;
  --pr-radius-xl:   24px;
  --pr-radius-pill: 999px;

  /* Shadow */
  --pr-shadow-card:       0 1px 3px rgba(6,56,84,0.08), 0 4px 16px rgba(6,56,84,0.06);
  --pr-shadow-card-hover: 0 4px 12px rgba(6,56,84,0.12), 0 8px 32px rgba(6,56,84,0.08);
  --pr-shadow-nav:        0 1px 0 rgba(6,56,84,0.06);

  /* Transition — spring cubic-bezier (no generic ease) */
  --pr-t-fast:   150ms cubic-bezier(0.23, 1, 0.32, 1);
  --pr-t-base:   260ms cubic-bezier(0.23, 1, 0.32, 1);
  --pr-t-slow:   420ms cubic-bezier(0.16, 1, 0.30, 1);
  --pr-t-smooth: 620ms cubic-bezier(0.16, 1, 0.30, 1);
}

/* === base.css === */
/* PRAMENO Base Styles */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--pr-font-body-ko);
  font-size: var(--pr-text-base);
  line-height: var(--pr-leading-base);
  color: var(--pr-color-text);
  background: var(--pr-color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
  font-family: var(--pr-font-body-en);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--pr-color-secondary); }

button { font: inherit; color: inherit; cursor: pointer; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  letter-spacing: var(--pr-tracking-tight);
  color: var(--pr-color-primary);
  font-family: var(--pr-font-display-ko);
  word-break: keep-all;
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 { font-family: var(--pr-font-display-en); }

p {
  margin: 0;
  /* Korean: keep words intact at line breaks (no mid-word splits) */
  word-break: keep-all;
  /* Safety net for very long unbroken sequences (URLs, etc.) */
  overflow-wrap: break-word;
  /* Modern browsers: prevent 1-2 char orphans on last line */
  text-wrap: pretty;
  /* Justify (양쪽 맞춤) — even left/right margins on PC and mobile */
  text-align: justify;
  text-justify: auto; /* let browser pick natural word/char distribution per language */
  /* Hyphenate English at line breaks so narrow columns don't open huge word gaps.
     Requires lang attribute (set on <html>); ignored on Korean (word-break:keep-all takes precedence). */
  -webkit-hyphens: auto;
          hyphens: auto;
  /* Slightly tighten inter-word gaps so justify is less likely to need huge spaces.
     Mild value — visually unnoticeable on its own, but reduces jagged justify lines. */
  word-spacing: -0.025em;
}

/* Centered hero / section-head / CTA paragraphs:
   keep them visually centered (justify on a single short line would
   appear left-aligned because last-line defaults to start). */
.pr-section-head p,
.pr-text-center p,
.pr-hero-text p,
.pr-subhero p,
.home-hero-content p,
.home-video-inner p,
.home-final p,
.home-final-inner p,
.home-final .inner p,
.pr-main-intro p {
  text-align: center;
  text-justify: auto;
}

.serif-en { font-family: var(--pr-font-display-en); }
.serif-ko { font-family: var(--pr-font-display-ko); }
.data-font { font-family: var(--pr-font-data); letter-spacing: 0; }

/* Data values (ORP, pH, numbers) */
.pr-data-value {
  font-family: var(--pr-font-data);
  color: var(--pr-color-reduction);
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.pr-data-value.oxidation { color: var(--pr-color-oxidation); }
.pr-data-value.primary { color: var(--pr-color-primary); }
.pr-data-value.accent { color: var(--pr-color-accent); }

/* Containers */
.pr-container {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  padding: 0 var(--pr-gutter);
}
.pr-container-narrow {
  max-width: var(--pr-max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--pr-gutter);
}

/* Section */
.pr-section {
  padding: var(--pr-section-py) var(--pr-gutter);
}
.pr-section-dark {
  background: var(--pr-abyss-900);
  color: rgba(255,255,255,0.9);
}
.pr-section-dark h1,
.pr-section-dark h2,
.pr-section-dark h3 { color: #fff; }

.pr-section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.pr-section-head h2 {
  font-size: clamp(24px, 4.8vw, 48px);
  line-height: var(--pr-leading-snug);
  word-break: keep-all;
  text-wrap: balance;
}
.pr-section-head p {
  margin-top: 14px;
  color: var(--pr-color-muted);
  font-size: var(--pr-text-base);
  line-height: var(--pr-leading-base);
}

.pr-eyebrow {
  display: inline-block;
  font-size: var(--pr-text-xs);
  font-weight: 600;
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  color: var(--pr-color-eyebrow);
  margin-bottom: 12px;
}

/* Utility */
.pr-muted { color: var(--pr-color-muted); }
.pr-text-center { text-align: center; }
.pr-mt-0 { margin-top: 0; }
.pr-mt-2 { margin-top: 8px; }
.pr-mt-4 { margin-top: 16px; }
.pr-mt-6 { margin-top: 24px; }
.pr-mt-8 { margin-top: 32px; }
.pr-mt-12 { margin-top: 48px; }
.pr-hide { display: none !important; }

/* Language-specific visibility (for inline bilingual snippets if needed) */
html[lang="ko"] [data-lang="en"] { display: none; }
html[lang="en"] [data-lang="ko"] { display: none; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--pr-color-secondary);
  outline-offset: 2px;
}

/* === components.css === */
/* PRAMENO Components: Nav, Footer, Buttons, Cards */

/* ===== Buttons ===== */
.pr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: var(--pr-text-sm);
  font-weight: 500;
  border-radius: var(--pr-radius-md);
  border: 1.5px solid transparent;
  background: transparent;
  transition: background var(--pr-t-base), color var(--pr-t-base),
              border-color var(--pr-t-base),
              transform 80ms cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  line-height: 1;
}
.pr-btn:active { transform: translateY(1px); }

.pr-btn-primary {
  background: var(--pr-color-primary);
  color: #fff;
}
.pr-btn-primary:hover {
  background: var(--pr-ez-600);
  color: #fff;
}

.pr-btn-secondary {
  background: transparent;
  border-color: var(--pr-color-primary);
  color: var(--pr-color-primary);
}
.pr-btn-secondary:hover {
  background: var(--pr-ez-50);
  color: var(--pr-color-primary);
}

.pr-btn-accent {
  background: var(--pr-color-accent);
  color: var(--pr-neutral-800);
}
.pr-btn-accent:hover {
  background: var(--pr-amber-600);
  color: var(--pr-neutral-800);
}

.pr-btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--pr-color-primary);
  border-color: var(--pr-color-border);
}
.pr-btn-ghost:hover {
  background: #fff;
  border-color: var(--pr-color-primary);
  color: var(--pr-color-primary);
}

.pr-btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.pr-btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* Button trailing icon — nested circle for haptic depth */
.pr-btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform  0.22s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.22s cubic-bezier(0.23, 1, 0.32, 1);
}
.pr-btn:hover .btn-arrow {
  transform: translateX(3px);
  background: rgba(255,255,255,0.28);
}
.pr-btn-primary  .btn-arrow { background: rgba(255,255,255,0.18); }
.pr-btn-ghost    .btn-arrow { background: rgba(6,56,84,0.08); }
.pr-btn-secondary .btn-arrow { background: rgba(6,56,84,0.06); }
.pr-btn-ghost:hover .btn-arrow,
.pr-btn-secondary:hover .btn-arrow { background: rgba(6,56,84,0.14); }

/* ===== Header ===== */
.pr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(6,56,84,0.08);
}
.pr-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pr-color-primary);
}
.pr-brand img { height: var(--pr-logo-header-h, 40px); width: auto; }

.pr-nav { flex: 1; display: flex; justify-content: center; }
.pr-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pr-menu > li { position: relative; }
/* Chevron toggle button is mobile-only — hidden on desktop */
.pr-submenu-toggle { display: none; }
.pr-menu > li > a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pr-color-primary);
  border-radius: 8px;
  transition: background var(--pr-t-fast), color var(--pr-t-fast),
              transform var(--pr-t-fast), box-shadow var(--pr-t-fast);
}
@media (min-width: 821px) {
  .pr-menu > li > a { font-size: 15px; padding: 10px 16px; }
}
/* Active (current page) */
.pr-menu > li.active > a {
  background: var(--pr-ez-50);
  color: var(--pr-color-secondary);
}
/* Hover — green lift effect */
.pr-menu > li > a:hover,
.pr-menu > li:hover > a {
  background: var(--pr-teal-50);
  color: var(--pr-color-reduction);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(14,158,132,0.22), 0 2px 6px -2px rgba(14,158,132,0.12);
}

.pr-submenu {
  position: absolute;
  /* top: 100% — flush with bottom of li so there's no gap for mouse to slip through */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  box-shadow: 0 16px 40px -8px rgba(6,56,84,0.15), 0 4px 10px -4px rgba(6,56,84,0.06);
  /* padding-top bridges the visual gap without creating a mouse dead-zone */
  padding: 4px 8px 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  /* Delay hiding by 120ms so diagonal mouse movement doesn't close the menu */
  transition: opacity 150ms ease 120ms, transform 150ms ease 120ms;
}
.pr-menu > li:hover .pr-submenu,
.pr-menu > li:focus-within .pr-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  /* Show instantly — no delay when opening */
  transition: opacity 150ms ease 0ms, transform 150ms ease 0ms;
}
.pr-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--pr-color-primary);
  line-height: 1.4;
}
.pr-submenu a small {
  display: block;
  font-size: 11px;
  color: var(--pr-color-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
  font-weight: 400;
}
.pr-submenu a:hover {
  background: var(--pr-ez-50);
  color: var(--pr-color-secondary);
}

/* ===== Products mega-dropdown (bottle images) ===== */
.pr-submenu--products {
  display: flex;
  flex-direction: row;
  width: 440px;
  padding: 10px;
  gap: 4px;
}
.pr-submenu--products > li {
  flex: 1;
  padding: 0;
}
/* Higher specificity than .pr-submenu a so we can override display & padding */
.pr-submenu--products .pr-smenu-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 6px 10px;
  border-radius: var(--pr-radius-md);
  gap: 9px;
  width: 100%;
  text-decoration: none;
  transition: background var(--pr-t-fast);
}
.pr-submenu--products .pr-smenu-prod:hover {
  background: var(--pr-ez-50);
  color: var(--pr-color-secondary);
}
.pr-smenu-img {
  display: block;
  width: auto;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(6,56,84,0.22));
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.pr-submenu--products .pr-smenu-prod:hover .pr-smenu-img {
  transform: translateY(-5px) scale(1.09);
}
.pr-smenu-prod > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-color-primary);
  line-height: 1.35;
}

.pr-nav-right { display: flex; align-items: center; gap: 10px; }

.pr-lang {
  display: flex;
  align-items: center;
  background: var(--pr-neutral-100);
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-pill);
  padding: 3px;
}
.pr-lang button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 12px;
  border-radius: var(--pr-radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pr-color-muted);
  transition: background var(--pr-t-fast), color var(--pr-t-fast);
}
.pr-lang button.on {
  background: #fff;
  color: var(--pr-color-primary);
  box-shadow: 0 1px 2px rgba(6,56,84,0.12);
}

/* ──────────────────────────────────────────
   Header — water-blue theme (all pages, incl. home)
────────────────────────────────────────── */
.pr-header {
  background: linear-gradient(180deg, #0a4a73 0%, #053758 100%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 4px 14px -8px rgba(0,0,0,0.25);
}
/* Logo → white (invert for monotone navy logo) */
.pr-brand img {
  filter: brightness(0) invert(1);
}
/* Menu links → white text */
.pr-menu > li > a {
  color: rgba(255,255,255,0.92);
}
.pr-menu > li > a:hover,
.pr-menu > li:hover > a {
  background: rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.30);
}
.pr-menu > li.active > a {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
/* Submenu (dropdown) — keep white-bg dropdown for readability */
.pr-submenu a {
  color: var(--pr-color-primary);
}
/* KO/EN toggle on dark header */
.pr-lang {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
.pr-lang button {
  color: rgba(255,255,255,0.7);
}
.pr-lang button.on {
  background: #fff;
  color: var(--pr-color-primary);
}
/* OEM/ODM 문의 button — white bg with navy text on dark header */
.pr-nav-right .pr-btn-primary {
  background: #fff;
  color: var(--pr-color-primary);
  border-color: #fff;
}
.pr-nav-right .pr-btn-primary:hover {
  background: var(--pr-ez-50);
  color: var(--pr-color-primary);
}
/* Hide breadcrumb on subpages — header itself shows location context */
body:not([data-content="site,home"]) .pr-breadcrumb {
  display: none;
}
/* Extend hero upward by the freed breadcrumb height */
body:not([data-content="site,home"]) .pr-subhero {
  padding-top: clamp(86px, 10vw, 120px);
}
body:not([data-content="site,home"]) .ag-hero {
  padding-top: 96px;
}

/* Mobile nav toggle (hamburger) — white-on-translucent for dark header */
.pr-nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.pr-nav-toggle svg { width: 20px; height: 20px; }

/* ===== Footer ===== */
.pr-footer {
  background: var(--pr-abyss-900);
  color: rgba(255,255,255,0.78);
  padding: 72px 32px 36px;
}
.pr-foot-grid {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.pr-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 14px;
}
.pr-foot-brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--pr-t-fast);
}
.pr-foot-brand a:hover { opacity: 0.75; }
.pr-foot-brand img { height: var(--pr-logo-footer-h, 33px); width: auto; }
.pr-foot-tagline {
  font-size: var(--pr-text-sm);
  font-weight: 600;
  letter-spacing: var(--pr-tracking-wide);
  text-transform: uppercase;
  color: var(--pr-color-brand-mark);
  margin: 0 0 10px;
  line-height: 1.4;
}
.pr-foot-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  max-width: 34ch;
  line-height: 1.7;
}
.pr-foot-col h5 {
  color: #fff;
  font-family: var(--pr-font-body-ko);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.7;
}
.pr-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pr-foot-col li, .pr-foot-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.pr-foot-col a:hover { color: #fff; }

.pr-foot-bottom {
  max-width: var(--pr-max-width);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ===== Hero Shared ===== */
.pr-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) 32px clamp(60px, 8vw, 90px);
  background:
    linear-gradient(180deg, rgba(240,248,255,0.5) 0%, rgba(240,248,255,0) 50%),
    linear-gradient(135deg, #d9ebf5 0%, #aecfe2 45%, #7eaecc 100%);
}
.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 35% at 78% 20%, rgba(255,244,220,0.55), transparent 60%),
    radial-gradient(ellipse 70% 45% at 50% 55%, rgba(255,255,255,0.35), transparent 75%);
}
.pr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--pr-max-width);
  margin: 0 auto;
  text-align: center;
}
.pr-hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  color: var(--pr-color-secondary);
  padding: 6px 14px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--pr-radius-pill);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.pr-hero-title {
  font-size: var(--pr-text-hero);
  line-height: var(--pr-leading-tight);
  letter-spacing: var(--pr-tracking-tight);
  font-weight: 300;
  color: var(--pr-color-primary);
  max-width: 18ch;
  margin: 0 auto;
}
.pr-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--pr-color-secondary);
}
.pr-hero-sub {
  margin: 22px auto 0;
  max-width: 54ch;
  font-size: var(--pr-text-base);
  line-height: var(--pr-leading-base);
  color: var(--pr-ez-700);
}
.pr-hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sub-page hero (smaller) */
.pr-subhero {
  padding: clamp(56px, 7vw, 88px) 32px clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--pr-ez-50) 0%, var(--pr-color-bg-light) 100%);
  border-bottom: 1px solid var(--pr-color-border);
}
.pr-subhero-inner {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  text-align: center;
}
.pr-subhero h1 {
  font-size: var(--pr-text-5xl);
  line-height: var(--pr-leading-snug);
  font-weight: 300;
}
.pr-subhero p {
  margin: 18px auto 0;
  max-width: 58ch;
  color: var(--pr-color-muted);
  font-size: var(--pr-text-base);
}
@media (min-width: 821px) {
  .pr-subhero p { font-size: 17px; line-height: 1.7; }
}

/* ── Background-image hero variant ── */
.pr-subhero--bg {
  position: relative;
  overflow: hidden;
  background: #0a2e40;
  border-bottom: none;
}
.pr-subhero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.8) contrast(1.05);
  z-index: 0;
}
.pr-subhero--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,28,44,0.25) 0%,
    rgba(4,28,44,0.18) 45%,
    rgba(4,28,44,0.48) 100%
  );
  z-index: 1;
}
.pr-subhero--bg .pr-subhero-inner { position: relative; z-index: 2; }
.pr-subhero--bg .pr-hero-eyebrow {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
}
.pr-subhero--bg h1 {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}
.pr-subhero--bg p {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ===== Cards ===== */
.pr-card {
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  padding: 28px;
  transition: border-color var(--pr-t-base), box-shadow var(--pr-t-base), transform var(--pr-t-base);
}
.pr-card:hover {
  border-color: var(--pr-ez-200);
  box-shadow: var(--pr-shadow-card-hover);
  transform: translateY(-2px);
}
.pr-card h3 {
  font-family: var(--pr-font-body-ko);
  font-size: 19px;          /* 17px → 19px */
  font-weight: 700;
  color: var(--pr-color-primary);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
html[lang="en"] .pr-card h3 { font-family: var(--pr-font-body-en); }
.pr-card p {
  font-size: 15px;          /* 13.5px → 15px */
  line-height: 1.7;          /* 1.65 → 1.7 */
  color: var(--pr-color-muted);
}

/* Stat block */
.pr-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pr-stat-value {
  font-family: var(--pr-font-data);
  font-size: 28px;
  font-weight: 500;
  color: var(--pr-color-reduction);
  line-height: 1;
}
.pr-stat-label {
  font-size: 11.5px;
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  color: var(--pr-color-muted);
  font-weight: 500;
}

/* Breadcrumb */
.pr-breadcrumb {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  padding: 16px 32px 0;
  font-size: 12.5px;
  color: var(--pr-color-muted);
}
.pr-breadcrumb a { color: var(--pr-color-muted); }
.pr-breadcrumb a:hover { color: var(--pr-color-secondary); }
.pr-breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* Submenu grid on main pages */
.pr-subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: var(--pr-max-width);
  margin: 0 auto;
}
.pr-subpage-card {
  display: block;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  transition: border-color var(--pr-t-base), box-shadow var(--pr-t-base), transform var(--pr-t-base);
  text-decoration: none;
  color: inherit;
}
.pr-subpage-card:hover {
  border-color: var(--pr-color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--pr-shadow-card-hover);
}
.pr-subpage-card .num {
  font-family: var(--pr-font-data);
  font-size: 14px;          /* 12px → 14px (서브페이지 카드 번호) */
  color: var(--pr-color-secondary);
  letter-spacing: 0.05em;
  margin: 0;
  display: inline;
}
.pr-subpage-card .num::after { content: ". "; }
.pr-subpage-card h3 {
  font-family: var(--pr-font-body-ko);
  font-size: 18px;          /* 16px → 18px (서브페이지 카드 제목) */
  font-weight: 700;
  color: var(--pr-color-primary);
  margin: 0;
  display: inline;
  line-height: 1.4;
}
html[lang="en"] .pr-subpage-card h3 { font-family: var(--pr-font-body-en); }
.pr-subpage-card .en {
  font-size: 12px;
  color: var(--pr-color-muted);
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.pr-subpage-card p {
  font-size: 17px;          /* 15px → 17px (서브페이지 카드 설명) */
  color: var(--pr-color-muted);
  margin-top: 14px;
  line-height: 1.7;          /* 1.65 → 1.7 */
}
.pr-subpage-card .arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--pr-color-secondary);
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 1040px) {
  .pr-menu > li > a { padding: 10px 10px; font-size: 12.5px; }
  .pr-foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  /* ─── Header ─── */
  .pr-header-inner {
    padding: 12px 20px;
    position: relative;          /* anchor for absolute logo */
    justify-content: space-between; /* hamburger left ↔ EN right */
  }
  /* Center logo absolutely so it doesn't depend on siblings' widths */
  .pr-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }
  /* Hide the CTA button in the header on mobile — prevents overflow */
  .pr-nav-right .pr-btn { display: none; }
  /* Language toggle: hide the active language, show only the other one */
  .pr-lang {
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
  }
  .pr-lang button.on { display: none; }
  .pr-lang button:not(.on) {
    background: var(--pr-neutral-100);
    border: 1px solid var(--pr-color-border);
    border-radius: var(--pr-radius-pill);
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 600;
  }
  /* Dark blue header — translucent white pill for visibility */
  .pr-lang button:not(.on) {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
  }

  /* ─── Mobile navigation drawer ─── */
  .pr-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: auto;
    width: 220px;
    max-width: 60%;
    background: #fff;
    border-bottom: 1px solid var(--pr-color-border);
    border-radius: 0 0 12px 12px;
    padding: 8px 0 12px;
    box-shadow: 0 12px 28px -8px rgba(6,56,84,0.22);
    z-index: 99;
    overflow: visible; /* allow submenu flyout to extend right */
  }
  .pr-menu > li { position: relative; }
  .pr-nav.open { display: block; }
  .pr-menu { flex-direction: column; gap: 0; }
  .pr-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--pr-neutral-100);
  }
  .pr-menu > li:last-child > a,
  .pr-menu > li:last-child > .pr-submenu-toggle { border-bottom: 0; }
  /* Mobile menu item: link on left + separate chevron toggle on right */
  .pr-menu > li {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--pr-neutral-100);
  }
  .pr-menu > li:last-child { border-bottom: 0; }
  .pr-menu > li > a {
    flex: 1;
    border-bottom: 0;
    display: block;
  }
  /* Chevron toggle button — separate from link */
  .pr-submenu-toggle {
    appearance: none;
    border: 0;
    border-left: 1px solid var(--pr-neutral-100);
    background: transparent;
    color: var(--pr-color-primary);
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s, background 0.2s;
  }
  .pr-submenu-toggle svg { display: block; }
  .pr-submenu-toggle:hover { opacity: 1; background: rgba(0,0,0,0.04); }
  .pr-menu > li.open > .pr-submenu-toggle {
    transform: rotate(90deg);
    opacity: 1;
  }
  /* Drawer: white chevron + lighter divider line (matches dark header) */
  .pr-menu > li,
  .pr-submenu-toggle {
    border-color: rgba(255,255,255,0.10);
  }
  .pr-submenu-toggle {
    color: rgba(255,255,255,0.85);
  }
  .pr-submenu-toggle:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
  }
  /* Submenu — flies out to the right of clicked menu item */
  .pr-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    /* Override desktop position rules */
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .pr-menu > li.open > .pr-submenu {
    display: block;
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    width: 200px;
    max-width: calc(100vw - 100% - 32px);
    background: #fff;
    border: 1px solid var(--pr-color-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px -8px rgba(6,56,84,0.22);
    padding: 6px 0;
    z-index: 100;
  }
  .pr-submenu > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: var(--pr-color-text);
    text-decoration: none;
    border: none;
  }
  .pr-submenu > li > a:hover { background: var(--pr-ez-50); color: var(--pr-color-primary); }
  /* Drawer — dark theme flyout */
  .pr-menu > li.open > .pr-submenu {
    background: linear-gradient(180deg, #053758 0%, #032841 100%);
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.45);
  }
  .pr-submenu > li > a {
    color: rgba(255,255,255,0.85);
  }
  .pr-submenu > li > a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }
  .pr-nav-toggle { display: inline-flex; }

  /* Dark blue drawer to match dark header (white text already set globally) */
  .pr-nav {
    background: linear-gradient(180deg, #053758 0%, #032841 100%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.45);
  }
  .pr-menu > li > a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .pr-menu > li > a:hover,
  .pr-menu > li.active > a {
    background: rgba(255,255,255,0.10);
    color: #fff;
  }

  /* ─── Footer ─── */
  .pr-footer { padding: 56px 20px 28px; }
  /* 2-column grid: logo spans full, 기술|제품 side-by-side, 문의 spans full */
  .pr-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .pr-foot-grid > div:first-child { grid-column: 1 / -1; }
  .pr-foot-grid > .pr-foot-col:last-child { grid-column: 1 / -1; }

  /* 모바일 푸터 — 전체 가운데 정렬 */
  .pr-foot-brand { justify-content: center; }
  .pr-foot-tagline { text-align: center; }
  .pr-foot-copy  { text-align: center; max-width: 100%; }
  .pr-foot-col   { text-align: center; }
  .pr-foot-col ul { align-items: center; }
  .pr-foot-bottom { text-align: center; }

  /* ─── Page layout ─── */
  .pr-hero   { padding: 56px 20px 48px; }
  .pr-subhero { padding-left: 20px; padding-right: 20px; }
  .pr-section { padding: 56px 20px; }
  /* Remove inner container padding when inside pr-section (section already has 20px) */
  .pr-section .pr-container,
  .pr-section .pr-container-narrow { padding-left: 0; padding-right: 0; }
  .pr-breadcrumb { padding-left: 20px; padding-right: 20px; }
}

/* ──────────────────────────────────────────
   Back-to-top floating button
   Hidden until user scrolls > 400px (toggled by .is-visible from layout.js)
────────────────────────────────────────── */
.pr-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(6, 56, 84, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(6,56,84,0.35),
              inset 0 1px 0 rgba(255,255,255,0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--pr-t-water, ease),
              transform 0.3s var(--pr-t-water, ease),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
  z-index: 90;
}
.pr-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.pr-back-to-top:hover {
  background: rgba(26, 148, 204, 0.88);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(26,148,204,0.45),
              inset 0 1px 0 rgba(255,255,255,0.20);
}
.pr-back-to-top:active {
  transform: translateY(0);
  transition-duration: 0.08s;
}
.pr-back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 600px) {
  .pr-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
  .pr-back-to-top svg { width: 20px; height: 20px; }
}

/* === pages.css === */
/* PRAMENO Page-specific Styles (Home + Main landings) */

/* ===== HOME HERO (full scenic) ===== */
.home-hero {
  position: relative;
  min-height: 680px;
  padding: clamp(80px, 10vw, 140px) 32px clamp(90px, 10vw, 130px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(240,248,255,0.2) 0%, rgba(240,248,255,0) 40%),
    linear-gradient(135deg, #c3dcec 0%, #9dc0d9 45%, #6e9dbd 100%);
}
.home-hero svg.scenic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--pr-max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-hero-title {
  font-family: var(--pr-font-display-ko);
  font-weight: 700;
  font-style: normal;
  font-size: var(--pr-text-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pr-color-primary);
  max-width: 18ch;
}
.home-hero-title .accent {
  font-style: normal;
  font-weight: 700;
  color: var(--pr-ez-600);
}
html[lang="ko"] .home-hero-title {
  font-family: var(--pr-font-display-ko);
  font-weight: 700;
  font-style: normal;
}
html[lang="ko"] .home-hero-title .accent {
  color: var(--pr-ez-700);
}
.home-hero-sub {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--pr-ez-800);
}
.home-hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.home-hero-pills {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: var(--pr-ez-800);
}
.home-hero-pills span { position: relative; padding: 0 14px; font-weight: 500; letter-spacing: 0.04em; }
.home-hero-pills span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(6,56,84,0.25);
}

/* ===== TECH CARDS ===== */
.home-tech { background: #fff; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--pr-max-width);
  margin: 0 auto;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  transition: border-color var(--pr-t-base), box-shadow var(--pr-t-base), transform var(--pr-t-base);
}
.tech-card:hover {
  border-color: var(--pr-ez-200);
  box-shadow: var(--pr-shadow-card-hover);
  transform: translateY(-2px);
}
.tech-ic {
  width: 86px;
  height: 86px;
  border-radius: var(--pr-radius-md);
  background: linear-gradient(150deg, var(--pr-ez-100), var(--pr-ez-50));
  border: 1px solid rgba(30,74,124,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-ic svg { width: 53px; height: 53px; }
.tech-ic-img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.tech-card h3 {
  font-family: var(--pr-font-body-ko);
  font-size: 19px;          /* 17px → 19px */
  font-weight: 700;
  color: var(--pr-color-primary);
  margin-bottom: 10px;
}
html[lang="en"] .tech-card h3 { font-family: var(--pr-font-body-en); }
.tech-card p {
  font-size: 15px;          /* 13.5px → 15px */
  line-height: 1.7;          /* 1.65 → 1.7 (가독성 향상) */
  color: var(--pr-color-muted);
}
/* Section description ("우리는 분자 수준에서 물을 설계하여...") — one step larger */
.home-tech .pr-section-head p {
  font-size: 17px;
  line-height: 1.7;
}
.tech-card .mini {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--pr-color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tech-card .mini b {
  font-family: var(--pr-font-data);
  color: var(--pr-color-reduction);
  font-weight: 500;
  margin-right: 4px;
  letter-spacing: 0;
  text-transform: none;
}

/* ===== ORP METER ===== */
.home-orp {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(240,248,255,0.45) 80%),
    linear-gradient(120deg, #cfe2ef 0%, #b3d2e4 55%, #95bfd6 100%);
  position: relative;
  overflow: hidden;
}
.home-orp::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 35% 45% at 12% 50%, rgba(255,255,255,0.5), transparent 70%),
    radial-gradient(ellipse 40% 40% at 88% 45%, rgba(255,255,255,0.35), transparent 70%);
}
.home-orp .pr-container { position: relative; z-index: 1; }
.orp-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.orp-text h2 {
  font-size: var(--pr-text-4xl);
  line-height: 1.15;
}
.orp-text .lead {
  margin-top: 16px;
  color: var(--pr-ez-800);
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.7;
}

.meter {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--pr-radius-lg);
  padding: 30px 30px 24px;
  box-shadow: 0 10px 36px -12px rgba(6,56,84,0.2);
}
.meter-head { display: flex; justify-content: space-between; padding: 0 6px 18px; }
.meter-head .col { display: flex; flex-direction: column; }
.meter-head .lbl {
  font-size: 11.5px;
  color: var(--pr-color-muted);
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.meter-head .val {
  font-family: var(--pr-font-data);
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1;
  color: var(--pr-color-oxidation);
  font-weight: 500;
  white-space: nowrap;
}
.meter-head .lbl { white-space: nowrap; }
.meter-head .col.us { text-align: right; }
.meter-head .col.us .val { color: var(--pr-color-reduction); }
.meter-head .col.us .lbl { color: var(--pr-color-primary); font-weight: 600; }

.meter-bar {
  position: relative;
  height: 46px;
  background: linear-gradient(90deg, rgba(232,122,80,0.22) 0%, rgba(255,255,255,0.3) 50%, rgba(14,158,132,0.25) 100%);
  border-radius: var(--pr-radius-md);
  overflow: hidden;
}
.meter-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.meter-ticks i {
  width: 1px;
  height: 10px;
  background: rgba(6,56,84,0.2);
}
.meter-ticks i.mid { height: 18px; background: rgba(6,56,84,0.4); }
.meter-pip {
  position: absolute;
  top: -8px;
  width: 2px;
  height: 60px;
  background: var(--pr-color-reduction);
  box-shadow: 0 0 14px rgba(14,158,132,0.7);
}
.meter-pip.us { left: 78%; }
.meter-pip.norm {
  left: 6%;
  background: var(--pr-color-oxidation);
  box-shadow: 0 0 10px rgba(232,122,80,0.5);
  opacity: 0.85;
}
.meter-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--pr-font-data);
  color: var(--pr-color-muted);
  padding: 10px 14px 0;
  letter-spacing: 0.04em;
}
.meter-feat {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  border-top: 1px solid rgba(6,56,84,0.08);
  padding-top: 20px;
}
.meter-feat .f {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pr-ez-800);
  font-size: 13px;
  font-weight: 500;
}
.meter-feat svg {
  width: 18px;
  height: 18px;
  color: var(--pr-color-reduction);
}

/* ===== PRODUCTS ===== */
.home-products { background: #fff; }
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: var(--pr-max-width);
  margin: 0 auto;
}
.prod-card {
  position: relative;
  border-radius: var(--pr-radius-lg);
  overflow: hidden;
  min-height: 380px;
  padding: 36px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  transition: transform var(--pr-t-base), box-shadow var(--pr-t-base);
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(6,56,84,0.25);
  color: #fff;
}
.prod-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prod-card.a .bg {
  background: linear-gradient(145deg, #a9cde1 0%, #6898b8 55%, #3a6d90 100%);
}
.prod-card.b .bg {
  background: linear-gradient(145deg, var(--pr-ez-700) 0%, var(--pr-ez-800) 55%, var(--pr-abyss-800) 100%);
}
.prod-card.c .bg {
  background: linear-gradient(145deg, #556f88 0%, #2d4560 55%, #0f1f33 100%);
}
.prod-card .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,0.05) 8px 9px);
  mix-blend-mode: overlay;
}
.prod-card .content { position: relative; z-index: 1; }
.prod-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--pr-tracking-label);
  text-transform: uppercase;
  color: #2d2d2d;
  padding: 5px 10px;
  background: rgba(255,255,255,0.82);
  border-radius: var(--pr-radius-pill);
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}
.prod-card h3 {
  font-family: var(--pr-font-display-en);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.prod-card h3 .brand { display: block; font-size: 12px; letter-spacing: 0.18em; font-family: var(--pr-font-body-en); color: rgba(255,255,255,0.55); font-weight: 700; margin-bottom: 4px; }
.prod-card p.sub {
  font-size: 15px;          /* 13.5px → 15px */
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  line-height: 1.65;         /* 1.55 → 1.65 */
}
.prod-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}
.prod-card .arrow::after { content: "→"; transition: transform var(--pr-t-base); }
.prod-card:hover .arrow::after { transform: translateX(4px); }

/* --- prod-card bottle image (full-bleed cover) --- */
.prod-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* bottom zone dark for text; fades quickly so bottle + label show above */
  background: linear-gradient(
    to top,
    rgba(6,56,84,0.96) 0%,
    rgba(6,56,84,0.90) 18%,
    rgba(6,56,84,0.48) 30%,
    rgba(6,56,84,0.10) 42%,
    transparent 52%
  );
  pointer-events: none;
}
.prod-card .prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* push image to top: cap shows clearly, label sinks into gradient zone */
  object-position: center 0%;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.prod-card:hover .prod-img {
  transform: scale(1.06);
}
.prod-card .content {
  position: relative;
  z-index: 2;
}

/* --- product sub-page visual strip (bottle showcase) --- */
.prod-visual-strip {
  background: linear-gradient(180deg, var(--pr-color-bg-light) 0%, #ffffff 100%);
  padding: 56px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;  /* allow hover scale to show outside bounds */
}
.prod-visual-img {
  display: block;
  max-height: 360px;
  max-width: min(280px, 78vw);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 52px rgba(6,56,84,0.22));
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
  cursor: zoom-in;
}
.prod-visual-img:hover {
  transform: scale(1.5);
  filter: drop-shadow(0 36px 72px rgba(6,56,84,0.30));
}

/* ===== PRODUCT HERO SPLIT — image left · text right ===== */
.prod-hero-split {
  background: linear-gradient(180deg, var(--pr-ez-50) 0%, var(--pr-color-bg-light) 100%);
  border-bottom: 1px solid var(--pr-color-border);
  padding: clamp(52px, 7vw, 88px) 32px clamp(48px, 6vw, 80px);
}
.prod-hero-split-inner {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: center;
}
.prod-hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.prod-hero-img .prod-visual-img {
  max-height: 420px;
  max-width: 100%;
  width: auto;
  filter: drop-shadow(0 24px 52px rgba(6,56,84,0.18));
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
  cursor: zoom-in;
}
.prod-hero-img .prod-visual-img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 36px 72px rgba(6,56,84,0.28));
}
.prod-hero-text {
  display: flex;
  flex-direction: column;
}
.prod-hero-text .pr-hero-eyebrow {
  display: block;
  margin-bottom: 14px;
}
.prod-hero-text h1 {
  font-size: var(--pr-text-5xl);
  line-height: var(--pr-leading-snug);
  font-weight: 300;
  color: var(--pr-color-primary);
}
.prod-hero-text > p {
  margin-top: 16px;
  color: var(--pr-color-muted);
  font-size: var(--pr-text-base);
  line-height: 1.75;
  max-width: 52ch;
}

/* --- product image lightbox --- */
.pr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 95; /* lightbox: 최상위 레이어 (header: 100 아래) */
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: zoom-out;
}
.pr-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.pr-lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  cursor: default;
  transform: scale(0.92);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.pr-lightbox.open img {
  transform: scale(1);
}
.pr-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.pr-lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* Lightbox prev / next (gallery) */
.pr-lightbox-prev,
.pr-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}
.pr-lightbox-prev { left: 20px; }
.pr-lightbox-next { right: 20px; }
.pr-lightbox-prev:hover,
.pr-lightbox-next:hover { background: rgba(255,255,255,0.26); }

/* ── Product gallery (multi-image) ──────────── */
.pg-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.pg-main-img {
  max-height: 380px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 52px rgba(6,56,84,0.18));
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
  cursor: zoom-in;
  display: block;
}
.pg-main-img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 36px 72px rgba(6,56,84,0.28));
}
.pg-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.pg-thumb {
  width: 56px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--pr-color-border);
  border-radius: 6px;
  background: #f6fafd;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  flex-shrink: 0;
}
.pg-thumb:hover { border-color: var(--pr-color-secondary); }
.pg-thumb.active {
  border-color: var(--pr-color-secondary);
  box-shadow: 0 0 0 2px rgba(26,148,204,0.25);
}
.pg-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

/* ===== SCIENCE ===== */
.home-sci { background: var(--pr-ez-50); }
.sci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--pr-max-width);
  margin: 0 auto;
}
.sci-card {
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  transition: border-color var(--pr-t-base), box-shadow var(--pr-t-base), transform var(--pr-t-base);
}
.sci-card:hover {
  border-color: var(--pr-ez-200);
  transform: translateY(-2px);
  box-shadow: var(--pr-shadow-card);
}
.sci-ic {
  width: 56px;
  height: 56px;
  border-radius: var(--pr-radius-md);
  background: linear-gradient(150deg, var(--pr-ez-100), var(--pr-ez-50));
  display: flex;
  align-items: center;
  justify-content: center;
}
.sci-ic svg { width: 30px; height: 30px; color: var(--pr-color-secondary); }
.sci-ic-img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.sci-card h4 {
  font-family: var(--pr-font-body-ko);
  font-size: 16.5px;        /* 14.5px → 16.5px */
  font-weight: 600;
  color: var(--pr-color-primary);
  margin-bottom: 4px;
}
html[lang="en"] .sci-card h4 { font-family: var(--pr-font-body-en); }
.sci-card h4 .num {
  font-family: var(--pr-font-data);
  color: var(--pr-color-secondary);
  font-weight: 500;
  margin-right: 8px;
  font-size: 15px;          /* 13px → 15px (h4 비율 유지) */
}
.sci-card p {
  font-size: 14.5px;        /* 12.5px → 14.5px */
  color: var(--pr-color-muted);
  line-height: 1.65;         /* 1.55 → 1.65 (가독성 향상) */
  /* Korean: keep words intact at line breaks so single chars don't orphan */
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* Section description ("브랜드 서사를 뒷받침하는 측정과 연구.") — one step larger */
.home-sci .pr-section-head p {
  font-size: 17px;
  line-height: 1.7;
}
.sci-card p b { color: var(--pr-color-reduction); font-family: var(--pr-font-data); font-weight: 500; }
.sci-card:nth-child(1) { border-top: 3px solid var(--pr-teal-400); }
.sci-card:nth-child(2) { border-top: 3px solid var(--pr-ez-400); }
.sci-card:nth-child(3) { border-top: 3px solid var(--pr-amber-400); }

/* ===== FINAL CTA ===== */
.home-final {
  position: relative;
  padding: clamp(100px, 12vw, 140px) 32px;
  color: var(--pr-color-primary);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 40%),
    linear-gradient(120deg, #c4dbec 0%, #9fc1d9 50%, #e7e3c5 100%);
}
.home-final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 35% at 85% 30%, rgba(255,240,200,0.55), transparent 60%),
    radial-gradient(ellipse 50% 30% at 15% 60%, rgba(255,255,255,0.5), transparent 70%);
}
.home-final .inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.home-final h2 {
  font-size: var(--pr-text-5xl);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.home-final p {
  margin: 18px auto 0;
  color: var(--pr-ez-800);
  font-size: 15.5px;
  max-width: none;          /* PC: 폭 제한 없이 자연스러운 한 줄 표시 */
  line-height: 1.7;
  white-space: nowrap;       /* PC: 강제로 한 줄 유지 */
  /* Korean: keep words intact at line breaks so single chars don't orphan */
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .home-final p {
    white-space: normal;
    max-width: 100%;
  }
}
.home-final .ctas {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Main menu landing pages (common) ===== */
.pr-main-intro {
  max-width: var(--pr-max-width-narrow);
  margin: 0 auto;
  text-align: center;
}
.pr-main-intro p {
  font-size: 18px;          /* 16px → 18px (인트로 단락) */
  line-height: 1.8;          /* 1.75 → 1.8 */
  color: var(--pr-color-text);
  margin-bottom: 20px;
}
.pr-main-intro p:last-child { margin-bottom: 0; }

.pr-quote-block {
  max-width: 800px;
  margin: 48px auto;
  padding: 32px 40px;
  border-left: 4px solid var(--pr-color-secondary);
  background: var(--pr-ez-50);
  border-radius: var(--pr-radius-md);
  font-family: var(--pr-font-display-ko);
  font-size: 20px;
  line-height: 1.6;
  color: var(--pr-color-primary);
  font-style: italic;
}
html[lang="en"] .pr-quote-block { font-family: var(--pr-font-display-en); }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
  .tech-grid, .sci-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
  .orp-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .tech-grid, .sci-grid, .prod-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 64px 20px 56px; min-height: auto; }
  .home-hero-pills { position: static; margin-top: 32px; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .home-hero-pills span:not(:last-child)::after { display: none; }
  .prod-card { min-height: 300px; padding: 28px 24px; }
  .prod-visual-strip { padding: 40px 20px; }
  .prod-visual-img { max-height: 260px; }
  .prod-visual-img:hover { transform: scale(1.25); } /* smaller scale on mobile */
  .prod-hero-split { padding: 40px 20px; }
  .prod-hero-split-inner { grid-template-columns: 1fr; gap: 28px; }
  .prod-hero-img .prod-visual-img { max-height: 260px; }
  .prod-hero-img .prod-visual-img:hover { transform: scale(1.1); }
  .prod-hero-text > p { max-width: none; }
  .meter { padding: 20px; }
  .meter-head { padding: 0 2px 14px; }
  .meter-feat { flex-direction: row; gap: 8px; align-items: center; justify-content: space-between; padding-top: 16px; flex-wrap: nowrap; }
  .meter-feat .f { font-size: 12px; gap: 6px; }
  .meter-feat svg { width: 16px; height: 16px; flex-shrink: 0; }
  .meter-scale { font-size: 10px; padding: 8px 10px 0; }
  .meter-bar { height: 38px; }
  .meter-pip { height: 50px; top: -6px; }
  .tech-card { grid-template-columns: 67px 1fr; gap: 16px; padding: 22px; }
  .tech-ic { width: 67px; height: 67px; }
  .tech-ic svg { width: 41px; height: 41px; }
  .orp-grid { gap: 24px; }
  /* Sections with hardcoded 32px horizontal padding */
  .home-final { padding: 72px 20px; }
  /* Mobile: allow CTA description to wrap naturally (long text doesn't fit one line) */
  .home-final p {
    white-space: normal;
    max-width: 52ch;
  }
  .pr-quote-block { padding: 22px 24px; font-size: 17px; }
}
@media (max-width: 420px) {
  .home-hero-title { font-size: clamp(34px, 9vw, 56px); }
  .meter-head .val { font-size: 19px; }
}

/* =====================================================
   UNIVERSAL BOX HOVER — loaded last so it wins specificity
   Slight lift (−4px) + deeper shadow on any text content box.
   ===================================================== */
.pr-card,
.pr-subpage-card,
.pr-callout,
.pr-data-card,
.pr-feature,
.pr-stat,
.tech-card,
.sci-card,
.spec-cell,
.pillar,
.v-pillar,
.contact-card,
.ref-item,
.cert-item,
.prod-detail,
.app-card,
.prod-card,
.pr-article-nav a,
.meter {
  transition:
    transform var(--pr-t-base),
    box-shadow var(--pr-t-base),
    border-color var(--pr-t-base);
  will-change: transform;
}

.pr-card:hover,
.pr-subpage-card:hover,
.pr-callout:hover,
.pr-data-card:hover,
.pr-feature:hover,
.pr-stat:hover,
.tech-card:hover,
.sci-card:hover,
.spec-cell:hover,
.pillar:hover,
.v-pillar:hover,
.contact-card:hover,
.ref-item:hover,
.cert-item:hover,
.pr-article-nav a:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 32px -12px rgba(6, 56, 84, 0.22),
    0 4px 12px -4px rgba(6, 56, 84, 0.10);
  border-color: var(--pr-ez-200);
}

/* Larger / full-bleed cards: bigger shadow, same lift */
.prod-detail:hover,
.app-card:hover,
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -16px rgba(6, 56, 84, 0.30);
}

/* Meter sits on a coloured gradient — softer shadow */
.meter:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -14px rgba(6, 56, 84, 0.26);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .pr-card, .pr-subpage-card, .pr-callout, .pr-data-card,
  .pr-feature, .pr-stat, .tech-card, .sci-card, .spec-cell,
  .pillar, .v-pillar, .contact-card, .ref-item, .cert-item,
  .prod-detail, .app-card, .prod-card, .pr-article-nav a, .meter {
    transition: box-shadow var(--pr-t-base), border-color var(--pr-t-base);
    transform: none !important;
  }
  .pr-card:hover, .pr-subpage-card:hover, .pr-callout:hover,
  .pr-data-card:hover, .pr-feature:hover, .pr-stat:hover,
  .tech-card:hover, .sci-card:hover, .spec-cell:hover,
  .pillar:hover, .v-pillar:hover, .contact-card:hover,
  .ref-item:hover, .cert-item:hover, .pr-article-nav a:hover,
  .prod-detail:hover, .app-card:hover, .prod-card:hover, .meter:hover {
    transform: none !important;
  }
}

