/* Home, selling order (Nov 2026): one look below the 3D — dark background, cream cards, blue for actions. */
.jobs, .hw, .tr { position: relative; z-index: 1; background: #0B1315; color: #ECF0F0; padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid #172427; }
.sl-kicker { margin: 0 0 14px; font: 500 15px var(--mono); color: #E0705C; }
.sl-title { margin: 0; font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.05em; max-width: 17ch; }
.sl-sub { margin: 16px 0 0; color: #A6B4B6; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

/* three jobs */
.jobs__list { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jobs__list li { background: #EEEAE2; color: #142022; border-radius: 14px; padding: 26px 26px 30px; display: grid; gap: 40px; align-content: space-between; min-height: 280px; }
.jobs__list span { font: 500 14px var(--mono); color: #A33A28; }
.jobs__list h3 { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -.04em; }
.jobs__list p { margin: 12px 0 0; color: #454E50; }

/* how it works */
.hw__steps { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #253438; }
.hw__steps li { padding: 24px 22px 6px 0; border-right: 1px solid #253438; padding-left: 22px; }
.hw__steps li:first-child { padding-left: 0; } .hw__steps li:last-child { border-right: 0; }
.hw__steps span { font: 500 14px var(--mono); color: #E0705C; }
.hw__steps h3 { margin: 14px 0 0; font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; }
.hw__steps p { margin: 8px 0 0; color: #A6B4B6; font-size: 15.5px; }
.hw__more { margin: 34px 0 0; } .hw__more a { color: #ECF0F0; text-decoration: none; font-weight: 500; border-bottom: 1px solid #4E6166; padding-bottom: 2px; }
.hw__more a:hover { border-color: #ECF0F0; }

/* trust */
.tr__top { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tr__face .photo { aspect-ratio: 4 / 5; object-position: 50% 30%; border-radius: 14px; }
.tr__txt { margin: 20px 0 0; color: #C9C9D1; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; max-width: 54ch; }
.tr__txt strong { color: #ECF0F0; font-weight: 500; }
.tr .btn--line { margin-top: 28px; }
.tr__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 7vh, 72px); }
.tr__photos figure { margin: 0; } .tr__photos .photo { aspect-ratio: 3 / 2; }
.tr__photos figcaption { margin-top: 10px; font: 13px var(--mono); color: #A6B4B6; }

/* packages join the dark look: the table and extras stay cream cards */
.pk { background: #0B1315; color: #ECF0F0; border-top: 1px solid #172427; }
.pk__title { color: #ECF0F0; } .pk__intro, .pk__foot { color: #A6B4B6; } .pk__foot a { color: #ECF0F0; }

@media (max-width: 860px) {
  .jobs__list { grid-template-columns: 1fr; } .jobs__list li { min-height: 0; gap: 22px; }
  .hw__steps { grid-template-columns: 1fr 1fr; } .hw__steps li { border-right: 0; padding-left: 0; border-bottom: 1px solid #253438; padding-bottom: 22px; }
  .tr__top { grid-template-columns: 1fr; } .tr__face { max-width: 260px; }
  .tr__photos { grid-template-columns: 1fr; }
}

/* Content pass (17 Nov 2026): free first idea under the hero buttons, results on the work cards, the new client, packages FAQ, client quotes */
.rbh__idea { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: #A6B4B6; max-width: 44ch; }
.rbh__idea a { color: #ECF0F0; text-underline-offset: 3px; }
.rbh__idea a:hover { color: #E0705C; }
.wk__res { margin: 10px 0 0; color: #ECF0F0; font-weight: 500; line-height: 1.45; max-width: 46ch; }
.wk__new { display: flex; gap: 14px; align-items: baseline; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid #1D2B2F; color: #A6B4B6; line-height: 1.55; max-width: 90ch; }
.wk__new b { flex: none; font: 500 12px "Geist Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: #B8432F; padding: 3px 8px; border-radius: 4px; }
.wk__new a { color: #ECF0F0; font-weight: 500; text-underline-offset: 3px; }
.pk-faq { margin-top: clamp(48px, 7vw, 80px); max-width: 860px; }
.pk-faq__t { margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; color: #ECF0F0; }
.pk-faq .faq { border-top-color: #1D2B2F; }
.pk-faq .faq details { border-bottom-color: #1D2B2F; }
.pk-faq .faq summary { color: #ECF0F0; font-family: "Bricolage Grotesque", "Geist", system-ui, sans-serif; font-size: clamp(1.05rem, 1.5vw, 1.25rem); padding: 20px 0; }
.pk-faq .faq summary i { border-color: #33464B; }
.pk-faq .faq details[open] summary i { background: #B8432F; border-color: #B8432F; }
.pk-faq .faq details p { color: #A6B4B6; }
.pk-faq .faq a { color: #ECF0F0; }
.tr__quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.cquote { margin: 0; padding: 24px 26px; background: #EEEAE2; color: #142022; border-radius: 10px; }
.cquote blockquote { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; }
.cquote figcaption { margin-top: 14px; font: 500 13px "Geist Mono", ui-monospace, monospace; color: #454E50; }
.cquote figcaption a { color: #A33A28; }
@media (max-width: 640px) { .wk__new { flex-direction: column; gap: 8px; } }

/* ---------- "Your website should do three jobs" as editorial rows (18 Nov 2026, Darco chose option 2) ----------
   no boxes: hairline rows with the job (big), what we build + the client result that proves it, and a screenshot of
   that client's page, dimmed until the row is hovered or focused */
.jobs__rows { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; border-top: 1px solid #22343A; }
.jobs__rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .62fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(26px, 4vh, 40px) 0; border-bottom: 1px solid #22343A; }
.jobs__rows h3 { margin: 0; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.04em; color: #ECF0F0; text-wrap: balance; }
.jobs__txt p { margin: 0; color: #A6B4B6; font-size: 1.05rem; line-height: 1.55; max-width: 46ch; }
.jobs__txt .jobs__proof { margin-top: 16px; color: #ECF0F0; font-size: .98rem; }
.jobs__proof b { display: block; margin-bottom: 4px; font: 500 12.5px var(--mono); letter-spacing: .02em; color: #E0705C; }
.jobs__shot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #22343A; aspect-ratio: 16 / 10; opacity: .45; transform: translateX(8px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.jobs__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.jobs__rows li:hover .jobs__shot, .jobs__rows li:focus-within .jobs__shot { opacity: 1; transform: none; border-color: #3A4E53; }
@media (hover: none) { .jobs__shot { opacity: 1; transform: none; } }   /* touch screens: the screenshots are simply shown */
@media (max-width: 900px) {
  .jobs__rows li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jobs__rows h3 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .jobs__rows li { grid-template-columns: 1fr; gap: 14px; }
  .jobs__shot { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .jobs__shot { transition: none; } }

/* =====================================================================================================
   Home typesetting and spacing pass (18 Nov 2026). Same fonts (Geist), one system for every home section:
   - roles: display (hero), section title (h2), item title (h3), body, meta. Nothing else.
   - no eyebrow labels above headings (removed from the markup); the code font only for code-like things (the logo)
   - light text on dark: one step heavier, a touch more leading and tracking, brighter tones (no thin grey)
   - tracking never tighter than -0.04em; headings balanced, paragraphs "pretty" (no lone last words)
   - spacing scale (4-based): 8 / 12 / 16 / 24 / 32 / 48 / 64, sections 96-144; more space above a heading than below
   ===================================================================================================== */
:is(.rbh, .wk, .jobs, .pk, .hw, .tr, .ask, .sp-end) {
  --t-text: #ECF0F0;   /* titles, emphasis */
  --t-body: #C7D1D2;   /* running text on dark: brighter than the old #A6B4B6 */
  --t-meta: #A9B6B8;   /* places, captions */
  -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto;   /* "antialiased" drew light-on-dark text thinner */
  font-kerning: normal;
}
:is(.rbh, .wk, .jobs, .pk, .hw, .tr, .ask, .sp-end) :is(h1, h2, h3) { text-wrap: balance; font-kerning: normal; }
:is(.rbh, .wk, .jobs, .pk, .hw, .tr, .sp-end) p { text-wrap: pretty; }

/* section rhythm: the same breathing room between every section */
body :is(.wk, .jobs, .hw, .tr) { padding-block: clamp(96px, 13vh, 144px); }

/* display: the hero promise */
body .rbh .rbh__t { letter-spacing: -.04em; line-height: 1.02; font-weight: 600; }
body .rbh .rbh__b { margin-top: 24px; font-size: clamp(1.1rem, 1.45vw, 1.25rem); line-height: 1.55; font-weight: 450; color: var(--t-body); max-width: 38ch; }
body .rbh .rbh__btns { margin-top: 32px; gap: 12px; }
body .rbh .rbh__idea { margin-top: 20px; font-size: 15.5px; line-height: 1.55; font-weight: 450; color: var(--t-meta); max-width: 44ch; }

/* section titles: one size, one tracking, one gap to what follows */
body :is(.wk__title, .sl-title, .pk__title, .sp-end__h) { font-weight: 600; font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
body .ask .hello h2 { letter-spacing: -.035em; }
body :is(.wk__sub, .sl-sub, .pk__intro, .tr__txt, .sp-end__p) { margin-top: 16px; font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.6; font-weight: 450; color: var(--t-body); max-width: 56ch; }
body .pk__intro strong, body .tr__txt strong { font-weight: 600; color: var(--t-text); }
body :is(.wk__grid, .jobs__rows, .hw__steps) { margin-top: clamp(48px, 7vh, 64px); }

/* item titles and their text */
body .wk__card h3 { letter-spacing: -.03em; line-height: 1.12; }
body .wk__meta { margin: 20px 0 8px; font: 500 14px/1.4 var(--sans); letter-spacing: .005em; color: var(--t-meta); }
body .wk__res { margin-top: 12px; font-size: 1.06rem; line-height: 1.5; font-weight: 500; color: var(--t-text); }
body .wk__idea { margin-top: 8px; font-size: 1rem; line-height: 1.6; font-weight: 450; color: var(--t-body); }
body .jobs__rows h3 { letter-spacing: -.03em; line-height: 1.08; }
body .jobs__txt p { font-size: 1.06rem; line-height: 1.6; font-weight: 450; color: var(--t-body); }
body .jobs__txt .jobs__proof { margin-top: 20px; font-weight: 500; color: var(--t-text); }
body .jobs__proof b { margin-bottom: 6px; font: 600 14px/1.3 var(--sans); letter-spacing: .005em; color: #E0705C; }
body .hw__steps span { font: 600 15px/1 var(--sans); color: #E0705C; font-variant-numeric: tabular-nums; }
body .hw__steps h3 { margin-top: 16px; letter-spacing: -.025em; line-height: 1.2; }
body .hw__steps p { margin-top: 8px; font-size: 1rem; line-height: 1.6; font-weight: 450; color: var(--t-body); }
body .tr__photos figcaption { margin-top: 12px; font: 500 14px/1.4 var(--sans); color: var(--t-meta); }

/* the hero's open state: caption, tabs, note in the same roles */
body .rbh .hx__where { font: 500 14px/1.4 var(--sans); letter-spacing: .005em; color: var(--t-meta); }
body .rbh .hx__res { font-weight: 600; letter-spacing: -.01em; }
body .rbh .hx__idea { font-size: 1rem; line-height: 1.55; font-weight: 450; color: var(--t-body); }
body .rbh .rbh__nh { letter-spacing: -.025em; }
body .rbh .rbh__note p { font-size: 1.02rem; line-height: 1.6; font-weight: 450; color: var(--t-body); }
body .rbh .hx-tabs button { padding: 14px 8px 6px 0; font-size: 15px; font-weight: 500; color: var(--t-meta); }
body .rbh .hx-tabs button[aria-current="true"] { color: var(--t-text); }

/* the final call on brick: same roles, warm tints instead of grey */
body .sp-end__p { color: #FCE8E3; }
body .sp-end__next b { letter-spacing: -.02em; }
body .sp-end__next small { font-weight: 450; color: #FCE8E3; }
body .sp-end__next span { font: 600 15px/1 var(--sans); color: #FCE8E3; padding-top: 4px; }

/* browser surfaces in the brand's colours: selection, scrollbar, caret, focus */
::selection { background: #B8432F; color: #FFFFFF; }
:root:has(body.page-home) { scrollbar-color: #33464B #0B1315; accent-color: #B8432F; caret-color: #D2553D; }
:is(.rbh, .wk, .jobs, .pk, .hw, .tr, .ask, .sp-end) :is(a, button):focus-visible { outline: 2px solid #E0705C; outline-offset: 3px; }
body .sp-end :is(a, button):focus-visible { outline-color: #FFFFFF; }

@media (max-width: 760px) {
  body :is(.wk, .jobs, .hw, .tr) { padding-block: 72px; }
  body :is(.wk__title, .sl-title, .pk__title, .sp-end__h) { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  body :is(.wk__grid, .jobs__rows, .hw__steps) { margin-top: 40px; }
}
body .wk__card h3::after { content: "→"; margin-left: .32em; }

/* ---------- client logos under the laptop (home, "Organisations we work with") ---------- */
.lr { list-style: none; margin: clamp(40px, 6vh, 56px) 0 0; padding: clamp(22px, 3vh, 30px) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  border-block: 1px solid #22343A; }
.lr li { display: flex; }
.lr__a { display: flex; align-items: center; padding: 6px 4px; border-radius: 6px; opacity: .72; transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.lr__a:hover, .lr__a:focus-visible { opacity: 1; transform: translateY(-2px); }
.lr__a:focus-visible { outline: 2px solid #E0705C; outline-offset: 4px; }
.lr__a img { display: block; width: auto; max-width: 190px; filter: brightness(0) invert(1); }   /* every logo in one colour: white */
.lr--patrz img { height: 44px !important; }   /* its artwork sits small inside the file */
.lr--wide img { height: 30px; }
.lr--square img { height: 46px; }
body .wk__grid { margin-top: clamp(40px, 6vh, 56px); }
@media (max-width: 760px) {
  .lr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 26px 12px; }
  .lr__a img { max-width: 100%; }
  .lr li { width: 100%; justify-content: center; } .lr--patrz { width: 100%; justify-content: center; }
  .lr--patrz img { height: auto !important; width: 100%; max-width: 140px; }
  .lr--wide img { height: 24px; } .lr--square img { height: 38px; }
}

/* Guides linked from "three jobs" (19 Nov 2026) */
.jobs__guides { margin: clamp(40px, 6vw, 64px) 0 0; padding-top: 24px; border-top: 1px solid #1D2B2F; max-width: 72ch; color: #A9B6B8; line-height: 1.65; }
.jobs__guides a { color: #ECF0F0; text-underline-offset: 3px; text-decoration-color: #33464B; }
.jobs__guides a:hover { text-decoration-color: currentColor; }
.jobs__guides .jobs__all { white-space: nowrap; font-weight: 500; color: #E0705C; text-decoration: none; }
/* /packages/ page: the shared packages section without its own top padding (the page intro is above it) */
.pkpage .pk { padding-top: 0; }
/* CET's full logo (C:E:T + Platform + BULGARIA, 19 Nov 2026) needs a little more height to read like the others */
.lr--cet img { height: 62px !important; }
@media (max-width: 760px) { .lr--cet img { height: 52px !important; } }
/* /packages/: the page heading already says it, so the section's own heading is only for screen readers there (20 Nov 2026) */
.pkpage .pk__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Symbol-only logos (Mladá Vlna, Sztuka Ekologii) carry their name underneath (21 Nov 2026) */
.lr__a:has(.lr__n) { flex-direction: column; gap: 8px; text-decoration: none; }
.lr__n { text-decoration: none; font: 600 13px/1.2 var(--sans, "Bricolage Grotesque", sans-serif); letter-spacing: .01em; color: #fff; white-space: nowrap; }
.clogos li:has(.clogos__n) { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.clogos__n { font: 600 12px/1.2 var(--sans, "Bricolage Grotesque", sans-serif); color: #fff; opacity: .82; white-space: nowrap; }
@media (max-width: 760px) { .lr__n { font-size: 12px; } }
