/* ============================================================
   ALLINPRINT — paberivalge, tindimust, CMYK-aktsendid
   ============================================================ */
:root {
  --paper: #f6f3ec;
  --paper-2: #ece8de;
  --ink: #141311;
  --ink-2: #3a3833;
  --muted: #7a766d;
  --line: rgba(20, 19, 17, 0.12);

  --c: #00b4e6;   /* cyan */
  --m: #e6007e;   /* magenta */
  --y: #ffd400;   /* yellow */
  --k: #141311;   /* key */

  --font-display: 'Syne', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', 'Helvetica Neue', sans-serif;

  --radius: 6px;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }

/* paberitera tekstuur */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- tüpograafia ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; }
h1 em { font-style: normal; position: relative; }
h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em; z-index: -1;
  background: var(--y); transform: skewX(-8deg);
}
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.num {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; color: var(--m); margin-bottom: 1rem;
}
.num::before { content: "— "; color: var(--ink); }

/* ---------- nupud ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid var(--ink); transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--m); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark { display: grid; grid-template-columns: 1fr 1fr; width: 22px; height: 22px; gap: 2px; }
.logo-mark i { display: block; border-radius: 2px; }
.logo-mark .c { background: var(--c); } .logo-mark .m { background: var(--m); }
.logo-mark .y { background: var(--y); } .logo-mark .k { background: var(--k); }
.logo-text { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo-text b { font-weight: 800; }

.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { font-weight: 600; font-size: .92rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--m); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta { padding: .65rem 1.2rem; font-size: .85rem; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(calc(100vh - 72px), 860px);
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem;
  padding: clamp(3rem, 8vh, 6rem) var(--pad); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; mix-blend-mode: multiply; animation: drift 18s ease-in-out infinite alternate; }
.blob-c { width: 46vw; height: 46vw; background: var(--c); top: -15%; right: -10%; }
.blob-m { width: 36vw; height: 36vw; background: var(--m); bottom: -20%; right: 20%; animation-delay: -6s; }
.blob-y { width: 30vw; height: 30vw; background: var(--y); top: 30%; right: 5%; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-6%, 8%) scale(1.12); } }

.hero-inner { position: relative; z-index: 1; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.5rem; }
.reg-mark { width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; }
.reg-mark::before, .reg-mark::after { content: ""; position: absolute; background: var(--ink); }
.reg-mark::before { left: -4px; right: -4px; top: 50%; height: 1.5px; }
.reg-mark::after { top: -4px; bottom: -4px; left: 50%; width: 1.5px; }
.hero .lead { margin: 1.6rem 0 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.hero-stats span { font-size: .8rem; color: var(--muted); margin-top: .35rem; }

/* kaardivirn */
.hero-visual { position: relative; z-index: 1; height: 440px; min-width: 0; }
.card-stack { position: relative; width: 100%; height: 100%; }
.sheet {
  position: absolute; width: 300px; aspect-ratio: 1.75; padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(20,19,17,.45), 0 0 0 1px rgba(20,19,17,.06);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em;
  transition: transform .6s var(--ease);
}
.sheet small { font-family: var(--font-body); font-weight: 500; font-size: .75rem; opacity: .7; letter-spacing: .05em; }
.sheet-1 { background: var(--ink); color: var(--paper); left: 8%; top: 8%; transform: rotate(-8deg); z-index: 3; }
.sheet-2 { background: var(--y); color: var(--ink); left: 28%; top: 36%; transform: rotate(4deg); z-index: 2; }
.sheet-3 { background: var(--paper); color: var(--ink); left: 4%; top: 52%; transform: rotate(-3deg); z-index: 1; border: 1.5px dashed var(--m); }
.card-stack:hover .sheet-1 { transform: rotate(-12deg) translate(-10px, -10px); }
.card-stack:hover .sheet-2 { transform: rotate(7deg) translate(14px, 0); }
.card-stack:hover .sheet-3 { transform: rotate(-1deg) translate(-6px, 12px); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: .9rem 0; border-top: 1px solid var(--ink); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }
.marquee-track span::after { content: "✦"; margin-left: 3rem; color: var(--y); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sektsioonid ---------- */
.section { padding: clamp(4rem, 10vh, 8rem) var(--pad); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section-head p { color: var(--ink-2); margin-top: 1rem; font-size: 1.1rem; }

.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-head p, .section-dark .products-note { color: rgba(246,243,236,.65); }
.section-dark .num::before { color: var(--paper); }

/* teenused */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service {
  padding: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
  position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c), var(--m), var(--y)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20,19,17,.35); }
