/* Szostaki — pracownia ceramiczna
   Palette & type derived from the brand's Instagram story templates. */

:root {
  --cream: #FBFAF3;
  --paper: #F3F0E4;
  --forest: #43724E;
  --forest-deep: #2E4F36;
  --sage: #A4BF92;
  --sage-soft: #E4ECDB;
  --rose: #DFAFB1;
  --rose-soft: #F7E7E6;
  --ink: #252A24;
  --muted: #5D685B;
  --line: #DCDCCB;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Sacramento', 'Brush Script MT', cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 30px 60px -36px rgb(46 79 54 / .38);
  --haze-rose: radial-gradient(45% 45% at 85% 40%, rgb(223 175 177 / .22), transparent 70%);
  --haze-sage: radial-gradient(45% 45% at 12% 58%, rgb(164 191 146 / .24), transparent 70%);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); }
strong, b { font-weight: 600; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--forest); margin: 0 0 .5em; line-height: 1.1; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.caps { font-style: italic; font-weight: 400; letter-spacing: 0; }
.script { font-family: var(--font-script); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: var(--ink); display: block; margin-bottom: .35em; }
.script.rose { color: #B97C80; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-paper { background: var(--haze-rose), var(--haze-sage), linear-gradient(180deg, var(--cream), var(--paper) 18%, var(--paper) 82%, var(--cream)); }
.section-sage { background: var(--haze-rose), linear-gradient(180deg, var(--cream), var(--sage-soft) 18%, var(--sage-soft) 82%, var(--cream)); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--forest); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  font: 500 .95rem/1 var(--font-body); letter-spacing: .03em;
  text-decoration: none; border: 1.5px solid var(--forest);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-small { padding: .65em 1.2em; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill { display: inline-block; padding: .45em 1em; border-radius: 999px; background: var(--rose-soft); color: #8F5559; font-size: .9rem; font-weight: 400; }
.todo { background: repeating-linear-gradient(-45deg, #FFF3C4, #FFF3C4 6px, #FFE9A3 6px, #FFE9A3 12px); color: #6B5200; padding: 0 .4em; border-radius: 4px; font-size: .92em; }
.arrow-link { font-weight: 400; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.arrow-link::after { content: ' →'; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 250 243 / .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand-mark { width: 44px; height: 44px; }
/* The tagline sets the width; the SZOSTAKI wordmark (lettering from the round logo) scales to match it.
   width: 0 keeps the image from widening the column; min-width then fills it. */
.brand-text { display: grid; width: max-content; line-height: 1; }
/* Negative side margins match the script's swashes, which overhang the tagline's box */
.brand-word { width: 0; min-width: calc(100% + 3px); height: auto; margin: 0 -1px 5px -2px; }
.brand-tag { font-family: var(--font-script); font-size: 1.3rem; line-height: .8; margin-top: -1px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: .98rem; padding-block: 6px; position: relative; }
.site-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rose); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--forest); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, background .25s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--gutter) 32px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { justify-content: center; }
}

/* Hero: full-bleed photo */
.hero { --fade: clamp(170px, 22vw, 300px); position: relative; min-height: min(92svh, 860px); margin-top: calc(-1 * var(--header-h)); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: var(--cream); }
.hero-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Photo and its shade fade out together through a mask, so the page's own cream shows through.
   The stops follow an ease-in-out curve over --fade, which hides where the fade starts and ends. */
.hero-img {
  --m: linear-gradient(180deg, #000 calc(100% - var(--fade)),
    rgb(0 0 0 / .96) calc(100% - var(--fade) * .88), rgb(0 0 0 / .86) calc(100% - var(--fade) * .75),
    rgb(0 0 0 / .68) calc(100% - var(--fade) * .6), rgb(0 0 0 / .45) calc(100% - var(--fade) * .44),
    rgb(0 0 0 / .24) calc(100% - var(--fade) * .28), rgb(0 0 0 / .08) calc(100% - var(--fade) * .13),
    transparent 100%);
  -webkit-mask-image: var(--m); mask-image: var(--m);
}
/* Shade is darkest behind the text, then lifts so the fade below reads as light, not grey */
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 32 24 / .5) 0, transparent 24%, transparent 36%, rgb(30 45 33 / .55) calc(100% - var(--fade) * 1.05), rgb(30 45 33 / .1) 100%); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: drift 24s ease-out both; }
.hero-content { padding-block: calc(var(--header-h) + 64px) calc(var(--fade) * .85); max-width: 760px; }
.hero h1 { color: var(--cream); font-weight: 400; text-shadow: 0 2px 30px rgb(20 30 22 / .35); }
.hero h1 em { font-style: italic; }
.hero .script { color: var(--rose-soft); }
.hero .lead { color: var(--cream); margin-bottom: .5em; }
/* The workshop line is its own paragraph, same size and colour as the product line (both are .lead) */
.hero .hero-sub { margin-bottom: 0; }
/* Phones crop the photo tall, putting brighter leaves behind the text: a soft shadow lifts it off */
@media (max-width: 880px) {
  .hero .lead, .hero .hero-sub { text-shadow: 0 1px 2px rgb(20 30 22 / .5), 0 2px 16px rgb(20 30 22 / .45); }
}
.hero .btn { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }
.hero .btn:hover { background: var(--rose-soft); border-color: var(--rose-soft); }
.hero .btn-outline { background: rgb(251 250 243 / .1); color: var(--cream); border-color: rgb(251 250 243 / .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn-outline:hover { background: var(--cream); color: var(--forest-deep); }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 600px) { .hero { min-height: 88svh; } .hero-img img { object-position: 60% 50%; } }
.has-hero .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* Over the photo the whole logo turns cream (still one colour), as do the desktop links */
.has-hero .site-header:not(.scrolled) .brand { color: var(--cream); }
.has-hero .site-header:not(.scrolled) .brand img { filter: brightness(0) invert(.97); }
.has-hero .site-header:not(.scrolled) .nav-toggle-bars,
.has-hero .site-header:not(.scrolled) .nav-toggle-bars::before,
.has-hero .site-header:not(.scrolled) .nav-toggle-bars::after { background: var(--cream); }
.has-hero .site-header:not(.scrolled) .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
@media (min-width: 881px) {
  .has-hero .site-header:not(.scrolled) .site-nav ul a { color: var(--cream); }
  .has-hero .site-header:not(.scrolled) .site-nav .btn { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }
}
/* On phones the tall crop puts bright, busy leaves behind the logo, so the header gets
   a frosted forest-green bar: the photo still shows through, blurred, under the cream logo */
@media (max-width: 880px) {
  /* A light tint over a strong blur; brightness() dims the photo itself, so the glass stays see-through */
  .has-hero .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgb(251 250 243 / .1), rgb(46 79 54 / .22));
    backdrop-filter: blur(10px) saturate(1.5) brightness(.78); -webkit-backdrop-filter: blur(10px) saturate(1.5) brightness(.78);
    border-bottom-color: rgb(251 250 243 / .22);
  }
  .has-hero .site-header:not(.scrolled) .brand img { filter: brightness(0) invert(.97) drop-shadow(0 1px 2px rgb(20 30 22 / .35)); }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; text-align: center; }
