/* A2 — Zielnik. Lniany papier, zasuszone liście w jednym odcieniu szałwii (trzy jasności), orzechowy tekst,
   jeden akcent: czerwona pieczęć lakowa. Prace jak karty zielnika przypięte do papieru. */
:root {
  --bg: #efe9dd;
  --paper: #f6f1e7;
  --fg: #3b2f26;
  --muted: #7a6b5d;
  --line: #d9d0c0;
  --surface: #e7e0d2;
  --sage: #8a9c82;
  --sage-2: #a4b39b;
  --sage-3: #bfcab7;
  --accent: #a8202b;
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Literata', Georgia, serif;
  --fs-body: 1.0625rem;
  --max: 70rem;
  --focus: var(--accent);
}
body { background: var(--bg); }
h1, h2, h3 { color: var(--fg); font-weight: 500; }
a { color: var(--fg); }
.hd, #main, .ft { position: relative; z-index: 1; }

/* Zasuszone liście przy krawędziach, jeden odcień, bez ruchu */
.sage { position: fixed; top: 0; bottom: 0; width: clamp(70px, 12vw, 220px); background-repeat: repeat-y; background-size: 100% auto; opacity: .75; pointer-events: none; z-index: 0; }
.sage--l { left: 0; } .sage--r { right: 0; }
@media (max-width: 900px) { .sage { width: 46px; opacity: .5; } }

/* Nagłówek: pieczęć i imię po lewej, menu po prawej */
.hd { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.2rem clamp(1.25rem, 5vw, 4rem); }
.hd__brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.hd__seal { width: 3rem; height: 3rem; transition: transform .6s var(--ease); }
.hd__brand:hover .hd__seal { transform: rotate(-12deg); }
.hd__name { display: block; font: 600 1.7rem/1 var(--font-d); letter-spacing: .04em; }
.hd__sub { display: block; font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin-top: .2rem; }
.nav { display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; font-size: .98rem; }
.nav a { text-decoration: none; color: var(--muted); padding: .3em 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
.nav a[aria-current] { border-color: var(--accent); }
.hd__menu { display: none; }

/* Hero: karta zielnika z przypiętym obrazem */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sheet { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem) 2rem; background: var(--paper); box-shadow: 0 1px 0 #fff inset, 0 30px 50px -30px rgb(59 47 38 / .5); transform: rotate(-1.2deg); animation: lay 1.4s var(--ease) both; }
@keyframes lay { from { opacity: 0; transform: rotate(-4deg) translateY(24px); } }
.sheet__leaves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 2px 2px rgb(59 47 38 / .18)); }
.sheet__art { position: relative; display: block; text-decoration: none; transform: rotate(1.2deg); }
.sheet__img { width: 100%; height: auto; max-height: 62vh; object-fit: contain; box-shadow: 0 14px 24px -14px rgb(59 47 38 / .6); }
.sheet__seal { position: absolute; top: -1.6rem; right: -1.4rem; width: 3.6rem; height: 3.6rem; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); animation: stamp .7s 1s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stamp { from { transform: scale(2.2); opacity: 0; } }
.sheet__caption { position: relative; margin: 1.4rem 0 0; font: italic 500 1.2rem/1.35 var(--font-d); color: var(--muted); transform: rotate(1.2deg); }
.sheet__caption em { font-style: italic; color: var(--fg); font-size: 1.15em; }
.hero__kicker { margin: 0 0 .3rem; letter-spacing: .12em; font-size: .9rem; color: var(--muted); }
.hero__name { font-size: clamp(4.2rem, 10vw, 7.6rem); line-height: .95; margin: 0 0 .5rem; animation: rise 1.4s .2s var(--ease) both; }
.hero__role { font: 500 1.3rem var(--font-d); letter-spacing: .04em; margin: 0 0 1.4rem; animation: rise 1.4s .35s var(--ease) both; }
.hero__tag { max-width: 28rem; color: var(--muted); font-style: italic; margin-bottom: 2rem; animation: rise 1.4s .5s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; animation: rise 1.4s .65s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Działy: prace jak karty na papierze */
.strip { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.strip__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.strip__head h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 0 0 .2rem; }
.strip__head p { margin: 0; color: var(--muted); font-style: italic; }
.strip__all { white-space: nowrap; color: var(--accent); }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.art-card .art, .gallery-grid .art, .praca__img { padding: 10px 10px 12px; background: var(--paper); box-shadow: 0 1px 0 #fff inset, 0 16px 26px -18px rgb(59 47 38 / .6); }
.art-card:nth-child(odd) .art { transform: rotate(-.8deg); }
.art-card:nth-child(even) .art { transform: rotate(.7deg); }
.art-card:hover .art { transform: rotate(0) translateY(-4px); }
.art-card__title { font: 500 1.35rem/1.2 var(--font-d); }
.art-card__meta { font-style: italic; }
.strip--bizuteria .art-card .art { aspect-ratio: 1; object-fit: cover; }

/* O mnie, tarot, blog */
.about-teaser { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-teaser__pic { margin: 0; transform: rotate(-1.5deg); }
.about-teaser__ph { fill: var(--paper); }
.about-teaser__note { fill: var(--muted); font: italic 16px var(--font-b); }
.about-teaser__text h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.tarot-note { background: var(--paper); border: 0; box-shadow: 0 16px 26px -18px rgb(59 47 38 / .5); }
.tarot-note strong { font-weight: 500; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.note { display: grid; gap: .4rem; padding: 1.4rem 1.5rem; background: var(--paper); text-decoration: none; box-shadow: 0 16px 26px -18px rgb(59 47 38 / .5); }
.note__date { font-size: .85em; color: var(--muted); font-style: italic; }
.note__title { font: 500 1.6rem/1.2 var(--font-d); }
.note:hover .note__title { color: var(--accent); }
.note__txt { color: var(--muted); }

/* Podstrony */
.section__head h1 { font-weight: 500; }
.section__head::before { content: ""; display: block; width: 2.2rem; height: 2.2rem; margin-bottom: 1.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 3c7-2 13 2 17 6s9 9 9 16-3 12-4 18-6 12-13 14-13 0-18-3S9 47 6 40 4 24 8 18 25 5 32 3z' fill='%23a8202b'/%3E%3C/svg%3E") center / contain no-repeat; }
.praca__buy { background: var(--paper); border: 0; box-shadow: 0 16px 26px -18px rgb(59 47 38 / .5); }
.ft { margin-top: clamp(3rem, 8vw, 6rem); color: var(--muted); }
.ft__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); }
.ft__name { font: 600 1.6rem var(--font-d); color: var(--fg); }
.ft__role { font-size: .9em; font-style: italic; }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--fg); text-decoration: underline; }
.ft__small { grid-column: 1 / -1; font-style: italic; font-size: .9em; margin: 1rem 0 0; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .sheet { transform: none; }
  .sheet__art, .sheet__caption { transform: none; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .notes, .ft__in { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__pic { max-width: 13rem; }
}
@media (max-width: 760px) {
  .hd__menu { display: inline-flex; gap: .5rem; align-items: center; background: none; border: 1px solid var(--line); padding: .5rem 1rem; cursor: pointer; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; font: 500 1.9rem var(--font-d); background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
}