.service:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; color: var(--ink); margin-bottom: 1.4rem; }
.service h3 { margin-bottom: .8rem; }
.service p { color: var(--ink-2); font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.tags li { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border: 1px solid var(--ink); border-radius: 999px; }

/* tooted */
.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(246,243,236,.15); border: 1px solid rgba(246,243,236,.15); }
.product {
  background: var(--ink); padding: 1.8rem; display: flex; flex-direction: column; min-height: 240px;
  position: relative; transition: background .35s;
}
.product:hover { background: #1f1e1b; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: auto; }
.product-idx { font-family: var(--font-display); font-size: .75rem; letter-spacing: .2em; color: rgba(246,243,236,.5); }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--y); }
.product-price small { font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: rgba(246,243,236,.6); margin-left: .2rem; }
.product h3 { margin-top: 2rem; font-size: 1.3rem; }
.product p { font-size: .85rem; color: rgba(246,243,236,.6); margin-top: .4rem; }
.product-cta { margin-top: 1.2rem; font-weight: 700; font-size: .85rem; color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.product:hover .product-cta { opacity: 1; transform: translateX(0); }
.products-note { margin-top: 2rem; font-size: .95rem; }
.products-note a { color: var(--y); border-bottom: 1px solid currentColor; }

/* protsess */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line); }
.step { position: relative; padding-top: 4.5rem; }
.step-n {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: var(--paper); border: 1.5px solid var(--ink); transition: background .3s, color .3s;
}
.step:hover .step-n { background: var(--ink); color: var(--y); }
.step h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* miks */
.section-why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why-text { position: sticky; top: 100px; }
.why-text .lead { margin: 1.2rem 0 2rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-list li { background: var(--paper-2); padding: 1.8rem; display: flex; flex-direction: column; gap: .4rem; transition: background .3s; }
.why-list li:hover { background: var(--paper); }
.why-list strong { font-family: var(--font-display); font-size: 1.1rem; }
.why-list strong::before { content: "■ "; color: var(--c); font-size: .7em; vertical-align: middle; }
.why-list li:nth-child(3n+2) strong::before { color: var(--m); }
.why-list li:nth-child(3n) strong::before { color: var(--y); }
.why-list span { font-size: .92rem; color: var(--ink-2); }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.contact-info .lead { margin: 1.2rem 0 2.5rem; }
.contact-list { display: grid; gap: 1.4rem; }
.contact-list div { padding-left: 1rem; border-left: 2px solid var(--ink); }
.contact-list dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list dd { font-weight: 600; margin-top: .2rem; }
.contact-list a:hover { color: var(--m); }

.contact-form { background: var(--ink); color: var(--paper); padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: var(--radius); display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,236,.7); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(246,243,236,.3); color: var(--paper);
  padding: .6rem 0; font-family: var(--font-body); font-size: 1rem; outline: none; transition: border-color .3s; border-radius: 0;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--y); }
