/* Developers Lunch 2026 - rysunek architektoniczny, który ożywa */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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 {
  --dusk: #142033;      /* granat zmierzchu - tło sceny */
  --dusk-2: #1c2b44;
  --chalk: #e8ece7;     /* kalka kreślarska, chłodna */
  --line: #a9bcd0;      /* kreska rysunku */
  --amber: #f3b13f;     /* światło w oknie */
  --moss: #6fae7e;      /* zieleń BREEAM */
  --teal: #4cc2b5;      /* media, opomiarowanie */
  --signal: #8fd8ff;    /* ekran panelu wejściowego */
  --ink: #142033;
  --muted-d: #93a3b8;   /* tekst drugorzędny na ciemnym */
  --muted-l: #4d5b6e;   /* tekst drugorzędny na jasnym */
  --bar-h: 64px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.55;
  color: var(--chalk);
  background: var(--dusk);
  font-stretch: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0 0 1em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--amber); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--amber); color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 108%; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: #ffc35a; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-wide { width: 100%; }
.link {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- górny pasek ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: rgba(20, 32, 51, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169, 188, 208, .14);
}
.bar-mark { font-weight: 800; font-stretch: 118%; text-decoration: none; letter-spacing: -.01em; }
.bar-nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.bar-nav a { text-decoration: none; color: var(--muted-d); transition: color .2s; }
.bar-nav a:hover { color: var(--chalk); }

/* ---------- scena: rysunek + hero + agenda ---------- */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.scene-art { position: relative; }
.scene-sticky {
  position: sticky; top: var(--bar-h);
  height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h));
  display: grid; place-items: center; padding: 24px var(--gutter) 24px calc(var(--gutter) * 1.2);
}
.bld { width: 100%; height: 100%; max-height: 860px; overflow: visible; }
.scene-content { padding: 0 var(--gutter) 0 clamp(16px, 2vw, 32px); }

.hero {
  min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h));
  padding: calc(var(--bar-h) + 7vh) 0 8vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-title {
  --wdth: 125;
  font-weight: 800; font-stretch: calc(var(--wdth) * 1%);
  font-size: clamp(3rem, 6.4vw, 7rem); line-height: .9; letter-spacing: -.025em;
  margin-bottom: 28px;
}
.hero-title span { display: block; }
html.js .hero-title { --wdth: 62; }
.hero-lead { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 600; font-stretch: 106%; line-height: 1.25; max-width: 26ch; margin-bottom: 18px; }
.hero-text { color: var(--muted-d); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 14px 0 44px; }

/* tabliczka rysunkowa (jak w rogu arkusza projektu) */
.sheet {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0; max-width: 560px;
  border: 1px solid rgba(169, 188, 208, .5);
}
.sheet-row { padding: 10px 14px 12px; border: solid rgba(169, 188, 208, .5); border-width: 0 1px 1px 0; }
.sheet-row:nth-child(even):not(.sheet-wide) { border-right: 0; }
.sheet-wide { grid-column: 1 / -1; border-right: 0; }
.sheet-row:last-child { border-bottom: 0; }
.sheet dt { font-size: .78rem; color: var(--muted-d); margin-bottom: 2px; }
.sheet dd { margin: 0; font-weight: 600; font-stretch: 104%; }

.about { padding: 4vh 0 10vh; max-width: 60ch; }
.about-q { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); font-weight: 500; line-height: 1.3; font-stretch: 96%; margin-bottom: 24px; }
.about p:not(.about-q) { color: var(--muted-d); }

