/* Self-hosted Fraunces from the upstream project (github.com/undercasetype/Fraunces,
   SIL OFL 1.1, see fonts/OFL.txt). The Google Fonts build misplaces the macron on
   "ū" at most weights and sizes; the upstream variable font does not. Subset to
   Latin + Latin Extended-A, which covers Lithuanian. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-roman.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f8efdc;
  --paper-2: #f0e0bd;
  --card: #fffaf0;
  --rye: #2b1810;
  --choc: #4b2615;
  --crust: #c9792b;
  --crust-2: #e7a656;
  --butter: #f6d98b;
  --stamp: #c22a1c;
  --ink: #2b1810;
  --ink-soft: #4a3324;
  --muted: #7a5a44;
  --dash: rgba(43, 24, 16, 0.3);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --pad: clamp(1rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .1 0 0 0 0 .06 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--rye);
  color: var(--butter);
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
}
.ticker__track { display: inline-flex; animation: tick 45s linear infinite; }
.ticker__half { display: inline-flex; gap: 2.5rem; padding-right: 2.5rem; }
.ticker .up { color: #a6e28f; }
.ticker .down { color: #ff9483; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 239, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--rye);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--rye);
  font: 800 1.4rem/1 var(--serif);
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100;
}
.logo img { width: 40px; height: 40px; }
.logo small { color: var(--crust); font-size: 1em; font-weight: 700; }
.nav { display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; }
.nav a {
  font-weight: 600; font-size: 0.93rem; color: var(--rye); text-decoration: none;
  padding: 0.45rem 0.6rem; border-radius: 999px; white-space: nowrap;
  transition: background 0.15s;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--rye); color: var(--butter); }

/* Phones and small tablets: logo on top, menu as one scrollable row. */
@media (max-width: 960px) {
  .site-header { position: static; }
  .header__inner { flex-direction: column; align-items: stretch; padding: 0.7rem var(--pad) 0.4rem; gap: 0.4rem; }
  .nav { padding-bottom: 0.3rem; min-width: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1rem/1 var(--sans);
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--rye);
  background: var(--rye); color: var(--butter);
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--crust);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--crust); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--crust); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 var(--crust); }
.btn--ghost { background: transparent; color: var(--rye); box-shadow: 4px 4px 0 var(--butter); }
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--butter); }
.btn--small { padding: 0.7rem 1rem; font-size: 0.9rem; }

/* ---------- typography ---------- */
.eyebrow {
  display: block;
  font: 500 0.78rem/1.3 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--crust);
  margin-bottom: 1rem;
}
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; }
h2 {
  font-weight: 900;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
}
h2 em { color: var(--crust); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__intro { max-width: 58ch; font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 2.5rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.9rem, 7.2vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0.2rem 0 1.4rem;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero h1 em { color: var(--crust); }
.hero__lead { font-size: 1.2rem; max-width: 40ch; color: var(--ink-soft); margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__art { position: relative; isolation: isolate; }
.hero__art::before {
  content: "";
  position: absolute; inset: 2%;
  z-index: -1;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--butter) 0 9deg, transparent 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%);
          mask: radial-gradient(circle, #000 35%, transparent 70%);
  animation: spin 80s linear infinite;
}
.hero__art .mascot { display: block; width: 100%; height: auto; animation: bob 4.5s ease-in-out infinite; }
.badge {
  position: absolute; right: 0; bottom: 14%;
  background: var(--stamp); color: #fff;
  font: 700 0.75rem/1.3 var(--sans);
  text-transform: uppercase; letter-spacing: 0.06em; text-align: center;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--rye);
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 var(--rye);
}
.badge b { display: block; font: 900 1.25rem/1.1 var(--serif); text-transform: none; letter-spacing: 0; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 2px solid var(--rye);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat { padding: 1.3rem 1rem 1.3rem 0; border-right: 1px dashed var(--dash); }
.stat + .stat { padding-left: 1rem; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 900 2.5rem/1 var(--serif); color: var(--choc); margin-bottom: 0.3rem; }
.stat span { font-size: 0.92rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 400px; width: 100%; margin: 0 auto; }
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px dashed var(--dash); }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ---------- quote ---------- */
.quote {
  background: var(--crust);
  border-block: 2px solid var(--rye);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
}
.quote blockquote {
  margin: 0;
  font: italic 900 clamp(2rem, 6.4vw, 5rem)/1 var(--serif);
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--rye);
}
.quote figcaption { margin-top: 1.2rem; font: 500 0.85rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; }
.quote figcaption a { text-underline-offset: 3px; }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value {
  background: var(--card);
  border: 2px solid var(--rye);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--rye);
  transform: rotate(-1deg);
  transition: transform 0.2s;
}
.value:nth-child(even) { transform: rotate(1.2deg); }
.value:hover { transform: rotate(0) translateY(-4px); }
.value__formula { font: 500 0.85rem/1 var(--sans); color: var(--crust); }
.value h3 { font-size: 2rem; font-weight: 800; line-height: 1; margin: 0.7rem 0 0.8rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }

/* ---------- ambassador ---------- */
.ambassador { background: var(--rye); color: var(--paper); }
.ambassador h2 { color: var(--butter); }
.ambassador .section__intro { color: #e9d9bb; }
.ambassador__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.panel {
  position: relative;
  background: radial-gradient(circle, rgba(231, 166, 86, 0.45) 1.6px, transparent 1.8px) 0 0 / 13px 13px, var(--choc);
  border: 3px solid var(--butter);
  border-radius: 22px;
  padding: 4.5rem 2rem 1.5rem;
  transform: rotate(-1.5deg);
}
.panel img { display: block; width: 100%; height: auto; }
.bubble {
  position: absolute; top: 1rem; left: 1rem; right: 3rem;
  background: #fff; color: var(--rye);
  font: 800 1.15rem/1.2 var(--serif);
  padding: 0.8rem 1rem;
  border: 3px solid var(--rye);
  border-radius: 18px;
}
.bubble::after {
  content: ""; position: absolute; left: 55%; bottom: -16px;
  border: 14px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.sheet {
  border: 2px solid var(--butter);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(246, 217, 139, 0.05);
}
.sheet__title {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font: 500 0.75rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--crust-2);
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(246, 217, 139, 0.4);
}
.sheet__title .secret { color: #ff9483; }
.sheet dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 0.8rem 1.3rem; margin: 0; }
.sheet dt { font: 500 0.75rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--crust-2); padding-top: 0.2rem; }
.sheet dd { margin: 0; }
.fineprint { font-size: 0.82rem; opacity: 0.7; margin-top: 1.3rem; }
@media (max-width: 900px) {
  .ambassador__grid { grid-template-columns: 1fr; }
  .panel { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) { .sheet dl { grid-template-columns: 1fr; gap: 0.2rem; } .sheet dd { margin-bottom: 0.7rem; } }

/* ---------- products ---------- */
#produktai { overflow: hidden; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.product {
  min-width: 0;
  background: var(--card);
  border: 2px solid var(--rye);
  border-radius: 18px;
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.product__img { background: var(--paper-2); border-radius: 12px; aspect-ratio: 5 / 3; display: grid; place-items: center; }
.product__img svg { width: 78%; height: auto; }
.product h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.1; margin: 0; }
.product p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.price { font: 700 1rem/1 var(--sans); color: var(--stamp); }