.field textarea { resize: vertical; }
.contact-form .btn-primary { background: var(--y); color: var(--ink); border-color: var(--y); margin-top: .5rem; }
.contact-form .btn-primary:hover { box-shadow: 4px 4px 0 var(--c); }
.form-note { font-size: .8rem; color: rgba(246,243,236,.55); text-align: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem var(--pad); }
.footer-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 1.5rem; margin-left: auto; font-size: .9rem; font-weight: 600; }
.footer-nav a:hover { color: var(--m); }
.copy { width: 100%; font-size: .8rem; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .05s }
.hero .reveal:nth-child(2) { transition-delay: .15s }
.hero .reveal:nth-child(3) { transition-delay: .25s }
.hero .reveal:nth-child(4) { transition-delay: .35s }
.hero .reveal:nth-child(5) { transition-delay: .45s }
.services .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s }
.services .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s }
.services .reveal:nth-child(4) { transition-delay: .3s }
.steps .reveal:nth-child(4) { transition-delay: .3s }
.products .reveal:nth-child(n) { transition-delay: calc(var(--i, 0) * .06s); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1300px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 340px; max-width: 420px; }
  .services { grid-template-columns: 1fr; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-text { position: static; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1rem; transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav.open { transform: none; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .products, .why-list, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .sheet { width: 230px; font-size: 1.15rem; }
}

/* ============================================================
   DISAINIPASS 2 — tooteminiatuurid, perforatsioon, KKK, CTA, keeled
   ============================================================ */

/* header kahaneb kerimisel */
.site-header { transition: padding .35s var(--ease), box-shadow .35s; }
.site-header.scrolled { padding-top: .55rem; padding-bottom: .55rem; box-shadow: 0 10px 30px -20px rgba(20,19,17,.4); }

/* keelelüliti */
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-left: auto; }
.lang button {
  background: none; border: 0; cursor: pointer; padding: .4rem .7rem; font-family: var(--font-display); font-weight: 700;
  font-size: .75rem; letter-spacing: .08em; color: var(--ink); transition: background .25s, color .25s;
}
.lang button + button { border-left: 1.5px solid var(--ink); }
.lang button:hover { background: var(--paper-2); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--y); }
.nav { margin-left: auto; }
.lang { margin-left: 0; }

/* ---------- tooteminiatuurid ---------- */
.product { min-height: 320px; }
.product-top { margin-bottom: 0; }
.art {
  position: relative; height: 96px; margin: 1.4rem 0 auto; display: flex; align-items: flex-end; justify-content: center;
  transition: transform .5s var(--ease);
}
.product:hover .art { transform: translateY(-4px) scale(1.04); }
.art i, .art b { display: block; position: absolute; }

.art-card i { width: 84px; height: 48px; border-radius: 4px; background: var(--paper); bottom: 14px; left: 50%; transform: translateX(-50%) rotate(-6deg); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }
.art-card i::after { content: ""; position: absolute; left: 10px; top: 12px; width: 26px; height: 5px; background: var(--m); box-shadow: 0 10px 0 -1px var(--ink), 0 18px 0 -1px var(--ink); }

.art-flyer i { width: 46px; height: 64px; background: var(--paper); border-radius: 2px; bottom: 8px; box-shadow: 0 8px 16px -6px rgba(0,0,0,.6); }
.art-flyer i:nth-child(1) { transform: translateX(-34px) rotate(-10deg); background: var(--c); }
.art-flyer i:nth-child(2) { z-index: 2; }
.art-flyer i:nth-child(3) { transform: translateX(34px) rotate(10deg); background: var(--y); }
.art-flyer i:nth-child(2)::after { content: ""; position: absolute; inset: 10px 8px auto 8px; height: 20px; background: var(--m); }

.art-poster i { width: 58px; height: 82px; bottom: 6px; background: linear-gradient(160deg, var(--c) 0 40%, var(--m) 40% 70%, var(--y) 70%); border: 3px solid var(--paper); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }

.art-sticker i { width: 62px; height: 62px; bottom: 14px; border-radius: 50%; background: var(--y); border: 3px dashed var(--paper); transform: translateX(-16px); }
.art-sticker i:nth-child(2) { width: 46px; height: 46px; border-radius: 30% 70% 60% 40%; background: var(--m); transform: translateX(26px) rotate(15deg); bottom: 8px; z-index: 2; }

.art-rollup i { width: 34px; height: 86px; bottom: 8px; background: linear-gradient(var(--c), var(--m)); border-radius: 2px 2px 0 0; }
.art-rollup b { width: 64px; height: 8px; bottom: 4px; background: var(--paper); border-radius: 4px; }

.art-banner i { width: 88px; height: 44px; bottom: 22px; background: var(--c); }
.art-banner i:nth-child(n+2) { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper); }
.art-banner i:nth-child(2) { bottom: 58px; transform: translateX(-38px); }
.art-banner i:nth-child(3) { bottom: 58px; transform: translateX(38px); }
.art-banner i:nth-child(4) { bottom: 22px; transform: translateX(-38px); }