.agenda { padding-bottom: 32vh; }
.agenda h2, .why h2, .who h2, .partners h2, .venue h2, .register h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 800; font-stretch: 116%; letter-spacing: -.02em;
}
.agenda-sub { color: var(--muted-d); margin: 12px 0 0; max-width: 44ch; }
.ag-list { list-style: none; margin: 0; padding: 0; }
.ag {
  position: relative; min-height: 46vh; padding: 9vh 0 0 28px;
  opacity: .38; transition: opacity .5s var(--ease);
}
.ag::before {
  content: ""; position: absolute; left: 0; top: calc(9vh + 10px); bottom: -9vh;
  border-left: 1px dashed rgba(169, 188, 208, .4);
}
.ag::after {
  content: ""; position: absolute; left: -5px; top: calc(9vh + 6px); width: 11px; height: 11px;
  border: 1px solid var(--line); background: var(--dusk); transform: rotate(45deg);
  transition: background-color .4s, border-color .4s;
}
.ag:last-child::before { display: none; }
.ag.is-active, html:not(.js) .ag { opacity: 1; }
.ag.is-active::after { background: var(--amber); border-color: var(--amber); }
.ag-time {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); font-weight: 300; font-stretch: 70%;
  font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 14px; color: var(--line);
}
.ag.is-active .ag-time { color: var(--amber); }
.ag-who { font-weight: 700; font-stretch: 110%; font-size: 1.1rem; margin-bottom: 8px; }
.ag-who span { display: block; font-weight: 400; font-stretch: 100%; font-size: .92rem; color: var(--muted-d); }
.ag h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 600; line-height: 1.25; margin-bottom: 12px; max-width: 34ch; }
.ag p:last-child { color: var(--muted-d); max-width: 50ch; }

/* ---------- rysunek budynku ---------- */
.bld .ln, .bld .ln-thin, .bld .ln-hidden, .bld .win, .bld .shop, .bld .door, .bld .panel, .bld .meter {
  fill: none; stroke: var(--line); stroke-width: 1.6; stroke-linejoin: round;
}
.bld .ln-thin { stroke-width: 1; opacity: .75; }
.bld .ln-hidden { stroke-width: 1; stroke-dasharray: 5 5; opacity: .55; }
.bld .dim text, .bld .tag text { fill: var(--muted-d); font: 500 13px "Archivo", sans-serif; letter-spacing: .04em; }
.bld .dim text { fill: var(--amber); font-weight: 600; }
.bld .dim line, .bld .dim path { stroke: var(--amber); opacity: .7; }

.bld .win, .bld .shop { transition: fill .7s ease var(--d, 0ms); }
.bld .meter, .bld .panel { fill: var(--dusk); }

/* zieleń */
.bld .l-green .tree line { stroke: var(--moss); stroke-width: 2; }
.bld .l-green .tree circle { fill: rgba(111, 174, 126, .22); stroke: var(--moss); stroke-width: 1.4; }
.bld .tree, .bld .bush, .bld .leaf { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .9s var(--ease) var(--d, 0ms); }
.bld .leaf { transform-origin: 50% 50%; fill: var(--moss); }
.bld .bush { fill: var(--moss); }
.bld .vine { fill: none; stroke: var(--moss); stroke-width: 1.6; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.bld.on-green .tree, .bld.on-green .bush, .bld.on-green .leaf { transform: scale(1); }
.bld.on-green .vine { stroke-dashoffset: 0; }

/* mieszkańcy */
.bld .l-people { opacity: 0; transition: opacity .6s ease var(--d, 0ms); }
.bld .person { fill: var(--line); transition: fill .7s ease; }
.bld.on-people .l-people { opacity: 1; }
.bld.on-people .win { fill: rgba(169, 188, 208, .12); }

/* światło (smart home) */
.bld.on-light .win.lit { fill: var(--amber); }
.bld.on-light .l-people .person { fill: var(--dusk); }
.bld.on-light .win.lit { filter: drop-shadow(0 0 10px rgba(243, 177, 63, .45)); }

/* dostęp (panel wejściowy) */
.bld .screen { fill: rgba(169, 188, 208, .25); transition: fill .4s; }
.bld .panel-btn { fill: var(--line); }
.bld .door { transition: transform .9s var(--ease) .25s, fill .6s; transform-box: fill-box; }
.bld .ring { fill: none; stroke: var(--signal); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bld .welcome { stroke: var(--signal); stroke-width: 3; opacity: 0; transition: opacity .6s .5s; }
.bld.on-access .screen { fill: var(--signal); filter: drop-shadow(0 0 6px var(--signal)); }
.bld.on-access .leaf-l { transform: translateX(-20px); }
.bld.on-access .leaf-r { transform: translateX(20px); }
.bld.on-access .ring { animation: ring 2.4s ease-out infinite; }
.bld.on-access .ring-b { animation-delay: 1.2s; }
.bld.on-access .welcome { opacity: .8; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.8); } }

