/* ============================================================
   ASPARI Packaging Group — design system 2026
   Premium minimalism · Inter Tight + Playfair Display
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Inter Tight Var';
  src: url('../fonts/inter-tight-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight Var';
  src: url('../fonts/inter-tight-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight Var';
  src: url('../fonts/inter-tight-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight Var';
  src: url('../fonts/inter-tight-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-latin-ext-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-cyrillic-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F4F1EA;
  --paper-2: #ECE8DF;
  --ink: #131711;
  --ink-2: #5C6157;
  --green: #1D5C3D;
  --green-deep: #0C3A24;
  --amber: #C87F2F;
  --line: rgba(19, 23, 17, 0.14);
  --line-invert: rgba(244, 241, 234, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-sans: 'Inter Tight Var', 'Inter Tight', -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(90px, 12vw, 180px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-sans);
  font-weight: 420;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--paper); }

/* ---------- Typography ---------- */
.display {
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 560; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--green); }
.dark .kicker { color: rgba(244,241,234,.6); }
.dark .kicker::before { background: var(--amber); }

h1.display { font-size: clamp(44px, 8.6vw, 128px); }
h2.display { font-size: clamp(32px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 560; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 56ch; }
.dark .lead { color: rgba(244,241,234,.72); }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
section { padding-block: var(--section); position: relative; }
.dark { background: var(--ink); color: var(--paper); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 56px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }
@media (max-width: 900px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.sec-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 6vw, 88px); max-width: 900px; }

/* ---------- Preloader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
#loader .loader-word { display: flex; overflow: hidden; }
#loader .loader-word span {
  font-size: clamp(40px, 8vw, 110px); font-weight: 560; letter-spacing: -0.03em;
  display: inline-block; transform: translateY(110%);
}
#loader .loader-bar {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform-origin: left; transform: scaleX(0); background: var(--amber);
}
.no-js #loader, .loaded #loader { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s var(--ease-out), background .35s, box-shadow .35s;
}
.site-header.scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-105%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.logo { display: flex; align-items: baseline; gap: 8px; font-weight: 640; letter-spacing: -0.02em; font-size: 21px; }
.logo .logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); align-self: center; }
.logo small { font-weight: 460; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); align-items: center; }
.main-nav a { font-size: 15px; font-weight: 480; position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 540;
  transition: background .3s, color .3s;
}
.header-cta:hover { background: var(--ink); color: var(--paper); }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 540; text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 10px; border-radius: 10px;
}
.lang-switch > button:hover { background: rgba(19,23,17,.06); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 8px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .3s var(--ease-out);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 9px; font-size: 14px;
}
.lang-menu a:hover { background: rgba(244,241,234,.1); }
.lang-menu a.active { color: var(--amber); }
.lang-menu a small { opacity: .5; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 130; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: all .4s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .65s var(--ease-out);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0% 0); }
.mobile-menu a.mm-link {
  font-size: clamp(34px, 9vw, 56px); font-weight: 560; letter-spacing: -0.03em;
  padding: 8px 0; line-height: 1.1; display: block;
}
.mobile-menu .mm-langs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.mobile-menu .mm-langs a { text-transform: uppercase; font-size: 13px; letter-spacing: .1em; opacity: .7; }
.mobile-menu .mm-langs a.active { opacity: 1; color: var(--amber); }
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; border-radius: 999px;
  font-size: 15px; font-weight: 540; letter-spacing: 0;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-primary { background: var(--paper); color: var(--ink); }
.dark .btn-primary:hover { background: var(--amber); color: var(--ink); }
.dark .btn-ghost { border-color: var(--line-invert); }
.dark .btn-ghost:hover { border-color: var(--paper); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 7vh, 90px); padding-top: 140px; overflow: clip; }
.hero .kicker { margin-bottom: 26px; }
.hero h1 .h-line { display: block; overflow: hidden; }
.hero h1 .h-line > span { display: inline-block; will-change: transform; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(34px, 5vh, 60px); }
.hero-foot .lead { max-width: 44ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual {
  position: absolute; right: calc(var(--gutter) * .7); top: 16vh;
  width: clamp(220px, 26vw, 430px); pointer-events: none; z-index: -1;
  opacity: .9;
}
@media (max-width: 1100px) { .hero-visual { opacity: .28; width: 46vw; right: -6vw; } }
.hero-scroll {
  position: absolute; bottom: 24px; right: var(--gutter);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  writing-mode: vertical-rl;
}

/* Stats band */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .grid-4 { gap: 0; }
.stat { padding: clamp(28px, 3.4vw, 54px) clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-size: clamp(44px, 5.4vw, 84px); font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.stat .num sup { font-size: .45em; color: var(--green); font-weight: 600; }
.stat .lbl { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .stat { border-left: none; border-top: 1px solid var(--line); } .stat:first-child { border-top: none; } }

/* ---------- Product cards ---------- */
.prod-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-2); padding: clamp(28px, 3vw, 48px);
  display: flex; flex-direction: column; min-height: clamp(420px, 46vw, 620px);
  transition: transform .5s var(--ease-out);
}
.prod-card:hover { transform: translateY(-6px); }
.prod-card .pc-tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.prod-card h3 { font-size: clamp(26px, 2.6vw, 40px); margin-top: 12px; letter-spacing: -0.025em; }
.prod-card p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.prod-card .pc-visual { margin: auto; padding: 26px 0 10px; width: min(72%, 380px); }
.prod-card .pc-visual svg { width: 100%; height: auto; transition: transform .7s var(--ease-out); }
.prod-card:hover .pc-visual svg { transform: translateY(-8px) rotate(-1.5deg); }
.prod-card .pc-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 560; margin-top: 18px; }
.prod-card .pc-link .arr { transition: transform .35s var(--ease-out); }
.prod-card:hover .pc-link .arr { transform: translateX(6px); }
.prod-card.pc-dark { background: var(--green-deep); color: var(--paper); }
.prod-card.pc-dark .pc-tag, .prod-card.pc-dark p { color: rgba(244,241,234,.65); }

