/* Piasta, a bike workshop. The poster archetype: one dark sheet, one
   column, the price board on the first screen, photos as full-width
   strips between the sections. Archivo at two widths: the condensed cut
   for everything that shouts, the normal cut for everything you read.
   Black, signal yellow, white; nothing else. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../../fonts/demos/archivo-latin-wdth-normal.de2f1fe81758.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: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../../fonts/demos/archivo-latin-ext-wdth-normal.589f7bc0fac4.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;
}

.demo--piasta {
  --ink: #121212;
  --ink-2: #1b1b1b;
  --paper: #ffffff;
  --text: #ececec;
  --muted: #a9a9a9;
  --yellow: #f5c518;
  --yellow-deep: #e0b000;
  --line: #2e2e2e;
  --max: 1120px;
  --text-max: 820px;
  --pad: clamp(16px, 4vw, 48px);
  --radius: 12px;
  /* Tokens the shared layer (base.css) reads. */
  --d-accent: var(--yellow);
  --d-accent-ink: var(--ink);
  --d-surface: var(--ink);
  --d-fg: var(--paper);
  --d-line: var(--line);
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.demo--piasta *, .demo--piasta *::before, .demo--piasta *::after { box-sizing: border-box; }
:where(.demo--piasta) :is(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
:where(.demo--piasta) a { color: inherit; }
.demo--piasta :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.demo--piasta main { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
/* Text sections keep the poster's left edge and cap their line length. */
.wrap--text > * { max-width: var(--text-max); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--strip-h) + 72px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow);
  padding: 15px 24px; border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 11px 18px; font-size: 15px; }

/* Header */
.top {
  position: sticky; top: var(--strip-h); z-index: 10;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--pad);
  background: rgba(18,18,18,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__brand { font-stretch: 62%; font-weight: 800; font-size: 30px; letter-spacing: -0.01em; text-decoration: none; color: var(--paper); }
.top__dot { color: var(--yellow); }
.top__nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 16px; }
.top__nav a { text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.top__nav a:hover { border-bottom-color: var(--yellow); color: var(--paper); }
.top__phone { font-stretch: 80%; font-weight: 700; font-size: 19px; text-decoration: none; white-space: nowrap; color: var(--paper); }
@media (max-width: 860px) { .top { gap: 12px; } .top__phone { margin-left: auto; } .top__burger { margin-left: 0; } }
@media (max-width: 520px) { .top__phone { display: none; } .top__burger { margin-left: auto; } }

/* Section titles: condensed, big, white. */
.sec__title { font-stretch: 68%; font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: 0.004em; word-spacing: 0.1em; color: var(--paper); }
.sec__lede { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 60ch; }

/* Hero: full width, the photo as the sheet's background. */
.hero { position: relative; overflow: hidden; min-height: min(82vh, 760px); display: flex; align-items: flex-end; padding: clamp(96px, 14vw, 180px) 0 clamp(40px, 6vw, 72px); }
/* The photo is dark already; it keeps nearly its full strength and only
   its bottom melts into the sheet, so the board below starts on plain ink. */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .95; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,.25) 60%, var(--ink) 100%); pointer-events: none; }
.hero__wheel { position: absolute; right: -10vw; top: -8vw; width: clamp(420px, 52vw, 820px); height: auto; color: var(--yellow); opacity: .9; }
.hero__in { position: relative; z-index: 1; }
.hero__tag { font-weight: 600; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.hero__tag .open-now { color: var(--paper); margin-left: 2px; }
/* Condensed type needs air between words, not less: no negative tracking,
   a touch more word spacing, a line-height that lets descenders breathe. */
.hero__title { font-stretch: 66%; font-weight: 800; font-size: clamp(48px, 7.2vw, 100px); line-height: 0.96; letter-spacing: 0.004em; word-spacing: 0.12em; color: var(--paper); }
.hero__lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 50ch; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: clamp(140px, 36vw, 200px); }
  /* On a phone the wheel sits in the top right corner, above the
     headline, where nothing has to be read through it. */
  .hero__wheel { width: 360px; right: -130px; top: -90px; bottom: auto; opacity: .7; }
  /* On a phone the poster holds: the upright photo is the whole first
     screen's background, the wheel in its upper part, the headline and
     the buttons on the black lower part, as on the desktop. The gradient
     keeps the text on ink whatever photo is dropped in later. */
  .hero:has(.hero__bg) { min-height: min(calc(100svh - var(--strip-h) - 68px), 720px); padding-top: clamp(220px, 40svh, 320px); }
  /* The wheel sits in the middle of the upright photo; the photo is drawn
     half again as tall as the hero and pulled up, so the wheel lands in
     the upper part and the text on the black below it. */
  .hero__bg { height: 150%; top: -56%; bottom: auto; object-position: 80% top; opacity: 1; }
  .hero:has(.hero__bg)::after { background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,0) 38%, rgba(18,18,18,.78) 58%, var(--ink) 100%); }
}
/* Under the burger breakpoint the size follows the viewport so the first
   line always holds "Rower zostawiasz rano." whole: 22 condensed glyphs
   need about 8.7 × the font size, and the column is the viewport minus
   the gutters. A fixed 48 px wraps "rano." onto a line of its own. */
