/* O, TĘDY. — the approved Kierunek A, personal responsibility and own-project evidence. */
/* Project evidence and the local decision map. */
.ot-case{background:#f3f8ff}
.ot-case-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:32px 0 0;padding:0;list-style:none;counter-reset:ot-case}
.ot-case-steps li{counter-increment:ot-case;padding:16px 20px 20px 0;border-top:1px solid #aac6eb}
.ot-case-steps li::before{content:"0" counter(ot-case);display:block;margin-bottom:6px;color:#174ca6;font-size:.8125rem;font-weight:700;letter-spacing:.08em}
.ot-case-steps h3,.ot-case-detail h3{font-size:1.15rem;line-height:1.35;margin:0 0 8px}
.ot-case-steps p,.ot-case-detail p,.ot-case-context p{margin:0;line-height:1.6}
.ot-case-data{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px 36px;background:#132a54;color:#fff;padding:clamp(16px,4vw,34px);margin:0 0 24px;border-radius:6px}
.ot-case-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}
.ot-case-metrics div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:3px}
.ot-case-metrics dd{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:750;line-height:1;letter-spacing:-.055em;margin:0}
.ot-case-metrics dt,.ot-case-context{color:#dbe9fb;font-size:.9375rem;line-height:1.45}
.ot-case-context p+p{margin-top:9px}
.ot-case-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 40px;margin-bottom:24px}
.ot-case-detail h3:not(:first-child){margin-top:14px}
.ot-case-chart{margin:0;padding:16px;border:1px solid #aac6eb;border-radius:6px;background:#fff}
.ot-case-chart figcaption{font-weight:700;margin-bottom:12px}
.ot-case-chart ul{margin:0;padding:0;list-style:none}
.ot-case-chart li{display:grid;grid-template-columns:5.1em minmax(0,1fr) 2ch;align-items:center;gap:6px 12px;font-size:.875rem;margin:8px 0}
.ot-case-chart meter{width:100%;min-width:0;height:12px;appearance:none}
.ot-case-chart meter::-webkit-meter-bar{height:12px;border:none;border-radius:2px;background:#e2edfc}
.ot-case-chart meter::-webkit-meter-optimum-value{border-radius:2px;background:#1950ac}
.ot-case-chart meter::-moz-meter-bar{border-radius:2px;background:#1950ac}
.ot-case-links{display:flex;flex-wrap:wrap;gap:8px 24px}
.ot-city-map{display:grid;gap:28px;padding:clamp(16px,3vw,36px);margin:26px 0 16px;border-radius:6px;background-color:#132a54;background-image:linear-gradient(#d9ecff15 1px,transparent 1px),linear-gradient(90deg,#d9ecff15 1px,transparent 1px);background-size:22px 22px;color:#fff}
.ot-city-origin{display:grid;gap:4px;position:relative;justify-self:center;min-width:min(100%,250px);text-align:center;padding:12px;background:#132a54;border:1px solid #8ab4ea;border-radius:4px}
.ot-city-origin::after,.ot-city-lane::before{content:"";position:absolute;left:50%;height:15px;border-left:1px solid #a8c9f1}
.ot-city-origin::after{top:100%}
.ot-city-origin strong{line-height:1.3}
.ot-city-origin span,.ot-city-coordinate{color:#b7d8ff;font-size:.8125rem;font-weight:700;letter-spacing:.06em}
.ot-city-lanes{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ot-city-lanes::before{content:"";position:absolute;top:-14px;left:calc(25% - 3.5px);right:calc(25% - 3.5px);border-top:1px solid #a8c9f1}
.ot-city-lane{position:relative;background:#183663;border:1px solid #8ab4ea;border-radius:4px;padding:clamp(12px,2vw,22px)}
.ot-city-lane::before{bottom:100%}
.ot-city-lane h3{margin:5px 0 12px;color:#fff;font-size:clamp(1.25rem,3vw,1.75rem);line-height:1.2}
.ot-city-lane dl,.ot-city-coordinate{margin:0}
.ot-city-lane dl>div{padding:8px 0;border-top:1px solid #8ab4ea75}
.ot-city-lane dt{font-weight:700}
.ot-city-lane dd{margin:3px 0 0;color:#dbe9fb;line-height:1.55}
.ot-city-note{max-width:72ch;margin:0 0 12px;line-height:1.6}
@media(max-width:620px){
  .ot-case-steps,.ot-case-data,.ot-case-detail,.ot-city-lanes{grid-template-columns:1fr}
  .ot-case-steps li{padding:12px 0}
  .ot-case-steps{margin-top:22px}
  .ot-city-map{gap:14px}
  .ot-city-lanes{padding-left:10px}
  .ot-city-lanes::before{top:0;left:0;right:auto;bottom:calc(50% - 18px);border-top:0;border-left:1px solid #a8c9f1}
  .ot-city-origin{justify-self:start;text-align:left}
  .ot-city-origin::after{left:-1px}
  .ot-city-lane::before{top:16px;right:100%;bottom:auto;left:auto;width:11px;height:0;border-left:0;border-top:1px solid #a8c9f1}
}
/* Budujemy Hale: own B2B portal, clearly presented as a development preview. */
.studio-development.bh-case{padding:96px 0}.bh-case-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}.bh-case-media{position:sticky;top:55px;min-width:0}.bh-case .portfolio-visual{border:1px solid var(--hair);border-radius:18px}.bh-case .portfolio-visual-meta,.bh-case .portfolio-capture-note{font-size:14px}.bh-case .bh-case-domain{font-size:14px;line-height:1.7;overflow-wrap:anywhere;margin:16px 0 0}.studio-development.bh-case .section-title{font-size:clamp(35px,3.7vw,52px);margin-bottom:24px}.bh-case .bh-case-lead{font-size:var(--text-body);line-height:1.75;margin:0 0 26px}.bh-case-copy dl{margin:0}.bh-case-copy dt{font-size:var(--text-help);font-weight:750;color:var(--blue-night);line-height:1.5;margin:21px 0 7px}.bh-case-copy dd{font-size:var(--text-card);line-height:1.75;color:var(--subtle);margin:0}.bh-case .bh-case-value{font-size:var(--text-card);line-height:1.75;color:var(--blue-night);font-weight:650;margin:26px 0 20px}.bh-case .bh-case-status{font-size:var(--text-help);line-height:1.75;border-left:3px solid var(--blue);padding-left:17px;margin:0 0 8px}.bh-case a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
@media(max-width:1000px){.bh-case-grid{grid-template-columns:1fr;gap:36px}.bh-case-media{position:static;max-width:760px;width:100%}.bh-case-copy{max-width:82ch}}
@media(max-width:760px){.studio-development.bh-case{padding:65px 0}.studio-development.bh-case .section-title{font-size:37px}.bh-case .bh-case-domain{font-size:14px}.bh-case-grid{gap:30px}}

/* Own-project ecosystems: actual screens reuse the existing desktop and phone presentation. */
.ecosystem-projects .project-grid{align-items:stretch}.project-card-screen .project-body h3{font-size:29px;line-height:1.2;margin-bottom:15px}.project-card-screen .project-body .project-statement{font-size:19px;font-weight:700;line-height:1.45;color:var(--blue-night);margin-bottom:14px}.project-journey{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:decimal-leading-zero;padding:18px 0 0 25px;margin:20px 0 0;border-top:1px solid var(--hair);font-size:var(--text-help);line-height:1.65;color:var(--blue);font-weight:600}.project-journey li{padding-right:9px;margin-left:5px}.ecosystem-intro{font-size:var(--text-body);line-height:1.75;color:var(--subtle);max-width:76ch;margin:20px 0 0}.ecosystem-outcome{display:grid;grid-template-columns:1fr 1fr;gap:45px;border-top:2px solid var(--blue);padding-top:35px;margin-top:50px}.ecosystem-outcome h3{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:0}.ecosystem-outcome p{font-size:var(--text-body);line-height:1.75;color:var(--subtle);margin:0}.ecosystem-projects .portfolio-visual-meta{font-size:14px}.ecosystem-projects .portfolio-capture-note{font-size:14px}.ecosystem-projects a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
@media(max-width:900px){.ecosystem-projects .project-grid{grid-template-columns:1fr}}
@media(max-width:760px){.ecosystem-outcome{grid-template-columns:1fr;gap:20px;margin-top:35px;padding-top:28px}.ecosystem-outcome h3{font-size:27px}.project-card-screen .project-body h3{font-size:27px}.project-card-screen .project-body .project-statement{font-size:18px}.project-journey{flex-direction:column;gap:6px;padding-left:25px}}

.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.studio-founder,.studio-projects{padding:96px 0}.studio-founder{background:var(--paper)}.studio-founder-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:80px;align-items:center}.studio-person{margin:0;width:100%;max-width:380px}.studio-photo{background:#dce6f2;border-radius:20px;overflow:hidden;aspect-ratio:4/5}.studio-portrait{display:block;width:100%;height:100%;object-fit:contain}.studio-person figcaption{display:flex;flex-direction:column;gap:7px;padding-top:18px}.studio-person figcaption strong{font-size:19px;letter-spacing:-.02em}.studio-person figcaption span{font-size:var(--text-meta);color:var(--subtle);line-height:1.5}.studio-person figcaption .studio-promise{font-size:16px;font-weight:650;color:var(--ink);line-height:1.5}.studio-person figcaption .studio-own-projects{margin-top:5px}.studio-person .studio-own-projects a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.studio-copy .section-title{font-size:clamp(30px,3.3vw,47px);margin-bottom:25px}.studio-copy p{font-size:var(--text-body);line-height:1.8;color:var(--subtle);margin:0 0 18px}.studio-copy .service-link{margin-top:3px}
.studio-founder-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px}.studio-founder-actions .studio-link-secondary{font-weight:500;color:var(--subtle)}.studio-founder-actions .studio-link-secondary:hover{color:var(--blue)}
.studio-section-head{display:flex;gap:35px;justify-content:space-between;align-items:end}.studio-section-head>div{max-width:850px}.studio-section-head>.service-link{flex-shrink:0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:44px;align-items:start}.project-card{min-width:0;border:1px solid var(--hair);border-radius:18px;overflow:hidden;background:#fff;scroll-margin-top:25px}.project-surface{padding:28px;background:var(--paper);border-bottom:1px solid var(--hair)}.project-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;font-size:var(--text-meta);line-height:1.6;color:var(--subtle)}.project-name{font-size:clamp(25px,2.6vw,37px);font-weight:800;letter-spacing:-.045em;line-height:1.15;color:var(--blue-night);margin:35px 0 28px;text-wrap:balance}.project-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.project-route>span{display:flex;flex-direction:column;gap:12px;border-top:2px solid var(--blue);padding:12px 0 0;min-width:0;overflow-wrap:anywhere;font-size:var(--text-help);line-height:1.45;font-weight:650}.project-route small{font-size:var(--text-label);color:var(--blue)}.project-domain{font-size:var(--text-meta);color:var(--subtle);margin:25px 0 0;overflow-wrap:anywhere}.project-body{padding:29px}.project-body h3{font-size:24px;line-height:1.2;letter-spacing:-.035em;margin:0 0 16px;text-wrap:balance}.project-body>p{font-size:var(--text-card);line-height:1.75;color:var(--subtle);margin:0}.project-detail{margin-top:23px;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}.project-detail summary{cursor:pointer;min-height:60px;display:list-item;padding:19px 0;font-size:var(--text-ui);font-weight:700;line-height:1.55;list-style-position:inside;color:var(--blue)}.project-detail dl{margin:0 0 25px}.project-detail dt{font-size:var(--text-help);font-weight:750;line-height:1.5;margin:20px 0 6px}.project-detail dd{font-size:var(--text-card);line-height:1.75;color:var(--subtle);margin:0}.project-detail summary:focus-visible,.studio-projects a:focus-visible,.studio-founder a:focus-visible,.studio-development a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.studio-development{padding:72px 0;background:var(--paper)}.development-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;align-items:start}.project-status{font-size:var(--text-help);font-weight:650;color:var(--blue);display:inline-block;border-bottom:1px solid #9ab5d8;padding-bottom:8px;margin-bottom:22px}.studio-development .section-title{font-size:clamp(30px,3.7vw,49px)}.studio-development p{font-size:var(--text-body);line-height:1.8;color:var(--subtle);margin:0 0 16px}.studio-method{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;padding:0;list-style:none;margin:42px 0 30px}.studio-method li{border-top:2px solid var(--blue);padding-top:20px}.studio-method h3{font-size:22px;line-height:1.25;letter-spacing:-.03em;margin:21px 0 15px}.studio-method p{font-size:var(--text-card);line-height:1.8;color:var(--subtle);margin:0}.studio-footnote{font-size:var(--text-help);line-height:1.8;color:var(--subtle);margin:30px 0 0}.offer .service-link{margin-top:18px}.studio-projects .section-title{text-wrap:balance}.studio-founder .section-title{text-wrap:balance}
@media(max-width:1100px){.studio-section-head{align-items:start;flex-direction:column;gap:12px}.studio-founder-grid{gap:45px}.project-grid{gap:25px}.project-caption{flex-direction:column;gap:3px}}
@media(max-width:760px){.studio-founder,.studio-projects{padding:70px 0}.studio-founder-grid,.development-grid{grid-template-columns:1fr;gap:34px}.studio-person{max-width:380px;justify-self:center}.studio-copy .section-title{font-size:37px}.project-grid{grid-template-columns:1fr;gap:28px;margin-top:32px}.project-caption{flex-direction:row}.project-name{font-size:34px}.studio-development{padding:60px 0}.studio-method{grid-template-columns:1fr;gap:28px}.studio-method h3{margin-top:14px}.studio-copy p,.studio-development p{font-size:var(--text-body)}.project-surface,.project-body{padding:24px}}
@media(max-width:400px){.studio-copy .section-title{font-size:31px}.project-caption{font-size:var(--text-meta);gap:6px 12px}.project-surface,.project-body{padding:20px}.project-name{font-size:28px;margin-top:29px}.project-route{gap:8px}.project-route>span{font-size:var(--text-help)}.project-body h3{font-size:23px}.studio-person figcaption span{font-size:var(--text-meta)}}
.bh-case-journey{margin:26px 0}.bh-case-journey h3{font-size:20px;line-height:1.4;letter-spacing:-.02em;margin:0 0 16px}.bh-case-scope{border-top:1px solid #b7cee9;padding-top:18px;font-size:var(--text-help)!important;line-height:1.75!important;color:var(--subtle)}

/* Projects: three connected stories in the existing O, TĘDY. identity. */
.projects-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-top:30px;padding-bottom:30px;border-bottom:1px solid var(--hair);scroll-margin-top:56px}
.projects-index a{display:flex;flex-direction:column;gap:9px;color:var(--ink);text-decoration:none;min-width:0;padding:12px 0;min-height:110px}
.projects-index .projects-index-number{font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.projects-index strong{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:25px;line-height:1.25;letter-spacing:-.035em}
.projects-index strong svg{flex-shrink:0;width:20px;height:20px;color:var(--blue)}
.projects-index a>span:last-child{font-size:14px;line-height:1.6;color:var(--subtle)}
.projects-index a:hover strong{color:var(--blue)}
.projects-story a:focus-visible,.projects-story summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.projects-story .project-chapter{padding:80px 0;scroll-margin-top:56px}
.project-chapter-head{margin-bottom:32px}
.project-chapter-head .section-lead{max-width:76ch}
.projects-subindex{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 28px}
.projects-subindex a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--blue);font-size:14px;font-weight:700;text-decoration:none}
.projects-subindex a:hover{text-decoration:underline;text-underline-offset:4px}
.projects-story .project-chapter .portfolio-case{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start}
.projects-story .project-chapter .portfolio-case-copy{padding:30px}
.projects-story .project-chapter .portfolio-case h3{font-size:32px}
.projects-story .project-ecosystem{margin-top:56px}
.projects-story .project-ecosystem .project-grid{gap:30px}
.projects-story .project-ecosystem .project-card-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start}
.projects-story .project-chapter [id],.projects-story .bh-case{scroll-margin-top:56px}
.projects-story .project-chapter .ot-case{padding:64px 0 0;background:transparent}
.projects-story .project-chapter .ot-case>.container{border-top:1px solid var(--hair);padding-top:48px}
.projects-story .project-chapter .ot-case .section-title{font-size:clamp(30px,3.2vw,44px);max-width:24ch}
.projects-story .project-chapter--brand{background:var(--paper)}
.project-brand-steps{display:flex;flex-wrap:wrap;gap:12px 32px;list-style:none;margin:30px 0 0;padding:16px 0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);counter-reset:brand-step}
.project-brand-steps li{counter-increment:brand-step;font-size:14px;font-weight:700;color:var(--blue)}
.project-brand-steps li::before{content:"0" counter(brand-step) " / ";font-size:11px}
.projects-story .project-chapter--brand .brand-case{padding:12px 0 48px;background:transparent}
.projects-story .project-chapter--brand .brand-case .section-title{font-size:clamp(30px,3vw,40px)}
.projects-story .project-chapter--brand .portfolio-case{background:#fff}
.projects-story .studio-development.bh-case{background:#fff}
@media(max-width:1000px){
 .projects-story .project-chapter .portfolio-case,.projects-story .project-ecosystem .project-card-featured{grid-template-columns:1fr}
 .projects-story .project-chapter .portfolio-case .portfolio-visual,.projects-story .project-ecosystem .project-card-featured .portfolio-visual{max-width:760px;width:100%;justify-self:center}
}
@media(max-width:760px){
 .projects-index{grid-template-columns:1fr;gap:0;padding-top:16px;padding-bottom:16px}
 .projects-index a{min-height:0;padding:20px 0;gap:7px}
 .projects-index a+a{border-top:1px solid var(--hair)}
 .projects-index strong{font-size:24px}
 .projects-story .project-chapter{padding:60px 0}
 .projects-subindex{gap:4px 20px;margin-bottom:20px}
 .projects-story .project-chapter .portfolio-case-copy{padding:24px}
 .projects-story .project-chapter .portfolio-case h3{font-size:28px}
 .projects-story .project-ecosystem{margin-top:40px}
 .projects-story .project-ecosystem .project-grid{grid-template-columns:1fr}
 .projects-story .project-chapter .ot-case{padding-top:44px}
 .projects-story .project-chapter .ot-case>.container{padding-top:34px}
 .projects-story .project-chapter--brand .brand-case{padding:0 0 32px}
 .project-brand-steps{gap:12px 20px;margin-top:24px}
}




/* Real, cursor-free captures; existing desktop and phone frames are retained. */
.projects-story .project-screen-desktop{aspect-ratio:1265/840}
.projects-story .project-screen-mobile{aspect-ratio:375/840}
.project-card-screen .project-body .project-view-status{margin:20px 0 0;padding:12px 14px;border-left:3px solid var(--blue);background:var(--paper);font-size:var(--text-help);font-weight:650;color:var(--blue-night)}