/* ---------- Why / feature list ---------- */
.feature {
  border-top: 1px solid var(--line); padding: clamp(26px, 3vw, 44px) 0;
  display: grid; grid-template-columns: 72px 1fr 2fr; gap: clamp(16px, 3vw, 56px); align-items: start;
}
.dark .feature { border-color: var(--line-invert); }
.feature .f-idx { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 6px; }
.dark .feature .f-idx { color: rgba(244,241,234,.5); }
.feature p { color: var(--ink-2); max-width: 60ch; }
.dark .feature p { color: rgba(244,241,234,.68); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; }
.dark .marquee { border-color: var(--line-invert); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { font-size: clamp(18px, 2vw, 26px); font-weight: 520; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink-2); display: flex; align-items: center; gap: 64px; }
.marquee-track span::after { content: '◆'; font-size: 9px; color: var(--green); }
.dark .marquee-track span { color: rgba(244,241,234,.62); }
.dark .marquee-track span::after { color: var(--amber); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(36px, 6vw, 92px); }
.cta-band .lead { margin: 26px auto 40px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: clamp(150px, 22vh, 230px); padding-bottom: clamp(50px, 8vh, 110px); }
.page-hero h1 { margin-top: 24px; }
.page-hero .lead { margin-top: 26px; }

/* ---------- Size cards (MAKSIMA) ---------- */
.size-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 44px); background: var(--paper);
  display: flex; flex-direction: column; gap: 8px; min-height: 300px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.size-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(19,23,17,.25); }
.size-card .sc-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.size-card .sc-range { font-size: clamp(34px, 3.6vw, 56px); font-weight: 560; letter-spacing: -0.035em; line-height: 1; margin-top: auto; }
.size-card .sc-range small { font-size: .5em; font-weight: 480; color: var(--green); }
.size-card p { color: var(--ink-2); font-size: 15px; }
.size-card .sc-visual { height: 90px; display: flex; align-items: flex-end; gap: 8px; margin-bottom: 18px; }
.size-card .sc-visual i { display: block; border: 1.5px solid var(--ink); border-top-width: 4px; border-radius: 4px 4px 8px 8px; opacity: .75; }