@media (max-width: 860px) { .hero__title { font-size: clamp(34px, 10.2vw, 64px); } }

/* The price board, straight after the headline. */
.board { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 104px); }
.board__list { list-style: none; padding: 0; margin-top: 32px; border-top: 2px solid var(--paper); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "what price"; column-gap: 24px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.row__name { grid-area: name; font-stretch: 80%; font-weight: 700; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.15; word-spacing: 0.06em; color: var(--paper); }
.row__what { grid-area: what; font-size: 15.5px; color: var(--muted); margin-top: 4px; }
.row__price { grid-area: price; font-stretch: 64%; font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.row--note { background: var(--yellow); color: var(--ink); margin: 14px -16px 0; padding: 18px 16px; border-bottom: 0; border-radius: 10px; }
.row--note .row__name, .row--note .row__price { color: var(--ink); }
.row--note .row__what { color: #3b3200; }
.board__foot { margin-top: 24px; color: var(--muted); max-width: 60ch; }

/* Photo strips: three squares edge to edge. */
.strip-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.strip-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 600px) { .strip-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; } }

/* Steps: numbers in the margin, one column. */
.steps { padding: clamp(56px, 7vw, 104px) 0 clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.steps__list { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
.step__n { font-stretch: 62%; font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 0.9; color: var(--yellow); }
.step h3 { font-stretch: 78%; font-weight: 700; font-size: 24px; line-height: 1.15; color: var(--paper); margin-bottom: 8px; }
.step p { font-size: 17px; max-width: 58ch; }

/* The workshop: the photo full width, the text under it. */
/* The workshop photo melts into the sheet at both ends, and the heading
   climbs onto its faded foot, so the band reads as part of the page, not
   a slab dropped on it. */
.shop { padding-top: 0; }
.shop__img {
  display: block; width: 100%; height: auto; max-height: 58vh; object-fit: cover; object-position: center 35%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 62%, transparent 100%);
}
.shop__text { padding: 0 var(--pad) clamp(56px, 7vw, 104px); margin-top: clamp(-120px, -9vw, -56px); position: relative; }
@media (max-width: 860px) { .shop__img { max-height: 48vh; } }
.shop__text p { margin-top: 18px; font-size: 17.5px; max-width: 60ch; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tags li { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14.5px; color: var(--paper); }

/* Voices: the sheet stays black. One enormous yellow quotation mark
   hangs off the right edge, and the three quotes zigzag down the page,
   left, right, left, in the poster's condensed cut. */
.voices { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.voices__mark { position: absolute; right: -2vw; top: clamp(-40px, -3vw, -16px); z-index: 0; width: clamp(260px, 34vw, 520px); height: auto; fill: var(--yellow); pointer-events: none; }
.voices .wrap { position: relative; z-index: 1; }
.voices__list { list-style: none; padding: 0; margin-top: clamp(32px, 4vw, 56px); display: grid; gap: clamp(36px, 5vw, 64px); }
.voice { position: relative; max-width: 62%; padding-left: 28px; border-left: 4px solid var(--yellow); }
.voice:nth-child(even) { margin-left: auto; text-align: right; padding-left: 0; padding-right: 28px; border-left: 0; border-right: 4px solid var(--yellow); }
.voice p { font-stretch: 70%; font-weight: 700; font-size: clamp(24px, 2.9vw, 38px); line-height: 1.1; letter-spacing: 0.004em; word-spacing: 0.06em; color: var(--paper); }
.voice p::before { content: '„'; } .voice p::after { content: '”'; }
.voice footer { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--yellow); }
@media (max-width: 860px) {
  .voices__mark { width: 150px; right: -30px; top: 8px; opacity: .35; }
  .voice { max-width: none; }
  .voice:nth-child(even) { margin-left: 0; text-align: left; padding-left: 20px; padding-right: 0; border-left: 4px solid var(--yellow); border-right: 0; }
}

/* FAQ */
.faq { padding: clamp(56px, 7vw, 104px) 0; }
.faq__list { margin-top: 28px; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 19px; color: var(--paper); }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background-color: var(--ink-2); border: 1px solid var(--line); transition: transform .2s, background-color .2s; }
.q[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.q p { padding: 0 48px 20px 0; max-width: 64ch; }

/* Contact */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 104px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info > p { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 40ch; }
.info { display: grid; gap: 18px; margin-top: 32px; }
.info dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.info dd { font-size: 17px; line-height: 1.5; color: var(--paper); }
.info a { text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.info__map { display: inline-block; margin-top: 6px; color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.contact .open-now { margin-top: 8px; font-size: 15px; }
.contact__form { background: var(--paper); color: #2a2a2a; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* Form (on the white card) */
.f-row { display: grid; gap: 16px; margin-bottom: 16px; }
.f-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .f-row--2 { grid-template-columns: 1fr; } }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-weight: 600; font-size: 15px; color: var(--ink); }
.f-label small { font-weight: 400; color: #5c5c5c; font-size: 14px; }
.f-input {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1.5px solid #c9c8c2; border-radius: 10px; padding: 13px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.f-input:hover { border-color: #8d8c86; }
.f-input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
textarea.f-input { resize: vertical; min-height: 110px; }
select.f-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.f-btn {
  font: inherit; font-weight: 700; font-size: 18px;
  background: var(--yellow); color: var(--ink); border: 0; border-radius: 10px; padding: 16px 28px; cursor: pointer; width: 100%; margin-top: 6px;
  transition: background .15s;
}
.f-btn:hover { background: var(--yellow-deep); }
.f-error, .f-errors { color: #b3261e; font-size: 14px; font-weight: 500; }
.f-errors { list-style: none; padding: 12px 14px; margin: 0 0 16px; border: 1.5px solid #b3261e; border-radius: 10px; }
.f-note { color: #5c5c5c; }
.f-sent { padding: 24px; border-radius: 10px; background: #f4f3ef; font-size: 19px; line-height: 1.45; color: var(--ink); }
.f-sent p { margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.foot { background: var(--ink); color: var(--muted); border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 0; font-size: 15px; }
/* The contact column is the widest of the two lists: it holds the hours line whole on a desktop. */
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 32px 48px; padding-bottom: 36px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h3 { font-stretch: 75%; font-weight: 700; font-size: 15px; color: var(--yellow); margin-bottom: 4px; }
.foot__col a { text-decoration: none; color: var(--text); }
.foot__col a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }
.foot__col--brand p { max-width: 36ch; }
.foot__brand { font-stretch: 62%; font-weight: 800; font-size: 26px; color: var(--paper); }
.foot__social { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.foot__social svg { width: 20px; height: 20px; }
/* The legal line: © at the left, the privacy policy at the right, on one
   line; opened, the policy takes a row of its own. The rule above it is
   drawn as a flex item so it spans the columns, not the wrap's padding. */
.foot__legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 24px; font-size: 13.5px; }
.foot__legal::before { content: ''; flex-basis: 100%; height: 1px; background: var(--line); margin-bottom: 10px; }
.foot__privacy { margin-left: auto; }
.foot__privacy[open] { flex-basis: 100%; margin-left: 0; }
.foot__privacy summary { cursor: pointer; display: inline; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot__privacy p { margin-top: 10px; max-width: 72ch; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 860px) { .foot { padding-bottom: 72px; } }