/* media (opomiarowanie) */
.bld .pipe { stroke: var(--teal); stroke-width: 2.4; stroke-dasharray: 6 9; opacity: 0; transition: opacity .6s; }
.bld .meter-dot { fill: var(--line); opacity: .5; transition: fill .4s var(--d, 0ms), opacity .4s var(--d, 0ms); }
.bld.on-media .pipe { opacity: 1; animation: flow 1.1s linear infinite; }
.bld.on-media .pipe-b { animation-direction: reverse; stroke: var(--amber); opacity: .8; }
.bld.on-media .meter { stroke: var(--teal); }
.bld.on-media .meter-dot { fill: var(--teal); opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -30; } }

/* lunch */
.bld .l-lunch { opacity: 0; transition: opacity .7s ease .3s; }
.bld .table { stroke: var(--dusk); stroke-width: 3; }
.bld .lunch-person { fill: var(--dusk); }
.bld.on-lunch .l-lunch { opacity: 1; }
.bld.on-lunch .shop { fill: var(--amber); filter: drop-shadow(0 0 12px rgba(243, 177, 63, .5)); }

/* opisy warstw */
.bld .tag { opacity: 0; transition: opacity .5s; }
.bld .tag path { fill: none; stroke: var(--muted-d); stroke-width: 1; }
.bld[data-focus="green"] .tag-green, .bld[data-focus="people"] .tag-people, .bld[data-focus="light"] .tag-light,
.bld[data-focus="access"] .tag-access, .bld[data-focus="media"] .tag-media, .bld[data-focus="lunch"] .tag-lunch { opacity: 1; }

/* ---------- jasne sekcje ---------- */
.why, .who { background: var(--chalk); color: var(--ink); }
.why { padding: 14vh 0 8vh; }
.why-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.why-list svg { width: 48px; height: 48px; margin-bottom: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.why-list svg .fill { fill: var(--amber); stroke: none; }
.why-list h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 108%; margin-bottom: 10px; }
.why-list p { color: var(--muted-l); margin: 0; }
.who { padding: 8vh 0 10vh; }
.who h2 { margin-bottom: 28px; }
.who-text { font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem); font-weight: 500; font-stretch: 92%; line-height: 1.18; letter-spacing: -.01em; max-width: 30ch; margin: 0; }

/* ---------- partnerzy ---------- */
.partners { padding: 10vh 0 12vh; background: var(--dusk-2); border-top: 1px solid rgba(169, 188, 208, .14); }
.partners-sub { color: var(--muted-d); max-width: 52ch; margin: 14px 0 0; }