/* ---------- Diameter row (CANPEEL) ---------- */
.diam-row { display: flex; gap: clamp(18px, 3vw, 44px); align-items: flex-end; flex-wrap: wrap; }
.diam {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  flex: 1 1 140px; min-width: 130px;
}
.diam .d-circle {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--line-invert); position: relative;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.16), transparent 46%),
    radial-gradient(circle at 68% 74%, rgba(200,127,47,.12), transparent 50%),
    rgba(244,241,234,.04);
  display: flex; align-items: center; justify-content: center;
}
.diam .d-circle::after {
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px dashed rgba(244,241,234,.3);
}
.diam .d-size { font-size: clamp(22px, 2.2vw, 34px); font-weight: 560; letter-spacing: -0.02em; }
.diam .d-note { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,241,234,.5); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.team-card {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; display: flex; flex-direction: column; gap: 4px;
  background: var(--paper);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -28px rgba(19,23,17,.3); }
.team-card .tc-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--paper); display: flex; align-items: center; justify-content: center;
  font-weight: 560; letter-spacing: .02em; margin-bottom: 18px; font-size: 19px;
}
.team-card h3 { font-size: 19px; }
.team-card .tc-role { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.team-card a { font-size: 14px; color: var(--ink-2); transition: color .25s; }
.team-card a:hover { color: var(--green); }

/* ---------- Values ---------- */
.value-card {
  border-radius: var(--radius-md); background: var(--paper-2);
  padding: clamp(26px, 2.4vw, 40px); min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.value-card .v-num { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--green); }
.value-card p { color: var(--ink-2); font-size: 15px; }

/* ---------- Contacts ---------- */
.contact-list { display: flex; flex-direction: column; }
.contact-row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.contact-row .cr-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.contact-row .cr-value { font-size: clamp(22px, 2.6vw, 40px); font-weight: 540; letter-spacing: -0.02em; line-height: 1.2; }
.contact-row .cr-value a { transition: color .25s; }
.contact-row .cr-value a:hover { color: var(--green); }
.contact-row .cr-note { font-size: 14px; color: var(--ink-2); }

.req-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.req-table td { padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.req-table td:first-child { color: var(--ink-2); width: 38%; padding-right: 16px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  padding: 12px 0; font-size: 17px; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-2); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); filter: grayscale(1) contrast(1.04); transition: filter .5s; }
.map-embed:hover { filter: none; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Story / geo ---------- */
.story-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 90px); }
@media (max-width: 900px) { .story-cols { grid-template-columns: 1fr; } }
.story-cols .story-text p { color: var(--ink-2); margin-bottom: 1.2em; font-size: clamp(16px, 1.35vw, 19px); }
.geo-line { font-size: clamp(18px, 2.4vw, 30px); font-weight: 480; letter-spacing: -0.01em; line-height: 1.7; max-width: 1000px; color: var(--ink-2); }
.geo-line b { color: var(--ink); font-weight: 560; }
.dark .geo-line { color: rgba(244,241,234,.6); }
.dark .geo-line b { color: var(--paper); }

/* ---------- App tiles ---------- */
.app-tile {
  border-top: 1px solid var(--line); padding: 26px 0;
  display: flex; align-items: baseline; gap: 22px;
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 520; letter-spacing: -0.02em;
}
.app-tile .at-idx { font-size: 13px; color: var(--green); font-variant-numeric: tabular-nums; }