.art-sign i { width: 80px; height: 40px; bottom: 30px; background: var(--paper); border-radius: 3px; }
.art-sign i::before { content: ""; position: absolute; left: 12px; top: 12px; width: 40px; height: 6px; background: var(--ink); box-shadow: 0 10px 0 0 var(--m); }
.art-sign i::after { content: ""; position: absolute; left: 50%; top: 100%; width: 4px; height: 30px; background: var(--paper); transform: translateX(-50%); }

.art-catalog i { width: 56px; height: 74px; bottom: 8px; background: var(--paper); border-radius: 2px 6px 6px 2px; box-shadow: 0 8px 16px -6px rgba(0,0,0,.6); transform: translateX(-10px) rotate(-6deg); }
.art-catalog i:nth-child(2) { transform: translateX(14px) rotate(4deg); background: var(--y); z-index: 2; }
.art-catalog i:nth-child(2)::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ink); }

.art-shirt i { width: 78px; height: 70px; bottom: 10px; background: var(--paper); clip-path: polygon(30% 0, 50% 12%, 70% 0, 100% 18%, 88% 34%, 80% 28%, 80% 100%, 20% 100%, 20% 28%, 12% 34%, 0 18%); }
.art-shirt i::after { content: ""; position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; background: var(--m); transform: translate(-50%, -50%) rotate(45deg); }

.art-calendar { display: grid; grid-template-columns: repeat(3, 18px); gap: 4px; align-content: end; padding-bottom: 12px; }
.art-calendar i { position: static; width: 18px; height: 18px; background: var(--paper); border-radius: 2px; }
.art-calendar i:nth-child(5) { background: var(--m); }

/* ---------- perforatsioon ---------- */
.perf {
  height: 14px; background: var(--paper);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 0 0 / 22px 14px repeat-x;
          mask: radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 0 0 / 22px 14px repeat-x;
  position: relative; z-index: 2; margin-bottom: -1px;
}
.perf-flip { transform: scaleY(-1); margin: -1px 0 0; }