/* tablice firmowe organizatorów - jak przy wejściu do budynku */
.plates { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.plate {
  position: relative; background: #f7f8f5; color: var(--ink);
  padding: clamp(28px, 3.4vw, 44px) clamp(22px, 2.6vw, 36px) 26px;
  display: flex; flex-direction: column; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 48px -28px rgba(0, 0, 0, .7);
}
.plate::before, .plate::after {   /* śruby mocujące tablicę */
  content: ""; position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #b9c2cc 60%, #8f9aa6);
}
.plate::before { left: 12px; }
.plate::after { right: 12px; }
.plate-logo { height: clamp(96px, 9vw, 128px); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.plate-logo img { max-height: 100%; max-width: 86%; width: auto; height: auto; }
.plate-logo img[alt="Keemple Polska"] { max-height: 66%; }
.plate-logo img[alt="ista Polska"] { max-height: 74%; }
.plate-name { font-weight: 800; font-stretch: 112%; font-size: 1.15rem; margin: 0 0 4px; padding-top: 18px; border-top: 1px solid rgba(20, 32, 51, .16); }
.plate-role { color: var(--muted-l); margin: 0; font-size: .95rem; }
html.js .plate { opacity: 0; transform: translateY(28px); }
html.js .plate.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.js .plate.is-in:nth-child(2) { transition-delay: .12s; }
html.js .plate.is-in:nth-child(3) { transition-delay: .24s; }

.guests { margin-top: 64px; }
.guests h3 { font-size: .95rem; font-weight: 500; color: var(--muted-d); padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid rgba(169, 188, 208, .3); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 72px; }
.logos li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.logos span { font-size: .88rem; color: var(--muted-d); }
.logos img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

.sheet-orgs dd { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-top: 6px; }
.sheet-orgs img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.sheet-orgs img[alt="DNAKE Poland"] { height: 40px; }

/* ---------- miejsce ---------- */
.venue { padding: 12vh 0; background: var(--chalk); color: var(--ink); }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.venue-name { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 700; font-stretch: 110%; margin: 24px 0 4px; line-height: 1.1; }
.venue-addr { font-size: 1.2rem; color: var(--muted-l); }
.sheet-light { border-color: rgba(20, 32, 51, .35); max-width: none; }
.sheet-light .sheet-row { border-color: rgba(20, 32, 51, .35); }
.sheet-light dt { color: var(--muted-l); }

/* ---------- rejestracja ---------- */
.register { padding: 14vh 0; background: var(--dusk); }
.register-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.register-intro p { color: var(--muted-d); max-width: 42ch; }
.register-intro h2 { margin-bottom: 24px; }
.register-note { border-left: 2px solid var(--amber); padding-left: 16px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field:first-child, .check, .form-error, .form .btn { grid-column: 1 / -1; }
.field label { font-size: .9rem; color: var(--muted-d); }
.field input {
  font: inherit; color: var(--chalk); background: rgba(169, 188, 208, .07);
  border: 1px solid rgba(169, 188, 208, .4); border-radius: 2px; padding: 13px 14px; min-height: 52px;
  transition: border-color .2s, background-color .2s;
}
.field input:hover { border-color: var(--line); }
.field input:focus { outline: none; border-color: var(--amber); background: rgba(169, 188, 208, .12); }
.form.was-validated input:invalid { border-color: #ff8a7a; }
.hp { position: absolute; left: -9999px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .92rem; color: var(--muted-d); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); }
.form.was-validated .check input:invalid + span { color: #ffb0a5; }
.form-error { color: #ffb0a5; margin: 0; }
.form-done { grid-column: 2; border: 1px solid var(--amber); padding: 32px; }
.form-done h3 { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; margin-bottom: 12px; color: var(--amber); }
.form-done p { margin: 0; color: var(--chalk); }

/* ---------- stopka ---------- */
.foot { background: #0f1828; color: var(--muted-d); font-size: .92rem; padding: 48px 0 56px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr 1.4fr; gap: 16px 32px; }
.foot p { margin: 0; }
.foot-mark { color: var(--chalk); font-weight: 800; font-stretch: 118%; }

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1080px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --bar-h: 58px; }
  .bar-nav { display: none; }
  .bar .btn-sm { margin-left: auto; }
  .scene { display: block; padding-top: var(--bar-h); }
  .scene-art { position: sticky; top: var(--bar-h); z-index: 5; height: 40svh; background: var(--dusk); border-bottom: 1px solid rgba(169, 188, 208, .14); }
  .scene-sticky { position: static; display: flex; justify-content: center; height: 100%; padding: 10px 16px 6px; overflow: hidden; }
  .bld { width: auto; height: 100%; max-width: 100%; min-height: 0; }
  .bar { gap: 12px; }
  .bar-mark, .bar .btn-sm { white-space: nowrap; }
  .scene-content { padding: 0 var(--gutter); }
  .hero { min-height: 0; padding: 36px 0 48px; }
  .hero-title { font-size: clamp(2.6rem, 12.6vw, 4.6rem); }
  .ag { min-height: 34svh; padding-top: 48px; }
  .ag::before { top: 58px; bottom: -48px; }
  .ag::after { top: 54px; }
  .agenda { padding-bottom: 22svh; }
  .venue-grid, .register-grid { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr; }
  .plate { padding: 30px 22px 22px; }
  .plate-logo { height: 96px; margin-bottom: 20px; }
  .form-done { grid-column: 1; }
  .why-list { gap: 40px 24px; }
}
@media (max-width: 560px) {
  .why-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: 1fr; }
  .sheet-row { border-right: 0 !important; }
  .bar-mark { font-size: .92rem; }
  .bar .btn-sm { padding: 0 12px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- pora dnia: słońce, zegar, poświata nieba ---------- */
.scene-art { --sx: 12%; --sy: 22%; --sky: 243, 177, 63; }
.scene-sticky { background: radial-gradient(circle at var(--sx) var(--sy), rgba(var(--sky), .13), transparent 46%); }
.bld .sun-core { fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 3 4; }
.bld .clock-face { fill: var(--dusk); stroke: var(--line); stroke-width: 1.4; }
.bld .clock-tick { stroke: var(--line); stroke-width: 1.2; }
.bld .hand-h, .bld .hand-m { stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; }
.bld .hand-m { stroke-width: 1.5; }
.bld .clock-pin { fill: var(--amber); }
.bld .clock-txt { fill: var(--amber); font: 600 15px "Archivo", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* ---------- dzwonek DNAKE ---------- */
.bld .bell { cursor: pointer; }
.bld .bell-hit { fill: transparent; }
.bld .bell:hover .panel { stroke: var(--signal); }
.bld .callout { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.bld .callout rect { fill: #f7f8f5; }
.bld .callout path { fill: none; stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 3; }
.bld .callout text { fill: var(--ink); font: 600 12.5px "Archivo", sans-serif; }
.bld .visitor { opacity: 0; }
.bld .visitor-p { fill: var(--signal); }
.bld.ringing .screen { fill: var(--signal); filter: drop-shadow(0 0 6px var(--signal)); }
.bld.ringing .ring { animation: ring 1.1s ease-out 3; }
.bld.ringing .ring-b { animation-delay: .55s; }
.bld.ringing .callout { opacity: 1; transform: none; transition-delay: .5s; }
.bld.ringing .leaf-l { transform: translateX(-20px); transition-delay: 1.3s; }
.bld.ringing .leaf-r { transform: translateX(20px); transition-delay: 1.3s; }
.bld.ringing .visitor { animation: walk-in 3.4s var(--ease) 1.4s both; }
@keyframes walk-in {
  0% { opacity: 0; transform: translateX(-26px); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: translateX(72px); }
  100% { opacity: 0; transform: translateX(84px); }
}
.ring-btn {
  margin-top: 6px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--signal);
  background: transparent; border: 1px solid rgba(143, 216, 255, .55); border-radius: 2px;
  padding: 10px 16px; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.ring-btn:hover { background: rgba(143, 216, 255, .1); border-color: var(--signal); }

/* ---------- licznik miejsc ---------- */
.seats-hero { margin: -24px 0 36px; color: var(--amber); font-weight: 600; font-size: .95rem; }
.seats { margin: 28px 0; max-width: 420px; }
.seats-txt { font-size: 1.15rem; font-weight: 700; font-stretch: 108%; color: var(--chalk); margin: 0 0 10px; }
.seats-bar { height: 6px; background: rgba(169, 188, 208, .18); border-radius: 3px; overflow: hidden; }
.seats-bar i { display: block; height: 100%; width: var(--fill, 0%); background: var(--amber); transition: width 1.2s var(--ease); }

/* ---------- kalendarz po zgłoszeniu ---------- */
.cal-label { margin: 22px 0 10px !important; color: var(--muted-d) !important; font-size: .9rem; }
.cal-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; color: var(--chalk); border: 1px solid rgba(169, 188, 208, .5); }
.btn-ghost:hover { background: rgba(169, 188, 208, .1); }
.venue-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* ---------- ekspert ---------- */
.speaker { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; max-width: 920px; }
.speaker-photo { width: 180px; height: 180px; object-fit: cover; border-radius: 3px; filter: grayscale(.15); }
.speaker-name { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; margin: 0 0 6px; }
.speaker-role { color: var(--muted-d); margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.speaker-logo { height: 22px; width: auto; filter: brightness(0) invert(1); }
.speaker-bio { color: var(--chalk); max-width: 64ch; margin: 0; }
@media (max-width: 560px) { .speaker { grid-template-columns: 1fr; gap: 20px; } .speaker-photo { width: 140px; height: 140px; } }

/* ---------- ekspert w oknie budynku (wystąpienie Piotra Adamczyka) ---------- */
.bld .guest-win { opacity: 0; transition: opacity .6s ease .2s; }
.bld .guest-win image { filter: grayscale(.2) contrast(1.05); }
.bld .guest-frame { fill: none; stroke: var(--amber); stroke-width: 2; }
.bld[data-focus="green"] .guest-win { opacity: 1; }
.bld[data-focus="green"] .tag-expert { opacity: 1; }
.bld .tag-expert text { fill: var(--amber); font-weight: 600; }
.bld .tag-expert path { stroke: var(--amber); stroke-dasharray: 3 3; }
.ag-person { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.ag-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(169, 188, 208, .4); filter: grayscale(.6); transition: filter .5s, border-color .5s; flex: none; }
.ag-person .ag-who { margin: 0; }
.ag.is-active .ag-person img, html:not(.js) .ag-person img { filter: none; border-color: var(--amber); }

/* ---------- odliczanie w tabliczce ---------- */
.sheet-count dd { color: var(--amber); font-variant-numeric: tabular-nums; }

/* ---------- wydarzenie w liczbach ---------- */
.facts { list-style: none; margin: 0 0 6vh; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid rgba(169, 188, 208, .3); }
.facts li { display: flex; flex-direction: column; gap: 6px; }
.facts-n { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 300; font-stretch: 70%; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.facts-n small { font-size: .38em; font-weight: 600; font-stretch: 100%; margin-left: 4px; color: var(--line); letter-spacing: .04em; }
.facts-l { font-size: .9rem; color: var(--muted-d); line-height: 1.35; max-width: 18ch; }

/* ---------- dlaczego warto: fragmenty budynku, które się zapalają ---------- */
.why-sub { color: var(--muted-l); margin: 14px 0 0; max-width: 52ch; }
.why-card { position: relative; padding: 26px 22px 24px; border: 1px solid rgba(20, 32, 51, .14); background: #f2f4f0; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.why-card:hover { transform: translateY(-4px); border-color: rgba(20, 32, 51, .3); box-shadow: 0 22px 40px -28px rgba(20, 32, 51, .55); }
.why-list .why-card svg { width: 132px; height: 110px; margin-bottom: 18px; stroke-width: 1.5; overflow: visible; }
.why-k { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-l) !important; margin: 0 0 8px !important; }
.why-card .dash { stroke-dasharray: .014 .014; }
html.js .why-card .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .why-card.is-in .d { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
html.js .why-card.is-lit .dash { stroke-dasharray: .014 .014; }
.why-card .lt { transition: opacity .7s ease var(--d, 0s), fill .7s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s), filter .4s; }
html.js .why-card:not(.is-lit) .lt { opacity: 0; }
.why-green .bushes path { fill: var(--moss); stroke: none; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.why-green .vine { stroke: var(--moss); stroke-width: 1.6; }
.why-media .pipe { stroke: var(--teal); stroke-width: 2.2; stroke-dasharray: 5 7; }
.why-media .pipe-b { stroke: var(--amber); }
.why-media .dot { fill: var(--teal); stroke: none; }
.why-light .win { fill: var(--amber); stroke: none; }
.why-light .screen { fill: var(--signal); stroke: none; }
.why-lunch .shop { fill: var(--amber); stroke: none; opacity: .9; }
.why-lunch .guests { fill: var(--ink); stroke: none; }
.why-card.is-lit .pipe { animation: flow 1.1s linear infinite; }
.why-card.is-lit:hover .win, .why-card.is-lit:hover .shop { filter: drop-shadow(0 0 8px rgba(243, 177, 63, .8)); }
.why-card.is-lit:hover .bushes path { transform: scale(1.18); }
.why-card.is-lit:hover .dot { filter: drop-shadow(0 0 5px var(--teal)); }

/* ---------- dla kogo: kafelki ---------- */
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.who-list li { padding: 28px 24px 30px; border-right: 1px solid rgba(20, 32, 51, .16); transition: background-color .3s; }
.who-list li:first-child { padding-left: 0; }
.who-list li:last-child { border-right: 0; }
.who-list li:hover { background: rgba(243, 177, 63, .12); }
.who-list svg { width: 48px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.who-list .acc { stroke: var(--amber); stroke-width: 2.2; }
.who-list circle.acc { fill: var(--amber); stroke: none; }
.who-list h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 800; font-stretch: 110%; margin-bottom: 8px; line-height: 1.15; }
.who-list p { color: var(--muted-l); margin: 0; }

/* ---------- mapka dojazdu ---------- */
.venue-map { margin-top: 56px; }
.map { width: 100%; height: auto; overflow: visible; }
.map-grid path { stroke: rgba(20, 32, 51, .06); stroke-width: 1; fill: none; }
.map-road { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.map-street { font: 600 14px "Archivo", sans-serif; fill: var(--muted-l); letter-spacing: .06em; text-transform: uppercase; }
.map-station rect, .map-station path { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.map-station text, .map-metro text, .map-label text { font: 700 16px "Archivo", sans-serif; fill: var(--ink); }
.map-metro circle { fill: #fff; stroke: #c4161c; stroke-width: 2.4; }
.map-metro .map-m { fill: #c4161c; font-weight: 800; }
.map-route { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 11; }
.map-pin-shape { fill: var(--ink); }
.map-pin-dot { fill: var(--amber); }
.map-pulse { fill: none; stroke: var(--amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.map-label path { stroke: var(--ink); stroke-width: 1; fill: none; }
.map-label .map-label-sub { font-weight: 500; font-size: 14px; fill: var(--muted-l); }
.map-north circle { fill: none; stroke: var(--muted-l); }
.map-north path { fill: var(--ink); }
.map-north text { font: 700 13px "Archivo", sans-serif; fill: var(--muted-l); }
.venue-map figcaption { font-size: .85rem; color: var(--muted-l); margin-top: 10px; }
html.js .map.is-in .map-route { animation: route 1.4s linear infinite; }
html.js .map .map-pin { opacity: 0; }
html.js .map.is-in .map-pin { animation: pin-drop .7s var(--ease) .4s both; }
@keyframes route { to { stroke-dashoffset: -24; } }
@keyframes pin-drop { 0% { opacity: 0; transform: translate(869px, 150px); } 100% { opacity: 1; transform: translate(869px, 190px); } }

/* ---------- identyfikator po zgłoszeniu ---------- */
.badge { margin-top: 8px; }
.badge-card { position: relative; margin: 30px 0 16px; max-width: 460px; transform-origin: 50% -30px; }
.badge-card img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .8); }
.badge-strap { position: absolute; left: 50%; top: -26px; width: 26px; height: 34px; margin-left: -13px; border: 3px solid var(--amber); border-bottom: 0; border-radius: 13px 13px 0 0; }
html.js .badge-card.is-in { animation: swing 1.6s var(--ease) both; }
@keyframes swing { 0% { transform: rotate(-7deg) translateY(-18px); opacity: 0; } 40% { opacity: 1; transform: rotate(4deg); } 70% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.badge-note { margin-top: 12px !important; color: var(--muted-d) !important; font-size: .9rem; }

@media (max-width: 1080px) {
  .who-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-list li:nth-child(2) { border-right: 0; }
  .who-list li:nth-child(3) { padding-left: 0; }
  .who-list li:nth-child(n+3) { border-top: 1px solid rgba(20, 32, 51, .16); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}
@media (max-width: 560px) {
  .who-list { grid-template-columns: 1fr; }
  .who-list li { padding-left: 0; padding-right: 0; border-right: 0; border-top: 1px solid rgba(20, 32, 51, .16); }
  .who-list li:first-child { border-top: 0; }
  .map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map { min-width: 680px; }
  .map-street { font-size: 18px; }
  .map-station text, .map-metro text, .map-label text { font-size: 20px; }
  .map-label .map-label-sub { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .why-card .d { stroke-dashoffset: 0; }
  html.js .why-card .lt { opacity: 1; }
  html.js .map .map-pin { opacity: 1; }
}

/* ---------- tablice organizatorów jako klikalne banery ---------- */
.plate { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plate-link { color: inherit; text-decoration: none; }
.plate-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 3px; }
.plate-link:focus-visible { outline: none; }
.plate:has(.plate-link:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; }
.plate-www { margin: 14px 0 0; font-size: .9rem; font-weight: 700; font-stretch: 106%; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.plate-www span { display: inline-block; color: var(--amber); font-size: 1.1em; transition: transform .3s var(--ease); }
.plate:hover { cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 34px 60px -26px rgba(0, 0, 0, .85), 0 0 0 2px var(--amber); }
html.js .plate.is-in:hover, .plate:hover { transform: translateY(-6px); transition-delay: 0s; }
.plate:hover .plate-www span { transform: translate(3px, -3px); }