/* ---------- Photo placeholder ---------- */
.ph {
  border-radius: var(--radius-lg); background: var(--paper-2); border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  color: var(--ink-2); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  min-height: 320px; text-align: center; padding: 20px;
}
.dark .ph { background: rgba(244,241,234,.05); border-color: var(--line-invert); color: rgba(244,241,234,.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(70px, 9vw, 130px); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(50px, 7vw, 100px); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .f-brand .logo { font-size: 26px; }
.site-footer .f-brand p { color: rgba(244,241,234,.6); margin-top: 16px; max-width: 30ch; }
.site-footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,241,234,.45); margin-bottom: 18px; font-weight: 540; }
.site-footer .f-col a { display: block; padding: 7px 0; color: rgba(244,241,234,.78); transition: color .25s, transform .3s var(--ease-out); }
.site-footer .f-col a:hover { color: var(--paper); transform: translateX(4px); }
.footer-big {
  font-size: clamp(64px, 13vw, 220px); font-weight: 620; letter-spacing: -0.045em;
  line-height: .9; color: rgba(244,241,234,.1); user-select: none;
  padding-bottom: 12px; white-space: nowrap; overflow: hidden;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-invert); padding-block: 26px;
  font-size: 13px; color: rgba(244,241,234,.5);
}
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Reveal helpers (JS adds .in) ---------- */
[data-reveal] { will-change: transform, opacity; }
.js [data-reveal] { opacity: 0; transform: translateY(46px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal="fade"] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001s !important; }
}

/* ---------- Cursor dot ---------- */
.cursor-dot {
  position: fixed; z-index: 300; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); pointer-events: none; top: 0; left: 0;
  transform: translate(-50%, -50%); transition: width .25s, height .25s, opacity .3s;
  mix-blend-mode: multiply; opacity: 0;
}
.cursor-dot.on { opacity: .85; }
.cursor-dot.grow { width: 42px; height: 42px; opacity: .18; }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- Responsive helpers for inline grids ---------- */
@media (max-width: 900px) {
  [data-2col] { grid-template-columns: 1fr !important; }
  [data-3col] { grid-template-columns: 1fr !important; }
}
@media (min-width: 561px) and (max-width: 900px) {
  [data-3col] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 18px; z-index: 400; }
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   V2 — WOW LAYER
   ============================================================ */

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 250; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 25% { transform: translate(-38px,22px); }
  50% { transform: translate(24px,-30px); } 75% { transform: translate(-14px,-18px); } 100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- Preloader v2 ---------- */
#loader { background: transparent; flex-direction: column; gap: 18px; }
#loader .loader-panel {
  position: absolute; left: 0; width: 100%; height: 51%; background: var(--ink); z-index: -1;
}
#loader .loader-panel.top { top: 0; transform-origin: top; }
#loader .loader-panel.bot { bottom: 0; transform-origin: bottom; }
#loader .loader-count {
  position: absolute; right: clamp(20px, 5vw, 70px); bottom: clamp(18px, 4vh, 50px);
  font-size: clamp(60px, 12vw, 160px); font-weight: 620; letter-spacing: -0.05em;
  color: rgba(244,241,234,.16); line-height: 1; font-variant-numeric: tabular-nums;
}
#loader .loader-tag {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: rgba(244,241,234,.45);
}

/* ---------- Page-transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 190; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; pointer-events: none;
}
.curtain.top-origin { transform-origin: top; }

/* ---------- Hero v2 ---------- */
.hero { position: relative; }
.hero-giant {
  position: absolute; left: 50%; top: 8vh; transform: translateX(-50%);
  font-size: clamp(120px, 21vw, 330px); font-weight: 680; letter-spacing: -0.04em;
  line-height: 1; white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1.5px rgba(19,23,17,.13);
  z-index: -2;
}
.hero h1 .ch { display: inline-block; will-change: transform; }
.hero-visual { z-index: -1; }
.hero-visual .hv-layer { will-change: transform; }

.badge-spin {
  position: absolute; right: clamp(16px, 4vw, 60px); bottom: clamp(90px, 16vh, 150px);
  width: clamp(94px, 10vw, 150px); height: clamp(94px, 10vw, 150px); z-index: 4;
}
.badge-spin svg { width: 100%; height: 100%; overflow: visible; }
.badge-spin text { font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; fill: var(--ink); font-weight: 560; }
.badge-spin .badge-core { fill: var(--green); }
@media (max-width: 900px) { .badge-spin { display: none; } }

/* Hero mini-marquee */
.hero-marquee { border-top: 1px solid var(--line); margin-top: clamp(30px, 5vh, 54px); overflow: hidden; }
.hero-marquee .marquee-track { animation-duration: 26s; padding-block: 16px; }
.hero-marquee .marquee-track span { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); gap: 44px; }
.hero-marquee .marquee-track span::after { font-size: 7px; }