.page-hero { background: var(--haze-rose), var(--haze-sage); }
.page-hero h1 { font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.6rem); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media.arch { border-radius: var(--arch); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* Two pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.pillar { position: relative; display: block; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--cream); aspect-ratio: 4 / 5; box-shadow: var(--shadow); isolation: isolate; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.pillar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(30 45 33 / .72)); z-index: -1; }
.pillar:hover img { transform: scale(1.04); }
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); }
.pillar h3 { color: var(--cream); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .3em; }
.pillar p { margin: 0 0 14px; color: rgb(251 250 243 / .88); max-width: 30em; }
.pillar .arrow-link { color: var(--cream); }
.pillar:hover { color: var(--cream); }
.pillars-2 { grid-template-columns: repeat(2, 1fr); }
.pillars-2 .pillar { aspect-ratio: 4 / 3.4; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } .pillar { aspect-ratio: 4 / 3.6; } }

/* Offers / pricing */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.offer { background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 4vw, 48px); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.offer.featured { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.offer.featured h3, .offer.featured .price { color: var(--cream); }
.offer.featured .muted, .offer.featured li { color: rgb(251 250 243 / .86); }
.offer h3 { font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.offer .tag { font-family: var(--font-script); font-size: 1.9rem; line-height: 1; color: #B97C80; margin-bottom: 8px; }
.offer.featured .tag { color: var(--rose); }
.price { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--forest); font-weight: 500; line-height: 1; margin: 10px 0 4px; }
.price small { font-family: var(--font-body); font-size: 1rem; font-weight: 300; }
.offer ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.offer li { padding-left: 30px; position: relative; }
.offer li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-radius: 0 0 16px 16px; background: var(--sage); }
.offer.featured li::before { background: var(--rose); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer.featured .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.offer.featured .btn:hover { background: var(--rose-soft); }
/* Phones: the packages sit in one row you swipe; the next card peeks in from the right.
   The row runs edge to edge, with the gutter kept as padding so the first card lines up with the text. */
@media (max-width: 760px) {
  .offers { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .offers::-webkit-scrollbar { display: none; }
  .offer { flex: 0 0 84%; scroll-snap-align: start; }
}

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 70px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--forest); font: 700 1.3rem/1 var(--font-display); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 64px; right: -12px; border-top: 1.5px dashed var(--sage); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-left: 72px; min-height: 52px; }
  .step::after { display: none; }
}