.label {
  margin-top: auto;
  background: #fff; color: #111;
  border: 2px solid #111;
  padding: 0.45rem 0.55rem;
  font: 500 0.72rem/1.35 var(--sans);
}
.label__title { font: 900 0.95rem/1.1 var(--sans); border-bottom: 6px solid #111; padding-bottom: 0.25rem; margin-bottom: 0.15rem; }
.label__row { display: flex; justify-content: space-between; gap: 0.5rem; border-bottom: 1px solid #111; padding: 0.15rem 0; }
.label__row:last-child { border-bottom: 0; }
/* The carb value doesn't fit, so it scrolls through its own clipped box
   like a ticker instead of spilling out of the label. */
.label__row--carb {
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
}
.label__row--carb .over {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  background: var(--butter);
  color: var(--stamp);
  border: 1px solid #111;
}
.label__row--carb .over > span {
  display: inline-block;
  padding-left: 100%;
  animation: carbs 9s linear infinite;
}
@keyframes carbs { to { transform: translateX(-100%); } }
@media (max-width: 1060px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: minmax(0, 1fr); } }

/* ---------- poster ---------- */
.poster-section { background: var(--paper-2); border-block: 2px solid var(--rye); overflow: hidden; }
.poster-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.poster {
  position: relative;
  max-width: 400px; width: 100%; margin: 0 auto;
  background: #f5e6ab;
  color: #1b1b1b;
  padding: 1.6rem 1.6rem 1.8rem;
  text-align: center;
  transform: rotate(-2.5deg);
  box-shadow: 0 24px 40px -14px rgba(43, 24, 16, 0.5), inset 0 0 60px rgba(160, 120, 40, 0.25);
}
.poster::before, .poster::after {
  content: ""; position: absolute; top: -14px;
  width: 90px; height: 28px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.poster::before { left: -18px; transform: rotate(-30deg); }
.poster::after { right: -18px; transform: rotate(28deg); }
.poster__warn { background: var(--stamp); color: #fff; font: 900 2.3rem/1 var(--serif); letter-spacing: 0.06em; padding: 0.45rem 0 0.5rem; }
.poster__title { font: 800 1.05rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; margin: 1rem 0; }
.poster__photo { border: 3px solid #1b1b1b; background: #d9d2bd; aspect-ratio: 4 / 4.2; display: grid; place-items: end center; overflow: hidden; }
.poster__photo svg { width: 82%; }
.poster__caption { font: italic 500 0.7rem/1.3 var(--sans); margin: 0.4rem 0 1rem; opacity: 0.75; }
.poster p { margin: 0 0 0.7rem; font-size: 0.95rem; line-height: 1.4; }
.poster .poster__big { font-weight: 800; font-size: 1.05rem; }
.poster__sign { font: italic 600 0.9rem/1 var(--serif); text-align: right; margin-top: 1rem; }
@media (max-width: 860px) { .poster-grid { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.basket { background: var(--card); border: 2px solid var(--rye); border-radius: 18px; padding: 0.6rem 1.5rem 1.5rem; box-shadow: 6px 6px 0 var(--rye); }
.line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px dashed var(--dash); }
.line__name { font-weight: 700; display: block; }
.line__price { font: 500 0.82rem/1 var(--sans); color: var(--muted); }
.stepper { display: flex; align-items: center; border: 2px solid var(--rye); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button {
  width: 2.5rem; height: 2.5rem;
  border: 0; background: var(--paper-2); color: var(--rye);
  font: 700 1.25rem/1 var(--sans); cursor: pointer;
}
.stepper button:hover { background: var(--butter); }
.stepper input {
  width: 3rem; height: 2.5rem;
  border: 0; text-align: center;
  font: 700 1rem/1 var(--sans); color: var(--rye); background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.basket__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.basket__sum { font: 700 1.1rem/1 var(--sans); }

.receipt-wrap { position: relative; padding-bottom: 14px; filter: drop-shadow(0 18px 24px rgba(43, 24, 16, 0.35)); }
.receipt {
  position: relative;
  background: #fff; color: #1b1b1b;
  font: 400 0.82rem/1.55 var(--sans);
  padding: 1.5rem 1.3rem 1.2rem;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background:
    linear-gradient(135deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x,
    linear-gradient(225deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}
.receipt.is-printing { animation: print 0.7s steps(14) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20px 0); } }
.receipt__head { text-align: center; margin-bottom: 0.8rem; }
.receipt__head strong { display: block; font-size: 1rem; letter-spacing: 0.08em; }
.r-row { display: flex; justify-content: space-between; gap: 1rem; }
.r-row span:first-child { overflow-wrap: anywhere; }
.r-sep { border-top: 1px dashed #1b1b1b; margin: 0.6rem 0; }
.r-discount { color: var(--stamp); font-weight: 700; }
.r-total { font-size: 1.05rem; font-weight: 700; }
.r-muted { opacity: 0.6; text-align: center; }
.r-events { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.r-events li { padding-left: 1.2rem; text-indent: -1.2rem; margin-bottom: 0.25rem; }
.r-events li::before { content: "» "; font-weight: 700; color: var(--stamp); }
.barcode {
  height: 44px; margin: 1rem 0 0.3rem;
  background: repeating-linear-gradient(90deg, #1b1b1b 0 2px, transparent 2px 4px, #1b1b1b 4px 5px, transparent 5px 8px, #1b1b1b 8px 11px, transparent 11px 12px, #1b1b1b 12px 13px, transparent 13px 17px);
}
.receipt__share { margin-top: 1.4rem; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.receipt__share [role="status"] { font-size: 0.9rem; font-weight: 600; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- petition ---------- */
.petition { background: var(--butter); border-block: 2px solid var(--rye); }
.petition__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.check { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0 0 1.5rem; font-weight: 600; font-size: 1.05rem; cursor: pointer; max-width: 46ch; }
.check input { width: 1.4rem; height: 1.4rem; accent-color: var(--rye); flex: none; margin-top: 0.15rem; }
.counter-box { border: 3px solid var(--rye); border-radius: 22px; background: var(--card); padding: 1.8rem; text-align: center; box-shadow: 8px 8px 0 var(--rye); }
.counter { font: 900 clamp(2.8rem, 7vw, 5rem)/1 var(--serif); color: var(--choc); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.counter.bump { animation: bump 0.5s; }
@keyframes bump { 40% { transform: scale(1.12); color: var(--stamp); } }
.counter-box small { display: block; margin-top: 0.4rem; font: 500 0.8rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.petition__done { font-weight: 700; margin: 1rem 0 0; }
.petition__note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1.2rem; }
@media (max-width: 860px) { .petition__grid { grid-template-columns: 1fr; } }

/* ---------- partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.partner {
  border: 2px solid var(--rye); border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font: 800 1.05rem/1 var(--serif);
  color: var(--choc);
  opacity: 0.85;
}
.partner:nth-child(2) { font: 700 0.85rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; border-radius: 4px; }
.partner:nth-child(3) { font-style: italic; border-style: dashed; }
.partner:nth-child(4) { font: 700 1rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.04em; background: var(--rye); color: var(--butter); }
.partner:nth-child(5) { border-radius: 4px; border-width: 3px; border-style: double; }
.partners-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.footer { background: var(--rye); color: #e9d9bb; padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer .logo { color: var(--butter); }
.footer h4 { font: 500 0.75rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--crust-2); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.4rem; }
.footer a { color: #f3e6c8; text-underline-offset: 3px; }
.disclaimer { border: 1px dashed rgba(233, 217, 187, 0.45); border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.9rem; margin-top: 2.5rem; }
.disclaimer strong { color: var(--butter); }
.copyright { margin-top: 1.5rem; font: 400 0.78rem/1.4 var(--sans); opacity: 0.6; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- modal ---------- */
.modal {
  border: 3px solid var(--rye);
  border-radius: 20px;
  padding: 0;
  width: min(480px, 92vw);
  background: var(--paper); color: var(--ink);
  box-shadow: 10px 10px 0 var(--stamp);
  overflow: hidden;
}
.modal[open] { animation: slam 0.35s cubic-bezier(0.2, 1.4, 0.4, 1); }
.modal::backdrop { background: rgba(43, 24, 16, 0.6); }
.modal form { margin: 0; }
.modal__head { background: var(--stamp); color: #fff; font: 900 1.6rem/1.1 var(--serif); padding: 1rem 1.3rem; }
.modal__body { padding: 1.3rem; font-size: 1.05rem; }
.modal__foot { padding: 0 1.3rem 1.4rem; }
@keyframes slam { from { transform: scale(1.35) rotate(-5deg); opacity: 0; } }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; border-bottom: 2px solid var(--rye); }
.page-hero h1 { font-weight: 900; font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: 0.92; letter-spacing: -0.035em; margin: 0 0 1rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.page-hero h1 em { color: var(--crust); }
.page-hero p { font-size: 1.15rem; max-width: 56ch; color: var(--ink-soft); margin: 0; }

.news-list { padding-bottom: 4rem; }
.news { display: grid; grid-template-columns: 170px 1fr; gap: 2rem; padding: 2.4rem 0; border-bottom: 1px dashed var(--dash); }
.news time { font: 500 0.85rem/1.4 var(--sans); color: var(--crust); }
.news__tag { display: block; font: 500 0.7rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 0.3rem; }
.news h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.05; margin: 0 0 0.8rem; }
.news p { margin: 0 0 0.8rem; max-width: 64ch; color: var(--ink-soft); }
.news a.more { font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 640px) { .news { grid-template-columns: 1fr; gap: 0.6rem; } }

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding-block: 3rem 5rem; }
.job { background: var(--card); border: 2px solid var(--rye); border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; box-shadow: 6px 6px 0 var(--rye); }
.job h2 { font-size: 1.7rem; font-weight: 800; line-height: 1.05; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font: 500 0.72rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--rye); border-radius: 999px; padding: 0.35rem 0.6rem; }
.tag--hot { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.job h3 { font: 500 0.75rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--crust); margin: 0.4rem 0 0; }
.job ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.job .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .jobs { grid-template-columns: 1fr; } }

.doc {
  position: relative;
  max-width: 820px;
  margin: 3rem auto 5rem;
  background: #fffdf7;
  border: 1px solid #d8c9a8;
  padding: clamp(1.5rem, 6vw, 4rem);
  box-shadow: 0 30px 60px -30px rgba(43, 24, 16, 0.55);
  font: 400 1.03rem/1.65 var(--serif);
}
.doc__head { text-align: center; margin-bottom: 2.5rem; }
.doc__head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.4rem; }
.doc__head p { margin: 0; font-style: italic; color: var(--muted); }
.doc h2 { font: 700 0.85rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; margin: 2rem 0 0.6rem; color: var(--choc); }
.doc p { margin: 0 0 0.6rem; }
.doc .num { font-weight: 700; margin-right: 0.3rem; }
.doc .hint { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3.5rem; }
.sig { border-top: 1px solid var(--rye); padding-top: 0.5rem; font-size: 0.9rem; position: relative; }
.sig svg { position: absolute; bottom: 100%; left: 0; width: 180px; height: 60px; }
.sig .pending { position: absolute; bottom: 100%; left: 0; font: italic 400 0.85rem var(--serif); color: var(--muted); padding-bottom: 0.4rem; }
.signatures { position: relative; }
.stamp {
  position: absolute; right: -0.5rem; top: -6.2rem;
  border: 5px double var(--stamp);
  color: var(--stamp);
  font: 800 1.5rem/1.1 var(--sans);
  text-transform: uppercase; text-align: center; letter-spacing: 0.1em;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  transform: rotate(-14deg);
  opacity: 0.8;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp small { display: block; font-size: 0.6rem; letter-spacing: 0.2em; }
.doc__note { margin-top: 3rem; font: 400 0.82rem/1.5 var(--sans); color: var(--muted); border-top: 1px dashed var(--dash); padding-top: 1rem; }
@media (max-width: 560px) {
  .signatures { grid-template-columns: 1fr; gap: 4.5rem; margin-top: 5rem; }
  .stamp { position: static; display: block; width: max-content; margin: -1.5rem auto 0; }
}

.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound b { display: block; font: 900 clamp(7rem, 24vw, 16rem)/0.85 var(--serif); color: var(--crust); letter-spacing: -0.05em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 1rem 0; }
.notfound p { color: var(--ink-soft); margin: 0 auto 2rem; max-width: 44ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .label__row--carb .over { text-overflow: ellipsis; }
  .label__row--carb .over > span { display: inline; padding-left: 0.3rem; }
  html { scroll-behavior: auto; }
}
.nowrap { white-space: nowrap; }
.price, .line__price, .basket__sum, .stepper input, .receipt, .counter, .stat b { font-variant-numeric: tabular-nums; }
.notfound__eclair { display: block; width: 220px; height: auto; margin: 0 auto -1rem; animation: bob 4.5s ease-in-out infinite; }
.disclaimer__contact { display: block; margin-top: 0.6rem; }
.quote figure { margin-block: 0; }
.center { text-align: center; }

/* ---------- open letter (/klajumas) ---------- */
.letter { max-width: 720px; padding: 3rem 0 5rem; font-size: 1.1rem; }
.letter h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin: 2.5rem 0 0.8rem; }
.letter h2:first-child { margin-top: 0; }
.letter p { margin: 0 0 1rem; color: var(--ink-soft); }
.letter ul, .letter ol { margin: 0 0 1rem; padding-left: 1.3rem; color: var(--ink-soft); }
.letter li { margin-bottom: 0.6rem; }
.letter li b { color: var(--ink); }
.letter a { text-underline-offset: 3px; font-weight: 600; }
.letter__sign { margin-top: 2.5rem !important; font: italic 600 1.15rem/1.4 var(--serif); color: var(--ink) !important; }
.letter__note { background: var(--butter); border: 2px solid var(--rye); border-radius: 14px; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink) !important; box-shadow: 4px 4px 0 var(--rye); }