/* ---------- Split headings ---------- */
h2.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
h2.display .wi { display: inline-block; will-change: transform; }

/* ---------- Tilt cards ---------- */
.prod-card { transform-style: preserve-3d; }
.prod-card .pc-glare {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 42%);
  transition: opacity .4s;
}
.prod-card:hover .pc-glare { opacity: 1; }
.pc-dark .pc-glare { background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.1), transparent 42%); }

/* ---------- CANPEEL peel scene ---------- */
.peel-section { overflow: clip; }
.peel-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); align-items: center; min-height: 72vh; }
@media (max-width: 900px) { .peel-stage { grid-template-columns: 1fr; } }
.peel-scene { width: min(100%, 560px); margin-inline: auto; }
.peel-scene svg { width: 100%; height: auto; }
.peel-copy h2 { font-size: clamp(30px, 4vw, 60px); }
.peel-hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,241,234,.55); }
.peel-hint::before { content: ''; width: 34px; height: 1px; background: var(--amber); }
.peel-progress { height: 2px; background: rgba(244,241,234,.12); margin-top: 22px; border-radius: 2px; overflow: hidden; max-width: 320px; }
.peel-progress i { display: block; height: 100%; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }

/* ---------- MAKSIMA range pin ---------- */
.range-section { overflow: clip; }
.range-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.range-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vh, 70px); }
.range-counter { font-size: clamp(72px, 12vw, 190px); font-weight: 620; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.range-counter small { font-size: .3em; font-weight: 480; color: var(--green); letter-spacing: -0.01em; }
.range-track { display: flex; align-items: flex-end; gap: clamp(34px, 5vw, 90px); will-change: transform; width: max-content; padding-inline: 4vw; }
.range-item { display: flex; flex-direction: column; align-items: center; gap: 18px; flex: none; }
.range-item .ri-cup { border: 2px solid var(--ink); border-top-width: 7px; border-radius: 6px 6px 14px 14px; background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(221,230,220,.5)); box-shadow: inset 6px 0 12px -8px rgba(255,255,255,.9); }
.range-item .ri-vol { font-weight: 600; letter-spacing: -0.02em; font-size: clamp(15px, 1.4vw, 20px); }
.range-item .ri-note { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.range-progress { height: 2px; background: var(--line); margin-top: clamp(28px, 5vh, 60px); border-radius: 2px; overflow: hidden; }
.range-progress i { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) {
  .range-pin { min-height: 0; }
  .range-track { width: auto; overflow-x: auto; padding-bottom: 14px; -webkit-overflow-scrolling: touch; }
  .range-counter { font-size: clamp(56px, 16vw, 90px); }
}

/* ---------- Cursor v2 ---------- */
.cursor-dot { display: flex; align-items: center; justify-content: center; font-size: 0; color: var(--paper); background: var(--ink); mix-blend-mode: normal; }
.cursor-dot.grow { width: 58px; height: 58px; opacity: 1; font-size: 20px; background: var(--green); }
.cursor-dot.grow::after { content: '→'; }

/* ---------- Format chips (MAKSIMA catalogue) ---------- */
.fmt-grid { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1100px; }
.fmt-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: 0;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
  cursor: default; background: var(--paper);
}
.fmt-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

/* ---------- CANPEEL contents grid ---------- */
.cans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 30px); max-width: 1100px; }
@media (max-width: 700px) { .cans-grid { grid-template-columns: repeat(2, 1fr); } }
.can-tile {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(14px, 1.6vw, 24px); background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.can-tile:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 28px 56px -32px rgba(19,23,17,.35); }
.can-tile svg { width: 100%; height: auto; }

/* ---------- Range item bucket ---------- */
.range-item svg { display: block; }

/* ---------- Footer big word ---------- */
.footer-big { will-change: transform; }

/* ---------- Velocity skew targets ---------- */
.marquee-track { will-change: transform; }

/* ============================================================
   V3 — REFINEMENTS
   ============================================================ */

