/* Gut bless — etykieta słoika i kolumna redakcyjna. Bez perforacji. */

:root {
  --red: #c23a32;
  --red-deep: #8d241e;
  --cream: #f4efe4;
  --cream-2: #efe4d4;
  --paper: #fbf7f0;
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --line: rgba(28, 22, 18, 0.78);
  --line-soft: rgba(28, 22, 18, 0.22);
  --on-red: #fbf7f0;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left));
  --spine: 8px;
  --header: 68px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--spine);
  background: var(--red);
  pointer-events: none;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--on-red);
}

.skip {
  position: absolute;
  left: calc(var(--spine) + 12px);
  top: 0;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  z-index: 50;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--spine) - 36px));
  margin-inline: auto;
}

.eyebrow,
.label,
.nav a,
.btn,
.facts,
.meta,
.ask,
.legal,
.fine,
.step-no {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  color: var(--red-deep);
}

.eyebrow.on-red {
  color: var(--on-red);
}

.label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

h1,
h2,
.tagline,
.line {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 92%, white);
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 0 12px;
}

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a {
  font-size: 0.7rem;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--ink);
}

/* Hero */

.hero {
  padding: 36px 0 18px;
}

.hero-grid {
  display: grid;
  gap: 0 48px;
}

.hero h1 {
  font-size: clamp(4.4rem, 16vw, 6.4rem);
  line-height: 0.78;
  font-weight: 500;
}

.tagline {
  margin: 14px 0 0;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.1;
  max-width: 16ch;
}

.lede {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
}

.wink {
  margin: 10px 0 0;
  max-width: 36ch;
  font-style: italic;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--red);
  color: var(--on-red);
  border: 1px solid var(--red);
  padding: 13px 16px 12px;
  font-size: 0.7rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn-on-red {
  background: var(--on-red);
  color: var(--ink);
  border-color: var(--on-red);
}

.btn-on-red:hover {
  background: white;
  color: var(--ink);
}

.text-link,
.ask {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-underline-offset: 4px;
}

.ask {
  display: inline-block;
  margin-top: 12px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  font-size: 0.66rem;
  color: var(--ink-soft);
}

.facts li {
  position: relative;
}

.facts li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-1px);
}

/* Plate: crop-mark frame, not a stamp */

.plate {
  margin: 22px 0 0;
  width: min(100%, 230px);
  padding: 7px;
}

.plate-window {
  position: relative;
  aspect-ratio: 3 / 4.35;
  overflow: hidden;
  background: #241810;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.plate-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pos-ogrod { object-position: 42% 18%; }
.pos-aniol { object-position: 48% 34%; }
.pos-lilia { object-position: 40% 26%; }
.pos-modlitwa { object-position: 38% 24%; }
.pos-wege { object-position: center 58%; }
.pos-ges { object-position: center 66%; }
.pos-drob { object-position: center 68%; }
.pos-wol { object-position: center 62%; }

.plate-hero .plate-window {
  aspect-ratio: 9 / 16;
}

.plate-aside {
  width: min(42%, 150px);
  margin: 20px 0 0;
}

.plate-aside .plate-window {
  aspect-ratio: 3 / 4.1;
}

.plate figcaption,
.plate .label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--ink-soft);
}

.label-card:hover .plate-window img,
.plate-hero:hover .plate-window img,
.plate-aside:hover .plate-window img {
  transform: scale(1.04);
}

/* Broths */

.series,
.method {
  padding: 48px 0 10px;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 26px;
}

.section-head h2,
.cta h2 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.9;
  margin: 0 0 12px;
}

.deck,
.cta-copy {
  max-width: 42ch;
  font-size: 1.08rem;
}

.broth-list {
  display: grid;
  gap: 18px;
}

.label-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 7px;
}

.label-inner {
  border: 1px solid var(--line-soft);
  padding: 14px 14px 16px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
}

.label-card .plate {
  width: 100%;
  margin: 0;
}

.label-card .plate-window {
  aspect-ratio: 3 / 4.55;
}

.broth-copy h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 2px 0 8px;
}

.line {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.notes {
  display: grid;
  gap: 6px;
  font-size: 1rem;
}

.notes li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.notes li::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  background: var(--red);
  transform: translateY(-3px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.64rem;
  color: var(--ink-soft);
}

/* Method */

.steps {
  display: grid;
  gap: 22px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.steps li:first-child {
  border-top: 0;
}

.step-no {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--red);
  line-height: 1;
  padding-top: 4px;
}

.steps h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 4px;
}

.steps p {
  margin: 0;
  max-width: 46ch;
}

/* CTA */

.cta {
  margin-top: 56px;
  background: var(--red);
  color: var(--on-red);
  padding: 48px 0 52px;
}

.cta :focus-visible {
  outline-color: var(--on-red);
}

.cta .plate figcaption {
  color: var(--on-red);
}

.cta h2 {
  max-width: 12ch;
}

.cta-copy {
  margin: 0 0 18px;
}

.fine {
  margin: 14px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  line-height: 1.45;
  max-width: 42ch;
}

.fine a {
  text-underline-offset: 2px;
}

/* Footer */

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line-soft);
}

.footer-bar {
  display: grid;
  gap: 8px;
}

.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
}

.legal {
  margin-top: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

section[id] {
  scroll-margin-top: calc(var(--header) + 12px);
}

/* Wider */

@media (min-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - var(--spine) - 72px));
  }

  .hero {
    padding: 54px 0 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas:
      "intro plate"
      "rest plate";
    column-gap: 64px;
    row-gap: 28px;
    align-items: center;
  }

  .hero-intro { grid-area: intro; align-self: end; }
  .hero-rest { grid-area: rest; align-self: start; }
  .plate-hero {
    grid-area: plate;
    width: 280px;
    margin: 0;
  }

  .method-head,
  .with-figure {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 36px;
    align-items: end;
  }

  .plate-aside {
    width: 160px;
    margin: 0;
    justify-self: end;
  }

  .hero h1 {
    font-size: clamp(5.4rem, 8vw, 7.4rem);
  }

  .broth-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    border-top: 0;
  }

  .steps li,
  .steps li:first-child {
    display: block;
    border-top: 1px solid var(--ink);
    padding-top: 16px;
  }

  .step-no {
    display: block;
    margin-bottom: 18px;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 48px;
    align-items: end;
  }

  .footer-bar {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 24px;
  }

  .legal {
    margin-top: 0;
    text-align: right;
  }
}

@media (max-width: 719px) {
  .plate-hero {
    margin: 22px auto 0;
  }
}

@media (max-width: 380px) {
  .label-inner {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .broth-copy h3 {
    font-size: 1.45rem;
  }

  .line {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn,
  .plate-window img,
  .label-card:hover .plate-window img,
  .plate-hero:hover .plate-window img {
    transition: none;
    transform: none;
  }
}