/* Locations */
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.location { background: var(--cream); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.location-media { aspect-ratio: 16 / 10; overflow: hidden; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-body { padding: clamp(22px, 3vw, 32px); }
.location h3 { font-style: italic; font-weight: 400; margin-bottom: .2em; }
.location .script { font-size: 1.7rem; color: var(--muted); }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 240px); gap: clamp(8px, 1.2vw, 16px); }
.mosaic figure { margin: 0; border-radius: 22px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
/* Two columns on phones; dense packing backfills the gap a tall photo would leave beside a wide one */
@media (max-width: 720px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; } }

/* Video feature */
.video-feature { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.video-frame { border-radius: var(--arch); overflow: hidden; aspect-ratio: 9 / 16; background: var(--forest-deep); box-shadow: var(--shadow); position: relative; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgb(251 250 243 / .85); color: var(--forest); cursor: pointer; display: grid; place-items: center; }
.video-toggle svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .video-feature { grid-template-columns: 1fr; } .video-frame { max-width: 320px; margin-inline: auto; } }

/* Garden bed (home page): products stand at different heights on one soil line,
   each with a plant-label stake. Ported from the /redesign page. */
.bed-sec { --bed-h: clamp(320px, 38vw, 540px); }
.bed-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.bed-intro h2 { margin: 0; }
.bed-intro p { margin: 0; color: var(--muted); font-size: 1.12rem; max-width: 34em; }
@media (max-width: 760px) { .bed-intro { grid-template-columns: 1fr; } }
/* Heading with its text underneath, rather than side by side */
.bed-intro-stacked { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bed { --gap: clamp(6px, 1vw, 14px); list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1320px; }
.bed li { padding-inline: var(--gap); }
.bed a { position: relative; display: grid; grid-template-rows: var(--bed-h) auto auto; text-decoration: none; color: var(--ink); }
.bed-bloom { align-self: end; height: var(--h); border-radius: 999px 999px 0 0; overflow: hidden; border-bottom: 2px solid var(--forest); }
.bed-bloom img { width: 100%; height: 100%; object-fit: cover; }
/* The soil line continues across the gaps between plants */
.bed li:not(:last-child) a::after { content: ''; position: absolute; top: calc(var(--bed-h) - 2px); right: calc(-2 * var(--gap)); width: calc(2 * var(--gap)); border-top: 2px solid var(--forest); }
.bed-marker { justify-self: start; margin: -26px 0 0 18px; position: relative; padding: 10px 18px 20px; background: var(--sage-soft); color: var(--forest-deep); font: 400 1.9rem/1 var(--font-script); clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); box-shadow: inset 0 0 0 1px rgb(67 114 78 / .15); transition: background .2s; }
.bed-note { margin-top: 10px; padding-left: 18px; font-size: .95rem; color: var(--muted); max-width: 18em; }
.bed a:hover .bed-marker { background: var(--rose-soft); }
.bed a:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; border-radius: 6px; }
@media (max-width: 760px) {
  .bed-sec { --bed-h: 340px; }
  .bed { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .bed li { flex: 0 0 62vw; scroll-snap-align: start; }
}

/* Main products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.product { text-decoration: none; color: inherit; display: block; }
.product:hover { color: inherit; }
.product-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; aspect-ratio: 5 / 4; margin-bottom: 22px; }
.product-media > * { border-radius: 26px; overflow: hidden; }
.product-media > :first-child { border-radius: 999px 999px 26px 26px; }
.product-media .stack { display: grid; gap: 12px; border-radius: 0; }
.product-media .stack > * { border-radius: 26px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product-media img { transform: scale(1.04); }
.product h3 { font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: .25em; }
.product p { color: var(--muted); max-width: 32em; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.feature-media > * { border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 3; }
.feature-media > :last-child { margin-bottom: 18%; border-radius: 26px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature .badge { display: inline-block; padding: .4em 1em; border-radius: 999px; background: var(--rose-soft); color: #8F5559; font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.feature ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.feature li { padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: rgb(251 250 243 / .7); font-size: .95rem; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } .feature-media { max-width: 520px; } }

/* Group offer cards */
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.occasion { background: rgb(251 250 243 / .75); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 36px); }
.occasion h3 { font-style: italic; font-weight: 400; }
.occasion p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .occasions { grid-template-columns: 1fr; } }