/* ---------- KKK ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  position: relative; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 500; font-size: 1.3rem; line-height: 1; transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq summary:hover { color: var(--m); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: var(--y); }
.faq details p { padding: 0 3rem 1.4rem 0; color: var(--ink-2); font-size: .98rem; max-width: 60ch; }
.faq details p strong { color: var(--ink); }

/* ---------- CTA riba ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--y); color: var(--ink); padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.cta-outline {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 16rem); line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20,19,17,.22); animation: marquee 40s linear infinite; width: max-content;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); }
.cta-band h2 em { font-style: normal; color: var(--m); }
.btn-lg { padding: 1.2rem 2.2rem; font-size: 1.05rem; }
.cta-band .btn-primary:hover { box-shadow: 4px 4px 0 var(--c); }

/* ---------- mobiil ---------- */
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; margin-bottom: 2rem; }
  .lang { margin-left: auto; }
  .burger { margin-left: 0; }
  .site-header { gap: .8rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero-visual { height: 300px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem 1.5rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .service { padding: 1.6rem; }
  .product { min-height: 260px; padding: 1.4rem; }
  .product-cta { opacity: 1; transform: none; }
  .why-list li { padding: 1.3rem; }
  .contact-form { padding: 1.4rem; }
  .faq summary { font-size: 1.02rem; padding-right: 2.6rem; }
  .faq details p { padding-right: 0; }
  .lang button { padding: .35rem .55rem; font-size: .7rem; }
  .logo-text { font-size: 1.15rem; }
  .footer-nav { width: 100%; margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .sheet-1 { left: 4%; top: 4%; }
  .sheet-2 { left: 34%; top: 30%; }
  .sheet-3 { left: 0; top: 58%; }
}

/* ---------- vorm: fail, staatus, honeypot ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field-file input[type="file"] { border-bottom: 1.5px dashed rgba(246,243,236,.3); padding: .7rem 0; font-size: .9rem; color: rgba(246,243,236,.8); cursor: pointer; }
.field-file input[type="file"]::file-selector-button {
  background: transparent; color: var(--y); border: 1.5px solid var(--y); border-radius: 999px; padding: .4rem .9rem; margin-right: .8rem;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; cursor: pointer; transition: background .3s, color .3s;
}
.field-file input[type="file"]:hover::file-selector-button { background: var(--y); color: var(--ink); }
.form-status { font-size: .9rem; text-align: center; min-height: 1.4em; color: rgba(246,243,236,.8); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--y); font-weight: 600; }
.form-status.err { color: #ff6b9d; font-weight: 600; }
.contact-form .btn-primary:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* ---------- küpsiste teavitus ---------- */
.cookie {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 500; max-width: 420px;
  background: var(--ink); color: var(--paper); padding: 1.4rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(20,19,17,.6); border-top: 4px solid var(--y);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cookie.show { opacity: 1; transform: none; }
.cookie p { font-size: .9rem; line-height: 1.5; color: rgba(246,243,236,.85); }
.cookie p a { color: var(--y); border-bottom: 1px solid currentColor; }
.cookie-actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.cookie .btn { padding: .6rem 1.1rem; font-size: .85rem; }
.cookie .btn-primary { background: var(--y); color: var(--ink); border-color: var(--y); }
.cookie .btn-primary:hover { box-shadow: 3px 3px 0 var(--c); }
.cookie .btn-ghost { color: var(--paper); border-color: rgba(246,243,236,.4); }
.cookie .btn-ghost:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 560px) { .cookie { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }

/* ---------- privaatsuspoliitika leht ---------- */
.legal { max-width: 72ch; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--pad); }
.legal h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 .8rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal a { color: var(--m); border-bottom: 1px solid currentColor; }
.legal .lang-jump { display: flex; gap: .6rem; margin-bottom: 2rem; }
.legal .lang-jump a { border: 1.5px solid var(--ink); border-radius: 999px; padding: .3rem .9rem; font-weight: 700; font-size: .85rem; color: var(--ink); }
.legal .back { display: inline-block; margin-top: 3rem; }


/* ============================================================
   DISAINIPASS 3 — elavam: intro, parallaks, raster, kontuurnumbrid
   ============================================================ */

/* ---------- intro: tindipühkimine ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 10000; background: var(--ink); pointer-events: none;
  animation: ink-wipe 1s var(--ease) .15s forwards;
}
@keyframes ink-wipe { to { clip-path: inset(0 0 100% 0); } }
html.no-intro body::before { display: none; }
html:not(.no-intro) .hero .reveal { transition-delay: calc(.6s + var(--d, 0s)); }
html:not(.no-intro) .hero .reveal:nth-child(1) { --d: .05s } html:not(.no-intro) .hero .reveal:nth-child(2) { --d: .15s }
html:not(.no-intro) .hero .reveal:nth-child(3) { --d: .25s } html:not(.no-intro) .hero .reveal:nth-child(4) { --d: .35s }
html:not(.no-intro) .hero .reveal:nth-child(5) { --d: .45s } html:not(.no-intro) .hero-visual.reveal { --d: .3s }

/* ---------- hero: tüpograafia, marker, kontuurkiri ---------- */
h1 { letter-spacing: -0.035em; line-height: .98; }
h1 em::after { transform: skewX(-8deg) scaleX(0); transform-origin: left; transition: transform .7s var(--ease) 1.1s; }
h1.in em::after { transform: skewX(-8deg) scaleX(1); }
.hero-word {
  position: absolute; right: -2vw; bottom: -4vw; font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(8rem, 26vw, 24rem); letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(20,19,17,.14); user-select: none;
  transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -12px + var(--scroll, 0) * -0.12px));
  transition: transform .4s var(--ease);
}