/* Double partner marquee: rows meet on a shared hairline */
.marquee + .marquee { border-top: none; }
.marquee-track.reverse { animation-direction: reverse; }

/* Trade-fair list */
.fair-list .fair-row:last-child { border-bottom: 1px solid var(--line); }
.fair-row {
  display: grid; grid-template-columns: 72px 1.6fr 1fr auto;
  gap: clamp(14px, 3vw, 48px); align-items: baseline;
  border-top: 1px solid var(--line); padding: clamp(20px, 2.4vw, 36px) 0;
}
.fair-row .fr-idx { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fair-row .fr-name {
  font-size: clamp(22px, 2.8vw, 42px); font-weight: 560; letter-spacing: -0.025em; line-height: 1.05;
  transition: transform .45s var(--ease-out), color .3s;
}
.fair-row:hover .fr-name { transform: translateX(12px); color: var(--green); }
.fair-row .fr-city { color: var(--ink-2); font-size: clamp(14px, 1.2vw, 17px); }
.fair-row .fr-year {
  font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .08em;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  transition: background .3s, color .3s, border-color .3s;
}
.fair-row:hover .fr-year { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 700px) {
  .fair-row { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
  .fair-row .fr-idx { width: 100%; }
  .fair-row .fr-name { width: 100%; }
}

/* CANPEEL diameter circles: legible on dark */
.diam .d-circle {
  border: 2px solid rgba(244, 241, 234, 0.42);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.22), transparent 48%),
    radial-gradient(circle at 68% 74%, rgba(200,127,47,.22), transparent 55%),
    rgba(244, 241, 234, 0.07);
}
.diam .d-circle::after { border-color: rgba(244, 241, 234, 0.38); }
.diam .d-circle::before {
  content: ''; position: absolute; right: 9%; bottom: 11%;
  width: 12px; height: 12px; border-radius: 50%; background: var(--amber);
}

/* ============================================================
   V4 — VIDEO HERO (scroll-scrubbed frame sequence)
   ============================================================ */
.hero-video { color: var(--paper); width: 100%; }
.hero-video .hero-inner { width: 100%; }
.hero-video .hero-canvas-wrap {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: #0E1613;
}
.hero-video .hero-canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.hero-video .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.js .hero-video .hero-poster { visibility: hidden; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(12,17,14,.8) 0%, rgba(12,17,14,.44) 46%, rgba(12,17,14,.06) 74%),
    linear-gradient(to top, rgba(12,17,14,.86) 0%, rgba(12,17,14,0) 42%);
}
.hero-video .hero-inner { will-change: transform, opacity; }
.hero-video .kicker { color: rgba(244,241,234,.68); }
.hero-video .kicker::before { background: var(--amber); }
.hero-video .lead { color: rgba(244,241,234,.8); }
.hero-video .hero-scroll { color: rgba(244,241,234,.55); }
.hero-video .btn-primary { background: var(--paper); color: var(--ink); }
.hero-video .btn-primary:hover { background: var(--amber); }
.hero-video .btn-ghost { border-color: rgba(244,241,234,.4); color: var(--paper); }
.hero-video .btn-ghost:hover { border-color: var(--paper); }
.hero-video .badge-spin text { fill: var(--paper); }
.hero-video .badge-spin .badge-core { fill: var(--amber); }

/* Header inverted while over the dark hero */
.site-header.on-dark:not(.scrolled) { color: var(--paper); }
.site-header.on-dark:not(.scrolled) .logo small { color: rgba(244,241,234,.62); }
.site-header.on-dark:not(.scrolled) .main-nav a::after { background: var(--paper); }
.site-header.on-dark:not(.scrolled) .header-cta { border-color: rgba(244,241,234,.5); }
.site-header.on-dark:not(.scrolled) .header-cta:hover { background: var(--paper); color: var(--ink); }
.site-header.on-dark:not(.scrolled) .lang-switch > button:hover { background: rgba(244,241,234,.14); }

/* Kill the dead void between CTA band and footer */
.cta-band { padding-block: clamp(80px, 10vw, 140px); }
.site-footer { padding-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line-invert); }
.footer-top { padding-bottom: clamp(40px, 5vw, 80px); }