/* Product strip */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.strip a { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.strip a:hover img { transform: scale(1.05); }
@media (max-width: 880px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* Instagram CTA band */
.ig-band { background: var(--forest); color: var(--cream); text-align: center; overflow: hidden; }
.ig-band h2 { color: var(--cream); }
.ig-band .script { color: var(--rose); }
.ig-band p { color: rgb(251 250 243 / .85); }
.ig-band .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.ig-band .btn:hover { background: var(--rose-soft); color: var(--forest-deep); }
.ig-band .btn-outline { background: transparent; color: var(--cream); }

/* Gallery */
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 18px 24px; border-radius: 999px; background: var(--rose-soft); max-width: 860px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.notice p { margin: 0; }
@media (max-width: 600px) { .notice { border-radius: 22px; } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filters button { font: 400 .95rem/1 var(--font-body); padding: .75em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--forest); }
.filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.gallery { columns: 3 280px; column-gap: clamp(10px, 1.4vw, 18px); }
.gallery figure { margin: 0 0 clamp(10px, 1.4vw, 18px); break-inside: avoid; border-radius: 20px; overflow: hidden; position: relative; background: var(--paper); }
.gallery figure[hidden] { display: none; }
.gallery button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery button:focus-visible { outline: 2px solid var(--forest); outline-offset: -4px; }
.gallery img { width: 100%; transition: transform .6s, opacity .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: .35em .8em; border-radius: 999px; background: rgb(251 250 243 / .9); font-size: .82rem; font-weight: 400; color: var(--forest); opacity: 0; transform: translateY(4px); transition: all .25s; pointer-events: none; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { opacity: 1; transform: none; }

.category-intros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.category-intros h3 { font-size: 1.2rem; margin-bottom: .3em; }
.category-intros p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 880px) { .category-intros { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .category-intros { grid-template-columns: 1fr; } }

/* Product groups (Produkty page) */
.group-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.group-nav a { padding: .7em 1.3em; border-radius: 999px; border: 1px solid var(--forest); color: var(--forest); text-decoration: none; font-weight: 400; transition: background .2s, color .2s; }
.group-nav a:hover { background: var(--forest); color: var(--cream); }
.group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.group.reverse > :first-child { order: 2; }
.group .product-media { margin: 0; }
.group-body .badge { display: inline-block; padding: .4em 1em; border-radius: 999px; background: var(--rose-soft); color: #8F5559; font-size: .85rem; font-weight: 500; margin-bottom: 18px; }
.group-body h2 { margin-bottom: .35em; }
.forms { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.forms li { padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: rgb(251 250 243 / .7); font-size: .95rem; }
@media (max-width: 880px) {
  .group { grid-template-columns: 1fr; }
  .group.reverse > :first-child { order: 0; }
  .group .product-media { max-width: 560px; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgb(28 36 30 / .92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox-caption { color: var(--cream); text-align: center; margin-top: 14px; font-size: .95rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(251 250 243 / .12); color: var(--cream); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgb(251 250 243 / .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; translate: 0 -50%; }
.lb-next { right: 10px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lightbox-inner { padding: 64px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; } .lb-prev { left: calc(50% - 58px); } .lb-next { right: calc(50% - 58px); } }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.value { text-align: center; padding: 8px; }
.value-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; color: var(--forest); }
.value-icon svg { width: 34px; height: 34px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: var(--forest); font-style: italic; text-align: center; max-width: 24em; margin: 0 auto; text-wrap: balance; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--paper); border-radius: 26px; padding: clamp(28px, 4vw, 48px); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--forest); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-weight: 600; color: var(--forest); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
/* Long addresses (the e-mail) may break rather than widen the page on small phones */
.contact-list a, .contact-direct a { overflow-wrap: anywhere; }

/* Contact form */
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 880px) { .form-split { grid-template-columns: 1fr; } }
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 44px); }
.form-title { font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field-row > .field:only-child { grid-column: 1 / -1; }
.field > span { font-size: .92rem; font-weight: 500; color: var(--forest-deep); }
.field small { font-weight: 300; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: .75em .95em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2343724E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .95em center / 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgb(67 114 78 / .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4555A; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-size: .97rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--forest-deep); background: var(--sage-soft); padding: 12px 16px; border-radius: 12px; }
.form-status.error { color: #8E3B40; background: var(--rose-soft); padding: 12px 16px; border-radius: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-direct li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-direct span { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest-deep); color: rgb(251 250 243 / .82); padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .97rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1.3fr; gap: 36px; }
.footer-brand img { width: 150px; opacity: .95; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgb(251 250 243 / .14); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: rgb(251 250 243 / .6); }
.footer-bottom p { margin: 0; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1.1s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-img img { animation: none; }
  * { transition-duration: 0s !important; }
}