/* parallaks (CSS-muutujad --mx/--my seab JS, -1..1) */
.hero { --mx: 0; --my: 0; }
.blob-c { transform: translate(calc(var(--mx) * 30px), calc(var(--my) * 20px)); }
.blob-m { transform: translate(calc(var(--mx) * -24px), calc(var(--my) * -16px)); }
.card-stack { cursor: crosshair; }
.sheet { will-change: transform; overflow: hidden; }
.sheet-1 { transform: rotate(-8deg) translate(calc(var(--mx) * 22px), calc(var(--my) * 16px)); }
.sheet-2 { transform: rotate(4deg) translate(calc(var(--mx) * 12px), calc(var(--my) * 9px)); }
.sheet-3 { transform: rotate(-3deg) translate(calc(var(--mx) * 5px), calc(var(--my) * 4px)); }
.card-stack:hover .sheet-1 { transform: rotate(-12deg) translate(calc(var(--mx) * 22px - 10px), calc(var(--my) * 16px - 10px)); }
.card-stack:hover .sheet-2 { transform: rotate(7deg) translate(calc(var(--mx) * 12px + 14px), calc(var(--my) * 9px)); }
.card-stack:hover .sheet-3 { transform: rotate(-1deg) translate(calc(var(--mx) * 5px - 6px), calc(var(--my) * 4px + 12px)); }

/* läige */
.shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, rgba(255,255,255,.08) 52%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.sheet:hover .shine, .card-stack:hover .sheet-1 .shine { transform: translateX(120%); }

/* kaartide "päris" küljendus */
.deco { position: absolute; inset: 0; pointer-events: none; }
.deco b, .deco u { position: absolute; display: block; }
.deco-card .lm { top: 1.2rem; left: 1.4rem; width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.deco-card .lm u { position: static; border-radius: 2px; }
.deco-card .lm u:nth-child(1) { background: var(--c); } .deco-card .lm u:nth-child(2) { background: var(--m); }
.deco-card .lm u:nth-child(3) { background: var(--y); } .deco-card .lm u:nth-child(4) { background: var(--paper); }
.deco-card .ln { right: 1.4rem; height: 6px; border-radius: 3px; background: rgba(246,243,236,.25); }
.deco-card .ln1 { top: 1.35rem; width: 34%; } .deco-card .ln2 { top: 2.2rem; width: 22%; background: rgba(246,243,236,.15); }
.deco-card .qr {
  top: 1.1rem; right: 1.4rem; width: 30px; height: 30px; opacity: .9; display: none;
}
.deco-flyer .fb1 { top: 0; left: 0; right: 0; height: 38%; background: var(--ink); }
.deco-flyer .fb2 { top: 12%; left: 1.4rem; width: 34%; height: 14%; background: var(--m); }
.deco-flyer .fb3 { top: 44%; left: 1.4rem; width: 26%; height: 5px; border-radius: 3px; background: rgba(20,19,17,.35); box-shadow: 0 10px 0 0 rgba(20,19,17,.2); }
.sheet-2 { padding-top: 3rem; }
.deco-sticker .cut { inset: 6px; border: 1.5px dashed var(--m); border-radius: 6px; }
.deco-sticker .dot { top: 1.2rem; left: 1.4rem; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--c), var(--m), var(--y), var(--c)); }

/* ---------- halftone-raster tumedatel ja kollastel aladel ---------- */
.section-dark, .cta-band, .marquee { position: relative; }
.section-dark::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(246,243,236,.10) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 60%);
}
.cta-band::before {
  background-image: radial-gradient(circle, rgba(20,19,17,.10) 1.4px, transparent 1.6px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(ellipse at 15% 80%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 15% 80%, #000 0%, transparent 65%);
}
.section-dark > *, .cta-band > * { position: relative; z-index: 1; }
.cta-band .cta-outline { z-index: 0; }

/* ---------- marquee: kaks rida vastassuunas ---------- */
.marquee { padding: 0; display: grid; }
.marquee-track { padding: .8rem 0; }
.marquee-track-2 { background: var(--y); color: var(--ink); animation-direction: reverse; animation-duration: 44s; font-weight: 500; }
.marquee-track-2 span::after { color: var(--m); }

/* ---------- sektsioonide hiiglaslikud kontuurnumbrid ---------- */
.section { position: relative; }
.section-head { position: relative; }
.section[data-big]::after {
  content: attr(data-big); position: absolute; right: var(--pad); top: clamp(2rem, 6vh, 4.5rem); pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 14vw, 13rem); line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .13;
}
.section-dark[data-big]::after { color: var(--paper); opacity: .18; z-index: 1; }
.why-text { position: relative; }

/* sammud: suured kontuurnumbrid */
.steps::before { top: 3.2rem; }
.step { padding-top: 5.6rem; }
.step-n {
  width: auto; height: auto; border: 0; border-radius: 0; background: transparent; place-items: unset; display: block;
  font-size: 5rem; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  top: -.4rem; transition: color .4s var(--ease), -webkit-text-stroke-color .4s;
}
.step:hover .step-n { background: transparent; color: var(--y); -webkit-text-stroke-color: var(--ink); }

/* ---------- miks meie: suured arvud ---------- */
.why-stats { display: flex; gap: 2rem; margin: 0 0 2.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.why-stats li { display: flex; flex-direction: column; min-width: 90px; }
.why-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; }
.why-stats span { font-size: .8rem; color: var(--muted); margin-top: .3rem; line-height: 1.3; max-width: 14ch; }
.why-stats span em { font-style: normal; }

/* ---------- teenused: ikoon värvub ---------- */
.service-icon { position: relative; }
.service-icon::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 200deg, var(--c), var(--y), var(--m), var(--c)); opacity: .9;
  transform: scale(0); transition: transform .5s var(--ease);
}
.service:hover .service-icon::before { transform: scale(1); }
.service:hover .service-icon { color: var(--paper); }
.service-icon svg { position: relative; z-index: 1; transition: color .3s; }

