/* Oswald – arkusz stylów strony publicznej
   Kolory: granat nici, len, czerwień haftu, zieleń liścia, drewno tamborka */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/bodoni-moda-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/bodoni-moda-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --navy: #1e2b47;
  --navy-2: #2b3a5c;
  --linen: #f0eee9;
  --paper: #ffffff;
  --thread: #a3203a;
  --thread-dark: #861a30;
  --leaf: #2f5d46;
  --wood: #c9ae84;
  --ink: #23262c;
  --muted: #5a5e67;
  --line: #d9d5cc;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 3.2vw, 2.4rem);
  --step-4: clamp(2.4rem, 5.2vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; font: 400 var(--step-0)/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--thread); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--thread-dark); }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.6em; color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Przyciski i linki */
.btn { display: inline-block; font: 600 1rem/1 var(--sans); background: var(--thread); color: #fff; padding: 1rem 1.5rem; text-decoration: none; border: 2px solid var(--thread); border-radius: 2px; cursor: pointer; }
.btn:hover { background: var(--thread-dark); border-color: var(--thread-dark); color: #fff; }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.link { font-weight: 600; color: var(--navy); text-decoration: none; background: repeating-linear-gradient(90deg, var(--thread) 0 8px, transparent 8px 13px) left bottom / 100% 2px no-repeat; padding-bottom: 3px; }
.link:hover { color: var(--thread); }

/* Szew – linia „ściegu" */
.stitch { border: 0; height: 2px; margin: 0; background: repeating-linear-gradient(90deg, var(--thread) 0 16px, transparent 16px 26px); opacity: .85; }

/* Nagłówek strony */
.masthead { background: var(--navy); color: #fff; }
.masthead__in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; }
.brand__name { font: 500 1.75rem/1 var(--serif); letter-spacing: .01em; }
.brand__since { font-size: var(--step--1); color: #c9cfdb; border-left: 1px solid #4b5877; padding-left: .75rem; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom: 2px dashed var(--wood); color: #fff; }
.nav__phone { white-space: nowrap; border: 1px solid #5b6888 !important; padding: .55rem .9rem !important; border-radius: 2px; }
.nav__phone:hover { background: var(--navy-2); }
.navtoggle { display: none; background: none; color: #fff; border: 1px solid #5b6888; font: 600 .95rem var(--sans); padding: .55rem .9rem; cursor: pointer; }

@media (max-width: 899px) {
  .navtoggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding: .5rem 0 1.5rem; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: .25rem; width: 100%; }
  .nav ul a { display: block; padding: .6rem 0; font-size: 1.1rem; }
}
.no-js .nav { display: flex; }

/* Hero */
.hero { background: var(--linen); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 17ch; }
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 38ch; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 2rem; }

/* Tamborek: zdjęcie haftu w drewnianej obręczy, obszyte ściegiem */
.hoop { margin: 0; justify-self: center; width: min(440px, 80vw); aspect-ratio: 1; position: relative; }
.hoop::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed var(--thread); }
.hoop__ring { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 12px solid var(--wood); box-shadow: inset 0 0 0 2px #a88d63, 0 0 0 2px #a88d63; background: #fff; }
.hoop__ring img { width: 100%; height: 100%; object-fit: cover; }
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@media (prefers-reduced-motion: no-preference) {
  .hoop::before { -webkit-mask: conic-gradient(#000 var(--sweep), transparent 0); mask: conic-gradient(#000 var(--sweep), transparent 0); animation: sew 1.8s cubic-bezier(.4, 0, .2, 1) .3s both; }
  @keyframes sew { from { --sweep: 0deg; } to { --sweep: 360deg; } }
}
@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; }
  .hoop { width: min(320px, 72vw); margin-top: 1rem; }
}

/* Sekcje */
.sechead { max-width: 60ch; margin-bottom: 2rem; }
.sechead p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.more { margin-top: 2rem; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.intro__text { max-width: 60ch; }
.intro__img { margin: 0; }
.intro__img figcaption, .page__img figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .6rem; }
@media (max-width: 899px) { .intro { grid-template-columns: 1fr; } }

.offers { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.offer a { text-decoration: none; color: var(--navy); display: block; }
.offer__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); margin-bottom: 1rem; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer a:hover .offer__img img { transform: scale(1.03); }
.offer__title { font: 500 var(--step-2)/1.15 var(--serif); display: inline; background: linear-gradient(var(--thread), var(--thread)) left bottom / 0 2px no-repeat; transition: background-size .3s; }
.offer a:hover .offer__title, .offer a:focus-visible .offer__title { background-size: 100% 2px; }
.offer p { color: var(--muted); margin-top: .6rem; font-size: .98rem; max-width: 42ch; }
@media (max-width: 899px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .offer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .offer__img img, .offer__title { transition: none; } }

.strengths { background: var(--navy); color: #e9ecf2; padding-block: clamp(3.5rem, 8vw, 6rem); }
.strengths h2 { color: #fff; }
.strengths__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.xlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.xlist li { padding-left: 2rem; position: relative; max-width: 52ch; }
.xlist li::before { content: "×"; position: absolute; left: 0; top: -.15em; font: 500 1.5rem/1.2 var(--serif); color: #e4808f; }
.clients p { font: italic 400 var(--step-1)/1.6 var(--serif); color: #fff; }
@media (max-width: 899px) { .strengths__in { grid-template-columns: 1fr; } }

.strip { padding-block: clamp(3.5rem, 8vw, 6rem) 0; }
.strip__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip__grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 699px) { .strip__grid { grid-template-columns: repeat(2, 1fr); } }

/* Metka – CTA wyglądające jak naszywka */
.label-cta { padding-block: clamp(3.5rem, 8vw, 6rem); }
.label-cta__tag { background: var(--linen); padding: clamp(2rem, 5vw, 3.5rem); outline: 2px dashed var(--thread); outline-offset: -14px; max-width: 860px; }
.label-cta__tag p { max-width: 50ch; color: var(--muted); }
.label-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 0; }

/* Podstrony */
.pagehead { background: var(--linen); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem); }
.pagehead h1 { max-width: 22ch; margin-bottom: .35em; }
.pagehead__lead { font-size: var(--step-1); color: var(--muted); max-width: 50ch; margin: 0; line-height: 1.5; }
.crumbs { font-size: var(--step--1); margin-bottom: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page--img { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.page__img { margin: 0; position: sticky; top: 1.5rem; }
@media (max-width: 899px) { .page--img { grid-template-columns: 1fr; } .page__img { position: static; } }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--thread); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 2px dashed var(--thread); font: italic 400 var(--step-1)/1.55 var(--serif); }
.prose img { margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; }
.prose--intro { padding-block: clamp(2rem, 5vw, 3rem); }
.offer-grid--all { padding-bottom: 1rem; }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.product__img { margin: 0; position: sticky; top: 1.5rem; }
.product__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.product__ask { margin-top: 2rem; }
@media (max-width: 899px) { .product { grid-template-columns: 1fr; } .product__img { position: static; } }

.pgallery { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.pgallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.others { border-top: 1px solid var(--line); padding-block: 2.5rem clamp(3rem, 7vw, 5rem); }
.others h2 { font-size: var(--step-1); }
.others ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.others a { display: inline-block; padding: .45rem .85rem; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: .95rem; }
.others a:hover { border-color: var(--thread); border-style: dashed; color: var(--thread); }

.works { list-style: none; margin: 0; padding: clamp(2rem, 5vw, 3rem) 0; columns: 3 280px; column-gap: 1.25rem; }
.works li { break-inside: avoid; margin-bottom: 1.25rem; }
.works figure { margin: 0; }
.works figcaption { font-size: var(--step--1); color: var(--muted); padding-top: .5rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.contact address { font-style: normal; font-size: var(--step-1); line-height: 1.5; margin-bottom: 1.5rem; }
.contact address strong { font-family: var(--serif); font-weight: 500; color: var(--navy); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 0 0 1.5rem; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; }
.contact__form h2 { font-size: var(--step-2); }
.contact form { display: grid; gap: 1.1rem; }
.contact label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.contact .opt { font-weight: 400; color: var(--muted); }
.contact input:not([type=checkbox]), .contact textarea { font: inherit; font-weight: 400; padding: .75rem .85rem; border: 1px solid #b9b4a9; border-radius: 2px; background: #fff; width: 100%; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.contact .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: var(--step--1); }
.contact .check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--thread); }
.contact button { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute !important; left: -9999px; }
.notice { background: var(--linen); padding: 1.5rem; border-left: 4px solid var(--leaf); margin-bottom: 1.5rem; }
.notice--err { border-left-color: var(--thread); }
.notice ul { margin: .25rem 0 0; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .row2 { grid-template-columns: 1fr; } }

/* Stopka */
.foot { background: var(--navy); color: #cfd5e1; padding-top: clamp(3rem, 7vw, 4.5rem); font-size: .97rem; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot__brand img { width: 72px; margin-bottom: 1rem; }
.foot__brand p { max-width: 32ch; }
.foot__addr { font-style: normal; line-height: 1.8; }
.foot__addr strong { color: #fff; font-weight: 600; }
.foot__nav { list-style: none; padding: 0; margin: 0; line-height: 2; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__legal { border-top: 1px solid #3a4867; padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: var(--step--1); }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr; } }

/* Podgląd zdjęć */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 27, 44, .9); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; background: #fff; border: 0; font: 600 1rem var(--sans); padding: .6rem 1rem; cursor: pointer; }
