/* Fonts — self-hosted Latin + Latin Extended subsets (Romanian diacritics) */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin-ext.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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin-ext.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.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: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/robotomono-400-latin-ext.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: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/robotomono-400-latin.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; }

:root {
  --ink: #1F2426; --ink-2: #2C3234; --ink-3: #3A4043; --muted: #6A7072; --label: #5F6567;
  --paper: #FCFCFB; --line: #E6E4DF; --chip: #E2E0DB;
  --teal: #2F4A52; --brown: #7A5A42; --night: #1B1B1B;
  --col: 42.5rem; --pad-x: clamp(22px, 6vw, 40px);
  --sans: Poppins, Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "PingFang SC", "Apple SD Gothic Neo", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans CJK KR", "Microsoft YaHei", "Malgun Gothic", sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Menlo, Consolas, monospace;
  --header-h: calc(28px + 1.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
/* Fluid base size: the browser default (usually 16px) on phones, ~19px at 1280px, ~22px at 1920px,
   ~33px on an unscaled 4K screen (3840px), capped at 200%. All text sizes and the reading column are in rem, so they scale together;
   text never drops below the reader's own default and browser zoom still works. */
html { font-size: clamp(100%, 75% + .55vw, 200%); }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--brown); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: #fff; color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 14px clamp(18px, 4vw, 40px); background: var(--night); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { height: 20px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.2vw, 26px); font-size: .875rem; }
.top nav a { color: #E2E2E2; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 72px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -18% 0; z-index: -1; background: linear-gradient(rgba(20,26,28,0.42), rgba(20,26,28,0.52)), url(../img/hero-kitchen.webp) center / cover var(--teal); transform: translate3d(0, var(--py, 0px), 0) scale(var(--sc, 1)); will-change: transform; }
.hero > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero h1 { font-weight: 600; font-size: clamp(2.5rem, 1.25rem + 5.5vw, 4.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.hero p { font-size: clamp(1rem, .9rem + .4vw, 1.125rem); font-weight: 500; }

/* Columns */
.col { max-width: var(--col); margin: 0 auto; padding-inline: var(--pad-x); }
.intro { padding-top: clamp(64px, 12vw, 120px); text-align: center; }
.intro p { font-size: clamp(1.0625rem, .95rem + .6vw, 1.3125rem); line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.label { font-family: var(--mono); font-weight: 400; font-size: .75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }

.work { padding-top: clamp(56px, 10vw, 100px); }
.cards { margin-top: 20px; }
.cards li { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 18px; align-items: start; }
.cards img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #DCD9D3; }
.cards div { display: flex; flex-direction: column; gap: 4px; }
.cards h3 { font-size: 1.0625rem; font-weight: 600; }
.cards p { font-size: .9375rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.built { padding-top: clamp(56px, 10vw, 100px); padding-bottom: clamp(64px, 12vw, 120px); display: flex; flex-direction: column; gap: clamp(40px, 7vw, 64px); }
.built .lede { margin-top: 12px; font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.family > p { margin-top: 9px; font-size: .9375rem; line-height: 1.6; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { border: 1px solid var(--chip); padding: 9px 14px; font-size: .875rem; color: var(--ink-3); }

/* Chips with descriptions (Retro, Radical, businesses). Behaviour lives in assets/js/chips.js;
   html.js is set in <head>. Without JS the description lines stay hidden. */
.offers { padding-bottom: 0; gap: 20px; }
.offers .chips { margin-top: 0; }
.chips li[tabindex] { cursor: pointer; transition: border-color .15s, color .15s; }
.chips li[tabindex]:hover, .chips li[tabindex]:focus, .chips li.is-on { border-color: var(--teal); color: var(--teal); outline: none; }
.chips li[tabindex]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chip-desc { display: none; }
.js .chip-desc { display: grid; margin-top: 16px; min-height: 3.4em; }
.chip-desc > p { grid-area: 1 / 1; margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); max-width: 52ch; text-wrap: pretty; opacity: 0; visibility: hidden; transition: opacity .15s; }
.chip-desc > .hint { color: var(--label); font-size: .875rem; }
.chip-desc > p.is-on, .chip-desc:not(.has-on) > .hint { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .chips li, .chip-desc > p { transition: none; } }

/* Contact */
.contact { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 64px); text-align: center; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: -18% 0; z-index: -1; background: linear-gradient(rgba(20,26,28,0.45), rgba(20,26,28,0.55)), url(../img/hands.webp) center / cover var(--teal); transform: translate3d(0, var(--py, 0px), 0) scale(var(--sc, 1)); will-change: transform; }
.contact > div { max-width: 560px; }
.contact h2 { font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.125rem); line-height: 1.2; margin-bottom: 16px; }
.contact p { font-size: 1.0625rem; line-height: 1.7; }
.contact .modest { margin-bottom: 14px; opacity: .88; }
.contact a, .contact a:hover { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.7); }

/* Footer */
.foot { background: var(--night); color: #A8ACAD; padding: 18px clamp(18px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-family: var(--mono); font-size: .75rem; }

/* Effects (assets/js/effects.js adds .fx only when motion is allowed) */
.top { transition: box-shadow .25s ease; }
.top.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.28); }
.top nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .25s ease, color .15s; }
.top nav a:hover, .top nav a:focus-visible { background-size: 100% 1px; }
.fx .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.fx .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fx .hero h1 { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.fx .hero p { animation: rise .8s .15s cubic-bezier(.2,.7,.2,1) both; }
.fx .hero > div, .fx .contact > div { opacity: var(--fo, 1); transform: translate3d(0, var(--fy, 0px), 0); will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) { .top, .top nav a { transition: none; } }

/* Native scroll-driven version of the hero/contact effect (Chrome/Edge 115+, incl. Android).
   Runs in the browser's compositor, no script. effects.js only takes over where this is unsupported.
   18.4% of the ::before layer (136% of the section) = 25% of the section height. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --hero block; }
    .contact { view-timeline: --contact block; }
    .hero::before { animation: hero-bg linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    .hero > div { animation: hero-text linear both; animation-timeline: --hero; animation-range: exit 0% exit 66%; }
    .contact::before { animation: contact-bg linear both; animation-timeline: --contact; animation-range: entry 0% entry 100%; }
    .contact > div { animation: contact-text linear both; animation-timeline: --contact; animation-range: entry 25% entry 80%; }
  }
}
@keyframes hero-bg { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, 18.4%, 0) scale(1.35); } }
@keyframes hero-text { to { opacity: 0; transform: translate3d(0, -70px, 0); } }
@keyframes contact-bg { from { transform: translate3d(0, -18.4%, 0) scale(1.35); } to { transform: translate3d(0, 0, 0) scale(1); } }
@keyframes contact-text { from { opacity: 0; transform: translate3d(0, 50px, 0); } to { opacity: 1; transform: none; } }

/* Narrow screens: below ~700px the nav wraps under the brand (~115px tall at 320px),
   so let the header scroll away instead of pinning a large part of the viewport. */
@media (max-width: 720px) {
  :root { --header-h: 0px; }
  .top { position: static; row-gap: 10px; }
}

/* Draft additions: buttons, nav wrap, process list, case studies, TODO placeholders */
.btn { display: inline-block; padding: 12px 22px; background: #fff; color: var(--ink); border: 1px solid #fff; font-size: .9375rem; font-weight: 600; margin: 6px 4px 0; }
.btn:hover { background: var(--paper); color: var(--brown); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn.ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero .cta { margin-top: 8px; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 720px) { .top nav { flex-basis: 100%; } }
.cards.plain li { grid-template-columns: minmax(0, 1fr); }
.note { margin-top: 18px; font-size: .9375rem; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.steps { list-style: none; counter-reset: step; margin-top: 4px; padding: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding: 16px 0 16px 3rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; font-family: var(--mono); color: var(--teal); }
.steps h3 { font-size: 1.0625rem; font-weight: 600; }
.steps p { margin-top: 4px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.case { border-top: 1px solid var(--line); padding: 16px 0; }
.case h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.case p { margin-top: 4px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.case strong { color: var(--ink-3); font-weight: 600; }
.teamtext p + p, .privacy p { margin-top: 14px; }
.teamtext p, .privacy p { font-size: 1rem; line-height: 1.7; color: var(--ink-2); max-width: 52ch; }
.privacy { padding-top: clamp(40px, 8vw, 80px); padding-bottom: clamp(56px, 10vw, 100px); }
.privacy h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; }
.foot a { color: #fff; }
mark.todo { background: rgba(255, 214, 102, .18); color: inherit; outline: 1px dashed currentColor; outline-offset: 1px; padding: 0 3px; }
.privacy mark.todo, .teamtext mark.todo, .case mark.todo, .note mark.todo { background: #FFF3C4; color: var(--ink); outline-color: var(--brown); }

/* i18n: CJK line breaking and no-JS language switcher */
:lang(ja), :lang(zh), :lang(ko) { line-break: strict; }
:lang(ko) { word-break: keep-all; }
.langs { position: relative; font-size: .875rem; }
.langs summary { cursor: pointer; list-style: none; color: #E2E2E2; padding: 2px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " \25BE"; }
.langs summary:hover, .langs[open] summary { color: #fff; border-color: #fff; }
.langs ul { position: absolute; right: 0; z-index: 20; margin: 6px 0 0; padding: 6px 0; list-style: none; min-width: 9rem; max-width: calc(100vw - 36px); background: var(--night); border: 1px solid rgba(255,255,255,.2); border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.langs li a { display: block; padding: 5px 14px; color: #E2E2E2; }
.langs li a:hover, .langs li a:focus-visible, .langs li a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 720px) { .langs { margin-left: auto; } }

/* Polish 2026-11-09: header, section rhythm, built/proof spacing */
/* Mid widths and phones: brand + language switcher share row 1, nav gets its own full row
   (otherwise the switcher wraps alone onto a third row, left-aligned). */
@media (max-width: 1140px) {
  .top { row-gap: 10px; }
  .langs { order: 2; margin-left: auto; }
  .top nav { order: 3; flex-basis: 100%; }
}
/* One vertical rhythm: every text section gets the same block padding, header-to-content gap is
   the same with or without a lede, and blocks inside a section (proof, families) get extra air. */
.built { padding-block: clamp(36px, 5vw, 56px); gap: clamp(18px, 2.4vw, 24px); }
.offers { padding-bottom: clamp(36px, 5vw, 56px); gap: clamp(18px, 2.4vw, 24px); }
.built > * + * + * { margin-top: clamp(16px, 3vw, 32px); }
.intro { padding-top: clamp(48px, 7vw, 80px); }
.work { padding-bottom: clamp(36px, 5vw, 56px); }
.built .cards, .work .cards { margin-top: 0; }
.work .cards { margin-top: 18px; }
.proof .note { margin-top: 0; }
.proof .case { margin-top: 20px; padding-top: 18px; }
.family > .label + p { margin-top: 12px; }

/* Long compound words (de, nl) on narrow screens, 2026-11-11 */
h1,h2,h3,.chips li{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