/* ---------- tooted: nurgasilt ---------- */
.product { overflow: hidden; }
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background-image: radial-gradient(circle, rgba(246,243,236,.09) 1.2px, transparent 1.4px); background-size: 12px 12px;
}
.product:hover::before { opacity: 1; }
.product-cta {
  position: absolute; top: 18px; right: -44px; margin: 0; padding: .3rem 3rem; background: var(--y); color: var(--ink);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; transform: rotate(45deg) translateY(-60px); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.product:hover .product-cta { transform: rotate(45deg) translateY(0); opacity: 1; }
.product > * { position: relative; }
.product .product-cta { position: absolute; }

/* ---------- magnetilised nupud ---------- */
.btn { transform: translate(var(--bx, 0), var(--by, 0)); transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn-primary:hover { transform: translate(var(--bx, 0), calc(var(--by, 0) - 2px)); }

/* ---------- jalus ---------- */
.site-footer { border-top: 0; padding: 0 0 2rem; background: var(--paper-2); position: relative; overflow: hidden; }
.site-footer .perf { background: var(--paper); margin: 0; }
.footer-big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 15vw, 14.5rem); line-height: .85; letter-spacing: -0.07em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20,19,17,.15); text-align: center; user-select: none; pointer-events: none;
  margin: 2rem 0 -1.5rem; white-space: nowrap;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding: 3rem var(--pad) 2rem; align-items: start; }
.footer-col h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--muted); }
.footer-col p { font-size: .95rem; color: var(--ink-2); margin-bottom: .8rem; }
.footer-col p a:hover { color: var(--m); }
.footer-tag { max-width: 34ch; margin-top: 1rem; }
.footer-nav { flex-direction: column; gap: .5rem; margin: 0; }
.lang-footer { margin: 1.2rem 0 0; }
.site-footer .copy { width: auto; padding: 0 var(--pad); }

/* ---------- reduced motion + mobiil ---------- */
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  .hero-word, .blob-c, .blob-m, .sheet, .shine, .btn { transition: none; }
  h1 em::after { transform: skewX(-8deg) scaleX(1); transition: none; }
  .marquee-track-2 { animation: none; }
}
@media (hover: none) {
  .card-stack { cursor: default; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section[data-big]::after { font-size: 5rem; top: 1.2rem; }
  .hero-word { font-size: 7rem; right: -1rem; bottom: 2rem; }
}
@media (max-width: 560px) {
  .step-n { font-size: 3.6rem; }
  .why-stats { gap: 1.2rem; }
  .why-stats strong { font-size: 2.1rem; }
  .footer-big { font-size: 4.2rem; }
}

/* ---------- inimkontroll ---------- */
.field-captcha label b { color: var(--y); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.field-captcha input { max-width: 140px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; }
.cf-turnstile { min-height: 65px; }
