/* Zielnik pod Lasem: autorski arkusz. Karty zielnika i jedna doba pod lasem. */
:root {
  --night: #0e1912;
  --moss: #1f3527;
  --fern: #4f682a;
  --sun: #e8b95a;
  --paper: #f2ecdc;
  --card: #fbf7ea;
  --ink: #1d251c;
  --soft: #4d5648;
  --bark: #3b2d20;
  --ember: #a8471f;
  --line: rgba(59, 45, 32, .22);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(.2, .7, .15, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .16 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1rem, .35vw + .94rem, 1.14rem)/1.68 var(--body);
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--sun); color: var(--night); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
section[id] { scroll-margin-top: 0; }

h2 {
  font-family: var(--display);
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
  font-size: clamp(2.5rem, 5.6vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h2 em {
  display: block;
  font-style: italic;
  font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--fern);
}
h3 {
  font-family: var(--display);
  font-weight: 420;
  font-variation-settings: "opsz" 72, "SOFT" 80;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
.hand { font-family: var(--hand); font-size: 1.55rem; line-height: 1.15; font-weight: 500; }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 60; background: var(--sun); color: var(--night); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Przyciski ---------- */
.btn {
  --bg: var(--sun);
  --fg: #14200f;
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 100px 100px 100px 6px;
  font: 600 .95rem/1.2 var(--body); letter-spacing: .01em; text-align: center; text-decoration: none;
  transition: border-radius .5s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after { content: "→"; transition: transform .35s var(--ease); }
.btn:hover { border-radius: 6px 100px 100px 100px; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.btn:hover::after { transform: translateX(5px); }
.btn-dark { --bg: var(--moss); --fg: #f7f0dc; }
.btn-small { min-height: 2.6rem; padding: .55rem 1.15rem; font-size: .85rem; }
.btn-big { min-height: 4rem; padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.more {
  display: inline-block; padding: .35rem 0;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.more:hover { background-size: 35% 1px; }

/* ---------- Nagłówek ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1rem var(--pad);
  color: #f7f0dc;
  transition: background .4s, padding .4s var(--ease), box-shadow .4s;
}
.top.is-solid { background: rgba(14, 25, 18, .93); padding-block: .6rem; box-shadow: 0 10px 30px -20px #000; backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; text-decoration: none; font: 500 1.2rem/1 var(--display); font-variation-settings: "SOFT" 80; white-space: nowrap; }
.brand em { font-weight: 320; font-variation-settings: "SOFT" 100, "WONK" 1; }
.menu { display: flex; gap: clamp(.8rem, 1.7vw, 1.9rem); }
.menu a { position: relative; font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; padding: .4rem 0; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a.is-active::after { transform: translateX(-50%) scale(1); }
.lang-switcher { display: flex; gap: .35rem; }
.lang-switcher[hidden] { display: none; }
.lang-link { display: grid; place-items: center; width: 2.2rem; height: 2rem; border-radius: 4px; opacity: .62; transition: opacity .25s, background .25s; }
.lang-link:hover, .lang-link.is-active { opacity: 1; background: rgba(255, 255, 255, .16); }
.lang-flag { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; }
.nav-toggle { display: none; }

/* ---------- Zdjęcia ---------- */
.photo { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 15%, #8d9a55 0%, #344d2d 38%, #14231a 78%); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo img.is-missing { visibility: hidden; }

/* ---------- Okładka ---------- */
.hero { position: relative; display: flex; min-height: 100vh; min-height: max(100svh, 40rem); color: #f7f0dc; background: var(--night); isolation: isolate; overflow: hidden; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -4; }
.hero-media img { animation: breathe 24s ease-in-out infinite alternate; transform-origin: 68% 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(to top, rgba(8, 16, 10, .93) 0%, rgba(8, 16, 10, .55) 32%, rgba(8, 16, 10, .05) 62%, rgba(8, 16, 10, .55) 100%),
    linear-gradient(to right, rgba(8, 16, 10, .55), rgba(8, 16, 10, 0) 60%);
}
.rays {
  position: absolute; inset: -30% -10% 10% 20%; z-index: -2; pointer-events: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 188deg at 78% 4%, transparent 0 4deg, rgba(255, 219, 140, .16) 6deg, transparent 8.5deg 13deg);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 25%, #000, transparent 75%);
  mask-image: radial-gradient(70% 80% at 70% 25%, #000, transparent 75%);
  animation: sway 14s ease-in-out infinite alternate;
}
.motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 27rem); align-items: end; gap: 2rem 3rem;
  align-self: flex-end; width: 100%; padding: 7rem var(--pad) clamp(4rem, 9vh, 6.5rem);
}
.eyebrow { font-size: .88rem; font-weight: 500; letter-spacing: .06em; display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 3.2rem; height: 1px; background: var(--sun); }
.wordmark { font-family: var(--display); font-weight: 330; line-height: .82; letter-spacing: -.045em; text-shadow: 0 6px 50px rgba(0, 0, 0, .35); }
.wordmark span { display: block; }
.w1 { font-size: clamp(5.4rem, min(17.5vw, 30vh), 17rem); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; animation: rise 1.4s var(--ease) both; }
.w2 { font-size: clamp(2.9rem, min(8.2vw, 14vh), 8rem); padding-left: 1.35em; color: #f3d9a0; font-variation-settings: "opsz" 144, "SOFT" 40; animation: rise 1.4s .15s var(--ease) both; }

.label {
  position: relative; background: var(--card) var(--grain); color: var(--ink);
  padding: 2rem 1.9rem 1.8rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
}
.label::before { content: ""; position: absolute; inset: .55rem; border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 3px; pointer-events: none; }
.label > * { position: relative; }
.label-hero { transform: rotate(1.1deg); animation: drop 1.3s .45s var(--ease) both; }
.label-hero::after, .print::before {
  content: ""; position: absolute; width: 7.5rem; height: 2rem; top: -1rem; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(221, 205, 158, .74);
  clip-path: polygon(0 8%, 7% 0, 13% 10%, 100% 0, 95% 30%, 100% 52%, 94% 74%, 100% 100%, 8% 92%, 3% 100%, 0 70%, 5% 45%);
}
.tagline { font-family: var(--display); font-size: clamp(1.55rem, 2.15vw, 2.05rem); line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 72, "SOFT" 80; }
.tagline em { display: block; color: var(--fern); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.label-text { margin-top: .9rem; font-size: .96rem; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; }
.actions .btn { --bg: var(--moss); --fg: #f7f0dc; }
.torn { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(22px, 3.4vw, 48px); fill: var(--paper); }

/* ---------- Karty papierowe ---------- */
.sheet { position: relative; background: var(--paper) var(--grain); padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.plate { display: flex; align-items: center; gap: .9rem; font-size: .85rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.plate span { font-family: var(--display); font-style: italic; font-size: 1.05rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.plate b { font-weight: 600; }
.plate b::before { content: ""; display: inline-block; width: 4rem; height: 1px; margin-right: .9rem; vertical-align: middle; background: currentColor; opacity: .45; }

.house-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.house-text { grid-column: 1 / 6; grid-row: 1 / 3; align-self: start; }
.house-text h2 { margin-bottom: 2.2rem; }
.house-text p { max-width: 32rem; }
.house-text p + p { margin-top: 1.1rem; }
.house-text .lead, .room-body .lead { font-family: var(--display); font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.4; font-variation-settings: "opsz" 36, "SOFT" 70; }
.house-text .note { margin-top: 2rem; color: var(--ember); transform: rotate(-3deg); }
.house-text .note::after { content: " ↝"; }

.print { position: relative; background: #fffdf6; padding: .8rem .8rem 3.4rem; box-shadow: 0 2px 3px rgba(40, 30, 10, .16), 0 36px 55px -32px rgba(40, 30, 10, .6); }
.print::before { z-index: 2; }
.print figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: .75rem; color: var(--bark); }
.print-house { grid-column: 6 / 13; grid-row: 1; align-self: start; transform: rotate(1.6deg); margin-top: -2rem; }
.print-house .photo { aspect-ratio: 4 / 3; }
.print-motif { grid-column: 7 / 10; grid-row: 2; align-self: start; z-index: 2; margin-top: 1.5rem; transform: rotate(-4.5deg); max-width: 21rem; }
.print-motif .photo { aspect-ratio: 4 / 3; }
.print-motif figcaption { font-size: 1.25rem; }
.print-motif.print { padding-bottom: 4rem; }
.specimen-fern { grid-column: 10 / 13; grid-row: 2; position: relative; margin-top: 1rem; }
.specimen-fern img { width: min(100%, 15rem); margin-inline: auto; transform: rotate(14deg); filter: drop-shadow(3px 5px 3px rgba(60, 45, 15, .18)); }
.tag { position: relative; display: inline-block; background: var(--card); padding: .7rem 1rem; border: 1px solid var(--line); font-size: .8rem; line-height: 1.4; transform: rotate(-2deg); }
.tag i { display: block; font-family: var(--display); font-size: 1rem; }
.tag span { color: var(--soft); }
.specimen-fern .tag { margin-top: -1.6rem; margin-left: 10%; }

.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 2rem; margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2.2rem; border-top: 1px solid var(--line); }
.facts strong { display: block; font: italic 330 clamp(2.4rem, 4.4vw, 4.4rem)/1 var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--moss); }
.facts span { display: block; margin-top: .5rem; font-size: .95rem; color: var(--soft); }

/* ---------- Doba ---------- */
.day {
  --sky: #e6e8dc; --text: #1b2620; --accent: #47602a; --orb: #d78b45;
  background: var(--sky); color: var(--text);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) 4rem;
  transition: background-color 1s ease, color .7s ease;
}
.day[data-phase="morning"] { --sky: #f1ddb0; --text: #2a2412; --accent: #7a4a12; --orb: #d9881f; }
.day[data-phase="noon"] { --sky: #cfdcae; --text: #172314; --accent: #35511c; --orb: #f0b62e; }
.day[data-phase="night"] { --sky: #101c17; --text: #f1e8d2; --accent: #f0b865; --orb: #f4ecd4; }
.day h2 em, .day .when { color: var(--accent); transition: color .7s; }
.day-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; column-gap: 3rem; }
.day-head .plate { grid-column: 1 / -1; }
.day-head > p:last-child { max-width: 25rem; padding-bottom: .6rem; }
.day-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); margin-top: 3rem; }
.stage { position: sticky; top: 5rem; align-self: start; height: calc(100vh - 7rem); display: flex; flex-direction: column; gap: 1.2rem; }
.sun { width: min(100%, 22rem); margin-inline: auto; overflow: visible; flex: none; }
.sun path { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-dasharray: 2 7; stroke-width: 1.5; }
.orb { transform-origin: 200px 190px; transform: rotate(-62deg); transition: transform 1.2s var(--ease); }
.orb circle { fill: var(--orb); filter: drop-shadow(0 0 10px var(--orb)); transition: fill .8s; }
.day[data-phase="morning"] .orb { transform: rotate(-27deg); }
.day[data-phase="noon"] .orb { transform: rotate(8deg); }
.day[data-phase="night"] .orb { transform: rotate(61deg); }
.stage-frame { position: relative; flex: 1; min-height: 0; border-radius: 22rem 22rem 6px 6px; overflow: hidden; }
.stage-frame .photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.stage-frame .photo img { transform: scale(1.12); transition: transform 6s var(--ease); }
.stage-frame .photo.is-on { opacity: 1; }
.stage-frame .photo.is-on img { transform: scale(1); }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.step .when { font-family: var(--hand); font-size: 2.1rem; line-height: 1; margin-bottom: .8rem; transform: rotate(-3deg); }
.step h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); max-width: 15ch; }
.step h3 + p { margin-top: 1.2rem; max-width: 28rem; font-size: 1.1em; }
.step-photo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- Pokoje ---------- */
.rooms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--moss); color: #f2ecdc; }
.room-visual { position: relative; min-height: 46rem; }
.room-visual .photo { position: absolute; inset: 0; }
.room-body { padding: clamp(5rem, 8vw, 8rem) var(--pad); }
.rooms h2 em { color: var(--sun); }
.room-body h2 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.room-body .lead { margin-top: 2rem; max-width: 31rem; }
.room-body .lead + p { margin-top: 1.1rem; max-width: 31rem; color: #d3d8c6; }
.label-price { max-width: 31rem; margin-top: 3.5rem; margin-left: clamp(-7rem, -6vw, 0rem); transform: rotate(-1.2deg); padding: 2.3rem 2.2rem 2.2rem; }
.label-head { font-family: var(--hand); font-size: 1.6rem; color: var(--ember); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; margin-top: .3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.amount { font: 360 clamp(4rem, 7.5vw, 6.6rem)/1 var(--display); letter-spacing: -.045em; font-variation-settings: "opsz" 144, "SOFT" 60; white-space: nowrap; }
.unit { font: italic 340 1.4rem/1.2 var(--display); color: var(--fern); }
.label-price .btn { margin-top: 1.5rem; }

/* ---------- Spis ---------- */
.index-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.index-head p { max-width: 24rem; padding-bottom: .5rem; }
.entry { display: grid; grid-template-columns: minmax(5rem, .55fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 4.5vw, 4rem) 0; border-top: 1px solid var(--line); }
.entry-plant { height: 15rem; display: grid; place-items: center; }
.entry-plant img { height: 17.5rem; width: auto; max-width: none; transform: rotate(-9deg); filter: drop-shadow(2px 4px 3px rgba(60, 45, 15, .2)); transition: transform .8s var(--ease); }
.entry:nth-of-type(odd) .entry-plant img { transform: rotate(10deg); }
.entry:hover .entry-plant img { transform: rotate(0) scale(1.05); }
.entry h3 { font-size: clamp(2rem, 3.2vw, 3.2rem); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.entry-title p { margin-top: .6rem; color: var(--ember); }
.entry-list { columns: 2 15rem; column-gap: 2.5rem; }
.entry-list li { break-inside: avoid; position: relative; padding: .8rem 0 .8rem 1.7rem; border-bottom: 1px dotted var(--line); line-height: 1.4; }
.entry-list li::before { content: ""; position: absolute; left: .1rem; top: 1.15rem; width: .85rem; height: .55rem; background: var(--fern); border-radius: 100% 0 100% 0; transform: rotate(-18deg); transition: transform .4s var(--ease), background .3s; }
.entry-list li:hover::before { transform: rotate(28deg) scale(1.25); background: var(--ember); }

/* ---------- Okolica ---------- */
.area { background: var(--card) var(--grain); }
.area-view { position: relative; height: min(92vh, 52rem); min-height: 32rem; color: #fbf6e8; }
.area-view > .photo { position: absolute; inset: 0; }
.area-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 18, .82), rgba(10, 22, 18, .2) 50%, rgba(10, 22, 18, .08)); }
.area-title { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: clamp(5rem, 11vw, 9rem); }
.area-title .plate { margin-bottom: 1.4rem; }
.area h2 em { color: #f5d590; }
.area-title h2 { font-size: clamp(3rem, 8vw, 8rem); }
.notes { position: relative; z-index: 2; margin: -4rem var(--pad) 0; background: var(--paper) var(--grain); padding: clamp(2rem, 4vw, 4rem); box-shadow: 0 30px 50px -40px rgba(0, 0, 0, .5); }
.notes-intro { max-width: 34rem; font: 340 clamp(1.3rem, 1.9vw, 1.8rem)/1.4 var(--display); }
.notes ol { display: grid; grid-template-columns: 1fr 1.12fr 1fr; margin-top: 3rem; }
.notes li { padding: 0 clamp(1rem, 2.4vw, 2.6rem); border-left: 1px solid var(--line); }
.notes li:first-child { padding-left: 0; border-left: 0; }
.notes li:nth-child(2) { margin-top: 3.5rem; }
.num { display: block; font: italic 300 6.5rem/.9 var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--fern); margin-bottom: .6rem; }
.notes li p { margin-top: .9rem; color: var(--soft); }
.notes-hint { margin-top: 2.8rem; color: var(--ember); text-align: right; transform: rotate(-1.5deg); }
.area::after { content: ""; display: block; height: clamp(4rem, 9vw, 8rem); }

/* ---------- Kontakt ---------- */
.contact { position: relative; isolation: isolate; background: radial-gradient(70% 45% at 50% 0%, #2a3a24 0%, transparent 70%), radial-gradient(60% 30% at 50% 100%, rgba(190, 84, 30, .3), transparent 70%), var(--night); color: #f2ecdc; padding: clamp(5rem, 10vw, 9rem) var(--pad) 2.5rem; overflow: hidden; }
.contact .plate { justify-content: center; }
.contact-head { text-align: center; }
.contact h2 { font-size: clamp(3rem, 8.4vw, 8.6rem); }
.contact h2 em { color: var(--sun); }
.contact-head p { max-width: 34rem; margin: 2rem auto 2.4rem; color: #ced6c5; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(4.5rem, 8vw, 7rem); align-items: stretch; }
.reach dl > div { padding: 1.3rem 0; border-top: 1px solid rgba(242, 236, 220, .18); }
.reach dt { font-family: var(--hand); font-size: 1.4rem; color: var(--sun); }
.reach dd { font: 340 clamp(1.4rem, 2.3vw, 2.15rem)/1.3 var(--display); font-variation-settings: "SOFT" 70; }
.reach dd a { text-decoration: none; overflow-wrap: anywhere; transition: color .25s; }
.reach dd a:hover { color: var(--sun); }
.reach dd .mail { font-size: .76em; }
.reach .more { margin-top: 1rem; }
.map { min-height: 26rem; padding: .7rem; background: var(--card); transform: rotate(.8deg); box-shadow: 0 40px 70px -35px #000; }
.map iframe { width: 100%; height: 100%; min-height: 25rem; border: 0; filter: sepia(.28) saturate(.82); }
.social { margin-top: clamp(5rem, 8vw, 7rem); text-align: center; }
.social-head { font: italic 340 clamp(1.8rem, 3vw, 2.6rem)/1.2 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.social ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.social a { display: flex; align-items: center; gap: .65rem; min-height: 3rem; padding: .6rem 1.25rem; border: 1px solid rgba(242, 236, 220, .25); border-radius: 100px; font-size: .92rem; font-weight: 500; text-decoration: none; transition: background .3s, color .3s, transform .35s var(--ease); }
.social a:hover { background: var(--paper); color: var(--night); transform: translateY(-4px) rotate(-2deg); }
.social svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; max-width: 46rem; margin: 2rem auto 0; font-size: .88rem; color: #a9b89e; }
.foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: clamp(5rem, 8vw, 7rem); padding-top: 2rem; border-top: 1px solid rgba(242, 236, 220, .18); font-size: .85rem; color: #b4bfaa; }
.foot-mark { font: 330 clamp(2.2rem, 6vw, 5.5rem)/1 var(--display); letter-spacing: -.035em; color: #f2ecdc; font-variation-settings: "opsz" 144, "SOFT" 60; }
.foot-mark em { color: var(--sun); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.foot a { display: inline-block; margin-top: .5rem; padding: .3rem 0; }

.dock { display: none; }

/* ---------- Ruch ---------- */
[data-reveal] { opacity: 0; translate: 0 2.2rem; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes sway { from { transform: rotate(-3deg); opacity: .65; } to { transform: rotate(3.5deg); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-1.5rem) rotate(-3deg); } to { opacity: 1; transform: rotate(1.1deg); } }

/* ---------- Węższe ekrany ---------- */
@media (max-width: 1180px) {
  .menu {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.1rem;
    background: var(--night) radial-gradient(80% 50% at 80% 0%, #33482a, transparent);
    visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s;
  }
  .menu a { font: italic 340 2.1rem/1.3 var(--display); }
  .menu.is-open { visibility: visible; opacity: 1; }
  .nav-toggle { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .5rem .2rem; background: none; border: 0; color: inherit; font: 600 .9rem var(--body); cursor: pointer; }
  .nav-toggle i { width: 1.4rem; height: .55rem; border-block: 2px solid currentColor; transition: height .3s; }
  .nav-toggle[aria-expanded="true"] i { height: .2rem; }
  /* backdrop-filter would trap the fixed menu inside the header */
  .top.is-solid { backdrop-filter: none; background: rgba(14, 25, 18, .97); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 6rem; }
  .w1 { font-size: clamp(5rem, 27vw, 13rem); }
  .w2 { font-size: clamp(2.7rem, 13vw, 6.4rem); padding-left: .9em; }
  .label-hero { max-width: 32rem; transform: none; animation-name: rise; }

  .house-grid { display: flex; flex-direction: column; }
  .print-house { margin: 3.5rem 0 0; }
  .print-motif { align-self: flex-end; width: 68%; margin: 1.5rem 0 0; }
  .specimen-fern { width: 55%; margin-top: -2rem; }
  .specimen-fern .tag { margin-left: 0; }
  .facts { grid-template-columns: 1fr 1fr; }

  .day-head, .index-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .day-grid { display: block; }
  .stage { display: none; }
  .step { min-height: 0; padding: 2.5rem 0; }
  .step-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; clip-path: none; margin-bottom: 1.8rem; border-radius: 12rem 12rem 6px 6px; }
  .step:nth-child(even) .step-photo { border-radius: 6px 6px 12rem 12rem; }

  .rooms { grid-template-columns: 1fr; }
  .room-visual { min-height: 0; aspect-ratio: 4 / 5; }
  .label-price { margin-left: 0; }

  .entry { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1.2rem; }
  .entry-plant { height: 8.5rem; }
  .entry-plant img { height: 9.5rem; }
  .entry-list { grid-column: 1 / -1; }

  .area-view { height: 78vh; }
  .notes { margin-inline: calc(var(--pad) / 2); }
  .notes ol { grid-template-columns: 1fr; gap: 2.5rem; }
  .notes li, .notes li:first-child { padding: 0; border: 0; }
  .notes li:nth-child(2) { margin: 0; padding-left: 2rem; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .top { gap: .7rem; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 28px; height: 28px; }
  .top-cta { display: none; }
  .lang-link { width: 1.85rem; }
  .dock {
    position: fixed; z-index: 30; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .4rem; padding: .4rem;
    background: rgba(14, 25, 18, .95); border-radius: 100px; box-shadow: 0 15px 35px -12px #000;
    translate: 0 160%; visibility: hidden; transition: translate .45s var(--ease), visibility .45s;
  }
  .dock.is-on { translate: 0 0; visibility: visible; }
  .dock a { display: grid; place-items: center; min-height: 2.9rem; border-radius: 100px; color: #f2ecdc; font-weight: 600; font-size: .95rem; text-decoration: none; }
  .dock .dock-main { background: var(--sun); color: #14200f; }
}

@media (max-width: 420px) {
  .brand span em { display: none; }
  .facts { gap: 1.8rem 1rem; }
  .label { padding-inline: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; translate: none; }
  .motes, .rays { display: none; }
}
